paper-with-me

홈 › Papers

TFHE-Coder: Evaluating LLM-agentic Fully Homomorphic Encryption Code Generation

2025-03-15 · Mayank Kumar, Jiaqi Xue, Mengxin Zheng, Qian Lou

Fully Homomorphic Encryption over the torus (TFHE) enables computation on encrypted data without decryption, making it a cornerstone of secure and confidential computing. Despite its potential in privacy preserving machine learning, secure multi party computation, private blockchain transactions, and secure medical diagnostics, its adoption remains limited due to cryptographic complexity and usability challenges. While various TFHE libraries and compilers exist, practical code generation remains a hurdle. We propose a compiler integrated framework to evaluate LLM inference and agentic optimization for TFHE code generation, focusing on logic gates and ReLU activation. Our methodology assesses error rates, compilability, and structural similarity across open and closedsource LLMs. Results highlight significant limitations in off-the-shelf models, while agentic optimizations such as retrieval augmented generation (RAG) and few-shot prompting reduce errors and enhance code fidelity. This work establishes the first benchmark for TFHE code generation, demonstrating how LLMs, when augmented with domain-specific feedback, can bridge the expertise gap in FHE code generation.

📄 PDF Abstract BibTeX arXiv:2503.12217

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationPrivacy PreservingRAGRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…

Similar Papers 제목 키워드 기반

TT-TFHE: a Torus Fully Homomorphic Encryption-Friendly Neural Network Architecture

2023-02-03 · Adrien Benamira, Tristan Guérand, Thomas Peyrin, Sayandeep Saha

This paper presents TT-TFHE, a deep neural network Fully Homomorphic Encryption (FHE) framework that effectively scales Torus FHE (TFHE) usage to tabular and image datasets using a recent family of convolutional neural n…

CPU

Deep Neural Networks for Encrypted Inference with TFHE

2023-02-13 · Andrei Stoian, Jordan Frery, Roman Bredehoft, Luis Montero 외

Fully homomorphic encryption (FHE) is an encryption method that allows to perform computation on encrypted data, without decryption. FHE preserves the privacy of the users of online services that handle sensitive data, s…

Privacy Preserving

Neural Network Training on Encrypted Data with TFHE

2024-01-29 · Luis Montero, Jordan Frery, Celia Kherfallah, Roman Bredehoft 외

We present an approach to outsourcing of training neural networks while preserving data confidentiality from malicious parties. We use fully homomorphic encryption to build a unified training approach that works on encry…

regression

SFPDML: Securer and Faster Privacy-Preserving Distributed Machine Learning based on MKTFHE

2022-11-17 · Hongxiao Wang, Zoe L. Jiang, Yanmin Zhao, Siu-Ming Yiu 외

In recent years, distributed machine learning has garnered significant attention. However, privacy continues to be an unresolved issue within this field. Multi-key homomorphic encryption over torus (MKTFHE) is one of the…

Privacy Preservingregression

ComputeFHE: A Privacy-Preserving General-Purpose Computation Library

2026-06-23 · Faris Serdar Tasel, Efe Ciftci arxiv

Fully Homomorphic Encryption (FHE) enables computations to be performed directly on encrypted data while preserving data confidentiality. However, its practical applications remain limited by high computational costs and…