TPAD: Identifying Effective Trajectory Predictions Under the Guidance of Trajectory Anomaly Detection Model

Chunnan Wang, Chen Liang, Xiang Chen, Hongzhi WangarXiv 2022

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:

  1. 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.
  2. 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

Abstract

Trajectory Prediction (TP) is an important research topic in computer vision and robotics fields. Recently, many stochastic TP models have been proposed to deal with this problem and have achieved better performance than the traditional models with deterministic trajectory outputs. However, these stochastic models can generate a number of future trajectories with different qualities. They are lack of self-evaluation ability, that is, to examine the rationality of their prediction results, thus failing to guide users to identify high-quality ones from their candidate results. This hinders them from playing their best in real applications. In this paper, we make up for this defect and propose TPAD, a novel TP evaluation method based on the trajectory Anomaly Detection (AD) technique. In TPAD, we firstly combine the Automated Machine Learning (AutoML) technique and the experience in the AD and TP field to automatically design an effective trajectory AD model. Then, we utilize the learned trajectory AD model to examine the rationality of the predicted trajectories, and screen out good TP results for users. Extensive experimental results demonstrate that TPAD can effectively identify near-optimal prediction results, improving stochastic TP models' practical application effect.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ETH/UCY · Trajectory anomaly detection; average across ETH, HOTEL,TPAD (RL-based AutoML search)AUC0.786+0.05 vs baselinesubset=ETH, HOTEL, ZARA1, ZARA2, UNIV
Source quote
L429: TPAD │ 0.792 │ 0.752 │ 0.816 │ 0.731 │ 0.840 │ 0.786
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
ETH/UCY · Trajectory anomaly detection; average across ETH, HOTEL,Random Search baselineAUC0.737subset=ETH, HOTEL, ZARA1, ZARA2, UNIV
Source quote
L428: Random Search │ 0.635 │ 0.760 │ 0.777 │ 0.802 │ 0.712 │ 0.737
ETH/UCY · five-scene AverageSTGAT baselineADE0.81subset=five-scene average · observed-frames=8 · predicted-frames=12
Source quote
L475: Average │ 1.24 / 2.63 │ 0.70 / 1.49 │ 0.73 / 1.62 │ 0.58 / 1.32 │ 0.82 / 1.80 │ 0.81 / 1.77
ETH/UCY · five-scene AverageSTGAT baselineFDE1.77subset=five-scene average · observed-frames=8 · predicted-frames=12
Source quote
L475: Average │ 1.24 / 2.63 │ 0.70 / 1.49 │ 0.73 / 1.62 │ 0.58 / 1.32 │ 0.82 / 1.80 │ 0.81 / 1.77
BibTeX
@misc{wang2022tpad,
  author = {Chunnan Wang and Chen Liang and Xiang Chen and Hongzhi Wang},
  title = {{TPAD: Identifying Effective Trajectory Predictions Under the Guidance of Trajectory Anomaly Detection Model}},
  year = {2022},
  eprint = {2201.02941},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.02941},
}
Figure