Geometric Trajectory Diffusion Models

Jiaqi Han, Minkai Xu, Aaron Lou, Haotian Ye, Stefano Ermon

Abstract

Modeling the temporal distribution of 3D geometric trajectories is a critical challenge in scientific domains such as drug discovery and physical simulation. We present Geometric Trajectory Diffusion Models (GeoTDM), a framework that treats entire trajectories as single high-dimensional samples within a diffusion process. By combining SE(3)-equivariant spatial convolutions with temporal attention and a learnable geometric prior, GeoTDM generates high-fidelity, physically consistent dynamics. Our evaluations across molecular dynamics, particle systems, and pedestrian forecasting demonstrate that GeoTDM significantly outperforms state-of-the-art autoregressive and generative models.

Introduction

While generative modeling has seen immense success in producing static 3D structures, capturing the dynamic evolution of these structures—their trajectories—remains a significant hurdle. Traditional approaches often rely on frame-to-frame autoregressive prediction. However, these models frequently suffer from "exposure bias," where minor errors at early time steps compound, leading to unrealistic "drifting" trajectories over long horizons.

Furthermore, modeling 3D physical systems requires respecting fundamental symmetries. A trajectory's underlying physics should remain invariant under global rotations and translations (SE(3) invariance). Capturing these spatial symmetries while maintaining temporal coherence across frames is a complex technical requirement that most existing models fail to address comprehensively.

Methodology

GeoTDM addresses these challenges by applying the diffusion process to the joint distribution of all frames in a trajectory simultaneously.

Equivariant Geometric Trajectory Network (EGTN)

The core of GeoTDM is the EGTN, which serves as the denoising network. It employs an architecture that alternates between spatial and temporal processing:

  • Spatial Layers: Utilize Equivariant Graph Convolutional Layers to model the interactions between particles or atoms within a single frame.
  • Temporal Layers: Use self-attention mechanisms to capture long-range dependencies across the entire time sequence.
Overview of the GeoTDM diffusion process and the EGTN architecture.

Equivariant Temporal Kernels and Priors

To ensure physical consistency, the authors prove that using equivariant transition kernels in the diffusion process results in an invariant distribution. Additionally, GeoTDM introduces a learnable equivariant prior. Unlike fixed "Center of Mass" priors used in conditional tasks (like pedestrian forecasting), this learnable prior dynamically updates based on input conditions, providing greater flexibility and expressiveness.

Experiments and Results

GeoTDM was evaluated on three diverse benchmarks: N-body simulations (synthetic physics), MD17 (molecular dynamics), and ETH-UCY (pedestrian forecasting).

Molecular Dynamics (MD17)

On the MD17 dataset, which includes trajectories for molecules like Aspirin and Benzene, GeoTDM achieved substantial improvements over previous state-of-the-art models such as EqMotion. Specifically, it showed a 23.1% improvement in Average Discrepancy Error (ADE) and a 15.3% improvement in Final Discrepancy Error (FDE).

Performance comparison on the MD17 molecular dynamics dataset. GeoTDM consistently achieves the lowest ADE and FDE across various molecules.

Physical Simulation and Pedestrian Forecasting

In N-body simulations, GeoTDM consistently produced the lowest error rates, particularly in gravity-governed systems where long-term dependencies are vital. Remarkably, GeoTDM also outperformed specialized pedestrian models on the ETH-UCY dataset. This suggests that geometric equivariance is a powerful inductive bias even for non-molecular, real-world trajectory data.

Discussion and Conclusion

GeoTDM represents a significant step forward in modeling 3D dynamics by avoiding the pitfalls of autoregressive error accumulation and strictly adhering to physical symmetries. By modeling the joint distribution of trajectories, it achieves superior fidelity and consistency.

The primary limitation of the current framework is sampling speed. As an iterative diffusion model, GeoTDM requires multiple denoising steps, making it significantly slower than one-shot models like VAEs. Future work will focus on integrating fast sampling techniques (e.g., DDIM or consistency models) and scaling the architecture to handle more complex systems like protein dynamics and robotic manipulation.

Summary updated

BibTeX
@inproceedings{han2024geometric,
  author = {Jiaqi Han and Minkai Xu and Aaron Lou and Haotian Ye and Stefano Ermon},
  title = {{Geometric Trajectory Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=OYmms5Mv9H},
}
Figure