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

TAMI-MPC:可信加速最小交互MPC以实现高效非线性推理

TAMI-MPC:Trusted Acceleration of Minimal-Interaction MPC for Efficient Nonlinear Inference

University of Arizona(亚利桑那大学);Iowa State University(爱荷华州立大学)

Zhuoran Li, Hanieh Totonchi Asl, Yifei Cai, Ebrahim Nouri, Danella Zhao

AI总结:

本文提出TAMI-MPC框架,通过优化核心原始操作减少通信开销,采用同步种子和相关随机性重用技术,实现高效非线性推理,提升ResNet-50和BERT-base的推理速度。

摘要:

安全多方计算(MPC)为边缘隐私保护机器学习提供了实用基础。然而,当前MPC系统依赖于通信和计算密集型原始操作,如非线性推理中的安全比较,这在资源受限平台上往往不切实际。为了在资源受限平台上实现实时推理,我们引入了可信加速最小交互MPC框架TAMI-MPC,用于非线性评估。具体而言,我们通过重新设计核心原始操作,即叶比较和树合并,减少通信成本,将交互轮次从log(n)降至每个操作仅1轮。此外,不同于以往依赖于 oblivious transfer(OT)的工作,我们利用TEE内部的同步种子来消除OT,对于大部分设计,同时采用相关随机性重用技术,使新设计计算轻量。为了充分实现潜力,我们设计了专用加速器,重构数据流以实现连续、细粒度流和高并行性,减少内存开销。我们的设计在ResNet-50推理上相比最先进的CNN框架实现了高达4.86倍的加速,在BERT-base推理上相比最先进的LLM框架实现了高达7.44倍的加速。

英文摘要:

Secure multi-party computation (MPC) offers a practical foundation for privacy-preserving machine learning at the edge. However, current MPC systems rely heavily on communication and computation-intensive primitives-such as secure comparison for nonlinear inference, which are often impractical on resource-constrained platforms. To enable real-time inference under a resource-constrained platform, we introduce a Trusted Acceleration of Minimal-Interaction MPC framework, TAMI-MPC, for nonlinear evaluation. Specifically, we reduce communication cost by redesigning the core primitives, leaf comparison, and tree merge, reducing the interactive round from log(n) to just 1 per operation. Furthermore, unlike prior work that heavily relies on oblivious transfer (OT), a well-known computational bottleneck, we leverage synchronized seeds inside the TEE to eliminate OT for the vast majority of our designs, along with a correlated-randomness reuse technique that keeps new designs computationally lightweight. To fully realize the potential, we design a specialized accelerator that restructures the dataflow across stages to enable continuous, fine-grained streaming and high parallelism, reducing memory overhead. Our design achieves up to 4.86x speedup on ResNet-50 inference, compared with state-of-the-art CNN frameworks, and achieves up to 7.44x speedup on BERT-base inference, compared with state-of-the-art LLM frameworks.

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

↑