DistDNA: Language Model Fingerprinting under Stochastic Decoding
Abstract
Behavioral fingerprints identify a large language model (LLM) from its responses to a shared set of prompts, enabling applications such as verifying whether a deployed model corresponds to the checkpoint it claims to be. Deployed models, however, are commonly served with stochastic decoding, under which the same model may produce different responses to an identical prompt, depending on an unknown temperature and top- setting. Existing representations such as LLM DNA provide limited treatment of this variation. A natural remedy is to characterize models by their response distributions, which, however, raises two challenges. First, each distribution must be estimated from only a small number of sampled responses. Second, a change in decoding setting can alter responses to the same extent as a change of checkpoint. Consequently, fingerprint distances alone provide an incomplete basis for model identity, and identification typically relies on a classifier trained jointly on fingerprints from many checkpoints. We propose DistDNA, which represents a model by its prompt-conditional response distributions and compares models by promptwise maximum mean discrepancy (MMD). The model under examination is assigned to the known checkpoint whose reference fingerprints, collected at several decoding settings, lie nearest to its own, without training a classifier. We show that finite sampling adds variance-dependent terms to the expected squared fingerprint distance, with these terms decreasing as for equal response counts, where is the number of responses per prompt. Experiments across 115 model checkpoint entries demonstrate that DistDNA improves identification accuracy over the strongest baseline, LLM DNA, by 10.36%.
Create a lesson
Related papers
Don't Train It, Write It: An AI Agent Writes New Capabilities into Language Model Weights
Shared title terminology · Santiago Rivadeneira Quintero
Optimal User-Level Private Stochastic Convex Optimization and Mean Estimation with Heavy Tails
Shared title terminology · Andrew Lowy
Feedback Shortcut: Speculative Decoding for Latent Feedback Transformers
Shared title terminology · Benhao Huang, Xuezhe Ma, Hector Liu
Cannot Wait to Verify: Parallel Drafting to Eliminate Verifier Idle Time in Speculative Decoding
Shared title terminology · Divya Jyoti Bajpai, Arun Verma, Manjesh Kumar Hanawal
THRIFTY: Cost-Constrained Reasoning-Data Synthesis for Small Language Models
Shared title terminology · Aasheesh Singh, Vishal Vaddina
Degradation of Language Models under Controlled Load: Synchronization, Rule Execution and Misfires on the Background
Shared title terminology · Hennadii Kutomanov