arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.17189cs.CLcs.LG
收藏

软教师强制

Soft Teacher Forcing

Google Deepmind(谷歌DeepMind)

Mohammad Fahes, Cordelia Schmid, Anurag Arnab

AI总结:

本文提出软教师强制(Soft-TF)算法,将教师强制嵌入与软 token 结合,在不增加额外参数等前提下,提升了 Gemma、Llama 等模型在 GSM8K 等数学推理数据集上的监督微调性能。

摘要:

到目前为止,软 token 已被用于在潜在推理方法中替代离散的思维链。这些方法通常需要多阶段训练,在某些情况下还需要辅助模块,但在<输入、思维链、输出>三元组上的表现仍不如监督微调(SFT)。在本文中,我们探究软 token 是否可用于改进 SFT 本身,而非作为潜在推理的途径。我们提出软教师强制(Soft-TF),这是一种简单的训练算法,通过随机凸组合将教师强制嵌入与软 token 相结合。软 token 是通过对真实序列进行单次并行前向传播计算得到的。Soft-TF 不增加参数、外部模型或课程设置,且保持推理过程不变。实验表明,Soft-TF 在 GSM8K、MATH、MathQA 和 AQuA 上的表现优于 SFT;在七款 Gemma、Llama 和 Mistral 模型上,GSM8K 的性能提升幅度为 2.1 至 4.1 个百分点。

英文摘要:

Soft tokens have so far been used to replace discrete chain-of-thought in latent reasoning methods. These approaches typically require multi-stage training and, in some cases, auxiliary modules, yet they still underperform supervised fine-tuning (SFT) on <input, chain-of-thought, output> triples. In this paper, we ask whether soft tokens can be used to improve SFT itself, instead of as an avenue for latent reasoning. We introduce Soft Teacher Forcing (Soft-TF), a simple training algorithm that combines teacher-forced embeddings with soft tokens through random convex combinations. The soft tokens are computed in a single parallel forward pass over the ground-truth sequence. Soft-TF adds no parameters, no external model and no curriculum, and leaves inference unchanged. Experiments show that Soft-TF improves over SFT on GSM8K, MATH, MathQA and AQuA, by +2.1 to +4.1 points on GSM8K across seven Gemma, Llama and Mistral models.

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

↑