arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.06315cs.AI
收藏

LLM 自我识别:引导与检索激活签名

LLM Self-Recognition: Steering and Retrieving Activation Signatures

University of California, Berkeley(加州大学伯克利分校);ETH Zurich(苏黎世联邦理工学院)

Thibaud Ardoin, Jonas Schäfer, Gerhard Wunder

AI总结:

通过随机稀疏向量引导内部残差流,在LLM生成文本中嵌入可检测指纹,实现高精度归属,同时保持文本质量。

摘要:

近期可解释性进展表明,大型语言模型(LLMs)在其生成的文本中隐式编码信号,使其能够自我识别输出。我们证明这种能力是可靠的,即使在低熵场景中也是如此,并且可以通过定向干预来增强。通过在生成过程中使用随机稀疏向量引导内部残差流,我们创建了一个可检测的指纹,从而能够将给定文本归属于特定的LLM。该信号可从用作检测器的LLM的激活中恢复,在多种检测设置中实现超过98%的准确率,同时保持生成文本的质量。随着AI生成内容的激增,这种方法通过利用模型自然的表示结构进行归属,而非外部嵌入信号,为传统检测器提供了实用替代方案。我们的贡献包括:(i) 在LLM中建立可靠的自我识别能力,(ii) 一种简单的引导机制,实现多LLM识别且无质量下降,(iii) 证明激活空间包含可被利用的结构,用于编码信号而不产生语义干扰。

英文摘要:

Recent advances in interpretability suggest that large language models (LLMs) implicitly encode signals in their generated text that enable self-recognition of their outputs. We demonstrate that this capability is reliable, even in low-entropy scenarios, and that it can be amplified through targeted intervention. By steering the internal residual stream during generation with a random sparse vector, we create a detectable fingerprint that enables attribution of a given text to a specific LLM. This signal is recoverable from the activations of an LLM used as a detector, achieving over 98% accuracy across multiple detection settings while preserving the quality of generated text. As AI-generated content proliferates, this approach offers a practical alternative to traditional detectors by leveraging the model's natural representation structure for attribution rather than embedding a signal externally. Our contributions include: (i) establishing reliable self-recognition capabilities in LLMs, (ii) a simple steering mechanism enabling multi-LLM identification with no quality degradation, (iii) demonstrating that activation spaces contain exploitable structure for encoding signals without semantic interference.

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

↑