Introduction
Predicting human movement is a cornerstone of autonomous navigation and human-robot interaction. While the field has recently trended toward complex models incorporating social pooling and environmental context, this research provides a critical "ablation study" to evaluate the core sequence modeling architectures. By stripping away external modules, the authors isolate the performance of LSTMs, Transformers (TF), and Bidirectional Transformers (BERT) on individual motion patterns.
Methodology: Architectures and Formulations
The study systematically evaluates three dimensions of trajectory forecasting: architecture, problem formulation, and input representation.
Core Architectures
The researchers compared the classic LSTM against the Transformer (Auto-regressive) and BERT (Bidirectional). They also introduced BERT-OS (One-Shot), designed to predict an entire future path in a single pass.
Problem Formulations
Beyond architecture, the study examined how the prediction problem is framed:
- Regression: Directly predicting $(x, y)$ coordinates.
- Unimodal Gaussian: Estimating the mean and variance of future positions.
- Quantized Multinomial: Treating movement as a classification task by clustering potential moves into 1,000 discrete "bins."
Key Insights
- The Attention Advantage: Transformers outperform LSTMs primarily due to their attention mechanism. While LSTMs compress history into a single hidden state bottleneck, Transformers maintain access to the entire observed sequence, preventing information loss over time.
- Classification vs. Regression: Surprisingly, the Quantized Multinomial approach yielded the best results. By treating the next step as a classification problem, the model can better represent multi-modal futures (e.g., a pedestrian choosing between two distinct paths) that regression models often average out.
- BERT as a Path Denoiser: When provided with a target endpoint, BERT-OS acts as a denoiser, generating physically plausible trajectories that respect human motion dynamics rather than simple linear paths.
Results and Performance
Evaluated on the ETH+UCY benchmark, Transformers and BERT consistently outperformed LSTMs, reducing error metrics by approximately 25%. The top-performing configuration—a Transformer using the Quantized Multinomial formulation—achieved a Mean Average Displacement (MAD) of 0.53m. Furthermore, Transformers demonstrated superior stability over long-term horizons (up to 32 frames) compared to the rapid degradation seen in LSTM performance.
Conclusion and Future Work
This study demonstrates that the underlying sequence architecture is a primary driver of forecasting accuracy. Transformers, particularly when paired with quantized classification, provide a more robust foundation for modeling human intent and physics than traditional recurrent networks. Future research will focus on integrating these high-performance temporal models into broader frameworks that account for social interactions and complex scene geometry.
Summary updated