arXiv:2410.03883cs.LGcs.CR2024-10ICLR被引 11

用简化卡尔曼滤波降噪,提升私有优化器在大规模训练中的表现

DiSK: Differentially Private Optimizer with Simplified Kalman Filter for Noise Reduction

  • 引入简化卡尔曼滤波,动态过滤私有梯度中的噪声
  • 在CIFAR-100、ImageNet-1k等任务上显著提升私有模型准确率
  • 适合需要高隐私保障的大规模模型训练场景

差分隐私(DP)为保护个体数据隐私提供了稳健框架。近年来,差分隐私优化器被广泛用于现代机器学习模型训练。主流方法是裁剪梯度并添加足够大的噪声,但该方法在大规模训练中导致性能显著下降,原因在于维持隐私所需的大量噪声干扰了优化器动态。本文提出DiSK,一种新型框架,通过引入卡尔曼滤波技术有效降低私有梯度噪声,生成更精确的梯度估计。为适配大规模训练,我们简化了卡尔曼滤波过程,大幅降低内存与计算开销。理论分析表明,DiSK在迭代复杂度上优于标准DP优化器如DPSGD。在多种任务上的实验验证了其有效性,包括视觉任务(CIFAR-100、ImageNet-1k)和语言微调任务(GLUE、E2E、DART),在相同隐私约束下,多个基准测试超越现有最优结果。

原文摘要 · Abstract (English)

Differential privacy (DP) offers a robust framework for safeguarding individual data privacy. To utilize DP in training modern machine learning models, differentially private optimizers have been widely used in recent years. A popular approach to privatize an optimizer is to clip the individual gradients and add sufficiently large noise to the clipped gradient. This approach led to the development of DP optimizers that have comparable performance with their non-private counterparts in fine-tuning tasks or in tasks with a small number of training parameters. However, a significant performance drop is observed when these optimizers are applied to large-scale training. This degradation stems from the substantial noise injection required to maintain DP, which disrupts the optimizer's dynamics. This paper introduces DiSK, a novel framework designed to significantly enhance the performance of DP optimizers. DiSK employs Kalman filtering, a technique drawn from control and signal processing, to effectively denoise privatized gradients and generate progressively refined gradient estimations. To ensure practicality for large-scale training, we simplify the Kalman filtering process, minimizing its memory and computational demands. We establish theoretical privacy-utility trade-off guarantees for DiSK, and demonstrate provable improvements over standard DP optimizers like DPSGD in terms of iteration complexity upper-bound. Extensive experiments across diverse tasks, including vision tasks such as CIFAR-100 and ImageNet-1k and language fine-tuning tasks such as GLUE, E2E, and DART, validate the effectiveness of DiSK. The results showcase its ability to significantly improve the performance of DP optimizers, surpassing state-of-the-art results under the same privacy constraints on several benchmarks.

差分隐私优化器卡尔曼滤波大模型训练

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。