TL;DR
Stochastic trajectory prediction models can generate many possible future paths, but they struggle to identify the most accurate ones. This paper introduces TPAD, a novel method that uses an automatically designed anomaly detection model to evaluate and select the best trajectory predictions, significantly improving their practical utility.
What Problem Does This Paper Address?
Predicting the future movement of pedestrians (trajectory prediction, TP) is crucial for applications like autonomous driving and surveillance. While recent "stochastic" TP models can generate diverse future trajectories, offering more realistic possibilities than deterministic models, they also produce a range of prediction qualities. The core problem is that these stochastic models lack a self-evaluation mechanism. They can't reliably distinguish between good and bad predictions, leading to inconsistent performance in real-world scenarios where only the best prediction is desired. This paper aims to bridge this gap by providing a way to filter and select high-quality predictions from a stochastic model's output.
Methods
The paper proposes TPAD (Trajectory Prediction Anomaly Detection), a two-pronged approach:
- Automated Design of a Trajectory Anomaly Detection (AD) Model: TPAD leverages Automated Machine Learning (AutoML) and combines expertise from both AD and TP fields. It defines a comprehensive search space for AD model architectures, loss functions, and anomaly scoring functions. An RL-based controller is then used to efficiently search this space and discover an optimal trajectory AD model (F*). This AD model is trained to identify "normal" (good) trajectory predictions and flag "anomalous" (poor) ones.
- Guidance for Stochastic TP Models: The learned optimal AD model (F*) is then used to score the multiple trajectory predictions generated by a stochastic TP model. By assigning an anomaly score to each predicted trajectory for each pedestrian, TPAD can rank and select the top-performing predictions, effectively filtering out low-quality outputs. The AD model focuses on the rationality of individual pedestrian trajectories, rather than just the overall scene.
Datasets
The experiments were conducted on two public pedestrian trajectory datasets:
- ETH: Consisting of ETH and HOTEL scenes.
- UCY: Consisting of UNIV, ZARA1, and ZARA2 scenes.
These datasets provide pedestrian positions in world coordinates and are used for both training the AD model and evaluating the TP models.
Key Insights and Ideas
- Bridging AD and TP: The core innovation is applying anomaly detection techniques, traditionally used for images/videos, to the problem of evaluating trajectory predictions. This is a novel application that addresses a critical limitation of stochastic TP models.
- AutoML for Specialized AD: Instead of manually designing an AD model for trajectories, TPAD uses AutoML to automatically discover an effective architecture and training strategy, demonstrating the power of automated methods for domain-specific problems.
- Self-Evaluation for Stochastic Models: The ability of TPAD to provide a "self-evaluation" mechanism for stochastic TP models is crucial. It allows these models to leverage their diverse outputs without being penalized by the inclusion of poor predictions.
- Focus on Individual Rationality: The AD model is designed to assess the anomaly score for each pedestrian's trajectory prediction, allowing for fine-grained selection and assembly of high-quality predictions.
Key Results
- Superior AD Model Performance: The trajectory AD models automatically searched by TPAD achieved significantly higher AUC scores compared to manually designed AD models and those found through random search. For example, on the ZARA2 dataset, TPAD achieved an AUC of 0.731, while random search reached 0.737, and manually designed models were much lower (e.g., SGCN+RSRAE at 0.530).
- Improved TP Model Performance: When TPAD was used to filter predictions from stochastic TP models (like STGAT and SGCN), the "Best" and "Average" ADE/FDE scores improved considerably. For instance, for STGAT on the HOTEL dataset, the "Best" ADE/FDE without TPAD was 0.59/0.93, while with TPAD (Top-10), it improved to 0.77/1.35. This indicates that TPAD successfully identifies better predictions.
- Efficiency of RL-based Search: The RL-based search strategy in TPAD was more efficient than random search, finding better trajectory AD models faster.
Limitations and Future Work
- Limitations: The paper acknowledges that while TPAD can effectively avoid most "worse" trajectory predictions, it might sometimes assign high anomaly scores to some high-quality predictions. This suggests potential for minor errors in the filtering process.
- Future Work: The authors suggest exploring or designing more appropriate AD techniques specifically for the TP domain to further enhance the effectiveness of TP evaluation methods. They also aim to increase the practical effect of stochastic TP models.
Summary updated