Data-Driven Trajectory Prediction via Probabilistic Modes and Constrained Optimization

Danyang Li, Ana Theodora Balaci, Matthew Cleaveland, Roberto TronarXiv 2026

Imagine you’re driving through a busy intersection. You see a car approaching from the left. Will they turn? Will they go straight? Will they slam on their brakes? As a human, you instinctively weigh these different "modes" of behavior. For an autonomous vehicle, doing this reliably is a massive computational headache.

A new paper titled "Data-Driven Trajectory Prediction via Probabilistic Modes and Constrained Optimization" introduces a framework called ProMo-CoOp that aims to give self-driving cars a more human-like—yet mathematically rigorous—way to handle this uncertainty.

TL;DR

ProMo-CoOp predicts multiple possible futures for surrounding vehicles by first clustering past driving data into distinct "behavioral modes" (like turning or accelerating) and then using convex optimization to "stitch" these modes onto a vehicle's current path. It ensures that predicted trajectories aren't just statistically likely, but also physically realistic and explainable to human operators.

What Problem Does This Paper Address?

Predicting where a car will go next is hard because you can't read the driver's mind. Researchers call this Multimodal Trajectory Prediction (MTP). To be useful for a self-driving car, a prediction system needs to hit three targets:

  1. Coverage: It shouldn't miss any plausible outcomes (like a sudden U-turn).
  2. Feasibility: It shouldn't predict paths that defy physics or social norms (like driving through a building or sideways).
  3. Explainability: We should understand why the system thinks a car might turn left.

Most current methods fail at least one of these. Purely "generative" AI models (like GANs) are great at coverage but often hallucinate physically impossible paths. Rule-based systems are feasible and explainable but too rigid to capture the messy diversity of real-world driving. ProMo-CoOp tries to bridge this gap.

Methods

The authors propose a two-stage "design time" and "prediction time" framework:

1. Design Time (Learning the Patterns): The system looks at a massive dataset of past trajectories. It uses k-means clustering to group similar driving patterns into "anchors" (e.g., "gentle right turn," "hard brake"). It then fits a Gaussian Mixture Model (GMM) to these clusters. This gives the system a probabilistic map of how likely any given snippet of driving belongs to a specific behavioral mode.

2. Prediction Time (Generating the Path): When the car is actually on the road, it takes the observed history of a nearby agent and solves a convex optimization problem for each behavioral mode.

  • The "Convex Hull" Trick: Instead of letting the AI "invent" a path, the optimization forces the prediction to be a weighted combination of real trajectories from the training set. This ensures the result stays within the "convex hull" of demonstrated human behavior, naturally enforcing feasibility.
  • STL Extension: The authors also integrated Signal Temporal Logic (STL). This allows the system to incorporate human-readable rules—like "the car must eventually stop at the line"—directly into the math. They use a technique called Conditional Flow Matching (CFM) to estimate how likely these rules are to be satisfied.
Fig. 1: ProMo-CoOp overview. At design time, training trajectories are preprocessed, clustered, and fitted with a GMM. At prediction time, the observed prefix is preprocessed and one future per anchor is generated by convex optimization, optionally with additional side information.

Datasets

The researchers evaluated their work using the CARLA Town01 dataset. CARLA is a high-fidelity autonomous driving simulator. The dataset includes over 60,000 training scenes and 7,500 test scenes, where the task is to predict 4 seconds into the future based on a 2-second observation.

Key Insights and Ideas

  • Separation of Concerns: By separating identifying a behavior (clustering) from generating the path (optimization), the model gains explainability without losing the power of big data.
  • Feasibility through Demonstration: The most elegant idea here is using the convex hull of training data. If you only allow the model to "mix and match" real human paths, it’s much harder for the model to suggest something physically impossible.
  • Logic as a Guide: Using STL provides a way to inject "common sense" into the model. If the system knows a car is in a "turn only" lane, STL constraints can bias the optimization toward turning.

Key Results

ProMo-CoOp significantly outperformed several heavy-hitting baselines, including popular models like SocialGAN and DESIRE.

  • Accuracy: In terms of minMSD (Minimum Mean Squared Displacement—a measure of how close the best prediction is to reality), ProMo-CoOp achieved a score of 0.36. For context, the next best model (PRECOG) scored 0.50, meaning ProMo-CoOp improved accuracy by about 28%.
  • Diversity: As seen in Figure 2, the model successfully generates a "fan" of diverse, realistic possibilities at an intersection, covering various turn angles and speeds.
Fig. 2: Example of the K = 12 mode-conditioned trajectory predictions generated by ProMo-CoOp for a single observed trajectory prefix at an intersection. Each colored curve corresponds to one candidate future associated with a different anchor.
Quantitative comparison showing ProMo-CoOp (Ours) outperforming all baselines on the CARLA dataset.

Limitations and Future Work

The authors are transparent about a few hurdles:

  • Data Dependency: The model is only as good as its training data. If it encounters a "black swan" behavior it hasn't seen before, it won't be able to represent it within its learned anchors.
  • Constraint Reliability: While adding STL constraints can improve performance, it only works if the "satisfaction predictor" (the part that guesses if a rule will be followed) is accurate. If the predictor is wrong, the constraints can actually make the prediction worse.
  • Scaling Up: Currently, the experiments focus on a single-agent setting. Real-world driving involves complex "dances" between multiple cars, which the authors plan to tackle in future multi-agent extensions.

Summary updated

Abstract

Predicting the future trajectories of surrounding agents is a fundamental requirement for safe autonomous driving. Since agent intent is inherently uncertain, multimodal prediction is essential to account for the full range of plausible future behaviors. We introduce Probabilistic Modes and Constrained Optimization trajectory prediction (ProMo-CoOp), a two-stage data-driven framework. At design time, trajectories are clustered into behavioral modes and a Gaussian Mixture Model (GMM) provides probabilistic mode assignments. At prediction time, a candidate trajectory is generated for each mode by solving a convex optimization problem that enforces consistency with the observed trajectory and uses the precomputed mode assignments to guide prediction toward the selected behavioral mode. The framework also supports Signal Temporal Logic (STL)-derived behavioral constraints, with predicate satisfaction probabilities estimated using Conditional Flow Matching (CFM). Experiments show that ProMo-CoOp outperforms state-of-the-art baselines, and that STL-based constraints can further improve performance when the predicted predicate satisfactions are reliable.
BibTeX
@misc{li2026data,
  author = {Danyang Li and Ana Theodora Balaci and Matthew Cleaveland and Roberto Tron},
  title = {{Data-Driven Trajectory Prediction via Probabilistic Modes and Constrained Optimization}},
  year = {2026},
  eprint = {2611.28720},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28720},
}
Figure