TL;DR
AdapTraj is a new "plug-and-play" framework designed to help trajectory prediction models generalize to completely unseen environments. By disentangling universal "domain-invariant" features (like basic physics) from "domain-specific" features (like local traffic habits) for both the target agent and its neighbors, it overcomes the common problem where adding more training data from different sources actually degrades performance.
What Problem Does This Paper Address?
Predicting the future paths of pedestrians, cyclists, and vehicles is a cornerstone of autonomous systems. However, most current models assume the "training" world looks exactly like the "testing" world. In reality, a model trained on a quiet university campus (like the SDD dataset) will likely fail when deployed in a dense, chaotic shopping mall (like the L-CAS dataset) because of distribution shifts.
The authors identify two major hurdles in solving this:
- Negative Transfer: Simply mixing data from multiple cities or environments often leads to "averaging out" the differences, resulting in a model that performs worse than one trained on a single source.
- External Factor Modeling: Most generalization methods focus only on the individual agent. In reality, how a person moves is heavily dictated by their neighbors (collision avoidance, following a leader), and these interaction patterns also change across domains.
Methods
AdapTraj introduces a causal formulation that splits knowledge into four distinct buckets:
- Domain-Invariant (Focal & Neighbor): Features that stay the same everywhere, such as social norms (don't walk into people) and physical constraints.
- Domain-Specific (Focal & Neighbor): Features unique to a location, such as a specific "yielding" culture or local architectural bottlenecks.
Key Components:
- Domain-Invariant Extractor: Uses shared weights across all training domains and an adversarial loss to ensure the features it extracts are indistinguishable between domains.
- Domain-Specific Extractor: Uses a "Mixture-of-Experts" style approach where separate sub-networks learn the unique "flavor" of each training environment.
- Domain-Specific Aggregator: This is the "secret sauce" for unseen domains. During training, the model practices "masking" domain labels. It uses a teacher-student learning process to learn how to adaptively combine knowledge from known domains to handle a new, unknown one.
- Plug-and-Play: The framework is designed to wrap around existing "backbone" models like PECNet or LBEBM.
Datasets
The researchers evaluated AdapTraj on four diverse, real-world human trajectory datasets:
- ETH & UCY: The standard benchmark for social interactions (pedestrians).
- L-CAS: Focuses on indoor environments with complex social interactions (e.g., people with trolleys, running children).
- SYI: A large-scale dataset featuring much longer trajectories and complex crowd behaviors.
- Stanford Drone Dataset (SDD): A massive dataset of trajectories on a university campus, often used as the "unseen" target domain in this study.
Key Insights and Ideas
- The "Averaging" Trap: The paper proves that without specific generalization logic, adding more source domains actually increases error (Table III). This confirms that "more data" isn't always better if that data is heterogeneous.
- Neighbors Matter for Generalization: A key "aha" moment is that interaction patterns (how we react to others) are just as subject to domain shifts as individual motion. By explicitly modeling "neighbor-invariant" and "neighbor-specific" features, the model captures the "social physics" of a new environment more accurately.
- Simulating the Unknown: By masking domain labels during training, the model is forced to learn how to synthesize a "specific" profile for an agent even when it doesn't recognize the environment, effectively learning how to generalize on the fly.
Key Results
AdapTraj consistently outperformed state-of-the-art baselines across all test scenarios.
- Superior Generalization: When tested on the SDD dataset (using ETH, L-CAS, and SYI as sources), AdapTraj achieved an ADE of 0.911 and FDE of 1.670 using PECNet as a backbone—significantly better than the "Vanilla" PECNet (0.948 / 1.785) and far superior to other generalization methods like Counter or CausalMotion which actually suffered from negative transfer.
- Robustness: The performance gap between AdapTraj and other models widened as more source domains were added, proving it successfully mitigates negative transfer.
- Efficiency: Despite the extra complexity, the inference time remains between 7ms to 30ms per trajectory, making it viable for real-time use in autonomous robots or vehicles.
Limitations and Future Work
- Trajectory-Only Input: The current model relies solely on coordinates. The authors note that incorporating visual data (like top-down maps or camera feeds) could further improve performance, though they chose to focus on trajectories to ensure broader applicability.
- Hyperparameter Sensitivity: The framework introduces several new hyperparameters (like the "domain weight" $\delta$ and "aggregator ratio" $\sigma$). While the authors provide a sensitivity analysis, tuning these for new backbones might require effort.
- Future Direction: The authors suggest exploring how this causal disentanglement could be applied to other time-series forecasting tasks beyond human trajectories.
Summary updated