Wireless Traffic Prediction with Large Language Model

Chuanting Zhang, Haixia Zhang, Jingping Qiao, Zongzhang Li, Mohamed-Slim AlouiniarXiv 2025 · DOI

Abstract

As mobile networks transition toward the 6G era, managing the resulting "data deluge" requires intelligent, proactive resource management. While Large Language Models (LLMs) have demonstrated significant potential in time-series forecasting, they often fail to account for the complex spatial dependencies inherent in urban environments. This paper introduces TIDES (Traffic Intelligence with DeepSeek-Enhanced Spatial-temporal prediction), a novel framework that adapts the DeepSeek LLM for city-scale wireless traffic prediction. By integrating spatial-aware region clustering with a specialized spatial attention mechanism, TIDES achieves state-of-the-art accuracy, including a 0.973 Pearson correlation coefficient, and demonstrates robust generalization across diverse urban zones.

Introduction: The Challenge of Spatial-Temporal Prediction

Predicting wireless traffic is a multi-dimensional challenge. It is both temporal, following cyclical daily and weekly patterns, and spatial, as user mobility causes traffic to shift between neighboring cells. Traditional deep learning models like LSTMs or CNNs often struggle to scale or capture these dual dynamics simultaneously.

Recent advancements in LLMs for time-series forecasting (e.g., Time-LLM) treat data points as isolated sequences, missing the "spatial context"—the reality that events in one area, such as a stadium concert or a morning commute, affect a whole cluster of neighboring cells. TIDES addresses this by providing LLMs with "spatial eyes" to perceive the broader network environment.

Spatial-temporal characteristics of wireless traffic across different urban regions, illustrating the motivation for localized clustering.

The TIDES Framework

The TIDES framework operates through a two-phase approach designed to bridge numerical traffic data with the reasoning capabilities of LLMs.

1. Spatial-Aware Region Clustering

Rather than applying a monolithic model to an entire city, TIDES partitions base stations into clusters. This grouping is based on geographic location, traffic statistics (e.g., means and peaks), and Local Moran’s I, a metric for spatial autocorrelation. This allows the system to balance general network trends with specific regional behaviors.

2. LLM Integration and Architecture

The core of the framework utilizes DeepSeek-R1-Distill-Llama-8B. The architecture is designed for efficiency, freezing the primary LLM layers and fine-tuning only lightweight peripheral components.

The TIDES framework architecture, showcasing the integration of spatial-temporal data space and text data space via domain alignment.
  • Prompt Engineering: Traffic data is converted into structured natural-language prompts. These prompts include domain-specific metrics such as peak-to-average ratios, rush-hour intensity, and traffic burstiness, allowing the LLM to leverage its pre-trained reasoning on descriptive patterns.
  • Spatial Attention Module: This module employs a Laplacian-based graph shift operation. It enables the model to "attend" to neighboring cell data, capturing spatial dependencies without the risk of gradient explosion during training.
  • Domain Alignment: A multi-head cross-domain attention mechanism aligns traffic features with word embeddings, ensuring the LLM can process numerical trends as a "pseudo-language."

Experimental Evaluation

The authors validated TIDES using a massive real-world dataset from a 4G network in China, encompassing approximately 19,000 sectors over four weeks at 15-minute intervals. The city was partitioned into four distinct zones (A, B, C, and D) for rigorous evaluation.

Key Results

  • Superior Accuracy: TIDES achieved a Pearson correlation coefficient of 0.973, significantly outperforming Time-LLM (0.792) and DLinear (0.959).
  • Reliability: The model ranked first in 10 out of 12 metric-zone combinations (MAE, RMSE, MAPE). Error distribution analysis showed a sharp, symmetric peak around zero, indicating high prediction reliability.
  • Zero-Shot Generalization: In cross-zone testing (e.g., training on Zone B and testing on Zone A), the model maintained high performance with less than a 15% drop, suggesting it learns fundamental traffic dynamics rather than site-specific memorization.

Conclusion and Future Work

TIDES represents a significant step toward "AI-native" 6G networks. By treating numerical trends as a language and integrating spatial awareness, it overcomes the limitations of previous LLM-based forecasting. Future research will focus on incorporating 5G/6G specific features like beamforming, integrating multimodal inputs such as weather and local event calendars, and developing real-time online adaptation to handle sudden urban mobility shifts.

Summary updated

BibTeX
@misc{zhang2025wireless,
  author = {Chuanting Zhang and Haixia Zhang and Jingping Qiao and Zongzhang Li and Mohamed-Slim Alouini},
  title = {{Wireless Traffic Prediction with Large Language Model}},
  year = {2025},
  eprint = {2512.22178},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.22178},
}
Figure