Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

ASFormer: Transformer for Action Segmentation

About

Algorithms for the action segmentation task typically use temporal models to predict what action is occurring at each frame for a minute-long daily activity. Recent studies have shown the potential of Transformer in modeling the relations among elements in sequential data. However, there are several major concerns when directly applying the Transformer to the action segmentation task, such as the lack of inductive biases with small training sets, the deficit in processing long input sequence, and the limitation of the decoder architecture to utilize temporal relations among multiple action segments to refine the initial predictions. To address these concerns, we design an efficient Transformer-based model for action segmentation task, named ASFormer, with three distinctive characteristics: (i) We explicitly bring in the local connectivity inductive priors because of the high locality of features. It constrains the hypothesis space within a reliable scope, and is beneficial for the action segmentation task to learn a proper target function with small training sets. (ii) We apply a pre-defined hierarchical representation pattern that efficiently handles long input sequences. (iii) We carefully design the decoder to refine the initial predictions from the encoder. Extensive experiments on three public datasets demonstrate that effectiveness of our methods. Code is available at \url{https://github.com/ChinaYi/ASFormer}.

Fangqiu Yi, Hongyu Wen, Tingting Jiang• 2021

Related benchmarks

TaskDatasetResultRank
Action Segmentation50Salads
Edit Distance76.1
114
Action SegmentationBreakfast
F1@1085.4
107
Temporal action segmentation50Salads
Accuracy86.1
106
Temporal action segmentationGTEA
F1 Score @ 10% Threshold90.1
99
Temporal action segmentationBreakfast
Accuracy74.3
96
Activity RecognitionHHAR (test)
Mean F1 Score0.6252
46
Action SegmentationGTEA
F1@10%95.8
39
Time-series classificationfNIRS (test)
F1 Score0.7169
36
Sleep stage scoringSleep (test)
F1 Score60.77
36
Action SegmentationGTEA (test)
F1@10%90.1
25
Showing 10 of 29 rows

Other info

Code

Follow for update