arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.07077cs.CRcs.AI
收藏

Dual-Priv Pruning:多模态大语言模型中的高效差分隐私微调

Dual-Priv Pruning : Efficient Differential Private Fine-Tuning in Multimodal Large Language Models

Southeast University(东南大学);Peking University(北京大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Zhejiang University(浙江大学);Nanyang Technological University(南洋理工大学);Technische Universität Chemnitz(开姆尼茨工业大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Qianshan Wei, Jiaqi Li, Zihan You, Yi Zhan, Kecen Li, Jialin Wu, Xinfeng Li Hengjun Liu, Yi Yu, Bin Cao, Yiwen Xu, Yang Liu, Guilin Qi

AI总结:

提出 Dual-Priv Pruning 框架,通过视觉 token 剪枝与带噪梯度更新剪枝降低 MLLM 差分隐私微调的开销和噪声损害,实现低内存、低性能损失。

摘要:

差分隐私(DP)是一种被广泛采用的技术,因其在保护任务特定数据集隐私方面的有效性而受到重视,使其成为大语言模型的关键工具。然而,其在多模态大语言模型(MLLM)中的有效性仍不确定。应用差分隐私(DP)本质上会引入大量计算开销,这一问题对于需要处理大量文本和视觉数据的 MLLM 尤为相关。此外,DP 的一个关键挑战在于,为实现隐私所必需注入的噪声会随参数维度而缩放,从而导致显著的模型性能下降;这种隐私与效用之间的权衡使差分隐私(DP)在 MLLM 等复杂架构上的应用变得复杂。为解决这些问题,我们提出 Dual-Priv Pruning,这是一个在 MLLM 中采用两种互补剪枝机制进行 DP 微调的框架:(i)视觉 token 剪枝,通过移除冗余视觉信息来降低输入维度;(ii)DP 优化过程中的梯度更新剪枝。第二种机制根据带噪梯度的幅值选择性地剪枝参数更新,旨在减轻噪声影响并提高效用。实验表明,我们的方法以极小的性能下降取得了具有竞争力的结果。在计算效率方面,与标准 DP-SGD 相比,我们的方法始终使用更少内存。尽管其内存仅比零阶方法多 1.74%,而零阶方法在 A100 GPU 上存在严重的性能问题,但我们的方法在 H20 GPU 上展现出领先的内存效率。据我们所知,我们是首个探索 MLLM 中 DP 微调的研究。我们的代码即将发布。

英文摘要:

Differential Privacy (DP) is a widely adopted technique, valued for its effectiveness in protecting the privacy of task-specific datasets, making it a critical tool for large language models. However, its effectiveness in Multimodal Large Language Models (MLLMs) remains uncertain. Applying Differential Privacy (DP) inherently introduces substantial computation overhead, a concern particularly relevant for MLLMs which process extensive textual and visual data. Furthermore, a critical challenge of DP is that the injected noise, necessary for privacy, scales with parameter dimensionality, leading to pronounced model degradation; This trade-off between privacy and utility complicates the application of Differential Privacy (DP) to complex architectures like MLLMs. To address these, we propose Dual-Priv Pruning, a framework that employs two complementary pruning mechanisms for DP fine-tuning in MLLMs: (i) visual token pruning to reduce input dimensionality by removing redundant visual information, and (ii) gradient-update pruning during the DP optimization process. This second mechanism selectively prunes parameter updates based on the magnitude of noisy gradients, aiming to mitigate noise impact and improve utility. Experiments demonstrate that our approach achieves competitive results with minimal performance degradation. In terms of computational efficiency, our approach consistently utilizes less memory than standard DP-SGD. While requiring only 1.74% more memory than zeroth-order methods which suffer from severe performance issues on A100 GPUs, our method demonstrates leading memory efficiency on H20 GPUs. To the best of our knowledge, we are the first to explore DP fine-tuning in MLLMs. Our code is coming soon.

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

↑