潜在反馈是算力与数据的放大器
研究论文 · 2026/11/17
当高质量数据耗尽时,常见做法是对数据训练多个轮次,但每次重复的收益递减。潜在反馈(将每个token的顶层状态馈入下一个token的输入)是另一种利用计算资源的方式,但尚未与在更多轮次上花费相同计算量的普通Transformer进行对比测试。我们在模型大小、唯一数据和轮次构成的阶梯上进行测试,对两种模型在每个大小和唯一数据量下进行调优。潜在反馈让每个FLOP和每个token都更有价值,除非唯一数据相对于模型大小稀缺——而当今模型远未达到这一状态。我们发现潜在反馈起到放大器的作用:固定唯一数据时,它以更少计算达到Transformer的损失;固定轮次时,它以更少唯一数据达到该损失。此外,两种节省都随每参数唯一数据和重复次数的增加而增长,下游任务结果一致。为了超越我们的网格,我们为两个模型拟合了一个缩放定律,其中潜在反馈作为具有更多参数的Transformer进入;它预测两种节省都随唯一数据和重复次数持续增长。在60M到271M参数的模型上拟合,该定律对留出的778M大小的损失预测误差在0.3%以内,对两个模型之间的差距预测误差在0.05%以内。潜在反馈最多节省48%的计算量和47%的唯一数据。当数据而非计算是限制时,对于给定大小的模型,潜在反馈是FLOP的更好用途。
该研究首次系统比较了潜在反馈与普通Transformer在相同计算预算下的表现,揭示了潜在反馈作为计算和数据放大器的潜力,并提供了可预测的缩放定律,对数据受限的大模型训练具有重要指导意义。
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.