Abstract
Multi-person motion prediction is a challenging problem due to the dependency of motion on both individual past movements and interactions with other people. Transformer-based methods have shown promising results on this task, but they miss the explicit relation representation between joints, such as skeleton structure and pairwise distance, which is crucial for accurate interaction modeling. In this paper, we propose the Joint-Relation Transformer, which utilizes relation information to enhance interaction modeling and improve future motion prediction. Our relation information contains the relative distance and the intra-/inter-person physical constraints. To fuse relation and joint information, we design a novel joint-relation fusion layer with relation-aware attention to update both features. Additionally, we supervise the relation information by forecasting future distance. Experiments show that our method achieves a 13.4% improvement of 900ms VIM on 3DPW-SoMoF/RC and 17.8%/12.0% improvement of 3s MPJPE on CMU-Mpcap/MuPoTS-3D dataset.
Introduction
Predicting the future trajectories and poses of multiple interacting individuals is a fundamental challenge for autonomous systems, from self-driving cars to social robots. The difficulty lies in the dual nature of human movement: it is governed by internal biomechanical constraints (e.g., bone lengths) and external social dynamics, such as maintaining personal space or reacting to a partner's movement.
While standard Transformer architectures have become a popular choice for sequence modeling, they typically treat each joint as an independent token. This "bag of joints" approach lacks an explicit inductive bias for the human skeleton and the physical distances between people. Consequently, models often produce "unnatural" motions where joints drift apart or ignore the presence of others. The Joint-Relation Transformer (JRTransformer) addresses this by explicitly modeling the physical and spatial relationships between joints.
Methodology
The JRTransformer employs a novel two-stream architecture that processes joint coordinates and their inter-relations in parallel.
Two-Stream Representation
- Joint Stream: This stream encodes the 3D coordinates and temporal velocity of each joint, capturing the momentum and trajectory of individual movements.
- Relation Stream: This stream explicitly models three types of structural and spatial information: relative distance (pairwise Euclidean distances), an adjacency matrix (physical bone connections), and a connectivity matrix (identifying which joints belong to the same person).
Joint-Relation Fusion Layer
The core of the architecture is the Joint-Relation Fusion Layer, which enables bidirectional information exchange between the two streams.
The model utilizes Relation-Aware Attention, where the standard self-attention scores are augmented with a "relation score" derived from the relation stream. This forces the model to prioritize joints that are physically connected or spatially close. Furthermore, the relation features themselves are updated by collecting "messages" from the joints they connect, ensuring the spatial representation evolves with the motion.
Results and Discussion
The JRTransformer was evaluated on several benchmarks, including 3DPW-SoMoF, CMU-Mocap, and MuPoTS-3D, achieving state-of-the-art results across all metrics.
Quantitative Performance
On the 3DPW-SoMoF/RC dataset, the model showed a 13.4% improvement in the Visibility-Ignored Metric (VIM) at a 900ms horizon. On the CMU-Mocap dataset, it achieved a 17.8% improvement in Mean Per Joint Position Error (MPJPE) for long-term (3-second) predictions. These gains highlight the importance of the explicit relation stream and distance supervision during training.
Qualitative Analysis
Visualizations confirm that the JRTransformer produces more "vivid" and physically plausible motions than previous models. While baseline models like MRT often result in static or distorted skeletons over long horizons, the JRTransformer maintains skeletal integrity and realistic interaction patterns.
Conclusion
The Joint-Relation Transformer demonstrates that explicitly modeling skeletal and spatial relations is crucial for accurate multi-person motion prediction. By integrating these relations directly into the attention mechanism and supervising distance predictions, the model achieves significant gains in both accuracy and physical realism. Future work will explore stochastic modeling to capture the inherent uncertainty of human behavior and multi-scale representations for even longer-term forecasting.
Summary updated