arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.02871cs.CRcs.AI

捉迷藏:利用进化学习为大语言模型生成指纹

Hide and Seek: Fingerprinting Large Language Models with Evolutionary Learning

Dmitri Iourovitski, Sanat Sharma, Rakshak Talwar

AI总结:

本文提出“Hide and Seek”黑盒指纹方法,通过 Auditor LLM 与 Detective LLM 的进化式提示生成和响应分析识别模型家族,达到 72% 准确率。

摘要:

随着大语言模型(LLM)生成内容呈指数级增长,准确识别此类文本并为其建立指纹的能力变得愈发关键。在本研究中,我们提出了一种新颖的黑盒方法用于为 LLM 生成指纹,在一系列 LLM 中识别正确模型家族(例如 Llama、Mistral、Gemma 等)时取得了令人瞩目的 72% 准确率。我们提出了一种进化策略,利用一个 LLM 的能力来发现用于识别其他 LLM 的最显著特征。我们的方法采用独特的“Hide and Seek”(捉迷藏)算法,其中 Auditor LLM 生成具有区分性的提示,而 Detective LLM 分析响应,以便为目标模型生成指纹。该方法不仅证明了由 LLM 驱动的模型识别的可行性,还揭示了对不同 LLM 家族语义流形的洞见。通过借助上下文学习迭代优化提示,我们的系统发现了模型输出之间的细微差异,为 LLM 分析和验证提供了强大工具。本研究为理解 LLM 行为开辟了新途径,并对模型归属、安全性以及更广泛的 AI 透明度领域具有重要意义。

英文摘要:

As content generated by Large Language Model (LLM) has grown exponentially, the ability to accurately identify and fingerprint such text has become increasingly crucial. In this work, we introduce a novel black-box approach for fingerprinting LLMs, achieving an impressive 72% accuracy in identifying the correct family of models (Such as Llama, Mistral, Gemma, etc) among a lineup of LLMs. We present an evolutionary strategy that leverages the capabilities of one LLM to discover the most salient features for identifying other LLMs. Our method employs a unique "Hide and Seek" algorithm, where an Auditor LLM generates discriminative prompts, and a Detective LLM analyzes the responses to fingerprint the target models. This approach not only demonstrates the feasibility of LLM-driven model identification but also reveals insights into the semantic manifolds of different LLM families. By iteratively refining prompts through in-context learning, our system uncovers subtle distinctions between model outputs, providing a powerful tool for LLM analysis and verification. This research opens new avenues for understanding LLM behavior and has significant implications for model attribution, security, and the broader field of AI transparency.

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

↑