WiLLM: An Open Wireless LLM Communication System

Boyi Liu, Yongguang Lu, Jianguo Zhao, Qiang Yang, Wen Wu, Lin Chen, Jagmohan Chauhan, Jun ZhangarXiv 2025 · DOI

Introduction

Large Language Models (LLMs) are transforming digital interaction, yet their deployment over wireless networks remains a significant challenge. Traditional 5G/6G infrastructures are optimized for predictable, unidirectional traffic like video streaming. WiLLM is the first open-source framework designed to bridge this gap, introducing a hierarchical slicing architecture and universal device compatibility to enable generative AI services in realistic cellular environments.

The Challenge: Mismatched Traffic Patterns

Conventional wireless networks struggle with LLM services due to three fundamental mismatches:

  1. Bidirectional Heavy Loads: Multimodal LLMs create intense traffic in both directions (e.g., uploading an image and downloading a complex text response), unlike traditional apps that favor the downlink.
  2. Computation-Communication Coupling: The performance bottleneck in LLM services is dynamic. Improving network speed often reveals a hidden bottleneck in GPU inference, and vice versa.
  3. Token Stream Unpredictability: LLM output is inherently "bursty." Identical prompts can lead to inference times varying by over 300%, making static resource allocation highly inefficient.

System Architecture and Innovations

WiLLM is built upon the OpenAirInterface (OAI) platform and introduces several key architectural shifts to handle these challenges.

System architecture of WiLLM, illustrating the flow from diverse User Equipment (UEs) through specialized network slices to the GPU-equipped Core Network.

Tree-Branch-Fruit Slicing

The framework utilizes a three-tier hierarchy for network slicing. The "Tree" represents the base infrastructure, "Branches" correspond to standard 5G categories (like eMBB), and "Fruits" are specialized sub-slices tailored for specific LLM services, such as AR navigation or medical telemedicine.

Universal Compatibility and Core Integration

To overcome the fact that most commercial smartphones do not support custom network slicing, WiLLM employs application-layer tunneling. This allows standard devices to access specialized resources without firmware modifications. Furthermore, WiLLM integrates GPU clusters directly into the 5G Core Network, minimizing latency by placing compute power as close to the radio access network as possible.

The WiLLM Dataset

A cornerstone of this research is the release of the WiLLM Dataset, a comprehensive collection of 1.6 million synchronized records. Spanning 58 metrics across the User Equipment (UE), Radio Access Network (RAN), and Core Server, the dataset captures how mobility and radio conditions correlate with LLM-specific performance indicators like "Time to First Token."

Experimental Insights: The Bottleneck Migration Effect

Empirical testing with WiLLM revealed a critical phenomenon termed "Bottleneck Migration." As network resources are increased (moving from a thin slice to a thick one), the system bottleneck does not vanish; it shifts. In constrained environments, the network is the primary delay; in resource-abundant environments, the GPU inference time becomes the dominant factor.

Latency analysis across different slice configurations, highlighting how bottlenecks shift between network and inference components.

Additionally, the researchers confirmed that LLM traffic defies traditional Markovian models. The "thinking" phase of the model followed by a burst of tokens requires dynamic, rather than periodic, resource scheduling.

Key Results and Performance

WiLLM demonstrates significant improvements over standard network configurations:

  • Throughput: The slice-enabled implementation achieved a 43.5% improvement in uplink throughput.
  • Latency: In a smart glasses case study, the framework maintained a stable 2-second response latency for multimodal tasks, meeting the threshold for effective human-computer interaction.
  • Efficiency: The hierarchical architecture allows for real-time adjustment of slice parameters, maintaining service quality even during computational load fluctuations.

Conclusion and Future Directions

WiLLM democratizes 5G research for AI developers by abstracting complex telecom protocols through Python-friendly APIs. While current work focuses on Core Network deployment, future research will explore "Extreme Edge" deployments and the use of the WiLLM dataset to train Reinforcement Learning agents for predictive resource allocation. By open-sourcing the hardware, code, and data, WiLLM provides a foundation for the next generation of wireless-native AI services.

Summary updated

BibTeX
@misc{liu2025willm,
  author = {Boyi Liu and Yongguang Lu and Jianguo Zhao and Qiang Yang and Wen Wu and Lin Chen and Jagmohan Chauhan and Jun Zhang},
  title = {{WiLLM: An Open Wireless LLM Communication System}},
  year = {2025},
  eprint = {2506.19030},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.19030},
}
Figure