arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.16377stat.MLcs.AIcs.ITcs.LGmath.IT
收藏

推理缩放定律的一个简单模型

A Simple Model of Inference Scaling Laws

École polytechnique fédérale de Lausanne (EPFL)(洛桑联邦理工学院)

Noam Levi

AI总结:

该研究提出基于记忆的统计假设构建推理缩放定律简单模型,定义呈幂律衰减的推理损失并关联提示成本,经简单生成模型实验验证预测与经验曲线吻合,为融合推理缩放与其他缩放定律奠基。

摘要:

神经缩放定律因能预测模型性能随参数、数据和计算量增长的变化而备受关注。在本研究中,我们提出一种基于记忆的简单统计假设(ansatz),用于研究推理场景下的缩放定律,具体而言是性能如何随多次推理尝试而提升。我们探究了覆盖率(即pass@k指标,衡量重复尝试下的成功概率),并为大语言模型(LLMs)在推理任务上的覆盖率的推理缩放行为所观测到的函数形式提供了动因解释。随后我们定义了一种“推理损失”,它会随着试验次数增加呈现幂律衰减,并将该结果与提示成本相关联。我们进一步通过在一个简单生成模型上开展实验来验证我们的构建,发现在受控设置下,我们的预测与经验覆盖率曲线一致。我们的简单框架为将推理缩放与其他已知缩放定律相结合奠定了基础。

英文摘要:

Neural scaling laws have garnered significant interest due to their ability to predict model performance as a function of increasing parameters, data, and compute. In this work, we propose a simple statistical ansatz based on memorization to study scaling laws in the context of inference, specifically how performance improves with multiple inference attempts. We explore the coverage, or pass@k metric, which measures the chance of success over repeated attempts and provide a motivation for the observed functional form of the inference scaling behavior of the coverage in large language models (LLMs) on reasoning tasks. We then define an "inference loss", which exhibits a power law decay as the number of trials increases, and connect this result with prompting costs. We further test our construction by conducting experiments on a simple generative model, and find that our predictions are in agreement with the empirical coverage curves in a controlled setting. Our simple framework sets the ground for incorporating inference scaling with other known scaling laws.

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

↑