Researchers have discovered that Large Language Models (LLMs) possess an innate, permanent "biometric" fingerprint determined solely by their random initialization seed. This method, called SeedPrints, can trace a model's lineage from the moment of its "birth" at initialization through its entire training lifecycle, remaining robust even after fine-tuning, quantization, or massive distribution shifts.
The Problem with Post-Hoc Fingerprinting
As LLMs become increasingly valuable, protecting intellectual property through model fingerprinting—identifying if a "suspicious" model is a derivative of a proprietary one—is crucial.
Existing fingerprinting methods are mostly "post-hoc." They rely on signatures that emerge after training, such as specific data exposure, training dynamics, or hyperparameter choices. The authors argue these are not true fingerprints but rather "imprints" left by the training process. Consequently, current methods often fail during early training stages or when a model undergoes significant changes (like being fine-tuned on a completely different dataset). If you can't identify a model until it's fully grown, you have a massive blind spot in provenance verification.
The SeedPrints Methodology
The core discovery of this paper is that random initialization induces reproducible prediction biases. Even before a single token is trained, a model will consistently disfavor certain output dimensions (tokens or hidden state features) based on its starting seed.
The SeedPrints algorithm leverages this phenomenon through a three-step process:
- Localize Biased Dimensions: The researchers identify the "bottom-$m$" dimensions—the ones that consistently receive the lowest values (argmin) across random inputs.
- Form Correlation Distribution: They measure the alignment between a base model and a suspicious model specifically on these "identity dimensions" using Kendall-Tau correlation.
- Hypothesis Testing: Because the signal is weak, they perform a statistical hypothesis test against a "null distribution" (constructed using Gaussian proxies). If the correlation is significantly higher than random noise (typically $p < 0.01$), the models share a lineage.
This works because "inter-sequence representation contraction" caused by asymmetric nonlinear activations (like ReLU) and LayerNorm "squeezes" the initial random weights into specific directions. This creates a unique, seed-dependent bias that training rarely manages to fully erase.
Key Insights and Results
The authors evaluated SeedPrints across a wide range of scenarios, including controlled pre-training on OpenWebText, continual training on TinyStories and The Stack, and large-scale benchmarks like LeafBench. They also tested foundation models including LLaMA-2-7B, OLMo-7B, and the Qwen-2.5 series.
- Initialization is Identity: A model's identity is "born" at initialization. Even if two models are trained on the exact same data in the exact same order, if their starting seeds differ, their SeedPrints remain distinct. SeedPrints reliably distinguished models that differed only by initialization seed with high confidence ($p$-values ranging from $10^{-3}$ to $10^{-10}$).
- Lifecycle Robustness: Borrowing from Francis Galton’s 1892 work on biological fingerprints, the authors show that LLM fingerprints are "innate, immutable marks." In the OLMo-7B Stage-1 run (up to 3.9T tokens), SeedPrints maintained a strong verification signal throughout the entire process, whereas baselines failed to verify lineage during the first trillion tokens.
- Failure of Prior Baselines: Existing methods often "collapse" during early training or when models move from text to code because they track the data, not the model. When a model was fine-tuned on code (The Stack) after being pre-trained on text, SeedPrints correctly identified its lineage, while prior methods misclassified it as an unrelated "distractor" model.
- LeafBench Performance: On the LeafBench benchmark, SeedPrints matched the strongest baselines (achieving nearly perfect AUCs of ~0.99) while significantly outperforming them in challenging scenarios like model quantization and merging.
Limitations and Future Work
While highly effective, SeedPrints currently requires "white-box" access to the model (logits or final hidden states) and is not yet applicable to models hidden behind restricted APIs that only provide text completions. Additionally, the method requires running a set of random inputs through the model to extract the bias profile, which carries a computational cost.
Future work will need to explore adversarial attacks to see if a malicious actor could intentionally "scrub" the initialization bias through targeted parameter perturbations.
Ultimately, SeedPrints moves LLM fingerprinting from "observing what the model learned" to "observing what the model is," providing a much more robust tool for the growing field of AI forensics.
Summary updated