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

Momose Oyama, Hiroaki Yamagiwa, Yusuke Takase, Hidetoshi Shimodaira
2/22/2025
cs.CL

No official code found. Best implementation: shimo-lab/modelmap (20 stars, last commit 2026-04-22).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

shimo-lab/modelmapCommunity71%

Embedding language models in probability space via log-likelihood vectors

203TeX, ShellMay 15, 20256 months ago
acl2025embeddingsemnlp2025information-geometrylanguage-model+3 more

Similar Papers

Cite this paper

@article{oyama2025mapping,
  title  = {Mapping 1,000+ Language Models via the Log-Likelihood Vector},
  author = {Momose Oyama and Hiroaki Yamagiwa and Yusuke Takase and Hidetoshi Shimodaira},
  year   = {2025},
  eprint = {2502.16173},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.16173v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.16173.svg)](https://codeofpaper.com/paper/2502.16173)

Discussion