# Short-term passenger flow prediction for multi-traffic modes: A Transformer and residual network based multi-task learning method

arXiv: https://arxiv.org/abs/2203.00422 · HTML: https://mlsanity.com/paper/2203.00422/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- Builds on 8 of its 46 references that are in the map.
- First posted on arXiv 27 Feb 2022.

## Builds on (most cited first, 8 of 8)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [Deep Residual Learning for Image Recognition](https://mlsanity.com/paper/1512.03385/) (2015)
- [Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcasting](https://mlsanity.com/paper/1506.04214/) (2015)
- [Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecasting](https://mlsanity.com/paper/1907.00235/) (2019)
- [Deep Spatio-Temporal Residual Networks for Citywide Crowd Flows Prediction](https://mlsanity.com/paper/1610.00081/) (2016)
- [Deep-learning Architecture for Short-term Passenger Flow Forecasting in Urban Rail Transit](https://mlsanity.com/paper/1912.12563/) (2019)
- [Joint predictions of multi-modal ride-hailing demands: a deep multi-task multigraph learning-based approach](https://mlsanity.com/paper/2011.05602/) (2020)
- [Joint Demand Prediction for Multimodal Systems: A Multi-task Multi-relational Spatiotemporal Graph Neural Network Approach](https://mlsanity.com/paper/2112.08078/) (2021)

## Built on by (most cited first, 4 of 4)

- [Transfer learning for cross-modal demand prediction of bike-share and public transit](https://mlsanity.com/paper/2203.09279/) (2022)
- [Multimodal joint prediction of traffic spatial-temporal data with graph sparse attention mechanism and bidirectional temporal convolutional network](https://mlsanity.com/paper/2412.19842/) (2024)
- [CSP-AIT-Net: A contrastive learning-enhanced spatiotemporal graph attention framework for short-term metro OD flow prediction with asynchronous inflow tracking](https://mlsanity.com/paper/2412.01419/) (2024)
- [Comparative Analysis of Polygon-Based and Global Machine Learning Models for Bus Occupancy Prediction](https://mlsanity.com/paper/2605.00083/) (2026)

## Abstract (arXiv)

With the prevailing of mobility as a service (MaaS), it becomes increasingly important to manage multi-traffic modes simultaneously and cooperatively. As an important component of MaaS, short-term passenger flow prediction for multi-traffic modes has thus been brought into focus. It is a challenging problem because the spatiotemporal features of multi-traffic modes are critically complex. Moreover, the passenger flows of multi-traffic modes differentiate and fluctuate significantly. To solve these problems, this paper proposes a multitask learning-based model, called Res-Transformer, for short-term inflow prediction of multi-traffic modes (subway, taxi, and bus). Each traffic mode is treated as a single task in the model. The Res-Transformer consists of two parts: (1) several modified Transformer layers comprising the conv-Transformer layer and the multi-head attention mechanism, which helps to extract the spatial and temporal features of multi-traffic modes, (2) the structure of residual network is utilized to obtain the correlations of different traffic modes and prevent gradient vanishing, gradient explosion, and overfitting. The Res-Transformer model is evaluated on two large-scale real-world datasets from Beijing, China. One is the region of a traffic hub and the other is the region of a residential area. Experiments are conducted to compare the performance of the proposed model with several baseline models. Results prove the effectiveness and robustness of the proposed method. This paper can give critical insights into the short-term inflow prediction for multi-traffic modes.
