AbsenceBench: Language Models Can't Tell What's Missing
Harvey Yiyun Fu, Aryan Shrivastava, Jared Moore, Peter West, Chenhao Tan, Ari Holtzman
TL;DR
<3-5 sentence high-level summary>AbsenceBench introduces a new benchmark to measure whether large language models can detect deliberately omitted information in long-context inputs, across poetry, numerical sequences, and GitHub pull requests. Unlike traditional presence-focused benchmarks like NIAH, AbsenceBench reveals a substantial gap in current models' ability to identify omissions, with performance improving dramatically only when explicit placeholders are used. The study analyzes prompting, context length, omission rate, and inference-time computation, finding that attention mechanisms struggle with gaps and that improvements come at high token-generation costs. The results motivate future work on absence-aware architectures and evaluation frameworks, highlighting practical implications for LLMs as judges and assistants in real-world tasks that require recognizing what is missing.
Abstract
Large language models (LLMs) are increasingly capable of processing long inputs and locating specific information within them, as evidenced by their performance on the Needle in a Haystack (NIAH) test. However, while models excel at recalling surprising information, they still struggle to identify clearly omitted information. We introduce AbsenceBench to assesses LLMs' capacity to detect missing information across three domains: numerical sequences, poetry, and GitHub pull requests. AbsenceBench asks models to identify which pieces of a document were deliberately removed, given access to both the original and edited contexts. Despite the apparent straightforwardness of these tasks, our experiments reveal that even state-of-the-art models like Claude-3.7-Sonnet achieve only 69.6% F1-score with a modest average context length of 5K tokens. Our analysis suggests this poor performance stems from a fundamental limitation: Transformer attention mechanisms cannot easily attend to "gaps" in documents since these absences don't correspond to any specific keys that can be attended to. Overall, our results and analysis provide a case study of the close proximity of tasks where models are already superhuman (NIAH) and tasks where models breakdown unexpectedly (AbsenceBench).
