mlsanityData to 7 Oct 2026

Interactive Clarification for Cloud Infrastructure-as-Code Synthesis

arXiv 2604.02382 ↗First posted 1 Apr 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

The scale and complexity of modern cloud infrastructure have made "Infrastructure-as-Code" (IaC) essential for managing deployments through declarative configurations. While large language models (LLMs) are increasingly used to generate IaC configurations from natural language, user requests are often ambiguous and underspecified. Unlike traditional code generation, it is costly and time-consuming to test IaC configurations during the synthesis, forcing the LLMs into an almost one-shot regime. We observe that ambiguity in IaC synthesis exhibits a compositional structure: configurations decompose into three axes (resources, topology, attributes) where higher-level decisions constrain lower-level ones. We propose a training-free, multi-level disambiguation framework that generates diverse candidate specifications, identifies structural disagreements across these axes, ranks them by informativeness, and produces targeted clarification questions that progressively narrow the configuration space. We further introduce Ambig-IaC, an expert-verified benchmark of 300 validated IaC tasks with ambiguous requests, and define evaluation metrics based on graph edit distance and exact attribute matching. Comprehensive experiments show that our method outperforms existing interactive clarification baselines, with gains that scale with the interaction budget and generalize across models. Extensive ablation studies and analyses further demonstrate its robustness for interactive IaC synthesis.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 25 references that are in the map. First posted on arXiv 1 Apr 2026.

Builds on

13 of 25 references.

References · 13

  1. 2020AmbigQA: Answering Ambiguous Open-domain Questionscited by 385
  2. 2024STaR-GATE: Teaching Language Models to Ask Clarifying Questionscited by 99
  3. 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 82
  4. 2024Modeling Future Conversation Turns to Teach LLMs to Ask Clarifying Questionscited by 70
  5. 2024Learning to Clarify: Multi-turn Conversations with Action-Based Contrastive Self-Trainingcited by 53
  6. 2022Interactive Code Generation via Test-Driven User-Intent Formalizationcited by 50
  7. 2025AIOpsLab: A Holistic Framework to Evaluate AI Agents for Enabling Autonomous Cloudscited by 36
  8. 2025Active Task Disambiguation with LLMscited by 23
  9. 2024Building AI Agents for Autonomous Clouds: Challenges and Design Principlescited by 19
  10. 2024A Survey of using Large Language Models for Generating Infrastructure as Codecited by 10
  11. 2025AmbiSQL: Interactive Ambiguity Detection and Resolution for Text-to-SQLcited by 10
  12. 2025Cloud Infrastructure Management in the Age of AI Agentscited by 9
1 more
  1. 2025Automated Cloud Infrastructure-as-Code Reconciliation with AI Agentscited by 5

Built on by

Not cited yet.