Aozhe Wang$^{1,2,}$, Zhengxi Lu$^{1,}$, Jianze Wang$^{2}$, Shangke Lv$^{1}$, Ying Liu$^{2}$, Weiming Lu$^{1}$,
Jun Xiao$^{1}$, Yueting Zhuang$^{1}$, Hua Yang$^{2}$, Qianglong Chen$^{2,\dagger}$, Yongliang Shen$^{1,\dagger}$
$^{1}$Zhejiang University $^{2}$Alibaba Group
{waz,zhengxilu,syl}@zju.edu.cn [email protected]
$^{*}$ Equal contribution.
$^{\dagger}$ Corresponding author.
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.
Executive Summary: Test-Time Policy Optimization (TTPO) addresses a practical barrier in improving large language models on mathematical reasoning. Standard post-training methods such as reinforcement learning and on-policy self-distillation require ground-truth answers, which are unavailable during test-time training on new, unlabeled problems. A simple workaround—using majority votes across multiple model outputs as pseudo-labels—often fails because the votes are wrong on roughly 85 percent of hard competition problems, and errors then propagate through every token of training.
The work set out to create a label-free method that still delivers dense, token-level supervision while remaining robust when most pseudo-labels are incorrect. The approach samples dozens of reasoning trajectories per problem, partitions them by whether they match the majority answer, applies weighted self-distillation only to the agreeing trajectories, and applies selective reinforcement-learning penalties only to the disagreeing ones. Token-level weighting further focuses distillation on uncertain or mismatched positions and restricts penalties to the most confident errors. Experiments covered three Qwen3 model sizes and five competition-level math benchmarks, run both with labeled training data (for comparison) and in a pure test-time setting with no labels at all.
The central results are that TTPO matches or slightly exceeds fully supervised on-policy self-distillation across all scales while using only majority-vote signals. In the strict test-time setting it lifts the 1.7-billion-parameter model from 38.0 percent to 45.2 percent average accuracy, outperforming prior label-free baselines by 3–5 points. When thinking mode is disabled at inference, gains reach 25–36 points—several times larger than supervised distillation achieves. Training on any single benchmark also improves the others, showing genuine generalization rather than memorization of specific problems.
These outcomes matter because they remove the need for expensive labeled data at deployment time and let smaller models close much of the gap with larger ones through self-improvement. The method also creates a self-reinforcing loop: as accuracy rises, majority votes become more reliable, which in turn supports further gains. For organizations that must adapt models to new problems without fresh annotations, TTPO offers a concrete route to measurable reasoning improvement at modest additional compute.
The authors recommend deploying TTPO in any label-scarce math-reasoning pipeline and exploring dynamic weighting between the distillation and penalty branches as performance improves. Extensions to code generation or open-ended tasks will require reliable ways to verify answers automatically. The main limitations are dependence on sufficient rollout diversity for stable majority votes and restriction to domains with extractable final answers; results on very small sample budgets or non-mathematical tasks remain untested. Overall the evidence is consistent across model sizes and benchmarks, supporting confident use within the evaluated setting.
Section Summary: Large language models have improved at solving complex math problems by generating long chains of reasoning, but most training methods rely on knowing the correct final answers to provide feedback. In settings where no answers are available, such as improving performance on new problems during testing, models must instead use their own majority-voted guesses as substitutes, which are frequently wrong and can reinforce errors. The paper introduces Test-Time Policy Optimization, an approach that selectively applies different forms of feedback to different reasoning attempts—penalizing those that disagree with the guess and distilling useful patterns from those that agree—allowing the model to improve substantially without any external labels.
Large language models (LLMs) have achieved remarkable mathematical reasoning through extended chain-of-thought generation ([1, 2, 3, 4, 5]), largely powered by post-training with reinforcement learning from verifiable rewards (RLVR) ([6, 7, 8]). 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) ([9]) conditions the same policy on the ground-truth answer to form a teacher that re-scores the student's own rollouts token by token ([10, 11]). Recent work increasingly combines the two signals, through auxiliary distillation losses, credit redistribution, or routing between them ([12, 13, 14, 15, 16]). 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) ([17]), 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 ([18]) 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 ([19]). 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 ([20]), or distilling only the rollouts that disagree with the pseudo-label ([21]). 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 ${\sim}$ 85% of prompts (Figure 1, a). Learning from such a label seems infeasible.
However, even when the pseudo-label is wrong, ${\sim}$ 79% 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 ([22]).
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, Figure 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:
Section Summary: Recent research on test-time training adapts language models to new problems during inference by generating multiple solution attempts and using majority voting to create pseudo-rewards for reinforcement learning updates, though these approaches apply rewards uniformly across entire sequences and remain sensitive to voting errors. Parallel work on self-distillation trains models on their own outputs, sometimes leveraging differences between teacher and student predictions to refine reinforcement learning objectives or provide denser signals without needing a separate teacher model. A third line of studies shows that selectively weighting or masking individual tokens—rather than treating all equally—can improve both distillation and reinforcement learning by focusing gradients on the most informative or reliable positions.
Test-time training (TTT) adapts models to unlabeled test data at inference time ([17, 21, 23]). TTRL ([18]) extends TTT to LLM reasoning by sampling multiple trajectories per problem, deriving pseudo-rewards via majority voting, and training with GRPO ([6]). Follow-up work addresses TTRL's sensitivity to consensus quality: Hi-TTRL ([24]) introduces hierarchical reward shaping with hints, while SCRL ([25]) applies selective pseudo-labeling to filter unreliable majorities. However, these methods remain purely RL-based, propagating a single sequence-level reward uniformly across all tokens.
On-policy distillation trains a policy on its own rollouts under a teacher ([26, 27, 28]). Recent self-distillation variants remove the need for a separate teacher by conditioning the same model on privileged information available only during training ([9, 29, 30]). Several studies further incorporate the resulting teacher–student log-probability gap into RLVR, either as advantage scaling ([12]), a detached auxiliary objective ([14]), a routing mechanism ([15, 16]), or reward-densifying local supervision ([31, 10, 29]). We follow this idea and introduce an asymmetric objective that decouples the treatment of positive and negative samples to tolerate pseudo-label errors.
Recent work recognizes that not all tokens merit equal gradients during training ([32]). In distillation, TIP ([31]) shows that training on fewer than 10% of tokens, selected by student entropy and teacher–student divergence, nearly matches full-token performance. In RL, STAPO ([33]) masks spurious low-probability, low-entropy tokens in positive samples that receive disproportionate reward gradients, while [34] address the erroneous penalization of locally correct tokens within failed trajectories through reward recalibration. TTPO applies token-level selection to both branches of its objective: down-weighting converged positions in the distillation branch and selectively penalizing only confident errors in the RL branch.
Section Summary: The method, called TTPO, samples multiple reasoning trajectories from a language model on unlabeled test problems and uses majority voting to form a pseudo-label for each problem, splitting the trajectories into those that match the majority answer and those that do not. Positive trajectories are trained with a teacher model conditioned on the pseudo-label through forward KL divergence and token-level weighting that emphasizes uncertain or misaligned positions. Negative trajectories are instead penalized with group-relative policy optimization that requires only disagreement with the majority, limiting the damage from the many incorrect pseudo-labels that arise on hard problems.

