arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08847cs.IRcs.CRcs.LG
收藏

LazyDP:面向差分隐私推荐模型可扩展训练的算法-软件协同设计

LazyDP: Co-Designing Algorithm-Software for Scalable Training of Differentially Private Recommendation Models

KAIST(韩国科学技术院);Pennsylvania State University(宾夕法尼亚州立大学);Meta;Cornell University(康奈尔大学)

Juntaek Lim, Youngeun Kwon, Ranggi Hwang, Kiwan Maeng, G. Edward Suh, Minsoo Rhu

AI总结:

针对差分隐私推荐系统训练存在的计算与内存瓶颈问题,提出算法-软件协同设计方案LazyDP,相较现有最优系统实现119倍平均训练吞吐量提升,且保证模型数学等价性。

摘要:

差分隐私(DP)作为隐私保护的实用标准正被业界广泛采用。尽管计算机视觉或自然语言处理应用的隐私训练已得到广泛研究,但采用DP训练推荐系统(RecSys)所面临的计算挑战尚未被探究。在本工作中,我们首先对使用DP-SGD的隐私RecSys训练进行了详细表征,找出了其多个性能瓶颈的根本原因。具体而言,我们发现DP-SGD的噪声采样阶段和含噪梯度更新阶段分别受到严重的计算限制与内存带宽限制,给隐私RecSys训练带来了显著的性能开销。基于这些发现,我们提出了LazyDP,这是一种算法-软件协同设计方案,旨在解决使用DP-SGD训练RecSys时的计算与内存挑战。与当前最先进的DP-SGD训练系统相比,我们证明LazyDP可将训练吞吐量平均提升119倍,同时确保训练出的差分隐私RecSys模型在数学上是等价的。

英文摘要:

Differential privacy (DP) is widely being employed in the industry as a practical standard for privacy protection. While private training of computer vision or natural language processing applications has been studied extensively, the computational challenges of training of recommender systems (RecSys) with DP have not been explored. In this work, we first present our detailed characterization of private RecSys training using DP-SGD, root-causing its several performance bottlenecks. Specifically, we identify DP-SGD's noise sampling and noisy gradient update stage to suffer from a severe compute and memory bandwidth limitation, respectively, causing significant performance overhead in training private RecSys. Based on these findings, we propose LazyDP, an algorithm-software co-design that addresses the compute and memory challenges of training RecSys with DP-SGD. Compared to a state-of-the-art DP-SGD training system, we demonstrate that LazyDP provides an average 119x training throughput improvement while also ensuring mathematically equivalent, differentially private RecSys models to be trained.

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

↑