Abstract
Action segmentation in a real-time, online setting remains a significant challenge, particularly when only weak supervision in the form of action transcripts is available. This paper presents a novel framework that addresses the limitations of traditional greedy online methods. By incorporating Dynamic Programming (DP) for inference, an Online-Offline Discrepancy Loss (OODL) to bridge the gap between causal and non-causal models, and leveraging multi-view data during training, the proposed method achieves state-of-the-art performance on the Breakfast and IKEA ASM datasets. The resulting model maintains temporal consistency and robustness while operating at speeds suitable for real-time applications.
Introduction
Action segmentation is the process of partitioning a video into a sequence of labeled actions, such as "crack egg" or "whisk egg." While offline methods—which process an entire video at once—have seen significant progress, real-world applications like human-robot interaction and real-time manufacturing monitoring require online processing. Online models must make predictions frame-by-frame as data arrives, without access to future context.
This task is further complicated by the high cost of data annotation. Providing exact start and end timestamps for every action is labor-intensive and subjective. Consequently, researchers have turned to weak supervision, where models are trained using only an ordered list of actions (a transcript) without temporal boundaries. This paper introduces a framework designed to overcome the inherent instability of online, weakly-supervised models by leveraging temporal constraints and cross-view information.
Methodology
The proposed framework introduces three primary innovations to improve the accuracy and consistency of online action segmentation.
1. DP-based Online Inference
Traditional online models often rely on a "greedy" approach, making independent predictions for each frame or using a small sliding window. This frequently results in "jittery" outputs where the predicted action label flickers rapidly. To combat this, the authors utilize Dynamic Programming (DP). By formulating inference as a search for the most likely sequence of past actions and their durations (similar to a Viterbi algorithm), the model enforces logical temporal flow. A half-Poisson distribution is employed to model action durations, allowing the system to statistically "wait" for an action to complete before transitioning to the next label.
2. Online-Offline Discrepancy Loss (OODL)
Offline models generally outperform online models because they can utilize future frames to refine past predictions. The authors exploit this performance gap by using an offline model as a "teacher" during the training phase. The Online-Offline Discrepancy Loss (OODL) penalizes the online model if its intermediate, causal predictions deviate significantly from the final, non-causal segmentation produced by the offline counterpart. This encourages the online model to anticipate the most likely global sequence even with limited local information.
3. Multi-View Supervision
Instructional videos are frequently captured from multiple angles. While test-time inference is performed on a single view, the authors leverage synchronized multi-view data during training to resolve ambiguities like occlusions. They investigate several fusion techniques, ultimately favoring Weighted Probabilistic Inference (WPI). This method combines predictions from multiple cameras to create a superior "pseudo ground-truth" for the model to learn from, making the final single-view model more robust to challenging visual conditions.
Experimental Results
The framework was evaluated on two major multi-view benchmarks: the Breakfast Dataset (BD), featuring cooking tasks, and the IKEA ASM (IAD), featuring furniture assembly.
Performance and Consistency
The proposed method achieved a 2.6% to 3.3% improvement in Intersection over Union (IoU) compared to standard online baselines. Beyond raw metrics, qualitative analysis showed a significant reduction in label flickering. The DP-based inference acts as a temporal filter, ensuring that the predicted action sequences are physically and logically plausible.
Robustness and Efficiency
Multi-view training proved particularly effective in scenarios with poor lighting or significant occlusions. By learning from multiple perspectives during training, the model developed a more resilient representation of actions that persisted even when only one camera was available at test time. Despite the increased complexity of DP-based inference ($O(T^2N)$), the system maintains a processing speed of 10+ frames per second (fps) on standard hardware, meeting the requirements for near-real-time deployment.
Conclusion
This research demonstrates that the gap between online and offline action segmentation can be narrowed through structured temporal inference and clever supervision strategies. By treating offline models as teachers and leveraging multi-view data as a source of "free" labels, the proposed framework provides a robust solution for real-time action understanding. Future work will focus on optimizing the computational complexity of the DP inference to support even longer video sequences and exploring methods for unsynchronized multi-view training.
Summary updated