English

PhyloLM : Inferring the Phylogeny of Large Language Models and Predicting their Performances in Benchmarks

Computation and Language 2025-12-09 v5 Machine Learning Populations and Evolution

Abstract

This paper introduces PhyloLM, a method adapting phylogenetic algorithms to Large Language Models (LLMs) to explore whether and how they relate to each other and to predict their performance characteristics. Our method calculates a phylogenetic distance metric based on the similarity of LLMs' output. The resulting metric is then used to construct dendrograms, which satisfactorily capture known relationships across a set of 111 open-source and 45 closed models. Furthermore, our phylogenetic distance predicts performance in standard benchmarks, thus demonstrating its functional validity and paving the way for a time and cost-effective estimation of LLM capabilities. To sum up, by translating population genetic concepts to machine learning, we propose and validate a tool to evaluate LLM development, relationships and capabilities, even in the absence of transparent training information.

Keywords

Cite

@article{arxiv.2404.04671,
  title  = {PhyloLM : Inferring the Phylogeny of Large Language Models and Predicting their Performances in Benchmarks},
  author = {Nicolas Yax and Pierre-Yves Oudeyer and Stefano Palminteri},
  journal= {arXiv preprint arXiv:2404.04671},
  year   = {2025}
}

Comments

The project code is available at https://github.com/Nicolas-Yax/PhyloLM . Published as https://iclr.cc/virtual/2025/poster/28195 at ICLR 2025. A code demo is available at https://colab.research.google.com/drive/1agNE52eUevgdJ3KL3ytv5Y9JBbfJRYqd