arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.05288cs.LGcs.AIcs.CR
收藏

DP-Adam-AC:使用自适应裁剪的Adam优化实现可本地化语言模型的隐私保护微调

DP-Adam-AC: Privacy-preserving Fine-Tuning of Localizable Language Models Using Adam Optimization with Adaptive Clipping

Georgetown University(乔治城大学)

Ruoxing Yang

AI总结:

针对LLM微调的隐私与网络攻击风险,提出DP-Adam-AC优化器,结合自适应梯度裁剪增强差分隐私,成功应用于可本地化小模型,实验显示损失改进。

摘要:

诸如ChatGPT之类的大型语言模型(LLMs)已经发展成为强大且无处不在的工具。在小数据集上进行微调使LLMs能够高效地获取针对特定任务的专门技能。尽管LLMs在通用和特定任务场景中都提供了巨大的实用性,但它们受到两个与安全相关的关注点的限制。首先,传统LLM的硬件需求使其无法在消费级设备上本地运行。通常需要与LLM提供商的服务器建立远程网络连接,这使得系统容易受到网络攻击。其次,为敏感任务微调LLM可能涉及敏感数据。非隐私的微调算法会产生易受训练数据复制攻击的模型。我们的工作通过增强差分隐私优化算法并将其应用于微调可本地化语言模型来解决这些安全问题。我们引入了自适应梯度裁剪以及其他工程增强,应用于标准DP-Adam优化器,以创建DP-Adam-AC。我们使用我们的优化器对两种可本地化LLM设计的实例进行微调,即小语言模型(Qwen2.5-0.5B)和1.58位量化模型(Bitnet-b1.58-2B)。通过使用两个合成数据集的实验,我们展示了损失方面的显著改进。

英文摘要:

Large language models (LLMs) such as ChatGPT have evolved into powerful and ubiquitous tools. Fine-tuning on small datasets allows LLMs to acquire specialized skills for specific tasks efficiently. Although LLMs provide great utility in both general and task-specific use cases, they are limited by two security-related concerns. First, traditional LLM hardware requirements make them infeasible to run locally on consumer-grade devices. A remote network connection with the LLM provider's server is usually required, making the system vulnerable to network attacks. Second, fine-tuning an LLM for a sensitive task may involve sensitive data. Non-private fine-tuning algorithms produce models vulnerable to training data reproduction attacks. Our work addresses these security concerns by enhancing differentially private optimization algorithms and applying them to fine-tune localizable language models. We introduce adaptable gradient clipping along with other engineering enhancements to the standard DP-Adam optimizer to create DP-Adam-AC. We use our optimizer to fine-tune examples of two localizable LLM designs, small language model (Qwen2.5-0.5B) and 1.58 bit quantization (Bitnet-b1.58-2B). We demonstrate promising improvements in loss through experimentation with two synthetic datasets.

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

↑