Why Calibrated BM25 Filtering Barely Reduced Context on LongMemEval
John Knight, Erchin Serpedin, Hasan Kurban
Key points
From the paper's conclusion- We calibrated the filter on passages that individually corrected an answer the model got wrong from the summaries alone.
Abstract
An assistant that summarizes old conversations may later need a detail from the original exchange. It can score archived passages against the question, but only passages that fit in the prompt reach the answering model. We tested whether a BM25 filter saves input tokens once that limit is taken into account. We calibrated the filter on passages that individually corrected an answer the model got wrong from the summaries alone. Across 75 LongMemEval questions, filtering changed one prompt and saved 0.096% of input tokens. With and without the filter, the model answered the same questions correctly under a second automated grading. On a random sample, two human graders' settled judgments agreed with the automated grades in 92.9% of definite comparisons (Cohen's kappa = 0.805). Building on earlier work that distinguishes retrieved evidence from delivered evidence, we give an exact test for packers that try whole passages in a fixed order and skip any that do not fit. Run the packer without the filter. The prompt changes exactly when an admitted passage scores below the cutoff. Code and data: https://github.com/KurbanIntelligenceLab/Certfold
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CoRA-Bench: Evaluating Evidence Preservation by Context Selectors Under Token BudgetsarXiv · 2026
- Beyond the Final Embedding: Retrieving Memories from Token-Level EvidencearXiv · 2026
- SELD: Detecting Silent Evidence Loss in Context Compression beyond the AnswerarXiv · 2026
- Evaluating Context Compaction on the Questions That Come LaterarXiv · 2026
- When Retrieval Is Not Enough: Obsolete Facts in Agent MemoryarXiv · 2026
- When Should LLM Agents Forget? Memory Filtering Under Query-Critical Resolver ErrorsarXiv · 2026