Interaction Transformer for Human Reaction Generation

Baptiste Chopin, Hao Tang, Naima Otberdout, Mohamed Daoudi, Nicu Sebe

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.

The InterFormer architecture featuring the Motion Encoder, Motion Decoder, and specialized modules for skeleton adjacency and interaction distance.

To overcome the data-intensive nature of standard Transformers and ensure physical plausibility, the authors integrate two key modules:

  1. 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.
  2. 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 comparison of reaction generation across different models. InterFormer (bottom row) shows the highest fidelity to the ground truth (top row).

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

BibTeX
@article{chopin2023interaction,
  author = {Baptiste Chopin and Hao Tang and Naima Otberdout and Mohamed Daoudi and Nicu Sebe},
  title = {{Interaction Transformer for Human Reaction Generation}},
  journal = {IEEE Trans. Multimedia},
  year = {2023},
  doi = {10.1109/tmm.2023.3242152},
}
Figure