End-to-End Streaming Video Temporal Action Segmentation with Reinforce Learning
Jinrong Zhang, Wujun Wen, Shenglan Liu, Yunheng Li, Qifeng Li, Lin Feng
TL;DR
This work addresses streaming temporal action segmentation (STAS), a online variant of TAS that processes untrimmed videos clip-by-clip. It introduces SVTAS-RL, an end-to-end model that uses a clustering-based observation pipeline and a Hierarchical Block Recurrent Transformer (HBRT) memory to align with the STAS data manifold, coupled with reinforcement learning to mitigate optimization dilemmas. The authors propose two RL strategies, Monte Carlo REINFORCE and Temporal Difference Actor-Critic, to estimate gradients aligned with the full-sequence action integrity objective. Experiments across Breakfast, 50Salads, GTEA, and EGTEA show SVTAS-RL achieving competitive TAS state-of-the-art results and substantial improvements over existing STAS methods, particularly on ultra-long videos like EGTEA. The work demonstrates the effectiveness of clustering-based representations and RL-guided end-to-end optimization for online action segmentation, with practical implications for real-time video understanding.
Abstract
The streaming temporal action segmentation (STAS) task, a supplementary task of temporal action segmentation (TAS), has not received adequate attention in the field of video understanding. Existing TAS methods are constrained to offline scenarios due to their heavy reliance on multimodal features and complete contextual information. The STAS task requires the model to classify each frame of the entire untrimmed video sequence clip by clip in time, thereby extending the applicability of TAS methods to online scenarios. However, directly applying existing TAS methods to SATS tasks results in significantly poor segmentation outcomes. In this paper, we thoroughly analyze the fundamental differences between STAS tasks and TAS tasks, attributing the severe performance degradation when transferring models to model bias and optimization dilemmas. We introduce an end-to-end streaming video temporal action segmentation model with reinforcement learning (SVTAS-RL). The end-to-end modeling method mitigates the modeling bias introduced by the change in task nature and enhances the feasibility of online solutions. Reinforcement learning is utilized to alleviate the optimization dilemma. Through extensive experiments, the SVTAS-RL model significantly outperforms existing STAS models and achieves competitive performance to the state-of-the-art TAS model on multiple datasets under the same evaluation criteria, demonstrating notable advantages on the ultra-long video dataset EGTEA. Code is available at https://github.com/Thinksky5124/SVTAS.
