IC-1373All five evaluated LLMs show a strong positional bias in constrained text generation, with first-position constraints nearly always satisfied but last- and arbitrary-position constraints causing major performance drops

Shunyu Yao, Howard Chen, Austin W. Hanjie, Runzhe Yang, Karthik R Narasimhan

SourceCOLLIE: Systematic Construction of Constrained Text Generation Tasks

The paper tests five instruction-tuned LLMs on 13 constraint structures that include positional constraints at different indices. When the constraint targets the first word or character (i=1), GPT-4 achieves 100% success. When it targets the last position (i=-1), GPT-4 drops to 40-60%, and all models struggle with arbitrary intermediate positions. The effect is consistent across all five models and is less sensitive to the text level (word vs sentence vs paragraph) than to the position index itself.

Evidence
correlational
Key metric
GPT-4: 100% success on first-word constraint (para01), 40%-60% on last-position constraints (word03, para05, pass01); all models show difficulty at arbitrary positions
Caveat
The position effect is measured on a specific set of 13 constraint structures; the paper does not test all possible position indices exhaustively.
Model
GPT-4 / ChatGPT4 / GPT-4 Code Interpreter / GPT-4 Technical Report, GPT-3.5 / ChatGPT-3.5 GPT-3.5-turbo, PaLM 2, Vicuna Vicuna-7B
Concepts
Positional bias
Related findings
IC-1374, IC-1375
Extraction
automatic-extraction