Abstract
Temporal action segmentation often suffers from "over-segmentation," where model predictions flicker rapidly between labels at action boundaries. This paper introduces DIR-AS (Decoupling Individual Identification and Temporal Reasoning), a framework designed to resolve the inherent conflict between frame-wise accuracy and sequence-level continuity. By decoupling the task into two specialized branches—one for identifying frame-level actions and another for reasoning about the global sequence—and subsequently fusing them via a Viterbi-based alignment module, the proposed method achieves state-of-the-art results on major benchmarks while significantly improving prediction smoothness.
Introduction
Temporal action segmentation involves assigning a categorical label to every frame in an untrimmed video. A persistent challenge in this domain is over-segmentation, characterized by jittery predictions that flip-flop between labels. This typically occurs at boundaries where the visual difference between the end of one action (e.g., "pouring") and the start of another (e.g., "stirring") is minimal.
Existing approaches often utilize multi-stage refinement or boundary-aware losses within a unified architecture. However, these methods frequently encounter a performance trade-off: frame-wise accuracy requires a focus on local, discrete details, whereas sequence-level metrics (like Edit and F1 scores) necessitate high-level temporal reasoning. DIR-AS addresses this by treating these as distinct objectives that are optimized separately before final integration.
Methodology
The DIR-AS Framework
The DIR-AS architecture is composed of three primary components: a shared feature-extracting stem, two parallel processing branches, and an alignment module.
- Shared Stem: The model begins with a convolutional stem that processes I3D video features. This stage introduces an inductive bias, helping the model recognize that adjacent frames are likely to share temporal context.
- Identification Branch (Local-Global Attention): This branch focuses on frame-wise classification. It employs a dual-attention mechanism:
- Local Branch: Utilizes sliding window attention with Temporal Pyramid Dilation (TPD) to capture multi-scale temporal information, accommodating actions of varying durations.
- Global Branch: Employs Temporal Pyramid Pooling (TPP) to efficiently capture the context of the entire video without the computational overhead of standard global attention.
- Reasoning Branch (Transcript Prediction): This branch predicts an ordered list of actions (a transcript) rather than frame-specific labels. It uses a Transformer decoder where the queries are initialized using coarse transcripts generated by the identification branch.
Action Alignment and Robustness
To synthesize the outputs of both branches, a parameter-free Viterbi algorithm aligns the frame-wise probabilities from the identification branch with the logically ordered transcript from the reasoning branch. This ensures the final output is both frame-accurate and chronologically consistent.
Additionally, the authors introduced Temporal Label Smoothing (TLS). By randomly shifting ground-truth labels during training, the model becomes more robust to the "fuzzy" boundaries inherent in human-annotated video data.
Experiments and Results
Benchmarks
DIR-AS was evaluated on two standard datasets:
- GTEA: 28 videos of kitchen activities with dense action segments.
- Breakfast: A large-scale dataset of 1,712 videos featuring complex cooking sequences, testing long-term temporal dependencies.
Key Findings
DIR-AS established new state-of-the-art (SOTA) benchmarks:
- Accuracy: Achieved 82.8% on GTEA (+2.6% over previous SOTA) and 74.7% on Breakfast (+1.2%).
- Smoothness: The model showed dramatic improvements in Edit and F1 scores, indicating a significant reduction in over-segmentation.
- Efficiency: Despite its dual-branch nature, DIR-AS is computationally efficient. On GTEA, it processed videos in 0.0439 seconds, nearly 4.5x faster than the popular ASFormer (0.1961s).
Conclusion
The success of DIR-AS highlights that frame-wise classification and sequence reasoning are fundamentally different tasks that benefit from decoupling. By using transcripts as conditional priors for reasoning and employing a robust alignment strategy, DIR-AS effectively mitigates the over-segmentation problem. Future work may focus on refining the alignment process to better preserve very short "micro-actions" that can occasionally be suppressed by the Viterbi algorithm.
Summary updated