# GraphCue for SDN Configuration Code Synthesis

arXiv: https://arxiv.org/abs/2512.17371 · HTML: https://mlsanity.com/paper/2512.17371/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 19 Dec 2025.

## Built on by (most cited first, 1 of 1)

- [TopoEdge: Topology-Grounded Agentic Framework for Edge Networking Code Generation and Repair](https://mlsanity.com/paper/2603.00569/) (2026)

## Abstract (arXiv)

We present GraphCue, a topology-grounded retrieval and agent-in-the-loop framework for automated SDN configuration. Each case is abstracted into a JSON graph and embedded using a lightweight three-layer GCN trained with contrastive learning. The nearest validated reference is injected into a structured prompt that constrains code generation, while a verifier closes the loop by executing the candidate configuration and feeding failures back to the agent. On 628 validation cases, GraphCue achieves an 88.2 percent pass rate within 20 iterations and completes 95 percent of verification loops within 9 seconds. Ablation studies without retrieval or structured prompting perform substantially worse, indicating that topology-aware retrieval and constraint-based conditioning are key drivers of performance.
