IGFormer: Interaction Graph Transformer for Skeleton-Based Human Interaction Recognition

Yunsheng Pang, Qiuhong Ke, Hossein Rahmani, James Bailey, Jun Liu

Introduction

Recognizing human-to-human interactions—such as handshaking, punching, or hugging—is a critical task in computer vision with broad applications in surveillance and robotics. While skeleton-based action recognition is robust against background noise, modeling the intricate relationships between two individuals remains a challenge.

Skeleton-based representation of a handshake interaction

Existing methods often treat subjects independently or fail to capture the fine-grained spatial-temporal dependencies between specific body parts. IGFormer (Interaction Graph Transformer) addresses these limitations by modeling body parts as dynamic graphs, integrating both semantic correlations and physical distance priors.

The IGFormer Architecture

The IGFormer framework introduces a specialized Transformer-based approach to capture interactive dynamics through two primary innovations.

The overall architecture of IGFormer and the detailed GI-MSA block

Semantic Partition Module (SPM)

Instead of a flat list of joints, the SPM organizes the skeleton into five natural body parts: arms, legs, and torso. This creates a Body-Part-Time (BPT) sequence, preserving the spatial hierarchy of the human body while allowing the Transformer to attend to temporal movements across frames. This representation alone provides a significant performance boost over standard pseudo-image formats.

Graph Interaction Multi-head Self-Attention (GI-MSA)

The core innovation is the GI-MSA, which constructs an "Interaction Graph" between two people using two complementary components:

  1. Semantic-based Dense Interaction Graph (SDIG): Learns data-driven correlations between body parts (e.g., how a hand movement relates to the other person's torso).
  2. Distance-based Sparse Interaction Graph (DSIG): Incorporates physical reality by calculating Euclidean distances between parts. Parts in close proximity are more likely to be interacting, providing a strong inductive bias for the model.

These graphs are adaptively fused using a trainable scalar, allowing the network to prioritize either semantic context or physical proximity depending on the specific action.

Experimental Evaluation

IGFormer was evaluated on major benchmarks, demonstrating superior performance over previous Graph Convolutional Network (GCN) and Recurrent Neural Network (RNN) approaches.

  • NTU-RGB+D 120: This large-scale dataset is one of the most challenging for interaction recognition. IGFormer achieved 85.4% accuracy in Cross-Subject tests and 86.5% in Cross-Setup tests, outperforming the previous state-of-the-art CTR-GCN by over 2%.
  • SBU Interaction Dataset: On this smaller, focused dataset, the model reached an impressive 98.4% accuracy.

Robustness tests also showed that the model remains highly accurate even when zero-mean noise is added to the joint coordinates, demonstrating its readiness for real-world sensor data.

Conclusion

IGFormer successfully bridges the gap in skeleton-based interaction recognition by explicitly modeling the relationships between interactive body parts. By combining semantic attention with physical distance priors, it sets a new standard for accuracy and robustness on complex human-to-human interaction benchmarks.

Summary updated

BibTeX
@inproceedings{pang2022igformer,
  author = {Yunsheng Pang and Qiuhong Ke and Hossein Rahmani and James Bailey and Jun Liu},
  title = {{IGFormer: Interaction Graph Transformer for Skeleton-Based Human Interaction Recognition}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19806-9\_35},
}
Figure