mlsanityData to 7 Oct 2026

Log-Augmented Generation: Scaling Test-Time Reasoning with Reusable Computation

arXiv 2505.14398 ↗First posted 20 May 2025cs.CL cs.AI cs.LGcited by 4

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

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  3. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  4. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
  5. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  6. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  7. 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 255
  8. 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 146
  9. 2024Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Modelscited by 91
  10. 2024TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked Textcited by 60
  11. 2024Arctic-Embed 2.0: Multilingual Retrieval Without Compromisecited by 57
  12. 2024Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Taskscited by 38

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Reasoning on a Budget: A Survey of Adaptive and Controllable Test-Time Compute in LLMs
  2. 2025a1: Steep Test-time Scaling Law via Environment Augmented Generation
  3. 2026Thinking Long, but Short: Stable Sequential Test-Time Scaling for Large Reasoning Models
  4. 2025The Art of Scaling Test-Time Compute for Large Language Models
  5. 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory
  6. 2025Seek in the Dark: Reasoning via Test-Time Instance-Level Policy Gradient in Latent Space
  7. 2025Prompting Test-Time Scaling Is A Strong LLM Reasoning Data Augmentation
  8. 2026Procedural Knowledge at Scale Improves Reasoning