TL;DR
This paper introduces Controllable Trajectory Diffusion (CTD), a novel method for predicting human trajectories that can adhere to "unstructured" constraints (like social norms or preferences) which are difficult to formally define. CTD achieves this by using a scoring model to quantify constraint adherence and then conditioning a diffusion model on this score, enabling flexible control over predicted trajectories.
What Problem Does This Paper Address?
Predicting the future movement of individuals is crucial for applications like autonomous driving and robotics. While predicting uncertainty in trajectories is well-studied, explicitly incorporating constraints into this prediction is less explored. Existing methods often rely on "structured" constraints that can be easily formulated as differentiable functions within an optimization objective. However, many real-world constraints are "unstructured" – they might be based on social norms, subjective preferences, or context that's hard to quantify mathematically. This makes it challenging to enforce them directly in trajectory prediction models. The paper aims to bridge this gap by developing a method that can handle these unstructured constraints effectively.
Methods
The core of CTD is a two-stage approach:
- Scoring Model: This module takes a historical trajectory and a potential future trajectory, along with a description of a constraint (e.g., "slow down," "turn right"), and outputs a scalar score between 0 and 1. This score represents how well the trajectory pair satisfies the given constraint. To train this scoring model, the authors use a Bradley-Terry-Luce (BTL) model. They generate pairs of plausible future trajectories for a given history and have annotators (human or automated) label which trajectory better adheres to the constraint. This pairwise comparison data is used to train the BTL model to output scores reflecting constraint conformity. An entropy regularization term is added to encourage a more uniform distribution of scores.
- Conditional Diffusion Model: This is a standard diffusion model for generative tasks, but with a twist: it's conditioned on both the encoded historical trajectory features and the score generated by the scoring model. During inference, a desired constraint score (˜c) is provided, and the diffusion model iteratively denoises a random noise vector to generate a future trajectory that aligns with both the historical context and the specified constraint score. The authors highlight that the diffusion model's step size (T) influences the stochasticity of the predictions.
Datasets
The paper evaluates CTD on two widely-used public datasets for trajectory prediction:
- Stanford Drone Dataset (SDD): A large-scale collection of aerial videos showing diverse agents in complex outdoor environments.
- ETH/UCY: This dataset comprises five scenes (eth, hotel, zara1, zara2, univ) capturing pedestrian movement in various environments.
The authors also created a "scoring dataset" by using a pre-trained trajectory prediction model to generate trajectory pairs and then having annotators label them based on specific constraints.
Key Insights and Ideas
- Quantifying Unstructured Constraints: The most significant insight is the idea of quantifying unstructured constraints as a scalar "degree of conformity." This allows these otherwise abstract concepts to be used as conditions for generative models.
- Scoring Model as a Constraint Encoder: The BTL model, trained on pairwise comparisons, proves effective at learning nuanced preferences and translating them into a quantifiable score, even for subjective constraints.
- Diffusion Models for Controllable Generation: Leveraging diffusion models for trajectory prediction is not entirely new, but conditioning them on a learned constraint score is a novel way to achieve fine-grained control over the generated trajectories.
- Flexibility and Combinatorial Constraints: CTD's architecture naturally supports combining multiple constraints by concatenating their scores, opening doors for more complex and realistic scenario generation.
Key Results
- High Prediction Accuracy: Despite not being the primary focus, CTD variants (CTD-R for "turn right" and CTD-S for "slow down") achieved state-of-the-art or near state-of-the-art performance in terms of Minimum Average Displacement Error (minADE) and Minimum Final Displacement Error (minFDE) on both ETH/UCY and SDD datasets. The authors attribute this to the fact that when the sampled constraint score ˜c perfectly matches the true conformity score, it effectively becomes goal-conditioned prediction, which is known to be accurate.
- Effective Constraint Adherence: Qualitative results (Figures 3 and 4) demonstrate that CTD can generate trajectories that semantically align with specified constraints. For example, increasing the "turn right" score biases trajectories to turn right, and increasing the "slow down" score reduces speed.
- Combinatorial Constraint Satisfaction: Figure 4 visually shows that CTD can handle and combine multiple constraints simultaneously (e.g., "turn left" and "slow down"), with each constraint being adjustable independently.
Limitations and Future Work
- Scoring Distribution: The paper notes that for the "slow down" constraint, the learned scoring distribution was concentrated in a lower range [0, 0.4], likely due to the limited size of the scoring dataset. This suggests a trade-off between the efficiency of data collection and the uniformity of the learned score distribution.
- Data Requirements: Training the scoring model requires labeled pairwise comparisons, which can be labor-intensive, although the authors mention that less than 1% of the training data was labeled for their experiments.
- Future Work: The authors suggest that CTD's framework is compatible with structured constraints and could be extended to handle more complex scenarios. The success in combining constraints also points towards potential applications in areas like reinforcement learning.
Summary updated