[论文解读] Privacy Enhanced PEFT: Tensor Train Decomposition Improves Privacy Utility Tradeoffs under DP-SGD
TTLoRA-DP 相较 LoRA 在 DP-SGD 下通过使用张量 Train 适配器显著减少可训练参数并降低成员身份推断泄露,同时保持或提升效用。
Fine-tuning large language models on sensitive data poses significant privacy risks, as membership inference attacks can reveal whether individual records were used during training. While Differential Privacy (DP) provides formal protection, applying DP to conventional Parameter-Efficient Fine-Tuning (PEFT) methods such as Low-Rank Adaptation (LoRA) often incurs substantial utility loss. In this work, we show that a more structurally constrained PEFT architecture, Tensor Train Low-Rank Adaptation (TTLoRA), can improve the privacy-utility tradeoff by shrinking the effective parameter space while preserving expressivity. To this end, we develop TTLoRA-DP, a differentially private training framework for TTLoRA. Specifically, we extend the ghost clipping algorithm to Tensor Train cores via cached contraction states, enabling efficient Differentially Private Stochastic Gradient Descent (DP-SGD) with exact per-example gradient norm computation without materializing full per-example gradients. Experiments on GPT-2 fine-tuning over the Enron and Penn Treebank datasets show that TTLoRA-DP consistently strengthens privacy protection relative to LoRA-DP while maintaining comparable or better downstream utility. Moreover, TTLoRA exhibits lower membership leakage even without DP training, using substantially smaller adapters and requiring on average 7.6X fewer parameters than LoRA. Overall, our results demonstrate that TTLoRA offers a practical path to improving the privacy-utility tradeoff in parameter-efficient language model adaptation.
研究动机与目标
- 推动对敏感数据进行大模型隐私保护的微调研究。
- 证明结构受约束的 TTLoRA 相较 LoRA 能带来更强的固有隐私和更好的 DP 效用权衡。
- 开发 TTLoRA-DP,使 TTLoRA 的 DP-SGD 变得高效,通过将 ghost clipping 扩展到 TT 核。
- 在 Enron 与 Penn Treebank 上用 DP 与非 DP 设置对隐私泄露与效用进行实证评估。
- 为对大语言模型的参数高效、隐私感知的适应提供实际指南。
提出的方法
- 将 TTLoRA 权重更新表示为 TT 核的链条,以显著降低可训练参数。
- 通过缓存收缩状态并在不显式形成完整逐样本梯度的前提下实现对 TT 核的真实逐样本梯度范数计算,从而扩展 ghost clipping 至 TT 核。
- 以因子化的 TT 形式计算逐样本梯度,并对 DP-SGD 应用两次迭代的 ghost clipping 与噪声注入。
- 重塑输入以与 TT 因子化对齐,并进行顺序输入收缩与输出展开,结合缓存实现高效反向传播。
- 在多种隐私预算下,使用 RDP 记账对 GPT-2(Enron、PTB)比较 TTLoRA-DP、LoRA 与 FFT 的表现。
- 使用 PreCurious 攻击协议衡量成员身份推断泄露并评估在无 DP 情况下的固有隐私。
实验结果
研究问题
- RQ1TTLoRA 是否在 DP-SGD 下对隐私-实用性权衡优于 LoRA,覆盖 ε ∈ {0.5, 1, 3, 5}?
- RQ2在 DP 下以及非私有设置中,与 LoRA 与 FFT 相比,TTLoRA 如何影响成员身份推断泄露?
- RQ3TTLoRA 是否能够在显著减少可训练参数的同时实现可比或更好的效用并减少隐私泄露?
- RQ4如何将 ghost clipping 扩展到 TT-LoRA,以在不显式形成完整逐样本梯度的情况下实现高效的逐样本梯度范数计算?
- RQ5TT-因子化的选择(TT-秩、因子形状)对隐私泄露和任务性能的影响如何?
主要发现
- 在所有隐私预算下,TTLoRA 相较 LoRA 在 DP 下始终获得更强的效用(例如 Enron 在 ε=0.5 时困惑度为 27.52 而非 29.29)。
- 在 DP 情况下,TTLoRA 对成员泄露表现出鲁棒性,随着 ε 增加,MIA 攻击的 AUC 基本保持稳定(Enron: 51.36%→52.04%),而 LoRA 泄露更大(52.49%→58.43%)。
- 在没有 DP 训练的情况下,TTLoRA 的成员泄露显著更低(Enron: AUC 88.68% 与 FPR@1% 16.19% 相较 LoRA 94.91% 与 33.47%)。
- TTLoRA 的可训练参数量比 LoRA 低一个数量级(TTLoRA 平均 65.6k vs LoRA 平均 497.7k)。
- 经校准的损失分布显示 TTLoRA 的成员与非成员损失重叠度更大,表明记忆能力降低。
- 在各个 DP 预算下,TTLoRA 在困惑度上保持竞争力,同时相比 LoRA 获得更好的隐私结果。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。