English

LLM-Based Config Synthesis requires Disambiguation

Networking and Internet Architecture 2025-07-17 v1 Artificial Intelligence Human-Computer Interaction Programming Languages

Abstract

Beyond hallucinations, another problem in program synthesis using LLMs is ambiguity in user intent. We illustrate the ambiguity problem in a networking context for LLM-based incremental configuration synthesis of route-maps and ACLs. These structures frequently overlap in header space, making the relative priority of actions impossible for the LLM to infer without user interaction. Measurements in a large cloud identify complex ACLs with 100's of overlaps, showing ambiguity is a real problem. We propose a prototype system, Clarify, which uses an LLM augmented with a new module called a Disambiguator that helps elicit user intent. On a small synthetic workload, Clarify incrementally synthesizes routing policies after disambiguation and then verifies them. Our treatment of ambiguities is useful more generally when the intent of updates can be correctly synthesized by LLMs, but their integration is ambiguous and can lead to different global behaviors.

Keywords

Cite

@article{arxiv.2507.12443,
  title  = {LLM-Based Config Synthesis requires Disambiguation},
  author = {Rajdeep Mondal and Nikolaj Bjorner and Todd Millstein and Alan Tang and George Varghese},
  journal= {arXiv preprint arXiv:2507.12443},
  year   = {2025}
}
R2 v1 2026-07-01T04:04:42.302Z