mlsanityData to 7 Oct 2026

ATLAS: Automated Approximation of Transformers for Efficient Homomorphic Inference in One Hour

arXiv 2607.23478 ↗First posted 26 Jul 2026cs.CR cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Fully homomorphic encryption (FHE) lets a server run inference on encrypted data with strong privacy guarantees, but running a Transformer under FHE is expensive. Its non-linear operations, such as softmax, normalization, and activation, must be replaced with polynomial approximations that the CKKS scheme supports, and the depth of these approximations dominates inference cost. Existing FHE Transformers use hand-tuned approximation settings, such as iteration count and polynomial degree, applied uniformly across layers, models, and tasks. Hand-tuning is slow and error-prone. Even a single uniform setting has about 107 choices, and manual search cannot exploit layer-wise variation. AutoFHE, the only automated method with multi-objective search, targets ReLU-only CNNs and needs full fine-tuning per candidate, which is too costly for Transformers. Per-layer settings also push the search space to about 1085 for BERT and ViT and 10228 for LLaMA3, beyond both manual and fine-tuning-based search. We present ATLAS, a training-free framework that automates this search by treating each layer's approximation setting as a multi-objective optimization over latency and accuracy. The problem is hard: the decision space is large (96 or 256 variables), each configuration takes 70 to 1,000 seconds to evaluate even in cleartext, and 85 to 90 percent of configurations are invalid. ATLAS handles this with a two-stage optimization strategy and a surrogate model, completing the search in about one hour. Compared to an iterative softmax baseline, ATLAS cuts multiplicative depth and end-to-end latency by about 35 percent with little accuracy loss, and works across encoder-only, decoder-only, and vision Transformers, complementing parallel work on packing and matrix multiplication.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 20 of its 63 references that are in the map. First posted on arXiv 26 Jul 2026.

Builds on

20 of 63 references.

References · 20

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  8. 2016Layer Normalizationcited by 5,579
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  10. 2019Root Mean Square Layer Normalizationcited by 1,425
  11. 2021DeepReDuce: ReLU Reduction for Fast Private Inferencecited by 50
  12. 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 44
8 more
  1. 2020CryptoNAS: Private Inference on a ReLU Budgetcited by 40
  2. 2021Precise Approximation of Convolutional Neural Networks for Homomorphically Encrypted Datacited by 26
  3. 2023Converting Transformers to Polynomial Form for Secure Inference Over Homomorphic Encryptioncited by 19
  4. 2023AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEcited by 15
  5. 2024Encryption-Friendly LLM Architecturecited by 15
  6. 2023Orion: A Fully Homomorphic Encryption Framework for Deep Learningcited by 14
  7. 2023Optimized Layerwise Approximation for Efficient Private Inference on Fully Homomorphic Encryptioncited by 4
  8. 2024Fast and Accurate Homomorphic Softmax Evaluationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.