arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.14086cs.CRcs.AI
收藏

每个语言模型都有抗伪造的签名

Every Language Model Has a Forgery-Resistant Signature

University of Southern California(南加州大学)

Matthew Finlayson, Xiang Ren, Swabha Swayamdipta

AI总结:

本研究提出了一种基于语言模型输出椭圆表面的抗伪造签名方法,通过几何约束验证模型输出来源,具有高安全性与实用性。

摘要:

封闭权重语言模型的广泛应用引发了对取证方法的兴趣,这些方法既用于提取隐藏的模型细节(例如参数),也用于通过输出识别模型。一种成功的方法是利用语言模型架构和参数所施加的几何约束。在本工作中,我们展示了另一个较少为人知的几何约束——即语言模型输出位于高维椭圆表面——可以作为模型的签名,并可用于确定给定输出的来源模型。该椭圆签名具有区别于现有模型输出关联方法(如语言模型指纹)的独特性质。特别是,该签名难以伪造:在没有直接访问模型参数的情况下,目前已知的方法实际上无法通过椭圆生成对数概率(logprobs)。其次,该签名是自然存在的,因为所有语言模型都有这些椭圆约束。第三,该签名是自包含的,因为它可以在不访问模型输入或完整权重的情况下检测到。最后,该签名是紧凑且冗余的,因为它可以独立地在每个模型的logprob输出中检测到。我们评估了一种从小型模型中提取椭圆的新技术,并讨论了使该方法在生产规模模型中不可行的实践障碍。最后,我们使用椭圆签名提出了一种语言模型输出验证协议,类似于对称密钥消息认证系统的密码学方法。

英文摘要:

The ubiquity of closed-weight language models with public-facing APIs has generated interest in forensic methods, both for extracting hidden model details (e.g., parameters) and for identifying models by their outputs. One successful approach to these goals has been to exploit the geometric constraints imposed by the language model architecture and parameters. In this work, we show that a lesser-known geometric constraint -- namely, that language model outputs lie on the surface of a high-dimensional ellipse -- functions as a signature for the model and can be used to identify the source model of a given output. This ellipse signature has unique properties that distinguish it from existing model-output association methods like language model fingerprints. In particular, the signature is hard to forge: without direct access to model parameters, it is practically infeasible to produce log-probabilities (logprobs) on the ellipse using currently known methods. Secondly, the signature is naturally occurring, since all language models have these elliptical constraints. Thirdly, the signature is self-contained, in that it is detectable without access to the model inputs or the full weights. Finally, the signature is compact and redundant, as it is independently detectable in each logprob output from the model. We evaluate a novel technique for extracting the ellipse from small models and discuss the practical hurdles that make it infeasible for production-scale models. Finally, we use ellipse signatures to propose a protocol for language model output verification, analogous to cryptographic symmetric-key message authentication systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