arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.17262cs.CLcs.AIcs.LG
收藏

揭示大语言模型下游性能扩展:基于聚类的视角

Unveiling Downstream Performance Scaling of LLMs: A Clustering-Based Perspective

Bytedance Seed(字节跳动种子)

Chengyin Xu, Kaiyuan Chen, Xiao Li, Ke Shen, Chenggang Li

AI总结:

本文提出基于难度聚类的框架,用于预测大语言模型下游任务性能,通过构建稳定子集和理论支持的扩展定律,实现更准确的性能预测。

摘要:

大语言模型(LLMs)的训练规模和成本不断上升,需要准确预测下游任务性能以全面理解扩展特性。这一过程面临两大挑战:1)涌现现象,即在关键模型规模突然出现不可预测的能力;2)任务难度不均和性能扩展模式不一致,导致指标波动大。当前预测方法缺乏准确性和可靠性。我们提出了一种基于难度的聚类(COD)框架用于下游性能预测。COD框架通过任务的难度扩展特征进行聚类,从而构建出更稳定和可预测的任务子集,该子集在计算预算增加时表现出良好的扩展特性。我们采用性能扩展定律来预测集群的性能,并以理论支持为基础。可预测的子集性能作为中间预测器用于完整评估集。我们进一步推导出一个映射函数,以准确地将子集的性能扩展到完整集。应用于具有700亿参数的LLM,COD在八个关键LLM基准测试中实现了1.55%的平均预测误差,从而为LLM预训练期间的扩展特性和训练监控提供了可操作的见解。

英文摘要:

The escalating scale and cost of Large Language Models (LLMs) training necessitate accurate pre-training prediction of downstream task performance for comprehensive understanding of scaling properties. This is challenged by: 1) the emergence phenomenon, where unpredictable capabilities appearing suddenly at critical model scales; and 2) uneven task difficulty and inconsistent performance scaling patterns, leading to high metric variability. Current prediction methods lack accuracy and reliability. We propose a Clustering-On-Difficulty (COD) framework for downstream performance prediction. The COD framework clusters tasks by their difficulty scaling features, thereby constructing a more stable and predictable task subset that exhibits well-behaved scaling characteristics with the increase of compute budget. We adopt a performance scaling law to predict cluster-wise performance with theoretical support. Predictable subset performance acts as an intermediate predictor for the full evaluation set. We further derive a mapping function to accurately extrapolate the performance of the subset to the full set. Applied to an LLM with 70B parameters, COD achieved a 1.55\% average prediction error across eight key LLM benchmarks, thus providing actionable insights for scaling properties and training monitoring during LLM pre-training.

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

↑