Introduction
Action segmentation is the task of identifying the temporal boundaries and categories of actions within a video sequence. While significant progress has been made using Temporal Convolutional Networks (TCNs) and Recurrent Neural Networks (RNNs), these models often struggle with egocentric (first-person) video. In such settings, actions are frequently partially occluded or occur entirely off-camera due to the wearer's head movements. For instance, a "drinking" action might be missed if the camera is directed away from the face. Humans naturally compensate for these gaps using relational reasoning—inferring the missing action based on the preceding and succeeding context. This paper introduces the Graph-based Temporal Reasoning Module (GTRM) to provide AI systems with a similar capability.
The GTRM Framework
The GTRM is designed as a "plug-and-play" component that can be integrated with various backbone architectures, such as GRUs or MSTCNs. Unlike traditional graph-based models that treat individual frames as nodes, the GTRM operates at the segment level. This higher level of abstraction allows the model to reason about the "story" or logical flow of the video without the prohibitive computational cost of frame-to-frame graphs.
The reasoning process follows a three-step pipeline:
- Representation-to-Graph (R2G) Mapping: Initial frame-wise predictions from the backbone are grouped into segments. Each segment is transformed into a node in a graph, embedding features pooled from the backbone's hidden states along with temporal encoding.
- Reasoning via Dual GCNs: The module employs two specialized Graph Convolutional Networks (GCNs) to refine the predictions.
- Graph-to-Representation (G2R) Mapping: The updated node features are projected back onto the original frame-wise timeline and fused with the backbone's initial features for the final output.
Technical Architecture
The core of the GTRM lies in its dual GCN structure, which separates the tasks of action classification and boundary refinement.
- C-GCN (Classification GCN): This component learns the logical dependencies between actions. For example, it recognizes that "taking a knife" is a likely precursor to "cutting." Edges in this graph connect nodes based on temporal proximity, allowing for long-range reasoning.
- R-GCN (Boundary Regression GCN): This component focuses on the precise timing of action transitions. By connecting only immediate neighboring nodes, it refines the start and end points of each segment.
Experimental Evaluation
The GTRM was evaluated across four diverse datasets, including egocentric (EGTEA, EPIC-Kitchens) and third-person (50Salads, Breakfast) videos. The results demonstrate that the module provides a significant performance boost, particularly for recurrent backbones that typically lack global temporal context.
On the EPIC-Kitchens dataset, adding GTRM to a multi-layer GRU backbone improved the F1@10 score from 20.2 to 31.9. Similarly, on EGTEA, the F1@10 score rose from 32.6 to 41.6. Qualitatively, the model successfully identified actions like "closing a fridge" even when the action was nearly invisible, by leveraging the knowledge that the fridge had been opened earlier in the sequence.
Conclusion
The Graph-based Temporal Reasoning Module effectively addresses the challenges of occlusion and limited field-of-view in action segmentation. By reasoning over segments rather than frames, it provides a computationally efficient way to incorporate global context and logical action flow, significantly improving both classification accuracy and boundary precision in complex video environments.
Summary updated