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

通过对数似然向量映射1000+语言模型

Mapping 1,000+ Language Models via the Log-Likelihood Vector

Kyoto University(京都大学);RIKEN(理化学研究所)

Momose Oyama, Hiroaki Yamagiwa, Yusuke Takase, Hidetoshi Shimodaira

AI总结:

提出基于对数似然向量的模型特征方法,其平方欧几里得距离近似KL散度,计算高效且易于实现,成功构建覆盖1000+语言模型的“模型地图”,为大规模模型分析提供新视角。

摘要:

为了大规模比较自回归语言模型,我们提出使用在预定义文本集上计算的对数似然向量作为模型特征。该方法具有坚实的理论基础:当将其视为模型坐标时,它们的平方欧几里得距离近似于文本生成概率的Kullback-Leibler散度。该方法高度可扩展,计算成本在模型数量和文本样本数量上均呈线性增长,且易于实现,因为所需特征源自交叉熵损失。将此方法应用于超过1000个语言模型,我们构建了“模型地图”,为大规模模型分析提供了新视角。

英文摘要:

To compare autoregressive language models at scale, we propose using log-likelihood vectors computed on a predefined text set as model features. This approach has a solid theoretical basis: when treated as model coordinates, their squared Euclidean distance approximates the Kullback-Leibler divergence of text-generation probabilities. Our method is highly scalable, with computational cost growing linearly in both the number of models and text samples, and is easy to implement as the required features are derived from cross-entropy loss. Applying this method to over 1,000 language models, we constructed a "model map," providing a new perspective on large-scale model analysis.

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

↑