Compensating for Nonlinear Reduction with Linear Computations in Private Inference
Abstract
Increasingly serious data privacy concerns and strict regulations have recently posed significant challenges to machine learning, a field that hinges on high-performance processing of massive user data. Consequently, privacy-preserving machine learning (PPML) has emerged to securely execute machine learning tasks without violating privacy. Unfortunately, the computational cost to securely execute nonlinear computations in PPML models remains significant, calling for new neural architecture designs with fewer nonlinear operations. We propose Seesaw, a novel neural architecture search method tailored for PPML. Seesaw exploits a previously unexplored opportunity to leverage more linear computations and nonlinear result reuse, in order to compensate for the accuracy loss due to nonlinear reduction. It also incorporates specifically designed pruning and search strategies to efficiently handle the much larger design space including both nonlinear and linear operators. Compared to the previous state-of-the-art PPML for image classification on ImageNet, Seesaw achieves $1.68\times$ less latency at 71\% iso-accuracy, or 4.59\% higher accuracy at iso-latency of 1000K ReLU operations.
BibTeX
@misc{li2024compensating,
author = {Fabing Li and Yuanhao Zhai and Mingyu Gao},
title = {{Compensating for Nonlinear Reduction with Linear Computations in Private Inference}},
year = {2024},
url = {https://openreview.net/forum?id=jU3zRzUBiD},
howpublished = {OpenReview},
note = {Submitted to ICLR 2024},
}Ask Althea to put this paper to the test.