Lune

USENIX Security2023Top-tier venue

HECO: Fully Homomorphic Encryption Compiler

Alexander Viand, Patrick Jattke, Miro Haller, Anwar Hithnawi

Abstract

In recent years, Fully Homomorphic Encryption (FHE) has undergone several breakthroughs and advancements, leading to a leap in performance. Today, performance is no longer a major barrier to adoption. Instead, it is the complexity of developing an efficient FHE application that currently limits deploying FHE in practice and at scale. Several FHE compilers have emerged recently to ease FHE development. However, none of these answer how to automatically transform imperative programs to secure and efficient FHE implementations. This is a fundamental issue that needs to be addressed before we can realistically expect broader use of FHE. Automating these transformations is challenging because the restrictive set of operations in FHE and their non-intuitive performance characteristics require programs to be drastically transformed to achieve efficiency. Moreover, existing tools are monolithic and focus on individual optimizations. Therefore, they fail to fully address the needs of end-to-end FHE development. In this paper, we present HECO, a new end-to-end design for FHE compilers that takes high-level imperative programs and emits efficient and secure FHE implementations. In our design, we take a broader view of FHE development, extending the scope of optimizations beyond the cryptographic challenges existing tools focus on.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

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

Questions to start from

Lune can draw on

the full paper · 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 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption cites CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
  • Helium: Scalable MPC among Lightweight Participants and under Churn cites SoK: General Purpose Compilers for Secure Multi-Party Computation
  • Orion: A Fully Homomorphic Encryption Framework for Deep Learning cites F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • Orion: A Fully Homomorphic Encryption Framework for Deep Learning cites A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption
  • Orion: A Fully Homomorphic Encryption Framework for Deep Learning cites CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
  • 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 Orion: A Fully Homomorphic Encryption Framework for Deep Learning
  • Taypsi: Static Enforcement of Privacy Policies for Policy-Agnostic Oblivious Computation cites SoK: General Purpose Compilers for Secure Multi-Party Computation
  • PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic Encryption cites On the Security of Homomorphic Encryption on Approximate Numbers
  • CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data cites F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Orion: A Fully Homomorphic Encryption Framework for Deep LearningAustin Ebel, Karthik Garimella, Brandon ReagenASPLOS 2025 · 40 citations
  2. 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
  3. Bridging Usability and Performance: A Tensor Compiler for Autovectorizing Homomorphic EncryptionEdward Chen, Fraser Brown, Wenting ZhengUSENIX Security 2026 · 3 citations
  4. Helium: Scalable MPC among Lightweight Participants and under ChurnChristian Mouchet, Sylvain Chatel, Apostolos Pyrgelis, Carmela TroncosoCCS 2024 · 2 citations
  5. Taypsi: Static Enforcement of Privacy Policies for Policy-Agnostic Oblivious ComputationQianchuan Ye, Benjamin DelawareOOPSLA 2024 · 1 citation

Builds on11

  1. F1: A Fast and Programmable Accelerator for Fully Homomorphic EncryptionNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Srinivas Devadas et al.MICRO 2021 · 294 citations
  2. CraterLake: a hardware accelerator for efficient unbounded computation on encrypted dataNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Nathan Manohar et al.ISCA 2022 · 205 citations
  3. SoK: General Purpose Compilers for Secure Multi-Party ComputationMarcella Hastings, Brett Hemenway, Daniel Noble, Steve ZdancewicS&P 2019 · 181 citations
  4. On the Security of Homomorphic Encryption on Approximate NumbersBaiyu Li, Daniele MicciancioEUROCRYPT 2021 · 165 citations
  5. PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic EncryptionWen-jie Lu, Zhicong Huang, Cheng Hong, Yiping Ma et al.S&P 2021 · 139 citations

Related papers

  1. EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computationRoshan Dathathri, Blagovesta Kostova, Olli Saarikivi, Wei Dai et al.PLDI 2020 · 117 citations
  2. Parasol Compiler: Pushing the Boundaries of FHE Program EfficiencyRick Weber, Ryan Orendorff, Ghada Almashaqbeh, Ravital SolomonS&P 2026 · 2 citations
  3. SoK: Fully Homomorphic Encryption CompilersAlexander Viand, Patrick Jattke, Anwar HithnawiS&P 2021 · 117 citations
  4. CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path ReductionSong Bian, Zian Zhao, Ruiyu Shen, Zhou Zhang et al.S&P 2025
  5. Circuit Optimization using Arithmetic Table LookupsRaghav Malik, Vedant Paranjape, Milind KulkarniPLDI 2025
Dusk over the sea between two cliffs drawn in fine vertical lines