AWM: 用于大型语言模型的准确权重矩阵指纹
AWM: Accurate Weight-Matrix Fingerprint for Large Language Models
AI总结:
AWM通过基于权重矩阵的无训练指纹方法,利用线性分配问题和无偏中心核对齐相似性,实现对大型语言模型训练来源的可靠识别。
摘要:
保护大型语言模型(LLMs)的知识产权至关重要,鉴于其训练所需资源巨大。因此,模型所有者和第三方都需要确定可疑的LLM是通过从头训练还是基于现有基础模型衍生而来。然而,模型通常经历的高强度训练后处理过程——如监督微调、广泛持续预训练、强化学习、多模态扩展、剪枝和升级——对可靠识别构成了重大挑战。在本工作中,我们提出了一种基于权重矩阵的无训练指纹方法。我们利用线性分配问题(LAP)和无偏中心核对齐(CKA)相似性来中和参数操作的影响,从而获得高度稳健和高保真度的相似性度量。在包含60个正例和90个负例的全面测试集上,我们的方法在所有上述训练后类别中表现出色的稳健性,同时几乎不产生假阳性。通过在所有分类指标上取得完美分数,我们的方法为可靠的模型谱系验证奠定了坚实基础。此外,整个计算过程在NVIDIA 3090 GPU上仅需30秒完成。代码可在https://github.com/LUMIA-Group/AWM上获取。
英文摘要:
Protecting the intellectual property of large language models (LLMs) is crucial, given the substantial resources required for their training. Consequently, there is an urgent need for both model owners and third parties to determine whether a suspect LLM is trained from scratch or derived from an existing base model. However, the intensive post-training processes that models typically undergo-such as supervised fine-tuning, extensive continued pretraining, reinforcement learning, multi-modal extension, pruning, and upcycling-pose significant challenges to reliable identification. In this work, we propose a training-free fingerprinting method based on weight matrices. We leverage the Linear Assignment Problem (LAP) and an unbiased Centered Kernel Alignment (CKA) similarity to neutralize the effects of parameter manipulations, yielding a highly robust and high-fidelity similarity metric. On a comprehensive testbed of 60 positive and 90 negative model pairs, our method demonstrates exceptional robustness against all six aforementioned post-training categories while exhibiting a near-zero risk of false positives. By achieving perfect scores on all classification metrics, our approach establishes a strong basis for reliable model lineage verification. Moreover, the entire computation completes within 30s on an NVIDIA 3090 GPU. The code is available at https://github.com/LUMIA-Group/AWM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。