Inhibitor Transformers and Gated RNNs for Torus Efficient Fully Homomorphic Encryption
Not on the map. Why?
Abstract (arXiv)
This paper introduces efficient modifications to neural network-based sequence processing approaches, laying new grounds for scalable privacy-preserving machine learning under Fully Homomorphic Encryption (FHE). Transformers are now ubiquitous in AI applications and have largely supplanted Gated Recurrent Neural Networks (RNNs) as the standard architecture for sequence modeling. Both architectures rely on costly multiplications and complex activations that hinder encrypted inference. We focus on TFHE, which supports deep circuit evaluation and efficient univariate function evaluation but makes variable-to-variable multiplication particularly expensive. To address this, we propose inhibitor designs for Transformers and gated RNNs that replace multiplications and Softmax/Sigmoid activations with additive and ReLU-based operations. These changes enable integer-only computation, reduce circuit depth, and improve the efficiency of encrypted execution while preserving learning capacity. We present complexity analyses and scaling experiments that indicate significant reductions in circuit depth and execution time under TFHE, with 3-6 times speedup for encrypted inference and 30-50% reductions in plaintext inference time. Empirical evaluations on MNIST, IMDB, and IAM handwriting show inhibitor-based models maintain competitive accuracy. Knowledge distillation further demonstrates that an inhibitor-based DistilBERT achieves performance close to that of the conventional attention model on GLUE, positioning these architectures as a viable approach for scalable, privacy-preserving AI.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 25 of its 74 references that are in the map. First posted on arXiv 10 Aug 2023.
Builds on
25 of 74 references.
References · 25
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
13 more
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 569
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 521
- 2021Fastformer: Additive Attention Can Be All You Needcited by 61
- 2023A Study on ReLU and Softmax in Transformercited by 53
- 2019SHE: A Fast and Accurate Deep Neural Network for Encrypted Datacited by 36
- 2023Deep Neural Networks for Encrypted Inference with TFHEcited by 11
- 2023Privacy-Preserving Tree-Based Inference with TFHEcited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 0; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026HEAT: Faster Fully Homomorphic Inference via Approximations-Weights Co-Adaptation
- 2026EI-DDLGN: Efficient Encrypted Inference with Deep Differentiable Logic Gate Networks under TFHE
- 2026Fiona: Accelerating FHE Inference with Packing-Aware Ternary Weights
- 2026CHEHAB RL: Learning to Optimize Fully Homomorphic Encryption Computations
- 2025SoK: Can Fully Homomorphic Encryption Support General AI Computation? A Functional and Cost Analysis
- 2024Neural Network Training on Encrypted Data with TFHE
- 2025TFHE-Coder: Evaluating LLM-agentic Fully Homomorphic Encryption Code Generation
- 2021A methodology for training homomorphicencryption friendly neural networks