SIRNN: A Math Library for Secure RNN Inference
Deevashwer Rathee, Mayank Rathee, Rahul Kranti Kiran Goli, Divya, Gupta, Rahul Sharma, Nishanth Chandran, Aseem Rastogi

TL;DR
SIRNN introduces specialized, communication-efficient 2PC protocols for secure RNN inference, enabling high-accuracy, privacy-preserving machine learning on time series, speech, and image data with significant performance gains.
Contribution
The paper presents novel 2PC protocols for math functions using lookup-tables and mixed-bitwidths, significantly reducing communication overhead in secure RNN inference.
Findings
Up to 423x less communication compared to prior work
Achieves up to 1000x performance improvement over existing frameworks
Provides the first secure implementations of RNNs on time series and speech data
Abstract
Complex machine learning (ML) inference algorithms like recurrent neural networks (RNNs) use standard functions from math libraries like exponentiation, sigmoid, tanh, and reciprocal of square root. Although prior work on secure 2-party inference provides specialized protocols for convolutional neural networks (CNNs), existing secure implementations of these math operators rely on generic 2-party computation (2PC) protocols that suffer from high communication. We provide new specialized 2PC protocols for math functions that crucially rely on lookup-tables and mixed-bitwidths to address this performance overhead; our protocols for math functions communicate up to 423x less data than prior work. Some of the mixed bitwidth operations used by our math implementations are (zero and signed) extensions, different forms of truncations, multiplication of operands of mixed-bitwidths, and digit…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Cryptography and Data Security · Stochastic Gradient Optimization Techniques
