CTRL: Continual Test-Time Reinforcement Learning for Large Language Models

Chu Zhao, Enneng YangNeurIPS 2026

TL;DR

Large Language Models (LLMs) can adapt on the fly to unlabeled tasks by voting on their own generated reasoning paths—a technique called Test-Time Reinforcement Learning (TTRL). However, when faced with a continuous stream of tasks without resetting, models get trapped in a death spiral where bad self-generated labels and catastrophic forgetting feed off each other. CTRL breaks this cycle by grading reasoning step-by-step to purify training signals and steering weight updates away from overwriting old memories, allowing LLMs to continuously adapt and improve in the wild.

What Problem Does This Paper Address?

Imagine studying for a string of finals—calculus, then organic chemistry, then medical diagnostics—without an answer key. To learn, you solve each problem ten times, assume your most frequent answer is right, and update your mental model accordingly.

In AI, this is Test-Time Reinforcement Learning (TTRL). It works surprisingly well for isolated, single-task bursts. But what happens when tasks arrive in a continuous, unending stream without resetting the model's parameters?

The authors formalize this Continual TTRL setting and uncover a nasty, self-reinforcing degradation loop driven by two coupled forces:

  1. Error Accumulation: Majority voting isn't infallible. When the model confidently agrees on a wrong answer, it rewards bad logic and suppresses good minority answers, causing progressive parameter drift.
  2. Catastrophic Forgetting: Updating weights for new tasks creates gradient interference, overwriting critical pathways needed for older tasks.

Worse, these two problems amplify each other: noisy pseudo-labels cause wilder, more destructive weight updates (worsening forgetting), while degraded reasoning ability produces worse future rollouts (making majority voting even noisier).

Figure 1: Empirical comparison of pseudo-label reliability and continual performance. (Left) Pseudo-label accuracy before and after the task stream. (Right) Model accuracy across sequen- tial tasks.

Methods

Built atop standard Group Relative Policy Optimization (GRPO—a critic-free RL algorithm), CTRL attacks the degradation loop from both ends: purifying the supervision signal at the source, and constraining how parameters are updated.

Figure 2: Overview of our proposed framework of CTRL.

Here is what is new under the hood:

  • PRM-Guided Trajectory Selection: Instead of blindly trusting the majority vote, CTRL brings in a Process Reward Model (PRM) to score every discrete step of a reasoning chain. It measures reliability (mean of the lowest step scores, catching weak logical links), consistency (average score), and variance, alongside a verbosity penalty. CTRL hierarchically searches for a "golden trajectory" that agrees with the majority and has sound step-by-step logic—gracefully falling back to pure process quality if the majority is noisy.
  • Adaptive Gating & Posterior Correction: Unreliable prompts are blocked from triggering updates. However, if a prompt has strong answer consensus but ugly reasoning paths, CTRL doesn't just toss it; it prompts the LLM conditioned on that consensus answer to see if it can regenerate a clean, logically sound path.
  • Output-Process Distillation (OPD): Alongside standard sparse RL rewards, CTRL applies token-level supervision specifically to the high-scoring steps of the golden trajectory.
  • History Anchor-Based Gradient Surgery: High-priority golden trajectories are archived in a min-heap memory pool ("cognitive anchors"). Before updating weights on a new task, CTRL replays historical anchors (weighted by reliability and low variance) to see which way historical gradients point. If the current task's gradient conflicts with history (a negative inner product beyond a threshold), CTRL projects the current update onto the orthogonal complement of the replay gradient—learning the new without bulldozing the old.

Datasets

No new benchmarks are introduced; instead, the authors string together seven established text-reasoning benchmarks into a cross-domain continual stream spanning math, science, and medicine:

  • Mathematics: AIME2024, AIME2025, AMC, and MATH-500.
  • General & Domain-Specific Reasoning: GPQA-Diamond (graduate-level science), MMLU, and MedQA (medical exam questions).

