When Can LLM Reasoning Reliably Reuse Intermediate Results?

Deyuan Liu, Zecheng Wang, Xuanyi Liu, Jungang Li, Yihao Hu +3 more
10/20/2026
2 citations
cs.AI

Official code: SempraETY/Intermediate-State-Reuse (1 star, Python, MIT, last commit 2026-10-21).

Abstract

Sampling complete solutions gives large language models more chances to solve a problem, but each attempt starts again. For tasks with several subproblems, all required answers must be correct in the same attempt.

Show full abstract

Retaining intermediate results can avoid repeating correct work, but errors in those results may affect later attempts. We study when this reuse is reliable and how much computation it requires. For local retries that stop when no candidate passes within the retry budget, we give conditions for correct completion and bound the average number of attempts. We also show how checking cost and the chance of passing a check affect total computation. Experiments across eight reasoning models examine composite mathematics and arithmetic. Across four DeepSeek models, average success on the second subproblem is 36.2 percent without first-subproblem context, 57.2 percent with its answer, and 58.3 percent with its reasoning and answer. These scores measure second-subproblem coverage and include continuations made when selection fails. Arithmetic experiments show that similar first-attempt accuracies can lead to very different coverage after repeated attempts. Code is available at https://github.com/SempraETY/Intermediate-State-Reuse.

View on arXivView PDF

Code Implementations(1)

MIT

Code and results for “When Can LLM Reasoning Reliably Reuse Intermediate Results?” (arXiv:2610.27662).

10PythonOct 21, 20261 months agoMIT

Similar Papers

Cite this paper

@article{liu2026when,
  title  = {When Can LLM Reasoning Reliably Reuse Intermediate Results?},
  author = {Deyuan Liu and Zecheng Wang and Xuanyi Liu and Jungang Li and Yihao Hu and Mingjie Tang and Bryan Dai and Jie Fu},
  year   = {2026},
  eprint = {2610.27662},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.27662v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.27662.svg)](https://codeofpaper.com/paper/2610.27662)

Discussion