Vectorized Secure Evaluation of Decision Forests

04/19/2021
by   Raghav Malik, et al.
0

As the demand for machine learning-based inference increases in tandem with concerns about privacy, there is a growing recognition of the need for secure machine learning, in which secret models can be used to classify private data without the model or data being leaked. Fully Homomorphic Encryption (FHE) allows arbitrary computation to be done over encrypted data, providing an attractive approach to providing such secure inference. While such computation is often orders of magnitude slower than its plaintext counterpart, the ability of FHE cryptosystems to do ciphertext packing – that is, encrypting an entire vector of plaintexts such that operations are evaluated elementwise on the vector – helps ameliorate this overhead, effectively creating a SIMD architecture where computation can be vectorized for more efficient evaluation. Most recent research in this area has targeted regular, easily vectorizable neural network models. Applying similar techniques to irregular ML models such as decision forests remains unexplored, due to their complex, hard-to-vectorize structures. In this paper we present COPSE, the first system that exploits ciphertext packing to perform decision-forest inference. COPSE consists of a staging compiler that automatically restructures and compiles decision forest models down to a new set of vectorizable primitives for secure inference. We find that COPSE's compiled models outperform the state of the art across a range of decision forest models, often by more than an order of magnitude, while still scaling well.

READ FULL TEXT

page 13

page 14

research
06/15/2020

Cryptotree: fast and accurate predictions on encrypted structured data

Applying machine learning algorithms to private data, such as financial ...
research
11/27/2019

Crypto-Oriented Neural Architecture Design

As neural networks revolutionize many applications, significant privacy ...
research
12/22/2022

CHEM: Efficient Secure Aggregation with Cached Homomorphic Encryption in Federated Machine Learning Systems

Although homomorphic encryption can be incorporated into neural network ...
research
02/06/2021

FFConv: Fast Factorized Neural Network Inference on Encrypted Data

Homomorphic Encryption (HE), allowing computations on encrypted data (ci...
research
10/13/2020

CrypTFlow2: Practical 2-Party Secure Inference

We present CrypTFlow2, a cryptographic framework for secure inference ov...
research
06/16/2020

BoMaNet: Boolean Masking of an Entire Neural Network

Recent work on stealing machine learning (ML) models from inference engi...
research
06/19/2018

Forest Packing: Fast, Parallel Decision Forests

Machine learning has an emerging critical role in high-performance compu...

Please sign up or login with your details

Forgot password? Click here to reset