Key Insights and Ideas

  • Forgetting and label noise aren't separate bugs—they are mathematically coupled. Through two formal theorems, the authors prove that systematic pseudo-label bias causes parameter drift that grows linearly with task length, and whenever that bias points opposite to historical task gradients, it directly inflates the upper bound of historical loss growth.
  • Majority voting can make a model worse than doing nothing. On hard benchmarks like AIME, standard voting-based TTRL baselines actually drop below the unadapted base model's accuracy after a task stream, proving how dangerous unchecked false consensus is.
  • Neither clean labels nor memory replay can survive alone. Ablation studies reveal a strict synergy: removing the PRM tanks retention because noisy labels poison the memory buffer, while removing gradient projection allows even clean new updates to overwrite old skills.
Visualization of pseudo-label accuracy over steps and historical task retention matrices on Qwen3-1.7B-Base.

Key Results

Across Qwen3-Base (1.7B, 4B, 8B) and Llama3-8B-Instruct, CTRL consistently beats existing test-time learning baselines (including TTRL, INTUITOR, RIF-RFT, HARMONY, and PS-GRPO) in both final Average Accuracy (AVG) and Forgetting Measure (FM) (where closer to zero means less forgetting):

  • Strongest Gains at Scale: Compared to the runner-up baseline (PS-GRPO), CTRL boosts average accuracy on Qwen3-1.7B from 51.1% to 56.9%, Qwen3-4B from 58.1% to 65.8%, and Qwen3-8B from 65.3% to 74.3%. On Llama3-8B-Instruct, it jumps from 36.8% to 42.7% (up from the unadapted base of 23.3%).
  • Near-Zero Forgetting: CTRL shrinks forgetting dramatically, reaching an FM of -0.08 on Qwen3-4B and -0.05 on Qwen3-8B (versus -1.72 and -1.00 for standard TTRL).
  • Stable Self-Supervision: Across a 6-task stream, standard TTRL sees its pseudo-label accuracy decay from 20.6% down to 14.0%, whereas CTRL holds rock-steady (starting at 26.7% and ending around 25.3%–26.3%).

Limitations and Future Work

  • PRM Overhead: Relying on an external Process Reward Model to grade every step of multiple rollouts introduces extra compute and memory overhead during inference—the authors note that 7B-scale PRMs were required to strike a good efficiency-performance balance in their experiments (with capability boundaries and compute costs analyzed further in the appendices).
  • Future Directions: To make continual test-time adaptation leaner and broader, the authors point toward developing lightweight scoring mechanisms (reducing reliance on heavy PRMs), extending the paradigm to cross-modal fusion (beyond pure text), and exploring dynamic task scheduling.

Summary updated

Abstract

Test-Time Reinforcement Learning (TTRL) constructs pseudo-supervisory signals by sampling reasoning trajectories during inference, enabling online adaptation to current inputs. However, existing research predominantly focuses on single-task settings, overlooking continuous updates across task streams. Theoretical and empirical analyses reveal two coupled challenges in this setting: (1) Error Accumulation: Majority voting tends to treat erroneous consensus as pseudo-labels, with such bias amplifying across sequential parameter updates; (2) Catastrophic Forgetting: Gradients from new tasks conflict with historical knowledge, causing acquired reasoning patterns to be overwritten. These issues form a positive feedback loop: pseudo-label noise exacerbates gradient interference, while degradation of historical knowledge reduces subsequent trajectory quality, jointly driving performance deterioration during continual adaptation. To address this, we propose the CTRL framework: first, we introduce a Process Reward Model (PRM) to replace outcome-level voting, filtering high-confidence trajectories via fine-grained process scoring to suppress pseudo-label bias; second, we design a cognitive anchor-driven soft gradient correction module that dynamically recomputes anchor gradients from a historical trajectory memory pool and projects out update components negatively correlated with historical knowledge, constraining the parameter update trajectory. Experiments demonstrate that CTRL significantly outperforms existing TTRL baselines on continuous task streams, exhibiting stronger robustness in blocking error propagation and preserving historical reasoning patterns.
BibTeX
@inproceedings{zhao2026ctrl,
  author = {Chu Zhao and Enneng Yang},
  title = {{CTRL: Continual Test-Time Reinforcement Learning for Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=MBS7pBUFkB},
}
Figure