Skip to content
Book Open access

Exact-IaC: Execution-Driven Exact Knowledge Injection for Reliable IaC Synthesis

Oct 2026 · Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering · 0 citations · 51 references

TL;DR

Exact-IaC is proposed, an execution-driven framework designed to enhance SLMs for reliable IaC synthesis that establishes a zero-data-leakage orchestration pipeline, proving empirically that deterministic context precision can effectively substitute raw parameter scale for secure enterprise cloud provisioning.

Abstract

The deployment and maintenance of software systems rely heavily on Infrastructure-as-Code (IaC) to translate high-level infrastructure intent into deployable configurations. While Large Language Models (LLMs) show potential in automating IaC synthesis, relying on closed-source cloud APIs poses severe data privacy risks. Conversely, deploying Small Language Models (SLMs) locally often encounters performance bottlenecks due to schema hallucinations and attention dilution in long-context scenarios. Furthermore, existing retrieval-augmented generation (RAG), multi-turn repair, and semantic topology parsing approaches struggle to resolve complex declarative resource dependencies. In this paper, we propose Exact-IaC, an execution-driven framework designed to enhance SLMs for reliable IaC synthesis. It employs a divide-and-conquer strategy: it transitions from initial semantic intent approximation to an iterative repair loop that utilizes compiler feedback for deterministic schema injection. This approach effectively offloads the SLM’s parametric memorization burden. Extensive experiments on the IaC-Eval benchmark demonstrate the effectiveness and generalizability of Exact-IaC across diverse open-weight SLMs, yielding 55.0% to 69.8% relative gains. Specifically, for our primary 30B backbone (Qwen3-Coder), the framework elevates the Pass@1 rate from 31.00% (the performance ceiling of evaluated baselines) to 49.34%, achieving a 59.2% relative improvement. Notably, this locally deployed SLM, augmented by Exact-IaC, outperforms a top-tier proprietary model (GPT-5.2-Codex) operating under its strongest baseline setting (48.47%). Furthermore, our trajectory-level error analysis reveals the L6 Paradox: even at extreme infrastructure complexity, SLMs fail predominantly due to micro-parameter hallucinations rather than macroscopic topological reasoning deficits. Ultimately, Exact-IaC establishes a zero-data-leakage orchestration pipeline, proving empirically that deterministic context precision can effectively substitute raw parameter scale for secure enterprise cloud provisioning.

Read PDF

Similar papers

Book Open access Oct 2026

Poliac: Production Observability for LLM-Based Infrastructure as Code

POLIAC is introduced, an LLM-based framework that combines an IaC artifact, a natural-language specification, and aggregated operational data to generate infrastructure recommendations grounded in the state of the deployed system.

Haitam El Hayani, Jolan Philippe, Stéphanie Challita · 0 citations
#artificial intelligence Preprint Oct 2026

LYNX: Analytical Program Synthesis via Grounding and Closed-Loop Refinement

LLM-powered data analytics aims to translate natural language instructions into executable analytical programs over underlying data. However, existing approaches, whether treating LLMs as intent-to-code translators or as standalone analytical engines, often fail to reliably align domain semantics with complex schemas a...

Rui-Chen Xia, Xiao-Chuan Han, Ding-Yu Yang et al. · 0 citations

MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Coding

Recently, the rapid development of large language models (LLMs) has reshaped software engineering by enabling autonomous code agents that plan, execute, and utilize external tools iteratively to tackle complex tasks. Beyond achieving functional correctness, these agents must faithfully follow process instructions and c...

Bo-Si Wen, Cun-Xiang Wang, Jia-Yi Gui et al. · 1 citation
Sep 2026

NetInspector: Measuring and Improving LLM Capabilities for Reliable Intent-Based Networking Policy Generation

It is shown that while fine-tuned LLMs excel at intent translation, they exhibit false negative rates when checking whether a proposed intent violates an existing security policy, and NetInspector is introduced, a three-layer agentic framework that enforces a verify-then-act protocol.

Yuxuan Zhang, Hong-Xin Hu, Guo-Fei Gu · 2 citations
Preprint Nov 2026

How Far Can Lightweight LLMs Go in Intent-to-SLO Translation?

Intent-based networking (IBN) promises QoS provisioning in which the network derives the configuration from operator-stated goals. Its first step, translating a natural-language intent into enforceable service-level objectives (SLOs) grounded in a live snapshot of the network state, increasingly relies on large languag...

Sabbir Ahmed, Hazem Abbas, Salimur Choudhury · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.