Temporal Sampling for Forgotten Reasoning in LLMs
Yuetai Li, Zhangchen Xu, Fengqing Jiang, Bhaskar Ramasubramanian, Luyao Niu, Bill Yuchen Lin, Xiang Yue, Radha Poovendran
TL;DR
The paper identifies Temporal Forgetting, where intermediate training checkpoints solve problems that the final model no longer solves. It introduces Temporal Sampling, a decode-time strategy that draws outputs from multiple training checkpoints to recover forgotten reasoning without retraining or ensembling. Across multiple benchmarks and training setups, Temporal Sampling yields 4–19 point gains in Pass@k and strengthens inference-time scaling metrics, with LoRA-adapted variants offering storage-efficient deployment. The work highlights that true model competence lies in training dynamics rather than a single parameter snapshot, suggesting new directions for evaluation and deployment of LLMs.
Abstract
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.
