Introduction
Pedestrian trajectory forecasting is a critical component for the safe operation of autonomous vehicles and social robots. Navigating human-populated environments requires models to account for complex social interactions, environmental constraints, and the inherent multimodality of human intent. Traditionally, this task has been dominated by autoregressive models that predict future positions sequentially. However, these models suffer from two primary drawbacks: error accumulation, where small initial deviations snowball over time, and a sequential bottleneck that prevents parallel computation.
The NAP Framework
To overcome these limitations, the authors introduce NAP (Non-Autoregressive Prediction). Unlike recursive models, NAP generates the entire future trajectory simultaneously. This approach eliminates the "error drift" and allows for significantly faster, parallelized inference.
The architecture consists of several key modules:
- Feature Encoders: A multi-modal encoding strategy is employed. An LSTM processes the target pedestrian's history, a Graph Convolutional Network (GCN) models social interactions with nearby agents, and a CNN (DeepLabv3+) extracts static scene features from the environment.
- Context Generators: To replace the step-by-step memory of an LSTM, NAP uses two specialized generators. The Personal Context Generator (PCG) captures time-invariant traits like preferred speed. The Interaction Context Generator (ICG) produces time-specific vectors that guide the model's reaction to dynamic social and environmental factors at specific future timestamps.
- Latent Variable Generator: This module learns a distribution ($\mu, \sigma$) to sample latent variables $z$, enabling the model to generate multiple plausible future paths (multimodality).
- Non-Autoregressive Decoder (NAD): A simple Multi-Layer Perceptron (MLP) that maps the combined context and latent variables directly to the full set of future coordinates.
Experimental Evaluation
The model was rigorously tested on the ETH and UCY datasets, which are standard benchmarks for pedestrian motion. These datasets encompass diverse real-world scenarios, including the ETH, HOTEL, UNIV, ZARA1, and ZARA2 scenes.
Results and Discussion
NAP demonstrates state-of-the-art performance, achieving an Average Displacement Error (ADE) of 0.39m and a Final Displacement Error (FDE) of 0.80m in multimodal settings.
Key findings include:
- Robustness to Horizon: As the prediction window extends (e.g., from 3.2s to 4.8s), NAP's error growth is significantly lower than autoregressive counterparts. While models like Social-LSTM see errors jump by over 60%, NAP's error increases by only ~25-30%, proving its resilience to compounding errors.
- Computational Efficiency: By utilizing a non-autoregressive decoder, the entire trajectory can be predicted in a single pass, making it highly suitable for real-time applications where low latency is paramount.
- Contextual Awareness: The separation of time-agnostic and time-specific context allows the model to maintain temporal consistency without the need for recursive updates.
Conclusion
NAP represents a significant shift in trajectory forecasting by proving that non-autoregressive models can match or exceed the accuracy of sequential models while offering superior speed and robustness. Future work will focus on testing the framework in more cluttered environments where scene constraints play a larger role and optimizing it for on-board deployment in robotics.
Summary updated