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

潜在反馈是一种计算与数据放大器

Latent Feedback Is a Compute and Data Amplifier

Institute of Foundation Models(基础模型研究所);USC(南加州大学);CMU(卡内基梅隆大学)

Benhao Huang, Chaitanya Dwivedi, Xuezhe Ma, Alexander Moreno, Hector Liu

AI总结:

该研究提出潜在反馈方法,经多规模模型测试及缩放定律验证,其可节省最多48%计算与47%数据,是数据受限场景下FLOP的更优利用方式。

摘要:

当高质量数据耗尽时,常见做法是用其训练多个epoch,但每次重复的价值逐次降低。潜在反馈(将每个token的顶层状态输入下一个token)是另一种计算利用方式,但其尚未与将相同计算用于更多epoch的普通Transformer进行对比测试。我们在一系列模型规模、不同数据量和epoch数的范围内开展该测试,对每种规模和不同数据量的模型均进行调优。潜在反馈可提升每FLOP和每个token的效用,仅在不同数据量相对模型规模稀缺时例外,而当前模型远未处于该 regime。我们发现潜在反馈起到放大器作用:在固定不同数据量时,它能以更少计算达到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.

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

↑