paper-with-me

홈 › Papers

CHEHAB RL: Learning to Optimize Fully Homomorphic Encryption Computations

2026-01-27 · Bilel Sefsaf, Abderraouf Dandani, Abdessamed Seddiki, Arab Mohammed, Eduardo Chielle, Michail Maniatakos, Riyadh Baghdadi arxiv

Fully Homomorphic Encryption (FHE) enables computations directly on encrypted data, but its high computational cost remains a significant barrier. Writing efficient FHE code is a complex task requiring cryptographic expertise, and finding the optimal sequence of program transformations is often intractable. In this paper, we propose CHEHAB RL, a novel framework that leverages deep reinforcement learning (RL) to automate FHE code optimization. Instead of relying on predefined heuristics or combinatorial search, our method trains an RL agent to learn an effective policy for applying a sequence of rewriting rules to automatically vectorize scalar FHE code while reducing instruction latency and noise growth. The proposed approach supports the optimization of both structured and unstructured code. To train the agent, we synthesize a diverse dataset of computations using a large language model (LLM). We integrate our proposed approach into the CHEHAB FHE compiler and evaluate it on a suite of benchmarks, comparing its performance against Coyote, a state-of-the-art vectorizing FHE compiler. The results show that our approach generates code that is $5.3\times$ faster in execution, accumulates $2.54\times$ less noise, while the compilation process itself is $27.9\times$ faster than Coyote (geometric means).

📄 PDF Abstract BibTeX arXiv:2601.19367

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning

Similar Papers 제목 키워드 기반

Effect of Homomorphic Encryption on the Performance of Training Federated Learning Generative Adversarial Networks

2022-07-01 · Ignjat Pejic, Rui Wang, Kaitai Liang

A Generative Adversarial Network (GAN) is a deep-learning generative model in the field of Machine Learning (ML) that involves training two Neural Networks (NN) using a sizable data set. In certain fields, such as medici…

Federated LearningGenerative Adversarial NetworkPrivacy Preserving

Secure SURF with Fully Homomorphic Encryption

2017-07-19 · Thomas Shortell, Ali Shokoufandeh

Cloud computing is an important part of today's world because offloading computations is a method to reduce costs. In this paper, we investigate computing the Speeded Up Robust Features (SURF) using Fully Homomorphic Enc…

Cloud Computing

MedBlindTuner: Towards Privacy-preserving Fine-tuning on Biomedical Images with Transformers and Fully Homomorphic Encryption

2024-01-17 · Prajwal Panzade, Daniel Takabi, Zhipeng Cai

Advancements in machine learning (ML) have significantly revolutionized medical image analysis, prompting hospitals to rely on external ML services. However, the exchange of sensitive patient data, such as chest X-rays, …

Medical Image AnalysisPrivacy Preserving

PRISM: Privacy-preserving Inference System with Homomorphic Encryption and Modular Activation

2025-11-11 · Zeinab Elkhatib, Ali Sekmen, Kamrul Hasan arxiv

With the rapid advancements in machine learning, models have become increasingly capable of learning and making predictions in various industries. However, deploying these models in critical infrastructures presents a ma…

Conditionals in Homomorphic Encryption and Machine Learning Applications

2018-10-29 · Diego Chialva, Ann Dooms

Homomorphic encryption aims at allowing computations on encrypted data without decryption other than that of the final result. This could provide an elegant solution to the issue of privacy preservation in data-based app…

BIG-bench Machine Learning