Latent Feedback Is a Compute and Data Amplifier
这篇论文提出了一种名为“潜在反馈”的技术,它能够提高Transformer模型在重复数据上的训练效率,从而在计算和数据上实现节省。
更新于 2026-11-29。作者:Benhao Huang、Chaitanya Dwivedi、Xuezhe Ma、Alexander Moreno、Hector Liu。
中文摘要
当高质量数据耗尽时,一种常见的做法是反复进行几个epoch的训练,但每次重复的价值都不及上一次。将每个标记的最高层状态反馈到下一个标记输入中的潜在反馈,是另一种利用计算资源的方法,然而它尚未与在同一计算量上多进行几个epoch的Transformer进行比较。我们在不同模型大小、独特数据和epoch组合上,对这两种模型都进行了微调。潜在反馈使得在独特数据相对模型大小不足时,每个FLOP和每个标记都更有价值,而今天的大多数模型远未达到这种状态。我们发现,潜在反馈充当了放大器的作用:在独特数据固定的情况下,它用更少的计算量达到Transformer的损失;在epoch固定的情况下,它用更少的独特数据达到该损失。此外,这两种节省都随着每参数的独特数据和重复次数的增长而增长,下游任务也达成一致。为了超出我们的网格范围,我们对两种模型都拟合了一个缩放规律,其中潜在反馈以参数更多的Transformer的形式进入;它预测这两种节省都会随着独特数据和重复次数的增长而继续增长。在60M到271M参数的模型上拟合,该规律预测了在保留778M参数大小的损失在0.3%以内,两个模型之间的差距在0.05%以内。最多,潜在反馈可以节省48%的计算量和47%的独特数据。当数据而非计算是限制因素时,潜在反馈是针对特定尺寸模型的FLOP的更好利用。
英文摘要
When high-quality data runs out, a common practice is to train on it for several epochs, but each repeat is worth less than the last. Latent feedback, which feeds each token's top-layer state into the next token's input, is another way to spend that compute, yet it has not been tested against a vanilla Transformer that spends the same compute on more epochs. We run this test across a ladder of model sizes, unique data and epochs, tuning both models at every size and amount of unique data. Latent feedback makes every FLOP and every token count for more except when unique data is scarce relative to model size, a regime that today's models are far from. We find that latent feedback serves as an amplifier: with unique data fixed, it reaches a Transformer's loss with less compute; with epochs fixed, it reaches that loss with less unique data. Furthermore, both savings grow with unique data per parameter and with repetition, and downstream tasks agree. To go beyond our grid, we fit one scaling law to both models, in which latent feedback enters as a Transformer with more parameters; it predicts that both savings keep growing with unique data and repetition. Fitted on models from 60M to 271M parameters, the law predicts the losses at a held-out 778M size to within 0.3% and the gap between the two models to within 0.05%. At most, latent feedback saves 48% of the compute and 47% of the unique data. When data, not compute, is the limit, latent feedback is the better use of a FLOP for a model of a given size.
解读
一句话总结
这篇论文提出了一种名为“潜在反馈”的技术,它能够提高Transformer模型在重复数据上的训练效率,从而在计算和数据上实现节省。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:在高质量数据稀缺的情况下,传统的方法是通过多次训练来提高模型性能,但随着训练轮数的增加,每次重复训练的效果逐渐降低。
- 现有方案不足:现有的方法如增加训练轮数,并不能有效地利用计算资源,且在数据稀缺的情况下效果不佳。
- 研究目标:探索潜在反馈技术,以更有效地利用计算资源,并提高模型在重复数据上的训练效率。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种名为“潜在反馈”的技术,通过将每个token的顶层状态反馈到下一个token的输入中,以提升模型在重复数据上的训练效果。
- 方法改进:通过调整模型大小、独特数据和训练轮数,对模型进行微调,以实现更好的性能。
- 优势:与传统的Transformer模型相比,潜在反馈在固定独特数据的情况下,能够以更少的计算资源达到相同的损失;在固定训练轮数的情况下,能够以更少的独特数据达到相同的损失。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在不同模型大小、独特数据和训练轮数下,对Transformer模型和潜在反馈模型进行了对比实验。
- 性能提升:实验结果表明,潜在反馈模型在计算和数据上都有显著的节省,特别是在独特数据稀缺的情况下。
- 对比结果:与传统的Transformer模型相比,潜在反馈模型在计算上最多节省了48%,在独特数据上最多节省了47%。
问题4:这个研究的实际应用价值是什么?
- 应用场景:该技术可以应用于大型语言模型的预训练过程中,尤其是在数据稀缺的情况下,以减少计算和存储成本。
- 实施建议:在实际部署时,可以根据具体的模型大小和独特数据量,调整潜在反馈的比例,以实现最佳的训练效果。
- 局限与展望:该研究主要针对Transformer模型,未来可以将其扩展到其他类型的模型。此外,还可以进一步优化潜在反馈技术,以进一步提高其性能。
来源
机器可读索引:llms.txt