arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.10061cs.LGcs.AIcs.CL
收藏

计算最优技能缩放:知识与推理

Compute Optimal Scaling of Skills: Knowledge vs Reasoning

University of Wisconsin(威斯康星大学);GenAI at Meta(Meta 生成式人工智能)

Nicholas Roberts, Niladri Chatterji, Sharan Narang, Mike Lewis, Dieuwke Hupkes

AI总结:

该研究发现大语言模型的计算最优缩放具有技能依赖性,知识类与推理类技能缩放行为存在本质差异,且验证集的技能构成可能导致计算最优参数量出现近50%的偏差。

摘要:

缩放定律是大语言模型(LLM)开发流程的关键组成部分,最知名的作用是预测训练决策,例如在参数量与数据集规模之间进行“计算最优”权衡,此外近来还被用于越来越多其他关键决策场景。在本研究中,我们探讨计算最优缩放行为是否会因技能类型不同而存在差异。我们具体考察了基于知识的技能与基于推理的技能,比如基于知识的问答(QA)和代码生成,并且给出了肯定的答案:缩放定律具有技能依赖性。接下来,为了弄清技能依赖的缩放特性是否是预训练数据混合配比的人为产物,我们对不同数据混合配比开展了广泛的消融实验,结果发现,即便校正了数据混合配比的差异,知识类任务与代码类任务在缩放行为上仍表现出根本性差异。最后我们分析了本研究发现与使用验证集的标准计算最优缩放之间的关联,发现设定不当的验证集会根据其技能构成,使计算最优参数量出现近50%的偏差。

英文摘要:

Scaling laws are a critical component of the LLM development pipeline, most famously as a way to forecast training decisions such as 'compute-optimally' trading-off parameter count and dataset size, alongside a more recent growing list of other crucial decisions. In this work, we ask whether compute-optimal scaling behaviour can be skill-dependent. In particular, we examine knowledge and reasoning-based skills such as knowledge-based QA and code generation, and we answer this question in the affirmative: scaling laws are skill-dependent. Next, to understand whether skill-dependent scaling is an artefact of the pretraining datamix, we conduct an extensive ablation of different datamixes and find that, also when correcting for datamix differences, knowledge and code exhibit fundamental differences in scaling behaviour. We conclude with an analysis of how our findings relate to standard compute-optimal scaling using a validation set, and find that a misspecified validation set can impact compute-optimal parameter count by nearly 50%, depending on its skill composition.

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

↑