arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.21719cs.LGstat.ML
收藏

LoRA和隐私:当随机投影有用(和无用时)

LoRA and Privacy: When Random Projections Help (and When They Don't)

Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);University of Copenhagen(哥本哈根大学)

Yaxi Hu, Johanna Düngler, Bernhard Schölkopf, Amartya Sanyal

AI总结:

本文研究了LoRA与隐私的关系,发现LoRA并非本质上具有隐私性,但低秩微调在相同噪声水平下比完整微调更私密。

摘要:

我们介绍了(Wishart)投影机制,一种形式为S→Mf(S)的随机映射,其中M~W_d(1/rI_d, r),并研究其差分隐私属性。对于向量值查询f,我们证明了在不添加任何加性噪声的情况下,非渐近的DP保证,表明Wishart随机性本身足以满足要求。然而,对于矩阵值查询,我们却建立了尖锐的负面结果:在无噪声的情况下,该机制不满足DP,并通过实现一个几乎完美的成员推断攻击(AUC>0.99)来证明其易受攻击性。随后我们分析了带有噪声的变体,并证明了由于随机性和低秩投影而带来的隐私增强,在大秩和小秩情况下均能提供比加性噪声更强的隐私保障。最后,我们证明LoRA风格的更新是矩阵值机制的一个实例,这意味着LoRA并非本质上具有隐私性,尽管其内置了随机性,但低秩微调在相同噪声水平下可以比完整微调更私密。初步实验表明,更紧密的计费能够实现在实践中更低的噪声和更高的准确性。

英文摘要:

We introduce the (Wishart) projection mechanism, a randomized map of the form $S \mapsto M f(S)$ with $M \sim W_d(1/r I_d, r)$ and study its differential privacy properties. For vector-valued queries $f$, we prove non-asymptotic DP guarantees without any additive noise, showing that Wishart randomness alone can suffice. For matrix-valued queries, however, we establish a sharp negative result: in the noise-free setting, the mechanism is not DP, and we demonstrate its vulnerability by implementing a near perfect membership inference attack (AUC $> 0.99$). We then analyze a noisy variant and prove privacy amplification due to randomness and low rank projection, in both large- and small-rank regimes, yielding stronger privacy guarantees than additive noise alone. Finally, we show that LoRA-style updates are an instance of the matrix-valued mechanism, implying that LoRA is not inherently private despite its built-in randomness, but that low-rank fine-tuning can be more private than full fine-tuning at the same noise level. Preliminary experiments suggest that tighter accounting enables lower noise and improved accuracy in practice.

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

↑