HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Do we really need temporal convolutions in action segmentation?

Dazhao Du Bing Su Yu Li Zhongang Qi Lingyu Si Ying Shan

Do we really need temporal convolutions in action segmentation?

Abstract

Action classification has made great progress, but segmenting and recognizing actions from long untrimmed videos remains a challenging problem. Most state-of-the-art methods focus on designing temporal convolution-based models, but the inflexibility of temporal convolutions and the difficulties in modeling long-term temporal dependencies restrict the potential of these models. Transformer-based models with adaptable and sequence modeling capabilities have recently been used in various tasks. However, the lack of inductive bias and the inefficiency of handling long video sequences limit the application of Transformer in action segmentation. In this paper, we design a pure Transformer-based model without temporal convolutions by incorporating temporal sampling, called Temporal U-Transformer (TUT). The U-Transformer architecture reduces complexity while introducing an inductive bias that adjacent frames are more likely to belong to the same class, but the introduction of coarse resolutions results in the misclassification of boundaries. We observe that the similarity distribution between a boundary frame and its neighboring frames depends on whether the boundary frame is the start or end of an action segment. Therefore, we further propose a boundary-aware loss based on the distribution of similarity scores between frames from attention modules to enhance the ability to recognize boundaries. Extensive experiments show the effectiveness of our model.

Code Repositories

ddz16/TUT
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
action-segmentation-on-50-salads-1EUT
Acc: 87.4
Edit: 82.9
F1@10%: 89.2
F1@25%: 87.5
F1@50%: 81
action-segmentation-on-50saladsEUT
Acc: 87.4
Edit: 82.9
F1@10%: 89.2
F1@25%: 87.5
F1@50%: 81
action-segmentation-on-breakfast-1EUT
Acc: 75
Average F1: 69.3
Edit: 74.6
F1@10%: 76.2
F1@25%: 71.8
F1@50%: 59.8
action-segmentation-on-gtea-1EUT
Acc: 77
Edit: 83.9
F1@10%: 88.2
F1@25%: 87.2
F1@50%: 74

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp