跳到正文
arXiv (AI + Vision + Imaging)· Lifan Hu, Qian Yu, Zhaomin Wu, Bingsheng He·· 2 天前AI 评分18

DistDNA:随机解码条件下的语言模型指纹识别

DistDNA: Language Model Fingerprinting under Stochastic Decoding

AI 导读

DistDNA 用提示条件响应分布表示语言模型,并以逐提示最大均值差异(MMD)比较模型,在无需训练分类器的情况下将待检模型归属到参考指纹最近的已知 checkpoint。

正文 · 原文

arXiv:2611.27831v1 Announce Type: new 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-$p$ 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 $O(1/R)$ for equal response counts, where $R$ 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%.

来源:arXiv (AI + Vision + Imaging) · arxiv.org