TTPO: Test-Time Policy Optimization

Aozhe Wang, Zhengxi Lu, Jianze Wang, Shangke Lv, Ying Liu, Weiming Lu, Jun Xiao, Yueting Zhuang, Hua Yang, Qianglong Chen, Yongliang ShenarXiv 2026

TL;DR

Test-Time Policy Optimization (TTPO) enables large language models to improve their complex reasoning capabilities on the fly during inference without requiring any ground-truth labels. By exploiting an asymmetric property of majority-vote errors—where rollouts that disagree with the majority are almost always wrong anyway—TTPO safely combines self-distillation and reinforcement learning to drive a sustainable cycle of self-evolution.

What Problem Does This Paper Address?

State-of-the-art post-training techniques for mathematical reasoning, like Reinforcement Learning from Verifiable Rewards (RLVR) and On-Policy Self-Distillation (OPSD), have a massive catch: they require ground-truth labels to verify answers or guide the teacher model. This requirement completely prevents Test-Time Training (TTT), a paradigm where a model adapts and improves directly on the unlabeled problems it encounters during inference.

A naive workaround is to replace ground truth with majority-vote pseudo-labels. However, on hard competition-level math problems, the majority vote is frequently wrong (up to 85% of the time). If you blindly distill the model's behavior toward a corrupted teacher conditioned on a wrong pseudo-label, the error propagates to every single token, completely breaking the training process.

Methods

TTPO introduces an asymmetric objective that decouples how the model handles rollouts that agree vs. disagree with the majority-vote pseudo-label:

Overview of the TTPO framework
  1. The Agreeing Branch (OPSD): For rollouts that match the pseudo-label, TTPO applies forward KL divergence (self-distillation). Even if the pseudo-label is wrong, the teacher is conditioned on the answer the model itself generated, effectively distilling its high-compute "thinking mode" into its faster "non-thinking mode" rather than forcing it toward an arbitrary error. This is enhanced by Token Weighting, which down-weights tokens where the student has already converged.
  2. The Disagreeing Branch (GRPO): For rollouts that disagree with the pseudo-label, TTPO applies a Group-Relative Policy Optimization penalty. Because disagreeing rollouts are highly likely to be wrong regardless of the pseudo-label's correctness, penalizing them provides a safe, label-agnostic signal. To prevent collateral damage to locally correct reasoning steps, Token Masking filters out low-certainty tokens, focusing penalties only on confident errors.

Datasets

The authors evaluate TTPO on five competition-level mathematical reasoning benchmarks: AIME 2025, AIME 2026, HMMT 2025, HMMT 2026, and BRUMO 2025. They also utilize the OpenThoughts dataset for training and comparing against label-supervised baselines.

Key Insights and Ideas

  • Asymmetric Failure Modes: The core "aha" moment of the paper is that while a wrong pseudo-label destroys standard distillation performance, disagreement with that pseudo-label remains an incredibly reliable indicator of an incorrect rollout (~79% of disagreeing rollouts are genuinely wrong on AIME 2026). Stating what an answer is not is highly robust to noise.
Asymmetric failure mode of pseudo-labels
  • Sustainable Self-Evolution: Unlike ground-truth-driven methods that are bounded by static labels, TTPO creates a virtuous cycle. As the model improves via TTT, its rollout quality increases, which leads to more accurate majority-vote pseudo-labels, effectively raising its own training ceiling over time.
  • Pseudo-Labels Can Outperform Ground Truth: Surprisingly, TTPO trained with pseudo-labels outperformed a variant trained with perfect ground-truth labels. Perfect labels on hard problems yield very few positive matches, starving the distillation branch, whereas pseudo-labels maintain a healthy positive/negative split that keeps both training signals active.

Key Results

  • Label-Free Superiority: Without using a single ground-truth label, TTPO matched or exceeded label-supervised OPSD across Qwen3-1.7B, 4B, and 8B models.
  • Test-Time Training Boost: In pure TTT, TTPO raised the average accuracy of Qwen3-1.7B from 38.0% to 45.2%, substantially outperforming other label-free baselines like TTRL (40.2%) and OPSD-TTT (41.9%).
Performance of TTPO vs baselines
  • Closing the Model Size Gap: TTPO applied to the Qwen3-4B model achieved an average accuracy of 61.1%, surpassing the untrained Qwen3-8B base model (60.7%).
  • Distilling "Thinking" into "Non-Thinking": When evaluated with thinking mode disabled, TTPO achieved massive gains (+25.2% to +36.4% across scales), showing it successfully bakes complex chain-of-thought reasoning directly into the base model's standard generation weights.

Limitations and Future Work

  • Dependence on Voting Quality: If the sample budget $K$ is too small, or a problem is so brutally difficult that the model never generates a single correct answer, the majority-voting signal degrades, injecting noise into both branches.
  • Verifiable Domains Only: Currently, TTPO relies on mathematically verifiable final answers to cluster rollouts. Extending it to open-ended text generation or code execution remains an open challenge.
  • Static Hyperparameters: The balance between the RL penalty and distillation ($\lambda$) is fixed throughout training, whereas a dynamic curriculum that shifts balance as pseudo-label accuracy improves could be more efficient.

Summary updated

BibTeX
@misc{wang2026ttpo,
  author = {Aozhe Wang and Zhengxi Lu and Jianze Wang and Shangke Lv and Ying Liu and Weiming Lu and Jun Xiao and Yueting Zhuang and Hua Yang and Qianglong Chen and Yongliang Shen},
  title = {{TTPO: Test-Time Policy Optimization}},
  year = {2026},
  eprint = {2608.27448},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.27448},
}
Figure