mlsanityData to 7 Oct 2026

FHE-Agent: Automating CKKS Configuration for Practical Encrypted Inference via an LLM-Guided Agentic Framework

arXiv 2511.18653 ↗First posted 23 Nov 2025cs.CR cs.AI cs.LGcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Fully Homomorphic Encryption (FHE), particularly the CKKS scheme, is a promising enabler for privacy-preserving MLaaS, but its practical deployment faces a prohibitive barrier: it heavily relies on domain expertise. Configuring CKKS involves a tightly coupled space of ring dimensions, modulus chains, and packing layouts. Without deep cryptographic knowledge to navigate these interactions, practitioners are restricted to compilers that rely on fixed heuristics. These "one-shot" tools often emit rigid configurations that are either severely over-provisioned in latency or fail to find a feasible solution entirely for deeper networks. We present FHE-Agent, an agentic framework that automates this expert reasoning process. By coupling a Large Language Model (LLM) controller with a deterministic tool suite, FHE-Agent decomposes the search into global parameter selection and layer-wise bottleneck repair. The agents operate within a multi-fidelity workflow, pruning invalid regimes using cheap static analysis and reserving expensive encrypted evaluations for the most promising candidates. We instantiate FHE-Agent on the Orion compiler and evaluate it on standard benchmarks (MLP, LeNet, LoLa) and deeper architectures (AlexNet). FHE-Agent consistently achieves better precision and lower latency than na"ive search strategies. Crucially, it automatically discovers feasible, 128-bit secure configurations for complex models where baseline heuristics and one-shot prompts fail to produce a valid setup.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 10 of its 34 references that are in the map. First posted on arXiv 23 Nov 2025.

Builds on

10 of 34 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025TFHE-Coder: Evaluating LLM-agentic Fully Homomorphic Encryption Code Generation15 Mar

Other references · 9

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  2. 2018Gazelle: A Low Latency Framework for Secure Neural Network Inferencecited by 193
  3. 2022THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryptioncited by 55
  4. 2020HeLayers: A Tile Tensors Framework for Large Neural Networks on Encrypted Datacited by 22
  5. 2019EVA: An Encrypted Vector Arithmetic Language and Compiler for Efficient Homomorphic Computationcited by 20
  6. 2023Orion: A Fully Homomorphic Encryption Framework for Deep Learningcited by 14
  7. 2020AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network Inferencecited by 7
  8. 2024GuardML: Efficient Privacy-Preserving Machine Learning Services Through Hybrid Homomorphic Encryptioncited by 7
  9. 2025CryptOracle: A Modular Framework to Characterize Fully Homomorphic Encryptioncited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025SoK: Can Fully Homomorphic Encryption Support General AI Computation? A Functional and Cost Analysis ↗
  2. 2026ShannonProver: Towards Automating Formal Cryptographic Proofs
  3. 2025CipherBank: Exploring the Boundary of LLM Reasoning Capabilities through Cryptography Challenges
  4. 2026PAAC: Privacy-Aware Agentic Device-Cloud Collaboration
  5. 2025EncGPT: A Multi-Agent Workflow for Dynamic Encryption Algorithms
  6. 2025AgentCrypt: Advancing Privacy and (Secure) Computation in AI Agent Collaboration
  7. 2026WebWeaver: Breaking Topology Confidentiality in LLM Multi-Agent Systems with Stealthy Context-Based Inference
  8. 2026SecMoE: Communication-Efficient Secure MoE Inference via Select-Then-Compute