arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.18179cs.CRcs.AI
收藏

托管LLM中审计会话替换检测的承诺SAE特征轨迹

Committed SAE-Feature Traces for Audited-Session Substitution Detection in Hosted LLMs

Ziyang Liu

AI总结:

提出一种承诺-开放协议,通过Merkle树提交稀疏自编码器特征轨迹,以检测托管LLM提供商在服务中静默替换模型的行为。

摘要:

托管LLM提供商存在静默替换的动机:宣传更强的模型,同时提供更便宜的回复。诸如SVIP的探测后返回方案存在并行服务的侧信道,因为不诚实的提供商可以将验证者的探测路由到广告模型,同时为普通用户提供替代模型。我们提出一种承诺-开放协议来弥补这一漏洞。在任何开放请求之前,提供商通过Merkle树提交其在发布探测层上服务输出的每个位置稀疏自编码器(SAE)特征轨迹草图。验证者打开随机位置,根据公共命名电路探测库(经过跨后端噪声校准)进行评分,并使用固定阈值联合一致性z分数规则做出决策。我们在三个骨干模型上实例化该协议——Qwen3-1.7B、Gemma-2-2B,以及扩展到Gemma-2-9B(配备131k特征SAE)的4.5倍规模。在17种攻击者中,包括同族提升、跨族替代和秩<=128的自适应LoRA,所有攻击者都在共享的尺度稳定阈值下被拒绝;相同的攻击者都规避了匹配的SVIP风格并行服务基线。一种通过冻结SAE编码器反向传播的白盒端到端攻击并未缩小差距,而一种从不运行M_hon的特征伪造攻击者通过内在维度论证被封闭形式地限制。承诺在批大小为32时,仅增加不超过2.1%的前向计算时间。

英文摘要:

Hosted-LLM providers have a silent-substitution incentive: advertise a stronger model while serving cheaper replies. Probe-after-return schemes such as SVIP leave a parallel-serve side-channel, since a dishonest provider can route the verifier's probe to the advertised model while serving ordinary users from a substitute. We propose a commit-open protocol that closes this gap. Before any opening request, the provider commits via a Merkle tree to a per-position sparse-autoencoder (SAE) feature-trace sketch of its served output at a published probe layer. A verifier opens random positions, scores them against a public named-circuit probe library calibrated with cross-backend noise, and decides with a fixed-threshold joint-consistency z-score rule. We instantiate the protocol on three backbones -- Qwen3-1.7B, Gemma-2-2B, and a 4.5x scale-up to Gemma-2-9B with a 131k-feature SAE. Of 17 attackers spanning same-family lifts, cross-family substitutes, and rank-<=128 adaptive LoRA, all are rejected at a shared, scale-stable threshold; the same attackers all evade a matched SVIP-style parallel-serve baseline. A white-box end-to-end attack that backpropagates through the frozen SAE encoder does not close the margin, and a feature-forgery attacker that never runs M_hon is bounded in closed form by an intrinsic-dimension argument. Commitment adds <=2.1% to forward-only wall-clock at batch 32.

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

↑