NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FHAIM: Fully Homomorphic AIM For Private Synthetic Data Generation

Mayank Kumar, Qian Lou, Paulo L. Barreto, Martine De Cock, Sikha Pentyala

TL;DR

This paper introduces FHAIM, the first framework that enables private synthetic data generation by training models directly on fully homomorphically encrypted data. This allows data holders to outsource synthetic data generation without ever revealing their raw, sensitive information, addressing a critical gap in current privacy-preserving AI services.

What Problem Does This Paper Address?

Modern AI thrives on data, but much of the most valuable data (e.g., in healthcare, finance) is locked away in silos due to privacy concerns and regulations. Synthetic Data Generation (SDG) offers a solution by creating artificial data that mimics real data's statistical properties without containing sensitive personal information. However, existing "SDG-as-a-service" models typically require data holders to upload their raw data to a third-party provider. While these services might offer output privacy (e.g., through differential privacy on the generated data), they often fail to provide input privacy, meaning the service provider still has access to the sensitive raw data. This is a significant barrier for organizations bound by strict data privacy laws. This paper tackles the challenge of enabling SDG without the data holder ever exposing their raw data to the service provider.

Methods

The core innovation of FHAIM is the adaptation of the AIM (Adaptive and Iterative Mechanism) algorithm for synthetic data generation to work entirely within the realm of Fully Homomorphic Encryption (FHE). AIM is a marginal-based method that iteratively refines a synthetic dataset by comparing its marginal distributions to those of the real data.

FHAIM's key contributions lie in developing novel FHE protocols for the data-dependent steps of AIM:

  • FHE-based Compute (COMP): This protocol efficiently computes encrypted marginals (1-way and 2-way) from one-hot encoded encrypted data. It uses a column-wise SIMD packing strategy to optimize memory layout and computational complexity.
  • FHE-based Select (SELECT): This protocol identifies the most informative marginal to update next. Instead of the standard L1 norm for error calculation (which is difficult to approximate accurately in FHE), FHAIM uses a squared L2 norm. This leverages native FHE operations (squaring) and avoids unstable polynomial approximations, leading to more robust utility.
  • FHE-based Measure (MEASURE): This protocol injects differentially private noise into the encrypted marginals using the Gaussian mechanism, all within the FHE domain.

Crucially, FHAIM ensures that the private data remains encrypted throughout the training process. Only the final, differentially private marginals are decrypted by a trusted crypto-service entity, and the generation step then proceeds in the clear. This provides strong input privacy.

Datasets

The paper evaluates FHAIM on three real-world tabular datasets:

  • Breast-cancer: 10 categorical attributes, 285 samples.
  • Prison recidivism (COMPAS): 7 categorical features, 7,214 samples.
  • Diabetes: 9 continuous attributes, 768 samples.

These datasets were randomly split into 80% train and 20% test sets. The paper does not introduce new benchmark datasets but uses standard ones to compare against existing methods.

Key Insights and Ideas

  • FHE as a Privacy Enabler for SDG: The paper demonstrates that FHE is not just for secure computation but can be a practical tool for enabling privacy-preserving outsourcing of complex machine learning tasks like synthetic data generation.
  • Squared L2 Norm for Robustness: Replacing the L1 norm with a squared L2 norm in the selection step is a critical insight. It sidesteps the challenges of approximating the absolute value function in FHE, leading to significantly better utility and stability, especially under strict privacy constraints.
  • DP-in-FHE: The core idea of performing differential privacy mechanisms (noise injection and selection) within the encrypted domain is key to achieving input privacy. This ensures that even the intermediate computations that would normally reveal sensitive information are protected.
  • Amortized Privacy Cost: While the initial "Compute" phase is computationally intensive, the iterative "Select" and "Measure" steps are relatively fast, making the overall process feasible for practical use.

Key Results

  • Utility Preservation: FHAIM, particularly with the squared L2 norm (FHAIM-L2), preserves the statistical utility and downstream ML performance of the original AIM algorithm. For example, on the COMPAS dataset with ε=1, FHAIM-L2 achieves classification accuracy of 0.625, matching the AIM-L2 baseline.
  • Stability: FHAIM-L2 demonstrates significantly better stability than FHAIM-L1 (which uses the approximated L1 norm) under high privacy settings (ε=1), avoiding degradation in performance.
  • Feasible Runtimes: The framework achieves practical runtimes, ranging from approximately 5 to 12 minutes for the one-time initialization (Compute) phase and very fast iterative steps (Select and Measure). Total training times for typical runs are within 15-45 minutes.
  • Low Memory Footprint: Peak memory usage remains low, under 32 MB, making FHAIM deployable on lightweight computing instances.

Limitations and Future Work

  • Computational Overhead: While feasible, FHE inherently introduces computational overhead compared to plaintext operations. The paper acknowledges this and notes that the use of FHE leads to a higher energy footprint.
  • Noise Generation: Generating the necessary randomness for DP noise within FHE is challenging. FHAIM adopts a pre-sampling strategy where the data holder encrypts and uploads noise samples. This adds a one-time burden to the data holder but is necessary for the CE to generate secret randomness. The paper discusses challenges and proposes strategies for this in an appendix.
  • Scalability for Large Datasets: While the SIMD packing strategy makes FHAIM scalable with dataset size (N), the complexity of FHE operations can still be a bottleneck for extremely large datasets or very high-dimensional data.
  • Future Work: The authors suggest that FHE-based SDG is a viable primitive and opens avenues for secure outsourcing of ML workflows. Future work could explore adapting FHAIM to other SDG algorithms or different data modalities. Further advancements in FHE schemes themselves could also improve efficiency.

Summary updated

BibTeX
@inproceedings{kumar2026fhaim,
  author = {Mayank Kumar and Qian Lou and Paulo L. Barreto and Martine De Cock and Sikha Pentyala},
  title = {{FHAIM: Fully Homomorphic AIM For Private Synthetic Data Generation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=9fc8B4wa97},
}
Figure