Disentangled Neural Relational Inference for Interpretable Motion Prediction

Victoria Magdalena Dax, Jiachen Li, Enna Sachdeva, Nakul Agarwal, Mykel J. KochenderferIEEE RA-L 2024 · DOI

TL;DR

This paper introduces a novel variational auto-encoder (VAE) framework called dG-VAE that enhances the interpretability and out-of-distribution (OOD) generalization of multi-agent motion prediction. By incorporating interpretable edge features into a graph-based latent space and employing disentanglement techniques, dG-VAE can better understand and predict complex agent interactions, leading to more robust and trustworthy predictions for safety-critical applications.

What Problem Does This Paper Address?

Predicting the future movements of multiple interacting agents, such as pedestrians or vehicles, is a crucial task for autonomous systems. While existing methods have improved prediction accuracy, they often lack interpretability, making it difficult to understand why a particular prediction is made. Furthermore, these models struggle to generalize to unseen scenarios (out-of-distribution or OOD), which is a significant limitation for real-world deployment. This paper tackles these challenges by aiming to create motion prediction models that are not only accurate but also transparent and robust to novel situations.

Methods

The core of the proposed solution is a Disentangled Graph Variational Auto-Encoder (dG-VAE). This framework builds upon existing neural relational inference (NRI) and dynamic neural relational inference (dNRI) approaches, which use graph neural networks (GNNs) within a VAE to infer latent interaction graphs between agents.

The key innovations are:

  • Interpretable Edge Features: Instead of just inferring categorical relationships (e.g., "connected" or "not connected"), dG-VAE learns rich, interpretable edge features that characterize the nature of interactions (e.g., the "elasticity" of a spring-like interaction). This adds expressivity to the model.
  • Disentanglement Techniques: To further enhance interpretability and OOD generalization, the paper introduces two disentanglement strategies for the learned edge features:
  • Restricted Labeling (Supervised): Uses ground truth information (like spring constants in a simulation) to guide the learning of specific, interpretable latent features.
  • Pair Matching (Unsupervised): Identifies time-invariant latent characteristics by comparing pairs of data points, allowing for unsupervised discovery of consistent interaction patterns.
  • VAE Framework: The VAE structure allows for probabilistic inference, enabling the model to capture uncertainty in predictions and generate diverse future trajectories. The encoder maps observations to a latent graph representation, and the decoder reconstructs future trajectories from this latent space.
  • Forward and Backward RNNs: The encoder uses both forward and backward RNNs to generate a prior and a posterior for the latent graph, allowing the model to leverage future information during training for better posterior estimation.

Datasets

The paper evaluates dG-VAE on four datasets:

  • NBA: A dataset of basketball player and ball trajectories.
  • k-Spring: A simulated dataset of interacting particles connected by springs, used to test OOD generalization with varying spring constants.
  • Motion Capture: Real-world human motion capture data, including sequences for walking and walking on uneven ground (used as OOD).
  • inD: A dataset of vehicle trajectories from drone recordings at intersections, used for evaluating OOD generalization on a similar dataset (roundabouts).

Key Insights and Ideas

  • Beyond Categorical Interactions: The move from inferring simple edge existence to learning rich edge features is crucial for capturing nuanced interactions, leading to better prediction accuracy.
  • Disentanglement for Robustness: By disentangling latent features into time-invariant (static) and temporal components, the model becomes more robust to variations and better at generalizing to unseen scenarios.
  • Interpretability as a Feature, Not an Add-on: The paper demonstrates that interpretability can be directly learned and integrated into the prediction model, rather than being an afterthought. This is vital for trust and debugging in safety-critical systems.
  • Small Graphs Benefit Most: While the method shows improvements across the board, the performance gains are particularly significant on smaller graphs (e.g., 5-node spring dataset), suggesting its strength in modeling complex interactions within constrained systems.

Key Results

  • Improved Prediction Accuracy: dG-VAE consistently outperforms baseline methods like LSTM, IMMA, and dNRI across various metrics (minADE, minFDE, RMSE) on all tested datasets. For instance, on the NBA dataset, dG-VAE shows a ~25% improvement over dNRI when using edge features and ~45% when features are disentangled.
  • Enhanced OOD Generalization: The model demonstrates improved performance on OOD data, particularly in the k-Spring dataset where it achieves significantly lower errors when tested with unseen spring constants.
  • Accurate Graph Inference: On the k-Spring dataset, dG-VAE achieves near-perfect graph accuracy (0.984 with restricted labeling) compared to dNRI (0.877), indicating a better understanding of which particles are truly interacting.
  • Interpretable Feature Discovery: The paper shows examples of learned edge features that correlate with meaningful physical properties (e.g., weight shifting in human motion, distinguishing between moving and stationary vehicles).

Limitations and Future Work

The authors acknowledge several limitations:

  • Data Dependency: The model generally requires large amounts of high-fidelity data for effective learning of latent relations.
  • Generalization Assumptions: The model assumes that underlying dynamics (like traffic rules) remain consistent for generalization.
  • Interpretability Post-processing: While designed for interpretability, additional post-processing might be needed to make the learned inferences fully human-understandable.

Future work could explore more advanced disentanglement techniques and investigate how to further improve interpretability for complex, real-world scenarios. The authors also plan to explore the semantic meaning of the disentangled embeddings more deeply.

Summary updated

BibTeX
@article{dax2024disentangled,
  author = {Victoria Magdalena Dax and Jiachen Li and Enna Sachdeva and Nakul Agarwal and Mykel J. Kochenderfer},
  title = {{Disentangled Neural Relational Inference for Interpretable Motion Prediction}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2024},
  doi = {10.1109/lra.2023.3342554},
}
Figure