SeedPrints: 指纹甚至能告诉你是哪种种子训练了你的大型语言模型
SeedPrints: Fingerprints Can Even Tell Which Seed Your Large Language Model Was Trained From
AI总结:
本文提出SeedPrints方法,通过随机初始化偏倚实现LLM的内在指纹识别,解决了传统指纹方法在大规模预训练阶段可靠性不足的问题,实现了从初始化到全生命周期的身份验证。
摘要:
对大型语言模型进行指纹识别对于证明来源和模型归属至关重要。现有的指纹方法主要在微调后评估,此时模型已通过训练数据、优化动态或超参数获得稳定的指纹。然而,模型大部分容量和知识是在预训练阶段获得的,而非下游微调,因此大规模预训练是一个更根本的验证来源的阶段。我们证明现有指纹方法在此阶段不可靠,因为它们依赖于事后指纹,这些指纹只有在大量训练后才会出现。这一限制与经典的加顿指纹概念相矛盾,即指纹是内在且持久的身份。相反,我们提出了一种更强大且更内在的LLM指纹概念:SeedPrints,一种利用随机初始化偏倚作为持久、种子依赖的标识符的方法,即使在训练开始前也存在。我们展示了未训练的模型表现出由初始化种子诱导的可重复预测偏倚,并且这些弱信号在整个训练过程中仍能统计上被检测到,从而实现高置信度的来源验证。与先前技术在早期预训练阶段失败或在分布变化下退化不同,SeedPrints在所有训练阶段均有效,从初始化到大规模预训练和下游适应。在LLaMA风格和Qwen风格模型上的实验展示了种子级别的可区分性,并实现了从出生到生命周期的身份验证。在大规模预训练轨迹和现实世界指纹识别基准上的评估进一步证实了其在长时间训练、领域变化和参数修改下的鲁棒性。
英文摘要:
Fingerprinting Large Language Models (LLMs)is essential for provenance verification and model attribution. Existing fingerprinting methods are primarily evaluated after fine-tuning, where models have already acquired stable signatures from training data, optimization dynamics, or hyperparameters. However, most of a model's capacity and knowledge are acquired during pretraining rather than downstream fine-tuning, making large-scale pretraining a more fundamental regime for lineage verification. We show that existing fingerprinting methods become unreliable in this regime, as they rely on post-hoc signatures that only emerge after substantial training. This limitation contradicts the classical Galton notion of a fingerprint as an intrinsic and persistent identity. In contrast, we propose a stronger and more intrinsic notion of LLM fingerprinting: SeedPrints, a method that leverages random initialization biases as persistent, seed-dependent identifiers present even before training begins. We show that untrained models exhibit reproducible prediction biases induced by their initialization seed, and that these weak signals remain statistically detectable throughout training, enabling high-confidence lineage verification. Unlike prior techniques that fail during early pretraining or degrade under distribution shifts, SeedPrints remains effective across all training stages, from initialization to large-scale pretraining and downstream adaptation. Experiments on LLaMA-style and Qwen-style models demonstrate seed-level distinguishability and enable birth-to-lifecycle identity verification. Evaluations on large-scale pretraining trajectories and real-world fingerprinting benchmarks further confirm its robustness under prolonged training, domain shifts, and parameter modifications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。