arXiv(opens in a new tab)cs.CLAug 2026Cited by 4 papers on PaperVantage

Manuscript Offprint

arXiv:2608.27448

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 Shen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Recent prominent post-training methods, such as Reinforcement Learning (RL) and On-Policy Self-Distillation (OPSD), have driven rapid progress in mathematical reasoning for large language models, yet their reliance on ground-truth labels precludes test-time training (TTT). Replacing ground truth with majority-vote pseudo-labels is a natural alternative, yet it is fragile: an incorrect vote corrupts the teacher and misleads every token. We observe that this failure mode is asymmetric: rollouts that disagree with the pseudo-label are typically wrong regardless of whether the vote itself is correct. Building on this observation, we propose Test-Time Policy Optimization (TTPO), an asymmetric objective that distills agreeing rollouts via OPSD and penalizes disagreeing rollouts with Grouped RL. Token-level selection further refines both branches: distillation down-weights already-converged positions, while RL penalizes only confident errors. Both updates remain well-grounded even under frequent pseudo-label errors, and majority-vote routing yields tighter self-supervision as the model improves. Without any labels, TTPO matches label-supervised OPSD on five competition-level benchmarks, raises Qwen3-1.7B from 38.0% to 45.2% in TTT, yields +25.2% to +36.4% without thinking, and shows strong cross-task generalization. Our code is available at https://github.com/ZJU-REAL/TTPO.

Figure

b. Overview

Figure

Signal-efficient, Noise-robust, Self-evolving

c. Performance

Figure

Figure 1: (a) Motivation: When pseudo-labels are wrong, most disagreeing rollouts are genuinely wrong too, during Qwen3-1.7B TTT on AIME 2026. (b) Overview of TTPO. (c) Performance: Average accuracy of Qwen3-1.7B across AIME 2026, HMMT 2026, and BRUMO 2025.

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

1 INTRODUCTION

Large language models (LLMs) have achieved remarkable mathematical reasoning through extended chain-of-thought generation (Team et al., 2026; Xu et al., 2026a; Zeng et al., 2026; Singh et al., 2025; Team, 2026), largely powered by post-training with reinforcement learning from verifiable rewards (RLVR) (Shao et al., 2024; Yu et al., 2026; Guo et al., 2025). Yet such outcome rewards are inherently coarse, broadcasting a single sequence-level scalar uniformly across all tokens and leaving the reasoning at each step unsupervised.

A complementary line supplies dense, token-level supervision: on-policy self-distillation (OPSD) (Zhao et al., 2026) conditions the same policy on the ground-truth answer to form a teacher that re-scores the student's own rollouts token by token (Ye et al., 2026; Yang et al., 2026b). Recent work increasingly combines the two signals, through auxiliary distillation losses, credit redistribution, or routing between them (Yang et al., 2026a; Liu et al., 2026b; Lu et al., 2026a; Han et al., 2026; Li et al., 2026a). All these methods, however, assume ground-truth answers: the reward needs them for verification, and the teacher needs them as privileged context. In test-time training (TTT) (Sun et al., 2020), where a model improves on the very problems it must solve and labels never arrive, none of these methods applies.

Without labels, supervision must come from the model itself: sample a group of rollouts for each problem, and take the majority answer as a pseudo-label. TTRL (Zuo et al., 2026) uses this pseudo-label as a reward and improves reasoning without any labels, but the reward is still one scalar per trajectory, and when the majority is wrong, training reinforces the error (Lin et al., 2026). The natural next step is to let the pseudo-label replace the ground-truth answer in OPSD, which has been tried in two forms: distilling all rollouts toward the pseudo-label-conditioned teacher (Gkountouras et al., 2026), or distilling only the rollouts that disagree with the pseudo-label (Li et al., 2026b). But dense supervision magnifies label errors: a corrupted reward misleads once per trajectory; a corrupted teacher misleads at every token.

These errors are the common case: on competition-level problems, the pseudo-label is wrong for ∼85%\sim85\% of prompts (Figure 1, a). Learning from such a label seems infeasible. However, even when the pseudo-label is wrong, ∼79%\sim79\% of the rollouts that disagree with it are wrong too. A penalty on a disagreeing rollout is therefore usually correct whether or not the pseudo-label is, because it uses the disagreement alone, never the pseudo-label's answer. Distillation toward the pseudo-label has no such tolerance: a wrong answer enters the teacher and misleads every token. The same asymmetry underlies negative learning from noisy labels, where stating what a sample is not remains reliable even when the label is wrong (Kim et al., 2019).

We propose Test-Time Policy Optimization (TTPO), which applies each signal where it is reliable: GRPO penalties on the rollouts that disagree with the pseudo-label, and OPSD distillation on the rollouts that agree with it. The distillation branch tolerates wrong pseudo-labels for a different reason: the teacher is conditioned on the answer that the agreeing rollouts themselves produced, so even when that answer is wrong, the update distills the model's thinking mode into its non-thinking mode rather than toward an arbitrary error. Finally, token-level selection sharpens both branches, weighting distillation toward positions the student has not yet mastered and masking penalties to the confident errors that caused the failure. By combining both signals, our asymmetric design not only makes more effective use of both positive and negative rollouts while remaining robust to pseudo-label noise, but is also naturally calibrated to the model's current capability, enabling a virtuous cycle of self-evolution that ground-truth routing cannot sustain (Figure 5, 6).

Trained without any labels, TTPO matches or exceeds label-supervised OPSD across Qwen3-1.7B/4B/8B on five competition-level benchmarks, and in the pure TTT setting raises the 1.7B base model from 38.0% to 45.2% average accuracy, ahead of both TTRL and self-distillation baselines. With thinking mode disabled, the gains reach +25.2% to +36.4% across scales, several times the gain of label-supervised OPSD. We further validate that training on any one benchmark improves the other two, indicating generalizable reasoning rather than problem-specific overfitting (Figure 4). Our contributions are:

  1. We show that majority-vote pseudo-labels remain useful despite frequent errors: though wrong on ∼85%\sim85\% of competition-level prompts, ∼79%\sim79\% of disagreeing rollouts are wrong too, so penalizing disagreement stays correct while distillation does not.

  2. We propose TTPO, which applies each signal where it stays correct: agreeing rollouts are distilled toward an answer-conditioned teacher, disagreeing rollouts receive GRPO penalties, with token-level selection in both branches.

  3. Trained without any labels, TTPO matches or exceeds label-supervised OPSD on five competition-level benchmarks, raises Qwen3-1.7B from 38.0% to 45.2% in TTT, and further demonstrates strong cross-task generalization.

References (54)