arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.04461cs.LGcs.AIcs.CL
收藏

DP-OPD:基于差分隐私的在线策略蒸馏

DP-OPD: Differentially Private On-Policy Distillation for Language Models

Santa Clara University(圣克拉拉大学);Independent Researcher(独立研究员)

Fatemeh Khadem, Sajad Mousavi, Yi Fang, Yuhong Liu

AI总结:

本文提出DP-OPD,一种无需合成的差分隐私在线策略蒸馏框架,通过在学生模型上应用DP-SGD实现隐私保护,利用冻结的教师模型提供密集的token级目标,提升压缩效率和隐私-效用平衡。

摘要:

大型语言模型(LLMs)正被适应于包含敏感信息的专有和领域特定语料库,这在隐私保障与高效部署之间产生矛盾。差分隐私(DP)通常通过DP-SGD强制执行,提供记录级保护,但往往在自回归生成中造成显著的效用损失,优化噪声会放大暴露偏差和长期滚动中的叠加误差。现有私有蒸馏方法要么将DP-SGD应用于教师和学生,恶化计算和隐私-效用权衡,要么依赖于从DP训练的教师生成DP合成文本,避免在学生上应用DP,但需要DP优化大型教师并引入离线生成流程。我们提出差分隐私在线策略蒸馏(DP-OPD),一种合成-free框架,通过在学生上应用DP-SGD实现隐私保护,利用冻结的教师提供密集的token级目标。DP-OPD通过私有通用知识蒸馏在延续token上实现这一想法。在严格的隐私预算(ε=2.0)下,DP-OPD在DP微调和离线DP蒸馏上提升了困惑度,并在Yelp和BigPatent数据集上优于合成基DP蒸馏(Yelp: 44.15→41.68;BigPatent: 32.43→30.63),同时大幅简化了训练流程。特别是,DP-OPD通过消除DP教师训练和离线合成文本生成,将私有压缩压缩到单个DP学生训练循环中。代码将在发表时发布于https://github.com/khademfatemeh/dp_opd。

英文摘要:

Large language models (LLMs) are increasingly adapted to proprietary and domain-specific corpora that contain sensitive information, creating a tension between formal privacy guarantees and efficient deployment through model compression. Differential privacy (DP), typically enforced via DP-SGD, provides record-level protection but often incurs substantial utility loss in autoregressive generation, where optimization noise can amplify exposure bias and compounding errors along long rollouts. Existing approaches to private distillation either apply DP-SGD to both teacher and student, worsening computation and the privacy--utility tradeoff, or rely on DP synthetic text generation from a DP-trained teacher, avoiding DP on the student at the cost of DP-optimizing a large teacher and introducing an offline generation pipeline. We propose \textbf{Differentially Private On-Policy Distillation (DP-OPD)}, a synthesis-free framework that enforces privacy solely through DP-SGD on the student while leveraging a frozen teacher to provide dense token-level targets on \emph{student-generated} trajectories. DP-OPD instantiates this idea via \emph{private generalized knowledge distillation} on continuation tokens. Under a strict privacy budget ($\varepsilon=2.0$), DP-OPD improves perplexity over DP fine-tuning and off-policy DP distillation, and outperforms synthesis-based DP distillation (Yelp: 44.15$\rightarrow$41.68; BigPatent: 32.43$\rightarrow$30.63), while substantially simplifying the training pipeline. In particular, \textbf{DP-OPD collapses private compression into a single DP student-training loop} by eliminating DP teacher training and offline synthetic text generation. Code will be released upon publication at https://github.com/khademfatemeh/dp_opd.

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

↑