TTSR: Test-Time Self-Evolving via Reflection

Haoyang He, Zihua Rong, Yunjia Zhao, Lan Yang, Jian Chang, Honggang ZhangarXiv 2026

TL;DR

TTSR (Test-Time Self-Reflection) is a novel framework that turns a single large language model (LLM) into both a Student and a Teacher during inference. By diagnosing its own reasoning failures and synthesizing targeted, intermediate-difficulty variant questions, the model constructs an online curriculum that successfully pushes its own capability frontier on complex reasoning tasks.

What Problem Does This Paper Address?

Test-Time Training (TTT) is an exciting paradigm where an LLM adapts its parameters during inference using only unlabeled test inputs, requiring no ground-truth labels. When applied to hard reasoning tasks, however, standard TTT methods hit two major bottlenecks:

  1. Lack of learnable samples: If a test question is too difficult, the model's self-generated answers (pseudo-labels) are highly noisy. Relying on majority voting under these conditions yields unstable and unreliable reward signals.
  2. Inefficient exploration: Current methods blindly sample massive numbers of reasoning paths (rollouts) hoping to stumble upon the right answer, without any mechanism to diagnose why previous attempts failed.
Figure 1: Comparison between standard Test-time training and TTSR. Standard test-time training produces noisy reward signals when test questions are too hard for the model. In contrast, TTSR reflects on failed reasoning to generate moderately difficult variants matched to the model’s capability, yielding clearer rewards and more stable test-time updates.

To bridge this gap, the authors leverage two insights: localizing an error in an existing reasoning trace is much easier than generating a flawless solution from scratch, and curriculum learning (training on calibrated, simpler problems) can effectively prepare a model for harder target tasks.

Methods

TTSR introduces a closed-loop, reflect-then-synthesize paradigm where a single pretrained model alternates between two roles:

  • The Student Role: The Student attempts to solve test questions and updates its policy online using Group Relative Policy Optimization (GRPO). It relies on a majority-voting reward based on consensus answers.
  • The Teacher Role: Instead of solving the problem, the Teacher inspects the Student's failed reasoning trajectories. It extracts structured weakness descriptors (detailing the flaw, trigger conditions, and failure signatures) and uses them to synthesize new variant questions.

To ensure these variants are highly informative, the Teacher is optimized using a variance-based frontier reward. This reward peaks when the Student's success rate on a variant is around 50%—meaning the question sits precisely on the edge of the model's current capability.

Additionally, TTSR maintains a cross-iteration weakness memory. The most persistent weaknesses are compiled into a lightweight strategy note (concise reasoning guidelines) prepended to subsequent Student inputs. As the Student adapts and resolves these weaknesses, the guidelines automatically fade away.

Figure 2: Overview of the TTSR pipeline. At each iteration t, the Student samples multiple reasoning trajectories and updates its policy via GRPO with majority-voting pseudo-labels. The Teacher analyzes failed traces to extract structured weakness descriptors, which are accumulated in a cross-iteration weakness memory. Persistent weaknesses are compiled into a strategy note that is prepended to Student inputs, providing immediate reasoning guidance. The Teacher also synthesizes targeted variant questions conditioned on both current failures and the accumulated memory, forming a closed-loop self-evolving cycle.

Datasets

The framework was evaluated across a diverse suite of challenging benchmarks:

  • Mathematical Reasoning: AMC23, MATH-500, Minerva, OlympiadBench, AIME 2024, and AIME 2025.
  • General Domain Reasoning: GPQA-Diamond (expert-level science QA) and MMLU-Pro.

No new static datasets were introduced; instead, the training data is dynamically synthesized by the Teacher role at test time.

Key Insights and Ideas

  • Co-Evolution is Critical: Ablation studies revealed that freezing the Teacher role causes a significant drop in performance. The Teacher must update alongside the Student to continuously generate well-calibrated, frontier-level questions.
  • Self-Reflection Beats Random Variation: Simply generating random structural variations of a problem provides some benefit, but explicitly reflecting on process-level deficiencies drastically increases the "frontier ratio" (the proportion of synthesized questions that are perfectly calibrated to the model's skill level).
  • Scaffolding via Strategy Notes: Compiling persistent errors into a temporary text prompt (the strategy note) acts as an immediate behavioral guide, steering exploration away from known pitfalls while the underlying model weights are still adapting.

Key Results

TTSR was tested across three base models: Qwen3-4B-Base, Qwen3-8B-Base, and OctoThinker-8B-Hybrid-Base.

  • Substantial Performance Gains: TTSR achieved consistent improvements, raising average accuracy by +11.7 to +15.6 percentage points over the base models, significantly outperforming prior test-time optimization baselines like TTRL and R-Zero.
  • Bridging the Intractable Gap: The gains were most pronounced on exceptionally difficult benchmarks like AIME 2024/2025, where standard TTT fails due to noisy pseudo-labels.
  • High Data Efficiency: TTSR retains a clear advantage even when given access to only a small fraction (e.g., 10%) of the test data, proving that variant synthesis amplifies the value of limited data.
Figure 3: Data efficiency on AIME24 (Qwen3-4B- Base). Accuracy under four test-data proportions.
  • Cross-Domain Transfer: When trained exclusively on mathematical tasks, the model showed meaningful out-of-distribution improvements on general reasoning tasks like GPQA-Diamond and MMLU-Pro, indicating it acquires transferable reasoning strategies rather than just memorizing patterns.
Figure 4: Training dynamics of TTSR on Qwen3-8B-Base. Left two panels show in-domain accuracy on the training benchmarks (MATH500, AIME25); right two panels show cross-domain accuracy on held-out general reasoning benchmarks (GPQA-D, MMLU-Pro) while training on AIME25. Dashed and dash-dotted horizontal lines denote the Base Model and R-Zero baselines, respectively.

Limitations and Future Work

The authors note several limitations and areas for future exploration:

  • Domain Scope: Evaluation was primarily restricted to math and reasoning-heavy benchmarks. Future work should test TTSR on a broader range of task families.
  • Hyperparameter Optimization: The experiments utilized a largely unified test-time adaptation setup. Exploring the broader design space of update frequencies, iteration schedules, and synthesis budgets could yield further efficiency gains.
  • Model Scale Coverage: While representative models were used, the study does not exhaustively cover different parameter scales or alignment settings.

Summary updated

BibTeX
@misc{he2026ttsr,
  author = {Haoyang He and Zihua Rong and Yunjia Zhao and Lan Yang and Jian Chang and Honggang Zhang},
  title = {{TTSR: Test-Time Self-Evolving via Reflection}},
  year = {2026},
  eprint = {2603.03297},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.03297},
}
Figure