Paper 2022/866

Communication-Efficient Secure Logistic Regression

Amit Agarwal, University of Illinois Urbana-Champaign
Stanislav Peceny, Georgia Institute of Technology
Mariana Raykova, Google (United States)
Phillipp Schoppmann, Google (United States)
Karn Seth, Google (United States)
Abstract

We present a novel construction that enables two parties to securely train a logistic regression model on private secret-shared data. Our goal is to minimize online communication and round complexity, while still allowing for an efficient offline phase. As part of our construction, we develop many building blocks of independent interest. These include a new approximation technique for the sigmoid function that results in a secure protocol with better communication, protocols for secure powers evaluation and secure spline computation on fixed-point values, and a new comparison protocol that optimizes online communication. We also present a new two-party protocol for generating keys for distributed point functions (DPFs) over arithmetic sharing, where previous constructions do this only for Boolean outputs. We implement our protocol in an end-to-end system and benchmark its efficiency. We can securely evaluate a batch of $10^3$ sigmoids with $\approx 0.5$ MB of online communication, $4$ online rounds, and $\approx 1.6$ seconds of online time over WAN. This is $\approx 30 \times$ less in online communication, $\approx 31\times$ fewer online rounds, and $\approx 5.5\times$ less online time than the well-known MP-SPDZ's protocol. Our system can train a logistic regression model over $6$ epochs and a database containing $70,000$ samples and $15$ features with $208.09$ MB of online communication and $9.68$ minutes of online time. We compare our logistic regression training against MP-SPDZ over a synthetic dataset of $1000$ samples and $10$ features and show an improvement of $\approx 130\times$ in online communication and $\approx 4.75\times$ in online time over WAN. We converge to virtually the same model as plaintext in all cases. We open-source our system and include extensive tests.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Published elsewhere. EuroS&P 2024
Keywords
Secure Multiparty ComputationFunction Secret SharingLogistic RegressionSecure Comparison
Contact author(s)
amita2 @ illinois edu
stan peceny @ gatech edu
marianar @ google com
schoppmann @ google com
karn @ google com
History
2024-05-13: last of 3 revisions
2022-07-02: received
See all versions
Short URL
https://ia.cr/2022/866
License
No rights reserved
CC0

BibTeX

@misc{cryptoeprint:2022/866,
      author = {Amit Agarwal and Stanislav Peceny and Mariana Raykova and Phillipp Schoppmann and Karn Seth},
      title = {Communication-Efficient Secure Logistic Regression},
      howpublished = {Cryptology {ePrint} Archive, Paper 2022/866},
      year = {2022},
      url = {https://eprint.iacr.org/2022/866}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.