Post
90
New paper: Length Is Cheap, Competition Is Not ๐
Why do LLMs fail on long inputs? For retrieval, our answer is: not because of length.
โข 32K tokens of neutral text: Qwen2.5-1.5B keeps 0.97โ1.00 accuracy
โข Same positions, statements in the evidence format: 0.11โ0.21
โข One rival value for the queried key: loss ร9 to ร110
The attention mass left on the evidence predicts the loss (up to 58% of variance, 126K trials). Log length: at most 8%.
Paper: Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval (2611.04169)
Data (all 126K trials): yliusci/length-is-cheap
Feedback very welcome, especially on larger models.
Why do LLMs fail on long inputs? For retrieval, our answer is: not because of length.
โข 32K tokens of neutral text: Qwen2.5-1.5B keeps 0.97โ1.00 accuracy
โข Same positions, statements in the evidence format: 0.11โ0.21
โข One rival value for the queried key: loss ร9 to ร110
The attention mass left on the evidence predicts the loss (up to 58% of variance, 126K trials). Log length: at most 8%.
Paper: Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval (2611.04169)
Data (all 126K trials): yliusci/length-is-cheap
Feedback very welcome, especially on larger models.