English

Using Causality for Enhanced Prediction of Web Traffic Time Series

Machine Learning 2025-09-08 v2 Networking and Internet Architecture

Abstract

Predicting web service traffic has significant social value, as it can be applied to various practical scenarios, including but not limited to dynamic resource scaling, load balancing, system anomaly detection, service-level agreement compliance, and fraud detection. Web service traffic is characterized by frequent and drastic fluctuations over time and are influenced by heterogeneous web user behaviors, making accurate prediction a challenging task. Previous research has extensively explored statistical approaches, and neural networks to mine features from preceding service traffic time series for prediction. However, these methods have largely overlooked the causal relationships between services. Drawing inspiration from causality in ecological systems, we empirically recognize the causal relationships between web services. To leverage these relationships for improved web service traffic prediction, we propose an effective neural network module, CCMPlus, designed to extract causal relationship features across services. This module can be seamlessly integrated with existing time series models to consistently enhance the performance of web service traffic predictions. We theoretically justify that the causal correlation matrix generated by the CCMPlus module captures causal relationships among services. Empirical results on real-world datasets from Microsoft Azure, Alibaba Group, and Ant Group confirm that our method surpasses state-of-the-art approaches in Mean Squared Error (MSE) and Mean Absolute Error (MAE) for predicting service traffic time series. These findings highlight the efficacy of leveraging causal relationships for improved predictions.

Keywords

Cite

@article{arxiv.2502.00612,
  title  = {Using Causality for Enhanced Prediction of Web Traffic Time Series},
  author = {Chang Tian and Mingzhe Xing and Zenglin Shi and Matthew B. Blaschko and Yinliang Yue and Marie-Francine Moens},
  journal= {arXiv preprint arXiv:2502.00612},
  year   = {2025}
}

Comments

time series, web service, web traffic, causality, more experiments

R2 v1 2026-06-28T21:29:15.715Z