English

5G Network Automation Using Local Large Language Models and Retrieval-Augmented Generation

Networking and Internet Architecture 2025-11-27 v1

Abstract

This demonstration showcases the integration of a lightweight, locally deployed Large Language Model (LLaMA-3 8b Q-4b) empowered by retrieval augmented generation (RAG) to automate 5G network management, with a strong emphasis on privacy. By running the LLM on local or edge devices ,we eliminate the need for external APIs, ensuring that sensitive data remains secure and is not transmitted over the internet. Although lightweight models may not match the performance of more complex models like GPT-4, we enhance their efficiency and accuracy through RAG. RAG retrieves relevant information from a comprehensive database, enabling the LLM to generate more precise and effective network configurations based on natural language user input. This approach not only improves the accuracy of the generated configurations but also simplifies the process of creating and configuring private networks, making it accessible to users without extensive networking or programming experience. The objective of this demonstration is to highlight the potential of combining local LLMs and RAG to deliver secure, efficient, and adaptable 5G network solutions, paving the way for a future where 5G networks are both privacy-conscious and versatile across diverse user profiles.

Keywords

Cite

@article{arxiv.2511.21084,
  title  = {5G Network Automation Using Local Large Language Models and Retrieval-Augmented Generation},
  author = {Ahmadreza Majlesara and Ali Majlesi and Ali Mamaghani and Alireza Shokrani and Babak Hossein Khalaj},
  journal= {arXiv preprint arXiv:2511.21084},
  year   = {2025}
}

Comments

4 pages, 1 figure, demonstrated on 6G Summit Abu Dhabi

R2 v1 2026-07-01T07:55:37.586Z