atlas

Research map / Large language models / Agents, code and math

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

ICLR 2025 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces PhyloLM, which adapts Nei genetic distance and neighbor-joining to LLM next-token outputs on prompt "genes", reconstructing model family trees and predicting leaderboard benchmark scores from the resulting distances.

Problem

Understanding how LLMs are related (fine-tuning lineage, shared training data) and predicting their benchmark capabilities is hard when training details are opaque and many models are never benchmarked.

Approach

Treats LLMs as populations, prompt contexts as genes, and sampled next tokens as alleles; computes Nei genetic similarity from output token frequencies across many probes, converts it to a distance, and builds dendrograms with neighbor joining. The distance is then used with a logistic regression to predict benchmark scores.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use PhyloLM genetic distance to predict benchmark scoresOpen-access LLMs · Hugging Face leaderboard benchmarksPearson's r: 0.68±0.04Helped
Use PhyloLM genetic distance to predict benchmark scores within model familiesOpen-access LLMs · Within-family benchmark scoresPearson's r: 0.64±0.05Helped
Increase the number of contexts (G) (ablation)PhyloLM similarity matrices · Open-Web-Mathdistance to high-precision matrixHelped
Increase the number of probes (N) (ablation)PhyloLM similarity matrices · Open-Web-Mathdistance to high-precision matrixHelped
Increase the number of probes (N) (ablation)PhyloLM similarity matrices · Open-Web-Mathmatrix variabilityNo clear effect
Use G=128 genes and N=32 probes (ablation)PhyloLM · Open-Web-Mathcost-precision tradeoff: G=128 and N=32Helped

Surprising findings

Limitations

Experimental setup

Datasets: open-web-math MBXP Hugging Face Open LLM Leaderboard (MMLU, ARC, HellaSwag, TruthfulQA, Winogrande, GSM8K)

Benchmarks: MMLU ARC HellaSwag TruthfulQA Winogrande GSM8K

Metrics: Pearson correlation variance explained mean squared error

Baselines: MMLU

Builds on: Nei genetic distance neighbor joining

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy