Lune

USENIX Security2026Top-tier venue

Efficient and High-Accuracy Secure Two-Party Protocols for a Class of Functions with Real-number Inputs

Hao Guo, Zhaoqian Liu, Liqiang Peng, Shuaishuai Li, Ximing Fu, Weiran Liu, Lin Qu

Abstract

In two-party secret sharing scheme, values are typically encoded as unsigned integers uint(x), whereas real-world applications often require computations on signed real numbers Real(x). To enable secure evaluation of practical functions, it is essential to computing Real(x) from shared inputs, as protocols take shares as input. At USENIX'25, Guo et al. proposed an efficient method for computing signed integer values int(x) from shares, which can be extended to computing Real(x). However, their approach imposes a restrictive input constraint |x| < L ⁄ 3 for x ∈ Z L , limiting its applicability in real-world scenarios. In this work, we significantly relax this constraint to |x| < B for any B ≤ L ⁄ 2 , where B = L ⁄ 2 corresponding to the natural representable range in x ∈ Z L . This relaxes the restrictions and enables the computation of Real(x) with loose or no input constraints. Building upon this foundation, we present a generalized framework for designing secure protocols for a broad class of functions, including integer division ( x ⁄ d ), trigonometric ((x)) and exponential (e -x ) functions. Our experimental evaluation demonstrates that the proposed protocols achieve both high efficiency and high accuracy. Notably, our protocol for evaluating e -x reduces communication costs to approximately 31% of those in SirNN (S&P'21) and Bolt (S&P'24), with runtime speedups of up to 5.53 × and 3.09 ×, respectively. In terms of accuracy, our protocol achieves a maximum ULP error of 1.435, compared to 2.64 for SirNN and 8.681 for Bolt.

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

  • CrypTFlow2: Practical 2-Party Secure Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • CrypTFlow2: Practical 2-Party Secure Inference cites ABY3: A Mixed Protocol Framework for Machine Learning
  • CrypTFlow2: Practical 2-Party Secure Inference 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
  • Iron: Private Inference on Transformers cites CrypTFlow2: Practical 2-Party Secure Inference
  • Iron: Private Inference on Transformers cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on12

  1. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  2. ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 citations
  3. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 citations
  4. CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran et al.CCS 2020 · 294 citations
  5. Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing et al.NeurIPS 2022 · 209 citations

Related papers

  1. Alternative Implementations of Secure Real NumbersVassil S. Dimitrov, Liisi Kerik, Toomas Krips, Jaak Randmets et al.CCS 2016 · 26 citations
  2. Improved Secure Two-party Computation from a Geometric PerspectiveHao Guo, Liqiang Peng, Haiyang Xue, Li Peng et al.USENIX Security 2025
  3. Distributed Function Secret Sharing and ApplicationsPengzhi Xing, Hongwei Li, Meng Hao, Hanxiao Chen et al.NDSS 2025
  4. Function Secret Sharing for Mixed-Mode and Fixed-Point Secure ComputationElette Boyle, Nishanth Chandran, Niv Gilboa, Divya Gupta et al.EUROCRYPT 2021 · 135 citations
  5. Grotto: Screaming fast (2+1)-PC or ℤ2n via (2, 2)-DPFsKyle Storrier, Adithya Vadapalli, Allan Lyons, Ryan HenryCCS 2023 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines