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

隐私与精度感知的 AI/ML 模型去重

Privacy and Accuracy-Aware AI/ML Model Deduplication

Hong Guan, Lei Yu, Lixi Zhou, Li Xiong, Kanchan Chowdhury, Lulu Xie, Xusheng Xiao, Jia Zou

AI总结:

本文首次形式化差分隐私训练模型的去重问题,提出一种隐私与精度感知的去重机制,通过贪婪策略和稀疏向量技术最小化存储与隐私成本,在保证隐私的同时实现了最高35倍的压缩比和43倍的推理加速。

摘要:

随着差分隐私随机梯度下降(DP-SGD)等隐私保护机器学习算法的广泛应用,在私有数据集上训练或微调模型变得日益普遍。这一趋势促使我们需要提供不同隐私保证和效用水平的模型,以满足多样化的用户需求。然而,管理大量版本的大型模型带来了重大的运营挑战,包括推理延迟增加、资源消耗升高以及成本上升。模型去重是许多模型服务和数据库系统广泛使用的一种技术,用于支持高性能、低成本的推理查询和模型诊断查询。然而,现有的模型去重工作均未考虑隐私问题,导致某些去重模型的隐私成本无限制地累积,且在应用于去重 DP 训练的模型时效率低下。我们首次将去重 DP 训练模型的问题形式化,并提出了一种新颖的隐私与精度感知的去重机制来解决这些问题。我们开发了一种贪婪策略来选择基础模型并将其分配给目标模型,以最小化存储和隐私成本。在对目标模型进行去重时,我们动态调度精度验证,并应用 Sparse Vector Technique 来减少与私有验证数据相关的隐私成本。与不提供隐私保证的基线方法相比,我们的方法将单个模型(包括大型语言模型和视觉 Transformer)的压缩比最高提高了 35 倍。由于 I/O 操作的减少,我们还观察到推理速度最高提升了 43 倍。

英文摘要:

With the growing adoption of privacy-preserving machine learning algorithms, such as Differentially Private Stochastic Gradient Descent (DP-SGD), training or fine-tuning models on private datasets has become increasingly prevalent. This shift has led to the need for models offering varying privacy guarantees and utility levels to satisfy diverse user requirements. However, managing numerous versions of large models introduces significant operational challenges, including increased inference latency, higher resource consumption, and elevated costs. Model deduplication is a technique widely used by many model serving and database systems to support high-performance and low-cost inference queries and model diagnosis queries. However, none of the existing model deduplication works has considered privacy, leading to unbounded aggregation of privacy costs for certain deduplicated models and inefficiencies when applied to deduplicate DP-trained models. We formalize the problems of deduplicating DP-trained models for the first time and propose a novel privacy- and accuracy-aware deduplication mechanism to address the problems. We developed a greedy strategy to select and assign base models to target models to minimize storage and privacy costs. When deduplicating a target model, we dynamically schedule accuracy validations and apply the Sparse Vector Technique to reduce the privacy costs associated with private validation data. Compared to baselines that do not provide privacy guarantees, our approach improved the compression ratio by up to $35\times$ for individual models (including large language models and vision transformers). We also observed up to $43\times$ inference speedup due to the reduction of I/O operations.

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

↑