TTPO:测试时策略优化

·

研究论文 · 2026/08/28

近期主流的后训练方法(如强化学习和同策略自蒸馏)在提升大语言模型数学推理能力上取得了显著进展,但它们依赖真实标签,无法用于测试时训练。用多数投票伪标签替代真实标签虽自然,但存在脆弱性:错误投票会误导教师模型和所有token。我们观察到这种失败模式是不对称的:与伪标签不一致的rollout通常都是错误的,无论投票本身是否正确。基于此,我们提出测试时策略优化(TTPO),一种非对称目标,通过OPSD蒸馏一致的rollout,并通过分组RL惩罚不一致的rollout。token级选择进一步细化两个分支:蒸馏降低已收敛位置的权重,RL仅惩罚高置信度的错误。即使在伪标签频繁出错的情况下,两种更新仍保持良好基础,且多数投票路由随着模型改进提供更紧密的自我监督。在无任何标签的情况下,TTPO在五个竞赛级基准上匹配标签监督的OPSD,将Qwen3-1.7B在TTT中从38.0%提升至45.2%,无思考时提升+25.2%至+36.4%,并展现出强大的跨任务泛化能力。

该文提出了一种无需标签的测试时训练方法,解决了现有方法依赖真实标签的局限,并通过非对称目标设计有效应对伪标签噪声,在多个基准上取得显著提升,具有理论创新和实际应用价值。

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.

阅读原文

参与讨论