arXiv Machine Learning By Ligong Han, Kai Xu, Hao Wang, Ruijiang Gao, Akash Srivastava

Layer-Parallel Inference Reduces Encrypted Nonlinear Depth in Transformers

Read the original on arXiv Machine Learning →

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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

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