Abstract
Predicting metro passenger flow precisely is of great importance for dynamic traffic planning. Deep learning algorithms have been widely applied due to their robust performance in modelling non-linear systems. However, traditional deep learning algorithms completely discard the inherent graph structure within the metro system. Graph-based deep learning algorithms could utilise the graph structure but raise a few challenges, such as how to determine the weights of the edges and the shallow receptive field caused by the over-smoothing issue. To further improve these challenges, this study proposes a model based on GraphSAGE with an edge weights learner applied. The edge weights learner utilises socially meaningful features to generate edge weights. Hypergraph and temporal exploitation modules are also constructed as add-ons for better performance. A comparison study is conducted on the proposed algorithm and other state-of-art graph neural networks, where the proposed algorithm could improve the performance.
Introduction
Predicting station-level passenger flow in metro systems is a critical component of modern urban planning and traffic management. While deep learning architectures like CNNs and LSTMs have shown promise in modeling non-linear temporal patterns, they often fail to account for the complex spatial dependencies inherent in a transit network. Graph Neural Networks (GNNs) offer a solution by treating the metro as a graph, yet they frequently struggle with "over-smoothing"—a phenomenon where node features become indistinguishable as the model depth increases—and the use of arbitrary edge weights that ignore the socio-economic drivers of travel.
The Hyper-GST Architecture
To address these limitations, this paper introduces Hyper-GST, a framework combining GraphSAGE, Social-meaningful edge weights, and Temporal exploitation. The model's core innovation lies in its ability to expand its receptive field without the negative side effects of deep stacking.
GraphSAGE and the $k$-hop Strategy
Unlike standard Graph Convolutional Networks (GCNs) that aggregate neighbor features into a single representation, Hyper-GST utilizes GraphSAGE. This architecture maintains a distinction between a station's own features and those of its neighbors during updates, preventing the "forgetting" of unique station identities.
To allow the model to "see" further down the line without adding layers, the researchers transform the physical metro map into a $k$-hop graph. In this structure, an edge is established between any two stations reachable within $k$ stops. This "wide" but "shallow" approach enables a single-layer model to capture dependencies across a large portion of the network.
Socially Meaningful Edge Weights
Rather than relying on simple distance or binary connectivity, Hyper-GST employs a Multi-Layer Perceptron (MLP) "learner" to determine edge weights. This learner processes "socially meaningful" features—specifically housing prices, life expectancy, and geographic zones—to quantify the strength of the connection between stations. This approach treats these socio-economic metrics as proxies for travel demand, recognizing that flow is often driven by the movement between residential hubs and commercial centers.
Hypergraph and Temporal Add-ons
To capture line-switching behavior, the model incorporates a hypergraph module where each metro line is treated as a hyperedge containing all its constituent stations. Additionally, a temporal exploitation module extracts patterns from the daily flow sequence, compensating for the relatively low temporal resolution of the available data.
Data and Experimental Setup
The model was evaluated using data from the VIS-tube project, focusing on 206 stations within London’s Zone 4. The dataset spans 13 years (2003–2016) and includes entry/exit counts across five distinct daily periods: Early, AM, Mid, PM, and Late. Social features were integrated at the station level to inform the edge weight learner.
Results and Discussion
Hyper-GST consistently outperformed state-of-the-art models, including GCN, GAT, and GINConv. The integration of the edge weights learner alone improved the Mean Absolute Percentage Error (MAPE) by 6.5% to 13.1% over standard GraphSAGE.
Receptive Field Analysis
A key finding of the study is the relationship between graph structure and the model's receptive field. While standard GCNs reached peak performance with a very limited view (approx. 1.5 hops), Hyper-GST achieved its best results with an average receptive field of 2.7 hops. This effectively allows the model to incorporate information from approximately 8 stations away, providing a much richer spatial context.
In direct comparisons, the $k$-hop shallow models significantly outperformed deep one-hop models. For instance, in "Early Entry" predictions, the $k$-hop model achieved a MAPE of 7.41%, compared to 16.21% for the deep one-hop variant, confirming that architectural "width" is more effective than "depth" for this task.
Conclusion
The Hyper-GST model demonstrates that incorporating domain-specific social features and optimizing graph topology can significantly enhance the accuracy of metro flow predictions. By bypassing the over-smoothing issue through $k$-hop transformations and GraphSAGE's unique aggregation method, the model provides a robust tool for urban transit planning. Future work will focus on increasing temporal resolution and automating the sampling rates for the hypergraph module to further stabilize performance.
Summary updated