Let $\pi_\theta$ denote the language model and ${x_i}{i=1}^N$ be a set of test-time problems without ground-truth labels. For each problem $x$, we sample $K$ trajectories ${y_1, \ldots, y_K} \sim \pi\theta(\cdot \mid x)$ and extract final answers $a_k = \operatorname{Extract}(y_k)$.
Majority-vote pseudo-labeling.
We cluster answers by mathematical equivalence, select the largest cluster as the pseudo-label $\hat{a}$ with consensus count $c = |{k : a_k \equiv \hat{a}}|$, and partition trajectories into positive samples $\mathcal{P} = {k : a_k \equiv \hat{a}}$ that agree with pseudo-label and negative samples $\mathcal{N} = {k : a_k \not\equiv \hat{a}}$ that disagree.
Answer-conditioned teacher.
Following OPSD ([9]), we construct a teacher by conditioning the same model on the pseudo-label $\hat{a}$ as privileged information. Given shared completion tokens $y_k$, the teacher and student differ only in their prompt prefixes:
$ \begin{aligned} q_t^{(\hat{a})} &= \pi_\theta(\cdot \mid [x; \hat{a}] {\text{teacher}}, y{<t}), \quad \text{(no grad)} \ p_t &= \pi_\theta(\cdot \mid x_{\text{student}}, y_{<t}). \quad \text{(with grad)} \end{aligned} $
In the TTT setting, the training set is the test set — consisting of competition-level problems that are inherently difficult for the model. As a result, majority-vote pseudo-labels are frequently wrong: on AIME 2026 with Qwen3-1.7B, we observe that pseudo-labels are wrong for ${\sim}$ 85% of prompts on average (Figure 1, a). Naively applying self-distillation to all trajectories using the corrupted teacher would propagate errors to every sample.
However, we observe a key structural property: even when $\hat{a} \neq a^*$, ${\sim}$ 79% of negative samples produce answers that are neither $\hat{a}$ nor $a^*$ — penalizing them is correct regardless of pseudo-label quality. This motivates an asymmetric design that minimizes the blast radius of pseudo-label errors:
Require: Policy $\pi_\theta$; problems $\{x_i\}$; rollouts $K$; RL weight $\lambda$
for each training iteration do
// Step 1: Majority-vote pseudo-labeling
for each problem $x$ do
$y^{(1)}, \ldots, y^{(K)} \sim \pi_\theta(\cdot \mid x)$; $a^{(k)} \leftarrow \operatorname{Extract}(y^{(k)})$
$\hat{a} \leftarrow \operatorname{plurality}(\{a^{(k)}\})$; $\mathcal{P} \leftarrow \{k : a^{(k)} = \hat{a}\}$; $\mathcal{N} \leftarrow \{k : a^{(k)} \neq \hat{a}\}$
end for
// Step 2: Teacher & student forward
$q_t \leftarrow \pi_\theta(\cdot \mid [x;\hat{a}], y_{<t})$ (no grad); $p_t \leftarrow \pi_\theta(\cdot \mid x, y_{<t})$
// Step 3: OPSD on $\mathcal{P}$
$w(t) \leftarrow \hat{H}(t) + \hat{\Delta}(t) - \hat{H}(t)\cdot\hat{\Delta}(t)$
$\mathcal{L}_{\text{OPSD}} \leftarrow \frac{1}{|\mathcal{P}|}\sum_{k \in \mathcal{P}} \frac{1}T_k\sum_{t} w(t) \cdot \mathrm{KL}(q_t \| p_t)$
// Step 4: GRPO on $\mathcal{N}$
$s(t) \leftarrow -\log p_t(y^{(t)}_k) \cdot (1 - \hat{H}(t))$; $m(t) \leftarrow \mathbf{1}[s(t) \geq \mathrm{median}(\{s\})]$
$\mathcal{L}_{\text{GRPO}} \leftarrow -\frac{1}{|\mathcal{N}|}\sum_{k \in \mathcal{N}} \frac{A_k}T_k\sum_{t} m(t) \cdot \log \pi_\theta(y^{(t)}_k \mid x, y^{(<t)}_k)$
// Step 5: Update
$\theta \leftarrow \theta - \eta\,\nabla_\theta\!\left(\mathcal{L}_{\text{OPSD}} + \lambda\,\mathcal{L}_{\text{GRPO}}\right)$
end for
For each positive sample $y_k \in \mathcal{P}$, we apply OPSD's forward KL with per-token weighting:
$ \mathcal{L}{\text{OPSD}}(k) = \frac{1}{T_k} \sum{t=1}^{T_k} w(t) \cdot \text{KL}\left(q_t^{(\hat{a})} , |, p_t\right),\tag{1} $
where $T_k$ is the number of valid response tokens and $w(t)$ is the token weight described below.
Token weighting.
Not all tokens offer equal learning value. Inspired by the token importance analysis of [31], we design a weighting scheme that down-weights positions where the student has already converged. We measure two complementary signals — student entropy $H(t)$ and teacher-student divergence $\Delta(t) = \text{KL}(q_t | p_t)$ — normalize each to $[0, 1]$ via per-sample min-max normalization, and combine them with a Soft-OR:
$ w(t) = \hat{H}(t) + \hat{\Delta}(t) - \hat{H}(t) \cdot \hat{\Delta}(t).\tag{2} $
This assigns high weight when at least one signal indicates learning value (the student is uncertain, or confidently wrong), and approaches zero only when both signals are low — the student is already confident and aligned with the teacher.
For negative samples $y_k \in \mathcal{N}$, we apply GRPO ([6]). Each trajectory receives a binary reward based on majority-vote classification: $r_k = 1$ if its answer matches the pseudo-label, $r_k = 0$ otherwise. Advantages are computed group-relatively over all $K$ rollouts per problem, so that $A_k < 0$ for negative samples, yielding a penalty:
$ \mathcal{L}{\text{GRPO}}(k) = -\frac{A_k}{T_k} \sum{t=1}^{T_k} m(t) \cdot \log \pi_\theta(y_k^{(t)} \mid x, y_k^{(<t)}).\tag{3} $
In standard GRPO, positive-advantage gradients counterbalance erroneous penalties on locally correct tokens within failed trajectories. In our asymmetric framework, GRPO acts exclusively on negative samples, removing this counterbalance. This False Penalties on Negative Samples problem ([34]) necessitates active reduction of collateral damage.
Token masking.
Drawing on the insight from [33] that low-probability, low-entropy tokens represent anomalous model behavior, we design a masking scheme to identify tokens most responsible for errors. We score each token by:
$ s(t) = -\log \pi_\theta(y_k^{(t)} \mid x, y_k^{(<t)}) \cdot (1 - \hat{H}(t)),\tag{4} $
where the raw negative log-probability serves as the dominant ranking factor and $(1 - \hat{H}(t))$ is the normalized certainty. The key design choice is using unnormalized $-\log p$ to anchor the ranking: this ensures locally correct tokens (typically high-probability) are naturally excluded, while genuinely anomalous outputs — where the model confidently produced unlikely content — are prioritized. We construct a binary mask by selecting the top-50% of tokens by score:
$ m(t) = \mathbf{1}\left[s(t) \geq \text{median}({s(t')}_{t'=1}^{T_k})\right].\tag{5} $
The final TTPO objective combines both branches, and balances their weight by $\lambda$:
$ \mathcal{L}{\text{TTPO}} = \frac{1}{|\mathcal{B}|} \left(\sum{k \in \mathcal{P}} \mathcal{L}{\text{OPSD}}(k) + \lambda \sum{k \in \mathcal{N}} \mathcal{L}_{\text{GRPO}}(k) \right),\tag{6} $
The complete training procedure is summarized in Algorithm 1.
Section Summary: In the experiments, TTPO was tested on Qwen3 models of 1.7B to 8B parameters using math reasoning tasks in two setups: training on labeled data without actually using the labels, and training directly on unlabeled test problems. It was compared against baselines such as OPSD and GRPO that require ground-truth answers, as well as label-free methods like TTRL, with results measured on five competition-level math benchmarks. Across model sizes, TTPO matched or slightly exceeded the label-dependent approaches while clearly outperforming other unsupervised methods, showing that majority-vote signals can effectively replace human annotations.
Implementation.
We evaluate on Qwen3-1.7B, Qwen3-4B, and Qwen3-8B ([35]), all fine-tuned with LoRA ($r{=}64$, $\alpha{=}128$) on all linear layers. We consider two settings: (1) OpenThoughts setting, where models are trained on labeled data but TTPO does not use the labels — they serve only for comparison with label-dependent baselines; and (2) TTT setting, where models are trained directly on the test set without any annotations. The shared training configuration follows OPSD, and full training configurations are provided in Appendix A.
Baselines.
We compare against: (1) OPSD ([9]), on-policy self-distillation with ground-truth labels; (2) GRPO ([6]), RL with ground-truth rewards; (3) TTRL ([18]), label-free RL via majority-vote rewards; and (4) OPSD-TTT, self-distillation using the model's temperature-0 output under thinking mode as privileged information.
Evaluation.
We evaluate on five competition-level math benchmarks: AIME 2025, AIME 2026, HMMT 2025, HMMT 2026, and BRUMO 2025 ([36]). To ensure train-inference consistency, evaluation is performed with thinking mode enabled (non-thinking evaluation in Appendix D.2). All results are reported as Avg@12 with temperature 1.0. For OPSD and TTPO, we train for 100 steps and report the peak performance across checkpoints saved every 25 steps. For GRPO and TTRL, we train for 500 steps and report the peak across all checkpoints.
TTPO-specific hyperparameters.
We sample $K{=}64$ trajectories per problem to ensure reliable majority voting on hard problems with low pass rates, with a maximum generation length of 16, 000 tokens to avoid truncation that prevents answer extraction. From the $K$ rollouts, $K_{\text{train}}{=}8$ are selected (50% positive, 50% negative) for the gradient update, and the RL weight $\lambda{=}0.1$ balances gradient magnitudes between the two branches (ablated in Appendix D.3).
\begin{tabular}{p{2.4cm}|cccccc}
\toprule
\textbf{Method} & \textbf{AIME25} & \textbf{HMMT25} & \textbf{AIME26} & \textbf{HMMT26} & \textbf{BRUMO25} & \textbf{Average} \\
\midrule
\multicolumn{7}{@l}{\textit{Qwen3-1.7B}} \\
\hspace{0.8em}Base & 36.9 & 21.9 & 37.8 & 28.8 & 47.5 & 34.6 \\
\hspace{0.8em}+GRPO$^\dagger$ & 37.3 & 23.6 & 40.3 & 29.3 & 48.1 & 35.7 \\
\hspace{0.8em}+OPSD$^\dagger$ & $\underline{40.3}$ & \textbf{28.1} & $\underline{46.4}$ & $\underline{31.4}$ & $\underline{52.5}$ & $\underline{39.7}$ \\
\rowcolor[HTML]{E4F0F9} \hspace{0.8em}+TTPO & \textbf{41.7} & $\underline{26.1}$ & \textbf{46.5} & \textbf{31.6} & \textbf{54.7} & \textbf{40.1} \\
\midrule
\multicolumn{7}{@l}{\textit{Qwen3-4B}} \\
\hspace{0.8em}Base & 66.1 & 41.9 & 65.8 & 42.4 & 64.0 & 56.0 \\
\hspace{0.8em}+GRPO$^\dagger$ & 66.7 & \textbf{45.0} & $\underline{66.6}$ & 43.2 & $\underline{66.1}$ & 57.5 \\
\hspace{0.8em}+OPSD$^\dagger$ & $\underline{68.3}$ & $\underline{44.2}$ & \textbf{68.1} & $\underline{44.4}$ & \textbf{67.2} & $\underline{58.4}$ \\
\rowcolor[HTML]{E4F0F9} \hspace{0.8em}+TTPO & \textbf{69.4} & 43.6 & \textbf{68.1} & \textbf{44.7} & \textbf{67.2} & \textbf{58.6} \\
\midrule
\multicolumn{7}{@l}{\textit{Qwen3-8B}} \\
\hspace{0.8em}Base & 66.7 & 44.2 & 67.5 & 45.5 & 69.2 & 58.6 \\
\hspace{0.8em}+GRPO$^\dagger$ & 70.3 & \textbf{46.7} & 69.2 & \textbf{48.0} & $\underline{71.9}$ & 61.2 \\
\hspace{0.8em}+OPSD$^\dagger$ & $\underline{70.8}$ & $\underline{46.4}$ & $\underline{72.5}$ & 47.2 & 71.4 & $\underline{61.7}$ \\
\rowcolor[HTML]{E4F0F9} \hspace{0.8em}+TTPO & \textbf{71.4} & 46.1 & \textbf{74.2} & \textbf{48.0} & \textbf{73.1} & \textbf{62.6} \\
\bottomrule
\end{tabular}
\begin{tabular}{p{2.4cm}|cccc}
\toprule
\textbf{Method} & \textbf{AIME26} & \textbf{HMMT26} & \textbf{BRUMO25} & \textbf{Average} \\
\midrule
\multicolumn{5}{@l}{\textit{Qwen3-1.7B}} \\
\hspace{0.8em}Base & 37.8 & 28.8 & 47.5 & 38.0 \\
\hspace{0.8em}+TTRL & 39.2 & $\underline{30.6}$ & $\underline{50.9}$ & 40.2 \\
\hspace{0.8em}+OPSD-TTT & $\underline{44.7}$ & 30.3 & 50.8 & $\underline{41.9}$ \\
\rowcolor[HTML]{E4F0F9} \hspace{0.8em}+TTPO & \textbf{48.9} & \textbf{33.6} & \textbf{53.1} & \textbf{45.2} \\
\midrule
\multicolumn{5}{@l}{\textit{Qwen3-4B}} \\
\hspace{0.8em}Base & 65.8 & 42.4 & 64.0 & 57.4 \\
\hspace{0.8em}+TTRL & 66.4 & 43.2 & $\underline{66.7}$ & 58.8 \\
\hspace{0.8em}+OPSD-TTT & $\underline{67.8}$ & $\underline{43.4}$ & \textbf{66.9} & $\underline{59.4}$ \\
\rowcolor[HTML]{E4F0F9} \hspace{0.8em}+TTPO & \textbf{70.8} & \textbf{45.7} & \textbf{66.9} & \textbf{61.1} \\
\midrule
\multicolumn{5}{@l}{\textit{Qwen3-8B}} \\
\hspace{0.8em}Base & 67.5 & 45.5 & 69.2 & 60.7 \\
\hspace{0.8em}+TTRL & 70.8 & $\underline{48.0}$ & 70.1 & 63.0 \\
\hspace{0.8em}+OPSD-TTT & $\underline{71.7}$ & 47.2 & $\underline{72.2}$ & $\underline{63.7}$ \\
\rowcolor[HTML]{E4F0F9} \hspace{0.8em}+TTPO & \textbf{73.9} & \textbf{48.5} & \textbf{73.6} & \textbf{65.3} \\
\bottomrule
\end{tabular}
Labeled training data.
Table 1 compares methods trained on OpenThoughts, where OPSD and GRPO use ground-truth labels while TTPO relies solely on majority-vote pseudo-labels. TTPO exceeds the label-dependent OPSD across all three model scales (40.1 vs. 39.7 on 1.7B, 58.6 vs. 58.4 on 4B, 62.6 vs. 61.7 on 8B in average), despite without ground-truth supervision. This demonstrates that majority-vote pseudo-labels, when combined with our asymmetric objective, can substitute for ground-truth annotations without sacrificing performance. The improvements are consistent across scales, and notably, TTPO on Qwen3-4B (58.6 avg) already matches the Qwen3-8B base model (58.6 avg), suggesting that our training recipe effectively amplifies a smaller model's reasoning capacity to the level of a $2\times$ larger untrained model.
Label-free test-time training.
Table 2 evaluates the purely label-free TTT setting where models train directly on the test problems. TTPO consistently and substantially outperforms both TTRL and OPSD-TTT across all model scales. On Qwen3-1.7B, TTPO achieves 45.2 average — +3.3 over OPSD-TTT and +5.4 over TTRL, representing a 7.2-point absolute gain over the base model. The gap over TTRL demonstrates the value of dense distributional guidance: while TTRL provides only binary reward signals, TTPO additionally leverages the answer-conditioned teacher to transfer token-level knowledge on correct trajectories. The gap over OPSD-TTT — which uses deterministic (greedy decoding with thinking mode enabled) answers as privileged information rather than majority-vote pseudo-labels — shows that even with a reasonable self-distillation baseline, our asymmetric design extracts substantially more signal by additionally exploiting negative samples through selective RL penalties. Cross-scale comparison further highlights the efficiency: TTPO on Qwen3-4B (61.1 avg) already surpasses Qwen3-8B base (60.7 avg), demonstrating that label-free test-time training with TTPO can close the gap between model sizes.
Token-level selection.
\begin{tabular}{l|ccc}
\toprule
\textbf{Method} & \textbf{AIME26} & \textbf{HMMT26} & \textbf{BRUMO25} \\
\midrule
\rowcolor[HTML]{E4F0F9} TTPO & \textbf{46.5} & \textbf{31.6} & \textbf{54.7} \\
w/o pos. weight & 43.3 & 30.6 & 52.8 \\
w/o neg. mask & 45.4 & 29.5 & 50.0 \\
\bottomrule
\end{tabular}
Table 3 isolates the contribution of each token-level selection mechanism. Both components improve over uniform updates, but their effects are complementary and target different failure modes: removing positive-sample weighting (w/o pos. weight) uniformly distills all tokens including low-value (low-entropy, low-divergence) positions where the student has already converged, diluting the gradient signal from genuinely informative tokens; removing negative-sample masking (w/o neg. mask) penalizes all tokens indiscriminately — not only causing collateral damage to locally correct reasoning steps that cannot be offset without positive-advantage updates, but also allowing anomalous (low-probability, low-entropy) tokens to dominate gradient updates, injecting substantial noise into optimization. The full method benefits from both — focusing distillation where it matters and penalizing only where errors originate.
Update strategy.

Figure 3 compares update strategy combinations. The full TTPO (pos=FKL, neg=GRPO, 48.9) substantially outperforms all alternatives. FKL is well-suited to positive samples because their answers match the pseudo-label by definition: even when the label is wrong, the teacher is conditioned on the same answer the student produced, reducing to thinking-to-non-thinking distillation (45.7) that safely transfers careful reasoning. Hence positive-only FKL (46.7) outperforms all-FKL (46.3) and negative-only FKL (43.9), which forces the teacher to steer unmatched answers and injects corrupted signals. GRPO is better suited to negative samples: although its credit assignment is coarser, on hard TTT data most negatives are correctly identified (answer $\neq$ pseudo-label $\land$ $\neq$ ground truth), so a label-free penalty is strictly safer than corrupted distillation. GRPO on positives (37.2) lacks this robustness—it directly reinforces trajectories, and wrong pseudo-labels reverse the update with no mitigation. The reversed assignment (pos=GRPO, neg=FKL, 37.2) therefore performs worst, combining brittle reinforcement on positives with corrupted distillation on negatives.
Privileged information.
\begin{tabular}{l|cc}
\toprule
\textbf{Privilege} & \textbf{TM-on Teacher} & \textbf{TM-off Teacher} \\
\midrule
None & 45.8 (36.1) & 41.7 (8.1) \\
Answer & \cellcolor[HTML]{E4F0F9}\textbf{46.5} (\textbf{39.8}) & 33.6 (6.7) \\
Trajectory & 41.1 (8.9) & 40.8 (10.6) \\
\bottomrule
\end{tabular}
Table 4 ablates privileged information under different teacher modes. With a thinking-mode teacher, the teacher–student distributional gap is already large, so a short answer suffices as a lightweight hint that steers the teacher without crowding out its reasoning. Even a wrong pseudo-label remains consistent with the student's answer in positive samples, and the update degenerates into thinking-to-non-thinking distillation—still a well-posed and beneficial signal (46.5 vs. 45.8). A full trajectory, by contrast, dominates the context and reduces the teacher to completing a given prefix rather than reasoning independently, degrading performance (41.1). With a non-thinking teacher, the gap is inherently small: a short answer barely shifts the distribution (33.6), while a full trajectory supplies needed context (40.8) but leaves both sides under weak reasoning, making training highly sensitive to pseudo-label noise. The thinking-teacher + answer setting thus offers the best trade-off between guidance and robustness.
Generalization beyond the target task.

To verify that TTPO acquires generalizable reasoning improvements rather than overfitting to specific problems, we train on each benchmark separately and evaluate on all three (Figure 4). Models trained on any single benchmark consistently improve on the other two as well. This cross-benchmark transfer confirms that TTPO strengthens underlying reasoning capabilities rather than memorizing problem-specific patterns.
Upper bound with labeled supervision.

We replace majority-vote pseudo-labels with ground-truth answers to probe the performance ceiling (Figure 5). Surprisingly, TTPO with pseudo-labels outperforms both TTPO w/ GT and OPSD (Leakage). First, perfectly correct labels are hard to match on difficult problems, yielding few or zero positives per instance; this starves the FKL branch and leaves GRPO with near-zero advantages that barely penalize negatives (Figure 8). Majority-vote labels, being easier to match, keep a healthy positive–negative split and both branches active. Second, AIME26 ground-truth answers are short numbers that barely shift the thinking teacher, unlike the richer OpenThoughts trajectories—reliable, yet too brief to guide strongly. The entropy plot (right) corroborates this: TTPO with pseudo-labels sustains higher entropy, as majority voting and distillation jointly promote exploration that compensates for—and ultimately surpasses—the theoretical benefit of perfect labels.
Sustainable self-evolution.

Since majority voting generates the training signal, the base model's Maj@12 sets the initial ceiling on pseudo-label quality. We track Avg@12 and Maj@12 throughout training to examine whether TTPO can break this ceiling (Figure 6). As training progresses, Avg@12 rises steadily to the base Maj@12, confirming that the collective knowledge in majority voting is distilled into single-sample performance. More importantly, Maj@12 does not stagnate but rises in tandem: as the model improves, higher-quality rollouts yield more accurate pseudo-labels, which in turn raise the training ceiling for later steps. This self-evolving cycle enables TTPO to improve beyond its initial supervision and ultimately outperform training with ground-truth that exceed the model's current capacity (Figure 5, left).
Section Summary: The researchers introduced TTPO, a new approach that adapts a technique called OPSD for test-time training without any labeled data by pairing it with reinforcement learning under an uneven objective. Distillation supplies detailed guidance on helpful examples at the individual token level, while reinforcement learning adds a penalty for unhelpful ones without needing labels. With careful token-level filtering on both sides, the method performs as well as fully supervised approaches, beats earlier label-free ones, and shows an ability to improve itself while generalizing across tasks.
We introduced TTPO, which brings OPSD into label-free test-time training by combining it with RL under an asymmetric objective. Distillation provides dense token-level guidance on positives, while RL supplies a robust, label-free penalty on negatives. With token-level selection on both branches, TTPO matches ground-truth-supervised methods, substantially outperforms existing label-free approaches, and exhibits self-evolution with strong cross-task generalization.
Section Summary: The appendix supplies the full experimental setup, including training hyperparameters, GPU resources, optimizer choices, and generation settings for methods such as GRPO, OPSD, and TTPO, along with the exact student and teacher prompt templates that guide step-by-step reasoning. It also presents a worked geometry example that illustrates how token weighting highlights uncertain but informative reasoning steps while token masking removes low-probability or inconsistent outputs. These details allow readers to reproduce the reported training and evaluation procedures exactly.
We provide complete training and evaluation configurations in Table 5 and Table 6. All experiments use the AdamW ([37]) optimizer with bfloat16 precision and Flash Attention 2. TTPO experiments use 4 $\times$ H20 GPUs; all other methods use 8 $\times$ H20 GPUs. We adopt full-vocabulary logit distillation for all distillation-based methods (OPSD, OPSD-TTT, and TTPO). Following [9], we use a thinking-mode-off student / thinking-mode-on teacher configuration, and the teacher is fixed to base model weights (LoRA adapters disabled) throughout training. For TTPO and OPSD-TTT, we set the maximum sampling length to 16, 000 tokens to reduce answer extraction failures caused by truncation during majority voting, while the gradient update still only applies to the first 1, 024 completion tokens.
\begin{tabular}{lccc}
\toprule
\textbf{Parameter} & \textbf{GRPO / TTRL} & \textbf{OPSD / OPSD-TTT} & \textbf{TTPO} \\
\midrule
\multicolumn{4}{l}{\textit{General}} \\
Learning Rate & $5 \times 10^{-6}$ & $5 \times 10^{-6}$ & $5 \times 10^{-6}$ \\
Max Gradient Norm & -- & 0.1 & 0.1 \\
Effective Batch Size & 32 & 32 & 32 \\
Training Steps & 500 & 100 & 100 \\
\midrule
\multicolumn{4}{l}{\textit{LoRA Configuration}} \\
LoRA Rank ($r$) & 64 & 64 & 64 \\
LoRA Alpha ($\alpha$) & 128 & 128 & 128 \\
Target Modules & \multicolumn{3}{c}{q\_proj, k\_proj, v\_proj, o\_proj, gate\_proj, up\_proj, down\_proj} \\
\midrule
\multicolumn{4}{l}{\textit{Generation}} \\
Number of Train Rollouts & 8 & 1 & 8 \\
Max Gradient Tokens & 16, 000 & 1, 024 & 1, 024 \\
Sampling Temperature & 1.2 & 1.1 & 1.1 \\
Top- $p$ & -- & 0.95 & 0.95 \\
Top- $k$ & -- & 20 & 20 \\
KL Coefficient ($\beta$) & 0.0 & -- & -- \\
JSD Token Clip ($\tau$) & -- & 0.05 (1.7B, 4B) / 0.06 (8B) & 0.05 (1.7B, 4B) / 0.06 (8B) \\
\bottomrule
\end{tabular}
: Table 6: Evaluation configuration.
| Parameter | Value |
|---|---|
| Thinking Mode | Enabled |
| Samples per Prompt | 12 |
| Temperature | 1.0 |
| Top- $p$ | 0.95 |
| Max New Tokens | 38, 912 |
| Metric | Avg@12 |
We list the prompt templates used for both the student and teacher. All prompts are wrapped with the model's chat template via apply_chat_template. When privilege_info = none (the no-privilege ablation in Table 4), the teacher prompt is identical to the student prompt but with thinking mode enabled.
Problem: problem
Please reason step by step, and put your final answer within <code><span>\</span>boxed<span>{</span><span>}</span></code>.
Problem: problem
Here is a reference solution to this problem:
=== Reference Solution Begin ===
{pseudo_label}
=== Reference Solution End ===
After reading the reference solution above, make sure you truly understand the reasoning behind each step — do not copy or paraphrase it. Now, using your own words and independent reasoning, derive the same final answer to the problem above. Think step by step, explore different approaches, and don't be afraid to backtrack or reconsider if something doesn't work out:
Please reason step by step, and put your final answer within </span>boxed.
We visualize how our token weighting (§ 3.3) and token masking (§ 3.4) operate on a concrete example. Excerpts are drawn from a positive sample and a negative sample generated for the same geometry problem.[^1] The positive sample reaches the correct answer $7$; the negative arrives at $\sqrt{397}$. Recall that token weighting down-weights low-entropy, low-divergence positions where the student has converged, while token masking suppresses low-probability, low-entropy positions representing anomalous model outputs.
[^1]: Problem: Given square $ABCD$ with $L$ on $CD$, $K$ on extension of $DA$ beyond $A$, $\angle KBL=90^\circ$, $KD=19$, $CL=6$. Find $LD$. Ground truth: $7$.

The contrast is stark: coordinate values (" $(0, a)$ ", " $(0, 0)$ ", " $x = 0$ ") receive near-zero weight—these are deterministic once the setup is chosen, and both student and teacher assign near-unit probability to each digit. High weight concentrates on geometric insights that determine the solution strategy: "the extension beyond $A$ is the line... going downwards" (identifying the geometric locus) and "So $K$ is at $(0, y)$, for some $y < 0$ " (drawing the conclusion). These are positions where the student is uncertain which geometric fact to invoke or the teacher favors a different continuation, making them the sole source of learning signal. Token weighting thus focuses distillation on where to reason and what to conclude, not on reproducing mechanical substitutions the model already handles reliably.

The kept tokens are precisely the positions worth penalizing: local errors ("which is vertical"— $CD$ is actually horizontal under the model's own coordinates), context-inconsistent expressions ("we move... units from $C$ along $CD$ "—applying a vertical displacement to a horizontal segment), and the resulting anomalous conclusion ("So, $L=$ "—committing to coordinates that place $L$ off the intended side). Masked-out tokens, by contrast, are locally correct arithmetic (" $(s, s)$ ", " $= 6$ ") and formatting that would appear identically in a correct solution; penalizing them would damage valid computation skills without addressing the actual reasoning flaw. Token masking thus restricts the penalty gradient to the confident errors that cause failure—wrong geometric claims and their immediate consequences—while leaving shared, reusable sub-skills intact.
The two mechanisms implement a dual philosophy: token weighting asks "where does the model still need to learn?" and suppresses already-converged positions in positive samples; token masking asks "where is the model confidently wrong?" and suppresses locally-correct or uncertain positions in negative samples. Both avoid wasting gradient on low-signal tokens—from opposite directions—yielding more efficient and stable training.

Figure 7 compares training dynamics of Qwen3-1.7B TTT on AIME 2026 across methods. The most striking observation is that TTPO w/ GT exhibits dramatically weaker training signal than all other methods: its loss barely decreases and frequently stagnates near zero. This directly validates our theoretical (– — on hard AIME problems where $|\mathcal{P}_{\text{GT}}| \approx 0$, GT routing starves both branches simultaneously. In contrast, TTPO with majority-vote pseudo-labels maintains a steady and substantial loss decrease throughout training, confirming that vote-based routing keeps both branches active. OPSD (Leakage) and OPSD-TTT both show consistent loss reduction; notably, TTPO achieves comparable or stronger training dynamics despite operating in a fully label-free setting.
\begin{tabular}{p{2.4cm}|cccccc}
\toprule
\textbf{Method} & \textbf{AIME25} & \textbf{HMMT25} & \textbf{AIME26} & \textbf{HMMT26} & \textbf{BRUMO25} & \textbf{Average} \\
\midrule
\multicolumn{7}{@l}{\textit{Qwen3-1.7B}} \\
\hspace{0.8em}Base & 9.2 & 5.6 & 8.8 & 6.1 & 17.8 & 9.5 \\
\hspace{0.8em}+OPSD$^\dagger$ & $\underline{16.9}$ & $\underline{9.2}$ & $\underline{19.4}$ & $\underline{11.9}$ & $\underline{25.6}$ & $\underline{16.6}$ \\
\rowcolor[HTML]{E4F0F9} \hspace{0.8em}+TTPO & \textbf{39.2} & \textbf{20.6} & \textbf{39.8} & \textbf{26.3} & \textbf{47.5} & \textbf{34.7} \\
\midrule
\multicolumn{7}{@l}{\textit{Qwen3-4B}} \\
\hspace{0.8em}Base & 22.2 & 12.5 & 19.4 & 17.2 & 28.3 & 19.9 \\
\hspace{0.8em}+OPSD$^\dagger$ & $\underline{26.7}$ & $\underline{18.9}$ & $\underline{24.4}$ & $\underline{22.5}$ & $\underline{36.1}$ & $\underline{25.7}$ \\
\rowcolor[HTML]{E4F0F9} \hspace{0.8em}+TTPO & \textbf{57.2} & \textbf{36.7} & \textbf{61.4} & \textbf{36.4} & \textbf{60.8} & \textbf{50.5} \\
\midrule
\multicolumn{7}{@l}{\textit{Qwen3-8B}} \\
\hspace{0.8em}Base & 20.6 & 11.4 & 21.1 & 18.7 & 29.7 & 20.3 \\
\hspace{0.8em}+OPSD$^\dagger$ & $\underline{25.0}$ & $\underline{14.2}$ & $\underline{22.2}$ & $\underline{19.9}$ & $\underline{37.8}$ & $\underline{23.8}$ \\
\rowcolor[HTML]{E4F0F9} \hspace{0.8em}+TTPO & \textbf{67.8} & \textbf{42.5} & \textbf{65.0} & \textbf{41.2} & \textbf{67.2} & \textbf{56.7} \\
\bottomrule
\end{tabular}
Table 7 evaluates models with thinking mode disabled to assess whether training with a thinking-mode teacher transfers reasoning capabilities to non-thinking inference. TTPO achieves dramatically larger gains than OPSD across all scales: on average, TTPO improves over the base model by +25.2 (1.7B), +30.6 (4B), and +36.4 (8B) points, while OPSD improves by only +7.1, +5.8, and +3.5 points respectively. This indicates that TTPO far more effectively absorbs the thinking teacher's reasoning ability into the student's non-thinking distribution. We attribute this to the asymmetric objective: the GRPO branch on negative samples directly penalizes poor reasoning patterns in the student's own generation mode, while OPSD's pure distillation only passively aligns the student toward the teacher without actively suppressing failure modes.
RL weight $\lambda$.

\begin{tabular}{c|ccc}
\toprule
$\lambda$ & \textbf{AIME26} & \textbf{HMMT26} & \textbf{BRUMO25} \\
\midrule
0.01 & 41.4 & 28.8 & 51.1 \\
0.05 & 43.9 & 29.0 & 50.6 \\
\rowcolor[HTML]{E4F0F9} 0.10 & \textbf{46.5} & \textbf{31.6} & \textbf{54.7} \\
0.15 & 44.7 & 29.5 & 50.3 \\
0.20 & 41.7 & 26.3 & 51.6 \\
\bottomrule
\end{tabular}
As shown in Figure 8, the raw GRPO loss is roughly an order of magnitude larger than the OPSD forward-KL loss, while the positive sample fraction increases over training as the model produces more correct answers. Without scaling, the GRPO branch would dominate gradients and destabilize training. We therefore introduce a weight $\lambda$ on the GRPO loss to balance the two branches. Table 8 sweeps $\lambda \in {0.01, 0.05, 0.1, 0.15, 0.2}$: performance peaks at $\lambda{=}0.1$, which approximately equalizes the gradient magnitudes of the two branches. Both under-weighting ($\lambda{\leq}0.05$, insufficient negative penalty) and over-weighting ($\lambda{\geq}0.15$, excessive penalty dominating distillation) degrade results.
$K_{\text{train}}$ positive-negative fraction.
\begin{tabular}{l|ccc}
\toprule
\textbf{Fraction} & \textbf{AIME26} & \textbf{HMMT26} & \textbf{BRUMO25} \\
\midrule
Random & 45.8 & 30.3 & 50.9 \\
\rowcolor[HTML]{E4F0F9} Fixed (0.5) & \textbf{46.5} & \textbf{31.6} & \textbf{54.7} \\
Dynamic & 46.1 & 31.1 & 51.1 \\
\bottomrule
\end{tabular}
\begin{tabular}{l|ccc}
\toprule
\textbf{Strategy} & \textbf{AIME26} & \textbf{HMMT26} & \textbf{BRUMO25} \\
\midrule
Random & 45.0 & 31.1 & 50.7 \\
\rowcolor[HTML]{E4F0F9} Shortest & \textbf{46.5} & \textbf{31.6} & \textbf{54.7} \\
Longest & 45.6 & 30.8 & 51.1 \\
Top signal & 45.8 & 30.6 & 51.9 \\
\bottomrule
\end{tabular}
Table 9 ablates the positive-negative composition of the $K_{\text{train}}$ subset. A fixed 50/50 split outperforms both random sampling and a dynamic fraction. The dynamic strategy faces a fundamental dilemma: when the positive fraction in $K$ is high (i.e., pseudo-label is likely correct), proportionally reducing negative samples in $K_{\text{train}}$ cancels the amplified group-relative advantages that negative samples receive — the enlarged signal is immediately diluted by fewer recipients. Conversely, if the dynamic strategy inverts the ratio (more negatives when positives dominate), it sacrifices the reliable fine-grained FKL supervision available precisely when the pseudo-label is most trustworthy, replacing it with coarser GRPO penalties. Either direction has drawbacks; a fixed 50/50 split avoids both failure modes and guarantees stable gradient contributions from both branches at every step.
$K_{\text{train}}$ selection strategy.
Table 10 compares strategies for selecting which rollouts enter $K_{\text{train}}$. Selecting the shortest completions performs best. Since only the first 1, 024 tokens participate in the gradient update, shorter trajectories ensure that these tokens constitute a larger fraction of the total reasoning chain and are more likely to contain the critical steps that determine the final answer. For longer trajectories, the first 1, 024 tokens often cover only preliminary exploration, with the decisive reasoning occurring well beyond the gradient window — yielding little useful learning signal. The "Top signal" strategy selects positive samples with the highest teacher-student FKL divergence (intuitively, trajectories where the student deviates most from the teacher and thus has the most to learn) and negative samples with the highest log-probability (intuitively, confident errors that carry the strongest penalty signal). Despite this seemingly stronger per-sample signal, the strategy underperforms shortest selection — the intuition that larger divergence or higher confidence implies more useful gradients lacks theoretical grounding and appears unreliable in practice.
For problem $x$ with ground-truth $a^*$ and pseudo-label $\hat{a}$:
$ q_t^{(a)} = \pi_\theta(\cdot \mid [x; a], y_{<t}), \quad p_t = \pi_\theta(\cdot \mid x, y_{<t}), \quad \nabla_\theta \mathrm{KL}(q_t^{(a)} | p_t) = -\sum_{v} q_t^{(a)}(v), \nabla_\theta \log p_t(v). $
Positive samples ($y_k \in \mathcal{P}$, $a_k = \hat{a}$).
The trajectory agrees with teacher, so the FKL collapses to:
$ \mathrm{KL}!\left(q_t^{(\hat{a})} , \big|, p_t\right)\bigg|{a_k = \hat{a}} ;=; \underbrace{\mathrm{KL}(q_t | p_t)}{\text{thinking vs.\ non-thinking only}}.\tag{7} $
If $\hat{a} = a^*$ this recovers standard OPSD; if $\hat{a} \neq a^*$ it reduces to answer-agnostic distillation.
Negative samples ($y_k \in \mathcal{N}$, $a_k \neq \hat{a}$).
The disagreement introduces a non-negative conflict term:
$ \mathrm{KL}!\left(q_t^{(\hat{a})} , \big|, p_t\right)\bigg|{a_k \neq \hat{a}} ;=; \underbrace{\mathrm{KL}(q_t | p_t)}{\text{thinking vs.\ non-thinking}} ;+; \underbrace{\Delta_{\text{conflict}}(t)}_{\geq, 0},\tag{8} $
where $\Delta_{\text{conflict}}(t)$ captures the teacher's pressure to redirect reasoning from $a_k$ toward $\hat{a}$. This is beneficial when $\hat{a} = a^*$, but harmful when $\hat{a} \neq a^*$, particularly when $a_k = a^*$, as the gradient actively suppresses correct reasoning.
Method comparison.
, FKL on $\mathcal{P}$ is at worst benign and at best recovers standard OPSD; GRPO on $\mathcal{N}$ is label-agnostic. U-OPSD applies FKL to $\mathcal{N}$ instead, where $\Delta_{\text{conflict}}$ ( misdirects correct trajectories whenever $\hat{a} \neq a^*$, and requires reliable pseudo-labels since low consensus makes $\Delta_{\text{conflict}}$ harmful while unanimous consensus yields waste of rollouts ($|\mathcal{N}|=0$).
With binary reward $r_k = \mathbf{1}[a_k \in \text{majority}]$, $\bar{r} = |\mathcal{P}|/K$. The GRPO advantage for $k \in \mathcal{N}$:
$ A_k = -\sqrt{\frac{|\mathcal{P}|/K}{1 - |\mathcal{P}|/K}}, \quad k \in \mathcal{N}.\tag{9} $
GT routing
($\mathcal{P}{\text{GT}} = {k: a_k = a^*}$). On hard problems with small $|\mathcal{P}{\text{GT}}|$, both branches vanish:
$ \begin{aligned} \frac{|\mathcal{P}{\text{GT}}|}{K} \approx 0 \quad&\text{and}\quad \underbrace{\sum{k \in \mathcal{P}{\text{GT}}} \nabla\theta \mathrm{KL}(q_t | p_t)}{\text{FKL}} \approx \mathbf{0}, \ |A_k| = \sqrt{\frac{|\mathcal{P}{\text{GT}}|/K}{1 - |\mathcal{P}{\text{GT}}|/K}} \approx 0 \quad&\text{and}\quad \underbrace{A_k , \nabla\theta \log \pi_\theta(y_k \mid x)}_{\text{GRPO}} \approx \mathbf{0}. \end{aligned} $
Vote routing
($\mathcal{P}{\text{vote}} = {k: a_k = \hat{a}}$). The model always forms a non-empty consensus $|\mathcal{P}{\text{vote}}| > 0$, so both branches remain active:
$ \begin{aligned} \frac{|\mathcal{P}{\text{vote}}|}{K} > 0 \quad&\text{and}\quad \underbrace{\sum{k \in \mathcal{P}{\text{vote}}} \nabla\theta \mathrm{KL}(q_t | p_t)}{\text{FKL}} \neq \mathbf{0}, \ A_k = -\sqrt{\frac{|\mathcal{P}{\text{vote}}|/K}{1 - |\mathcal{P}{\text{vote}}|/K}} < 0 \quad&\text{and}\quad \underbrace{A_k , \nabla\theta \log \pi_\theta(y_k \mid x)}_{\text{GRPO}} \neq \mathbf{0}. \end{aligned} $
As the model improves, $\hat{a}$ converges toward $a^*$ (Figure 6).
Dependence on majority-vote quality.
TTPO relies on majority voting to generate pseudo-labels and classify positive/negative samples. When the sample budget $K$ is very small or the problem is so difficult that no rollout produces a correct answer, the voting signal degrades and both branches receive noisy supervision. Adaptive strategies that adjust the positive-negative ratio or fall back to pure RL under low-consensus conditions could mitigate this.
Domain scope.
Our experiments are restricted to mathematical reasoning with verifiable final answers. Extending TTPO to domains where correctness is harder to extract automatically — such as code generation (requiring execution-based verification) or open-ended reasoning (requiring learned reward models) — remains unexplored.
Dynamic training curriculum.
TTPO applies a fixed asymmetric objective throughout training. As the model improves and pseudo-label accuracy rises, the optimal balance between distillation and RL may shift. A curriculum that dynamically adjusts the RL weight or positive-negative fraction to training dynamics could further improve efficiency.
Section Summary: The references section compiles a list of recent academic papers and technical reports on advanced AI language models, including systems from teams like Kimi, DeepSeek, Qwen, GLM, and OpenAI. These works emphasize improvements in reasoning, efficiency, and capabilities through methods such as reinforcement learning, self-distillation, and test-time adaptation. The citations consist mostly of arXiv preprints dated 2024–2026, reflecting fast-paced developments in the field.
[1] Kimi Team, Tongtong Bai, Yifan Bai, Yiping Bao, Jianfeng Cai, Xinyuan Cai, Peizhou Cao, Yuxuan Cao, Ziwei Chai, Y Charles, et al. Kimi k3: Open frontier intelligence. arXiv preprint arXiv:2607.24653, 2026.
[2] Anyi Xu, Bangcai Lin, Bing Xue, Bingxuan Wang, Bingzheng Xu, Bochao Wu, Bowei Zhang, Chaofan Lin, Chen Dong, Chenchen Ling, et al. Deepseek-v4: Towards highly efficient million-token context intelligence. arXiv preprint arXiv:2606.19348, 2026a.
[3] Aohan Zeng, Xin Lv, Zhenyu Hou, Zhengxiao Du, Qinkai Zheng, Bin Chen, Da Yin, Chendi Ge, Chenghua Huang, Chengxing Xie, et al. Glm-5: from vibe coding to agentic engineering. arXiv preprint arXiv:2602.15763, 2026.
[4] Aaditya Singh, Adam Fry, Adam Perelman, Adam Tart, Adi Ganesh, Ahmed El-Kishky, Aidan McLaughlin, Aiden Low, AJ Ostrow, Akhila Ananthram, et al. Openai gpt-5 system card. arXiv preprint arXiv:2601.03267, 2025.
[5] Qwen Team. Qwen3. 5-omni technical report. arXiv preprint arXiv:2604.15804, 2026.
[6] Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.
[7] Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, et al. Dapo: An open-source llm reinforcement learning system at scale. Advances in Neural Information Processing Systems, 38:113222–113244, 2026.
[8] Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.
[9] Siyan Zhao, Zhihui Xie, Mengchen Liu, Jing Huang, Guan Pang, Feiyu Chen, and Aditya Grover. Self-distilled reasoner: On-policy self-distillation for large language models. arXiv preprint arXiv:2601.18734, 2026.
[10] Tianzhu Ye, Li Dong, Xun Wu, Shaohan Huang, and Furu Wei. On-policy context distillation for language models. arXiv preprint arXiv:2602.12275, 2026.
[11] Wenkai Yang, Weijie Liu, Ruobing Xie, Kai Yang, Saiyong Yang, and Yankai Lin. Learning beyond teacher: Generalized on-policy distillation with reward extrapolation. arXiv preprint arXiv:2602.12125, 2026b.
[12] Chenxu Yang, Chuanyu Qin, Qingyi Si, Minghui Chen, Naibin Gu, Dingyu Yao, Zheng Lin, Weiping Wang, Jiaqi Wang, and Nan Duan. Self-distilled rlvr. arXiv preprint arXiv:2604.03128, 2026a.
[13] Yifeng Liu, Shiyuan Zhang, Yifan Zhang, and Quanquan Gu. Self-distilled policy gradient. arXiv preprint arXiv:2606.04036, 2026b.
[14] Zhengxi Lu, Zhiyuan Yao, Zhuowen Han, Zi-Han Wang, Jinyang Wu, Qi Gu, Xunliang Cai, Weiming Lu, Jun Xiao, Yueting Zhuang, et al. Self-distilled agentic reinforcement learning. arXiv preprint arXiv:2605.15155, 2026a.
[15] Zhuowen Han, Jinwei Xiao, Zhengxi Lu, Renren Jin, Zhiyuan Yao, Yuxin Liu, Hongyan Hao, Yueqing Sun, Yu Yang, Qi Gu, et al. Distill where you fail: Recovering learning signals of negative rl-groups from adaptive teacher guidance. arXiv preprint arXiv:2608.00782, 2026.
[16] Gengsheng Li, Tianyu Yang, Junfeng Fang, Mingyang Song, Mao Zheng, Haiyun Guo, Dan Zhang, Jinqiao Wang, and Tat-Seng Chua. Unifying group-relative and self-distillation policy optimization via sample routing. arXiv preprint arXiv:2604.02288, 2026a.
[17] Yu Sun, Xiaolong Wang, Zhuang Liu, John Miller, Alexei Efros, and Moritz Hardt. Test-time training with self-supervision for generalization under distribution shifts. In International conference on machine learning, pp. 9229–9248. PMLR, 2020.
[18] Yuxin Zuo, Kaiyan Zhang, Li Sheng, Shang Qu, Ganqu Cui, Xuekai Zhu, Haozhan Li, Xinwei Long, Ermo Hua, Biqing Qi, et al. Ttrl: Test-time reinforcement learning. Advances in Neural Information Processing Systems, 38:131459–131483, 2026.
[19] Hongxiang Lin, Zhirui Kuai, Erpeng Xue, and Lei Wang. Detecting and mitigating the correct-answer extinction window in test-time reinforcement learning with majority voting. arXiv preprint arXiv:2605.19444, 2026.
[20] John Gkountouras, Josip Jukić, and Ivan Titov. Consensus as privileged context for label-free self-distillation. arXiv preprint arXiv:2607.13643, 2026.
[21] Yijiang Li, Bingyang Wang, Yijun Liang, Yunjie Tian, Di Fu, and Nuno Vasconcelos. On-policy self-distillation without any supervision. arXiv preprint arXiv:2608.06296, 2026b.
[22] Youngdong Kim, Junho Yim, Juseung Yun, and Junmo Kim. NLNL: Negative learning for noisy labels. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2019.
[23] Yong Du, Yuchen Yan, Fei Tang, Zhengxi Lu, Chang Zong, Weiming Lu, Shengpei Jiang, and Yongliang Shen. Test-time reinforcement learning for gui grounding via region consistency, 2025. URL https://arxiv.org/abs/2508.05615.
[24] Kunbin Xu, Xingzuo Li, Xuefeng Bai, and Kehai Chen. Hi-ttrl: Regulating consensus with hints for test-time reinforcement learning. arXiv preprint arXiv:2608.03545, 2026b.
[25] Dong Yan, Jian Liang, Yanbo Wang, Shuo Lu, Ran He, and Tieniu Tan. What if consensus lies? selective-complementary reinforcement learning at test time. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 28957–28970, 2026.
[26] Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos, Matthieu Geist, and Olivier Bachem. On-policy distillation of language models: Learning from self-generated mistakes, 2024. URL https://arxiv.org/abs/2306.13649.
[27] Yuxian Gu, Li Dong, Furu Wei, and Minlie Huang. Minillm: On-policy distillation of large language models, 2026. URL https://arxiv.org/abs/2306.08543.
[28] Yuqiao Wen, Zichao Li, Wenyu Du, and Lili Mou. f-divergence minimization for sequence-level knowledge distillation, 2023. URL https://arxiv.org/abs/2307.15190.
[29] Yinghui He, Simran Kaur, Adithya Bhaskar, Yongjin Yang, Jiarui Liu, Narutatsu Ri, Liam Fowl, Abhishek Panigrahi, Danqi Chen, and Sanjeev Arora. Self-distillation zero: Self-revision turns binary rewards into dense supervision, 2026. URL https://arxiv.org/abs/2604.12002.
[30] Zhengxi Lu, Zhiyuan Yao, Jinyang Wu, Chengcheng Han, Qi Gu, Xunliang Cai, Weiming Lu, Jun Xiao, Yueting Zhuang, and Yongliang Shen. Skill0: In-context agentic reinforcement learning for skill internalization. arXiv preprint arXiv:2604.02268, 2026b.
[31] Yuanda Xu, Hejian Sang, Zhengze Zhou, Ran He, Zhipeng Wang, and Alborz Geramifard. Tip: Token importance in on-policy distillation. arXiv preprint arXiv:2604.14084, 2026c.
[32] Jinwei Xiao, Zhuowen Han, Yueqing Sun, Zhengxi Lu, Yuxin Liu, Zhiyuan Yao, Wentao Chen, Qi Gu, and Xunliang Cai. Finding the evidence: Discovering decision-supporting tokens for on-policy reasoning distillation. arXiv preprint arXiv:2606.22830, 2026.
[33] Shiqi Liu, Zeyu He, Guojian Zhan, Letian Tao, Zhilong Zheng, Jiang Wu, Yinuo Wang, Yang Guan, Kehua Sheng, Bo Zhang, et al. Stapo: Stabilizing reinforcement learning for llms by silencing rare spurious tokens. arXiv preprint arXiv:2602.15620, 2026a.
[34] Yihong Wu, Liheng Ma, Lingfeng Xiao, Muzhi Li, Xinyu Wang, Yingxue Zhang, and Jian-Yun Nie. Rethinking groups in critic-free rlvr. arXiv preprint arXiv:2606.17250, 2026.
[35] An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
[36] Jasper Dekoninck, Nikola Jovanović, Tim Gehrunger, Kári Rögnvaldsson, Ivo Petrov, Chenhao Sun, and Martin Vechev. Beyond benchmarks: Matharena as an evaluation platform for mathematics with llms. 2026. URL https://arxiv.org/abs/2605.00674.
[37] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.