Paper 2019/1238

Linear-Regression on Packed Encrypted Data in the Two-Server Model

Adi Akavia, Hayim Shaul, Mor Weiss, and Zohar Yakhini

Abstract

Developing machine learning models from federated training data, containing many independent samples, is an important task that can significantly enhance the potential applicability and prediction power of learned models. Since single users, like hospitals or individual labs, typically collect data-sets that do not support accurate learning with high confidence, it is desirable to combine data from several users without compromising data privacy. In this paper, we develop a privacy-preserving solution for learning a linear regression model from data collectively contributed by several parties (``data owners''). Our protocol is based on the protocol of Giacomelli et al. (ACNS 2018) that utilized two non colluding servers and Linearly Homomorphic Encryption (LHE) to learn regularized linear regression models. Our methods use a different LHE scheme that allows us to significantly reduce both the number and runtime of homomorphic operations, as well as the total runtime complexity. Another advantage of our protocol is that the underlying LHE scheme is based on a different (and post-quantum secure) security assumption than Giacomelli et al. Our approach leverages the Chinese Remainder Theorem, and Single Instruction Multiple Data representations, to obtain our improved performance. For a 1000 x 40 linear regression task we can learn a model in a total of 3 seconds for the homomorphic operations, compared to more than 100 seconds reported in the literature. Our approach also scales up to larger feature spaces: we implemented a system that can handle a 1000 x 100 linear regression task, investing minutes of server computing time after a more significant offline pre-processing by the data owners. We intend to incorporate our protocol and implementations into a comprehensive system that can handle secure federated learning at larger scales.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Published elsewhere. Major revision. WAHC 2019
Keywords
privacy-preserving machine learninglinear regressionhomomorphic encryptionsingle instruction multiple datapackingRLWE
Contact author(s)
mormorweiss @ gmail com
History
2019-10-23: received
Short URL
https://ia.cr/2019/1238
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2019/1238,
      author = {Adi Akavia and Hayim Shaul and Mor Weiss and Zohar Yakhini},
      title = {Linear-Regression on Packed Encrypted Data in the Two-Server Model},
      howpublished = {Cryptology {ePrint} Archive, Paper 2019/1238},
      year = {2019},
      url = {https://eprint.iacr.org/2019/1238}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.