Lune

USENIX Security2024Top-tier venue

Accelerating Secure Collaborative Machine Learning with Protocol-Aware RDMA

Zhenghang Ren, Mingxuan Fan, Zilong Wang, Junxue Zhang, Chaoliang Zeng, Zhicong Huang, Cheng Hong, Kai Chen

Abstract

Secure Collaborative Machine Learning (SCML) suffers from high communication cost caused by secure computation protocols. While modern datacenters offer high-bandwidth and low-latency networks with Remote Direct Memory Access (RDMA) capability, existing SCML implementation remains to use TCP sockets, leading to inefficiency. We present CORA 1 to implement SCML over RDMA. By using a protocol-aware design, CORA identifies the protocol used by the SCML program and sends messages directly to the remote party's protocol buffer, improving the efficiency of message exchange. CORA exploits the chance that the SCML task is determined before execution and the pattern is largely input-irrelevant, so that CORA can plan message destinations on remote hosts at compile time. CORA can be readily deployed with existing SCML frameworks such as Piranha with its socket-like interface. We evaluate CORA in SCML training tasks, and our results show that CORA can reduce communication cost by up to 11⇥ and achieve 1.2 ⇥ 4.2⇥ end-to-end speedup over TCP in SCML training.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU cites Oblivious Neural Network Predictions via MiniONN Transformations
  • CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU cites ABY3: A Mixed Protocol Framework for Machine Learning
  • CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Oblivious Neural Network Predictions via MiniONN Transformations cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • GAZELLE: A Low Latency Framework for Secure Neural Network Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • GAZELLE: A Low Latency Framework for Secure Neural Network Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on25

  1. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  2. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
  3. ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 citations
  4. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 citations
  5. CryptGPU: Fast Privacy-Preserving Machine Learning on the GPUSijun Tan, Brian Knott, Yuan Tian, David J. WuS&P 2021 · 241 citations

Related papers

  1. Piranha: A GPU Platform for Secure ComputationJean-Luc Watson, Sameer Wagh, Raluca Ada PopaUSENIX Security 2022
  2. Orca: FSS-based Secure Training and Inference with GPUsNeha Jawalkar, Kanav Gupta, Arkaprava Basu, Nishanth Chandran et al.S&P 2024 · 58 citations
  3. Pythia: Remote Oracles for the MassesShin-Yeh Tsai, Mathias Payer, Yiying ZhangUSENIX Security 2019 · 37 citations
  4. sRDMA - Efficient NIC-based Authentication and Encryption for Remote Direct Memory AccessKonstantin Taranov, Benjamin Rothenberger, Adrian Perrig, Torsten HoeflerUSENIX ATC 2020 · 59 citations
  5. Make Some ROOM for the Zeros: Data Sparsity in Secure Distributed Machine LearningPhillipp Schoppmann, Adrià Gascón, Mariana Raykova, Benny PinkasCCS 2019 · 33 citations
Dusk over the sea between two cliffs drawn in fine vertical lines