Reasoning Cache: Continual Improvement Over Long Horizons via Short-Horizon RL
Ian Wu, Yuxiao Qu, Amrith Setlur, Aviral Kumar
TL;DR
RC replaces autoregressive decoding with an iterative, summary-conditioned decoding loop that decouples reasoning horizon from per-turn computation, enabling extrapolation beyond training budgets. It leverages an asymmetry between summarization and generation and employs an off-policy replay mechanism to train models to improve reasoning conditioned on summaries, achieving strong long-horizon performance on math and science benchmarks. Empirically, RC-trained 4B models extrapolate significantly farther than baselines, outperform several larger models on key tasks, and effectively leverage test-time scaffolds to scale inference. The work highlights RC as a general approach to long-horizon reasoning with practical implications for robust, scalable problem solving, while outlining future work on non-myopic rewards and broader domains.
Abstract
Large Language Models (LLMs) that can continually improve beyond their training budgets are able to solve increasingly difficult problems by adapting at test time, a property we refer to as extrapolation. However, standard reinforcement learning (RL) operates over fixed problem distributions and training budgets, which limits extrapolation amidst distribution shift at test time. To address this, we introduce RC, an iterative decoding algorithm that replaces standard autoregressive decoding during both training and inference. RC exploits an asymmetry between the response generation and summarization capabilities of LLMs to construct reasoning chains that consistently improve across iterations. Models trained to use RC can extrapolate and continually improve over reasoning horizons more than an order of magnitude longer than those seen during training. Empirically, training a 4B model with RC using a 16k-token training budget improves performance on HMMT 2025 from 40% to nearly 70% with 0.5m tokens at test time, outperforming both comparably sized models and many larger reasoning LLMs. Finally, we also show that models trained with RC can more effectively leverage existing scaffolds to further scale test-time performance, due to the improved summary-conditioned generation abilities learned through training.
