FoMo: A Foundation Model for Mobile Traffic Forecasting with Diffusion Model

Haoye Chai, Shiyuan Zhang, Xiaoqian Qi, Yong Li · DOI · OpenReview

Abstract

Mobile traffic forecasting allows operators to anticipate network dynamics and performance in advance, offering substantial potential for enhancing service quality and improving user experience. However, existing models are often task-oriented and are trained with tailored data, which limits their effectiveness in diverse mobile network tasks—such as Base Station (BS) deployment, resource allocation, and energy optimization—and hinders generalization across different urban environments. In this paper, we propose an innovative Foundation model for Mobile traffic forecasting (FoMo), designed to handle diverse tasks including short/long-term predictions and distribution generation across multiple cities. FoMo combines diffusion models and transformers, utilizing spatio-temporal masks to learn intrinsic features and a contrastive learning strategy to capture correlations between traffic and urban contexts. Extensive experiments on 9 real-world datasets demonstrate that FoMo outperforms current models in diverse forecasting tasks and zero/few-shot learning, showcasing strong universality.

Introduction

Mobile network operators currently face a "fragmentation" problem in traffic forecasting. Typically, distinct specialized models are required for different objectives: radio resource scheduling (short-term), base station deployment (long-term), or planning for new neighborhoods (generation). Furthermore, these models are often "city-locked"—a model trained on Beijing’s traffic patterns might fail in Munich due to differences in urban layout, lifestyle habits, and population density.

Existing attempts to use Large Language Models (LLMs) for this task often rely on manual prompting that fails to capture intricate spatio-temporal dependencies. FoMo aims to be a "one-for-all" foundation model that generalizes across tasks and geographies by treating forecasting as a denoising task, learning the underlying distribution of traffic rather than just point estimates.

The FoMo Framework

FoMo utilizes a three-stage framework to achieve universality and robustness, moving from raw data to task-specific alignment.

The three-stage framework of FoMo: Data tokenization, pre-training, and fine-tuning.

1. Data Tokenization

To handle heterogeneous data (such as millisecond-level reports vs. 15-minute statistics), FoMo reshapes traffic data into unified "mobile tokens" across spatial and temporal dimensions. This standardization allows the model to process diverse inputs within a single architecture.

2. Masked Diffusion-based Pre-training

Inspired by generative models, FoMo uses a transformer backbone within a diffusion process. The framework employs four specific task-oriented masks:

  • Short/Long-term masks: Hide future time steps to teach prediction.
  • Generation masks: Obscure temporal data at a location to teach the model how to synthesize traffic from surrounding context.
  • Random masks: Help the model learn general spatio-temporal correlations.

3. Urban Context-aware Fine-tuning

This stage integrates external data—Point of Interest (POI) distributions and mobile user dynamics—using a contrastive learning strategy. By aligning traffic features with environmental context (e.g., recognizing that a "restaurant" POI correlates with noon traffic spikes), FoMo drastically improves its ability to generalize to new cities through zero-shot learning.

Detailed architecture of the denoising network and context-aware alignment during fine-tuning.

Experimental Evaluation

The researchers evaluated FoMo using 9 real-world datasets covering over 30,000 base stations across cities including Beijing, Shanghai, and Munich.

  • Forecasting Accuracy: FoMo improved average RMSE by 17.8% in short-term tasks and 18.9% in long-term tasks compared to 13 state-of-the-art baselines, including TimeGPT and PatchTST.
  • Zero-Shot Capability: In Munich—a city the model never saw during training—FoMo's zero-shot performance surpassed other models that had been fine-tuned on small local samples.
  • Real-world Impact: Deployed on China Mobile’s JiuTian AI platform, the model led to a 25.3% increase in served users through optimized BS deployment and a 40.7% reduction in equipment depreciation by accurately predicting hardware sleep cycles.

Conclusion

FoMo demonstrates that mobile traffic is a reflection of human behavior tied to geography. By explicitly aligning traffic tokens with urban context, the model learns the "why" behind traffic patterns, enabling high performance across diverse tasks and regions. Future work will focus on optimizing the energy-accuracy trade-off for "green" AI and exploring scaling dynamics relative to specific urban factors like population density.

Summary updated

Abstract

Mobile traffic forecasting allows operators to anticipate network dynamics and performance in advance, offering substantial potential for enhancing service quality and improving user experience. However, existing models are often task-oriented and are trained with tailored data, which limits their effectiveness in diverse mobile network tasks of Base Station (BS) deployment, resource allocation, energy optimization, etc. and hinders generalization across different urban environments. Foundation models have made remarkable strides across various domains of NLP and CV due to their multi-tasking adaption and zero/few-shot learning capabilities. In this paper, we propose an innovative Foundation model for Mo}bile traffic forecasting (FoMo), aiming to handle diverse forecasting tasks of short/long-term predictions and distribution generation across multiple cities to support network planning and optimization. FoMo combines diffusion models and transformers, where various spatio-temporal masks are proposed to enable FoMo to learn intrinsic features of different tasks, and a contrastive learning strategy is developed to capture the correlations between mobile traffic and urban contexts, thereby improving its transfer learning capability. Extensive experiments on 9 real-world datasets demonstrate that FoMo outperforms current models concerning diverse forecasting tasks and zero/few-shot learning, showcasing a strong universality.
BibTeX
@inproceedings{chai2025fomo,
  author = {Haoye Chai and Shiyuan Zhang and Xiaoqian Qi and Yong Li},
  title = {{FoMo: A Foundation Model for Mobile Traffic Forecasting with Diffusion Model}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  url = {https://openreview.net/forum?id=YDtitxNwOO},
}
Figure