Ambig-IaC: Multi-level Disambiguation for Interactive Cloud Infrastructure-as-Code Synthesis
arXiv cs.AI / 4/6/2026
💬 OpinionSignals & Early TrendsIdeas & Deep AnalysisModels & Research
Key Points
- The paper addresses a key limitation of using LLMs for Infrastructure-as-Code (IaC) generation: natural-language requests are often underspecified, and incorrect IaC is hard to iteratively repair because it cannot be executed cheaply.
- It proposes that IaC ambiguity has a compositional, hierarchical structure across three axes—resources, topology, and attributes—where higher-level choices constrain lower-level ones.
- The authors introduce a training-free, disagreement-driven framework that generates multiple candidate specifications, detects structural disagreements, ranks them by informativeness, and asks targeted clarification questions to progressively reduce ambiguity.
- They release the Ambig-IaC benchmark with 300 validated IaC tasks containing ambiguous prompts, along with an evaluation approach using graph edit distance and embedding similarity.
- Experiments report relative gains over the strongest baseline of +18.4% (structure) and +25.4% (attributes), suggesting the approach improves LLM-based IaC synthesis under underspecified inputs.
💡 Insights using this article
This article is featured in our daily AI news digest — key takeaways and action items at a glance.




