arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.09607cs.CR
收藏

高效且高精度的私有CNN推断与辅助恶意安全

Efficient and High-Accuracy Private CNN Inference with Helper-Assisted Malicious Security

Beijing Jiaotong University(北京交通大学);Beijing Key Laboratory of Security and Privacy in Intelligent Transportation(智能交通安全与隐私北京市重点实验室)

Kaiwen Wang, Xiaolin Chang, Junchao Fan, Yuehan Dong

AI总结:

本文提出一种基于HA-MSDM的私有CNN推断框架,通过加密原语、MPC协议和模型训练的协同设计,实现高效和接近明文精度的推断,实验显示在LAN和WAN上分别提升了2.3-6.8倍和1.3-5.6倍,精度达到ReLU明文模型的99.5%。

摘要:

机器学习即服务(MLaaS)将敏感客户端数据暴露给服务提供商。私有推断通过保护模型功能来缓解这一风险。尽管在MPC基础上取得了大量进展,但强安全、效率和模型精度之间存在根本性的三重张力。在恶意不诚实多数(MSDM)设置下,先前工作要么导致高通信开销,要么由于多项式近似非线性函数而产生不可忽略的精度损失。虽然辅助的MSDM(HA-MSDM)模型提高了效率和公平性,但缺乏专门设计用于准确和高效神经网络推断的方案。本文提出了一种基于HA-MSDM的私有CNN推断框架,通过加密原语、MPC协议和模型训练的协同设计,同时实现高效率和接近明文精度。具体而言,我们(i)将认证共享扩展到环,以实现高效的定点计算;(ii)设计常数轮次的乘法和多项式评估协议,轮次复杂度与多项式次数无关;(iii)引入一种训练策略,通过知识蒸馏和温初始化恢复多项式模型的表达能力。实验显示,在LAN和WAN上分别比最先进的MSDM框架提升了2.3-6.8倍和1.3-5.6倍,精度达到ReLU明文模型的99.5%。

英文摘要:

Machine Learning as a Service (MLaaS) exposes sensitive client data to service providers. Private inference mitigates this risk while preserving model functionality. Despite extensive progress in MPC-based solutions, they remain constrained by a fundamental three-way tension among strong security, efficiency, and model accuracy. This challenge is particularly acute under the malicious dishonest majority (MSDM) setting, where prior work either incurs high communication overhead or suffers non-negligible accuracy loss due to polynomial approximations of nonlinear functions. Although the helper-assisted MSDM (HA-MSDM) model improves efficiency and fairness, it lacks a dedicated design for accurate and efficient neural network inference. In this work, we present an HA-MSDM-based private CNN inference framework that simultaneously achieves high efficiency and near-plaintext accuracy through a co-design of cryptographic primitives, MPC protocols, and model training. Specifically, we (i) extend authenticated sharing to rings to enable efficient fixed-point computation, (ii) design constant-round protocols for multiplication and polynomial evaluation, with round complexity independent of the polynomial degree, and (iii) introduce a training strategy that recovers the expressiveness of polynomial models via knowledge distillation and warm initialization. Experiments demonstrate 2.3--6.8$\times$ speedup in LAN and 1.3--5.6$\times$ in WAN over state-of-the-art MSDM frameworks, while achieving accuracy within 0.5\% of ReLU-based plaintext models.

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

↑