LLM-Slice: Dedicated Wireless Network Slicing for Large Language Models

Boyi Liu, Jingwen Tong, Jun ZhangarXiv 2024 · DOI

Abstract

LLM-Slice is a novel 5G network slicing system designed to address the bursty and unpredictable traffic patterns of Large Language Models (LLMs). By implementing dedicated communication slices and an intelligent controller that dynamically adjusts resources based on response characteristics, the system achieves a 52% reduction in average latency and significantly enhances connection stability for AI-driven applications.

Introduction

As Large Language Models (LLMs) are increasingly integrated into mobile devices and robotics, current wireless networks face significant challenges. Traditional 5G architectures are not optimized for the unique traffic profiles of LLMs, which are characterized by:

  1. Extreme Bursts: LLM applications generate high peak traffic that can lead to network congestion.
  2. High Uncertainty: Response sizes vary wildly—from a single word to extensive technical reports—making static resource allocation inefficient.

Failure to adapt to these patterns results in high latency, wasted bandwidth, and frequent disconnections during long-form generation.

Methodology

The proposed LLM-Slice framework introduces "LLM-awareness" into the 5G stack through three primary components:

  • Dedicated Network Slicing: Virtual slices are created for specific LLM services (e.g., ChatGPT, LLaMA), allowing for independent resource management.
  • RAN Intelligent Controller (RIC): Serving as the system's "brain," the RIC analyzes incoming response sizes and employs a Downstream Communication Resource Decision Algorithm to adjust wireless resources dynamically.
  • Multi-Tier Architecture: The framework is structured into service, network function, and infrastructure layers.
Detailed architecture of the LLM-Slice system, showing the integration of the Slice Implementation Module and the RAN Intelligent Controller within the 5G stack.

The system was implemented using a real-world testbed comprising OpenAirInterface (OAI) for the 5G software stack, USRP X410 software-defined radios, and Open5GS for the core network.

Experimental Evaluation

The system was evaluated using real-world traffic from LLaMA (deployed on a local edge server) as well as Google Bard and ChatGPT (accessed via cloud APIs). The performance of LLM-Slice was compared against a standard 5G baseline.

Key Results

Experimental data from the 5G testbed demonstrates substantial performance gains across all primary metrics:

Performance comparison between the baseline 5G setup and the LLM-Slice system.
  • Latency: Average response latency was reduced by 52%, dropping from 250ms to 120ms.
  • Resource Utilization: Efficiency in network airtime usage increased by 30.8%, rising from 65% to 85%.
  • Downlink Stability: Stability reached 99%, a 7.6% improvement, which is vital for maintaining long-form LLM streaming responses.

Conclusion and Future Work

LLM-Slice demonstrates that context-aware network slicing can significantly improve the quality of service for AI-driven applications. Future research will focus on scaling the system for high-density urban environments, integrating Federated Learning for enhanced privacy, and developing cloud-edge collaboration strategies to further optimize request processing based on real-time network conditions.

Summary updated

BibTeX
@misc{liu2024llm,
  author = {Boyi Liu and Jingwen Tong and Jun Zhang},
  title = {{LLM-Slice: Dedicated Wireless Network Slicing for Large Language Models}},
  year = {2024},
  eprint = {2410.18499},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.18499},
}
Figure