TL;DR
ASTRA is a lightweight pedestrian trajectory prediction model that achieves state-of-the-art accuracy while using seven times fewer parameters than competing models. By elegantly fusing a graph-aware transformer with a U-Net feature extractor, it concurrently models spatial, temporal, and social dynamics across both Bird’s Eye View (BEV) and Ego-Vehicle View (EVV) perspectives.
What Problem Does This Paper Address?
Predicting where pedestrians will walk is essential for autonomous vehicles, robotics, and surveillance systems. To do this accurately, a model must understand three things: where the person has been (temporal), how they interact with others (social), and the physical layout of the environment (scene context).
Existing methods typically tackle these dimensions using separate, heavy components—such as stacking Graph Neural Networks (GNNs) on top of Transformers—which creates massive computational overhead. Furthermore, many models rely on expensive semantic segmentation maps for scene context and are strictly limited to either a top-down Bird’s Eye View (BEV) or a front-facing Ego-Vehicle View (EVV). ASTRA addresses these inefficiencies, delivering a highly accurate model lightweight enough to run on resource-constrained in-vehicle edge devices.
Methods
ASTRA introduces a streamlined architecture that processes spatial, temporal, and social dimensions concurrently rather than sequentially:
- Scene-Aware Component: Instead of using heavy semantic segmentation networks, ASTRA utilizes a pre-trained, frozen U-Net encoder to extract latent scene features (keypoints) directly from raw video frames.
- Agent-Aware Graph Transformer: To capture social interactions without a separate GNN, the authors construct an undirected graph of agents based on their relative distances. They apply Random Walk Positional Encodings (RWPE) to capture the structural relationships of this graph and embed them directly into the transformer tokens. This allows a single-layer transformer encoder to handle temporal and social dynamics simultaneously.
- Multimodal Output: For deterministic predictions, the embeddings are passed straight to an MLP decoder. For stochastic (probabilistic) trajectories, a Conditional Variational Auto-Encoder (CVAE) is integrated to sample multiple plausible futures.
- Parabolic Weighted Penalty Loss: Trajectory predictions inherently drift over time. ASTRA introduces a novel loss function that applies a parabolic weight curve to the prediction horizon, heavily penalizing errors at both the very beginning and the end of the predicted path to ensure balanced trajectory alignment.
Datasets
The model was evaluated on three widely accepted benchmark datasets:
- ETH and UCY: Standard top-down, Bird’s Eye View (BEV) datasets capturing real-world pedestrian dynamics across five distinct urban scenes.
- PIE (Pedestrian Intention and Trajectory Estimation): A large-scale Ego-Vehicle View (EVV) dataset containing over 6 hours of onboard driving footage in urban environments.
Key Insights and Ideas
- Graph-Aware Tokens Beat Stacked Architectures: Injecting graph topology directly into transformer tokens via RWPE removes the need for alternating GNN and Transformer blocks. This drastically cuts down computational complexity without sacrificing the model's understanding of social dynamics.
- Segmentation is Overkill: A frozen U-Net trained purely to find visual keypoints provides sufficient environmental context for trajectory forecasting, eliminating the need for pixel-perfect semantic annotations.
- The Parabolic Loss Effect: While it is intuitive to penalize later time steps more heavily due to compounding drift (quadratic/linear penalties), the authors discovered that a parabolic penalty—which also strictly enforces early-step accuracy—yields the most stable and realistic trajectories.
Key Results
ASTRA establishes a new state-of-the-art benchmark for efficiency and accuracy:
- Parameter Efficiency: ASTRA contains only 1.56M parameters—seven times fewer than the competing state-of-the-art model, LeapFrog (11.2M parameters), and significantly less than AgentFormer (6.78M).
- Computational Speedup: The full model requires only 1.7 MFLOPs, a massive reduction compared to AgentFormer’s 3.084 GFLOPs.
- Accuracy Gains: On the ETH-UCY dataset, ASTRA demonstrated an average accuracy improvement of 27% in deterministic settings and 10% in stochastic settings. It also achieved a 26% average improvement on the front-facing PIE dataset.
Limitations and Future Work
While ASTRA is highly efficient, the authors note that its scene-encoding mechanism could be further refined. Future work includes exploring transformer-based scene representations and utilizing gated cross-attention mechanisms to fuse social and environmental data more dynamically. Additionally, the authors plan to expand the model's scope beyond pedestrians to forecast the trajectories of heterogeneous agents, such as cyclists and vehicles, within shared autonomous driving spaces.
Summary updated