arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.13686cs.ITmath.IT
收藏

量化模型中的隐私推理

Private Inference in Quantized Models

Zirui Deng, Vinayak Ramkumar, Rawad Bitar, Netanel Raviv

AI总结:

本文受 Private Information Retrieval 启发,将隐私推理视为检索参数向量与数据内积的任务,提出适用于量化模型的检索方案,揭示了用户与服务器隐私间的权衡,提供鲁棒的信息论隐私保证。

摘要:

许多机器学习场景中的典型设置涉及持有模型的服务器和拥有数据的用户,挑战在于如何在进行推理的同时保护双方的隐私。近年来,隐私推理已被广泛探索,主要从密码学角度通过同态加密和多方计算等技术进行。这些方法通常带来高计算开销,并可能降低模型的准确性。在我们的工作中,我们采取了一种受 Private Information Retrieval 文献启发的不同方法。我们将隐私推理视为检索参数向量与数据的内积的任务,这是许多机器学习模型中的基本操作。我们引入了一些方案,使得能够为具有量化(即限制在有限集合内)权重的模型检索此类内积;由于广泛的益处,此类模型在实践中被广泛使用。此外,我们的方案揭示了用户隐私与服务器隐私之间的基本权衡。我们的信息论方法适用于广泛的问题,并在用户和服务器的隐私保证方面具有鲁棒性。

英文摘要:

A typical setup in many machine learning scenarios involves a server that holds a model and a user that possesses data, and the challenge is to perform inference while safeguarding the privacy of both parties. Private Inference has been extensively explored in recent years, mainly from a cryptographic standpoint via techniques like homomorphic encryption and multiparty computation. These approaches often come with high computational overhead and may degrade the accuracy of the model. In our work, we take a different approach inspired by the Private Information Retrieval literature. We view private inference as the task of retrieving inner products of parameter vectors with the data, a fundamental operation in many machine learning models. We introduce schemes that enable such retrieval of inner products for models with quantized (i.e., restricted to a finite set) weights; such models are extensively used in practice due to a wide range of benefits. In addition, our schemes uncover a fundamental tradeoff between user and server privacy. Our information-theoretic approach is applicable to a wide range of problems and robust in privacy guarantees for both the user and the server.

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

↑