2025-02-26 · 专家 · 机器学习 · 自然语言处理

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

该论文提出了一种基于难度聚类的下游性能预测框架(COD),通过聚类任务并过滤非涌现和非可扩展的集群,有效地预测了大型语言模型(LLM)的下游性能。

更新于 2025-02-26。作者:Chengyin Xu、Kaiyuan Chen、Xiao Li、Ke Shen、Chenggang Li。

中文摘要

计算机技术的快速发展极大地增加了训练大型语言模型(LLMs)的规模和成本。在模型训练之前准确预测下游任务性能对于高效分配资源至关重要,然而这由于两个主要限制而仍然具有挑战性:(1)“涌现现象”,即只有在经过大量训练之后,下游性能指标才变得有意义,这限制了使用较小模型进行预测的能力;(2)任务难度分布不均以及缺乏一致的缩放定律,导致性能指标存在较大变异性。现有的性能预测方法准确性有限且可靠性不足,从而阻碍了对潜在LLM能力的评估。为了应对这些挑战,我们提出了一个基于难度的聚类(COD)下游性能预测框架。COD首先通过基于难度特征的聚类构建一个可预测的支持子集,策略性地排除非涌现和非可扩展的簇。所选子集上的得分作为对整个评估集下游性能的有效中间预测指标。基于理论支持,我们推导出一个映射函数,将可预测子集的性能指标转换为整个评估集,从而确保对LLM下游性能的准确外推。所提出的方法已被应用于预测70B LLM的性能缩放,为训练资源分配提供了可操作的见解,并有助于监控训练过程。值得注意的是,COD通过利用小型模型的集成,在70B LLM上实现了显著的预测准确性,八个重要的LLM评估基准的平均绝对偏差为1.36%。

英文摘要

The rapid advancements in computing dramatically increase the scale and cost of training Large Language Models (LLMs). Accurately predicting downstream task performance prior to model training is crucial for efficient resource allocation, yet remains challenging due to two primary constraints: (1) the "emergence phenomenon", wherein downstream performance metrics become meaningful only after extensive training, which limits the ability to use smaller models for prediction; (2) Uneven task difficulty distributions and the absence of consistent scaling laws, resulting in substantial metric variability. Existing performance prediction methods suffer from limited accuracy and reliability, thereby impeding the assessment of potential LLM capabilities. To address these challenges, we propose a Clustering-On-Difficulty (COD) downstream performance prediction framework. COD first constructs a predictable support subset by clustering tasks based on difficulty features, strategically excluding non-emergent and non-scalable clusters. The scores on the selected subset serve as effective intermediate predictors of downstream performance on the full evaluation set. With theoretical support, we derive a mapping function that transforms performance metrics from the predictable subset to the full evaluation set, thereby ensuring accurate extrapolation of LLM downstream performance. The proposed method has been applied to predict performance scaling for a 70B LLM, providing actionable insights for training resource allocation and assisting in monitoring the training process. Notably, COD achieves remarkable predictive accuracy on the 70B LLM by leveraging an ensemble of small models, demonstrating an absolute mean deviation of 1.36% across eight important LLM evaluation benchmarks.

解读

一句话总结

该论文提出了一种基于难度聚类的下游性能预测框架(COD),通过聚类任务并过滤非涌现和非可扩展的集群,有效地预测了大型语言模型(LLM)的下游性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源