LLM-Attacker:用于拆分式和分布式LLM系统隐私评估的统一红队框架
研究论文 · 2026/10/24
分割语言模型将输入文本保留在客户端,但将中间表示发送到服务器。攻击者可以从这些消息中重建文本。当攻击者看到不同的消息、知道不同的模型权重或使用不同的数据集和恢复措施时,隐私评估的比较变得困难。我们提出了LLM-Attacker框架,它记录这些选择,并让研究人员检查、比较和扩展评估。兼容的攻击重用记录的消息,其预测被保存以供独立评分。评分规则要求有一个关联的无防御参考,防御才能通过。报告还识别出尚未测试的攻击。在受控的GPT-2实验中,添加训练期间返回的梯度将令牌恢复率从94.20%提高到97.38%,精确文档恢复率从13.71%提高到37.77%。令牌增益的95%区间高于测试前设定的两个百分点阈值。该实验与一项配套研究共享;在这里,它测试评估如何响应攻击者访问的变化。进一步的研究测量语料库选择和压缩防御如何影响恢复,比较改编的已发表攻击与其参考实现,并测试测量代码。该框架将实现检查与测量的攻击有效性分开报告。每个隐私声明都应说明攻击者、数据集和评分规则,报告其控制措施,并识别未测试的攻击。
该框架为分割/分布式LLM系统的隐私评估提供了标准化方法,解决了评估不可比的问题,并通过实验展示了攻击增强的效果,对隐私保护研究具有重要参考价值。
Split language models keep input text on a client but send intermediate representations to a server. Attacks can reconstruct text from these messages. Comparing privacy evaluations is difficult when attackers see different messages, know different model weights or use different datasets and recovery measures. We present LLM-Attacker, a framework that records these choices and lets researchers check, compare and extend an evaluation. Compatible attacks reuse recorded messages, and their predictions are saved for independent scoring. The scoring rule requires a linked undefended reference before a defence can pass. Reports also identify attacks that remain untested. In a controlled GPT-2 experiment, adding gradients returned during training increased token recovery from 94.20% to 97.38% and exact-document recovery from 13.71% to 37.77%. The 95% interval for the token gain lay above the two-percentage-point threshold fixed before testing. This experiment is shared with a companion study; here, it tests how the evaluation responds to a change in attacker access. Further studies measure how corpus choice and compression defences affect recovery, compare an adapted published attack with its reference implementation, and test the measurement code. The framework reports implementation checks separately from measured attack effectiveness. Each privacy claim should state the attacker, dataset and scoring rule, report its controls and identify untested attacks.