Log-Augmented Generation: Scaling Test-Time Reasoning with Reusable Computation
On the map: LLM reasoning → Test-time compute and efficient thinking
also in 2 more
Abstract (arXiv)
While humans naturally learn and adapt from past experiences, large language models (LLMs) and their agentic counterparts struggle to retain reasoning from previous tasks and apply them in future contexts. To address this limitation, we propose a novel framework, log-augmented generation (LAG) that directly reuses prior computation and reasoning from past logs at test time to enhance model's ability to learn from previous tasks and perform better on new, unseen challenges, all while keeping the system efficient and scalable. Specifically, our system represents task logs using key-value (KV) caches, encoding the full reasoning context of prior tasks while storing KV caches for only a selected subset of tokens. When a new task arises, LAG retrieves the KV values from relevant logs to augment generation. Our approach differs from reflection-based memory mechanisms by directly reusing prior reasoning and computations without requiring additional steps for knowledge extraction or distillation. Our method also goes beyond existing KV caching techniques, which primarily target efficiency gains rather than improving accuracy. Experiments on knowledge- and reasoning-intensive datasets demonstrate that our method significantly outperforms standard agentic systems that do not utilize logs, as well as existing solutions based on reflection and KV cache techniques.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 12 of its 13 references that are in the map. First posted on arXiv 20 May 2025.
Builds on
12 of 13 references.
References · 12
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 255
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 146
- 2024Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Modelscited by 91
- 2024TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked Textcited by 60
- 2024Arctic-Embed 2.0: Multilingual Retrieval Without Compromisecited by 57
- 2024Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Taskscited by 38
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026Position: Modular Memory is the Key to Continual Learning Agentscited by 7
- 2025Becoming Experienced Judges: Selective Test-Time Learning for Evaluatorscited by 2
- 2026Continual Self-Improvement with Lightweight Experiential Latent Memoriescited by 1
- 2026ExperienceIndex: Artifact-Grounded Memorycited by 0
- 2026ExperienceIndex: Artifact-Grounded Memory7 Oct 2026
- 2026Continual Self-Improvement with Lightweight Experiential Latent Memories16 Jun 2026
- 2026Position: Modular Memory is the Key to Continual Learning Agents2 Mar 2026
- 2025Becoming Experienced Judges: Selective Test-Time Learning for Evaluators7 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025Reasoning on a Budget: A Survey of Adaptive and Controllable Test-Time Compute in LLMs
- 2025a1: Steep Test-time Scaling Law via Environment Augmented Generation
- 2026Thinking Long, but Short: Stable Sequential Test-Time Scaling for Large Reasoning Models
- 2025The Art of Scaling Test-Time Compute for Large Language Models
- 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory
- 2025Seek in the Dark: Reasoning via Test-Time Instance-Level Policy Gradient in Latent Space
- 2025Prompting Test-Time Scaling Is A Strong LLM Reasoning Data Augmentation
- 2026Procedural Knowledge at Scale Improves Reasoning