TTPO: Test-Time Policy Optimization
Problem Statement
Strong post-training methods like RL with verifiable rewards and OPSD need ground-truth labels, so they cannot be used for test-time training on unlabeled problems. The natural fix, majority-vote pseudo-labels, is fragile: a wrong vote corrupts the teacher signal and pushes the model toward incorrect answers at every token. A robust self-supervised objective would let models improve on new, unlabeled distributions at deployment time.
Key Novelty
- An empirical observation of asymmetric pseudo-label failure: rollouts that disagree with the majority vote are usually wrong whether or not the vote itself is correct, which makes negative signals more reliable than positive ones.
- An asymmetric hybrid objective that routes agreeing rollouts to OPSD (positive distillation) and disagreeing rollouts to Grouped RL (negative penalization), combining distillation and RL in a single label-free framework.
- Token-level selection in both branches: distillation down-weights positions that have already converged, and RL penalizes only high-confidence erroneous tokens, which concentrates gradient signal and limits damage from noisy labels.
- A self-reinforcing dynamic in which majority-vote routing gives tighter self-supervision as the model improves.
Evaluation Highlights
- Without any labels, TTPO matches label-supervised OPSD on five competition-level math benchmarks.
- In the test-time training setting, Qwen3-1.7B improves from 38.0% to 45.2%.
- In non-thinking mode, gains range from +25.2% to +36.4%.
- The paper reports strong cross-task generalization beyond the adapted tasks.
Signal Assessment
Methodology
- Sample a group of rollouts for each unlabeled test problem and compute a majority-vote pseudo-label from the final answers.
- Partition the rollouts into agreeing and disagreeing sets relative to the pseudo-label.
- For agreeing rollouts, apply On-Policy Self-Distillation, down-weighting tokens where student and teacher have already converged.
- For disagreeing rollouts, apply a Grouped RL penalty restricted to confident erroneous tokens.
- Iterate the test-time updates; as accuracy rises, the majority vote becomes more reliable and supervision tightens.
System Components
Computes a pseudo-label from rollout consensus and sends each rollout to either the distillation branch or the RL branch.
Distills agreeing trajectories as positive supervision using on-policy self-distillation, with no ground-truth answer needed.
Applies a negative, group-relative RL signal to rollouts that disagree with the vote, exploiting the fact that these are reliably wrong.
Down-weights already-converged token positions in distillation so gradients focus on informative positions.
Restricts RL penalties to tokens where the model is confidently wrong, avoiding over-penalizing uncertain or shared-prefix tokens.
Results
| Metric/Benchmark | Baseline | This Paper | Delta |
|---|---|---|---|
| Qwen3-1.7B TTT accuracy (math avg) | 38.0% | 45.2% | +7.2 pts |
| Non-thinking mode gains | Base model (no thinking) | TTPO | +25.2% to +36.4% |
| 5 competition-level benchmarks vs. label-supervised OPSD | OPSD with ground-truth labels | TTPO with no labels | Comparable (parity) |
| Cross-task generalization | Base / pseudo-label baselines | TTPO | Strong transfer (qualitative) |
Key Takeaways
- When using majority-vote pseudo-labels, trust the negative signal more than the positive one. Penalizing minority answers is robust even when the vote is wrong, so asymmetric objectives beat naively treating the vote as ground truth.
- Combining distillation for positives with RL for negatives in one objective is a practical template. It may transfer to other label-scarce settings such as agentic tasks or code with weak verifiers.
- Token-level gating (skipping converged tokens, penalizing only confident errors) is a cheap way to reduce noise in self-supervised RL and distillation updates.
- Label-free test-time training can match supervised post-training on math, which makes on-the-fly adaptation of small models to new reasoning distributions viable without annotation.
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.