GAMMA: A General Agent Motion Prediction Model for Autonomous Driving

Yuanfu Luo, Panpan Cai

Abstract

GAMMA (General Agent Motion Model) is a high-performance, training-free motion prediction model designed for dense, unregulated urban environments. By treating traffic interaction as a constrained optimization problem in velocity space, GAMMA integrates physical constraints—kinematics and geometry—with real-time Bayesian inference of hidden human behavioral states. Evaluation on both homogeneous and heterogeneous datasets demonstrates that GAMMA outperforms state-of-the-art deep learning models in accuracy while maintaining sub-millisecond computational efficiency, making it suitable for real-time autonomous vehicle planning.

Introduction

Predicting the movement of pedestrians, cyclists, and drivers in dense, unregulated urban environments, such as unsignalized intersections, remains a significant challenge for autonomous driving. Existing solutions typically fall into two categories: analytical models and data-driven models. Analytical models, based on physics or hand-coded rules, are computationally efficient but often fail to capture complex human interactions. Conversely, data-driven models (e.g., LSTMs, GNNs) are powerful but require vast amounts of trajectory data and are often too computationally expensive for real-time "what-if" planning.

The authors propose GAMMA to bridge this gap, providing a model that is heterogeneous (handling various agent types), interactive (accounting for mutual reactions), and computationally efficient for real-time deployment.

Methodology

GAMMA reformulates motion prediction as a constrained optimization problem. Instead of predicting a full trajectory directly, it calculates the optimal velocity for an agent at each discrete time step.

The Triple Constraint

The model defines a "feasible velocity set" by intersecting three primary constraints:

  1. Kinematic Constraints ($K$): These define the physical limits of an agent (e.g., a car's non-holonomic constraints vs. a pedestrian's ability to turn instantly).
  2. Geometric Constraints ($G$): To ensure collision avoidance, GAMMA utilizes polygonal representations for agents—providing a tighter fit than standard circular models—and extends Optimal Reciprocal Collision Avoidance (ORCA) for collaborative interaction.
  3. Contextual Constraints ($C$): These incorporate environmental rules, such as lane boundaries and traffic flow directions.
Visualization of the GAMMA optimization process: (a) kinematic constraints, (b) geometric collision avoidance via velocity obstacles, and (c) the resulting feasible velocity set.

Bayesian Inference of Behavioral States

Beyond physical constraints, GAMMA models hidden internal human states: Intention (goal), Attention (distraction level), and Responsibility ($\gamma$, the willingness to yield). These states are inferred in real-time using a Bayesian histogram filter, which maintains and updates a probability distribution over behavioral states based on observed trajectories.

Evaluation and Results

The model was evaluated on both homogeneous datasets (ETH and UCY) and complex heterogeneous datasets (UTOWN and CROSS). The CROSS dataset is particularly challenging, featuring a highly complex, unsignalized intersection in China with a mix of cars, vans, buses, and various cycles.

GAMMA achieved lower Average Displacement Error (ADE) and Final Displacement Error (FDE) than state-of-the-art models like SGAN and Sophie. Notably, it is approximately 8x faster than SGAN, requiring only 0.39ms per agent.

Qualitative comparison of motion prediction: GAMMA's trajectory closely follows the ground truth compared to SGAN and PORCA in a dense intersection.

Key Insights

  • Polygonal Modeling: Using polygons instead of discs is crucial for dense traffic, where precise geometry significantly impacts behavior prediction.
  • Analytical Robustness: Explicitly modeling physics and interaction logic can outperform data-driven models that struggle with noisy or out-of-distribution data.
  • Efficiency as a Capability: GAMMA's speed allows for integration into complex planners (like POMDPs), enabling thousands of simulations per second to manage uncertainty.

Conclusion

While highly effective, GAMMA currently assumes behavioral states remain constant over short horizons and treats agent behaviors as independent. Future work aims to incorporate joint inference and deeper integration with complex road network maps to handle more diverse driving maneuvers. Despite these limitations, GAMMA provides a robust, real-time framework for safe autonomous navigation in mixed-traffic environments.

Summary updated

BibTeX
@article{luo2022gamma,
  author = {Yuanfu Luo and Panpan Cai},
  title = {{GAMMA: A General Agent Motion Prediction Model for Autonomous Driving}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2022},
  doi = {10.1109/lra.2022.3144501},
}
Figure