验证大语言模型推理以检测模型权重外泄
Verifying LLM Inference to Detect Model Weight Exfiltration
AI总结:
本文提出通过验证LLM推理来检测模型权重外泄,通过安全游戏形式化外泄问题,提出可证明缓解隐写外泄的验证框架,并评估了不同参数规模的模型。
摘要:
随着大AI模型日益成为重要资产,推理服务器中模型权重外泄的风险也随之增加。攻击者可能通过在普通模型响应中隐藏权重来实现外泄,即隐写术。本文研究如何验证LLM推理以防御此类攻击,并更广泛地检测推理中的异常或错误行为。我们形式化模型权重外泄为安全游戏,提出一个可以证明缓解隐写外泄的验证框架,并指定与该方案相关的信任假设。为了实现验证,我们表征了大语言模型推理中的有效非确定性来源,并引入了两种实用的估计器。我们在多个开源模型上评估了我们的检测框架,从3B到30B参数。在MOE-Qwen-30B上,我们的检测器将可外泄信息减少到<0.5%,误报率低于0.01%,对应于对手的>200倍延迟。总体而言,本文进一步建立了防御模型权重外泄的基础,并证明通过最小的额外成本可以实现强保护。我们的代码已公开:https://github.com/RoyRin/inference_verification_for_model_weight_exfiltration
英文摘要:
As large AI models become increasingly valuable assets, the risk of model weight exfiltration from inference servers grows accordingly. An attacker controlling an inference server may exfiltrate model weights by hiding them within ordinary model responses, a strategy known as steganography. This work investigates how to verify LLM model inference to defend against such attacks and, more broadly, to detect anomalous or buggy behavior during inference. We formalize model weight exfiltration as a security game, propose a verification framework that can provably mitigate steganographic exfiltration, and specify the trust assumptions associated with our scheme. To enable verification, we characterize valid sources of non-determinism in large language model inference and introduce two practical estimators for them. We evaluate our detection framework on several open-weight models ranging from 3B to 30B parameters. On MOE-Qwen-30B, our detector reduces exfiltratable information to <0.5% with false-positive rate of <0.01%, corresponding to a >200x slowdown for adversaries. Overall, this work further establishes a foundation for defending against model weight exfiltration and demonstrates that strong protection can be achieved with minimal additional cost to inference providers. Our code is made public at: https://github.com/RoyRin/inference_verification_for_model_weight_exfiltration .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。