Toward Generative 6G Simulation: An Experimental Multi-Agent LLM and ns-3 Integration

dc.contributor.authorRezazadeh, Farhad
dc.contributor.authorGargari, Amir Ashtari
dc.contributor.authorLagen, Sandra
dc.contributor.authorSong, Houbing
dc.contributor.authorNiyato, Dusit
dc.contributor.authorLiu, Lingjia
dc.date.accessioned2025-06-05T14:03:12Z
dc.date.available2025-06-05T14:03:12Z
dc.date.issued2025-03-17
dc.description.abstractThe move toward open Sixth-Generation (6G) networks necessitates a novel approach to full-stack simulation environments for evaluating complex technology developments before prototyping and real-world implementation. This paper introduces an innovative approach\footnote{A lightweight, mock version of the code is available on GitHub at that combines a multi-agent framework with the Network Simulator 3 (ns-3) to automate and optimize the generation, debugging, execution, and analysis of complex 5G network scenarios. Our framework orchestrates a suite of specialized agents -- namely, the Simulation Generation Agent, Test Designer Agent, Test Executor Agent, and Result Interpretation Agent -- using advanced LangChain coordination. The Simulation Generation Agent employs a structured chain-of-thought (CoT) reasoning process, leveraging LLMs and retrieval-augmented generation (RAG) to translate natural language simulation specifications into precise ns-3 scripts. Concurrently, the Test Designer Agent generates comprehensive automated test suites by integrating knowledge retrieval techniques with dynamic test case synthesis. The Test Executor Agent dynamically deploys and runs simulations, managing dependencies and parsing detailed performance metrics. At the same time, the Result Interpretation Agent utilizes LLM-driven analysis to extract actionable insights from the simulation outputs. By integrating external resources such as library documentation and ns-3 testing frameworks, our experimental approach can enhance simulation accuracy and adaptability, reducing reliance on extensive programming expertise. A detailed case study using the ns-3 5G-LENA module validates the effectiveness of the proposed approach. The code generation process converges in an average of 1.8 iterations, has a syntax error rate of 17.0%, a mean response time of 7.3 seconds, and receives a human evaluation score of 7.5.
dc.description.urihttp://arxiv.org/abs/2503.13402
dc.format.extent6 pages
dc.genrejournal articles
dc.genrepreprints
dc.identifierdoi:10.13016/m2k8vr-jhs7
dc.identifier.urihttps://doi.org/10.48550/arXiv.2503.13402
dc.identifier.urihttp://hdl.handle.net/11603/38669
dc.language.isoen_US
dc.relation.isAvailableAtThe University of Maryland, Baltimore County (UMBC)
dc.relation.ispartofUMBC Faculty Collection
dc.relation.ispartofUMBC Information Systems Department
dc.rightsThis item is likely protected under Title 17 of the U.S. Copyright Law. Unless on a Creative Commons license, for uses protected by Copyright Law, contact the copyright holder or the author.
dc.subjectComputer Science - Networking and Internet Architecture
dc.subjectUMBC Security and Optimization for Networked Globe Laboratory (SONG Lab)
dc.titleToward Generative 6G Simulation: An Experimental Multi-Agent LLM and ns-3 Integration
dc.typeText
dcterms.creatorhttps://orcid.org/0000-0003-2631-9223

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
250313402v1.pdf
Size:
1.53 MB
Format:
Adobe Portable Document Format