arXiv Machine Learning

Layer-Parallel Inference Reduces Encrypted Nonlinear Depth in Transformers

arXiv:2607. 04819v1 Announce Type: new Abstract: Fully homomorphic encryption (FHE) enables computation on encrypted data, but practical encrypted Transformer inference is bottlenecked by the sequential composition of many nonlinear blocks.

arXiv AI
Sep 3

HEAT: Faster Fully Homomorphic Inference via Approximations-Weights Co-Adaptation

HEAT introduces a fine‑tuning method that treats the number of iterations used to approximate nonlinearities in fully homomorphic encryption (FHE) as learnable parameters, allowing them to co‑adapt with model weights. By optimizing iteration counts per nonlinearity, HEAT reduces the required iterations, bootstraps, and overall latency for encrypted GPT‑2 decoding while improving decode agreement. The approach achieves a 3.1× reduction in iterations, a 1.6× reduction in bootstraps, and a 1.4× speed‑up in end‑to‑end latency without changing the model architecture or requiring retraining from scratch.

By Alessandro Zirilli, Davide Marincione, Evgenios M. Kornaropoulos, Giuseppe Ateniese, Emanuele Rodol\`a
arXiv AI
1d ago

Felid: A Flexible and Efficient Design for Transformer Fine-Tuning over Encrypted Data

Felid introduces a flexible packing strategy and operation‑specific matrix evaluation algorithms to reduce ciphertext rotations, relinearizations, and bootstrapping calls in fully homomorphic encryption (FHE) for transformer fine‑tuning. The framework achieves a 30× reduction in rotations and relinearizations and a 2.5× reduction in bootstrapping invocations, enabling a 2‑layer BERT‑style model to fine‑tune in 650 seconds—an 8× speedup over prior work.

By Linru Zhang, Jun Jie Sim, Xiangning Wang, Jiahao Zhong, Kaiyu Zhou, Huanyi Ye, Yongsen Zheng, Lushan Song, Xiaojian Liang, Yingting Liu, Yujing Sun, Huaxiong Wang, Pu Duan, Kwok-Yan Lam
arXiv AI
Nov 11

MOAI: Module-Optimizing Architecture for non-interactive secure transformer Inference

MOAI is a homomorphic‑encryption based, non‑interactive framework that accelerates secure transformer inference. It introduces a unified evaluation flow, rotation‑free Softmax and LayerNorm algorithms, and column packing to cut HE rotations by 1.7×, achieving a 52.8 % faster evaluation than THOR and a 55.7 % speedup over Powerformer. The method is demonstrated on BERT‑base, Powerformer, and LLaMA‑3‑8B, with an amortized inference time of 2.36 minutes per input on a single GPU, and the implementation is publicly released.

By Linru Zhang, Xiangning Wang, Jun Jie Sim, Zhicong Huang, Jiahao Zhong, Huaxiong Wang, Pu Duan, Kwok-Yan Lam
arXiv Machine Learning
Oct 19

Practical and Private Hybrid ML Inference with Fully Homomorphic Encryption

arXiv:2509.01253v2 Announce Type: replace-cross Abstract: In contemporary cloud-based services, protecting users' sensitive data and ensuring the confidentiality of the server's model are critical. F...

By Sayan Biswas, Philippe Chartier, Akash Dhasade, Tom Jurien, David Kerriou, Anne-Marie Kerrmarec, Mohammed Lemou, Franklin Tranie, Martijn de Vos, Milos Vujasinovic
arXiv Machine Learning
Jun 3

Why Are Linear RNNs More Parallelizable?

arXiv:2603. 03612v3 Announce Type: replace Abstract: The community is increasingly exploring linear RNNs (LRNNs) as language models, motivated by their expressive power and parallelizability.

By William Merrill, Hongjian Jiang, Yanhong Li, Anthony Lin, Ashish Sabharwal
arXiv AI
Aug 3

MOSAIC: Masked Outsourcing of Secure AI Computations

arXiv:2607. 29221v1 Announce Type: cross Abstract: We address the challenge of securely and efficiently outsourcing AI computations from a trusted but computationally weak client to an untrusted but powerful server, in the setting where the client holds both the input and the model, and the server must learn neither.

By James Hsin-yu Chiang, Sheila Zingg, Kari Kostiainen, Srdjan Capkun