On the Application of Binary Neural Networks in Oblivious Inference

Abstract

This paper explores the application of Binary Neural Networks (BNN) in oblivious inference, a service provided by a server to mistrusting clients. Using this service, a client can obtain the inference result on her data by a trained model held by the server without disclosing the data or leaning the model parameters. We make two contributions to this field. First, we devise light-weight cryptographic protocols designed specifically to exploit the unique characteristics of BNNs. Second, we present dynamic exploration of the runtime-accuracy tradeoff of BNNs in a single-shot training process. While previous works trained multiple BNNs with different computational complexities (which is cumbersome due to the slow convergence of BNNs), we train a single BNN that can perform inference under different computational budgets. Compared to Crypt-Flow2, the state-of-the-art in oblivious inference of non-binary DNNs, our approach reaches 2× faster inference at the same accuracy. Compared to XONN, the state-of-the-art in oblivious inference of binary networks, we achieve 2× to 11× faster inference while obtaining higher accuracy.

Cite

Text

Samragh et al. "On the Application of Binary Neural Networks in Oblivious Inference." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2021. doi:10.1109/CVPRW53098.2021.00521

Markdown

[Samragh et al. "On the Application of Binary Neural Networks in Oblivious Inference." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2021.](https://mlanthology.org/cvprw/2021/samragh2021cvprw-application/) doi:10.1109/CVPRW53098.2021.00521

BibTeX

@inproceedings{samragh2021cvprw-application,
  title     = {{On the Application of Binary Neural Networks in Oblivious Inference}},
  author    = {Samragh, Mohammad and Hussain, Siam U. and Zhang, Xinqiao and Huang, Ke and Koushanfar, Farinaz},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
  year      = {2021},
  pages     = {4630-4639},
  doi       = {10.1109/CVPRW53098.2021.00521},
  url       = {https://mlanthology.org/cvprw/2021/samragh2021cvprw-application/}
}