arXiv · 2609.12686
Residual Vector-based Reconstruction as Long-Context Recall Regardless of Context Window Size
Abstract
Large language models (LLMs) process long contexts, including long documents and lengthy conversations, but face token-level memory usage that increases proportionally to input length. Although model optimization and lossy prompt compression are widely used, these methods still fail to solve the long-context recall problem beyond pretrained and size-constrained context windows. This paper proposes a long-context recall method that maintains near-constant GPU memory usage as context length increases, without additional training. The main idea is to reconstruct facts using parameter activations in the LLM's feed-forward layers, which store residual vectors representing facts from the source document. Utilizing residual vectors allows the LLM to deterministically reconstruct query relevant facts without referencing the original document, preserving high fidelity and reducing memory usage without fine-tuning weights. Experimental results show that the proposed method enables answering single-fact questions in two-million-token story contexts where previous methods fail.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
MyungHoon Ryu, XinYu Piao, Jong-Kook Kim. 2026-09-11. Residual Vector-based Reconstruction as Long-Context Recall Regardless of Context Window Size. https://arxiv.org/abs/2609.12686
Cite the original work for its findings. Save a collection to share your selection of sources.