TrACT: A Training Dynamics Aware Contrastive Learning Framework for Long-tail Trajectory Prediction
Junrui Zhang, Mozhgan Pourkeshavarz, Amir Rasouli
TL;DR
TrACT tackles the long-tail problem in autonomous driving trajectory prediction by leveraging training dynamics and rich contextual features. It constructs a dataset map from per-sample training errors and variances, clusters samples into four difficulty-based groups, and derives cluster prototypes to drive a prototypical contrastive learning stage. The method achieves state-of-the-art results on nuScenes and ETH-UCY, with notable gains in both accuracy metrics (ADE/FDE) on challenging tails and improvements in scene compliance (HOR/SOR). The approach also demonstrates that a dataset-map-based strategy can reduce training bias without sacrificing performance on the head of the distribution, offering practical benefits for safety-critical deployment.
Abstract
As a safety critical task, autonomous driving requires accurate predictions of road users' future trajectories for safe motion planning, particularly under challenging conditions. Yet, many recent deep learning methods suffer from a degraded performance on the challenging scenarios, mainly because these scenarios appear less frequently in the training data. To address such a long-tail issue, existing methods force challenging scenarios closer together in the feature space during training to trigger information sharing among them for more robust learning. These methods, however, primarily rely on the motion patterns to characterize scenarios, omitting more informative contextual information, such as interactions and scene layout. We argue that exploiting such information not only improves prediction accuracy but also scene compliance of the generated trajectories. In this paper, we propose to incorporate richer training dynamics information into a prototypical contrastive learning framework. More specifically, we propose a two-stage process. First, we generate rich contextual features using a baseline encoder-decoder framework. These features are split into clusters based on the model's output errors, using the training dynamics information, and a prototype is computed within each cluster. Second, we retrain the model using the prototypes in a contrastive learning framework. We conduct empirical evaluations of our approach using two large-scale naturalistic datasets and show that our method achieves state-of-the-art performance by improving accuracy and scene compliance on the long-tail samples. Furthermore, we perform experiments on a subset of the clusters to highlight the additional benefit of our approach in reducing training bias.
