EqMotion: Equivariant Multi-agent Motion Prediction with Invariant Interaction Reasoning

Chenxin Xu, Robby T. Tan, Yuhong Tan, Siheng Chen, Yu Guang Wang, Xinchao Wang, Yanfeng Wang

Introduction

Predicting the future trajectories of multiple interacting agents—whether they are atoms in a molecule, joints in a human skeleton, or pedestrians on a city street—is a fundamental challenge in fields ranging from molecular biology to autonomous driving. While deep learning has significantly advanced motion prediction, many existing models treat spatial coordinates as abstract feature vectors, often ignoring the underlying geometric symmetries of the physical world.

This paper introduces EqMotion, a novel framework designed to enforce two fundamental physical principles: motion equivariance and interaction invariance. By hard-coding these geometric priors into the neural architecture, EqMotion ensures that if an input scene is rotated or translated, the resulting prediction is transformed identically. This approach not only aligns with the laws of physics but also significantly improves data efficiency and model robustness.

Methodology

EqMotion employs a specialized architecture to maintain geometric consistency through three primary modules:

1. Equivariant Geometric Feature Learning (EGFL)

The EGFL module is responsible for processing coordinate-based data. Traditional non-linear activation functions, such as ReLU, break equivariance because they operate on individual components of a vector independently. To solve this, the authors developed a novel equivariant non-linear function that "clips" coordinate vectors based on an invariant dot product. This allows the network to maintain high expressivity while strictly adhering to Euclidean symmetry constraints.

2. Invariant Pattern Feature Learning (IPFL)

While coordinates change under rotation, certain physical properties remain constant. The IPFL module extracts these "identity" features—such as velocity magnitude or the angles between consecutive velocity vectors. These invariant features provide a stable context that complements the geometric features handled by the EGFL.

3. Invariant Interaction Reasoning Module (IRM)

Interaction reasoning involves inferring the underlying relationships between agents (e.g., identifying a chemical bond between atoms or a social attraction between pedestrians). The IRM utilizes only invariant distance and pattern features to construct an interaction graph. Because the input features are invariant, the inferred interaction types remain stable regardless of the observer's perspective or the coordinate system used.

The framework concludes with an Equivariant Output Layer, which maps the high-dimensional geometric features back into 2D or 3D coordinate space for the final trajectory prediction.

Experimental Evaluation

The authors evaluated EqMotion across four diverse domains to demonstrate its generalizability:

  1. Particle Dynamics: 3D N-body simulations involving springs and charged particles.
  2. Molecule Dynamics (MD17): Predicting atomic motion in complex molecules like Aspirin and Ethanol.
  3. Human Skeleton Motion (H3.6M): Modeling 3D joint positions for complex human activities.
  4. Pedestrian Trajectories (ETH-UCY): Predicting 2D social paths in crowded environments.

Key Insights and Results

State-of-the-Art Accuracy

EqMotion achieved significant performance gains over existing benchmarks, reducing prediction errors by 24.0% in particle simulations, 30.1% in molecular dynamics, 8.6% in human motion, and 9.2% in pedestrian tracking. Qualitative analysis of the Human 3.6M dataset showed that EqMotion produces more physically plausible and anatomically correct motions over long horizons compared to baseline models, which often suffer from "drift."

Extreme Data Efficiency

One of the most compelling advantages of the equivariant approach is data efficiency. By restricting the model's search space to physically valid transformations, EqMotion can achieve competitive results with a fraction of the data. Remarkably, EqMotion trained on just 5% of the available data outperformed several baseline models trained on the full dataset.

Lightweight and Scalable

Because the model relies on principled geometric constraints rather than brute-force pattern matching, it requires significantly fewer parameters. EqMotion is often less than 30% the size of competing state-of-the-art architectures like DMGNN or MSRGCN, making it highly suitable for real-time applications.

Conclusion and Future Work

EqMotion demonstrates that integrating physical symmetries as inductive biases leads to more robust, efficient, and accurate motion prediction models. While the current framework excels at agent-to-agent interactions, future work could extend the model to incorporate static environmental constraints—such as road maps in autonomous driving—and multi-modal inputs like video or LiDAR data, while preserving its core equivariant properties.

Summary updated

BibTeX
@inproceedings{xu2023eqmotion,
  author = {Chenxin Xu and Robby T. Tan and Yuhong Tan and Siheng Chen and Yu Guang Wang and Xinchao Wang and Yanfeng Wang},
  title = {{EqMotion: Equivariant Multi-agent Motion Prediction with Invariant Interaction Reasoning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure