arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.04663cs.LGcs.AI
收藏

最优深度:在循环Transformer中学习探索性动态

Best-of-Depth: Learning Exploratory Dynamics in Looped Transformers

The University of Tokyo(东京大学)

Shota Takashiro, Takeshi Kojima, Masanori Koyama, Kohei Hayashi, Yusuke Iwasawa

AI总结:

提出Best-of-Depth(BoD)方法,通过最小化各深度预测损失训练循环Transformer的轨迹为候选集,在N-Queens补全、图着色及代码生成任务上提升了解覆盖度与生成成功率,支持循环计算的解发现训练。

摘要:

循环Transformer通过重复的隐状态更新扩展了推理时的计算,但最终深度训练并未直接鼓励有用的中间替代方案。我们提出Best-of-Depth(BoD),该方法通过最小化各深度的预测损失,将循环轨迹训练为候选集。无需架构更改或深度特定标签,即可在不同深度匹配不同的有效目标。精确匹配分析将该目标与解覆盖度关联。在N-Queens补全和图着色任务上,BoD相比最终深度和中间监督目标提升了覆盖度:N-Queens覆盖度达91.03%,而最终深度训练仅为45.75%。进一步实验显示,BoD可在训练深度之外发现解,并恢复熟悉输入中教师池未提供的解。使用BoD微调预训练循环语言模型,在固定深度分别生成程序时,其合并代码生成成功率高于最终深度训练。这些结果支持训练循环计算以沿其轨迹进行解发现。

英文摘要:

Looped Transformers extend inference-time computation through repeated latent-state updates, but final-depth training does not directly encourage useful intermediate alternatives. We introduce Best-of-Depth (BoD), which trains a recurrent trajectory as a candidate set by minimizing prediction loss across depths. Different valid targets can be matched at different depths without architectural changes or depth-specific labels. An exact-match analysis connects this objective to solution coverage. On N-Queens completion and graph coloring, BoD improves coverage over final-depth and intermediate-supervision objectives. N-Queens coverage reaches 91.03%, versus 45.75% for final-depth training. Further experiments show discovery beyond the training depth and recovery of solutions withheld from teacher pools on familiar inputs. Fine-tuning a pretrained looped language model with BoD yields higher pooled code-generation success than final-depth training when programs are generated separately at evaluated fixed depths. These results support training recurrent computation for solution discovery along its trajectory.

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

↑