TIGER通过优化嵌入距离实现高效且鲁棒的联邦学习梯度反演
TIGER: Inverting Transformer Gradients via Embedding-Subspace Distance Optimization
- 将注意力梯度子空间信号转为可微目标,直接优化嵌入向量
- 在编码器模型上提升重建质量与运行效率,解码器上抗差分隐私噪声
- 适用于受差分隐私保护的场景,是首个成功在DP防御下重构的攻击
联邦学习允许多个客户端通过向中心服务器发送梯度更新联合训练共享模型,同时保持原始数据本地。然而,已有梯度反演攻击表明这些更新可能泄露足够信息以重构客户端输入。现有针对Transformer的攻击要么优化虚拟输入以匹配真实梯度(成本高、不稳定),要么利用注意力梯度低秩性识别包含真实层嵌入的子空间,再进行离散的候选词成员测试。但该测试对数值噪声(如量化或差分隐私)敏感,且在非因果注意力的编码器模型中扩展性差。本文提出TIGER,一种连续的梯度反演攻击,将子空间信号转化为可微目标。不同于遍历词元或匹配完整梯度,TIGER直接优化词元嵌入,使其到子空间的距离最小化。实验表明,在仅编码器模型上,TIGER显著提升重建质量与运行效率;在解码器模型上,比先前基于子空间的攻击更鲁棒,首次实现差分隐私防御下的成功重构。
原文摘要 · Abstract (English)
Federated learning allows multiple clients to jointly train a shared model by sending gradient updates to a central server while keeping raw inputs local. However, prior gradient inversion attacks show that these updates can reveal enough information to reconstruct client inputs. Existing attacks on transformers either optimize dummy inputs to match the true client updates, which is costly and unstable for modern models, or exploit the low rank of attention gradients to identify a subspace containing the true layer embeddings, followed by a discrete membership test for candidate tokens. However, this token test is brittle under numerical noise, i.e., from quantization or Differential Privacy (DP), and scales poorly for encoder models with non-causal attention. We introduce TIGER, a continuous gradient inversion attack that turns this subspace signal into a differentiable objective. Instead of searching over tokens or matching full gradients, TIGER directly optimizes token embeddings to minimize their distance to the subspace. Our experiments demonstrate that on encoder-only models, TIGER substantially improves both reconstruction quality and runtime over existing attacks, while on decoder models, TIGER is more robust than prior subspace-based attacks, enabling the first successful reconstructions in DP-defended federated learning settings.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。