Sequence-to-Sequence Modeling for Action Identification at High Temporal Resolution

Aakash Kaku, Kangning Liu, Avinash Parnandi, Haresh Rengaraj Rajamohan, Kannan Venkataramanan, Anita Venkatesan, Audre Wirtanen, Natasha Pandit, Heidi M. Schambra, Carlos Fernandez-GrandaOpenReview 2021

TL;DR

This paper introduces a new dataset, StrokeRehab, for high-resolution action recognition, focusing on subtle, short-duration movements crucial for stroke rehabilitation. They propose a novel sequence-to-sequence model, inspired by speech recognition, that directly predicts action sequences, outperforming existing segmentation-based methods on this challenging dataset and others.

What Problem Does This Paper Address?

Current action recognition systems excel at identifying longer, coarser actions (e.g., "running," "cutting vegetables"). However, many real-world applications, particularly in healthcare like stroke rehabilitation, require the precise identification of very short, subtle movements (lasting less than a second). For instance, accurately quantifying the dose of rehabilitation exercises for stroke patients necessitates distinguishing these "functional primitives" (like reaching, stabilizing, transporting) at a high temporal resolution. Existing methods, which often rely on segmenting video into discrete action frames, struggle with these fine-grained actions, leading to noisy predictions and overcounting. This gap hinders objective and scalable assessment of rehabilitation progress.

Methods

The core of the paper's methodological contribution is a sequence-to-sequence (seq2seq) model adapted for action identification. Unlike traditional segmentation models that predict an action label for each frame, the seq2seq model directly maps an input sequence (of sensor or video features) to an output sequence of actions. This approach is inspired by successful applications in speech recognition and machine translation.

The model consists of:

  • Encoder: Processes the input sequence (e.g., sensor data or video features) to create a fixed-length hidden vector that captures the essence of the input.
  • Decoder: A recurrent neural network (RNN) that uses the hidden vector to sequentially predict the action sequence, conditioned on the previously predicted action.

They also explore two variants:

  • Raw2seq: Directly uses raw sensor or video features as input.
  • Seg2seq: Uses the frame-wise prediction probabilities from a pre-trained segmentation model as input. This leverages the strengths of segmentation models in capturing local temporal information.

Datasets

The paper introduces a new benchmark dataset:

  • StrokeRehab: A large-scale, multimodal dataset comprising high-quality Inertial Measurement Unit (IMU) sensor data and video from 41 stroke-impaired patients performing daily living activities. It features subtle, short-duration actions (functional primitives) meticulously labeled at a high temporal resolution.

They also evaluate their method on standard action recognition benchmarks:

  • 50Salads
  • Breakfast
  • Jigsaws

Key Insights and Ideas

  • The limitations of segmentation for fine-grained actions: The paper strongly demonstrates that existing segmentation-based action recognition methods, while effective for longer actions, produce noisy and inaccurate results for subtle, short-duration primitives. This is because the boundaries between these actions are inherently less distinct, making segmentation a poor fit.
  • Seq2seq as a natural fit for action sequences: By framing action identification as a sequence-to-sequence problem, the model bypasses the need for explicit boundary detection. This allows it to directly learn the temporal dependencies and output a more coherent action sequence, especially for short, rapid movements.
  • The importance of multimodal data for stroke rehabilitation: The StrokeRehab dataset, combining IMU sensors and video, highlights the potential for richer, more robust action understanding in clinical settings. Different modalities (sensor vs. video) have complementary strengths and weaknesses in identifying specific primitives.

Key Results

  • StrokeRehab Performance: The proposed seq2seq model significantly outperforms state-of-the-art segmentation-based approaches on the StrokeRehab dataset, achieving better Edit Scores and Action Error Rates.
  • Benchmark Performance: The seq2seq model also shows superior performance on the standard datasets (50Salads, Breakfast, Jigsaws) for the task of sequence prediction.
  • Raw2seq vs. Seg2seq: The Raw2seq variant performed better on sensor data for StrokeRehab (where actions are localized), while Seg2seq was superior on video data and other benchmarks, suggesting that leveraging segmentation outputs can be beneficial for more complex scenarios.
  • Accurate Counting: The seq2seq model's ability to accurately count functional primitives is demonstrated, which is critical for applications like quantifying rehabilitation dose.

Limitations and Future Work

  • Capturing Long-Term Dependencies: The authors acknowledge that a known limitation of seq2seq models is their difficulty in capturing very long-term dependencies. They partially address this by using segmentation outputs as input for the Seg2seq variant.
  • Multimodal Strengths: The paper notes that video and sensor data have different strengths and weaknesses for action identification. Future work could explore more sophisticated multimodal fusion techniques to leverage these complementary aspects.
  • Designing End-to-End Seq2seq for Long Dependencies: An interesting direction for future research is to design seq2seq models capable of directly learning long-term dependencies without relying on intermediate segmentation steps.

Summary updated

Abstract

Automatic action identification from video and kinematic data is an important machine learning problem with applications ranging from robotics to smart health. Most existing works focus on identifying coarse actions such as running, climbing, or cutting a vegetable, which have relatively long durations. This is an important limitation for applications that require the identification of subtle motions at high temporal resolution. For example, in stroke recovery, quantifying rehabilitation dose requires differentiating motions with sub-second durations. Our goal is to bridge this gap. To this end, we introduce a large-scale, multimodal dataset, StrokeRehab, as a new action-recognition benchmark that includes subtle short-duration actions labeled at a high temporal resolution. These short-duration actions are called functional primitives, and consist of reaches, transports, repositions, stabilizations, and idles. The dataset consists of high-quality Inertial Measurement Unit sensors and video data of 41 stroke-impaired patients performing activities of daily living like feeding, brushing teeth, etc. We show that current state-of-the-art models based on segmentation produce noisy predictions when applied to these data, which often leads to overcounting of actions. To address this, we propose a novel approach for high-resolution action identification, inspired by speech-recognition techniques, which is based on a sequence-to-sequence model that directly predicts the sequence of actions. This approach outperforms current state-of-the-art methods on the StrokeRehab dataset, as well as on the standard benchmark datasets 50Salads, Breakfast, and Jigsaws.
BibTeX
@misc{kaku2021sequence,
  author = {Aakash Kaku and Kangning Liu and Avinash Parnandi and Haresh Rengaraj Rajamohan and Kannan Venkataramanan and Anita Venkatesan and Audre Wirtanen and Natasha Pandit and Heidi M. Schambra and Carlos Fernandez-Granda},
  title = {{Sequence-to-Sequence Modeling for Action Identification at High Temporal Resolution}},
  year = {2021},
  eprint = {2111.02521},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.02521},
  howpublished = {OpenReview},
}
Figure