BABILong shows popular LLMs only use 10-20% of their advertised context window effectively
The paper also shows, recurrent models process 11M tokens while attention-based LLMs struggle beyond 16K
Original Problem π―:
Current benchmarks only test LLMs up to 40,000 tokens while models can handle hundreds of thousands of tokens. Existing "needle-in-haystack" tests are too simplistic to effectively evaluate long-context processing capabilities.
Solution in this Paper π:
β’ Introduces BABILong benchmark with 20 reasoning tasks testing fact-chaining, induction, deduction, counting
β’ Hides relevant facts inside background text from PG19 books
β’ Scales tasks to any desired length to evaluate new models
β’ Provides splits up to 1 million tokens
β’ Tests capabilities like multi-hop reasoning and temporal understanding
β’ Open-source implementation available at github.com/booydar/babilong
Key Insights π‘:
β’ Popular LLMs effectively use only 10-20% of their claimed context window
β’ Performance drops sharply with increased reasoning complexity
β’ Retrieval-Augmented Generation achieves only 60% accuracy on single-fact questions
β’ Small fine-tuned models (RMT 137M, Mamba 130M) outperform larger models
β’ Recurrent approaches handle extremely long sequences better than attention-based models
Results π:
β’ RMT processes sequences up to 11 million tokens effectively
β’ GPT-4 shows 85% accuracy only up to 16K tokens
β’ Most models achieve <30% accuracy beyond 64K tokens
β’ Fine-tuned Mamba achieves best overall results but limited to 128K tokens
β’ RAG methods fail on multi-hop reasoning tasks
π BABILong contains 20 reasoning tasks testing capabilities like:
Fact chaining
Simple induction
Deduction
Counting
Handling lists/sets



