MSCMHMST: A traffic flow prediction model based on Transformer

Weiyang Geng, Yiming Pan, Zhecong Xing, Dongyu Liu, Rui Liu +1 more
3/16/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

This study proposes a hybrid model based on Transformers, named MSCMHMST, aimed at addressing key challenges in traffic flow prediction. Traditional single-method approaches show limitations in traffic prediction tasks, whereas hybrid methods, by integrating the strengths of different models, can provide more accurate and robust predictions. The MSCMHMST model introduces a multi-head, multi-scale attention mechanism, allowing the model to parallel process different parts of the data and learn its intrinsic representations from multiple perspectives, thereby enhancing the model's ability to handle complex situations. This mechanism enables the model to capture features at various scales effectively, understanding both short-term changes and long-term trends. Verified through experiments on the PeMS04/08 dataset with specific experimental settings, the MSCMHMST model demonstrated excellent robustness and accuracy in long, medium, and short-term traffic flow predictions. The results indicate that this model has significant potential, offering a new and effective solution for the field of traffic flow prediction.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{geng2025mscmhmst,
  title  = {MSCMHMST: A traffic flow prediction model based on Transformer},
  author = {Weiyang Geng and Yiming Pan and Zhecong Xing and Dongyu Liu and Rui Liu and Yuan Zhu},
  year   = {2025},
  eprint = {2503.13540},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.13540v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.13540.svg)](https://codeofpaper.com/paper/2503.13540)

Discussion