Skip to main content
QUICK REVIEW

[Paper Review] Temporal Segment Transformer for Action Segmentation

Zhichao Liu, Leshan Wang|arXiv (Cornell University)|Feb 25, 2023
Human Pose and Action RecognitionComputer Science3 citations
TL;DR

This paper proposes the Temporal Segment Transformer, an attention-based model that jointly refines action segment representations and models temporal relations between segments to improve action segmentation in untrimmed videos. By leveraging segment-frame and inter-segment attention, it denoises initial predictions and produces state-of-the-art results on 50Salads, GTEA, and Breakfast benchmarks with improved F1 and edit scores.

ABSTRACT

Recognizing human actions from untrimmed videos is an important task in activity understanding, and poses unique challenges in modeling long-range temporal relations. Recent works adopt a predict-and-refine strategy which converts an initial prediction to action segments for global context modeling. However, the generated segment representations are often noisy and exhibit inaccurate segment boundaries, over-segmentation and other problems. To deal with these issues, we propose an attention based approach which we call extit{temporal segment transformer}, for joint segment relation modeling and denoising. The main idea is to denoise segment representations using attention between segment and frame representations, and also use inter-segment attention to capture temporal correlations between segments. The refined segment representations are used to predict action labels and adjust segment boundaries, and a final action segmentation is produced based on voting from segment masks. We show that this novel architecture achieves state-of-the-art accuracy on the popular 50Salads, GTEA and Breakfast benchmarks. We also conduct extensive ablations to demonstrate the effectiveness of different components of our design.

Motivation & Objective

  • To address the challenge of noisy and inaccurate initial segment predictions in action segmentation of untrimmed videos.
  • To improve long-range temporal modeling by jointly refining segment representations and capturing inter-segment dependencies.
  • To reduce over-segmentation and boundary errors through a unified attention-based denoising framework.
  • To enhance action label accuracy and boundary regression using frame-segment and segment-segment attention.
  • To achieve state-of-the-art performance on standard benchmarks through end-to-end refinement and voting-based segmentation.

Proposed method

  • The model uses a backbone network to extract frame-level features and generate initial segment predictions.
  • Segment representations are refined via local segment-frame attention, where each segment attends to nearby frames to denoise its representation.
  • Inter-segment attention is applied to model temporal dependencies between adjacent segments, capturing long-range relations.
  • Refined segment representations are used for both action classification and boundary regression, improving label and boundary accuracy.
  • A voting mechanism fuses segment masks and classification probabilities to produce the final action segmentation.
  • The architecture is end-to-end trainable and integrates frame encoding, segment decoding, and multi-head attention mechanisms.

Experimental results

Research questions

  • RQ1Can joint modeling of segment relations and feature denoising improve action segmentation accuracy in untrimmed videos?
  • RQ2Does segment-frame attention using local frame context effectively reduce noise in initial segment representations?
  • RQ3How does inter-segment attention compare to heuristic graph-based message passing in refining segment boundaries and labels?
  • RQ4What is the optimal window size and number of layers for segment-frame attention in the decoder?
  • RQ5Can the proposed method outperform existing state-of-the-art models on standard benchmarks like 50Salads, GTEA, and Breakfast?

Key findings

  • The proposed Temporal Segment Transformer achieves state-of-the-art performance on the 50Salads dataset, with an F1@50 score of 86.1, an edit score of 82.4, and accuracy of 86.1%.
  • Ablation studies show that removing frame embeddings leads to a significant drop in performance, with F1@50 decreasing to 85.7%, highlighting their importance.
  • Using local segment-frame attention (window size 1) yields the best results, outperforming global attention and larger window sizes.
  • The optimal segment decoder uses two layers, as deeper networks (3 or 4 layers) do not improve performance and increase computational cost.
  • Removing segment-frame attention reduces the F1@50 score to 85.9%, confirming its critical role in denoising and accuracy improvement.
  • Qualitative results show that the model produces smoother, more accurate segment boundaries compared to ASFormer, avoiding jittery or unnaturally short segments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.