分解即指纹:面向智能体技能的组件级身份标识
The Decomposition Is the Fingerprint: Per-Component Identity for Agent Skills
AI总结:
提出一种基于多组SimHash的局部敏感指纹,将技能分解为提示、代码和工具三元组,通过汉明距离比较实现技能家族识别与变更定位,AUC达0.974。
摘要:
AI智能体越来越多地在运行时获取和执行技能:从市场和其它智能体获取的提示指令、可执行代码和工具声明的集合。管理这些技能需要稳定的技能身份概念,然而密码学哈希旨在破坏我们所需的相似性,因为一个字符的编辑就会打乱摘要。我们提出一种紧凑的、局部敏感的指纹,它嵌入技能的每个组件,并通过多组SimHash将其投影为比特,生成固定的120字节签名,通过汉明距离在常数时间内进行比较。我们的核心主张是,将指纹保持为组件级三元组(提示、代码、工具),而不是单一分数,这使其有用:当另一个组件保持共享时,三元组通过释义、重命名、重构和受控代码翻译恢复技能家族身份,而独立的多语言重新实现则不被恢复;它还能定位哪个组件承载了重用。我们声称的是谱系,而非行为等价:身份提供了注册表的结构轴,将安全性留给行为验证。该指纹在4,950对比较中达到0.974的ROC曲线下面积(AUC)(95%置信区间[0.956, 0.994]),同时使用的比特数比其近似的嵌入少77倍,且排名在期望和有限比特集中得以保持;组件级拆分将一个数字转化为关系分类、家族、新颖性和可移植的“SkillBOM”,用于技能注册表。在一个906个技能的注入基准测试中,该指纹将注入的技能识别为已知基础的篡改副本并定位变更,但识别并非信任:它仍然是一种与行为验证互补的身份信号,而非安全判决。
英文摘要:
AI agents increasingly acquire and execute skills at runtime: bundles of prompt instructions, executable code, and tool declarations fetched from marketplaces and other agents. Governing them needs a stable notion of skill identity, yet cryptographic hashing is engineered to destroy the very similarity we need, as a one-character edit scrambles the digest. We present a compact, locality-sensitive fingerprint that embeds each component of a skill and projects it to bits with a multi-bank SimHash, giving a fixed 120-byte signature compared in constant time by Hamming distance. Our central claim is that keeping the fingerprint as a per-component triple (prompt, code, tools), rather than a single score, is what makes it useful: the triple recovers skill-family identity through paraphrase, renaming, refactoring, and controlled code translation when another component remains shared, while independent multilingual reimplementation is not recovered; it also localizes which component carries the reuse. We claim lineage, not behavioral equivalence: identity supplies the structural axis of a registry and leaves safety to behavioral verification. The fingerprint reaches an area under the ROC curve (AUC) of 0.974 (95% CI [0.956, 0.994]) over 4,950 pairwise comparisons while using 77x fewer bits than the embedding it approximates, with ranking preserved in expectation and finite-bit concentration; the per-component split turns one number into relationship classification, families, novelty, and a portable "SkillBOM" for a skill registry. On a 906-skill injection benchmark the fingerprint recognizes injected skills as tampered copies of a known base and localizes the change, but recognition is not trust: it remains, by design, an identity signal complementary to behavioral verification rather than a safety verdict.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。