TL;DR
The Recurrent Aligned Network (RAN) introduces a robust framework for Generalized Pedestrian Trajectory Prediction, enabling models to navigate unseen environments without requiring any target-domain data during training. By performing recurrent alignment at both the time-state and time-sequence levels, RAN effectively bridges the domain gap, setting new state-of-the-art benchmarks for cross-domain generalization in robotics and autonomous driving.
What Problem Does This Paper Address?
Predicting where a pedestrian will walk is a cornerstone of autonomous systems, yet models often suffer from domain shift. A predictor trained on a quiet university campus might fail spectacularly when deployed on a busy city street or a basketball court because the "motion styles" and social interactions differ fundamentally.
While previous research focused on domain adaptation—fine-tuning a model using a small slice of data from the new environment—this is often impractical. You cannot collect and label trajectory data for every new city an autonomous car might enter. The authors instead tackle Domain Generalization (DG): training a model on multiple source domains so that it learns "domain-invariant" features capable of generalizing to completely unseen target domains without any further tuning.
Methods
The authors propose the Recurrent Aligned Network (RAN), which moves beyond traditional domain alignment by accounting for the sequential and social nature of human movement. The framework consists of three core components:
- Pre-Aligned Representation Module: Before alignment, the model uses a stepwise attention mechanism to encode social interactions. It doesn't just look at a single pedestrian's path; it considers how neighbors influence that path at every specific time step.
- Recurrent Alignment Module: This is the heart of the paper. Unlike standard methods that align global sequence features, RAN uses a Gated Recurrent Unit (GRU) to align feature spaces at every time step. This "recurrent alignment strategy" ensures that both the immediate state and the evolving sequence are domain-invariant.
- Recurrent Alignment Loss: The model minimizes the discrepancy (using $L_2$ distance) between the feature distributions of two different source domains at each step of the GRU.
Datasets
The model was evaluated on three distinct benchmarks that represent significantly different motion domains:
- ETH-UCY: Outdoor pedestrian paths with relatively linear motion.
- Stanford Drone Dataset (SDD): Complex university campus scenes with various agents (bicyclists, cars, pedestrians).
- NBA (SportVU): Highly non-linear, adversarial, and cooperative movements of basketball players.
The authors used a "leave-one-domain-out" protocol, training on two datasets and testing on the third to strictly evaluate generalization.
Key Insights and Ideas
- Temporal Alignment is Critical: The authors found that aligning features at every time step ("Recurrent") outperformed aligning only the final sequence representation. This suggests that the process of motion is just as domain-dependent as the final destination.
- Social Context as a Domain Feature: By including social interactions in the alignment process (via the Pre-Aligned module), the model learns how "interaction styles" generalize, rather than just raw coordinate shifts.
- The $L_2$ Distance Advantage: Surprisingly, simple $L_2$ distance outperformed more complex metrics like Maximum Mean Discrepancy (MMD) or Correlation Alignment (CORAL) for this task. The authors hypothesize that high-dimensional trajectory features may still preserve crucial spatial-level information that $L_2$ captures best.
- Efficiency Matters: By using a mixture-of-experts (MoE) decoder instead of a complex Conditional Variational Autoencoder (CVAE), RAN achieves inference speeds roughly 7x faster than previous state-of-the-art models like SocialVAE.
Key Results
RAN consistently outperformed existing methods across all tested scenarios.
- On the NBA dataset (the most challenging due to dense interactions), RAN improved the Average Displacement Error (ADE) by 44.8% compared to the previous best method, Graph-TERN.
- On ETH-UCY, it reduced the average ADE from 0.36m to 0.23m.
- Qualitative Success: As shown in Figure 7, RAN's predicted trajectories (blue) stay much closer to the ground truth (green) in unseen domains compared to competing models, which often drift significantly after a domain change.
Visualizing the feature space via t-SNE (Figure 6) confirms that the Recurrent Alignment (RA) module successfully forces the feature distributions of different domains to overlap, creating a truly generalized representation.
Limitations and Future Work
The primary limitation of the current RAN framework is its requirement for at least two source domains during training to perform the alignment. In some niche applications, multi-domain data might be scarce. The authors have noted that investigating single-domain generalization—where a model learns to be robust from only one training environment—is a key direction for their future research.
Summary updated