---
title: 'Config But Verify! ReGeNet: A Reflective Multi-Agent Framework for Multimodal Intent-Based Networking'
authors: ['Aviram Zilberman', 'Rubin Krief', 'Abed Showgan', 'Andres Murillo', 'Ortal Lavi', 'Motoyoshi Sekiya', 'Beni Ifland', 'Asaf Shabtai', 'Yuval Elovici', 'Rami Puzis']
date: 2026-11-30
categories: ['cs.NI', 'cs.AI', 'cs.CR']
tags: ['multi_agent', 'system_design']
source_id: '2611.36629'
source_url: 'https://arxiv.org/abs/2611.36629'
description: 'Communication network engineering in enterprise environments is complex and error-prone, since configuration mistakes or overlooked topology changes can disrupt operations and introduce security...'
keywords: ['cs.NI', 'cs.AI', 'cs.CR', 'Config', 'Verify', 'ReGeNet']
canonical: 'https://dailyreading.cc/records/arxiv_2611.36629'
---
# Config But Verify! ReGeNet: A Reflective Multi-Agent Framework for Multimodal Intent-Based Networking
Aviram Zilberman3,1,\*, Rubin Krief1 , Abed Showgan1 , Andres Murillo2 , Ortal Lavi2 , Motoyoshi Sekiya2 , Beni Ifland1 , Asaf Shabtai1 , Yuval Elovici1 , Rami Puzis1
1Ben-Gurion University of the Negev, Faculty of Computer and Information Science and Cyber@BGU 2 Fujitsu
> 3 Jerusalem College of Technology
\* Corresponding author: Aviram Zilberman [aviramz@jct.ac.il](mailto:aviramz@jct.ac.il)
*Abstract*—Communication network engineering in enterprise environments is complex and error-prone, since configuration mistakes or overlooked topology changes can disrupt operations and introduce security risks. Automation research has mainly targeted textual, device-level configuration, giving less attention to topology updates. Recent intent-based networking (IBN) approaches use large language models (LLMs) to simplify network engineering, and best practice recommends automated verification to reduce erroneous or hallucinated outputs; existing verification mainly analyzes device configurations, overlooking topology-level intents needed for holistic frameworks. We introduce *Reflective-GeNet (ReGeNet)*, a multi-agent network copilot with a self-verification loop that reduces LLM-induced errors, extending *GeNet*, a multimodal copilot interpreting device configurations and visual diagrams to modify networks per user intent. Experiments with nine LLMs on topology image interpretation show *GPT-4.1-mini* and *o4-mini* outperform vision-oriented LLMs; verification mainly benefits non-reasoning models, letting an efficient one match a costlier reasoning model, while reasoning models gain only marginally. Evaluations on a Cisco-inspired multimodal IBN benchmark from GNS3Vault certification-style exercises show *ReGeNet* improves reliability and trustworthiness, though these scenarios do not fully capture the scale, heterogeneity, and constraints of production networks. Beyond *ReGeNet*, this work contributes a failure taxonomy of multimodal LLM-based IBN systems and a scalability characterization of LLM topology understanding across networks of up to 750 nodes.
*Index Terms*—Intent-Based Networking, Multi-Agent, LLM, Co-Pilot, Network Topology, Network Configuration
## I. INTRODUCTION
Communication network engineering in enterprise environments is complex, time-consuming, and error-prone, relying on large information technology (IT), network operations (NetOps), and network engineering teams to design topologies, map networks, and configure components according to established policies and security best practices [1](#page-19-0). Growing architectural diversity makes these tasks increasingly challenging [2](#page-19-1), requiring coordination across heterogeneous devices, systems, and standards.
To simplify these workflows, researchers have explored intent-based networking (IBN) [3](#page-19-2), which bridges high-level intents and low-level implementations. Early IBN frameworks relied on formal languages and optimization tools [4](#page-19-3), offering determinism but limited flexibility. More recent approaches use natural language processing (NLP)-based tools such as LLMs to reduce this formality and assist engineers in generating device configurations and policies [5](#page-19-4), [6](#page-19-5), inspired by programming co-pilots such as GitHub Copilot[1](#page-0-0) and Amazon CodeWhisperer[2](#page-0-1) [7](#page-19-6), [8](#page-19-7).
1
Most network automation research, however, focuses on configuration synthesis, overlooking topology management. An exception is GeNet [1](#page-19-0), which integrates multimodal capabilities and visual question answering (VQA) techniques [9](#page-19-8) to interpret topology sketches or images alongside device configurations, allowing topology images to serve directly as IBN specifications [10](#page-19-9).
LLMs remain prone to errors and hallucinations, motivating verification mechanisms [5](#page-19-4). Traditional verification relies on formal analysis of configurations [11](#page-19-10)–[13](#page-19-11), which is rigid, resource-intensive, and insufficient for broader network engineering tasks [1](#page-19-0). Recent work has explored LLM-driven verification [14](#page-19-12), but studies of verification quality, reasoning capabilities, and multimodal input remain sparse.
We introduce *Reflective-GeNet (ReGeNet)*, a multi-agent copilot that extends *GeNet* with a self-verification loop reducing LLM-induced errors: one agent implements user intents while a second independently verifies outcomes and provides corrective feedback. Verification improves implementation quality for non-reasoning LLMs (+0.99 IIS points on average), enabling GeNet+V to perform comparably to the reasoning model baseline (GeNet+R). Reasoning-capable models see no significant additional benefit from verification, consistent with the broader self-correction literature [15](#page-19-13).
*Reflective-GeNet* (ReGeNet) comprises two modules: *Topology Understanding* (Section [III-A\)](#page-3-0) and *Reflective Intent Implementation* (Section [III-B\)](#page-4-0). The former robustly interprets topology images of varying quality, including messy sketches and scanned diagrams. Across nine state-of-the-art LLMs,
1https://github.com/features/copilot
2https://aws.amazon.com/codewhisperer/
*GPT-4.1-mini* and *o4-mini* significantly outperform the others, with *LLaMA-3.2-Vision-Instruct 11B* failing to generate valid topology JSON in 84% of cases; *GPT-4.1-mini* is also more token-efficient than *o4-mini*.
The latter module shows that verification improves implementation quality for non-reasoning LLMs (*[GeNet+V](#page-9-0)*) by +0.99 IIS points on average, enabling it to match the reasoning model baseline (*[GeNet+R](#page-9-0)*); adding verification to a reasoning LLM (*[GeNet+RV](#page-9-0)*) yields no significant further gain, with a point estimate of −0.19 IIS points, suggesting the two mechanisms provide partially overlapping benefits. Non-reasoning LLMs maintain consistent quality across complexity levels, while reasoning LLMs do slightly better on easier scenarios; token usage scales with complexity and implementation time is similar across methods.
The example below illustrates the practical utility of ReGeNet:
Example 1 (Adding Local PCs). *Management requests adding three workstations to a lab, but all ports on the corresponding switch are occupied. The engineer provides this intent, along with an image of the lab's topology and the raw device configurations. The* ReGeNet *implementation agent detects that the switch has no available ports and initially suggests connecting the new workstations directly to the department's router. However, the* ReGeNet *verification agent reviews this proposal, notes that it violates network design standards and best practices, and instead recommends adding another switch in a daisy chain and connecting the workstations to it. The implementation agent accepts the feedback and generates the updated configurations and topology accordingly.*
In Section [IV,](#page-5-0) we evaluate ReGeNet on a multimodal IBN benchmark [1](#page-19-0) based on Cisco certification exercises, spanning scenarios of varying complexity and input quality, examining topology understanding, token efficiency, and the combined impact of reasoning and verification on intent implementation quality. The results show that ReGeNet improves reliability and handles both simple and complex intents effectively, highlighting its practical potential for enterprise network automation.
## *A. Contributions*
This paper makes the following main contributions:
- We present ReGeNet, a multi-agent network copilot that employs a self-verification loop to reduce LLM-induced semantic configuration errors in IBN, providing an explicit, auditable correction trace.
- We develop a *Topology Understanding* module that converts network topology images—including low-quality sketches—into structured JSON representations using Vision-Language Large Models (VLLMs). Two of nine benchmarked models (*GPT-4.1-mini* and *o4-mini*) achieve reliable performance; the remaining seven exhibit substantial failure rates.
- We design a *Reflective Intent Implementation* module in which implementation and verification agents iteratively refine configurations and topologies. This module introduces an automated verification mechanism that improves
- LLM-judged intent implementation quality, particularly for non-reasoning LLMs (+0.99 IIS points on average), and provides a verifier pass/fail signal that can support human oversight decisions in mission-critical deployments.
- We benchmark nine state-of-the-art LLMs on topology understanding and evaluate the two best-performing models on intent implementation, revealing the impact of reasoning capabilities, token efficiency, and the contribution of ReGeNet's verification loop.
- We provide the first systematic study, to the best of our knowledge, of the interaction between LLM reasoning and external verification in multimodal IBN. Our results show that verification improves intent implementation quality for non-reasoning LLMs, enabling GeNet+V to match the reasoning model baseline (GeNet+R). Adding verification to a reasoning model (GeNet+RV) yields no significant further improvement, with a point estimate of −0.19 IIS points—a result consistent with the selfcorrection literature [15](#page-19-13) and an informative negative finding in its own right.
- We derive practical guidance for enterprise network engineers and system designers by showing that comparable performance can be achieved either through a lightweight non-reasoning model with verification or through a more expensive reasoning model without external verification, thereby enabling better trade-offs between quality, latency, and computational cost.
- We validate ReGeNet on a multimodal IBN benchmark with realistic Cisco-inspired scenarios, demonstrating its improved intent implementation quality, robustness to input variations, and practical efficiency for network copilot deployment compared to baselines. Additionally, we provide a comprehensive engineering analysis of multimodal IBN systems, including LLM failure modes, verification-induced errors, and topology-understanding scalability up to a model-dependent reliable processing limit in the 150–500 node range, beyond which accuracy degrades sharply.
The remainder of this paper is structured as follows. Section [II](#page-1-0) provides background and reviews related work. The ReGeNet framework and its core modules are introduced in Section [III.](#page-3-1) Section [IV](#page-5-0) presents our benchmark datasets, experimental setup, evaluation criteria, and results. Finally, in Section [V,](#page-18-0) we summarize the main findings and outline directions for future work.
## II. BACKGROUND AND RELATED WORK
Modern enterprise networks require scalable, adaptive, and intelligent management. This section reviews prior work on automated configuration, LLM-driven networking, agentic frameworks, verification, and multimodal inference.
#### *A. Automated Network Configuration*
Manual network configuration is complex and error-prone. IBN automates this by translating high-level user intents into low-level device configurations [3](#page-19-2). The IETF has standardized core concepts and protocol foundations for this space: RFC 9315 [16](#page-19-14) defines intent-based networking concepts and terminology; RFC 6241 [17](#page-19-15) specifies the NETCONF protocol for configuration management, including and commit-confirmation operations; and RFC 7950 [18](#page-19-16) defines YANG, the data modeling language used in modeldriven configuration. Production IBN systems typically land changes via NETCONF/YANG rather than raw CLI text, with atomicity, rollback, and configuration-drift detection built into the protocol layer. The present work generates CLI-level configurations—a practical choice for evaluation in GNS3 based environments—and engagement with the full NET-CONF/YANG stack remains an important direction for future work (Section [V\)](#page-18-0). Early systems relied on domain-specific languages [19](#page-19-17), while more recent approaches use structured data [20](#page-19-18) or natural language inputs [10](#page-19-9), [21](#page-19-19). Intents have been mapped to configurations using compilers [4](#page-19-3), deep learning models [7](#page-19-6), search-based algorithms [20](#page-19-18), and hybrid strategies. For instance, Jacobs et al. [6](#page-19-5), introduced LUMI, a system that utilizes machine learning and a dedicated compiler to translate operator intents into network configurations and deploy them. Another example is NetMind [22](#page-19-20), which combines Deep Reinforcement Learning (DRL) with Graph Convolutional Networks (GCNs) to determine the function placement strategies in Radio Access Networks (RANs) with diverse topologies, aiming at minimizing power consumption. Each method balances transparency, flexibility, and computational cost differently.
#### *B. LLMs and Network Configuration*
Transformer-based LLMs [23](#page-19-21) enable reasoning, code generation, and complex task execution. Researchers have explored the use of LLMs in networking to translate intents into device configurations [24](#page-19-22), [25](#page-19-23) and leverage APIs for complex tasks [26](#page-20-0). For instance, Zhao et al. [8](#page-19-7) and Adanza et al. [27](#page-20-1) combined LLMs with retrieval augmented generation (RAG) to generate and manage configurations from natural language intents. However, evaluations typically focus on minimal topologies or small configuration snippets. For instance, Lira et al. present LLM-NetCFG [28](#page-20-2), which introduces a privacy-aware architecture that employs a locally deployed LLM to generate network configuration, but evaluates it solely on a four-router, two-host topology. Donadel et al. [29](#page-20-3) found that GPT-4 achieves the strongest results in network comprehension. Additionally, benchmarking frameworks such as NetConfEval [10](#page-19-9), which also explore the use of LLMs for network configuration generation, and NetLLMBench [30](#page-20-4) have shown that GPT-4 performs best in IBN tasks.
Notable frameworks include Emergence [31](#page-20-5), which converts intents into MAPE-K [32](#page-20-6) policy trees, supporting monitoring but not direct configurations; ConfigTrans [33](#page-20-7), which combines LLMs with constraint-solving but faces scalability issues; Network CoPilot [34](#page-20-8), which translates intents to device-specific configurations but struggles with heterogeneous deployments; and GeNet [1](#page-19-0), which leverages multimodal inputs, including topology images, to implement intents efficiently, but lacks mechanisms for output verification and refinement.
## *C. Agentic-AI Frameworks*
Agentic-AI integrates multiple specialized LLM agents for coordination, complex reasoning, and closed-loop adaptation. Guo et al. [35](#page-20-9) reviewed multi-agent LLM systems, noting challenges in standardization and reproducibility. In networking, Wang and Li [36](#page-20-10) introduced a multi-agent LLM framework for task decomposition and refinement, and Sun et al. [37](#page-20-11) developed *SCNOC-Agentic* for satellite network control; however, these works lack multimodal inference and self-verification, which our work addresses (see also [38](#page-20-12)– [40](#page-20-13)).
## *D. Verification Using LLMs*
Verification is critical for LLM-based IBN, given LLMs' propensity for errors and hallucinations [5](#page-19-4). Traditional formal verification methods, e.g., Mondal et al.'s verifiers [11](#page-19-10), [12](#page-19-24) and Batfish [41](#page-20-14), offer rigorous, specification-driven guarantees and are not subject to the ambiguity that can affect naturallanguage descriptions. Their primary limitation for our setting is scope rather than rigor: they operate on fully specified, syntactically valid configurations and cannot reason over topology images, evaluate structural intent changes expressed in natural language, or handle intents that are partially underspecified tasks that are central to multimodal IBN. LLM-based verification is therefore not a replacement for formal analysis but a complementary layer of intent-alignment checking. An important direction for future work, noted in our conclusions, is a hybrid architecture in which an LLM agent handles intentlevel semantic validation while a formal analyzer provides configuration-level correctness guarantees downstream.
LLMs offer a more adaptive alternative: Hu et al.'s *QualityFlow* [42](#page-20-15) uses an LLM for program-synthesis quality checks, and Gu et al. [43](#page-20-16) survey *LLM-as-a-judge* methods, noting limited transparency. In networking, Wei et al. [14](#page-19-12) used LLMs for semantic configuration verification; however, combining LLM verification with reasoning in multimodal enterprise IBN remains largely unstudied.
A line of work on LLM self-correction is directly relevant to our design. Huang et al. [15](#page-19-13) show that LLMs cannot reliably improve their own outputs through intrinsic selfcritique without external signal; Shinn et al. [44](#page-20-17) and Madaan et al. [45](#page-20-18) propose reinforcement- and feedback-based refinement loops that rely on external evaluation signals to drive improvement; and Stechly et al. [46](#page-20-19) demonstrate that iterative prompting without grounded feedback often fails to correct reasoning errors. Our GeNet+RV result—where same-model verification does not significantly improve over the unverified reasoning baseline—is consistent with these findings, and we explicitly frame it as a replication of this negative result in the multimodal IBN domain. Importantly, these works also suggest that *cross-model* or *externally grounded* verification loops are more likely to provide genuine benefit, motivating future work on heterogeneous-agent verification for IBN.
## *E. Multimodal Inference and VQA*
Multimodal inference extends NLP with visual information, exemplified by VQA, answering questions grounded in images. Early convolutional/recurrent VQA models [47](#page-20-20) generalized poorly; vision-capable LLMs now enable end-toend multimodal inference [48](#page-20-21), e.g., diagram interpretation, evaluated via benchmarks like [49](#page-20-22).
In networking, our prior work [1](#page-19-0) used VQA to describe topology images for multimodal IBN; its unstructured outputs motivated the structured LLM outputs used here.
In summary, prior IBN, LLM-configuration, agentic-AI, verification, and multimodal-inference work remains limited: LLMs still hallucinate, verification centers on formal configuration checks, topology understanding struggles with lowquality diagrams, and LLM-based topology verification is rarely integrated. *ReGeNet* addresses these gaps by combining multimodal topology understanding, multi-agent inference, and LLM verification, leveraging both reasoning and nonreasoning LLMs to reduce errors and improve intent implementation accuracy in realistic enterprise scenarios.
We extend our previous study [1](#page-19-0) as follows:
- A self-verification loop extending GeNet, improving reliability and reducing human intervention (Section [III-B\)](#page-4-0).
- Improved topology understanding via structured LLM responses (Section [III-A\)](#page-3-0).
- A benchmark of nine state-of-the-art LLMs on topology understanding (Section [IV-B3\)](#page-9-1).
- An intent-implementation benchmark of the two leading LLMs, comparing reasoning versus non-reasoning models (Section [IV-B4\)](#page-9-0).
- An analysis of the token usage-quality tradeoff (Sections [IV-E3](#page-11-0) and [IV-E5\)](#page-16-0).
- • A domain expert survey on scenario complexity, aligned with system performance (Section [IV-E5\)](#page-16-0).
## III. THE REGENET FRAMEWORK
This section describes ReGeNet, an agentic framework for IBN designed to mitigate LLM-induced errors and hallucinations through a built-in self-verification loop. Provided with a natural language intent and the current network state (topology and device configurations), ReGeNet produces updated specifications that implement the intent while maintaining correctness.
As shown in Figure [1,](#page-3-2) ReGeNet has a modular design, motivated by the observation that LLMs show greater reliability when complex tasks are broken down into smaller, well-

Fig. 1: Overview of ReGeNet: topology interpretation, iterative intent implementation with self-verification, and automatic evaluation of the updated network specification.
defined components [10](#page-19-9). The framework consists of three core modules:
- *Topology Understanding*, which converts a network topology image into a structured JSON representation;
- *Reflective Intent Implementation*, in which an implementation agent and a verification agent iteratively refine topology and configuration updates until the intent is satisfied;
- *Automatic Evaluation Framework*, which assesses the quality of the resulting solutions utilizing an LLM.
This architecture advances prior LLM-based IBN approaches by embedding reflection and verification directly into the workflow. The result is a more reliable and adaptable framework for intent implementation.
ReGeNet is a direct continuation of our earlier work on *GeNet* [1](#page-19-0), which demonstrated the potential of multimodal copilots for interpreting both textual and visual representations of networks. While *GeNet* focused on topology understanding and multimodal intent implementation, it lacked mechanisms for verifying and refining outputs. ReGeNet addresses this limitation by integrating a self-verification loop, thereby providing a more comprehensive and trustworthy IBN framework. In the following subsections, we describe each module in detail and present the research questions that guide our evaluation.
## *A. Topology Understanding Module*
The *Topology Understanding* module converts a network topology image into a structured JSON representation, leveraging LLMs' VQA capabilities under carefully designed output constraints. The model receives the image alongside a detailed system prompt (Figure [2,](#page-3-3) shown as *System Prompt* in Figure [1\)](#page-3-2). Acting as a network topology analyst, the LLM must
```
1 As a network topology analyst, you are given an image of a network topology diagram.
2 Analyze it carefully and return **only** a single JSON object in the exact format below, without
extra text.
4 {
5 "nodes": [
6 {
7 "label": "", // Avoid adding component type to the name of the component i.e
. router R1 should be called "R1" rather than "Router R1"
8 "icon": "",
9 // If icons are not illustrated in the diagram, use an empty string ("") for the icon
10 // If the icon's name differs, map it to the closest option above e.g. "Desktop computer
symbol" -> "pc".
11 }
12 // ...repeat for every device in the topology (routers, firewalls, switches, PCs, etc.)
13 ],
15 "links": [
16 ["", "", "", "<
destination_interface>"]
17 // If interfaces are not illustrated in the diagram, use an empty string ("") for both
interface fields.
18 // ...repeat for every edge/connection in the topology
19 ]
20 }
```
Fig. 2: The *Topology Understanding* system prompt.
output a predefined JSON schema of nodes and links: each node has a label and, if available, an icon from a restricted set (empty string otherwise, to limit hallucination); each link is a source-target tuple with interfaces, similarly defaulting to empty strings when unavailable. The prompt enforces JSON-only responses with the schema repeated per node and link, reducing omissions and ensuring uniform output; these constraints were iteratively refined in preliminary experiments to improve consistency and robustness.
Building on [1](#page-19-0), this module extends GeNet's multimodal pipeline with stricter output constraints and schema enforcement, yielding a more reliable, structured translation of visual topologies that underpins the subsequent reflective intent implementation module.
Several corner cases challenge the robustness of the Topology Understanding module. Low-resolution images reduce the effective pixels per node available to the vision model's tokenizer, making device labels and link endpoints difficult to resolve; this effect compounds as topology size grows, and is a contributing factor to the phase transition observed in Section [IV-E3d.](#page-13-0) Overlapping edges—present by design in our *Messy Layout* variants—similarly degrade link detection accuracy, as the model must disambiguate visually coincident paths. When the source diagram file is available (e.g., a GNS3 project file or a draw.io XML export), a deterministic parser would bypass these failure modes entirely and is preferable; the LLM vision pipeline is intended for cases where only a rasterized image is available, such as scanned hand-drawn sketches or photographed whiteboards.
## *B. Reflective Intent Implementation Module*
The *Reflective Intent Implementation* module updates network specifications to align with user intents while minimizing LLM-induced errors and hallucinations. It builds on Microsoft's Autogen framework [50](#page-20-23), which enables multi-agent collaboration, and leverages OpenAI's Assistants API[3](#page-4-1) for file exchange and state management during interactions.
This module consists of two agents: the *implementation agent*, which applies user-specified changes to the topology and device configurations, and the *verification agent*, which validates the updates and provides corrective feedback. The agents iterate until consensus is reached, ensuring correctness. In addition, the implementation agent generates humanreadable explanations of the changes applied, providing both information to the user and transparency.
As in the *Topology Understanding* module, both agents are initialized with detailed system prompts that specify their roles, responsibilities, and expected outputs. These instructions were refined in preliminary experiments to achieve stable and reproducible performance. The implementation code and prompts are available in our Git repository.[4](#page-4-2)
## *1) Implementation Agent*
The implementation agent functions as an expert in network topology and configuration. Its task is to faithfully execute user intents by updating the JSON topology and modifying device configurations as required. Because early experiments showed frequent partial or misinterpreted updates, the agent is provided with structured guidelines to ensure completeness. These guidelines cover tasks such as creating new nodes or links, editing existing configurations, and preserving schema consistency.
The agent submits its modifications to the verification agent for review and iteratively incorporates feedback until it obtains full approval. Afterward, it generates a structured summary of all changes and produces an updated file list. Although the framework itself was not adapted to any specific configuration language, our empirical evaluation is limited to Cisco-inspired scenarios; validating performance on additional vendors and configuration syntaxes remains an important direction for future work.
## *2) Verification Agent*
The verification agent aims to improve the likelihood that updates produced by the implementation agent are both correct and aligned with the user's intent, while also preventing unintended side effects. Its instructions, adapted from our automatic evaluation framework (Section [III-C\)](#page-4-3), remain generic rather than scenario-specific, making the agent broadly applicable.
This agent reviews the original and updated files, checks compliance with the user's intent, and records all approved files. It also enforces strict naming conventions to maintain consistency across iterations. During operation, it reloads the verified file list, only approves new updates if fully correct, and re-examines previously approved files if subsequent changes affect them.
## *C. Automatic LLM-Based Evaluation*
For ReGeNet to function as a reliable evaluator, its LLMbased evaluation must align closely with human judgments. We therefore adopt GeNet's automatic evaluation framework for IBN intent implementations [1](#page-19-0), which demonstrated high correlation with expert assessments. This framework rests on the hypothesis that evaluating implementations against predefined scoring keys is simpler for LLMs than producing the implementations themselves.
The evaluation module uses the Assistants API, where the evaluation LLM—*GPT-4o* (accessed via the OpenAI Assistants API at temperature 0)—receives (i) explicit evaluation instructions, (ii) the task-specific scoring keys (Section [IV-C3\)](#page-10-0), and (iii) the network topology and device configurations before and after intent implementation. We note that temperature 0 reduces but does not eliminate non-determinism in the OpenAI API; Table [VIII](#page-17-0) shows that 25% of verificationinduced degradations are classified as Re-evaluation Inconsistency, reflecting judge variability even at temperature 0. This noise level should be interpreted alongside the +0.99 IIS effect being defended, and constitutes a limitation of LLM-based evaluation. To ensure reliability, the evaluator receives the ground-truth topology (not the one generated by the *Topology Understanding* module) as input for scoring purposes only. Importantly, the Intent Implementation Score (IIS) is computed based on the outputs of the full pipeline, where the Implementation module operates on the topology produced by the Topology Understanding module. Therefore, any errors introduced in topology understanding do propagate into the implementation stage and are reflected in the IIS. The use of ground-truth topology at the evaluation stage is solely to ensure accurate and consistent assessment of the final outcome, rather than to bypass upstream errors. Importantly, the evaluation is conducted independently, without access to the *Intent Implementation module* agents' explanations. This design ensures that the assessments are unbiased and based
3https://platform.openai.com/docs/assistants/overview?context=withstreaming
4[https://github.com/networkcopilot/ReGeNet/tree/main/Code/Reflective%](https://github.com/networkcopilot/ReGeNet/tree/main/Code/Reflective%20Intent%20Implementation%20Module) [20Intent%20Implementation%20Module](https://github.com/networkcopilot/ReGeNet/tree/main/Code/Reflective%20Intent%20Implementation%20Module)
solely on the final outcomes. The complete instructions [5](#page-5-1) and scoring keys [6](#page-5-2) are available in our Git repository.
### *D. Research Questions*
Our evaluation is guided by the following research questions, which were formulated in response to the limitations of prior work. Prior work on IBN has largely overlooked topologylevel inference, lacked practical verification mechanisms, and rarely examined efficiency or complexity factors. To address these gaps, we structure our investigation around the following five questions:
Research Question 1. *How robustly can VLLMs interpret network diagrams of varying quality and layout complexity? (Section [IV-E3\)](#page-11-0)*
*Motivation: Previously proposed frameworks focused mainly on textual configuration synthesis, leaving the interpretation of messy or imperfect topology diagrams underexplored.*
Research Question 2. *To what extent does a multi-agent selfverification loop improve the quality of intent implementations in multimodal IBN? (Section [IV-E4\)](#page-13-1)*
*Motivation: Existing verification techniques emphasize formal configuration analysis, which is rigid and impractical for holistic frameworks that must also handle topologies.*
Research Question 3. *How does the reasoning ability of LLMs influence the utility of external verification mechanisms in multi-agent systems? (Section [IV-E4\)](#page-13-1)*
*Motivation: With reasoning-enhanced LLMs, it remains unclear whether reflective verification provides substantial benefits or whether reasoning suffices.*
Research Question 4. *How does the perceived complexity of intents, as judged by domain experts, align with the quality of topology understanding and intent implementation achieved by an LLM-based networking co-pilot? (Section [IV-E5\)](#page-16-0)*
*Motivation: Prior studies rarely evaluated how system performance corresponds to expert expectations, leaving the question of real-world usability and trustworthiness open.*
Research Question 5. *What are ReGeNet's efficiency tradeoffs, in terms of token usage, execution time, and practicality for enterprise-scale deployment? (Section [IV-E3](#page-11-0) and Section [IV-E5\)](#page-16-0)*
*Motivation: While previous studies have focused mainly on accuracy and correctness, the real-world adoption of multimodal IBN systems depends on their operational efficiency. Understanding how computational cost and latency evolve across different LLM architectures and input variations is essential to designing deployable and cost-effective network co-pilots.*
These research questions move from examining multimodal robustness (RQ1), to addressing verification and reasoning (RQ2, RQ3), aligning technical outcomes with expert judgment (RQ4), and finally, exploring efficiency and scalability (RQ5). This progression allows us to systematically address prior work's open challenges and demonstrate how ReGeNet advances the state of the art in reflective, multimodal IBN.
#### IV. EXPERIMENTS
This section describes the experiments conducted to investigate the research questions presented in Section [III-D.](#page-5-3) Our goal is to assess the performance and capabilities of the ReGeNet framework, as well as the factors that influence its effectiveness.
We begin with a description of the multimodal IBN benchmark dataset introduced in our previous study [1](#page-19-0), which includes scenarios derived from Cisco certification exercises and multiple variants of topology images (Section [IV-A\)](#page-5-4). We then discuss the experimental setup (Section [IV-B\)](#page-6-0) and criteria used to evaluate the quality of both topology interpretation and intent implementation (Section [IV-C\)](#page-10-1). Next, we present our domain expert survey, which is used to assess the scenario complexity (Section [IV-D\)](#page-11-1). Finally, we provide and discuss our experimental results (Section [IV-E\)](#page-11-2).
## *A. Datasets*
We constructed our dataset by adapting training scenarios from GNS3Vault,[7](#page-5-5) an online repository that provides downloadable GNS3 labs, topologies, and configurations to help users practice and learn real-world network setups using Cisco and other vendor devices. In collaboration with IT experts, we designed 10 scenarios, each comprising a natural language intent and detailed network specifications, including device configurations and topology images. Five scenarios focus on topology modifications, while the other five target configuration updates (Table [I\)](#page-6-1). The two groups are respectively referred to as *topology* and *configuration* scenarios. This dataset is referred to as the *Original* dataset and is publicly available in GeNet's Git repository.[8](#page-5-6) To ensure realistic specifications, all scenarios were initially implemented in a network emulator, from which we extracted topology images and device configurations.
Although derived from certification-oriented training material, the selected GNS3 Vault scenarios capture representative network engineering tasks commonly encountered in enterprise environments, including topology modification, routing, access control, and service configuration. However, these scenarios remain smaller, more structured, and less heterogeneous than production enterprise networks. Consequently, our evaluation should be interpreted as demonstrating *Re-GeNet*'s effectiveness on representative network engineering tasks rather than as a complete validation on large-scale operational environments.
To rigorously evaluate LLMs on multimodal input, we further extended the dataset with nine topology image variants per scenario, covering three visualization formats: (1) GNS3, (2) PowerPoint (without component icons), and (3) hand-drawn sketches. For each format, three types of images were created: (a) *Normal*, (b) *No Labels on Edges*, and (c) *Messy Layout*. The *Normal* variant is a clean, balanced topology (Figure [3\)](#page-7-0), while the *No Labels* variant omits edge interface labels (Figure [4\)](#page-7-1). The *Messy Layout* variant (Figure [5\)](#page-8-0) deliberately
5[https://github.com/networkcopilot/ReGeNet/tree/main/Code/Automatic%](https://github.com/networkcopilot/ReGeNet/tree/main/Code/Automatic%20Evaluation%20Framework) [20Evaluation%20Framework](https://github.com/networkcopilot/ReGeNet/tree/main/Code/Automatic%20Evaluation%20Framework)
6https://github.com/networkcopilot/ICDCS25-GeNet/tree/main/Dataset
7https://gns3vault.com
8https://github.com/networkcopilot/ICDCS25-GeNet/tree/main/Dataset
| Configuration Scenarios | Topology Scenarios |
|-------------------------------|----------------------------------|
| IP Traffic Export (M) | Adding DMZ (M) |
| Basic Zone-Based Firewall (H) | Adding DRA (H) |
| Role-Based CLI Access (E) | Internet Connectivity (M) |
| Time-Based Access List (E) | Adding Local PCs (E) |
| IOS Transparent Firewall (M) | Adding Communication Servers (E) |
TABLE I: Scenarios grouped by type and categorized by complexity level (E = Easy, M = Medium, H = Hard), based on a survey (Section [IV-D\)](#page-11-1).
introduces visual challenges such as edge congestion, overlaps, and asymmetric layouts while preserving human readability. This augmented collection is referred to as the *Vision-Extended* dataset.
Finally, to evaluate scalability, we constructed a topology dataset derived from a realistic enterprise bank network comprising 88 nodes. It was selected because it provides a representative enterprise architecture with diverse device types and is organized hierarchically. Smaller topologies (10- 75 nodes) were generated by extracting connected Breadth First Search (BFS) subgraphs from the original topology, while larger topologies (100–750 nodes) were synthesized using a hierarchical topology generator we implemented[9](#page-6-2) that preserves the same architectural principles. This process resulted in 14 connected topologies ranging from 10 to 750 nodes, each accompanied by a rendered network topology image and a corresponding ground-truth JSON representation for evaluation. This controlled process isolates the effect of topology scale while preserving consistent structural characteristics across all evaluated network sizes. This augmented collection of topologies is referred to as the *Topology@Scale* dataset.
Together, the *Original*, *Vision-Extended* and *Topology@Scale* datasets form a diverse, carefully designed benchmark that enables systematic analysis of the effects of scenario type, intent complexity, topology scale, and visualization quality on ReGeNet, addressing the research questions in Section [III-D.](#page-5-3)
## *B. Experimental Setup*
9https://github.com/networkcopilot/ReGeNet/tree/main/Code/Topology%20Scaler

Fig. 3: Normal - paper sketch example.

Fig. 4: No Labels on Edges - PowerPoint example.

Fig. 5: Messy Layout - GNS3 example. [1](#page-19-0)
TABLE II: Experimental setup: initial experiment (Init. Expt.), automated LLM-based evaluation (Auto. Eval.), *Topology Understanding* benchmark, full experiment (Full Expt.), and *Topology Understanding* scalability benchmark (Topology @Scale Benchmark).
| | Init.
Expt. | Auto
Eval | Topology Understand.
Benchmark | Full
Expt. | Topology@Scale
Benchmark | |
|----------------|----------------|--------------|-----------------------------------|---------------|-----------------------------|--|
| | | | Vision- | Vision- | | |
| Dataset | Original | Original | Extended | Extended | Topology@Scale | |
| Models | els 1 1 | | 9 | 2 | 3 | |
| Temperatures | 5 | 1 | 1 | 1 | 1 | |
| Scenarios | 10 | 10 | 10 | 10 | N/A | |
| Image Variants | 1 | 1 | 9 | 9 | 14 | |
| Test Cases | 50 | 50 | 810 | 180 | 42 | |
| Iterations | 5 | 5 | 5 | 5 | 10 | |
| Solutions | 250 | 250 | 4050 | 900 | 420 | |
### 1) Initial Experiment
To examine the effect of stochasticity on ReGeNet, we performed a preliminary temperature-sensitivity experiment using the GeNet framework [1]. We evaluated five temperature settings, [0,0.1,0.5,0.9,1], on the Original dataset, executing each scenario five times per temperature. This resulted in 250 *GeNet* solutions across 50 test cases (Table II). The experiment, conducted using GPT-4 Turbo, indicated that temperatures in the range [0,1] have only a negligible effect on performance, while higher temperatures often produced unstable outputs. The detailed results are therefore reported in the appendix, and we use the default temperature of 1 in the remainder of the paper.
### 2) Automatic LLM-Based Evaluation
Manual evaluation of the initial experiment's solutions, using predefined scoring criteria (Section IV-C3), provided a reliable measure of performance but was time-consuming and limited in scalability. To overcome these issues, we developed an automated evaluation framework leveraging LLMs [1].
The evaluating LLM was configured with a temperature of 0 to ensure deterministic scoring according to the predefined keys. The evaluation process involves providing the LLM with explicit instructions, the scoring keys, and the initial and updated network specifications. By comparing the initial specifications with the outputs generated by ReGeNet, the model produces a quantitative assessment that strongly correlates with human evaluations. This approach allowed us to scale experiments across the expanded Vision-Extended dataset efficiently, while maintaining rigorous and reproducible evaluation of intent implementations.
## 3) Topology Understanding Benchmark
We first evaluate nine state-of-the-art LLMs on topology interpretation using our Vision-Extended dataset (Section IV-A). The models include five proprietary and four open-source models from three different providers, all equipped with vision capabilities to handle VQA tasks. Each topology image variant for every scenario was processed five times by each model, resulting in a total of 4,050 topology JSON representations across 810 test cases (see Table II). For brevity, we refer to this experiment as the *Vision Bench* experiment.
#### 4) Full Experiment
In the full experiment, we leverage the Vision-Extended dataset, which uses nine image variants per scenario. Based on insights from the initial experiment's results (Section IV-E1), we set the temperature at 1, which is the default for the
Assistants API. To manage both coverage and cost, we chose two LLMs from a list of nine, based on earlier research [10], [29], [30], [51] and the results from the Vision Bench experiment (Section IV-E3). One of the selected models has the new LLM reasoning ability. We processed each version of the topology image five times with *ReGeNet* using both models. This resulted in 900 *ReGeNet solutions* across 180 test cases (Table II).
To distinguish between the different framework variants, we use the following notation. The symbol "+" denotes our updated implementation framework relative to the original *GeNet* baseline. The suffix "V" indicates that the proposed reflective verification loop is enabled, while "R" indicates the use of a reasoning-capable LLM. Thus, *GeNet+V* and *GeNet+RV* correspond to the proposed *ReGeNet* framework instantiated with non-reasoning and reasoning LLMs, respectively. In contrast, *GeNet+* and *GeNet+R* disable the verification mechanism and are included only as ablation baselines to isolate the contribution of the proposed reflective loop.
To evaluate the contribution of the proposed reflective mechanism, we compare two *ReGeNet* variants with two ablation baselines:
- GeNet+V: the proposed ReGeNet framework utilizing a non-reasoning LLM (GPT-4.1-mini) together with the reflective verification loop.
- GeNet+RV: the proposed ReGeNet framework utilizing a reasoning LLM (o4-mini) together with the reflective verification loop.
- *GeNet*+: an ablation baseline identical to *GeNet*+*V*, but without the verification loop.
- *GeNet+R*: an ablation baseline identical to *GeNet+RV*, but without the verification loop.
- GeNet [1]: the original framework from prior work.
The ablation variants GeNet+ and GeNet+R allow us to isolate the effect of the proposed verification mechanism for non-reasoning and reasoning LLMs, respectively.
| Method | Model | Verification | Purpose / RQs |
|-----------|------------------|--------------|------------------------------|
| GeNet [1] | GPT-4
Turbo | False | Original baseline |
| CN | | F 1 | N : 114: (DO2) |
| GeNet+ | GPT-4.1-
mini | False | Non-reasoning ablation (RQ2) |
| GeNet+V | GPT-4.1-
mini | True | Proposed ReGeNet (RQ2, RQ4) |
| GeNet+R | o4-mini | False | Reasoning ablation (RQ3) |
| GeNet+RV | o4-mini | True | Proposed ReGeNet (RQ2–RQ4) |
TABLE III: Methods and baselines used in the experiments.
Table III summarizes the methods, clarifying which variants correspond to the proposed *ReGeNet* framework and which serve as ablation baselines.
### 5) Topology Understanding Scalability
To evaluate the scalability of the *Topology Understanding* Module, we leveraged the *Topology@Scale* dataset (Section IV-A), which contains 14 network topologies ranging from 10 to 750 nodes while preserving a consistent hierarchical enterprise structure. Based on the results of the Vision Bench experiment (Section IV-E3), we selected the three highest-performing LLMs: GPT-4.1-mini, o4-mini, and Gemini-2.5-
Flash. The temperature was set to 1, consistent with the full experiment. Each topology was processed independently 10 times with each model, resulting in 420 topology understanding runs across 42 test cases (Table [II\)](#page-9-2).
## *6) Comparison with SOTA Frameworks*
To compare *ReGeNet* against existing LLM-based IBN frameworks, we selected *NetConfEval* [10](#page-19-9) and *LLM-NetCFG* [28](#page-20-2), two representative state-of-the-art frameworks for LLM-based network configuration generation. Since neither framework includes topology understanding capabilities, in this experiment, all methods (including *ReGeNet*) were provided with the same ground-truth JSON representation of the network topologies, thereby isolating the intent implementation task. This, in turn, made our topology image variants dataset inapplicable. For *NetConfEval*, we employed its 'low-level configuration generation task', which most closely aligns with *ReGeNet's* intent implementation. To ensure a fair comparison, all frameworks used GPT-4.1-mini as the underlying LLM and were evaluated on our 10 benchmark scenario dataset (reffered to as *Original* in Section [IV-A\)](#page-5-4) using our automatic evaluation framework (Section [III-C\)](#page-4-3). Each scenario was executed five times, resulting in 150 solutions across 30 test cases.
Minor compatibility adaptations were performed to align framework-specific inputs and outputs with our benchmark and ensure fair comparison, while preserving the original intent implementation logic. These adaptations include: LLM instructions regarding our JSON topology representation format, output format standardization, and the removal of frameworkspecific auxiliary information that was not applicable to our Cisco-based scenarios.
## *C. Solution Quality Criteria*
## *1) Topology Image Understanding Score (TIUS)*
We briefly report the topology image understanding score (TIUS), introduced in our prior work [1](#page-19-0), to facilitate comparison with earlier results. The TIUS measures the accuracy of the *Topology Understanding* module by comparing the generated topology JSON with a manually constructed groundtruth representation. It evaluates the correctness of nodes, node labels, node icons, links, and link-node connections using a weighted sum:
$$TIUS = 0.3 \cdot N + 0.2 \cdot NL + 0.05 \cdot NI + 0.35 \cdot L + 0.1 \cdot LNL$$
(1)
where N is the node accuracy score, NL the node-label accuracy score, NI the node-icon accuracy score, L the link accuracy score, and LNL the link-node-label accuracy score, each computed as the fraction of correctly identified elements relative to the ground truth. The weights (0.3, 0.2, 0.05, 0.35, 0.1) reflect the relative importance of each element type and were set heuristically in [1](#page-19-0).
However, because these weights are subjective and may not generalize across contexts, we use the DL Score introduced in the next subsection as the primary evaluation metric throughout the remainder of the paper.
## *2) Damerau-Levenshtein JSON Edit Distance Score* Inspired by Angi et al. [52](#page-20-25), who used the Damerau-Levenshtein JSON edit distance similarity score [53](#page-20-26) to mea-
sure the accuracy of intent translation in software-defined networking (SDN) environments, we adapted this metric to objectively assess the accuracy with which the topology images were interpreted by the *Topology Understanding* module. This score quantifies the minimal sequence of operations (deletion, insertion, substitution, and transposition) necessary to transform one string into the other and has been widely used in the literature [54](#page-20-27), [55](#page-20-28). Formally, this metric is denoted recursively as:
$$d_{a,b}(i,j) = \min \begin{cases} 0, & i = j = 0 \\ d_{a,b}(i-1,j) + 1, & i > 0 \\ d_{a,b}(i,j-1) + 1, & j > 0 \\ d_{a,b}(i-1,j-1) + 1_{(a_i \neq b_j)}, & i, j > 0 \\ d_{a,b}(i-2,j-2) + 1_{(a_i \neq b_j)}, & i, j > 1, \\ & a_i = b_{j-1}, \\ & a_{i-1} = b_j \end{cases}$$
(2)
where a and b are the compared strings, and i and j are the lengths of their corresponding substrings.
Specifically, to align this score with the exact match setting, we adapted it to enable it to measure similarity instead of measuring distance using the following formula:
$$s_{a,b}(i,j) = 1 - d_{a,b}(i,j)$$
(3)
The score takes values in the range [0, 1], where 1 denotes identical JSON strings and 0 denotes completely different JSON strings. Following the approach of Angi et al., we employed LangChain's tool [56](#page-20-29) and applied normalization (i.e., customized sorting) to the elements of the JSON structures (lists, dictionaries, and tuples). This ensures proper alignment between the topology JSON representation generated and its corresponding ground-truth JSON representation. In the remainder of the paper we refer to this score as the DL Score.
## *3) Intent Implementation Score (IIS)*
Each scenario comprises an intent and its associated network specifications. To evaluate the effectiveness of the intent's implementation, we developed scenario-specific scoring keys. These keys were introduced in our previous work [1](#page-19-0) and are based on scenario solutions from GNS3 Vault for configuration scenarios and insights from IT expert interviews for topology scenarios. The keys were refined during the evaluation of GeNet (the predecessor system) to account for common implementation mistakes and valid alternative solutions; whenever a new valid approach or recurring error was identified, the keys were updated and all GeNet results were re-evaluated for consistency. Once ReGeNet development began, the scoring keys were held fixed and were not further modified. This means that prompt refinement, judgeprompt selection, and scoring key development all occurred on the same ten scenarios that produce every reported result; we acknowledge this as a limitation, as it precludes an insample/out-of-sample comparison, and note that out-of-sample evaluation on independently constructed scenarios remains an important direction for future work.
The scoring scheme was designed independently by a team member not involved in the development of either *GeNet* or *ReGeNet.* This separation between evaluator design and system implementation was intentionally maintained to ensure that the scoring criteria reflect objective assessment standards rather than system-specific behaviors.
The scoring system primarily assesses *ReGeNet*'s overall performance, and it fundamentally evaluates semantic intent implementation correctness. Each evaluation key corresponds to an operational requirement that the generated configuration and topology must satisfy to correctly implement the user's intended network behavior. For example, consider the following scenario-specific scoring keys:
Example 2 (Adding Local PCs). *For the scenario in Example [1,](#page-1-1) the suggested scoring keys are:*
- 1) *Adding a switch to the topology: 20 points.*
- 2) *Adding 3 PCs: 10 points per PC.*
- 3) *Correct subnet assignment: 3 points.*
- 4) *Configuring the new switch: 15 points.*
*The raw points for this example sum to 68 (20 + 30 + 3 + 15). The IIS is normalized to a 0–100 scale by dividing the achieved points by the scenario's total possible points and multiplying by 100; each scenario has a different total, so the denominator varies across scenarios.*
Points are fully or partially deducted for non-compliance, depending on the severity of the deviation.
A detailed breakdown of the scoring keys and point allocations can be found in GeNet's Git repository[10](#page-11-4), inside each scenario type directory.
#### *D. Scenario Complexity Survey*
To measure the scenario complexity, we designed a survey which contains seven multiple-choice questions per scenario (Table [IV\)](#page-11-5). The survey was distributed to three IT experts with diverse backgrounds and experience levels. Their responses were used to categorize the scenarios and assess their complexity (Section [IV-E5\)](#page-16-0).
| # | Questions |
|---|--------------------------------------------------------------------|
| 1 | How would you rate the overall complexity of this scenario com |
| | pared to a typical daily task? |
| 2 | What are the most challenging aspects of this scenario? |
| 3 | How many working hours would it take to complete the task at |
| | hand? |
| 4 | What level of domain knowledge is needed to solve this task? |
| 5 | Which specific areas of domain knowledge are important for solving |
| | this task? |
| 6 | How likely are mistakes to occur when performing this task? |
| 7 | How many test cases are required to validate this scenario? |
TABLE IV: Survey questions assessing scenario complexity.
## *E. Results*
### *1) Initial Experiment*
As seen in Figure [25,](#page-21-0) the temperature levels had minimal impact on the TIUS and IIS. This suggests that the temperature parameter (0 to 1) does not significantly affect LLM-based networking co-pilot performance. For the full experiment, we therefore used a temperature of 1, which is the default setting for the Assistants API (Section [IV-B\)](#page-6-0).
However, as can be seen in Figure [6,](#page-11-6) the TIUS and IIS values vary by scenario. In this experiment, one of the topology images lacked labels on the edges indicating the interfaces, which resulted in relatively lower values for the TIUS and IIS. We hypothesize that providing interface information allows the LLM to better understand component relationships and implement intents more effectively. This motivated the design of our Vision-Extended dataset for the full experiment (Sections [IV-A](#page-5-4) and [IV-B4\)](#page-9-0). Manual evaluation of the initial *GeNet* solutions showed that of the 250 test cases, *GeNet* correctly configured 79% of the expected components, reconfigured 92% of the components requiring updates, and successfully configured 72% of the newly added components. This highlights the greater challenge of configuring components from scratch.

Fig. 6: Initial experiment: TIUS and IIS by scenario.
### *2) Automatic LLM-Based Evaluation*
To align the LLMs' scoring with human grading, we experimented with multiple prompts. Initially, we instructed the LLM to produce a final score per *GeNet* solution, without an explanation. This approach yielded low correlation (Spearman < 0.5), most likely due to the complexity of the task. To improve correlation, we decomposed the evaluation task into individual scoring criteria. Finally, we implemented the chainof-thought prompt strategy, which requires a brief explanation for each IIS scoring key. This significantly increased the Spearman correlation to 0.847 (p = 4.11 × 10−67, Figure [7\)](#page-12-0), demonstrating strong alignment with human grading.
Our analysis identified three sources of discrepancies between human and LLM evaluations: hallucinations by the LLM, human grading errors, and pipeline errors from the *Topology Understanding* module. The correlation could be improved through further refinement.
## *3) Vision Benchmark (RQ [1](#page-5-7) and RQ [5\)](#page-5-8)*
## *a) Performance Across Models*
As seen in Figure [8,](#page-12-1) *o4-mini* and *GPT-4.1-mini* outperform the other models, while *Llama 3.2 11B* performs the worst. All models differ significantly in terms of their mean TIUS
10https://github.com/networkcopilot/ICDCS25-GeNet/tree/main/Dataset

Fig. 7: Correlation between human and LLM IIS evaluations.

Fig. 8: Vision Bench: sorted TIUS and DL Score by model.
value, and only *o4-mini* and *GPT-4.1-mini* are indistinguishable based on their mean DL Score. Moreover, as seen in Figure [9,](#page-12-2) *Llama 3.2 11B* fails in 84% of the cases due to invalid JSON outputs, while the other models have negligible failure rates. Finally, there is a strong correlation between the DL Score and TIUS (ρ = 0.829, p = 1.224 × 10−195). Given this, along with the TIUS's previously mentioned drawback (Section [IV-C1\)](#page-10-2), we focus on the DL Score in the remainder of our analysis.

Fig. 9: Comparison of the models' failure to produce valid topology JSONs.
To ensure the cost-effectiveness of our experiments, and based on the above results as well as related work highlighting the superior performance of GPT-4 series models on networking tasks, most of our subsequent experiments and analyses focus on the *o4-mini* and *GPT-4.1-mini* models; these models are comparable, since OpenAI reports that they share the same knowledge cutoff.
Both models achieve mean DL Score > 0.94 (on the 0–1 scale), even on the least comprehensible topology image variants (*Messy Layout-Paper Sketch*), confirming the potential of utilizing the visual modality in LLM-based co-pilots [10](#page-19-9). As seen in Figure [11a](#page-13-2) and backed by the results of statistical tests, the scenario type impacts the DL Score. Further statistical analysis reveals that the scenarios accounted for the largest share of variance in the DL Score, which can be explained by the varying difficulties of the underlying topologies (e.g., number of nodes and links). For example, the topology in the "Adding DRA" scenario is substantially more complex than that of the "Time-Based Access List" scenario, as can be seen in our Git repository.[11](#page-12-3)

Fig. 10: DL Score by format and image type per model.
## *b) Visualization Formats and Image Types*
Visualization format and image type also affected DL Score. As Figure [10](#page-12-4) shows, GNS3 images scored significantly higher than PowerPoint or paper sketches. *Paper sketches* expectedly scored lowest, but PowerPoint diagrams performed worse still: lacking device icons, models often inferred them from labels rather than leaving the required empty string—an unintended yet useful behavior, showing LLMs' ability to infer missing context. As expected, *Messy Layout* images scored considerably lower than the comparable *Normal* and *No Labels on Edges* images, reflecting their suboptimal visualization characteristics; still, some *Messy Layout* images achieved a perfect DL Score.
## *c) Quality-Token Tradeoff*
Since both models achieve statistically similar DL Score values, we compare their token usage, directly comparable as both share the same tokenizer. As Figure [12](#page-13-3) shows, *o4 mini*'s DL Score stays relatively stable across token counts, while *GPT-4.1-mini* is less stable, dropping around 2,500 tokens; however, *GPT-4.1-mini* is markedly more token-efficient, consistent with *o4-mini*'s reasoning-driven chain-of-thought generating extra tokens. The full nine-model trade-off appears in Figure [23.](#page-21-1)
By format (Figure [13a\)](#page-13-4), *o4-mini* uses far more tokens without consistently higher quality; per-format analysis shows its DL Score declining with token use, especially on Power-Point topologies, while *GPT-4.1-mini* stays stable or improves with fewer tokens overall. By diagram type (Figure [13b\)](#page-13-4), both models keep a stable DL Score, though *o4-mini* again generates far longer outputs, with token usage rising sharply for *Messy Layout* images relative to *Normal* and *No Labels on Edges* types, suggesting less structured inputs prompt longer reasoning. As before, *Messy Layouts* remain hardest to interpret, showing the largest score spread for both models.
11https://github.com/networkcopilot/Scenarios

Fig. 11: Scenario type effect on the (a) DL Score and (b) IIS.

Fig. 12: DL Score-token usage trade-off by model.
Overall, *GPT-4.1-mini* matches or exceeds quality with far better token efficiency.
We repeated this analysis using cost instead of tokens; but since cost and tokens strongly correlate (providers charge per token) and *o4-mini*'s per-token cost exceeds *GPT-4.1-mini*'s, we focus on tokens for a fair comparison. Cost plots appear in Figures [21](#page-20-30) and [22,](#page-20-31) with the full nine-model analysis in Figure [24.](#page-21-2)
## *d) Scalability*
To evaluate the Topology Understanding Module's scalability, Figure [14](#page-13-5) shows performance and runtime as network size grows from 10 to 750 nodes. All three LLMs maintain a DL Score above 0.9 (on the 0–1 scale) for small and medium topologies, but larger sizes trigger a modeldependent phase transition: runtime rises with topology size up to a model-specific pivotal point—approximately 150, 200, and 500 nodes for o4-mini, GPT-4.1-mini, and Gemini-2.5- Flash, respectively—then declines alongside a sharp drop in DL Score, with Gemini-2.5-Flash scaling to substantially larger networks than the others. Invalid or unparsable JSON outputs remained negligible throughout, indicating that scale mainly degrades understanding accuracy rather than output validity. These results suggest current LLMs handle moderately large enterprise topologies well, though accuracy on very complex visual structures will likely keep improving as context capacity, hierarchical reasoning, segmentation, and RAG techniques advance.
Figure [15](#page-14-0) relates runtime to performance: before the pivotal point, runtime grows with topology size as more visual detail is processed, while DL score declines only mildly; beyond it, both runtime and DL score drop together, suggesting a qualitative shift, possibly toward coarser, more global diagram processing rather than component-by-component reasoning. Practically, this suggests topologies beyond a model's pivotal point should be processed hierarchically—via recursive subnetwork grouping or overlapping image decomposition—to keep each input's visual complexity below the transition point.

Fig. 13: DL Score-token usage trade-off by (a) format and (b) diagram type (b).
For networks beyond a model's reliable processing limit, a hierarchical decomposition strategy is required. We envision the following pipeline: (1) the full network is partitioned into domain- or layer-based subgraphs (e.g., access, distribution, and core layers, or per-site segments) such that each subgraph falls below the model's pivotal-point node count; (2) each subgraph image is processed independently by the Topology Understanding module, yielding a JSON representation per segment; (3) inter-segment links are identified from a lightweight cross-segment adjacency specification (e.g., a simple list of border interfaces) and used to stitch the persegment JSON outputs into a globally consistent topology; and (4) the Reflective Intent Implementation module operates on the stitched topology, with the verifier additionally checking cross-segment consistency constraints. This pipeline mirrors the hierarchical or domain-based views that operators already use for large networks, and requires no changes to the core ReGeNet modules. Validating this approach end-to-end on production-scale networks is an important direction for future work (see Section [V\)](#page-18-0).

Fig. 14: DL score and runtime VS topology size across models. Vertical lines indicate the empirically identified pivotal topology size for each model.

Fig. 15: DL\_Score VS runtime for the scalability experiment. Two regression lines are used to highlight a scalability behavior transition before and after an empirically identified pivotal point in terms of #node (marked with a star). Gemini-2.5-Flash: slopes are $-1.9\times10^{-3}~(p=6.03\times10^{-9})$ for $\leq500$ nodes and $2.8\times10^{-3}~(p=4.32\times10^{-3})$ for >500 nodes. GPT-4.1-mini: slopes are $-2.1\times10^{-3}~(p=3.54\times10^{-8})$ for $\leq200$ nodes and $1.11\times10^{-2}~(p=2.51\times10^{-24})$ for >200 nodes. o4-mini: slopes are $-1.0\times10^{-4}~(p=8.89\times10^{-1})$ for $\leq150$ nodes and $8.9\times10^{-3}~(p=1.18\times10^{-11})$ for >150 nodes.
## 4) Intent Implementation (RQ 2 and RQ 3)
## a) Scenario Types
As shown in Figure 11b and backed by statistical tests, Re-GeNet performs similarly across the two methods, GeNet+RV and GeNet+V (i.e., with and without reasoning, respectively), but consistently performs better in configuration scenarios than topology scenarios, regardless of the method used. This suggests that the topology update tasks in the dataset are consistently more challenging for ReGeNet than the configuration update tasks. As noted in prior work [1], configuration scenarios are generally simpler, as they often involve modifying existing components rather than configuring new ones from scratch. In contrast, topology scenarios typically require multiple components to be set up without prior context, demanding a longer and more complex inference process. Since LLMs tend to perform better when adapting from existing templates rather than generating solutions entirely from scratch, configuration scenarios may be inherently easier to handle. In fact, our observations from our initial experiment support this assumption (Section IV-E1). The results of our survey (Section IV-E5) also support this; on average, experts ranked the configuration scenarios as easier than the topology scenarios.
## b) Visualization Formats and Image Types
As seen in Figure 16 and supported by statistical tests, there are no differences in the IIS between the *ReGeNet* methods and within them across different format-image type combinations. Moreover, among all variables examined, the visualization formats and image types accounted for the least variance in the IIS, whereas the scenario variable accounted for the most. These findings highlight *ReGeNet*'s robustness in handling network specifications of varying quality (e.g., messy layouts) or with missing information (e.g., no labels on edges). Interestingly, topology images without interface labels on edges seem not to have a significant impact on *ReGeNet*'s intent implementation compared to images containing edge labels. This refutes our initial hypothesis regarding edge labels from our initial experiment (Section IV-E1).
## c) Verification Distribution
Moreover, since the verification agent in the *Intent Imple-mentation* module determines whether or not to approve a *ReGeNet solution*, the number of implementation iterations varies across cases. As shown in Figures 17a and 17b, in

Fig. 16: IIS by visualization format and image type per method.

Fig. 17: Number of implementation iterations for (a) GeNet+V and (b) GeNet+RV.
20% of the cases, the verification agent did not approve the implementation and provided feedback on the intent implementation agent's solutions. Of those, 33% of the intent implementations processed with *GeNet+V* showed improvement in the IIS compared to 27% for *GeNet+RV*. Additionally, cases from the topology scenarios exhibited significantly lower improvement rates compared to those from the configuration scenarios, showing 9% versus 45% for *GeNet+V* and 4% versus 35% for *GeNet+RV*, respectively. This is consistent with our earlier finding that topology scenarios are inherently more challenging.
### d) Comparison with SOTA Frameworks
We compared ReGeNet against two representative LLMbased IBN frameworks, NetConfEval and LLM-NetCFG, on our 10-scenario benchmark (Section IV-A), following the setup in Section IV-B6: all frameworks received the same groundtruth topology JSON, shared the same underlying LLM and evaluation framework, and were run five times per scenario. This comparison isolates differences in intent implementation quality and explicitly excludes the Topology Understanding module; accordingly, the results do not reflect ReGeNet's endto-end multimodal performance, nor do they capture errors that would propagate from visual topology interpretation in a full pipeline deployment. End-to-end results, where the Topology Understanding module output feeds the implementation stage, are reported in Table VI. Table V reports the resulting IIS scores. ReGeNet achieved the strongest overall performance, with its advantage over the baselines widening further on topology scenarios, consistent with its design for holistic IBN tasks that jointly modify topology and configurations, unlike the configuration-focused baselines. As before, topology scenarios scored lower across all frameworks, confirming they remain more challenging than configuration-only tasks.
#### e) Comparison with ReGeNet Baselines
Table VI compares *ReGeNet*'s variants against the baselines from Table III in terms of IIS, reported per scenario given the substantial scenario effect noted earlier. As shown in the
TABLE V: Intent implementation performance comparison of *ReGeNet* with state-of-the-art frameworks, in terms of the IIS, overall and across scenario types.
| Framework | Topology Scen. | Config. Scen. | Overall |
|------------------|----------------|---------------|---------|
| LLM-NetCFG [28] | 74.6 | 88.7 | 81.6 |
| NetConfEval [10] | 70.4 | 86.5 | 78.5 |
| ReGeNet | 81.6 | 93.2 | 87.4 |
'Average' column, *ReGeNet* significantly outperforms baseline GeNet [1](#page-19-0), reflecting its newer underlying models, refined system prompts, verification feedback loop, and structured LLM outputs for topology JSON generation. Our ablation further shows *GeNet+V* significantly improves over *GeNet+* (i.e., with vs. without the verification loop), indicating that for non-reasoning LLMs, verification is critical to intent implementation quality.
For the reasoning LLM ablation, *GeNet+RV* shows no significant improvement over *GeNet+R* (i.e., with vs. without verification), and both match *GeNet+V*'s performance—suggesting *o4-mini*'s inherent reasoning already rivals the verification mechanism's benefits, helping minimize errors without it, and that combining reasoning with verification does not trivially yield further quality gains. Since LLM reasoning is a recent feature with limited study alongside LLM-based verification in IBN, this points to an open research direction.
While verification generally improves or maintains intent implementation quality, it has limits: in a few cases, marked ↓ in Table [VI](#page-16-1) (e.g., *Adding DMZ* under *GeNet+RV*), it decreased IIS relative to unverified implementations, with drops ranging from −0.31 to −4.76 IIS points depending on the scenario and model.
## *f) Error Analysis and Failure Taxonomy*
To understand recurring failure modes, we manually analyzed 91 samples (covering both *GeNet+V* (40 samples) and *GeNet+RV* (51 samples)) under a unified taxonomy reported separately per model. The subset comprised (i) all 27 cases where verification significantly degraded IIS, (ii) all 10 cases failing verification in the first iteration across all five runs, and (iii) 54 additional cases randomly sampled across IIS quartiles and stratified by scenario, with sampling continued until category saturation. The taxonomy was developed through iterative, emergent coding of recurring error patterns into meaningful categories.
The resulting taxonomy (Table [VII\)](#page-16-2) shows most failures stem from a few recurring patterns, alongside rarer, more specialized categories spanning unsupported assumptions (hallucinations), configuration logic conflicts, and security-related decisions. The dominant mode, *Partial Intent Compliance* (34.0%), reflects correct understanding of the objective but incomplete implementations that omit required steps. The next most common, *Unwarranted Assumptions* (18.7%), reflects inferring unsupported topology or device properties, yielding coherent but specification-inconsistent outputs.
Two complementary security behaviors also emerged: *Neglect of Security Best Practices* (omitting recommended mechanisms) and *Prioritization of Security Best Practices over Intent* (overriding explicit requirements)—e.g., generating a hashed instead of an explicitly requested plain-text password, observed only after verifier re-evaluation. From a controllability standpoint, this constitutes an autonomous agent deviating from an explicit operator instruction, which creates a discrepancy between the operator's mental model and the device's running configuration—an operational risk rather than a safeguard. Production deployments should include approval gates or diff-review steps before applying verified configurations, and operators should be alerted whenever the verifier overrides an explicit intent requirement. Guardrails, rollback mechanisms, and blast-radius controls are necessary complements to any LLM-based verification loop. Though infrequent, these cases show that LLM reasoning can both overlook and proactively enforce security depending on context. Finally, *Internally Contradictory Implementations* captures cases where generated commands negated or overrode one another.
To understand when verification degrades implementation quality, we analyzed 32 degradation cases: all 27 cases of significant degradation (e.g., Adding DMZ, see table [VI\)](#page-16-1) plus 5 more from the broader failure analysis, sampled until category saturation. Table [VIII](#page-17-0) presents the resulting mutually exclusive taxonomy of primary verification failure mechanisms, presented in Table [VIII.](#page-17-0)
The most common mechanism, *Misguided Corrective Guidance*, reflects cases where the verifier correctly flagged an issue but suggested an inappropriate fix, lowering quality. The second, *Re-evaluation Inconsistency*, stems from differing evaluator interpretations between the initial and refined implementations rather than genuine verification failure; as noted in Section [IV-E2,](#page-11-7) the evaluator itself can occasionally err or hallucinate, so part of the measured degradation reflects evaluator variability rather than true quality loss. Such evaluator or verifier mistakes could be mitigated via LLM validation strategies such as self-refinement [45](#page-20-18) and other hallucinationmitigation approaches, potentially paired with human-in-theloop (HITL) alerts.
#### *g) Deployment Considerations*
Mission-critical deployments need mechanisms to flag when human oversight is required. We performed a matched-cohort analysis comparing first-round (pre-verification) scores for cases that passed verification immediately versus those needing correction. As Figure [18](#page-17-1) shows, immediately-passing solutions scored significantly higher for both models (Wilcoxon signed-rank test, p = 0.0013 for *GeNet+V*, p = 0.000077 for *GeNet+RV*). Although these scores are offline-only and unavailable in production, verification behavior itself may serve as a practical proxy for implementation confidence, flagging non-immediately-passing solutions for optional or mandatory human inspection based on risk tolerance. We note that this analysis conditions on the verifier's own decision cases that pass verification are compared against those that do not—which means the result reflects a selection effect rather than a calibrated confidence estimate. Establishing the verifier's precision, recall, and calibration against an externally observable outcome (e.g., parse success or functional reachability) is an important direction for future work.
While verification-and-correction typically improves final quality over the initial attempt (Table [VI\)](#page-16-1), repeated failures still signal lower initial confidence and greater corrective
| Method | Adding
Comm.
Servers | Adding
DMZ | Adding
DRA | Adding
Local
PCs | Basic
Zone
Based
Firewall | IP
Traffic
Export | Internet
Conn. | Role
Based
CLI
Access | Time
Based
ACL | Transp.
IOS
Firewall | Average |
|-----------|----------------------------|---------------|---------------|------------------------|------------------------------------|-------------------------|-------------------|--------------------------------|----------------------|----------------------------|---------|
| GeNet [1] | 75.037 | 63.981 | 68.148 | 86.333 | 94.481 | 91.111 | 99.444 | 81.481 | 92.814 | 73.277 | 82.61 |
| GeNet+ | 81.333* | 73.977* | 74.888n | 91.266* | 98.755n | 90.444n | 100n° | 90.222*° | 99.333* | 72.377n | 87.26* |
| GeNet+V | 81.022 ↓ | 75.111n | 75.555n | 91.644n | 98.644n | 96.955* | 99.111 ↓ | 90.666* | 99.444n | 74.311n | 88.246* |
| GeNet+R | 81.555n | 75.288n | 72.666n | 94.266* | 98.244n | 94.222 ↓ | 99.444n | 87.666 ↓ | 99.555n | 73.311n | 87.622n |
| GeNet+RV | 82.133n | 70.533 ↓ | 72.333n | 91.8n | 98.155n | 98* | 98.333 ↓ | 89.333* | 99.822* | 73.888n | 87.433n |
TABLE VI: Comparison of the performance of different *ReGeNet* methods and baselines across scenarios in terms of IIS. The highest value in each column is underlined. An asterisk (\*) denotes a significant improvement compared to the preceding row, 'n' indicates no significant difference, and '↓' marks a significant decrease compared to the preceding row. A degree symbol (°) indicates a significant difference between *GeNet+* and *GeNet+R*.
TABLE VII: Failure taxonomy derived from the manual analysis of 91 samples (40 *ReGeNet+V* and 51 *ReGeNet+RV*). Percentages are reported relative to the analyzed samples of each method and overall. Categories are mutually exclusive; each sample was assigned to the primary failure mechanism that most directly explained the observed implementation error.
| Error Category | Failure Mechanism | Typical Manifestations | ReGeNet+V | ReGeNet+RV | Overall |
|----------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|-----------|------------|---------|
| Partial Intent Compliance | Required configuration steps are
omitted, resulting in only partial
implementation. | ACL
defined
but
not
applied;
ip
missing
gateway;
omitted
inspect. | 35.0% | 33.3% | 34.0% |
| Unwarranted Assumptions | Makes unwarranted assumptions
about network topology or proto
col behavior not implied by the
task specification. | Assumed gateway existence; in
ferred topology changes; presumed
existing connectivity; assumed de
fault protocol behavior. | 15.0% | 21.6% | 18.7% |
| Reliance on Implicit Config. | Assumes required network behav
ior without explicit configuration. | Missing switch configuration; im
plicit routing assumptions. | 10.0% | 15.7% | 13.2% |
| Internally Contradictory Im
plementations | Generates commands that negate
or override one another. | Permit
after
drop;
overwritten
routemap; removed applied policy. | 12.5% | 9.8% | 11.0% |
| Inappropriate Solution Strat
egy | Selects a technically inappropriate
solution that cannot correctly sat
isfy the intent. | Misuse
of
routemaps;
incorrect
traffic-filtering; inappropriate ex
port strategy. | 7.5% | 7.8% | 7.7% |
| Prioritization of Security Best
Practices over Intent | Overrides
explicit
task
require
ments by favoring security best
practices. | Hashed instead of requested plain
text password. | 7.5% | 5.9% | 6.6% |
| Neglect of Security Best Prac
tices | Omits recommended security con
figurations despite their relevance
to the requested implementation. | Missing default-deny firewall rule;
incomplete DMZ hardening. | 7.5% | 3.9% | 5.5% |
| Pipeline Error Propagation | Errors introduced during topology
understanding propagate to down
stream implementation. | Wrong interface selection; incor
rect topology interpretation. | 5.0% | 2.0% | 3.3% |
effort, potentially warranting escalation to human review in mission-critical settings—e.g., after a single failure in sensitive environments, or only after multiple failures where throughput is prioritized.
## *h) Threat Model and Trust Boundaries*
ReGeNet accepts topology images as input and holds configuration-write authority over device specifications. Topology images are therefore untrusted input: a maliciously crafted diagram—e.g., one containing hidden text labels or adversarially arranged elements—constitutes a viable prompt-injection vector against the Topology Understanding agent. Additionally, device configurations generated by the system (Table [VII](#page-16-2) documents a plaintext-password scenario) are transmitted to third-party API providers, representing a data-exposure risk in sensitive environments. Production deployments should enforce: (i) a trust boundary at the topology image input, with provenance verification where possible; (ii) human-inthe-loop approval before generated configurations are applied to live devices; (iii) rollback and blast-radius controls in the underlying change management system; and (iv) data-handling agreements with API providers governing configuration content. The indirect prompt injection threat is discussed in detail in [57](#page-20-32).
#### *i) Limitations and Scope of Evidence*
We note that the benchmark, scoring keys, automatic evaluator (IIS), topology metric (DL Score), and the framework being extended all originate in or build directly on our prior work [1](#page-19-0). No external benchmark or independently constructed evaluation set was used. All reported results should therefore be interpreted in the context of this single evaluation ecosystem, and external validation on independently constructed scenarios and scoring criteria is an important direction for future work.
### *5) Scenario Complexity vs. Performance (RQ [4](#page-5-11) and RQ [5\)](#page-5-8)*
Expert evaluations enabled us to categorize the test scenarios into three levels of perceived complexity: *easy*, *medium*, and *hard* (Table [I\)](#page-6-1). This categorization allows us to examine how scenario complexity interacts with both the quality and efficiency of ReGeNet's performance.
TABLE VIII: Verification-induced IIS degradation taxonomy derived from the manual analysis of 32 cases in which the verification mechanism resulted in a degradation of the IIS (10 GeNet+V and 22 GeNet+RV).
| Verification Failure Cause | Failure Mechanism | | ReGeNet+V ReGeNet+RV Overall | |
|---------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|------------------------------|-------|
| Misguided Corrective Guidance | The verifier correctly identified an implementation issue but proposed an
inappropriate corrective action, which led the implementer to produce a
degraded solution. | 20.0% | 36.4% | 31.2% |
| Re-evaluation Inconsistency | Independent offline evaluations of the initial and refined implementations
produced inconsistent judgments due to differing interpretations of IIS
scoring keys. | 30.0% | 22.7% | 25.0% |
| Security-Driven
Behavioral
Changes | The verifier steered the implementation toward stronger security prac
tices that deviated from the original task requirements. | 30.0% | 13.6% | 18.8% |
| False-Positive
Verification
Feed
back | The verifier incorrectly identified a correct implementation as erroneous,
prompting unnecessary modifications that degraded the implementation. | 10.0% | 18.2% | 15.6% |
| Context
Loss
During
Re
implementation | Previously correct implementation elements were omitted or overwritten
during re-implementation despite being unrelated to the feedback. | 10.0% | 9.1% | 9.4% |

Fig. 18: Paired comparison of first-implementation-round IIS per case across iterations that either passed verification in the first implementation round ("Passed (1 iter)") or required additional correction iterations before passing ("Failed (>1 iter)"). Each line represents a single matched case, while the red line marks the group means. Across both models (a) *GeNet+V* and (b) *GeNet+RV*, iterations passing verification immediately exhibit significantly higher initial IIS.
### *a) Topology Understanding and Scenario Complexity*
For the *Topology Understanding* task, expert-rated complexity levels showed no significant effect on the DL Score, token usage, or cost. This indicates that the VLLMs used by ReGeNet are largely robust to the visual and structural complexity of the topology diagrams.
## *b) Intent Implementation Quality*
As illustrated in Figure [19](#page-17-2) and backed by statistical analysis, there is not a significant difference between *GeNet+V* and *GeNet+RV* when results were grouped by scenario complexity. However, both methods exhibit notably lower IIS variance in the *easy* scenarios compared to *medium* and *hard* ones, which show similar variance levels, a predictable yet informative result. For *GeNet+V*, we did not find a significant difference in mean IIS across complexity levels, suggesting ReGeNet handles complex intents comparably to simpler ones when using a non-reasoning LLM; however, given the small number of scenarios per complexity group, this null result should be interpreted with caution rather than as positive evidence of equivalence. In contrast, *GeNet+RV* achieves higher average scores in the easy scenarios relative to medium and hard ones, which exhibit comparable quality.

Fig. 19: IIS by scenario complexity for each method.
#### *c) Efficiency and Token Usage*
Both *GeNet+V* and *GeNet+RV* consume significantly fewer tokens in the *easy* scenarios than in the *medium* and *hard* ones, which have comparable token usage. Although *GeNet+RV* generally requires more tokens overall, an analysis limited to completion tokens (i.e., model output rather than internal reasoning) reveals no significant difference between the two models.
Unlike in the topology interpretation task, however, no clear or consistent relationship was observed between inputrelated factors (e.g., format, diagram type, scenario type, or complexity level) and the quality-token trade-off during intent implementation. While scenario characteristics appear to influence this trade-off the most, the effect is not systematic. However, on average, implementation quality tends to slightly decrease as token usage increases.
## *d) Execution Time and Operational Efficiency*
Practical deployment also depends on execution latency. As Figure [20](#page-18-1) shows, implementation times are comparable across methods, but topology interpretation ("Vision") is significantly faster and less variable for *GeNet+V* than *GeNet+RV*, likely reflecting *GeNet+RV*'s extra reasoning steps, which do not necessarily improve *Topology Understanding*. Despite this longer inference, overall implementation times remain similar, suggesting non-reasoning LLMs may offer a better accuracyefficiency balance for multimodal IBN deployment. We compare execution time only between *GeNet+V* and *GeNet+RV*, which share a provider; cross-provider comparisons were not attempted due to differing APIs. While execution time alone

Fig. 20: Time distribution of *ReGeNet*'s modules by method. Vision (blue) denotes the *Topology Understanding* module, and Implementation (orange) denotes the *Reflective Intent Implementation* module.
does not capture operational efficiency, it is a prerequisite for practical deployment and suggests potential for reducing effort in repetitive intent implementation. In summary, this section evaluated ReGeNet via experiments addressing our research questions across topology interpretation, intent implementation, and scenario complexity, including a temperature study, automated LLM evaluation, and large-scale visionmodel benchmarking. The results demonstrate ReGeNet's robustness, the impact of visualization and scenario type, and the effectiveness of reasoning and verification in multimodal intent realization.
## V. CONCLUSION AND FUTURE WORK
In this work, we presented *ReGeNet*, a multi-agent framework combining self-verification and reasoning to improve reliability in multimodal IBN. Building on *GeNet*, *ReGeNet* adds a reflective verification loop in which implementation and verification agents iteratively refine configurations and topologies until the intent is accurately realized.
Our experiments show that verification improves LLMjudged intent implementation quality for non-reasoning LLMs by +0.99 IIS points on average, enabling GeNet+V to match the performance of the reasoning model baseline (GeNet+R). We note, however, that GeNet+ (non-reasoning, no verification) and GeNet+R (reasoning, no verification) are already statistically indistinguishable (average IIS: 87.26 vs. 87.62), meaning that the efficient non-reasoning model matches the reasoning model even without verification. Adding verification to a reasoning model (GeNet+RV) yields no significant further improvement (−0.19 IIS points), consistent with the selfcorrection literature [15](#page-19-13). The combined effect of verification and reasoning is therefore not additive: the two mechanisms provide partially overlapping benefits, and the practical implication is that engineers can achieve comparable quality either via a lightweight non-reasoning model with verification or a costlier reasoning model without it. To our knowledge, this is the first systematic study of this interaction in multimodal IBN; it implies engineers can achieve comparable quality either via a lightweight non-reasoning model with verification or a costlier reasoning model without it, making reflective verification a cost-effective path to reliable automation rather than something reasoning models render obsolete.
A natural question raised by the rapid evolution of LLM capabilities is whether a single higher-capacity model could replace the multi-agent loop. We argue that the two are complementary rather than substitutes. First, our results show that GeNet+V—a lightweight non-reasoning model paired with verification—already matches the performance of GeNet+RV, the reasoning model with verification, and does so more cost-efficiently; a practitioner upgrading to a heavier model would still benefit from the explicit correction trace and separation-of-concerns that a two-agent architecture provides. Second, the self-correction literature suggests that same-model verification loops yield diminishing returns as model capability increases [15](#page-19-13), but that cross-model verification—where the verifier belongs to a different model family—introduces a qualitatively independent signal that model scale alone cannot replicate. Third, for production IBN deployments, interpretability and auditability of corrections are operationally required independently of raw performance: an engineer must be able to inspect why a configuration was changed, a property that a single-model pipeline does not provide. We therefore expect the architectural benefits of reflective multi-agent verification to persist as underlying models improve, even if the performance gap that justifies the loop for same-family, samemodel configurations narrows.
Reasoning LLMs remain less efficient in token consumption and execution time, suggesting the optimal integration of reasoning and verification depends on a model's cognitive design and prompting strategy. *ReGeNet*'s multimodal design, jointly interpreting textual and visual network data, shows strong potential for practical, interpretable IBN automation.
The framework was not hand-tailored to any vendor syntax and operates directly on raw configurations, topology images, and natural-language intents, making it architecturally applicable beyond Cisco; however, since the underlying LLMs may be more familiar with Cisco IOS, we do not claim cross-vendor validation here. Similarly, our Cisco-inspired evaluation scenarios, though realistic, derive from GNS3Vault certification exercises rather than full production deployments; while we did assess Topology Understanding scalability on large synthetic enterprise networks, future work should extend end-to-end evaluation to production-scale, multi-vendor, and operationally constrained settings with long-running change management.
Two further limitations bound the scope of our correctness claims. First, all correctness assessments in this work are based on LLM-judged textual plausibility against scenariospecific scoring keys; no generated configuration was loaded into a network emulator, parsed by a device, or tested with active probes (reachability, ACL hit matrices, or data-plane validation). Functional validation—e.g., replaying configurations through GNS3 or running Batfish checks—would move the central claims from plausible to demonstrated and is a priority for future work. Second, ReGeNet generates CLIlevel configurations rather than NETCONF/YANG modeldriven changes [17](#page-19-15), [18](#page-19-16); production intent-based networking deployments typically require model-driven configuration with atomicity, commit confirmation, rollback, and drift detection, none of which are provided by raw CLI text. Integrating with the NETCONF/YANG stack [16](#page-19-14) is an important direction toward production readiness.
The observed phase transition in topology understanding further suggests multimodal models shift visual reasoning strategy as network complexity grows, offering a practical estimate of each model's reliable processing limit and motivating hierarchical or tiled topology decomposition beyond that point.
Future work includes: (i) deeper analysis of how reasoning and verification interact to jointly maximize quality and robustness; (ii) hybrid verification combining LLM intentalignment reasoning with formal, topology-aware configuration validation (e.g., Batfish or NETCONF ), so that the complementary strengths of both approaches are exploited: the LLM handles ambiguous, partially specified intents while the formal analyzer enforces syntactic and semantic correctness on the generated configurations; (iii) systematic cross-vendor evaluation (e.g., Juniper, Arista, Huawei) to test the framework's generality beyond Cisco; (iv) applying LLMbased verification within the *Topology Understanding* module to reduce cascading errors; (v) controlled user studies quantifying management KPIs such as MTTR reduction and manual effort relative to conventional workflows; and (vi) end-to-end evaluation of a hierarchical topology decomposition pipeline on production-scale, multi-domain networks (Section [IV-E3d\)](#page-13-0), validating the stitching strategy described there and quantifying the error propagation from per-segment understanding to global intent implementation.
A deployment consideration not addressed in the current evaluation is the effect of model-level safety guardrails. LLM providers increasingly apply content filters that may refuse to generate or evaluate configurations involving firewall rules, ACL policies, or authentication credentials—content that is routine in network engineering contexts but may superficially resemble offensive security tasks. In our experiments no hard refusals were observed, likely because the scenarios are framed as legitimate IBN tasks; however, this behavior is modeland provider-dependent and should be explicitly tested when deploying ReGeNet with models or providers not evaluated here. Prompt framing (e.g., explicit professional context and scope declarations) and the use of enterprise API tiers with relaxed content policies are practical mitigations.
Overall, reflective verification is a practical, effective strategy for improving multimodal network copilots, especially alongside efficient non-reasoning LLMs. More broadly, reliable IBN systems require understanding not just the reasoningverification interplay but also the failure modes and scalability characteristics of multimodal foundation models; to this end, we contribute a failure-mode taxonomy, a verification-induced error taxonomy, and an empirical characterization of topologyunderstanding scalability, including a model-dependent phase transition with implications for hierarchical topology decomposition, together offering actionable guidelines for reliable, scalable, cost-effective AI-assisted network management.
## REFERENCES
[1] B. Ifland, R. Krief, A. Zilberman, E. Duani, M. Ohana, A. Murillo, O. Manor, O. Lavi, K. Hikichi, A. Shabtai, Y. Elovici, and R. Puzis, " GeNet: A Multimodal LLM-Based Co-Pilot for Network Topology and Configuration ," in *2025 IEEE 45th International Conference on Distributed Computing Systems Workshops (ICDCSW)*. Los Alamitos, CA, USA: IEEE Computer Society, Jul. 2025, pp. 117–122. [Online].
- Available: [https://doi.ieeecomputersociety.org/10.1109/ICDCSW63273.](https://doi.ieeecomputersociety.org/10.1109/ICDCSW63273.2025.00026) [2025.00026](https://doi.ieeecomputersociety.org/10.1109/ICDCSW63273.2025.00026)
- [2] "Neural language models for network configuration: Opportunities and reality check," *Computer Communications*, vol. 193, pp. 118–125, 2022.
- [3] A. Leivadeas and M. Falkner, "A survey on intent based networking," *IEEE Communications Surveys & Tutorials*, 2022.
- [4] R. Beckett, R. Mahajan, T. Millstein, J. Padhye, and D. Walker, "Don't mind the gap: Bridging network-wide objectives and device-level configurations," in *Proceedings of the 2016 ACM SIGCOMM Conference*, 2016, pp. 328–341.
- [5] C. Wang, M. Scazzariello, A. Farshin, D. Kostic, and M. Chiesa, "Making network configuration human friendly," *arXiv preprint arXiv:2309.06342*, 2023.
- [6] A. S. Jacobs, R. J. Pfitscher, R. H. Ribeiro, R. A. Ferreira, L. Z. Granville, W. Willinger, and S. G. Rao, "Hey, lumi! using natural language for {intent-based} network management," in *USENIX ATC 21*, 2021, pp. 625–639.
- [7] Z. Guo, F. Li, J. Shen, T. Xie, S. Jiang, and X. Wang, "Configreco: Network configuration recommendation with graph neural networks," *IEEE Network*, 2023.
- [8] J. Zhao, H. Sun, J. Wang, Q. Qi, Z. Zhuang, S. Tao, and J. Liao, "Confpilot: A pilot for faster configuration by learning from device manuals," in *2023 IEEE 43rd International Conference on Distributed Computing Systems (ICDCS)*. IEEE, 2023, pp. 108–119.
- [9] M. F. Ishmam, M. S. H. Shovon, M. F. Mridha, and N. Dey, "From image to language: A critical analysis of visual question answering (vqa) approaches, challenges, and opportunities," *Information Fusion*, p. 102270, 2024.
- [10] C. Wang, M. Scazzariello, A. Farshin, S. Ferlin, D. Kostic, and ´ M. Chiesa, "Netconfeval: Can llms facilitate network configuration?" *Proceedings of the ACM on Networking*, vol. 2, pp. 1–25, 2024.
- [11] R. Mondal, A. Tang, R. Beckett, T. Millstein, and G. Varghese, "What do llms need to synthesize correct router configurations?" in *Proceedings of the 22nd ACM Workshop on Hot Topics in Networks*, 2023, pp. 189–195.
- [12] R. Mondal, N. Bjorner, T. Millstein, A. Tang, and G. Varghese, "Llm-based config synthesis requires disambiguation," *arXiv preprint arXiv:2507.12443*, 2025.
- [13] A. Tang, R. Beckett, S. Benaloh, K. Jayaraman, T. Patil, T. Millstein, and G. Varghese, "Lightyear: Using modularity to scale bgp control plane verification," in *Proceedings of the ACM SIGCOMM 2023 Conference*, 2023, pp. 94–107.
- [14] Y. Wei, X. Xie, Y. Zuo, T. Hu, X. Chen, K. Chi, and Y. Cui, "Leveraging llm agents for translating network configurations," *arXiv preprint arXiv:2501.08760*, 2025.
- [15] J. Huang, X. Chen, S. Mishra, H. S. Zheng, A. Yu, X. Song, and D. Zhou, "Large language models cannot self-correct reasoning yet," in *International conference on learning representations*, vol. 2024, 2024, pp. 32 808–32 824.
- [16] A. Clemm, L. Ciavaglia, L. Z. Granville, and J. Tantsura, "Intent-based networking — concepts and definitions," IETF, RFC 9315, Oct. 2022.
- [17] R. Enns, M. Bjorklund, J. Schoenwaelder, and A. Bierman, "Network configuration protocol (NETCONF)," IETF, RFC 6241, Jun. 2011.
- [18] M. Bjorklund, "The YANG 1.1 data modeling language," IETF, RFC 7950, Aug. 2016.
- [19] T. Schneider, R. Birkner, and L. Vanbever, "Snowcap: Synthesizing network-wide configuration updates," in *Proceedings of the 2021 ACM SIGCOMM 2021 Conference*, 2021, pp. 33–49.
- [20] S. E. Ooi, R. Beuran, T. Kuroda, T. Kuwahara, R. Hotchi, N. Fujita, and Y. Tan, "Intent-driven secure system design: Methodology and implementation," *Computers & Security*, vol. 124, 2023.
- [21] D. Khurana, A. Koli, K. Khatter, and S. Singh, "Natural language processing: State of the art, current trends and challenges," *Multimedia tools and applications*, vol. 82, no. 3, pp. 3713–3744, 2023.
- [22] H. Li, P. Li, K. D. Assis, A. Aijaz, S. Shen, R. Nejabati, S. Yan, and D. Simeonidou, "Netmind: Adaptive ran baseband function placement by gcn encoding and maze-solving drl," in *2024 IEEE Wireless Communications and Networking Conference (WCNC)*. IEEE, 2024, pp. 1–6.
- [23] M. Shao, A. Basit, R. Karri, and M. Shafique, "Survey of different large language model architectures: Trends, benchmarks, and challenges," *IEEE Access*, 2024.
- [24] A. Mekrache, A. Ksentini, and C. Verikoukis, "Intent-based management of next-generation networks: An llm-centric approach," *Ieee Network*, 2024.
- [25] H. Chen, Y. Miao, L. Chen, H. Sun, H. Xu, L. Liu, G. Zhang, and W. Wang, "Software-defined network assimilation: bridging the last mile towards centralized network configuration management with nassim," in
- *Proceedings of the ACM SIGCOMM 2022 Conference*, 2022, pp. 281– 297.
- [26] Y. Huang, H. Du, X. Zhang, D. Niyato, J. Kang, Z. Xiong, S. Wang, and T. Huang, "Large language models for networking: Applications, enabling techniques, and challenges," *arXiv preprint arXiv:2311.17474*, 2023.
- [27] D. Adanza, L. Gifre, P. Alemany, C. Natalino, P. Monti, R. Munoz, ˜ and R. Vilalta, "Leveraging generative ai for intent-based networking operations in network slices," *Computer Networks*, p. 111647, 2025.
- [28] O. G. Lira, O. M. Caicedo, and N. L. da Fonseca, "Large language models for zero touch network configuration management," *IEEE Communications Magazine*, vol. 63, no. 7, pp. 146–153, 2024.
- [29] D. Donadel, F. Marchiori, L. Pajola, and M. Conti, "Can llms understand computer networks? towards a virtual system administrator," 2024.
- [30] K. Aykurt, A. Blenk, and W. Kellerer, "Netllmbench: A benchmark framework for large language models in network configuration tasks," in *2024 IEEE Conference on Network Function Virtualization and Software Defined Networks (NFV-SDN)*, 2024.
- [31] K. Dzeparoska and A. Leon-Garcia, "Kpi assurance and llms for intentbased management," in *NOMS 2025-2025 IEEE Network Operations and Management Symposium*. IEEE, 2025, pp. 1–9.
- [32] K. Dzeparoska, N. Beigi-Mohammadi, A. Tizghadam, and A. Leon-Garcia, "Towards a self-driving management system for the automated realization of intents," *IEEE Access*, vol. 9, pp. 159 882–159 907, 2021.
- [33] N. Zheng, F. Li, Z. Li, Y. Yang, Y. Hao, C. Liu, and X. Wang, "Configtrans: Network configuration translation based on large language models and constraint solving," in *2024 IEEE 32nd International Conference on Network Protocols (ICNP)*. IEEE, 2024, pp. 1–12.
- [34] R. Han, J. Wang, H. Sun, Z. Jiang, Q. Qi, Z. Zhuang, Y. Zhang, and J. Liao, "Network copilot: Intent-driven network configuration updating for service guarantee," in *IEEE INFOCOM 2025-IEEE Conference on Computer Communications*. IEEE, 2025, pp. 1–10.
- [35] T. Guo, X. Chen, Y. Wang, R. Chang, S. Pei, N. V. Chawla, O. Wiest, and X. Zhang, "Large language model based multi-agents: A survey of progress and challenges," *arXiv preprint arXiv:2402.01680*, 2024.
- [36] C. Wang and H. Li, "Mnc: A multi-agent framework for complex network configuration," *Intelligent Systems with Applications*, p. 200531, 2025.
- [37] W. Sun, C. Sun, Y. Zhang, Z. Yin, and Z. Kang, "Scnoc-agentic: A network operation and control agentic for satellite communication systems," *Electronics*, vol. 14, no. 16, p. 3320, 2025.
- [38] T. Li, K. Zhu, N. C. Luong, D. Niyato, Q. Wu, Y. Zhang, and B. Chen, "Applications of multi-agent reinforcement learning in future internet: A comprehensive survey," *IEEE Communications Surveys & Tutorials*, vol. 24, no. 2, pp. 1240–1279, 2022.
- [39] A. Amirkhani and A. H. Barshooi, "Consensus in multi-agent systems: a review," *Artificial Intelligence Review*, vol. 55, no. 5, pp. 3897–3935, 2022.
- [40] S. T. Arzo, R. Bassoli, F. Granelli, and F. H. Fitzek, "Multi-agent based autonomic network management architecture," *IEEE Transactions on Network and Service Management*, vol. 18, no. 3, pp. 3595–3618, 2021.
- [41] R. Beckett, A. Gupta, R. Mahajan, and D. Walker, "A general approach to network configuration verification," in *Proceedings of the Conference of the ACM Special Interest Group on Data Communication*, 2017, pp. 155–168.
- [42] Y. Hu, Q. Zhou, Q. Chen, X. Li, L. Liu, D. Zhang, A. Kachroo, T. Oz, and O. Tripp, "Qualityflow: An agentic workflow for program synthesis controlled by llm quality checks," *arXiv preprint arXiv:2501.17167*, 2025.
- [43] J. Gu, X. Jiang, Z. Shi, H. Tan, X. Zhai, C. Xu, W. Li, Y. Shen, S. Ma, H. Liu *et al.*, "A survey on llm-as-a-judge," *arXiv preprint arXiv:2411.15594*, 2024.
- [44] N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan, and S. Yao, "Reflexion: Language agents with verbal reinforcement learning," in *Advances in Neural Information Processing Systems*, vol. 36, 2023, pp. 8634–8652.
- [45] A. Madaan, N. Tandon, P. Gupta, S. Hallinan, L. Gao, S. Wiegreffe, U. Alon, N. Dziri, S. Prabhumoye, Y. Yang *et al.*, "Self-refine: Iterative refinement with self-feedback," *Advances in neural information processing systems*, vol. 36, pp. 46 534–46 594, 2023.
- [46] K. Stechly, M. Marquez, and S. Kambhampati, "Gpt-4 doesn't know it's wrong: An analysis of iterative prompting for reasoning problems," *arXiv preprint arXiv:2310.12397*, 2023.
- [47] H. Sharma and A. S. Jalal, "A survey of methods, datasets and evaluation metrics for visual question answering," *Image and Vision Computing*, vol. 116, p. 104327, 2021.

Fig. 21: The DL Score-cost tradeoff by visualization format.

Fig. 22: The DL Score-cost tradeoff by image type.
- [48] H. Liu, C. Li, Q. Wu, and Y. J. Lee, "Visual instruction tuning," *Advances in neural information processing systems*, vol. 36, 2024.
- [49] P. Babkin, W. Watson, Z. Ma, L. Cecchi, N. Raman, A. Nourbakhsh, and S. Shah, "Bizgraphqa: A dataset for image-based inference over graphstructured diagrams from business domains," in *Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval*, 2023, pp. 2691–2700.
- [50] Q. Wu, G. Bansal, J. Zhang, Y. Wu, B. Li, E. Zhu, L. Jiang, X. Zhang, S. Zhang, J. Liu *et al.*, "Autogen: Enabling next-gen llm applications via multi-agent conversations," in *First Conference on Language Modeling*, 2024.
- [51] Y. Miao, Y. Bai, L. Chen, D. Li, H. Sun, X. Wang, Z. Luo, D. Sun, and X. Xu, "An empirical study of netops capability of pre-trained large language models," *arXiv preprint arXiv:2309.05557*, 2023.
- [52] A. Angi, A. Sacco, and G. Marchetto, "Llnet: An intent-driven approach to instructing softwarized network devices using a small language model," *IEEE Transactions on Network and Service Management*, 2025.
- [53] L. Boytsov, "Indexing methods for approximate dictionary searching: Comparative analysis," *Journal of Experimental Algorithmics (JEA)*, vol. 16, pp. 1–1, 2011.
- [54] C. Zhao and S. Sahni, "String correction using the damerau-levenshtein distance," *BMC bioinformatics*, vol. 20, no. Suppl 11, p. 277, 2019.
- [55] J. Anderson, J. T. Tarigan, and A. Sharif, "Damerau-levenshtein distance and cosine similarity to select the optimal word in word typing game," in *AIP conference proceedings*, vol. 2987, no. 1. AIP Publishing LLC, 2024, p. 020033.
- [56] LangCahin, "Damerau-levenshtein json edit distance." [Online]. Available: [https://api.python.langchain.com/en/latest/evaluation/langchain.](https://api.python.langchain.com/en/latest/evaluation/langchain.evaluation.parsing.json_distance.JsonEditDistanceEvaluator.html) evaluation.parsing.json [distance.JsonEditDistanceEvaluator.html](https://api.python.langchain.com/en/latest/evaluation/langchain.evaluation.parsing.json_distance.JsonEditDistanceEvaluator.html)
- [57] K. Greshake, S. Abdelnabi, S. Mishra, C. Endres, T. Holz, and M. Fritz, "Not what you've signed up for: Compromising real-world LLMintegrated applications with indirect prompt injection," in *Proceedings of the 16th ACM Workshop on Artificial Intelligence and Security*, 2023, pp. 79–90.
#### APPENDIX
## *A. Vision Bench Cost and Full Trade-Offs*
Figure [25](#page-21-0) shows the impact of LLM temperature on intent implementation and topology understanding. Figures [21](#page-20-30) and [22](#page-20-31) present the DL Score-cost tradeoff for the various visualization formats and image types. Figures [23](#page-21-1) and [24](#page-21-2) present the DL Score-token usage and cost tradeoffs for the entire Vision Bench experiment.

Fig. 23: The DL Score-token usage tradeoff for all Vision Bench models.

Fig. 24: The DL Score-cost tradeoff for all Vision Bench models.

Fig. 25: Initial experiment: the effect of temperature on the (a) TIUS and (b) IIS.