Abstract
Temporal Action Segmentation (TAS) involves partitioning long videos of procedural tasks into discrete action segments. However, real-world video datasets exhibit a significant "long-tail" distribution where some actions are frequent and long-lasting while others are rare and brief. Standard long-tail mitigation strategies often fail in TAS because they treat action classes as independent, ignoring the inherent temporal correlations in video. This paper introduces Group-wise Temporal Logit Adjustment (G-TLA), a framework that leverages activity-level grouping and temporal ordering priors. G-TLA significantly improves the recognition of rare "tail" actions without degrading performance on common "head" actions, effectively eliminating illogical predictions through temporal constraints.
Introduction
The primary challenge in Temporal Action Segmentation is the dual imbalance of frequency and duration. In a task like "making tea," actions like "pour water" may occur in every instance, whereas "add honey" might be rare. Furthermore, some actions are naturally shorter than others. Naive application of image-based long-tail solutions (e.g., re-sampling or simple logit adjustment) often results in "over-segmentation" or the prediction of contextually impossible actions—such as "stir coffee" appearing in a tea-making sequence.
Methodology: Group-wise Temporal Logit Adjustment
G-TLA addresses these issues by moving away from a monolithic classifier. The framework consists of two main components:
- Group-wise Classification: Instead of a single large classifier, G-TLA employs a hierarchical structure. Actions are grouped by their parent activity. During training, the model learns to distinguish actions within a specific group while utilizing an "others" class to suppress irrelevant actions from different groups.
- Temporal Logit Adjustment: Unlike standard logit adjustment which shifts decision boundaries statically, G-TLA introduces a Temporal Factor. By calculating temporal bounds based on known action sequences (e.g., "add sugar" must follow "pour water"), the boost for rare classes is only applied within logical temporal windows.
During inference, the model identifies the relevant activity group by monitoring the "others" class probability across frames, ensuring that only contextually appropriate actions are considered.
Experimental Evaluation
The authors evaluated G-TLA across five benchmarks with varying degrees of imbalance: Breakfast Actions, YouTube Instructional Videos, Assembly101, GTEA, and 50Salads. The imbalance ratios ranged from moderate to extreme (up to 2604 in Assembly101).
Performance was measured using the Harmonic Mean (Hmean) of head and tail classes to ensure the model performs well across the entire distribution, rather than just optimizing for the most frequent classes.
Results and Discussion
G-TLA consistently outperformed state-of-the-art backbones such as MSTCN and ASFormer. On the YouTube dataset, G-TLA improved frame accuracy Hmean by 7.5% over the ASFormer baseline. On the Breakfast dataset, it achieved a 5.0% boost in segment F1 score Hmean using the MSTCN backbone.
Qualitatively, G-TLA effectively prunes the search space. As shown in the figure above, while standard logit adjustment (+LA) might hallucinate rare actions from unrelated activities, G-TLA's temporal constraints ensure that predictions remain logically consistent with the overall activity. Notably, G-TLA often improves "head" class performance as well, avoiding the typical accuracy trade-off seen in other long-tail methods.
Conclusion and Future Work
G-TLA represents a significant advancement in handling long-tail distributions in video by treating temporal dependencies as a feature rather than a hurdle. Future research will focus on improving group identification during inference to avoid cascading errors and extending these temporal priors to few-shot or zero-shot learning scenarios where data scarcity is even more pronounced. Additionally, making temporal bounds more probabilistic could help the model adapt to increasingly unstructured and complex datasets.
Summary updated