MMTSA: Multi-Modal Temporal Segment Attention Network for Efficient Human Activity Recognition

Ziqi Gao, Jianguo Chen, Xin Liu, Yuntao Wang, Yuanchun Shi

TL;DR

This paper introduces MMTSA, a novel multimodal network for human activity recognition that efficiently fuses RGB video and IMU sensor data. By transforming IMU data into images and employing sparse sampling and an inter-segment attention mechanism, MMTSA achieves state-of-the-art performance while significantly reducing computational cost and data redundancy.

What Problem Does This Paper Address?

Human Activity Recognition (HAR) is crucial for applications like human-computer interaction and healthcare. While multimodal approaches using visual and sensor data (like IMU) offer robustness, existing methods often suffer from:

  • Data Redundancy: Dense sampling of video frames and sensor data leads to wasted computation and memory.
  • Heterogeneous Modalities: Visual data (images/videos) and sensor data (time-series) have fundamentally different structures, making direct fusion challenging and requiring complex, separate sub-networks.
  • High Computational Cost: Complex architectures and dense sampling make these models difficult to deploy on resource-constrained devices like wearables.
  • Lack of Complementary Information: Existing fusion strategies often fail to fully exploit the synergistic information between different modalities.

This paper aims to address these limitations by proposing an efficient and effective multimodal HAR system that can handle heterogeneous data and reduce redundancy.

Methods

The proposed MMTSA (Multimodal Temporal Segment Attention Network) tackles the problem through three key innovations:

  1. Multimodal Data Isomorphism Mechanism (IMU Imaging): To bridge the structural gap between RGB video and IMU sensor data, the authors convert 1D IMU time-series data into 2D grayscale images using the Gramian Angular Field (GAF). This process involves:
  2. Rescaling: Normalizing IMU sensor values to [-1, 1].
  3. Polar Coordinate Transformation: Mapping rescaled values to polar coordinates (angle and radius).
  4. GAF Generation: Computing the Gram matrix from these polar coordinates, which encodes temporal correlations as an image. This allows IMU data to be processed by standard 2D Convolutional Neural Networks (CNNs), similar to image data.
  5. Segment-Based Multimodal Sparse Sampling: To combat data redundancy from dense sampling, MMTSA adopts a sparse sampling strategy inspired by Temporal Segment Networks (TSN). The input (RGB frames and GAF images) is divided into a fixed number of segments. Then, a single snippet is randomly sampled from each segment. This preserves temporal information across longer activities while drastically reducing the amount of data processed.
  6. Inter-Segment Attention for Multimodal Fusion: To effectively fuse features from different modalities and temporal segments, MMTSA employs an additive attention mechanism.
  7. Features from each modality within a segment are first concatenated.
  8. An attention mechanism then learns weights for each segment, allowing the model to focus on the most informative temporal parts.
  9. These weighted segment features are fused to create a global representation, which is then used for activity classification. This attention mechanism helps mine complementary information between modalities and temporal stages.

Datasets

The proposed MMTSA model was evaluated on three public datasets:

  • MMAct: A multimodal dataset for human activity recognition.
  • Multimodal Egocentric Activity: A dataset focusing on activities captured from a first-person perspective.
  • DataEgo: Another dataset for egocentric activity recognition.

The paper does not introduce new benchmarks but rather evaluates its method against existing state-of-the-art approaches on these established datasets.

Key Insights and Ideas

  • GAF as a Bridge: The ingenious use of GAF to transform time-series IMU data into images is a key insight. It effectively makes heterogeneous data "isomorphic," allowing for unified processing with CNNs and improving feature reusability.
  • Sparse Sampling for Efficiency: Applying sparse sampling, inspired by video action recognition, to multimodal HAR is crucial for reducing computational load and memory footprint, making the system more practical for real-world deployment.
  • Attention for Complementarity: The inter-segment attention mechanism is vital for effectively integrating information across different modalities and temporal segments, highlighting the importance of focusing on salient features.
  • IMU Imaging Matters: The results strongly suggest that encoding IMU data into images and using attention mechanisms significantly boosts performance, validating the authors' design choices.

Key Results

MMTSA demonstrated superior performance across the evaluated datasets:

  • MMAct Dataset: Achieved significant improvements of 11.13% in cross-subject evaluation and 2.59% in cross-session evaluation compared to previous state-of-the-art methods.
  • Multimodal Egocentric Activity: Outperformed traditional methods and was competitive with MFV, a method using four sensor types, while MMTSA only used two (accelerometer and gyroscope), making it more lightweight.
  • DataEgo: Showed a substantial improvement of 17.45% over TSN.
  • Efficiency: The sparse sampling and GAF-based isomorphism contribute to reduced redundancy and computational cost, making the model more efficient.

Limitations and Future Work

  • Limitations:
    • While MMTSA outperforms many methods, it still relies on RGB video, which can raise privacy concerns due to the rich appearance information of captured scenes.
  • The paper focuses on RGB and IMU sensors; extending to other modalities could further enhance robustness.
  • Future Work:
    • The authors plan to deploy the MMTSA model on devices to enable safe and accurate human activity recognition in real-world settings, suggesting a focus on edge computing and practical applications.
  • Exploring other modalities and further optimizing the model for even greater efficiency are potential future directions.

Summary updated

BibTeX
@inproceedings{gao2023mmtsa,
  author = {Ziqi Gao and Jianguo Chen and Xin Liu and Yuntao Wang and Yuanchun Shi},
  title = {{MMTSA: Multi-Modal Temporal Segment Attention Network for Efficient Human Activity Recognition}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=vQXbQEDJi5},
}
Figure