Introduction
Human motion generation has advanced significantly, yet most research remains confined to single-person actions. Generating realistic human reactions—such as staggering back after a punch or responding to a dance partner—remains a formidable challenge. This task requires modeling temporal non-linearity, complex kinematics, and context-dependent responses. This paper introduces InterFormer (Interaction Transformer), a novel framework that treats action-to-reaction generation as a sequence-to-sequence translation problem, enhanced by physical structural priors.
The InterFormer Architecture
InterFormer adopts an encoder-decoder Transformer architecture tailored for 3D skeleton sequences. The Motion Encoder captures the input action's spatial and temporal dynamics, while the Motion Decoder autoregressively generates the reaction.
To overcome the data-intensive nature of standard Transformers and ensure physical plausibility, the authors integrate two key modules:
- Skeleton Adjacency Module: This module uses a graph-based mask to constrain spatial attention to physically connected joints, preventing the model from treating the skeleton as a disconnected set of points.
- Interaction Distance Module: This biases cross-attention toward joints that are physically close in 3D space, naturally identifying critical interaction points (e.g., a hand near a head) without hard-coded rules.
Experimental Setup
The model was evaluated on three diverse datasets: the SBU and K3HI datasets for simple interactions (e.g., pushing, punching) and the DuetDance dataset for complex, long-term rhythmic motions. These datasets provide a rigorous test for the model's ability to handle both discrete actions and continuous, fluid movements.
Results and Discussion
InterFormer demonstrates significant improvements over existing motion prediction baselines like VRNN and PGBIG. On the SBU dataset, it achieved an 80.0% classification accuracy for generated reactions, nearly doubling the performance of the next best baseline.
Qualitative results further highlight InterFormer's ability to maintain realistic biomechanics and temporal synchronization. User studies confirmed a strong preference for InterFormer's outputs, noting their superior realism and responsiveness to the input action compared to methods like MixMatch or STT.
Conclusion
By framing human interaction as a translation task and incorporating physical priors, InterFormer effectively generates realistic 3D reactions. While challenges remain in preventing error accumulation over very long sequences, this work provides a robust foundation for future research in multi-person motion synthesis and social robotics.
Summary updated