mlsanityData to 7 Oct 2026

Temporal Sampling for Forgotten Reasoning in LLMs

arXiv 2505.20196 ↗First posted 26 May 2025cs.AI cs.LGcited by 12

On the map: LLM reasoning → Test-time compute and efficient thinking

Abstract (arXiv)

Fine-tuning large language models (LLMs) is intended to improve their reasoning capabilities, yet we uncover a counterintuitive effect: models often forget how to solve problems they previously answered correctly during training. We term this phenomenon temporal forgetting and show that it is widespread across model sizes, fine-tuning methods (both Reinforcement Learning and Supervised Fine-Tuning), and multiple reasoning benchmarks. To address this gap, we introduce Temporal Sampling, a simple decoding strategy that draws outputs from multiple checkpoints along the training trajectory. This approach recovers forgotten solutions without retraining or ensembling, and leads to substantial improvements in reasoning performance, gains from 4 to 19 points in Pass@k and consistent gains in Majority@k across several benchmarks. We further extend our method to LoRA-adapted models, demonstrating that storing only adapter weights across checkpoints achieves similar benefits with minimal storage cost. By leveraging the temporal diversity inherent in training, Temporal Sampling offers a practical, compute-efficient way to surface hidden reasoning ability and rethink how we evaluate LLMs.

Key facts. Cited by 12 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 15 of its 61 references that are in the map. First posted on arXiv 26 May 2025.

Builds on

15 of 61 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024Adaptive Inference-Time Compute: LLMs Can Predict if They Can Do Better, Even Mid-Generation3 Oct
  2. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters6 Aug
  3. 2024Inference Scaling Laws: An Empirical Analysis of Compute-Optimal Inference for Problem-Solving with Language Models1 Aug

Other references · 12

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  4. 2024Qwen2.5 Technical Reportcited by 4,713
  5. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
  6. 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,057
  7. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 948
  8. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
  9. 2025The Lessons of Developing Process Reward Models in Mathematical Reasoningcited by 402
  10. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
  11. 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 225
  12. 2024MindStar: Enhancing Math Reasoning in Pre-trained LLMs at Inference Timecited by 40

Built on by

Cited by year (2026 to 7 Oct)

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

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Models
  2. 2026When Silence Is Golden: Can LLMs Learn to Abstain in Temporal QA and Beyond?
  3. 2025Can Past Experience Accelerate LLM Reasoning?
  4. 2025Less is More: Improving LLM Reasoning with Minimal Test-Time Intervention
  5. 2025Offline Learning and Forgetting for Reasoning with Large Language Models
  6. 2026MILES: Modular Instruction Memory with Learnable Selection for Self-Improving LLM Reasoning
  7. 2026Correct, Concise and Complete: Multi-stage Training For Adaptive Reasoning
  8. 2025Reasoning on a Budget: A Survey of Adaptive and Controllable Test-Time Compute in LLMs