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

LLM PTSAD Other LLM
为了比较大规模的自回归语言模型,我们建议使用在预定义文本集上计算的对数似然向量作为模型特征。这种方法具有坚实的理论基础:当被视为模型坐标时,它们的平方欧几里得距离近似于文本生成概率的Kullback-Leibler散度。我们的方法具有高度的可扩展性,计算成本随模型数量和文本样本数量线性增长,并且易于实现,因为所需的特征是从交叉熵损失中得出的。将此方法应用于超过1,000个语言模型,我们构建了一个“模型地图”,为大规模模型分析提供了新的视角。
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.
许愿