arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.16427cs.LG
收藏

重采样答案:在递归推理中如何分配测试时计算资源

Resample the Answer: Where to Spend Test-Time Compute in Recursive Reasoning

Concordia University(康考迪亚大学);Mila – Québec AI Institute(米拉-魁北克人工智能研究所)

Maxime Illouz

AI总结:

该研究针对递归推理模型TRM的失败问题,提出门控答案重采样(GAR)方法,仅重启停止头拒绝的谜题,大幅提升了TRM在极端数独和铅笔谜题基准上的准确率,且计算效率优于需大量计算的PTRM。

摘要:

Tiny递归模型(TRM)等递归推理模型会迭代优化两个隐状态:被解码为输出的答案状态y,以及从不被解码的推理状态z。它们的许多失败可归因于“不良盆地”,即隐空间中会让递归陷入错误答案的区域。近期的测试时方法会对y、z或两者进行扰动以修复这些失败,但这种选择对性能、测试时计算效率和缩放特性的影响仍不明确。通过在TRM上开展受控实验,我们发现失败轨迹的问题存在于其答案状态中。在相同计算量、深度和宽度下,重采样y比我们测试的任何z扰动方法能修复更多失败,且随着测试时计算预算增加,性能差距会扩大。我们的方法是门控答案重采样(GAR),它将这种答案状态重采样与模型自身的停止头结合,仅重启停止头拒绝的谜题。在每个谜题最多64次重启、无需训练或超参数搜索的情况下,GAR使TRM在极端数独(Sudoku-Extreme)上的准确率从85.9%提升至99.4%,在铅笔谜题基准(Pencil Puzzle Bench)验证集上从68.8%提升至85.6%。在相同检查点下,即使概率TRM(PTRM)每次步骤都扰动z且使用42至197倍的计算量,GAR的性能仍优于PTRM。

英文摘要:

Recursive reasoning models such as the Tiny Recursive Model (TRM) iteratively refine two latent states: an answer state y, decoded into the output, and a reasoning state z, which is never decoded. Many of their failures have been attributed to bad basins, regions of latent space that trap the recursion on wrong answers. Recent test-time approaches perturb y, z or both to recover these failures, but the impact of this choice on performance, test-time compute efficiency and scaling properties remains unclear. Through controlled experiments on TRM, we find that a failed trajectory carries its failure in its answer state. At equal compute, whether retries continue a failed trajectory (depth scaling) or draw multiple trajectories from the initial states (width scaling), resampling y recovers more failures than any perturbation of z we tested, and the performance gap widens as the test-time compute budget grows. Our approach, Gated Answer Resampling (GAR), pairs this resampling of the answer state with the model's own halting head and restarts only the puzzles that the head rejects. With at most 64 restarts per puzzle and no training or hyperparameter search, GAR takes TRM from 85.9% to 99.4% on Sudoku-Extreme and from 68.8% to 85.6% on Pencil Puzzle Bench validation. On the same checkpoints, GAR also outperforms Probabilistic TRM (PTRM), which perturbs z at each step, even when PTRM uses 42 to 197 times as much compute. Our code is available at https://github.com/MaximeILL/GAR.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