potentialpaper

AutoFHE-Bench: Beyond Pass Rates in Agent-generated Fully Homomorphic Encryption Programs

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:08 UTC · 729f53276e2a ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "2u7klclOrk"
- }
- ],
- "title": "AutoFHE-Bench: Beyond Pass Rates in Agent-generated Fully Homomorphic Encryption Programs",
- "authors": [],
- "abstract": "Fully Homomorphic Encryption (FHE) enables computation over encrypted data\nwithout decryption, serving as a foundation for privacy-preserving machine\nlearning. Writing an FHE program remains expert-only work: developers must\nmanually pick encryption parameters, layout ciphertexts, and approximate\nunsupported operations, where any mistake fails silently under encryption.\nWhile LLM agents excel at general software synthesis, applying them to FHE\nexposes a fundamental vulnerability: a program can produce the correct answer\nwhile providing zero confidentiality. Prior evaluations infer security merely\nfrom static source code, a check easily satisfied by programs that invoke\nhomomorphic APIs while computing in the clear. We show that their remaining\naxis, functional correctness, is nearly saturated: on ten end-to-end tasks from\nestablished FHE benchmarking suites, each with a verified reference, three\nfrontier models succeed in 147 of 150 attempts. The open question is therefore no longer whether an agent can\nwrite a working FHE program, but whether that program is secure and\ndeployable.\n\nWe introduce \\textbf{AutoFHE-Bench}, which treats security as an observable\nruntime property of an execution. Across multi-stage pipelines from key\ngeneration to decryption, an independent judge holds the secret keys, draws\nfresh inputs, enforces OS-level client--server isolation, and decrypts results\nitself, and it bounds multiplicative depth and security level on the tasks that\nadmit such a bound. Nine adversarial control types score zero across 30\nexecutions. The benchmark shows that submissions receiving the same verdict\ndiffer, at the extremes, by $88\\times$ in encrypted-computation time on matrix\ninversion and $164\\times$ in evaluation-key size on encrypted retrieval, and\nthat stating and enforcing a depth budget reduces one model's median key\nmaterial by $3.3\\times$ at an unchanged pass rate. Two exploratory challenge\ntasks, reported separately, bound what the judge establishes: on one a model\nsynthesizes a bootstrapped ResNet-20 for CIFAR-10 at one quarter of the\nreference key material, and on the other a passing submission shows that\nverifying an encrypted execution does not verify which computation it\nperformed. We open-source the tasks, the judge, and the controls.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "9cab7fcd-437e-4fa7-812a-bf58a59c09cf"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "AutoFHE-Bench: Beyond Pass Rates in Agent-generated Fully Homomorphic Encryption Programs",
+ "authors": [],
+ "abstract": "Fully Homomorphic Encryption (FHE) enables computation over encrypted data\nwithout decryption, serving as a foundation for privacy-preserving machine\nlearning. Writing an FHE program remains expert-only work: developers must\nmanually pick encryption parameters, layout ciphertexts, and approximate\nunsupported operations, where any mistake fails silently under encryption.\nWhile LLM agents excel at general software synthesis, applying them to FHE\nexposes a fundamental vulnerability: a program can produce the correct answer\nwhile providing zero confidentiality. Prior evaluations infer security merely\nfrom static source code, a check easily satisfied by programs that invoke\nhomomorphic APIs while computing in the clear. We show that their remaining\naxis, functional correctness, is nearly saturated: on ten end-to-end tasks from\nestablished FHE benchmarking suites, each with a verified reference, three\nfrontier models succeed in 147 of 150 attempts. The open question is therefore no longer whether an agent can\nwrite a working FHE program, but whether that program is secure and\ndeployable.\n\nWe introduce \\textbf{AutoFHE-Bench}, which treats security as an observable\nruntime property of an execution. Across multi-stage pipelines from key\ngeneration to decryption, an independent judge holds the secret keys, draws\nfresh inputs, enforces OS-level client--server isolation, and decrypts results\nitself, and it bounds multiplicative depth and security level on the tasks that\nadmit such a bound. Nine adversarial control types score zero across 30\nexecutions. The benchmark shows that submissions receiving the same verdict\ndiffer, at the extremes, by $88\\times$ in encrypted-computation time on matrix\ninversion and $164\\times$ in evaluation-key size on encrypted retrieval, and\nthat stating and enforcing a depth budget reduces one model's median key\nmaterial by $3.3\\times$ at an unchanged pass rate. Two exploratory challenge\ntasks, reported separately, bound what the judge establishes: on one a model\nsynthesizes a bootstrapped ResNet-20 for CIFAR-10 at one quarter of the\nreference key material, and on the other a passing submission shows that\nverifying an encrypted execution does not verify which computation it\nperformed. We open-source the tasks, the judge, and the controls.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}