TL;DR
When open-weight AI models are fine-tuned, merged, and re-released in the wild, standard similarity metrics can tell us that two checkpoints are related, but not which one came first. By introducing a third "witness" model from the same family and looking at the geometry of weight updates in high-dimensional space, the authors establish an arrow of time for neural network weights. Without running a single prompt or training a detector, this simple geometric trick accurately reconstructs family trees across LLMs, vision-language models, and diffusion networks.
What Problem Does This Paper Address?
Model hubs like HuggingFace are sprawling ecosystems where base models are constantly fine-tuned, aligned, and re-uploaded—often with messy or missing documentation. For license disputes, safety audits, and provenance tracking, knowing who derived from whom is critical.
Most existing provenance tools operate like paternity tests with a known parent: given a base model, was this suspect checkpoint derived from it? However, the mathematical evidence they rely on—like weight distances or activation similarities—is fundamentally symmetric. Measuring the distance from Model A to Model B gives the exact same answer as measuring from B to A. If you are handed a cluster of related models without reliable metadata, pairwise comparisons can confirm they belong to the same family, but they cannot orient the edges to tell parent from child.
Methods
To break this symmetry, the authors propose Witness Overlap, a training-free, prompt-free white-box method that brings in a third checkpoint from the same family—a "witness" ($W$)—to triangulate the relationship between candidates $A$ and $B$.
The intuition relies on a lovely quirk of high-dimensional geometry. When a parent model is fine-tuned on two independent tasks, the resulting weight updates move out into vast parameter space along nearly orthogonal directions.
- Anchored at the Parent: If you stand at the parent ($A$) and look out toward a child ($B$) and a sibling witness ($W$), the angle between those two update vectors is wide, yielding a near-zero cosine overlap.
- Anchored at the Child: If you stand at the child ($B$) and look toward the parent ($A$) and that same sibling ($W$), both vectors share a common "reverse" journey back to the parent. Their paths partially align, creating a much higher overlap score.
The core rule is disarmingly simple: compare the overlap scores anchored at $A$ and $B$, and predict the lower-overlap anchor as the parent.
The authors compute this layer-by-layer across dense projection weights (skipping embeddings and output heads) using two metrics:
- Frobenius cosine: Standard cosine similarity over flattened weight-update tensors.
- SVD top-$k$ subspace overlap: Compares the top-$16$ principal update directions, smoothing out noise and surviving heavy weight pruning.
Datasets
Instead of standard text or image benchmarks, the "dataset" here is a curated registry of real-world checkpoints pulled from over 80 HuggingFace organizations:
- 176 LLMs across 16 families (16 bases, 130 SFT descendants, and 30 RLHF/aligned models).
- 20 Vision-Language Models (VLMs) across 4 families.
- 25 Diffusion models across 5 families.
- Controlled sequential chains: To test multi-step ordering ($Base \to SFT_1 \to SFT_2 \to SFT_3$), the authors fine-tuned five sequential chains themselves using MMLU, UltraChat, and PubMedQA.
Key Insights and Ideas
- High dimensionality is a feature, not a bug: Because modern models have millions to billions of parameters, independent fine-tuning runs naturally concentrate near orthogonality. The authors prove mathematically (Proposition 4.1) that as long as two children aren't unusually aligned or wildly imbalanced in update size, the child-anchor score is guaranteed to exceed the parent-anchor score.
- Distance magnitude is a trap: A natural baseline for finding the root model is picking the "medoid"—the checkpoint with the smallest average Euclidean distance to everyone else. This fails when a child undergoes a tiny fine-tuning update, making it sit closer to the center of the cluster than the true base model. Using angles rather than distances avoids this trap.
- Sequential chains leave cumulative breadcrumbs: In a sequential fine-tuning chain, later checkpoints accumulate reverse-update components shared with all preceding steps, causing their witness-overlap scores to climb monotonically down the chain.
Key Results
- Root Identification: Using SVD overlap, Witness Overlap finds 100% of LLM roots (16/16), 100% of VLM roots (4/4), and 80% of Diffusion roots (4/5), easily beating the L2 medoid (81.3% on LLMs) and prior scalar baselines like Neural Phylogeny and MoTHer (both 18.8% on LLMs).
- Parent-Child Orientation: With just one random witness, Frobenius cosine orients 95.3% of LLM pairs, 100% of VLM pairs, and 85.0% of Diffusion pairs (where SVD hits 90.0%). Pooling all family witnesses pushes LLM accuracy to 99.4%–100%.
- Chain & Sibling Tasks: It recovers 5 out of 5 sequential SFT chains in exact order. Using a calibrated threshold (the one task requiring supervision), it separates parent-child pairs from sibling pairs with 0.898 AUROC (82.4% balanced accuracy) on LLMs.
- Stress Tests: The directional signal survives Gaussian weight noise, INT8 quantization, TIES/SLERP model merges, and up to 50% weight pruning (where SVD shines).
Limitations and Future Work
- Edge-case geometry: The method stumbles if a child's weight update is microscopic compared to the witness's update, or if two descendants were trained on nearly identical data (causing collinear updates).
- Requires aligned weight spaces & a clean family: Checkpoints must share an identical parameter architecture, and the method assumes an upstream screening tool has already grouped same-family models together (and found at least one witness). Cross-family merges break this assumption.
- Uncharted adversarial territory: While the method handles organic releases and simple sequential chains well, reconstructing complex multi-generation trees and defending against adversarial weight tampering remain open problems for future work.
Summary updated