mlsanityData to 7 Oct 2026

SIRNN: A Math Library for Secure RNN Inference

arXiv 2105.04236 ↗First posted 10 May 2021cs.CR cs.LG cs.MScited by 28

Not on the map. Why?

Abstract (arXiv)

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 decomposition (a generalization of bit decomposition to larger digits). For each of these primitive operations, we construct specialized 2PC protocols that are more communication efficient than generic 2PC, and can be of independent interest. Furthermore, our math implementations are numerically precise, which ensures that the secure implementations preserve model accuracy of cleartext. We build on top of our novel protocols to build SIRNN, a library for end-to-end secure 2-party DNN inference, that provides the first secure implementations of an RNN operating on time series sensor data, an RNN operating on speech data, and a state-of-the-art ML architecture that combines CNNs and RNNs for identifying all heads present in images. Our evaluation shows that SIRNN achieves up to three orders of magnitude of performance improvement when compared to inference of these models using an existing state-of-the-art 2PC framework.

Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 24 of its 120 references that are in the map. First posted on arXiv 10 May 2021.

Builds on

24 of 120 references.

References · 24

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2016Densely Connected Convolutional Networkscited by 6,691
  3. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  4. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  5. 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
  6. 2018Gazelle: A Low Latency Framework for Secure Neural Network Inferencecited by 193
  7. 2018A generic framework for privacy preserving deep learningcited by 103
  8. 2020CrypTFlow2: Practical 2-Party Secure Inferencecited by 82
  9. 2018Chameleon: A Hybrid Secure Computation Framework for Machine Learning Applicationscited by 67
  10. 2019CrypTFlow: Secure TensorFlow Inferencecited by 61
  11. 2017CryptoDL: Deep Neural Networks over Encrypted Datacited by 56
  12. 2019XONN: XNOR-based Oblivious Deep Neural Network Inferencecited by 51
12 more
  1. 2017DeepSecure: Scalable Provably-Secure Deep Learningcited by 48
  2. 2019QUOTIENT: Two-Party Secure Neural Network Training and Predictioncited by 41
  3. 2019FastGRNN: A Fast, Accurate, Stable and Tiny Kilobyte Sized Gated Recurrent Neural Networkcited by 38
  4. 2019Glyph: Fast and Accurately Training Deep Neural Networks on Encrypted Datacited by 28
  5. 2018nGraph-HE: A Graph Compiler for Deep Learning on Homomorphically Encrypted Datacited by 24
  6. 2019Secure Evaluation of Quantized Neural Networkscited by 22
  7. 2019nGraph-HE2: A High-Throughput Framework for Neural Network Inference on Encrypted Datacited by 21
  8. 2020RNNPool: Efficient Non-linear Pooling for RAM Constrained Inferencecited by 21
  9. 2018Detecting Heads using Feature Refine Net and Cascaded Multi-Scale Architecturecited by 18
  10. 2019Secure Computation for Machine Learning With SPDZcited by 5
  11. 2013On Sound Compilation of Realscited by 4
  12. 2019ARM2GC: Succinct Garbled Processor for Secure Computationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 2; 2023: 6; 2024: 10; 2025: 6; 2026: 3.

28 papers.

Sort:

  1. 2021Privacy-Preserving Machine Learning: Methods, Challenges and Directionscited by 58
  2. 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 48
  3. 2023A Survey of Trustworthy Federated Learning with Perspectives on Security, Robustness, and Privacycited by 24
  4. 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attentioncited by 19
  5. 2023AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEcited by 15
  6. 2024Nimbus: Secure and Efficient Two-Party Inference for Transformerscited by 15
  7. 2023East: Efficient and Accurate Secure Transformer Framework for Inferencecited by 9
  8. 2025CipherPrune: Efficient and Scalable Private Transformer Inferencecited by 9
  9. 2024SecFormer: Fast and Accurate Privacy-Preserving Inference for Transformer Models via SMPCcited by 7
  10. 2024Comet: A Communication-efficient and Performant Approximation for Private Transformer Inferencecited by 7
  11. 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defensecited by 7
  12. 2023Falcon: Accelerating Homomorphically Encrypted Convolutions for Efficient Private Mobile Network Inferencecited by 5
16 more
  1. 2024CryptoTrain: Fast Secure Training on Encrypted Datasetcited by 3
  2. 2022Tabula: Efficiently Computing Nonlinear Activation Functions for Secure Neural Network Inferencecited by 2
  3. 2024HEQuant: Marrying Homomorphic Encryption and Quantization for Communication-Efficient Private Inferencecited by 2
  4. 2023Compact: Approximating Complex Activation Functions for Secure Computationcited by 1
  5. 2024Pencil: Private and Extensible Collaborative Learning without the Non-Colluding Assumptioncited by 1
  6. 2024Ents: An Efficient Three-party Training Framework for Decision Trees by Communication Optimizationcited by 1
  7. 2024PrivQuant: Communication-Efficient Private Inference with Quantized Network/Protocol Co-Optimizationcited by 1
  8. 2025CrypTorch: PyTorch-based Auto-tuning Compiler for Machine Learning with Multi-party Computationcited by 1
  9. 2026On the (In-)Security of the Shuffling Defense in the Transformer Secure Inferencecited by 1
  10. 2024Spin: An Efficient Secure Computation Framework with GPU Accelerationcited by 0
  11. 2024Hawk: Accurate and Fast Privacy-Preserving Machine Learning Using Secure Lookup Table Computationcited by 0
  12. 2025An Efficient Private GPT Never Autoregressively Decodescited by 0
  13. 2025SecONNds: Secure Outsourced Neural Network Inference on ImageNetcited by 0
  14. 2025PrivGNN: High-Performance Secure Inference for Cryptographic Graph Neural Networkscited by 0
  15. 2026UFO: Unlocking Ultra-Efficient Quantized Private Inference with Protocol and Algorithm Co-Optimizationcited by 0
  16. 2026OptiPrime: Optimizing Private Inference through Protocol-Hardware Co-designcited by 0