Resilient Latent Readouts for Long-Context Question Answering
Jingyi Liao, Wenhao Sun, YITING LI, Zhao Jin, Khin Mi Mi Aung, Xun Xu, Zhuoyi Lin, Rong-Cheng Tu, Dacheng Tao
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Reasoning Trace Memory Systems · Type: new method · Keywords: long-context question answering, compact memory readout, evidential coverage, inferential resilience, latent-memory reader
Areas: Memory › Agent Memory Systems › Memory Augmentation; Long Context › Long-context mechanisms › Agent memory representations
Summary
LIRA introduces a latent-memory reader that stores full-prefix contextualized states to improve evidential coverage and inferential resilience in long-context question answering.
Explained to a 5-year-old
Sometimes we read a very long story and need to answer questions about it. Keeping the whole story in memory is hard because it takes a lot of space. Other methods only remember a short summary, which can forget important parts. The new idea stores a special kind of memory that keeps almost everything but in a smaller form. This helps the model answer questions correctly even when it misses some parts of the story.
Explained to a 5-year-old, longer
Imagine you have a huge library of books and you need to answer questions about them. It would be great to remember everything, but the library is too big to keep all at once. Some systems only remember a short note, which can miss important details. The researchers thought about making a memory that keeps almost all the information but in a smaller shape. They store a special kind of hidden representation that holds the whole story’s context. For each question, the system looks for the parts that might help answer it. If some parts are missing, the system can plan to recover them. Then it puts the needed pieces together in a way that makes sense for answering. This makes the answer more reliable, even when the system forgets a little bit. The new memory works better than just using a short summary. It also works when the whole story is too long to fit in one go. Overall, it helps answer questions from long texts more accurately.
For a technical reader
The paper addresses the challenge of answering questions from very long texts without storing the entire text in memory. It proposes a latent-memory reader that first processes the full context once and stores contextualized states in a compact form. For each query, the system localizes relevant positions using calibrated attention, repairs missing evidence with coverage-aware planning, and assembles a position-consistent readout for generation. Experiments on two benchmark suites show that this approach outperforms existing compact-memory methods and even matches or exceeds full-context baselines on most metrics. The key insight is that preserving full-prefix contextualized states, rather than re-encoding them as text, maintains answer-relevant information and improves robustness to localization errors.
Problem
Long-context question answering models must answer from large documents or histories, but storing the full history is expensive and can introduce irrelevant context, while compact memory readouts that select only a subset of tokens can lose critical evidence if the selection is imperfect.
Method
The approach stores full-prefix contextualized states in a reusable latent store, localizes relevant positions with calibrated attention, repairs incomplete support using coverage-aware planning, and packs selected states into a position-consistent readout for generation.
Results
The approach achieves state-of-the-art performance on LoCoMo and Loong, beating Full Context on 8 of 9 metrics and improving F1 by up to 13.3 points when all evidence is missed.
Contributions
It introduces a latent-memory reader that preserves full-prefix contextualized states, jointly optimizes evidential coverage and inferential resilience, and provides a robust compact readout for long-context QA.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction