Large Language Model (LLM)-enabled Graphs in Dynamic Networking

Geng Sun, Yixian Wang, Dusit Niyato, Jiacheng Wang, Xinying Wang, H. Vincent Poor, Khaled B. Letaief

Abstract

Recent advances in generative artificial intelligence (AI), and particularly the integration of large language models (LLMs), have had considerable impact on multiple domains. Meanwhile, enhancing dynamic network performance is a crucial element in promoting technological advancement and meeting the growing demands of users in many applications areas involving networks. In this article, we explore an integration of LLMs and graphs in dynamic networks, focusing on potential applications and a practical study. Specifically, we first review essential technologies and applications of LLM-enabled graphs, followed by an exploration of their advantages in dynamic networking. Subsequently, we introduce and analyze LLM-enabled graphs and their applications in dynamic networks from the perspective of LLMs as different roles. On this basis, we propose a novel framework of LLM-enabled graphs for networking optimization, and then present a case study on UAV networking, concentrating on optimizing UAV trajectory and communication resource allocation to validate the effectiveness of the proposed framework. Finally, we outline several potential future extensions.

Run the Program

1) Create a new conda environment with the following command:


      conda create --name LLMGNN python==3.9
    

2) Activate the created environment with the following command:


      conda activate LLMGNN
    

3) Install the following packets using pip:


      pip install torch==1.13.1
      pip install networkx==3.2.1
      pip install torch-geometric==2.5.3
      pip install torch_cluster==1.6.0
      pip install torch_scatter==2.1.0
      pip install torch_sparse==0.6.15
      pip install torch_spline_conv==1.2.1
      pip install matplotlib==3.9.0
      pip install numpy==1.23.0
    

4) Run the different algorithm:


      LLM+GNN: run LLM_GNN.py;
      LLM+GAT: run LLM_GAT.py;
      LLM+Node2Vec: run LLM_Node2Vec.py;
    

BibTeX

@article{sun2024,
        title={Large Language Model (LLM)-enabled Graphs in Dynamic Networking},
        author={Geng Sun, Yixian Wang, Dusit Niyato, Jiacheng Wang, Xinying Wang, H. Vincent Poor, Khaled B. Letaief},
        journal={},
        year={2024}
      }