Research map / Large language models / Agents, code and math
FHE-CodeEval: Benchmarking Large Language Models for Fully Homomorphic Encryption Code Generation
Qiuchu Yu, Guangli Li, Shuoming Zhang, Ruiyuan Xu, Qihan Cai, Jingling Xue, Xiaobing Feng, Huimin Cui
Chinese Academy of Sciences · University of Chinese Academy of Sciences · University of New South Wales
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add iterative execution feedback (up to five repair rounds) | Sonnet-4.6 · FHE-CodeEval (46 cases) | Pass@1: 7.8% -> 51.7% | Improved |
| add iterative execution feedback | Sonnet-4.6 · FHE-CodeEval (46 cases) | Pass@5: 10.9% -> 69.6% | Improved |
| add iterative execution feedback | Qwen3.5-35B-A3B · FHE-CodeEval (46 cases) | Pass@1: 1.3% -> 3.9% | Improved |
| add iterative feedback | Sonnet-4.6 · packing-oriented operators | Pass@5: 20.0% -> 80.0% | Improved |
| add iterative feedback | Sonnet-4.6 · approximation-oriented operators | Pass@5: 7.1% -> 85.7% | Improved |
| add iterative feedback | DeepSeek-V3.2 and GPT-OSS-120B · approximation-oriented operators | Pass@5: 0.0% -> 0.0% | No clear effect |
| add iterative feedback | all eight models · compositional subgraphs | Pass@1: 0.0% -> 37.1% (Sonnet-4.6, best) | Improved |
| add iterative feedback | all models · neural-network workloads | Pass@1 and Pass@5: 0.0% -> 0.0% | No clear effect |
| allow a 90-minute agentic Claude Code budget | Sonnet-4.6 · neural-network cases | successes of 5 trials: 1/5 on MLP and BERT-attention; 0/5 on others | Mixed |
| use larger Qwen3.5 variant (397B-A17B vs 35B-A3B) | Qwen3.5 · FHE-CodeEval (46 cases), feedback | Pass@5: 8.7% -> 43.5% | Improved |
| compare LLM-generated CKKS programs with Rotom compiler output | best model GPT-5.4 · Rotom-derived cases | communication-aware efficiency: 0.44 (parity = 1) | Hurt |
Open problems this paper states
- “Benchmark has 46 cases across 4 categories and omits operations such as scheme-switching, with only five neural-network workloads.” → Benchmarks are small, with a few dozen to a few hundred problems. (an open problem in code generation benchmarks)
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- EncryptedLLM: Privacy-Preserving Large Language Model Inference via GPU-Accelerated Fully Homomorphic Encryption (ICML 2025 · similarity 0.91)
- FHE-Coder: Secure Agentic Code Generation for Fully Homomorphic Encryption (ICLR 2026 · similarity 0.91)
- DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generation (AAAI 2025 · similarity 0.89)
- Encryption-Friendly LLM Architecture (ICLR 2025 · similarity 0.88)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.86)
- Privacy-Preserving Embedding via Look-up Table Evaluation with Fully Homomorphic Encryption (ICML 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.