Lune

DAC2020Top-tier venue

AHEC: End-to-end Compiler Framework for Privacy-preserving Machine Learning Acceleration

Huili Chen, Rosario Cammarota, Felipe Valencia, Francesco Regazzoni, Farinaz Koushanfar

Abstract

Privacy-preserving machine learning (PPML) is driven by the emerging adoption of Machine Learning as a Service (MLaaS). In a typical MLaaS system, the end-user sends his personal data to the service provider and receives the corresponding prediction output. However, such interaction raises severe privacy concerns about both the user's proprietary data and the server's ML model. PPML integrates cryptographic primitives such as Multi-Party Computation (MPC) and/or Homomorphic Encryption (HE) into ML services to resolve the privacy issue. However, existing PPML solutions have not been widely deployed in practice since: (i) Privacy protection comes at the cost of additional computation and/or communication overhead; (ii) Adapting PPML to different front-end frameworks and back-end hardware incurs prohibitive engineering cost.We propose AHEC, the first automated, end-to-end HE compiler for efficient PPML inference. Leveraging the capability of Domain Specific Languages (DSLs), AHEC enables automated generation and optimization of HE kernels across diverse types of hardware platforms and ML frameworks. We perform extensive experiments to investigate the performance of AHEC from different abstraction levels: HE operations, HE-based ML kernels, and neural network layers. Empirical results corroborate that AHEC achieves superior runtime reduction compared to the state-of-the-art solutions built from static HE libraries.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption cites ELASM: Error-Latency-Aware Scale Management for Fully Homomorphic Encryption
  • Bridging Usability and Performance: A Tensor Compiler for Autovectorizing Homomorphic Encryption cites A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption
  • Bridging Usability and Performance: A Tensor Compiler for Autovectorizing Homomorphic Encryption cites ELASM: Error-Latency-Aware Scale Management for Fully Homomorphic Encryption
  • Sok: Private Transformer-based Model Inference cites A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption
  • Sok: Private Transformer-based Model Inference cites ELASM: Error-Latency-Aware Scale Management for Fully Homomorphic Encryption
  • Performance-aware Scale Analysis with Reserve for Homomorphic Encryption cites ELASM: Error-Latency-Aware Scale Management for Fully Homomorphic Encryption
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic EncryptionAleksandar Krastev, Nikola Samardzic, Simon Langowski, Srinivas Devadas et al.PLDI 2024 · 23 citations
  2. Performance-aware Scale Analysis with Reserve for Homomorphic EncryptionYongwoo Lee, Seonyoung Cheon, Dongkwan Kim, Dongyoon Lee et al.ASPLOS 2024 · 12 citations
  3. Bridging Usability and Performance: A Tensor Compiler for Autovectorizing Homomorphic EncryptionEdward Chen, Fraser Brown, Wenting ZhengUSENIX Security 2026 · 3 citations
  4. ELASM: Error-Latency-Aware Scale Management for Fully Homomorphic EncryptionYongwoo Lee, Seonyoung Cheon, Dongkwan Kim, Dongyoon Lee et al.USENIX Security 2023
  5. Sok: Private Transformer-based Model InferenceYuntian Chen, Tianpei Lu, Zhanyong Tang, Bingsheng Zhang et al.USENIX Security 2026

Related papers

  1. HEPIC: Private Inference over Homomorphic Encryption with Client InterventionKevin Nam, Youyeon Joo, Seungjin Ha, Hyungon Moon et al.ASPLOS 2026
  2. FxHENN: FPGA-based acceleration framework for homomorphic encrypted CNN inferenceYilan Zhu, Xinyao Wang, Lei Ju, Shanqing GuoHPCA 2023 · 39 citations
  3. From Individual Computation to Allied Optimization: Remodeling Privacy-Preserving Neural Inference with Function Input TuningQiao Zhang, Tao Xiang, Chunsheng Xin, Hongyi WuS&P 2024 · 12 citations
  4. FHE-CGRA: Enable Efficient Acceleration of Fully Homomorphic Encryption on CGRAsMiaomiao Jiang, Yilan Zhu, Honghui You, Cheng Tan et al.DAC 2024 · 5 citations
  5. AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network InferenceQian Lou, Song Bian, Lei JiangNeurIPS 2020 · 41 citations
Dusk over the sea between two cliffs drawn in fine vertical lines