Papers
arxiv:2611.41556

Spanner: a Weights-Only Lineage Distance for LLMs Across Architectures and Tokenizers

Published on Nov 30
Authors:

Abstract

Open LLMs are heavily remixed, so their lineages are difficult to trace. Existing weight-based model lineage measurements are restricted to models of the same size or tokenizers or do not properly handle model symmetries. Output-based lineage measurements cannot distinguish weight descent from distillation. We introduce Spanner (D), a weights-only pseudometric that projects attention and MLP invariants onto shared tokens and compares layer spans with Yanai's GCD. Spanner compares LLMs across architectures, tokenizers, and dimensions while ignoring symmetries such as residual stream rotation that do not change the models' outputs. We show that D is invariant to model symmetries, that D^2 is an effective measurement of cumulative learning rate on Pythia (R^2 = 0.98), and that D is competitive with or outperforms published baselines (0.991 AUROC on AWM, 0.889 on LLM Biometrics). We also show that D separates weight descent from behavioral convergence. We use D to audit a set of open models on the Hugging Face Hub and find several models with potentially misattributed parents. Excluding download time, D can calculate a full distance matrix between 1,000 8B models in about 17 hours for $30 on a Hugging Face l40sx1, so our method enables large-scale open model lineage tracing and auditing.

Community

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2611.41556
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2611.41556 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2611.41556 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2611.41556 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.