TokenPrint: A Calibrated Token-Space Fingerprint for Language-Model Provenance
Yuqi Wu, Shengming Zhao, Jie Chen
cs.AI
Submitted: 2026-08-08
Updated: 2026-08-11
License: http://creativecommons.org/licenses/by/4.0/
The gist: Establishing the provenance of a language model---including its base checkpoint and possible overlap in training distributions---is a governance challenge that metadata alone cannot resolve.
Terminology
Abstract
Establishing the provenance of a language model---including its base checkpoint and possible overlap in training distributions---is a governance challenge that metadata alone cannot resolve. We introduce a training-free fingerprint based on the top- k vocabulary projections of late hidden states elicited by 250 fixed knowledge probes, compared using Jaccard overlap over decoded token strings. We evaluate the method on 32 open-weight models from nine families (0.6B--32B) with documented relationships. (1) A similarity ladder broadly follows model relatedness: independently trained models on identical data score 0.48 raw (0.35 vocabulary-corrected), followed by shared-base fine-tunes (0.39/0.33), same-developer relatives (0.38/0.28), and models with no documented relationship (0.22/0.17). This identical-data signal persists across three organizations, two tokenizer families, and two architecture classes, and emerges within the first 1% of training before measurable task competence, suggesting a contribution from shared training data beyond capability convergence. (2) As a nearest-neighbor lineage-retrieval method, the fingerprint ranks the exact documented base among the top two candidates for all five R1 distillations (mean rank 1.8, MRR 0.60), including a math-specialized base not identifiable from coarse metadata. (3) A depth ablation shows that lineage group discrimination strengthens toward the output distribution, with AUC increasing from 0.72 at quarter depth to 0.90 at the output; using only the top 5 output tokens retains AUC 0.87. (4) The fingerprint remains stable under quantization, with Jaccard similarity of 0.92 under int8 and 0.82--0.85 under int4, compared with a maximum cross-model similarity of 0.81 in the calibration pool. We release the probes, code, and fingerprints.
Sources
- Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone
- Eliciting Latent Predictions from Transformers with the Tuned Lens
- InternLM2 Technical Report
- Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Cluster
- The Pile: An 800GB Dataset of Diverse Text for Language Modeling
- Gemma 2: Improving Open Language Models at a Practical Size
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- LogitTrace: Detecting Benchmark Contamination via Layerwise Logit Trajectories
- Phi-4 Technical Report
- Mistral 7B
- Gradient-Based Model Fingerprinting for LLM Similarity Detection and Family Classification
- A Behavioral Fingerprint for Large Language Models: Provenance Tracking via Refusal Vectors
- The Llama 3 Herd of Models
- 2 OLMo 2 Furious
- Detecting Distillation Data from Reasoning Models
- OPT: Open Pre-trained Transformer Language Models
- Qwen2.5 Technical Report
- Qwen3 Technical Report
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems