Next Article in Journal
A Noise-Weighted Unsupervised Denoising Approach for Distant Supervision Relation Extraction
Previous Article in Journal
Branch-Priority Exploration for Mobile Robots in Restricted Industrial Corridors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

CATI: Cross-Attention-Based Task Interaction for Multi-Granular Metro Passenger Flow Forecasting

1
School of Computer Science, Hangzhou Dianzi University, No. 1158, Ave. 2, Qiantang District, Hangzhou 310018, China
2
Department of Information and Design, Zhejiang Industry Polytechnic College, Qutun Road, Shaoxing 312000, China
3
School of Computer Science and Technology, Zhejiang Normal University, 688 Yingbin Road, Jinhua 321004, China
*
Author to whom correspondence should be addressed.
Symmetry 2026, 18(5), 809; https://doi.org/10.3390/sym18050809
Submission received: 3 March 2026 / Revised: 15 April 2026 / Accepted: 22 April 2026 / Published: 8 May 2026
(This article belongs to the Section Computer)

Abstract

Accurate short-term metro passenger flow forecasting plays a key role in urban transit management, supporting train scheduling, crowd control, and operational planning. Jointly modeling station-level inflow/outflow (IO) and inter-station origin–destination flows (OD/DO) has proven effective for improving prediction accuracy, as it allows the model to leverage dependencies across different flow granularities. However, effectively exploiting such dependencies remains nontrivial. Station-level intensity (IO) and inter-station migration patterns (OD/DO) differ substantially in both representation and dynamics, and the dependencies between them are inherently directional and uneven. As a result, commonly used parameter-sharing mechanisms in multi-task learning are often insufficient to capture informative cross-task interactions. To address this issue, we propose CATI (Cross-Attention-based Task Interaction), a unified framework for joint multi-granular metro flow forecasting. CATI first learns task-specific spatiotemporal representations for IO, OD, and DO flows, and then introduces directed cross-attention with Gated Residual Fusion to model selective and asymmetric interactions across tasks. In addition, an aggregation-consistency regularization is employed to maintain structural coherence between station-level and inter-station predictions. Experiments on real-world metro datasets from Hangzhou and Shanghai show that CATI consistently outperforms strong baselines across multiple prediction horizons and tasks. Further analysis indicates that the model learns adaptive attention patterns, task-dependent gating behaviors, and controlled interaction strengths, which together explain its improved performance. These results suggest that explicitly modeling asymmetric cross-task interactions is important for multi-granular spatiotemporal forecasting in metro systems.

1. Introduction

Urban rail transit has become a core mode of urban mobility due to its high capacity, efficiency, and reliability. However, metro passenger flows exhibit substantial instability and complexity at short time scales, driven by volatile travel demand, peak-hour concentration, operational disturbances, and unexpected events. Accurate short-term passenger flow forecasting is therefore critical for train scheduling, station crowd management, and operational safety, contributing directly to improved efficiency and service quality [1,2]. In this study, metro passenger flow forecasting is formulated as a multi-task regression problem, aiming to predict continuous flow values over future time horizons. Existing studies typically focus on two spatial granularities: station-level inflow and outflow (IO) and inter-station origin-destination flows (OD/DO). Station-level IO forecasting benefits from spatiotemporal graph modeling and sequential learning, which effectively capture local correlations and temporal dependencies [3,4]. In contrast, OD/DO forecasting characterizes directional travel demand between stations, but suffers from high dimensionality, sparsity, and partial observability, leading to unstable multi-step predictions [1,5,6]. This setting requires modeling continuous spatiotemporal demand dynamics rather than assigning discrete labels or categories.
To exploit complementary information across granularities, recent studies adopt multi-task learning paradigms to jointly model IO and OD/DO flows [7,8,9]. Unlike classification-based transportation problems, such as crash severity prediction, which focus on discrete label assignment, multi-granular passenger flow forecasting involves continuous demand estimation over space and time. Most existing approaches rely on shared encoders, mixture-of-experts architectures, or graph-based feature sharing mechanisms, where cross-task interaction is achieved through parameter sharing or symmetric feature fusion [8,9,10]. While effective in more homogeneous settings, these designs are less suitable for multi-granular passenger flow forecasting, where tasks differ substantially in scale, sparsity, and statistical characteristics. In particular, OD and DO flows are sparse and high-dimensional, whereas IO flows are relatively dense and stable. Direct sharing may therefore introduce noise or suppress task-specific patterns. More importantly, the relationships among IO, OD, and DO flows exhibit both structural coupling and directional asymmetry. On the one hand, station-level inflow and outflow correspond to aggregated OD and DO flows, implying that predictions across granularities should remain coherent. On the other hand, OD and DO flows reflect directional movement patterns and path-dependent dynamics, leading to asymmetric dependencies across tasks [9]. In addition, latent representations introduced to mitigate sparsity further weaken direct numerical correspondence across granularities. These properties suggest that cross-task interaction should be selective, directional, and adaptive, rather than uniformly shared.
To address these challenges, we propose CATI (Cross-Attention-based Task Interaction), a multi-granular forecasting framework for joint IO, OD, and DO prediction. CATI adopts an encoder–decoder architecture, where task-specific spatiotemporal representations are first learned independently and then enhanced through directed cross-attention. This design allows each task to selectively incorporate information from other granularities, enabling asymmetric and task-aware information propagation for continuous spatiotemporal regression. In addition, a flow-consistency regularization is introduced to encourage coherence across granularities while preserving task-specific flexibility.
The main contributions of this study are summarized as follows:
(1)
We formulate multi-granular metro passenger flow forecasting as a set of structurally coupled yet heterogeneous regression tasks, characterized by aggregation constraints and directional dependencies, which are not adequately addressed by existing symmetric multi-task learning frameworks.
(2)
We develop CATI, a cross-attention-based interaction framework that enables selective and direction-aware information exchange across IO, OD, and DO flows, providing a flexible alternative to conventional shared-encoder and MMoE-style architectures.
(3)
We introduce a flow-consistency regularization to enhance cross-granular coherence and multi-step stability, and demonstrate the effectiveness of the proposed framework through extensive experiments and ablation studies on real-world metro datasets.

2. Related Work

Short-term metro passenger flow forecasting has been extensively studied from both station-level and inter-station perspectives. Existing work mainly focuses on station-level inflow/outflow (IO) forecasting, inter-station origin–destination/destination–origin (OD/DO) forecasting, and, more recently, their joint modeling via multi-task learning (MTL).

2.1. Station-Level IO Passenger Flow Forecasting

Station-level inflow/outflow (IO) forecasting is one of the most mature research directions in short-term metro passenger flow prediction. Existing studies primarily differ in how they model inter-station spatial correlations and temporal evolution, leading to a gradual progression from topology-driven spatiotemporal modeling toward more adaptive and expressive representations. Early methods predominantly rely on fixed graph structures—such as physical topology, functional similarity, or historical correlations—combined with recurrent or convolutional sequence models to capture spatial dependencies and temporal dynamics. Representative approaches, including PVCGN [11] and MGC-RNN [12], demonstrate strong performance under normal operating conditions, but their dependence on predefined relational priors limits adaptability under peak-demand fluctuations and non-stationary disruptions.
To alleviate the rigidity of static graph assumptions, subsequent studies introduce adaptive and dynamic dependency learning mechanisms that infer latent and time-varying spatial interactions directly from data. Methods such as MR-STN [13], STDGRL [14], PMR-GCN [3], TGCRN [15], ReDyNet [4], and DSTGFN [16] dynamically adjust inter-station interaction patterns to better reflect evolving passenger movement correlations. At the same time, attention mechanisms and Transformer-style architectures have been explored to strengthen temporal dependency modeling, enabling more effective capture of long-range and multi-scale temporal patterns and substantially improving multi-horizon forecasting accuracy [17,18]. Some studies further incorporate higher-order or hierarchical spatial structures, such as STHGARN [19] and hierarchical graph-based approaches [20], to model complex dependencies across multiple levels.
These methods improve the representation of station-level dynamics, but they largely treat IO flows as isolated targets. The interaction between station-level flows and inter-station movements is not explicitly modeled, and the directional propagation of passenger demand across the network is not directly reflected. As a result, IO predictions may become inconsistent with underlying movement patterns, especially under long-horizon forecasting or sudden demand changes.

2.2. Inter-Station OD/DO Passenger Flow Forecasting

Inter-station origin-destination (OD/DO) forecasting provides a fine-grained description of passenger movements between stations and reveals the network-level propagation of travel demand in metro systems. Compared with station-level IO prediction, OD/DO forecasting is inherently more challenging due to the high dimensionality, severe sparsity, and partial observability of OD matrices, especially near the prediction horizon [21,22]. Early studies mainly rely on statistical models or sequence-based approaches, such as matrix decomposition and recurrent neural networks, which are interpretable but limited in capturing spatial structure. Recent work introduces spatiotemporal models that explicitly incorporate graph structures and directional dependencies. Methods such as ST-DAMHGN [1], ODformer [23], PSAM-CNN [5], and ODMixer [6] model cross-station interactions and improve OD prediction performance. Some work also introduces operational constraints into OD prediction. Zhang et al. [24] incorporate section capacity utilization ratios to regularize OD estimates under network capacity limits. However, such approaches mainly constrain OD flows themselves and do not explicitly enforce consistency with station-level IO flows. In addition, to address the delay between trip generation and completion, HIAM [7] jointly models OD and DO flows to reduce temporal misalignment.
Although these methods improve OD/DO prediction, they are typically developed independently of IO modeling. While OD/DO flows inherently encode direction-driven and asymmetric passenger propagation across the network, their predictions are typically optimized without explicit coordination with station-level IO flows. As a result, the conservation relationship between inter-station transfers and station-level marginals is often violated implicitly, especially under multi-step forecasting, where directional errors accumulate over time. This structural mismatch exposes a fundamental challenge in multi-granular passenger flow forecasting: how to jointly model asymmetric OD/DO propagation while preserving conservation-induced consistency across flow granularities, which cannot be adequately addressed by OD/DO-only or loosely coupled modeling paradigms.

2.3. Multi-Task Learning for Joint IO-OD-DO Forecasting

To leverage complementary information across multiple flow granularities, multi-task learning (MTL) has been increasingly adopted in metro passenger flow forecasting. Representative studies such as HIAM [7], Multi-AFFN [8], MTLMetro [9], and recent MMoE-based multi-granular forecasting models jointly predict IO, OD, and DO flows within unified architectures. These methods demonstrate consistent improvements over single-task learning by enabling information sharing, coordinated optimization, and enhanced robustness.
However, existing MTL approaches exhibit several common limitations. First, cross-task interactions are often implemented via shared encoders, feature concatenation, or predefined message-passing channels, resulting in static and coarse-grained information sharing that is insensitive to task-specific relevance or temporal context [9]. Second, most joint frameworks implicitly assume near-symmetric cross-task interactions, which limits their ability to capture direction-driven and asymmetric demand propagation inherent in OD/DO flows. Third, flow conservation is typically treated as an implicit property or a soft regularization term, rather than as an explicit structural constraint [8,9], leaving marginal inconsistencies unresolved under peak loads or disruptions.
In summary, existing work does not explicitly distinguish between directional interaction and conservation constraints in multi-granular passenger flow modeling. This limits the ability of current methods to simultaneously capture demand propagation and maintain structural consistency. To address this issue, we propose CATI, which introduces directed cross-attention to model asymmetric and target-aware interactions while explicitly enforcing conservation consistency across flow granularities.

3. Preliminaries

This section introduces the multi-granular passenger flow representations used, the delayed observability of inter-station OD flows, and the aggregation relations that couple station-level and inter-station flows. These preliminaries clarify the structural dependencies and heterogeneous characteristics of IO, OD, and DO flows, which motivate the cross-task interaction framework proposed in Section 4.

3.1. Definitions

In metro passenger flow forecasting, travel demand can be described at different spatial granularities. Station-level inflow/outflow (IO) captures local entry and exit volumes, while origin-destination (OD) and destination-origin (DO) flows describe directional passenger movements between stations. OD and DO flows explicitly encode directional travel demand from two views. These representations are not independent: they are linked by flow aggregation relations, but also exhibit different statistical properties, dimensional scales, and sparsity patterns. In particular, OD and DO matrices are typically high-dimensional and sparse, while IO flows are relatively dense and stable. Such heterogeneity makes direct parameter sharing across tasks ineffective and motivates the need for adaptive cross-task interaction mechanisms.
Definition 1
(Metro Topological Graph). The metro system is represented as a weighted graph G = ( V , E , W ) , where V denotes the set of N stations, E denotes physical connections between stations, and W R N × N is a weight matrix derived from the row-normalized adjacency of G. The graph structure is assumed to be static across all time slots.
Definition 2
(Station-Level Inflow and Outflow (IO)). The station-level passenger flow at time slot t is denoted as X t I O R N × 2 . For station i, X t I O [ i , 0 ] and X t I O [ i , 1 ] represent the inflow (entries) and outflow (exits), respectively. For convenience, we define the inflow and outflow as X t I [ i ] = X t I O [ i , 0 ] and X t O [ i ] = X t I O [ i , 1 ] .
Definition 3
(Inter-Station OD and DO Flows). The origin-destination (OD) flow at time slot t is defined as X t O D R N × N , where X t O D [ i , j ] denotes the number of passengers entering station i during slot t and heading for destination station j. The destination-origin (DO) flow at time slot t is defined as X t D O R N × N , where X t D O [ i , j ] denotes the number of passengers exiting station i during slot t who previously entered at station j.
Definition 4
(Flow-Conservation Relations). Station-level IO flows and inter-station OD/DO flows are coupled by flow aggregation identities. In particular, they satisfy
j X t O D [ i , j ] = X t I [ i ] , a n d j X t D O [ i , j ] = X t O [ i ] .
These relations indicate that different granular representations correspond to different views of the same passenger movement process and should remain numerically consistent after aggregation. This coupling can be interpreted as a form of structural symmetry across granularities, although the representations are generally heterogeneous and cannot be enforced to be identical.
In practice, OD flows cannot be fully observed in real time because many trips are still in progress within the observation time window. This delayed observability further increases the mismatch between IO and OD/DO representations and makes joint forecasting more challenging.
Definition 5
(Finished and Unfinished Recent OD Flows). Assuming the current time slot is t, the recent OD matrix X t δ O D R N × N at a near recent time slot t δ is partially observable because trip durations vary and there are trips that have not been completed until t, where 0 δ < T h , and T h is the looking-back window. Accordingly, the full recent OD flow matrix X t δ O D at t δ can be decomposed into two components: the observed (completed) recent OD X t δ F O D R N × N , and the unobserved (unfinished) recent OD X t δ U O D R N × N , i.e.,
X t δ O D = X t δ F O D + X t δ U O D .
Accordingly, the full recent inflow X t δ I can also be divided into two components: finished and unfinished recent inflows, according to trip finished or not until current time slot t.
Definition 6
(Finished and Unfinished Recent Inflows). The finished and unfinished recent inflows at time slot t δ are defined as
X t δ F I [ i ] = j = 1 N X t δ F O D [ i , j ] , a n d X t δ U I [ i ] = j = 1 N X t δ U O D [ i , j ] , i = 1 , , N .
In fact, the full recent inflow at t δ (Definition 2) satisfies: X t δ I = X t δ F I + X t δ U I .
Despite the unfinished recent OD X t δ U O D is unknown, the unfinished recent inflow X t δ U I [ i ] can be implied from the full recent inflow X t δ I and finished recent OD matrix X t δ F O D , i.e., X t δ U I [ i ] = X t δ I X t δ F I . To alleviate the delayed observability of recent OD flows and make full advantage of observable flows, we follow HIAM [7] and integrate a recent OD completion module to compensate for the missing features of full recent OD matrices with the unfinished recent inflows, finished recent OD matrices, and periodic regularities of historical OD matrices. In particular, the following two types of periodic regularities are utilized for recent OD information completion.
Definition 7
(Daily Periodic Destination Distribution Matrix). The daily periodic destination distribution matrix P t δ d a i l y R N × N is estimated from the OD matrix of the same time slot of the previous day, where P t δ d a i l y [ i , j ] represents the probability that a passenger entering station i during slot t δ travels to destination station j.
Definition 8
(Weekly Periodic Destination Distribution Matrix). The weekly periodic destination distribution matrix P t δ w e e k l y R N × N is estimated from OD matrices of the same time slots of the same weekdays in the past few weeks, where P t δ w e e k l y [ i , j ] represents the probability that a passenger entering station i during slot t δ travels to destination station j.

3.2. Problem Formulation

Let t denote the current time slot. Given a historical window of length T h and a forecasting horizon of length T f , the goal of this work is to jointly predict station-level IO flows and inter-station OD/DO flows over the next T f slots. Unlike conventional single-task forecasting, the joint prediction of IO, OD, and DO involves multiple heterogeneous tasks with different dimensionality, sparsity, and statistical characteristics. In addition, these tasks are structurally coupled through aggregation relations, which require the predicted flows to remain mutually consistent after aggregation. Therefore, the key challenge is to design a forecasting framework that enables effective information interaction across granularities while preserving cross-granular coherence.
The joint forecasting problem is defined as learning a parameterized predictor F ( · ; Θ ) by solving
min Θ L Y ^ , Y ,                                                                                                      
s . t . Y ^ = F X , G ; Θ ,                                                                                            
Y ^ = Y ^ t + 1 : t + T f I O , Y ^ t + 1 : t + T f O D , Y ^ t + 1 : t + T f D O ,
Y = Y t + 1 : t + T f I O , Y t + 1 : t + T f O D , Y t + 1 : t + T f D O ,    
                                      X = X t T h + 1 : t I O , X t T h + 1 : t F O D , X t T h + 1 : t U I , X t T h + 1 : t D O .
Here, X τ I O R N × 2 and X τ O D , X τ D O R N × N (Definitions 2 and 3); X τ F O D and X τ U I explicitly account for the delayed observability of recent OD flows (Definition 5). For each recent slot τ [ t T h + 1 , t ] , an imputed OD input X ^ τ O D is estimated from X τ F O D , X τ U I , and is used as the OD sequence fed to the model. The metro topology graph G is defined in Definition 1, and E collects optional exogenous features aligned with time slots.
The learning objective L ( · ) consists of task-specific forecasting losses for IO/OD/DO and a consistency regularization term derived from the aggregation relations (Definition 4), which encourages cross-granular coherence while allowing task-specific and direction-dependent dynamics.

4. Methodology

We propose CATI (Cross-Attention-based Task Interaction), a multi-task spatiotemporal forecasting framework for jointly modeling OD, DO, and IO flows. The model follows a structured design that separates task-specific representation learning from cross-task information propagation. Each task is first encoded independently using a task-specific spatiotemporal backbone, and is then refined through cross-task interaction based on cross-attention. A gated residual mechanism is further introduced to regulate the strength of information transfer and reduce the impact of noisy signals.

4.1. Overall Architecture

As illustrated in Figure 1, CATI adopts an encoder–decoder architecture for multi-step forecasting. Both the encoder and decoder are composed of L stacked Task-specific Encoding and Cross-Task Interaction (TECTI) modules. Each TECTI module consists of two components: (1) Task-specific encoding block, which models temporal dynamics and spatial correlations within each task independently, producing stable and semantically consistent representations; and (2) cross-task interaction block, which enables directed information exchange across IO, OD, and DO representations, allowing each task to selectively incorporate complementary signals from others.
To better handle the sparsity and partial observability of OD/DO flows, we introduce two variants of the TECTI module. The first variant incorporates an OD completion (ODC) mechanism (see Figure 2) which is applied only in the first encoder layer to provide an initial enhancement of OD/DO representations. All subsequent encoder layers and the entire decoder use the standard TECTI module without ODC (see Figure 3) focusing on iterative refinement through cross-task interaction. Stacking multiple TECTI modules allows the encoder to progressively aggregate historical spatiotemporal information, while the decoder generates future predictions in an auto-regressive manner conditioned on the encoded states. This design enables joint multi-granular forecasting within a unified framework, while maintaining a clear separation between within-task modeling, cross-task interaction, and aggregation-level consistency.
To provide a clearer description of the model, we next detail each component of CATI. We begin with the task-specific encoding module (Section 4.2), which learns spatiotemporal representations for each flow granularity independently. We then introduce the cross-task interaction module (Section 4.3), named the Cross-Attention and Gated Residual Fusion (CAGRF) module (see Figure 4), which enables selective and directed information exchange across tasks. Based on these components, we describe the decoder with cross-task interaction for multi-step forecasting in Section 4.4. Finally, the training objective and optimization procedure are presented in Section 4.5.

4.2. Task-Specific Encoding

Within each TECTI module, CATI first independently encodes IO, OD, and DO flows using a task-specific encoding block. This step ensures stable, semantically coherent spatiotemporal representations before any cross-task interaction. OD and DO flows are high-dimensional and sparse with partial observability, whereas IO flows are dense and temporally smooth. Directly sharing parameters or fusing features prematurely may introduce noise or suppress task-specific patterns. In particular, the classical Graph Convolutional Gated Recurrent Unit (GCGRU) [11] is leveraged for task-specific encoding.

4.2.1. GCGRU

GCGRU [11] extends the standard GRU by replacing node-wise affine transformations with graph convolutions, thereby enabling joint modeling of temporal dynamics and non-Euclidean spatial dependencies. Given the input feature X t R N × C in and previous hidden state H t 1 R N × D GCGRU , the GCGRU update equations are
r t = σ Θ r G [ X t , H t 1 ] + b r ,
u t = σ Θ u G [ X t , H t 1 ] + b u ,
c t = tanh Θ c G [ X t , ( r t H t 1 ) ] + b c ,
H t = u t H t 1 + ( 1 u t ) c t ,
where G denotes a GCN-style graph convolution applied over the metro topology graph G (Definition 1), [ · , · ] denotes feature-wise concatenation, and ⊙ is the Hadamard product, and D GCGRU is the dimension of the hidden state. For brevity, we simply denote the whole GCGRU computation as
H t = GCGRU ( X t , H t 1 ; G ) ,
where G is the same topology shared across all time steps. When G degenerates to a dense linear transformation, GCGRU reduces to a standard GRU.

4.2.2. OD Flow Encoding

Due to real-time aggregation latency, inter-station OD observations are partially available. To mitigate this issue, the first encoder layer ( = 1 ) of OD encoder incorporates a representation-level OD completion mechanism, inspired by the historical-guided strategy in HIAM [7].
At layer and time t δ ( 1 L and 0 δ < T h ), the pre-interaction hidden state of OD flow is updated as
H ˜ t δ ( O D , ) = GCGRU X t δ F O D , 0 ; G + H t δ ( U O D , 1 ) , for = 1 , GCGRU H t δ ( O D , 1 ) , H t δ 1 ( O D , ) ; G , for > 1 .
Here, H t δ ( U O D , 1 ) is a compensation term generated from the OD completion module with the short-term (previous day) and long-term (previous weeks) historical OD statistics through channel-wise gated fusion. Specifically, the completion is formulated as follows:
H t δ ( U O D , 1 ) = α t δ H t δ ( w e e k l y , 1 ) + β t δ H t δ ( d a i l y , 1 ) ,                
H t δ ( d a i l y , 1 ) = GCGRU X t δ U I × P t δ d a i l y , 0 , G ,                            
H t δ ( w e e k l y , 1 ) = GCGRU X t δ U I × P t δ w e e k l y , 0 , G ,                            
α t δ = σ W α H t δ ( w e e k l y , 1 ) ; H t δ ( d a i l y , 1 ) + b α ,
β t δ = σ W β H t δ ( w e e k l y , 1 ) ; H t δ ( d a i l y , 1 ) + b β ,
where P t δ d a i l y , P t δ w e e k l y R N × N are daily and weekly periodic destination distribution matrices; see Definitions 7 and 8, separately. This residual formulation preserves observed OD structure while compensating for missing inter-station dependencies. In addition, the completion procedure is applied only in the first encoder layer. H t δ ( O D , 1 ) is the output hidden states of the previous layer, which includes the augmentation residual item resulting from other tasks with the cross-task interaction layer.

4.2.3. DO and IO Flow Encoding

IO and DO flows are directly encoded via GCGRUs, separately. At layer and time t δ ( 1 L and 0 δ < T h ), the pre-interaction hidden state of z { IO , DO } is updated as
H ˜ t δ ( z , ) = GCGRU X t δ z , 0 ; G , for = 1 , GCGRU H t δ ( z , 1 ) , H t δ 1 ( z , ) ; G , for > 1 .
The same graph G is shared across tasks to ensure consistent spatial modeling, while parameters are kept task-specific to capture heterogeneous dynamics.
The separation between task-specific encoding and cross-task interaction is critical because different granularities exhibit heterogeneous characteristics: OD and DO flows are high-dimensional and sparse, whereas IO flows are dense and relatively stable. Direct parameter sharing or symmetric fusion across tasks may introduce noise or suppress task-specific patterns. CATI mitigates this by first learning task-specific representations and then performing adaptive, direction-aware cross-task interaction. The aggregation relations between IO, OD, and DO flows imply that predictions across granularities should remain consistent after aggregation. Instead of enforcing these relations during representation learning, CATI incorporates them as an aggregation-consistency regularization during training (Section 4.5.1), which improves cross-granular coherence while preserving the flexibility of task-specific modeling.

4.3. Cross-Task Interaction

The task-specific spatiotemporal representations introduced in Section 4.2 capture intra-task dynamics but do not explicitly model dependencies across tasks. In multi-granular passenger-flow forecasting, IO, OD, and DO flows are intrinsically coupled through aggregation relations, while exhibiting heterogeneous statistical properties such as sparsity, dimensionality, and directional semantics. Therefore, effective cross-task interaction should enable each task to selectively leverage complementary information from other tasks, without disrupting its own representation space. To this end, we design a pre-fusion Cross-Attention with Gated Residual Fusion interaction mechanism, named CAGRF (see Figure 4), which performs unified multi-source aggregation followed by target-conditioned information selection and Gated Residual Fusion. This design corresponds to an interaction paradigm under a fixed routing topology, where each task receives information from the other two tasks.

4.3.1. Cross-Attention

Cross-attention [25] is adopted as an implementation of the directed task-interaction operator, which propagates information from a source task z s to a target task z t . Let H f , t ( z t , ) R N × D GCGRU and H f , t ( z s , ) R N × D GCGRU denote the task-specific hidden representations at layer produced by the task-specific encoder (Section 4.2), where z t z s and z t , z s { IO , OD , DO } . The cross-attention computation is defined as
Q ( z t ) = W Q ( z t ) H f , t ( z t , ) , K ( z s ) = W K ( z s ) H f , t ( z s , ) , V ( z s ) = W V ( z s ) H f , t ( z s , ) ,
H ^ f , t z s z t = Softmax Q ( z t ) ( K ( z s ) ) d V ( z s ) ,
where W Q ( z t ) R D GCGRU × D CA , W K ( z t ) R D GCGRU × D CA , W V ( z t ) R D GCGRU × D CA are parameters to be learned, D CA is the dimension of hidden state of cross-attention, and Softmax ( · ) is applied row-wise. For convenience, we simply denote the procedure as
H ^ f , t z s z t = CrossAtt H f , t ( z t , ) , H f , t ( z s , ) .
This operator is inherently order-sensitive, i.e., CrossAtt ( H ( z t ) , H ( z s ) ) CrossAtt ( H ( z s ) , H ( z t ) ) , which naturally supports the direction-driven asymmetric interactions. When z t = z s , the operator reduces to self-attention.
In CATI, the CrossAtt ( · ) operator serves as a basic interaction primitive. The final interaction output for each task is obtained through multi-source aggregation and residual injection, while cross-granular coherence is further enforced by the conservation-consistency regularization.

4.3.2. Pre-Fusion Cross-Task Interaction

Let H ˜ t δ ( z , ) denote the pre-interaction representation of task z { IO , OD , DO } at layer and time t δ . For a target task z t , we first aggregate all source task representations { H ˜ t δ ( z s , ) : z s S ( z t ) } into a unified embedding via a learnable fusion function:
H t δ ( S , ) = MLP Concat H ˜ t δ ( z s , ) z s S ( z t ) ,
where MLP ( · ) is a Multi-Layer Perceptron module. Under the interaction setting, S ( z t ) = { IO , OD , DO } { z t } . Based on the fused representation, cross-task interaction is computed using cross-attention:
H ^ t δ ( z t , ) = CrossAttn H ˜ t δ ( z t , ) , H t δ ( S , ) ,
where CrossAttn ( · ) is defined in Section 4.3.1. In Equation (25), the target-task representation serves as the query, while the fused multi-task representation provides keys and values. This design allows the model to perform target-conditioned selection over multi-source information, rather than treating each source independently. Compared with independent pairwise interactions, pre-fusion enforces early alignment across tasks, enabling the model to capture globally consistent cross-granular patterns.

4.3.3. Gated Residual Integration

To integrate cross-task information into the target representation, we adopt a gated residual update:
G t δ ( z t , ) = σ W g H ˜ t δ ( z t , ) ; H ^ t δ ( z t , ) + b g ,
H t δ ( z t , ) = H ˜ t δ ( z t , ) + G t δ ( z t , ) ϕ H ^ t δ ( z t , ) ,
where σ ( · ) denotes the sigmoid function, ϕ ( · ) is a non-linear transformation (using tanh ( · ) in CATI), and G t δ ( z t , ) controls the contribution of cross-task information. This mechanism plays a critical role in stabilizing multi-task learning. It preserves task-specific semantics while allowing adaptive information injection, effectively mitigating negative transfer caused by noisy or conflicting cross-task signals.
The proposed interaction mechanism is characterized by three key properties: (1) Pre-fusion interaction. Multi-source information is first aligned in a shared latent space before interaction, which reduces conflicts across heterogeneous tasks. (2) Target-conditioned selection. Cross-attention ensures that each task selectively extracts relevant information based on its current representation. (3) Gated residual injection. Adaptive gating controls the strength of cross-task information, improving robustness and preventing negative transfer. Together, these properties enable effective and stable cross-task information propagation in multi-granular passenger-flow forecasting.

4.4. Decoder with Cross-Task Interaction

Based on the interaction-enhanced representations learned by the encoder, the decoder generates future predictions in an auto-regressive manner. At each prediction step, the decoder maintains task-specific hidden states and continues to incorporate cross-task information through the same interaction mechanism. Specifically, for each task z { IO , OD , DO } at the layer and t + k time slot ( 1 L and 1 k T f ), the decoder updates its hidden state as:
H ˜ t + k ( z , ) = GCGRU X t + k 1 z , H t + k 1 ( z , ) ; G , for = 1 , GCGRU H t + k ( z , 1 ) , H t + k 1 ( z , ) ; G , for > 1 .
where X t + k 1 z is the input at time t + k 1 , which is either the ground truth or the model prediction from the previous step. After each layer, cross-task interaction is applied:
H t + k ( z , ) = CAGRF H ˜ t + k ( I O , ) , H ˜ t + k ( O D , ) , H ˜ t + k ( D O , ) ,
where CAGRF ( · ) follows the pre-fusion Cross-Attention with Gated Residual Fusion interaction mechanism defined in Section 4.3, and 1 k T f . This design ensures that cross-task dependencies are consistently modeled during both encoding and decoding, allowing the model to dynamically refine predictions based on evolving task representations.
Finally, the prediction for each task is obtained via a linear projection:
Y ^ t + k z = FC H t + k ( z , L ) = W o ( z ) H t + k ( z , L ) , z { OD , DO , IO } .
To mitigate exposure bias in multi-step forecasting, we adopt a curriculum learning strategy that gradually transitions from teacher forcing to fully autoregressive decoding.

4.5. Training Objective and Algorithm

CATI is trained to jointly predict OD, DO, and IO flows over multiple horizons. The training alternates between forward propagation through the encoder–decoder and backpropagation of gradients with respect to a combined loss.

4.5.1. Training Objective

To jointly optimize multi-granular passenger-flow prediction while preserving structural consistency across tasks, we adopt a structure-aware multi-task objective that decouples representation learning from aggregation constraints. Specifically, the overall objective consists of two components: (1) task-specific prediction losses, which supervise each task independently, and (2) an aggregation-consistency regularization, which enforces coherence across different granularities at the output level.
The overall loss is defined as:
L = z { OD , DO , IO } λ z L z + λ con L con ,
where λ z and λ con balance task accuracy and cross-task consistency. In our implementation, these weights are fixed during training and selected based on validation experiments. Keeping the regularization weight constant avoids degenerating to single-task optimization and ensures that cross-granular consistency is preserved throughout the forecasting horizon.
Task-Specific Prediction Losses
For each task, we adopt mean absolute error (MAE) over the prediction horizon T f :
L z = MAE Y ^ t + 1 : t + T f z , Y t + 1 : t + T f z , z { OD , DO , IO } .
These losses directly supervise each task branch, allowing the model to learn task-specific dynamics without interference from other tasks. This design is consistent with the representation-level decoupling introduced in Section 4.2, where each task maintains its own feature space before cross-task interaction.
Aggregation-Consistency Regularization
Although task representations are learned independently, IO, OD, and DO flows are inherently coupled through aggregation relations. To enforce this structural dependency, we introduce a consistency regularization that aligns predicted station-level flows with those implied by inter-station flows. Specifically, we compute an implied IO flow from predicted OD and DO:
Y ˜ t + 1 : t + T f IO = Aggregate Y ^ t + 1 : t + T f OD , Y ^ t + 1 : t + T f DO ,
where Aggregate ( · ) denotes the aggregation operator defined by flow conservation.
The consistency loss is then defined as:
L con = MAE Y ^ t + 1 : t + T f IO , Y ˜ t + 1 : t + T f IO .
Unlike task-specific losses, L con does not introduce additional supervision, but instead acts as a structural regularizer that enforces cross-granular consistency at the prediction level.
The above objective reflects a key design principle of our framework: task representations are learned independently, while their predictions are coupled through structural constraints. This decoupling is critical for multi-granular forecasting. Enforcing aggregation relations directly in the representation space may overly constrain feature learning and degrade task-specific performance. Instead, by imposing consistency only at the output level, the model retains sufficient flexibility in representation learning while ensuring coherent predictions across granularities. The proposed objective complements the cross-task interaction mechanism in Section 4.3. While cross-attention enables adaptive information sharing at the representation level, the consistency regularization enforces global coherence at the output level. Together, they provide a balanced framework for multi-task learning under heterogeneous data distributions.

4.5.2. Training Algorithm

The overall training procedure of CATI is summarized in Algorithm 1. The model is trained end-to-end under the encoder–decoder architecture described in Section 4.1, where task-specific encoding and cross-task interaction are applied sequentially at each layer. Given historical IO, OD, and DO sequences, the encoder produces interaction-enhanced representations, which are then used by the decoder for multi-step prediction in an auto-regressive manner. The composite loss defined in Section 4.5.1 is optimized using the Adam optimizer. To improve stability for long-horizon forecasting, we adopt an inverse-sigmoid curriculum learning strategy, which gradually transitions from teacher forcing to fully auto-regressive decoding. The learning rate is initialized to 0.001 and scheduled using MultiStepLR, and early stopping is applied based on validation performance. All hyperparameters are selected on the validation set and fixed across all experiments.

4.5.3. Computational Complexity

For a single layer, the GCGRU module consists of graph message passing and gated transformations, with a time complexity of O | E | · D G C G R U + N · D G C G R U 2 , where N is the number of stations, | E | is the number of edges, and D G C G R U is the hidden-state dimension. The cross-task interaction in CATI adopts a pre-fusion strategy. Specifically, multi-source features are first fused via a linear projection, yielding a complexity of O N · M · D G C G R U 2 , where M denotes the number of auxiliary sources (a small constant in the three-task setting). The subsequent cross-attention includes query/key/value projections, attention score computation, aggregation, and output projection, leading to a complexity of
O N 2 · D C A + N · D G C G R U · D C A + N · D C A 2 ,
where D C A is the attention channel dimension. Since interaction is performed for all tasks, the overall complexity of the interaction module remains in the same order. Combining all components, the per-layer, per-time-step complexity is
O | E | · D G C G R U + N · D G C G R U 2 + N 2 · D C A + N · D G C G R U · D C A + N · D C A 2 .
Considering all epochs, samples, sequence length T, and stacked layers L, the total training complexity is
O N e p o c h s · N S · T · L · | E | · D G C G R U + N · D G C G R U 2 + N 2 · D C A + N · D G C G R U · D C A + N · D C A 2 .
In practice, since D C A = O ( D G C G R U ) and | E | N 2 , this can be simplified as
O N e p o c h s · N S · T · L · N · D G C G R U 2 + N 2 · D G C G R U ,
where the O ( N · D G C G R U 2 + N 2 · D G C G R U ) term typically dominates.
Algorithm 1: Training algorithm of CATI
Symmetry 18 00809 i001

5. Experiments

5.1. Experimental Setup

To comprehensively evaluate the performance of the proposed model, experiments are conducted on two real-world metro passenger flow datasets. This section introduces the experimental setup, including dataset descriptions, evaluation metrics, baseline models, and implementation details.

5.1.1. Datasets

We evaluate the proposed model on two real-world metro passenger flow datasets collected from Shanghai (SHMetro) and Hangzhou (HZMetro), originally released in PVCGN [11] and HIAM [7]. These datasets are derived from real metro operation systems and contain synchronized station-level inflow/outflow (IO) and inter-station OD and DO flows, enabling multi-granular passenger-flow forecasting. Table 1 summarizes the main statistics of the two datasets, including the number of stations, network size, time span, and number of samples. The SHMetro dataset spans from 1 July 2016 to 30 September 2016, covering 288 stations with an average daily ridership of approximately 8.82 million passengers. The HZMetro dataset covers January 2019, including 80 stations with an average daily ridership of 2.35 million. In both datasets, metro services operate between 5:30 and 23:30, and passenger flows are aggregated at 15 min intervals. For each time slot, the data include station-level inflow and outflow volumes, as well as OD and DO matrices describing passenger movements between stations. The OD and DO matrices exhibit strong sparsity, with most entries being zero at each time slot. In addition, passenger flow distributions are highly skewed, where a small number of stations and OD pairs account for the majority of trips. This long-tailed distribution introduces inherent data imbalance and makes multi-granular forecasting particularly challenging.
Data variables and preprocessing. The input features consist of metro network topology information and historical IO, OD, and DO flow observations. All features are numerical, and no additional temporal or categorical variables are introduced. The datasets are pre-cleaned and contain no missing values. It is worth mentioning that the OD and DO data released in HIAM [7] are already represented in a compressed form, where each matrix is reduced from N × N to N × N . This compression is part of the original dataset release rather than a preprocessing step performed in this work. Specifically, the top N 1 destinations with the largest flows are retained, while the remaining stations are aggregated into a single column. We set N = 76 for SHMetro and N = 26 for HZMetro. All experiments in this study are conducted on this released compressed representation. The compression strategy introduces a trade-off between computational efficiency and spatial detail preservation. By reducing the dimensionality of OD/DO matrices, the model becomes more scalable and easier to train, especially for large metro networks. However, aggregating low-flow station pairs into a single column may lead to a loss of fine-grained spatial information. In practice, this trade-off is mitigated by retaining the most significant destinations with the largest flows, which preserves the dominant mobility patterns while discarding less informative interactions. This strategy has been shown to be effective in prior work such as HIAM [7], and we follow the same setting to ensure a fair and consistent comparison. Prior to training, all input features are normalized using Z-score normalization to stabilize optimization. During inference, model outputs are transformed back to the original scale, and all loss functions and evaluation metrics are computed in the original data space. No additional feature engineering or feature selection techniques are applied.
To reflect real-world forecasting scenarios and avoid information leakage, both datasets are divided chronologically into training, validation, and testing sets. The split ratios are approximately 70%, 10%, and 20%, with slight variations across datasets (see Table 1). All models are trained and evaluated on the same splits.

5.1.2. Evaluation Metrics

Since passenger-flow forecasting is a regression task, the performance of all models is evaluated using three widely adopted error metrics in spatiotemporal forecasting: Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE). These metrics measure prediction accuracy from complementary perspectives, including absolute deviation, squared deviation, and relative error magnitude. Formally, for a forecasting horizon of length T f , the metrics are defined as
M A E = 1 T f i = 1 T f Y i Y ^ i ,
R M S E = 1 T f i = 1 T f Y i Y ^ i 2 ,
M A P E = 1 T f i = 1 T f Y i Y ^ i Y i .
Here, Y i and Y ^ i denote the ground-truth and predicted passenger flows at the i-th future time step, respectively. These metrics are computed for each forecasting horizon and then averaged over all test samples.
Because this study focuses on continuous passenger-flow prediction rather than classification, accuracy-based metrics such as precision or recall are not applicable. Instead, MAE, RMSE, and MAPE are widely used in traffic flow forecasting and spatiotemporal prediction, and allow fair comparison with existing methods. In addition to prediction accuracy, we also evaluate the consistency between station-level and inter-station predictions. Following the aggregation relations defined in Section 3, we compute the discrepancy between predicted IO flows and the IO flows implied by OD/DO predictions, which reflects the degree of cross-granular inconsistency. This metric is reported in the ablation study to analyze the effect of the conservation-consistency regularization.
It is worth noting that different evaluation metrics exhibit varying sensitivity to flow magnitudes. MAE and RMSE are more influenced by large-flow stations and peak periods, while MAPE is relatively more sensitive to low-flow conditions due to its normalization by ground truth values. As a result, these metrics provide complementary perspectives for evaluating model performance across different demand levels. In metro systems, passenger flows typically exhibit strong temporal heterogeneity, with pronounced peak and off-peak patterns. Although this work focuses on overall performance, the proposed model is designed to handle both high-demand and low-demand scenarios through adaptive cross-task interaction. A more fine-grained analysis of error distribution across different demand regimes (e.g., peak vs. non-peak periods) is left for future work.

5.1.3. Baselines

To evaluate the effectiveness of CATI, we compare it with a diverse set of representative baselines covering sequence-based, graph-based, Transformer-based, and metro-specific forecasting models. These baselines span different modeling paradigms for temporal dependencies, spatial correlations, and multi-task passenger-flow prediction, providing a comprehensive benchmark. All models are trained under the same data splits, training protocols, and evaluation metrics to ensure a fair comparison. For models originally designed for single-task prediction, output layers are adapted to match the IO–OD–DO forecasting setting without altering their core architecture.
  • LSTM: Vanilla LSTM stacked two hidden layers with 256 units each and ReLU activation, only capturing temporal dependencies.
  • GRU: Vanilla GRU stacked two hidden layers with hidden dimension 256, only capturing temporal dependencies.
  • GCN: Learns spatial correlations via graph convolutions, followed by a fully connected layer to predict flows.
  • Diffusion Convolutional RNN (DCRNN) [26]: Integrates diffusion convolutions with recurrent layers to jointly model spatial and temporal dependencies.
  • Graph WaveNet (GWN) [27]: Combines adaptive spatial dependencies with stacked dilated causal convolutions for long-term temporal modeling.
  • Discrete Graph Structure Learning (DGSL) [28]: Learns an optimized graph topology to capture temporal-spatial dependencies dynamically.
  • PVCGN [11]: Designed for metro systems, incorporating multi-graph modeling and GC-GRU for spatiotemporal dependency learning.
  • MGT [17]: Transformer-based model with spatiotemporal self-attention and meta-learned parameters for heterogeneous station characteristics.
  • Informer [29]: Sparse attention Transformer for long-sequence forecasting, adapted for IO prediction.
  • STAEformer [30]: Introduces spatiotemporal adaptive embeddings into Transformer frameworks, enabling graph-free modeling.
  • ReDyNet [4]: Focused on station-level IO prediction, learning dynamic graphs and filtering redundant context via information bottleneck.
  • HIAM [7]: Jointly predicts OD/DO flows using a dual-information Transformer; IO predictions are obtained by aggregating OD/DO outputs.
Sequence models (LSTM, GRU) capture temporal dependencies but ignore spatial structure. Graph-based models (GCN, DCRNN, GWN, DGSL, PVCGN) jointly model spatial topology and temporal dynamics. Transformer-based methods (Informer, MGT, STAEformer) emphasize long-range dependencies and adaptive representation learning. ReDyNet focuses on station-level IO, whereas HIAM models OD/DO with derived IO. In contrast, CATI explicitly models direction-aware cross-task interactions among IO, OD, and DO flows in a unified framework, enabling structured information exchange without imposing hard constraints. Only reproducible baselines with publicly available implementations are included, ensuring comparability under the same experimental protocol. Other recent multi-task forecasting models (e.g., AFFN [8], MTLMetro [9]) are excluded due to unavailable code or incompatible task definitions.

5.1.4. Implementation Details

All models are trained under a rolling forecasting setting, where the past four time intervals ( T h = 4 ) are used to predict the next four intervals ( T f = 4 ). All flow data are standardized using Z-score normalization before training to improve numerical stability. During inference, model outputs are transformed back to the original scale, and all loss functions and evaluation metrics are computed in the original data space. Model parameters are initialized using Xavier uniform initialization and optimized with the Adam optimizer. The initial learning rate is set to 0.002, and a learning rate decay strategy is applied when the validation loss does not improve for 20 consecutive epochs, with decay ratios of 0.2 for SHMetro and 0.5 for HZMetro. The maximum number of training epochs is 200, and the batch size is set to 16 for SHMetro and 32 for HZMetro. Early stopping based on validation performance is adopted to prevent overfitting.
To ensure fair comparison, all models are trained under the same experimental protocol, including identical data splits, input length, forecasting horizon, input features, and evaluation metrics. Hyperparameters such as learning rate, hidden dimension, and number of layers are selected based on commonly used settings in prior work and further tuned on the validation set, and the same training procedure is applied to all baselines. To improve reproducibility and reduce the influence of random initialization, each experiment is repeated five times with different random seeds, and the reported results correspond to the average performance, with standard deviations reported where necessary. All experiments are implemented in PyTorch 2.1.0 and conducted on a Linux server equipped with an NVIDIA GeForce RTX 4090 GPU (24 GB VRAM), manufactured by NVIDIA Corporation (Santa Clara, California, USA). For the proposed CATI model, the number of stacked layers is set to L = 2 , the hidden dimension of GCGRU modules is D GCGRU = 96 , the hidden dimension of cross-attention modules is D CA = 512 , and the head of cross-attention modules is N h = 4 . PReLU is used as the activation function.

5.2. Overall Forecasting Performance

The overall comparison results on HZMetro and SHMetro datasets against the baselines are reported in Table 2 and Table 3, separately. From the results, we can observe that CATI achieves the best performance across all tasks and horizons. To further evaluate robustness, we report the results of CATI as mean ± standard deviation over five runs with different random seeds. The standard deviations are consistently small across all tasks and forecasting horizons, indicating that the performance improvements are stable and not sensitive to random initialization. Sequence models capture temporal dependencies but lack spatial coupling. Graph-based models leverage topological propagation but do not explicitly align station-level intensity (IO) with inter-station migration (OD/DO), leading to uneven gains across tasks. HIAM improves OD/DO via task interaction, but IO relies on simple aggregation and exhibits instability for long horizons. CATI explicitly models directed cross-task dependencies via layer-wise cross-attention, allowing progressive alignment between OD/DO migration and IO intensity. Coupled with conservation-consistency regularization, the model stabilizes predictions and mitigates task-specific overfitting, delivering consistent improvements across datasets and horizons.
The relative performance of baselines aligns with their modeling biases. Pure sequence models (GRU, LSTM) capture temporal dependencies but under-represent spatial coupling. Graph-based spatiotemporal models (GCN, DCRNN, GWN, DGSL, PVCGN) strengthen topological propagation, yet they lack explicit mechanisms to align station-level and inter-station representations, which can lead to uneven gains across tasks. HIAM improves OD/DO by enhancing OD-DO interaction, but its IO is obtained via aggregation without dedicated task supervision, limiting long-horizon stability. In contrast, CATI explicitly models directed cross-task dependencies via layer-wise cross-attention, enabling progressive alignment between migration structure (OD/DO) and station-level intensity (IO) at multiple depths. Together with the conservation-consistency regularizer, CATI mitigates task-wise overfitting and stabilizes cross-granular predictions, thereby delivering balanced and reproducible improvements across both datasets and all horizons.

5.3. Ablation Study

To evaluate the effectiveness of the proposed CATI model components, we conduct a comprehensive ablation study from two perspectives: (i) analysis of the cross-task interaction mechanisms and (ii) evaluation of aggregation-consistency regularization. All experiments are conducted on HZMetro and SHMetro datasets, and results are reported using standard metrics (MAPE, MAE, RMSE) across different prediction horizons.

5.3.1. Impact of Cross-Task Interaction Mechanisms

We first assess the contribution of cross-task interactions by comparing the following six model variants:
  • Ind+Cons: independent task modeling with consistency regularization but without any cross-task interaction.
  • woGate: full cross-task interaction but without the gated residual mechanism.
  • EncOnly: cross-task interaction applied only in the encoder layers.
  • DecOnly: cross-task interaction applied only in the decoder layers.
  • PosFusion: post-fusion strategy replacing our proposed pre-fusion design.
  • Full (CATI): the complete model with pre-fusion, gated residuals, and encoder–decoder cross-task interaction.
As shown in Table 4, removing cross-task interaction leads to a substantial drop in performance. The Ind+Cons variant performs consistently worst across all tasks and datasets, indicating that independent modeling is insufficient for capturing inter-task dependencies. The effect of the gated residual is relatively subtle but consistent. Without gating, performance slightly degrades, suggesting that it plays a role in regulating how auxiliary information is injected rather than directly improving expressiveness. Comparing fusion strategies, PosFusion performs worse than the full model, showing that applying cross-attention after feature fusion is less effective. This supports the design choice of performing interaction on pre-fused representations. When interaction is restricted to either the encoder or decoder, the model still benefits compared to the independent baseline, but does not reach the performance of the full model. This is particularly evident on SHMetro, where the data is more complex. These results suggest that interaction at multiple stages is necessary to fully exploit cross-task dependencies. Across tasks, OD and DO benefit from interaction through improved directional flow modeling, while IO shows the largest relative gain, likely due to its dependence on aggregated information from multiple sources. In summary, these results validate our design choices of gated residual integration and pre-fusion cross-task interaction as critical components of CATI.

5.3.2. Impact of Aggregation Consistency

We evaluate the effect of aggregation-consistency regularization by comparing four variants: (i) Ind, which removes both interaction and consistency constraints (i.e., without interaction and consistency constraints); (ii) Ind+Cons, which introduces consistency without interaction (i.e., without interaction); (iii) woCons, which retains interaction but removes consistency regularization (i.e., without consistency constraints); and (iv) the full model CATI. The results are shown in Table 5.
A clear observation is that consistency regularization alone does not improve performance. The Ind+Cons model performs similarly to, or slightly worse than, Ind. This suggests that enforcing consistency without any interaction between tasks may introduce constraints that are not aligned with the learned representations. In contrast, when interaction is present, consistency regularization provides a modest but consistent improvement. Comparing woCons and CATI, the full model achieves better performance, especially for the IO task and longer horizons. This indicates that consistency acts as a complementary constraint that helps refine predictions once meaningful cross-task information has been established. The comparison between Ind and woCons further highlights that the primary performance gain comes from the interaction mechanism itself. In particular, IO benefits significantly from interaction, while consistency alone has little effect. Overall, these results suggest that aggregation-consistency regularization serves as a structural constraint rather than an information source. It becomes effective only when cross-task interaction provides informative representations and further improves performance by enforcing coherence among task predictions.
Taken together, these results suggest a clear division of roles among the components of CATI. Cross-task interaction provides the main modeling capability, while gated residual connections and pre-fusion improve its effectiveness and stability. Aggregation-consistency regularization, on the other hand, plays a secondary role by encouraging coherence across tasks, but only becomes effective when interaction is properly established.

5.4. Hyperparameter Analysis

We investigate the impact of key hyperparameters on the performance of the CATI model, focusing on the number of stacked layers (L), the hidden dimension of task-specific encoding ( D GCGRU ), and the hidden dimension and head of cross-attention ( D CA ). These experiments aim to evaluate the robustness of the model and to identify optimal configurations for capturing cross-task spatiotemporal dependencies. Although the influence of attention head number in the cross-attention module is not yet fully explored, the current analysis provides a comprehensive understanding of how the most critical hyperparameters affect forecasting performance across tasks and datasets.

5.4.1. Stacked Layers

We examine the effect of the number of stacked layers L of CATI on joint forecasting performance, varying L { 1 , 2 , 3 , 4 } while keeping other hyperparameters fixed. As reported in Table 6, a two-layer configuration ( L = 2 ) consistently achieves the best performance across tasks (OD, DO, IO) and datasets (HZMetro and SHMetro). Increasing the depth beyond two layers does not yield further improvements and may slightly degrade performance, likely due to redundant interaction modeling or noise propagation. The IO task exhibits the highest sensitivity to layer depth: 1 layer underfits, whereas 3–4 layers show minor performance decline. OD and DO tasks are comparatively less sensitive, with 2 layers providing sufficient capacity to capture cross-task spatiotemporal dependencies. Overall, these results suggest that a modest depth (2 layers) balances representation power and model robustness, enabling efficient information interaction without overfitting.

5.4.2. Hidden Dimension of Task-Specific Encoding

We investigate the effect of the hidden dimension D GCGRU in the task-specific encoding module (GCGRU), which determines the dimensionality of the latent representation space for OD, DO, and IO. The results are summarized in Table 7. The prediction performance exhibits a clear non-monotonic trend as D GCGRU increases. Performance improves when increasing D GCGRU from 32 to 96, and then degrades when further increasing to 128 and 256. Across both datasets and all tasks, D GCGRU = 96 consistently achieves the best or near-best performance, indicating that a moderate hidden dimension provides the most effective representation. This phenomenon can be explained by the trade-off between representation capacity and redundancy. A small hidden dimension limits the expressive power of the model, while an excessively large dimension introduces redundant features and increases the risk of overfitting. Moreover, higher-dimensional representations may lead to misalignment across tasks, making cross-task attention less effective. We further observe that the IO task is more sensitive to the choice of D GCGRU , especially on the SHMetro dataset. Since IO prediction relies on aggregated information, overly high-dimensional representations tend to introduce noise from OD/DO features, resulting in degraded performance. Overall, these results suggest that compact task-specific representations are more suitable for cross-task interaction, and D GCGRU = 96 achieves a good balance between expressiveness and robustness.

5.4.3. Hidden Dimension of Cross-Attention

We investigate the impact of the feature dimension D CA in the cross-attention module by varying D CA { 96 , 128 , 256 , 512 , 1024 } while keeping other hyperparameters fixed. The results are summarized in Table 8. Overall, the performance consistently improves as D CA increases from 96 to 512, and slightly degrades when further increasing to 1024. The best performance is achieved at D CA = 512 across both datasets and all tasks, indicating that a moderate feature dimension provides sufficient representation capacity for modeling cross-task interactions. A smaller dimension (e.g., 96) limits the expressiveness of the attention mechanism, making it difficult to capture complex dependencies between tasks. Increasing the dimension enhances the model’s ability to learn discriminative cross-task relations. However, excessively large dimensions (e.g., 1024) introduce redundant features and amplify noise, which may lead to less stable attention patterns and degraded performance. We further observe that the IO task is more sensitive to the choice of D CA , especially on the SHMetro dataset. This is because IO prediction relies on aggregated information, and high-dimensional cross-attention may introduce irrelevant signals from OD/DO tasks, resulting in information interference. Overall, these results suggest that D CA = 512 achieves a good balance between representation capacity and robustness, enabling effective cross-task interaction without overfitting or noise amplification.

5.4.4. Number of Attention Heads

Table 9 reports the performance of CATI under different numbers of cross-attention heads. Overall, the impact of attention head N h is relatively moderate compared with other hyperparameters such as D GCGRU and D CA . While increasing the number of heads can provide slight improvements on certain tasks, the gains are generally small and not consistent across datasets. On HZMetro, OD achieves its best performance around N h = 8 , while IO slightly benefits from larger head numbers. In contrast, DO is relatively insensitive once N h 2 . On SHMetro, larger head numbers (e.g., 16 or 32) tend to perform better for OD and DO, suggesting that multiple attention heads help capture more diverse interaction patterns in more heterogeneous scenarios. However, for IO, performance remains stable across a wide range of N h , and increasing the number of heads does not lead to consistent improvements. These results indicate that the number of attention heads mainly controls the granularity of cross-task interaction rather than the overall model capacity. A moderate number of heads is sufficient to capture most interaction patterns, and further increasing N h yields diminishing returns. Considering both performance and efficiency, we adopt N h = 4 in all other experiments. This setting achieves competitive results while maintaining a relatively large per-head dimension ( D CA / N h ), leading to more stable and effective attention modeling.

5.5. Cross-Task Interaction Mechanism Analysis

To better understand the behavior of CATI, we analyze the learned cross-task attention, gating, and interaction strength based on the trained model during inference. The corresponding statistics on HZMetro and SHMetro are shown in Figure 5.

5.5.1. Attention Behavior

Figure 5a presents the entropy of cross-task attention distributions. In both datasets, IO shows the highest entropy, indicating that it integrates information from a broader context than OD and DO. By contrast, OD and DO exhibit lower entropy values, reflecting more selective attention over informative source tasks. The relative ordering of OD and DO, however, is dataset-dependent: DO has the lowest entropy on HZMetro, while OD has the lowest entropy on SHMetro. This suggests that the concentration of cross-task interaction is not fixed, but adapts to the data characteristics of each metro system. Moreover, SHMetro consistently yields higher entropy than HZMetro across all tasks, indicating more distributed attention patterns under more heterogeneous flow conditions.

5.5.2. Gate Behavior

Figure 5b reports the mean and standard deviation of the learned gating values. On HZMetro, gate values remain moderate (≈0.44–0.48) with noticeable variability, reflecting the model’s ability to adaptively adjust the strength of cross-task signals. On SHMetro, the average gate values are lower (≈0.20–0.21), indicating a more conservative injection of auxiliary information, while the variance remains significant, suggesting that gating dynamically responds to different inputs. The variability of gating values shows task- and dataset-dependent patterns. On HZMetro, IO exhibits slightly higher variability compared to OD and DO, whereas on SHMetro, DO shows the largest variability among the three tasks. This indicates that the reliance on cross-task information is not fixed, but adapts to both task characteristics and dataset complexity.

5.5.3. Interaction Strength

Figure 5c quantifies the magnitude of injected cross-task information. OD consistently receives the strongest interaction signals across both datasets, indicating its central role in cross-task information aggregation. However, the relative ordering of DO and IO differs across datasets. On HZMetro, DO exhibits slightly stronger interaction than IO, whereas on SHMetro, IO surpasses DO. This suggests that the distribution of interaction strength is dataset-dependent and adapts to different flow characteristics. Overall, these results demonstrate that the model not only selects relevant information via attention but also modulates its contribution according to both task roles and dataset complexity, rather than applying a fixed interaction pattern.

5.5.4. Interpretability and Mobility Insights

Taken together, these observations reveal that CATI does not rely on uniform feature sharing across tasks. Instead, it performs selective interaction through attention mechanisms and regulates information integration via gating. Moreover, the model adapts its behavior to dataset characteristics. On SHMetro, attention distributions are generally more diffuse, and gating values are lower, indicating more cautious integration of cross-task information under heterogeneous conditions. In contrast, HZMetro exhibits more concentrated attention patterns, suggesting more focused information selection. At the same time, the distribution of interaction strength varies across tasks and datasets, reflecting task- and data-dependent prioritization of information flow. Overall, Figure 5 provides a form of structural and functional interpretability at the model level, showing that the performance gains of CATI stem from structured, adaptive, and data-dependent cross-task information propagation rather than simple feature fusion.
Beyond providing model-level interpretability, the observed interaction patterns reveal meaningful insights into real-world passenger flow dynamics. In particular, the attention distributions and interaction strengths learned by CATI reflect how different components of the metro system contribute to overall flow propagation. For example, the more concentrated attention patterns observed in HZMetro suggest that passenger movements are dominated by a limited number of major travel corridors, indicating a relatively centralized mobility structure. In contrast, the more diffuse attention distributions in SHMetro imply a more complex and distributed travel network, where passenger flows are spread across multiple alternative routes. This difference aligns with the distinct network scales and operational characteristics of the two metro systems. Furthermore, the variation in interaction strength across tasks indicates that the coupling between station-level flows (IO) and inter-station movements (OD/DO) is not uniform, but dynamically adjusted according to demand conditions. Stronger interactions correspond to periods of coordinated, system-wide travel demand (e.g., peak-hour commuting), while weaker interactions reflect more localized and less structured travel patterns during off-peak periods. These findings suggest that the proposed cross-task interaction mechanism does not merely improve predictive performance, but also captures interpretable mobility patterns that are consistent with real-world metro operations. This provides a potential pathway for bridging data-driven modeling and transportation system understanding.

6. Conclusions

In this work, we propose CATI, a cross-attention-based multi-task framework for metro passenger flow forecasting. The model captures task-specific spatiotemporal patterns and enables structured cross-task interaction, while gated residuals and pre-fusion design help control the flow of auxiliary information. Aggregation-consistency regularization further encourages coherence across tasks. Extensive experiments on HZMetro and SHMetro demonstrate that CATI consistently outperforms state-of-the-art baselines across multiple prediction horizons and tasks. Ablation studies show that cross-task interaction is the primary driver of performance gains, with gated residuals and pre-fusion improving stability, and consistency serving as an auxiliary structural constraint. Hyperparameter analysis confirms that the model is robust to reasonable variations in layer depth, encoding dimensions, and cross-attention capacity. Mechanism analysis provides interpretable insights, revealing that CATI achieves task-dependent selective attention, adaptive gating, and controlled interaction strength, adjusting to both task characteristics and dataset heterogeneity.
Despite these strengths, several limitations remain. First, CATI assumes a fixed set of tasks and may not generalize directly to scenarios with dynamically changing or newly added tasks. Second, the current cross-task interaction relies on pre-defined spatiotemporal embeddings, which may limit adaptation to highly heterogeneous or rapidly evolving urban systems. Third, while the gated residual and consistency mechanisms stabilize predictions, their hyperparameter tuning can be dataset-specific, potentially affecting deployment in new cities without additional validation. For future work, we plan to explore dynamic task adaptation to handle new or evolving tasks and to integrate adaptive spatiotemporal embeddings or graph structures learned from real-time data. Additionally, extending CATI to incorporate external factors, such as special events, weather, or transport disruptions, could further improve robustness and applicability in practical metro forecasting scenarios.

Author Contributions

Methodology, Q.Y. and X.X.; Validation, J.Y. and Q.G.; Formal analysis, X.X.; Resources, Q.Y. and C.Z.; Data curation, C.Z.; Writing—original draft, Q.Y.; Writing—review & editing, Q.Y. and J.Y.; Visualization, Q.G. and C.Z.; Funding acquisition, Q.Y. and J.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Humanities and Social Sciences Project of the Ministry of Education of China (No. 22YJCZH215), the Major Humanities and Social Sciences Research Projects in Zhejiang Higher Education Institutions (No. 2023QN150), the 2025 Domestic Visiting Engineer Project for Universities of the Zhejiang Provincial Department of Education (Grant Number: FG2025193) and the National Natural Science Foundation of China (No. 61702148).

Data Availability Statement

The data presented in this study are openly available in the website: https://github.com/HCPLab-SYSU/PVCGN (accessed on 1 January 2023).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Shen, L.; Li, J.; Chen, Y.; Li, C.; Chen, X.; Lee, D.H. Short-Term Metro Origin–Destination Passenger Flow Prediction via Spatio-Temporal Dynamic Attentive Multi-Hypergraph Network. IEEE Trans. Intell. Transp. Syst. 2024, 25, 9945–9957. [Google Scholar] [CrossRef]
  2. Hyun, J.; Joe, H.; Lee, C.; Kim, Y.R.; Lee, S. Optimizing Extended Metro Timetables During Year-End Events Using Graph Neural Networks: A Study on Passenger Flow Prediction and Timetable Optimization. IEEE Trans. Intell. Transp. Syst. 2025, 26, 15951–15961. [Google Scholar] [CrossRef]
  3. Gao, C.; Liu, H.; Huang, J.; Wang, Z.; Li, X.; Li, X. Regularized Spatial–Temporal Graph Convolutional Networks for Metro Passenger Flow Prediction. IEEE Trans. Intell. Transp. Syst. 2024, 25, 11241–11255. [Google Scholar] [CrossRef]
  4. Gao, Q.; Wang, Z.; Huang, L.; Trajcevski, G.; Liu, G.; Li, X. Responsive Dynamic Graph Disentanglement for Metro Flow Forecasting. Proc. Aaai Conf. Artif. Intell. 2025, 39, 11690–11698. [Google Scholar] [CrossRef]
  5. Lv, S.; Wang, K.; Yang, H.; Wang, P. An Origin–Destination Passenger Flow Prediction System Based on Convolutional Neural Network and Passenger Source-Based Attention Mechanism. Expert Syst. Appl. 2024, 238, 121989. [Google Scholar] [CrossRef]
  6. Liu, Y.; Chen, B.; Zheng, Y.; Cheng, L.; Li, G.; Lin, L. ODMixer: Fine-Grained Spatial-Temporal MLP for Metro Origin-Destination Prediction. IEEE Trans. Knowl. Data Eng. 2025, 37, 5508–5521. [Google Scholar] [CrossRef]
  7. Liu, L.; Zhu, Y.; Li, G.; Wu, Z.; Bai, L.; Lin, L. Online Metro Origin–Destination Prediction via Heterogeneous Information Aggregation. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 3574–3589. [Google Scholar] [CrossRef] [PubMed]
  8. Xu, Y.; Lyu, Y.; Xiong, G.; Wang, S.; Wu, W.; Cui, H.; Luo, J. Adaptive Feature Fusion Networks for Origin–Destination Passenger Flow Prediction in Metro Systems. IEEE Trans. Intell. Transp. Syst. 2023, 24, 5296–5312. [Google Scholar] [CrossRef]
  9. Huang, H.; Mao, J.; Liu, R.; Lu, W.; Tang, T.; Liu, L. MTLMetro: A Deep Multi-Task Learning Model for Metro Passenger Demands Prediction. IEEE Trans. Intell. Transp. Syst. 2024, 25, 11805–11820. [Google Scholar] [CrossRef]
  10. Li, P.; Wang, S.; Zhao, H.; Yu, J.; Hu, L.; Yin, H.; Liu, Z. IG-Net: An Interaction Graph Network Model for Metro Passenger Flow Forecasting. IEEE Trans. Intell. Transp. Syst. 2023, 24, 4147–4157. [Google Scholar] [CrossRef]
  11. Liu, L.; Chen, J.; Wu, H.; Zhen, J.; Li, G.; Lin, L. Physical–Virtual Collaboration Modeling for Intra- and Inter-Station Metro Ridership Prediction. IEEE Trans. Intell. Transp. Syst. 2022, 23, 3377–3391. [Google Scholar] [CrossRef]
  12. He, Y.; Li, L.; Zhu, X.; Tsui, K.L. Multi-Graph Convolutional–Recurrent Neural Network (MGC-RNN) for Short-Term Forecasting of Transit Passenger Flow. IEEE Trans. Intell. Transp. Syst. 2022, 23, 18155–18174. [Google Scholar] [CrossRef]
  13. Zhao, Y.; Lin, Y.; Zhang, Y.; Wen, H.; Liu, Y.; Wu, H.; Wu, Z.; Zhang, S.; Wan, H. Traffic Inflow and Outflow Forecasting by Modeling Intra- and Inter-Relationship Between Flows. IEEE Trans. Intell. Transp. Syst. 2022, 23, 20202–20216. [Google Scholar] [CrossRef]
  14. Xie, P.; Ma, M.; Li, T.; Ji, S.; Du, S.; Yu, Z.; Zhang, J. Spatio-Temporal Dynamic Graph Relation Learning for Urban Metro Flow Prediction. IEEE Trans. Knowl. Data Eng. 2023, 35, 9973–9984. [Google Scholar] [CrossRef]
  15. Ma, M.; Hu, J.; Jensen, C.S.; Teng, F.; Han, P.; Xu, Z.; Li, T. Learning Time-Aware Graph Structures for Spatially Correlated Time Series Forecasting. In Proceedings of the 2024 IEEE 40th International Conference on Data Engineering (ICDE), Utrecht, The Netherlands, 13–16 May 2024; pp. 4435–4448. [Google Scholar] [CrossRef]
  16. Liu, W.; Li, H.; Zhang, H.; Xue, J.; Sun, S. Dynamic Spatio-Temporal Graph Fusion Network Modeling for Urban Metro Ridership Prediction. Inf. Fusion 2025, 117, 102845. [Google Scholar] [CrossRef]
  17. Ye, X.; Fang, S.; Sun, F.; Zhang, C.; Xiang, S. Meta Graph Transformer: A Novel Framework for Spatial–Temporal Traffic Prediction. Neurocomputing 2022, 491, 544–563. [Google Scholar] [CrossRef]
  18. Zhang, J.; Mao, S.; Zhang, S.; Yin, J.; Yang, L.; Gao, Z. EF-former for short-term passenger flow prediction during large-scale events in urban rail transit systems. Inf. Fusion 2025, 117, 102916. [Google Scholar] [CrossRef]
  19. Wu, J.; He, D.; Jin, Z.; Li, X.; Li, Q.; Xiang, W. Learning spatial–temporal pairwise and high-order relationships for short-term passenger flow prediction in urban rail transit. Expert Syst. Appl. 2024, 245, 123091. [Google Scholar] [CrossRef]
  20. Li, H.; Fu, W.; Zhang, H.; Liu, W.; Sun, S.; Zhang, T. Spatio–temporal graph hierarchical learning framework for metro passenger flow prediction across stations and lines. Knowl.-Based Syst. 2025, 311, 113132. [Google Scholar] [CrossRef]
  21. Dong, H.; Ding, F.; Tan, H.; Wu, Y.; Ran, B. Rail Transit OD-Matrix Completion via Manifold Regularised Tensor Factorisation. IET Intell. Transp. Syst. 2021, 15, 1304–1317. [Google Scholar] [CrossRef]
  22. Jiang, W.; Ma, Z.; Koutsopoulos, H.N. Deep learning for short-term origin–destination passenger flow prediction under partial observability in urban railway systems. Neural Comput. Appl. 2022, 34, 4813–4830. [Google Scholar] [CrossRef]
  23. Huang, J.; Huang, B.; Yu, W.; Xiao, J.; Xie, R.; Ruan, K. ODformer: Spatial–Temporal Transformers for Long Sequence Origin–Destination Matrix Forecasting Against Cross Application Scenario. Expert Syst. Appl. 2023, 226, 119835. [Google Scholar] [CrossRef]
  24. Zhang, Y.; Sun, K.; Wen, D.; Chen, D.; Lv, H.; Zhang, Q. Deep Learning for Metro Short-Term Origin-Destination Passenger Flow Forecasting Considering Section Capacity Utilization Ratio. IEEE Trans. Intell. Transp. Syst. 2023, 24, 7943–7960. [Google Scholar] [CrossRef]
  25. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is All you Need. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30, pp. 6000–6010. [Google Scholar]
  26. Li, Y.; Yu, R.; Shahabi, C.; Liu, Y. Diffusion Convolutional Recurrent Neural Network: Data-Driven Traffic Forecasting. In Proceedings of the 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
  27. Wu, Z.; Pan, S.; Long, G.; Jiang, J.; Zhang, C. Graph WaveNet for Deep Spatial-Temporal Graph Modeling. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI 2019, Macao, China, 10–16 August 2019; pp. 1907–1913. [Google Scholar] [CrossRef]
  28. Shang, C.; Chen, J.; Bi, J. Discrete Graph Structure Learning for Forecasting Multiple Time Series. In Proceedings of the 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, 3–7 May 2021. [Google Scholar]
  29. Zhou, H.; Zhang, S.; Peng, J.; Zhang, S.; Li, J.; Xiong, H.; Zhang, W. Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting. Proc. Aaai Conf. Artif. Intell. 2021, 35, 11106–11115. [Google Scholar] [CrossRef]
  30. Liu, H.; Dong, Z.; Jiang, R.; Deng, J.; Deng, J.; Chen, Q.; Song, X. Spatio-Temporal Adaptive Embedding Makes Vanilla Transformer SOTA for Traffic Forecasting. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management (CIKM ’23), Birmingham, UK, 21–25 October 2023; pp. 4123–4129. [Google Scholar] [CrossRef]
Figure 1. The CATI framework. Arrows indicate flow direction.
Figure 1. The CATI framework. Arrows indicate flow direction.
Symmetry 18 00809 g001
Figure 2. Task-specific encoding with OD completion and cross-task interaction module. Arrows indicate flow direction; arrow colors distinguish different streams.
Figure 2. Task-specific encoding with OD completion and cross-task interaction module. Arrows indicate flow direction; arrow colors distinguish different streams.
Symmetry 18 00809 g002
Figure 3. Task-specific encoding and cross-task interaction module. Arrows indicate flow direction; arrow colors distinguish different streams.
Figure 3. Task-specific encoding and cross-task interaction module. Arrows indicate flow direction; arrow colors distinguish different streams.
Symmetry 18 00809 g003
Figure 4. Cross-Attention and Gated Residual Fusion (CAGRF) module.
Figure 4. Cross-Attention and Gated Residual Fusion (CAGRF) module.
Symmetry 18 00809 g004
Figure 5. Cross-dataset comparison of key mechanism statistics in CATI. (a) Attention entropy across tasks, where lower entropy indicates more concentrated cross-task selection. (b) Gate mean with standard deviation, showing adaptive modulation of injected information. (c) Interaction strength across tasks, measuring the magnitude of cross-task signals injected into task representations. Results are reported on HZMetro and SHMetro using the trained model during inference.
Figure 5. Cross-dataset comparison of key mechanism statistics in CATI. (a) Attention entropy across tasks, where lower entropy indicates more concentrated cross-task selection. (b) Gate mean with standard deviation, showing adaptive modulation of injected information. (c) Interaction strength across tasks, measuring the magnitude of cross-task signals injected into task representations. Results are reported on HZMetro and SHMetro using the trained model during inference.
Symmetry 18 00809 g005
Table 1. The datasets used in the experiments.
Table 1. The datasets used in the experiments.
NameSHMetroHZMetro
CityShanghaiHangzhou
Number of stations28880
Number of physical edge958248
Averaged ridership per day8.82 M2.35 M
Time interval15 min15 min
Working time each day5:30–23:305:30–23:30
Training timespan1 July–31 August 20161–18 January 2019
Number of training samples40921188
Validation timespan1–9 September 201619–20 January 2019
Number of validation samples594132
Testing timespan10–30 September 201621–25 January 2019
Number of testing samples1386330
Table 2. Comparison of prediction performance with baseline models on HZMetro dataset. The results of CATI are reported as mean ± standard deviation over five runs with different random seeds. Bold values indicate the best results.
Table 2. Comparison of prediction performance with baseline models on HZMetro dataset. The results of CATI are reported as mean ± standard deviation over five runs with different random seeds. Bold values indicate the best results.
MetricTaskTimeGRULSTMGCNDCRNNGWNDGSLPVCGNSTAE-FormerReDy-NetHIAMCATI ± std
MAPE (%)OD15 min31.5830.4832.1231.2032.9631.4529.8929.6628.4027.8627.49 ± 0.13
30 min31.0430.4932.3131.2833.6431.8130.5329.5128.6327.9027.55 ± 0.11
45 min30.5930.3432.7631.5435.5332.5030.7829.6428.9028.0427.72 ± 0.12
60 min30.5730.6133.3831.8136.7233.3531.0530.1729.4128.2227.93 ± 0.14
DO15 min32.2831.9632.6930.8133.7831.6930.0229.8329.2428.6128.31 ± 0.07
30 min32.3731.5833.3230.9333.4531.9930.5130.0629.2128.6328.35 ± 0.05
45 min32.5831.6134.4031.3733.5732.6531.0230.4329.1428.8528.57 ± 0.04
60 min32.4031.5535.6132.0134.3133.5931.4831.0829.6929.1628.84 ± 0.05
IO15 min15.9215.1415.4010.5814.4810.249.739.839.6710.279.22 ± 0.08
30 min15.2814.3115.1910.9714.6610.3410.1310.0110.0410.639.55 ± 0.07
45 min14.6614.1315.8611.5315.4710.6910.4910.3710.2311.009.96 ± 0.06
60 min14.4714.0416.0411.9715.5911.1010.7310.5510.3311.3510.30 ± 0.05
MAEOD15 min2.732.632.782.702.852.742.692.662.632.502.47 ± 0.01
30 min2.652.602.762.672.872.772.742.642.652.502.47 ± 0.01
45 min2.572.552.752.652.992.812.752.642.662.502.47 ± 0.01
60 min2.542.542.772.643.052.852.752.662.682.502.47 ± 0.01
DO15 min2.812.792.832.692.952.762.682.692.612.562.53 ± 0.01
30 min2.822.752.842.692.912.782.742.692.652.572.55 ± 0.00
45 min2.822.732.892.712.902.822.792.732.732.592.57 ± 0.00
60 min2.772.702.952.742.942.882.832.792.712.622.59 ± 0.00
IO15 min35.9234.1734.7623.8832.6923.1122.6622.6422.5223.9321.49 ± 0.20
30 min34.2232.0634.0224.5832.8423.1623.6522.9822.8224.8022.30 ± 0.16
45 min32.4931.3235.1525.5534.2823.7024.6523.6023.5325.6423.20 ± 0.14
60 min31.7130.7735.1526.2434.1724.3224.8624.3424.2326.3023.86 ± 0.11
RMSEOD15 min5.945.775.785.556.345.145.385.235.184.904.63 ± 0.06
30 min5.725.705.855.596.575.405.785.235.194.934.70 ± 0.05
45 min5.585.686.045.737.205.625.915.245.224.984.75 ± 0.06
60 min5.735.846.165.707.635.776.015.855.565.024.80 ± 0.05
DO15 min6.476.235.985.176.475.255.275.235.214.884.82 ± 0.01
30 min6.686.096.265.226.255.415.635.475.364.964.90 ± 0.01
45 min6.886.036.675.316.085.665.895.515.425.065.00 ± 0.02
60 min6.655.956.995.416.125.995.995.524.485.165.10 ± 0.03
IO15 min72.4062.4658.4539.9054.7938.7538.0637.5237.3938.8835.74 ± 0.72
30 min68.5758.4257.7641.7854.5238.6440.0638.4937.4640.3137.15 ± 0.56
45 min64.1457.0560.8942.8458.4039.7041.6339.3738.5441.7238.78 ± 0.58
60 min60.4256.5159.4843.9256.7940.7142.2140.0639.8943.3040.19 ± 0.48
Table 3. Comparison of prediction performance with baseline models on SHMetro dataset. The results of CATI are reported as mean ± standard deviation over five runs with different random seeds. Bold values indicate the best results.
Table 3. Comparison of prediction performance with baseline models on SHMetro dataset. The results of CATI are reported as mean ± standard deviation over five runs with different random seeds. Bold values indicate the best results.
MetricTaskTimeGRULSTMGCNDCRNNGWNDGSLPVCGNSTAE-FormerReDy-NetHIAMCATI ± std
MAPE (%)OD15 min45.8045.4342.3040.7841.6740.8439.3238.9638.6938.1137.54 ± 0.04
30 min47.3147.0342.5640.6341.3540.9339.4439.1039.0338.0637.47 ± 0.05
45 min49.2849.0043.5240.9241.3241.4939.6739.2539.1238.2637.66 ± 0.08
60 min51.4051.0744.9341.6742.5542.4040.1539.4439.2638.6037.95 ± 0.10
DO15 min42.1341.8642.4340.5842.2140.6639.3039.2239.0638.9538.31 ± 0.03
30 min43.2242.8642.6840.6542.0440.7139.6039.6139.2338.8538.25 ± 0.03
45 min45.2244.7743.6441.1742.0941.2440.2440.2139.9239.0938.50 ± 0.04
60 min47.3546.7645.0141.1942.1542.1441.0640.7940.2739.4938.87 ± 0.07
IO15 min19.6818.6519.3411.9814.9210.5910.4410.3510.2514.709.91 ± 0.06
30 min18.4217.8119.2812.7414.6610.9010.9711.0710.8614.8210.32 ± 0.07
45 min17.9117.7319.7613.8615.0211.5711.4811.2211.0915.0610.74 ± 0.08
60 min17.6717.8019.7414.8915.3212.1612.0311.4011.3315.2911.09 ± 0.09
MAEOD15 min1.331.321.231.181.201.181.141.131.131.101.09 ± 0.00
30 min1.361.351.241.161.181.191.131.121.121.091.08 ± 0.00
45 min1.401.391.261.161.171.201.131.121.121.091.07 ± 0.00
60 min1.441.431.291.161.191.221.131.121.121.081.06 ± 0.00
DO15 min1.221.211.231.181.221.181.141.131.131.131.11 ± 0.00
30 min1.261.251.241.181.221.181.151.141.141.131.11 ± 0.00
45 min1.311.301.261.191.221.201.171.161.151.141.12 ± 0.00
60 min1.371.351.301.211.211.211.191.181.171.141.12 ± 0.00
IO15 min42.9540.7043.6526.3332.5523.1223.9222.6322.4832.4021.84 ± 0.12
30 min40.0238.4143.1927.9331.8623.6924.9623.3323.1732.5922.70 ± 0.15
45 min38.6238.2343.7930.1832.3824.9525.8723.9923.9532.9123.47 ± 0.17
60 min37.6737.9543.2632.0932.6625.9226.7324.7724.9433.0923.99 ± 0.21
RMSEOD15 min4.124.073.293.223.472.963.172.942.892.822.71 ± 0.01
30 min4.604.553.373.313.363.043.322.992.932.892.79 ± 0.01
45 min5.125.083.583.483.363.193.423.073.022.962.86 ± 0.03
60 min5.595.593.863.673.703.383.623.213.113.022.93 ± 0.04
DO15 min3.223.173.342.983.492.972.922.902.892.862.71 ± 0.01
30 min3.533.483.423.053.453.053.022.952.912.892.77 ± 0.01
45 min4.064.073.623.183.443.183.223.083.012.962.84 ± 0.01
60 min4.604.703.843.343.423.393.593.213.123.042.91 ± 0.01
IO15 min95.8887.6872.8550.4964.3844.5047.8943.7542.9751.6442.01 ± 0.37
30 min88.6884.0171.8554.6363.1947.5051.9446.3345.4652.9244.81 ± 0.54
45 min85.3584.2573.4561.1465.3752.1355.3148.4547.7854.8847.56 ± 0.68
60 min83.4784.0371.9366.3665.2455.7459.9250.3450.0156.7549.87 ± 0.91
Table 4. Ablation study on cross-task interaction mechanisms on HZMetro and SHMetro datasets. Bold values indicate the best results.
Table 4. Ablation study on cross-task interaction mechanisms on HZMetro and SHMetro datasets. Bold values indicate the best results.
HZMetro SHMetro
MetricTaskTimeInd+ConswoGateEncOnlyDecOnlyPosFusionFullInd+ConswoGateEncOnlyDecOnlyPosFusionFull
MAPE (%)OD15 min32.4327.3928.6527.7028.3427.4139.1637.5238.1637.9538.4637.53
30 min34.0427.4728.7727.7228.3727.4939.1737.4138.0237.8938.3937.50
45 min36.6027.5929.1927.8828.6827.6839.5537.5338.2638.0338.5837.69
60 min39.3627.8029.8928.1329.0927.8140.1337.7838.7138.2738.9137.97
DO15 min34.3528.2228.9428.2828.7428.3241.4738.3138.9838.9339.0838.32
30 min36.6528.2928.9228.2728.6428.3641.9938.2438.9538.8239.0538.26
45 min40.4328.4829.2728.4728.9228.5543.0038.4839.2938.9939.3438.49
60 min45.0828.7229.9428.6929.3928.8344.1238.8639.6939.2239.7538.85
IO15 min14.099.3510.179.239.519.1011.5510.1310.119.8710.159.86
30 min18.069.6310.709.479.909.3812.5610.4110.4910.2810.5610.27
45 min23.019.9511.239.8610.419.7613.7210.7810.9110.7311.0210.68
60 min27.9310.2811.6510.2210.8710.0614.8911.0911.2211.0911.4311.00
MAEOD15 min2.912.462.582.492.552.461.131.091.111.101.111.09
30 min3.052.462.582.492.552.471.131.081.091.091.101.08
45 min3.272.462.612.492.562.471.131.071.091.081.101.07
60 min3.482.462.642.492.572.461.121.061.081.071.091.06
DO15 min3.072.522.592.532.572.531.201.111.131.131.131.11
30 min3.292.542.602.542.572.551.221.111.131.131.141.11
45 min3.642.562.632.562.602.571.251.121.141.131.141.12
60 min4.052.582.692.582.642.591.281.121.151.131.151.12
IO15 min32.8321.7823.7021.5122.1621.2125.4522.3222.2921.7522.3721.74
30 min42.1522.4724.9822.1023.1021.8927.6322.9023.0722.6223.2222.60
45 min53.6223.1826.1522.9724.2522.7429.9823.5723.8423.4624.0923.34
60 min64.7423.8327.0023.6825.1923.3332.2224.0024.2823.9924.7223.80
RMSEOD15 min6.104.725.044.694.934.592.902.752.762.742.782.69
30 min6.574.755.144.724.964.662.982.782.852.832.862.78
45 min7.474.805.254.775.064.733.112.842.922.922.932.85
60 min8.434.875.404.825.144.753.202.882.952.993.002.92
DO15 min6.994.784.984.774.924.813.022.732.772.702.762.71
30 min7.694.855.074.834.954.893.222.772.842.762.822.77
45 min9.104.955.164.945.074.973.512.842.972.852.922.84
60 min10.995.035.305.045.225.063.902.903.042.922.992.89
IO15 min62.9336.8541.0235.6637.8735.0648.6243.6442.1441.2242.4842.04
30 min80.9237.7643.6036.5439.4436.4455.5245.4744.5244.2645.3244.64
45 min104.2938.9945.6238.1941.5838.0063.1547.9747.3847.5348.1647.20
60 min127.7540.6247.5539.6043.7239.2072.6849.9749.1850.1550.3649.24
Table 5. Ablation study of aggregation-consistency regularization and its interaction with cross-task interaction on HZMetro and SHMetro datasets. Bold values indicate the best results.
Table 5. Ablation study of aggregation-consistency regularization and its interaction with cross-task interaction on HZMetro and SHMetro datasets. Bold values indicate the best results.
HZMetroSHMetro
MetricTaskTimeIndInd+ConswoConsFullIndInd+ConswoConsFull
MAPE (%)OD15 min31.3932.4327.4127.4739.1439.1637.5337.53
30 min32.6034.0427.5827.5339.1539.1737.5037.50
45 min34.7336.6027.7727.7239.4839.5537.6837.69
60 min37.1839.3627.9127.9440.1240.1337.9937.97
DO15 min33.7334.3528.3828.2741.4041.4738.2438.32
30 min35.5036.6528.3628.3141.9241.9938.2038.26
45 min38.4440.4328.5628.5142.9443.0038.4638.49
60 min41.8145.0828.8128.7844.2144.1238.8438.85
IO15 min13.4914.099.419.2511.5611.559.909.86
30 min16.7818.069.789.5012.5412.5610.3010.27
45 min20.6923.0110.209.9113.6113.7210.7110.68
60 min24.6027.9310.4810.2414.6714.8911.0711.00
MAEOD15 min2.822.912.462.471.131.131.091.09
30 min2.933.052.472.471.131.131.081.08
45 min3.103.272.482.481.121.131.071.07
60 min3.293.482.472.471.121.121.061.06
DO15 min3.023.072.542.531.201.201.111.11
30 min3.193.292.552.541.221.221.111.11
45 min3.463.642.572.561.251.251.121.12
60 min3.754.052.592.581.281.281.121.12
IO15 min31.4432.8321.9321.5625.4825.4521.8221.74
30 min39.1642.1522.8222.1727.5927.6322.6622.60
45 min48.2153.6223.7623.0829.7529.9823.4023.34
60 min57.0164.7424.2923.7231.7432.2223.9523.80
RMSEOD15 min5.886.104.624.652.912.902.712.69
30 min6.216.574.744.712.982.982.802.78
45 min6.807.474.834.793.083.112.892.85
60 min7.468.434.844.843.213.202.962.92
DO15 min6.666.994.824.783.013.022.722.71
30 min7.197.694.884.853.203.222.792.77
45 min8.309.104.974.953.543.512.862.84
60 min9.7710.995.075.044.033.902.932.89
IO15 min58.2962.9336.1235.8748.6848.6241.6342.04
30 min73.0980.9237.9437.0255.6855.5244.5844.64
45 min90.75104.2939.7838.7763.6463.1547.3747.20
60 min109.39127.7540.8740.1571.7872.6849.7949.24
Table 6. Impact of the number of stacked TECTI layers L on forecasting performance on HZMetro and SHMetro datasets. Bold values indicate the best results.
Table 6. Impact of the number of stacked TECTI layers L on forecasting performance on HZMetro and SHMetro datasets. Bold values indicate the best results.
HZMetroSHMetro
MetricTaskTime12341234
MAPE (%)OD15 min27.9427.4128.1928.2137.6037.5337.5437.37
30 min27.9527.4928.0828.1737.5837.5037.4337.34
45 min28.1427.6828.1328.2937.7037.6937.6237.65
60 min28.4727.8128.3028.4937.9137.9737.9437.97
DO15 min28.4928.3228.6428.9438.6338.3238.5938.61
30 min28.6228.3628.9829.0338.5838.2638.5638.62
45 min28.8728.5529.0829.2038.8438.4938.7738.78
60 min29.0628.8329.3329.4839.1838.8539.1039.99
IO15 min9.649.109.5910.0111.189.8610.6911.16
30 min9.949.3810.1410.2411.6410.2711.0011.45
45 min10.319.7610.4010.5312.0510.6811.3511.83
60 min10.6610.0610.6410.7712.3611.0011.6612.12
MAEOD15 min2.512.462.522.541.091.091.091.08
30 min2.512.472.522.531.081.081.081.07
45 min2.512.472.512.531.071.071.071.07
60 min2.522.462.502.521.061.061.061.06
DO15 min2.552.532.592.591.121.111.111.11
30 min2.572.552.562.611.121.111.121.11
45 min2.592.572.612.631.131.121.121.12
60 min2.612.592.632.651.131.121.131.13
IO15 min22.4621.2122.2923.3423.6421.7423.0623.60
30 min23.2121.8922.6823.9024.5922.6023.8124.19
45 min24.0322.7423.2324.5225.3523.3424.5224.86
60 min24.7123.3323.6524.9625.7423.8025.2326.23
RMSEOD15 min4.924.594.985.032.732.692.772.76
30 min4.954.664.945.022.822.782.802.80
45 min5.034.734.945.052.882.852.882.90
60 min5.154.754.995.092.942.922.952.97
DO15 min4.834.815.055.132.802.712.832.85
30 min4.914.895.075.212.872.772.862.88
45 min4.994.975.045.262.962.842.932.98
60 min5.065.065.395.313.042.893.003.05
IO15 min36.5535.0636.7838.3645.5842.0443.0947.06
30 min38.6736.4438.4338.2348.5444.6445.3048.45
45 min40.1038.0039.4540.3751.1947.2048.7851.02
60 min41.7639.2040.7042.4953.0849.2450.8153.07
Table 7. Impact of the hidden dimension D GCGRU of task-specific encoding on forecasting performance on HZMetro and SHMetro datasets. Bold values indicate the best results.
Table 7. Impact of the hidden dimension D GCGRU of task-specific encoding on forecasting performance on HZMetro and SHMetro datasets. Bold values indicate the best results.
HZMetroSHMetro
MetricTaskTime326496128256326496128256
MAPE (%)OD15 min27.8527.5427.4127.4827.3039.6937.9837.5337.4937.47
30 min27.7527.6427.4927.6127.5139.6937.8737.5037.5137.52
45 min27.9227.8227.6827.7427.6439.9238.0237.6937.7037.71
60 min28.1628.0127.8127.9527.8240.1738.2737.9737.9637.91
DO15 min28.5828.4128.3228.2428.3840.7438.9338.3238.2238.02
30 min28.4828.4228.3628.3228.5840.7638.8338.2638.2138.08
45 min28.6828.5928.5528.5428.8441.0839.0938.4938.4838.27
60 min29.0028.8528.8328.8129.1341.4739.5038.8538.8638.51
IO15 min9.449.269.109.149.1910.1210.019.869.969.96
30 min9.779.669.389.509.7110.6210.4210.2710.3410.38
45 min10.1410.049.769.8910.1911.1810.8410.6810.7910.84
60 min10.4710.3810.0610.1910.5311.5911.1811.0011.1711.17
MAEOD15 min2.502.482.462.472.451.151.101.091.091.09
30 min2.492.482.472.482.471.141.091.081.081.08
45 min2.492.482.472.482.471.141.081.071.071.07
60 min2.492.482.462.472.461.131.071.061.061.06
DO15 min2.562.542.532.522.541.181.131.111.111.10
30 min2.562.552.552.542.571.191.131.111.111.11
45 min2.582.572.572.572.591.191.141.121.121.11
60 min2.602.592.592.592.621.201.141.121.121.11
IO15 min22.0021.5921.2121.3121.4222.3022.0521.7421.9621.95
30 min22.8022.5421.8922.1722.6723.3622.9222.6022.7422.83
45 min23.6223.3922.7423.0423.7324.4323.7023.3423.5823.69
60 min24.2824.0623.3323.6124.4125.0824.1923.8024.1624.18
RMSEOD15 min4.844.704.594.654.572.822.722.692.722.73
30 min4.874.784.664.744.712.922.772.782.822.82
45 min4.924.844.734.764.743.022.832.852.902.92
60 min4.984.884.754.804.803.102.892.922.972.95
DO15 min4.874.834.814.814.892.842.722.712.682.73
30 min4.934.924.894.895.022.892.762.772.732.79
45 min5.025.014.974.975.122.992.852.842.822.86
60 min5.135.115.065.065.203.112.922.892.912.91
IO15 min37.6036.4135.0635.2035.7343.0642.6042.0442.1642.22
30 min38.7938.1236.4436.7638.3746.4445.0444.6444.7445.01
45 min40.0939.7338.0038.2439.9450.4247.6747.2047.8648.22
60 min41.6641.1939.2039.4541.5353.1949.8649.2450.6150.29
Table 8. Impact of the hidden dimension D CA in cross-attention on forecasting performance on HZMetro and SHMetro datasets. Bold values indicate the best results.
Table 8. Impact of the hidden dimension D CA in cross-attention on forecasting performance on HZMetro and SHMetro datasets. Bold values indicate the best results.
HZMetroSHMetro
MetricTaskTime961282565121024961282565121024
MAPE (%)OD15 min27.8027.6627.5127.4127.6538.0737.8037.6337.5337.54
30 min27.8127.6927.5727.4927.7237.9437.6437.5737.5037.48
45 min27.9927.8627.7627.6828.0038.1437.7837.7437.6937.65
60 min28.2328.0928.0027.8128.2538.5238.1037.9837.9737.86
DO15 min28.5328.4828.4728.3228.2339.1438.7138.5738.3238.73
30 min28.5128.4728.4528.3628.3439.0838.6538.5538.2638.30
45 min28.7228.7028.6528.5528.5639.3438.8538.7938.4938.76
60 min29.0629.0328.9528.8328.8639.7739.1739.1138.8539.08
IO15 min9.399.379.249.109.2210.8611.1111.239.8610.31
30 min9.779.749.579.389.5411.4311.6311.7710.2711.64
45 min10.2010.199.969.7610.0111.9212.0312.1910.6811.10
60 min10.5410.5110.2610.0610.3512.2512.3212.4811.0012.51
MAEOD15 min2.502.492.472.462.481.101.101.091.091.08
30 min2.502.492.472.472.491.091.081.081.081.07
45 min2.502.492.482.472.501.081.071.071.071.07
60 min2.502.492.482.462.501.081.071.061.061.06
DO15 min2.552.552.542.532.521.141.121.121.111.11
30 min2.562.562.562.552.551.141.121.121.111.11
45 min2.582.582.582.572.571.141.131.131.121.12
60 min2.612.612.602.592.591.151.131.131.121.13
IO15 min21.8921.8421.5321.2121.4823.9424.4824.7621.7422.73
30 min22.8022.7322.3321.8922.2625.1324.5723.8922.6023.39
45 min23.7723.7523.2122.7423.3226.0625.3024.6423.3424.26
60 min24.4324.3623.7723.3323.9826.5025.6525.0023.8024.91
RMSEOD15 min4.824.744.644.594.652.782.752.742.692.75
30 min4.874.784.704.664.722.842.802.812.782.78
45 min4.924.834.774.734.812.932.882.892.852.88
60 min4.984.884.844.754.873.002.942.942.922.94
DO15 min4.844.854.864.814.832.822.782.802.712.82
30 min4.914.914.934.894.932.872.832.882.772.86
45 min5.015.025.034.975.042.952.902.962.842.93
60 min5.125.135.135.065.153.022.963.022.893.00
IO15 min36.9836.5735.9635.0635.5344.7543.7342.9942.0443.36
30 min38.5838.2437.3336.4436.8847.7646.4145.8444.6445.77
45 min40.1740.1738.9538.0039.0351.1349.9648.5147.2048.52
60 min41.7141.6640.1639.2040.4852.9351.7050.3049.2450.97
Table 9. Impact of the number of cross-attention heads N h on forecasting performance on HZMetro and SHMetro datasets. Bold values indicate the best results.
Table 9. Impact of the number of cross-attention heads N h on forecasting performance on HZMetro and SHMetro datasets. Bold values indicate the best results.
HZMetro SHMetro
MetricTaskTime1248163212481632
MAPE (%)OD15 min27.4127.4727.4127.3527.3827.4437.7337.6137.5337.4437.4237.40
30 min27.4827.5727.4927.4827.4927.5137.6837.5837.5037.4337.4237.37
45 min27.6327.7827.6827.6527.6527.6637.8737.7437.6937.6337.5937.56
60 min27.8427.9827.8127.8127.8527.9138.1738.0337.9737.9237.8537.80
DO15 min28.3628.2828.3228.3328.2828.2938.4638.3838.3238.2238.1138.11
30 min28.3628.3028.3628.3728.3228.3338.3938.3138.2638.1838.1138.10
45 min28.5728.5428.5528.5928.5228.5338.6338.5538.4938.4138.3638.35
60 min28.8428.8628.8328.8728.7828.8039.0038.9238.8538.7738.6838.66
IO15 min9.119.229.109.199.119.089.879.869.869.879.829.88
30 min9.419.569.389.609.479.3910.2610.2910.2710.2710.2510.32
45 min9.8110.019.7610.049.879.7510.6510.7010.6810.6710.6710.77
60 min10.1310.4210.0610.3810.1710.0510.9811.0311.0011.0311.0211.11
MAEOD15 min2.462.472.462.462.462.471.091.091.091.081.081.08
30 min2.472.472.472.472.472.471.081.081.081.081.081.08
45 min2.472.482.472.472.472.471.081.071.071.071.071.07
60 min2.462.482.462.462.462.471.071.071.061.061.061.06
DO15 min2.532.532.532.532.532.531.121.111.111.111.111.11
30 min2.552.542.552.552.542.541.121.121.111.111.111.11
45 min2.572.572.572.572.562.571.121.121.121.121.121.11
60 min2.592.592.592.592.582.591.131.131.121.121.121.12
IO15 min21.2221.4821.2121.4221.2221.1621.7621.7321.7421.7521.6421.77
30 min21.9722.3221.8922.4122.0921.9322.5622.6222.6022.5922.5522.69
45 min22.8523.3322.7423.4022.9922.7223.2823.3823.3423.3223.3223.53
60 min23.4724.1423.3324.0623.5723.3023.7723.8723.8023.8623.8424.04
RMSEOD15 min4.574.604.594.614.574.582.712.702.692.702.712.71
30 min4.644.684.664.704.664.642.792.802.782.792.812.80
45 min4.694.764.734.754.694.692.882.862.852.872.882.90
60 min4.744.804.754.784.744.762.942.942.922.952.952.97
DO15 min4.814.824.814.844.824.812.702.712.712.712.712.69
30 min4.874.884.894.924.904.892.772.772.772.772.772.76
45 min4.964.994.975.024.994.982.842.842.842.842.852.84
60 min5.065.105.065.135.095.082.902.902.892.902.902.90
IO15 min34.8135.4535.0635.4434.8034.8141.5941.4942.0441.7141.4041.99
30 min36.1737.0236.4437.1736.5136.2744.2744.5244.6444.4744.4445.13
45 min37.7838.9838.0038.8838.0137.7946.9547.1147.2047.0947.0748.43
60 min39.1640.6739.2040.2539.2939.0949.1449.2849.2449.6049.4250.99
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, Q.; Xu, X.; Yu, J.; Gao, Q.; Zhang, C. CATI: Cross-Attention-Based Task Interaction for Multi-Granular Metro Passenger Flow Forecasting. Symmetry 2026, 18, 809. https://doi.org/10.3390/sym18050809

AMA Style

Yang Q, Xu X, Yu J, Gao Q, Zhang C. CATI: Cross-Attention-Based Task Interaction for Multi-Granular Metro Passenger Flow Forecasting. Symmetry. 2026; 18(5):809. https://doi.org/10.3390/sym18050809

Chicago/Turabian Style

Yang, Qiong, Xianghua Xu, Juan Yu, Qifeng Gao, and Cheng Zhang. 2026. "CATI: Cross-Attention-Based Task Interaction for Multi-Granular Metro Passenger Flow Forecasting" Symmetry 18, no. 5: 809. https://doi.org/10.3390/sym18050809

APA Style

Yang, Q., Xu, X., Yu, J., Gao, Q., & Zhang, C. (2026). CATI: Cross-Attention-Based Task Interaction for Multi-Granular Metro Passenger Flow Forecasting. Symmetry, 18(5), 809. https://doi.org/10.3390/sym18050809

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop