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

Cocoon:一种用于差分隐私训练的相关噪声系统架构

Cocoon: A System Architecture for Differentially Private Training with Correlated Noises

The Pennsylvania State University(宾夕法尼亚州立大学)

Donghwan Kim, Xin Gu, Jinho Baek, Timothy Lo, Younghoon Min, Kwangsik Shin, Jongryool Kim, Jongse Park, Kiwan Maeng

AI总结:

针对差分隐私训练中相关噪声机制开销大的问题,提出软硬件协同框架Cocoon,通过预计算存储和近内存处理,实现2.33-10.82倍性能提升。

摘要:

机器学习(ML)模型会记忆并泄露训练数据,给数据所有者带来严重的隐私问题。具有差分隐私(DP)的训练算法(如DP-SGD)作为解决方案正受到关注。然而,DP-SGD在每次训练迭代中添加噪声,这会降低训练模型的准确性。为了提高准确性,一类新方法添加精心设计的相关噪声,使噪声在迭代间相互抵消。据我们所知,我们首次对这些新机制进行了广泛的表征研究,并表明当模型较大或使用大型嵌入表时,它们会产生不可忽略的开销。受该分析启发,我们提出了Cocoon,一种用于相关噪声高效训练的软硬件协同设计框架。Cocoon通过以合并格式(Cocoon-Emb)预计算和存储相关噪声来加速具有嵌入表的模型,并通过定制的近内存处理设备(Cocoon-NMP)支持大型模型。在带有基于FPGA的NMP设备原型的真实系统上,Cocoon将性能提升了2.33-10.82倍(Cocoon-Emb)和1.55-3.06倍(Cocoon-NMP)。

英文摘要:

Machine learning (ML) models memorize and leak training data, causing serious privacy issues to data owners. Training algorithms with differential privacy (DP) have been gaining attention as a solution. However, these algorithms add noise at each training iteration and degrade accuracy, limiting their real-world adoption. To improve accuracy, a new family of approaches adds carefully designed correlated noises, so that noises cancel out each other across iterations. We performed an extensive characterization study of these new mechanisms and show they incur non-negligible overheads when the model is relatively large or uses large embedding tables compared to the hardware capacity. Motivated by the analysis, we propose Cocoon, a framework for efficient training with correlated noises. Cocoon stores and processes the large noise history across CPU, GPU, and memory extension module, introduces optimizations for sparse embedding tables, and leverages to-be-commercialized near-memory processing (NMP) devices. On a real system with an FPGA-based NMP device prototype, Cocoon improves the performance by 1.23-10.82x.

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

↑