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

Faster Secure Data Mining via Distributed Homomorphic Encryption

Junyi Li, Heng Huang · DOI

Introduction

Data mining in sensitive domains like healthcare and finance often requires outsourcing data to cloud environments. While Homomorphic Encryption (HE) offers a "holy grail" solution by allowing computation on encrypted data, it is traditionally hindered by the computational bottleneck of "bootstrapping." Bootstrapping is required to refresh ciphertexts when noise accumulates, but it can be 10x slower than the actual computation. This paper presents a distributed framework that achieves a 10x speedup over traditional HE methods by replacing bootstrapping with a periodic parameter-refreshing mechanism.

Proposed Framework: Distributed HE

The core innovation is a Worker-Parameter Server architecture that sidesteps the bootstrapping bottleneck by leveraging a distributed environment.

Two-Phase Architecture

The framework operates in two distinct phases as illustrated below:

  1. Phase 1: Initialization: The Parameter Server generates keys and transfers encrypted data and public keys to the workers.
  2. Phase 2: Training: Workers perform training on encrypted data. Instead of performing expensive self-refreshing (bootstrapping), workers send "noisy" parameters back to the Parameter Server. The server, holding the private key, decrypts, cleans the noise, and re-encrypts the parameters.
The distributed HE framework architecture showing Initialization and Training phases.

Technical Enhancements

To make HE practical for machine learning, the authors implemented several key strategies:

  • Model Linearization: Non-linear functions like Sigmoid or Hinge loss are approximated using high-order least squares regression to create HE-friendly polynomial operations.
  • HEAAN Integration: The system utilizes the HEAAN framework, optimized for approximate arithmetic in machine learning.
  • Shallow Circuit Depth: By refreshing parameters frequently, the framework maintains a shallow computational circuit depth, allowing for smaller ciphertext moduli and faster operations.

Experimental Evaluation

The framework was evaluated on MNIST (digit classification), a real-world Financial Data-set (30,000 records), and FEMNIST (federated learning scenario).

Performance and Accuracy

The distributed approach demonstrated significant performance gains while maintaining high accuracy. On the MNIST task, the framework achieved ~96.5% accuracy in approximately 5 minutes, compared to nearly 2 hours for centralized HE.

Accuracy vs. log(Time) comparison between centralized and distributed HE frameworks, demonstrating the significant speedup.

On the larger Financial Data-set, the distributed approach took 303 seconds, maintaining a consistent 10x+ speedup over the centralized version (4,059 seconds). Crucially, there was no "privacy penalty"; encrypted models matched the performance of "plain" unencrypted training.

Conclusion and Future Work

This research demonstrates that communication-based parameter refreshing is a highly efficient alternative to computational bootstrapping in secure distributed learning. While the current framework assumes an "honest" parameter server and is primarily focused on linear models, it paves the way for practical, privacy-preserving large-scale data mining. Future work includes scaling to deep neural networks and integrating Differential Privacy for enhanced security.

Summary updated

BibTeX
@inproceedings{li2020faster,
  author = {Junyi Li and Heng Huang},
  title = {{Faster Secure Data Mining via Distributed Homomorphic Encryption}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2020},
  doi = {10.1145/3394486.3403321},
}
Figure