TL;DR
Hier-EgoPack advances egocentric video understanding by introducing a hierarchical graph-based architecture capable of reasoning across diverse temporal granularities, from sub-second actions to minutes-long activities. By incorporating a novel Temporal Distance Gated Convolution (TDGC) layer, the framework explicitly models past/future context and temporal distances, enabling a unified model to efficiently share and transfer knowledge across distinct video tasks.
What Problem Does This Paper Address?
When humans watch a video, we seamlessly comprehend it at multiple levels simultaneously: we recognize a fine-grained action (e.g., slicing an onion), understand the current activity (e.g., cooking dinner), and anticipate what happens next.
In contrast, modern computer vision models are often hyper-specialized for single tasks. Standard Multi-Task Learning (MTL) approaches try to solve this but frequently suffer from "negative transfer" (where tasks conflict and degrade each other's performance) and require all task annotations to be present during training.
A recent framework called EgoPack addressed this by creating a reusable "backpack of skills" (frozen task prototypes) to help learn novel tasks. However, EgoPack utilized a flat architecture that assumed a uniform temporal granularity and lacked a robust "sense of time." This caused it to fail on tasks requiring long-range temporal reasoning or variable temporal resolutions, such as locating activities that span several minutes.
Methods
Hier-EgoPack solves these limitations by representing videos as dense temporal graphs and processing them through a multi-stage hierarchical architecture.
Key components include:
- Hierarchical Temporal Backbone ($M_t$): Instead of a flat graph, the video graph is progressively coarsened through temporal pooling stages. Early stages capture fine-grained, local details, while deeper stages aggregate information over longer horizons to capture broad contextual patterns.
- Temporal Distance Gated Convolution (TDGC): Standard Graph Neural Networks (GNNs) are permutation-invariant and ignore node ordering. TDGC is a novel GNN layer designed explicitly to inject a "sense of time" into message passing. It computes two key factors for neighboring nodes:
- $s_{ij}$: The sign of the relative temporal distance, allowing the model to distinguish between past and future events.
- $w_{ij}$: A learnable projection of the absolute temporal distance, ensuring the model weighs close and distant events appropriately.
- Cross-Task Interaction (The Backpack): Knowledge from pre-trained support tasks is stored as frozen, structured prototypes. When learning a novel task, the model uses a $k$-NN graph matching strategy to query this "backpack," enriching its features with diverse task perspectives without retraining the entire multi-task network.
Datasets
The authors evaluate their approach on the massive Ego4D dataset (v1 annotations), focusing on five benchmarks that span different temporal granularities:
- Action Recognition (AR) & Object State Change Classification (OSCC): Fine-grained, clip-level tasks (a few seconds long).
- Point of No Return (PNR): Identifying the exact frame an object state changes.
- Long Term Anticipation (LTA): Predicting a sequence of up to 20 future actions.
- Moment Queries (MQ): Localizing activities that range from a few seconds to several minutes across untrimmed videos.
Key Insights and Ideas
- Temporal Grounding is Crucial for GNNs in Video: Simply adding absolute positional encodings (like in Transformers) to standard GNNs is insufficient for complex temporal tasks. Explicitly gating the message-passing step based on relative past/future orientation and distance yields massive performance gains.
- Hierarchical Structure Mitigates Task Conflict: By separating fine-grained representations (early layers) from long-range representations (deep layers), a single backbone can support vastly different tasks simultaneously without suffering from severe negative transfer.
- Decoupled Knowledge Abstraction: Storing task perspectives as frozen prototypes allows the backbone to be fine-tuned for a novel task's specific temporal scale while still safely retaining and exploiting prior multi-task knowledge.
Key Results
Hier-EgoPack demonstrates strong performance across all five Ego4D benchmarks using a single, unified architecture with minimal task-specific overhead.
- Moment Queries (MQ): Hier-EgoPack achieves 21.0 mAP, significantly outperforming established baselines like VSGN (10.3 mAP) and ActionFormer (17.5 mAP) using identical EgoVLP features.
- Action Recognition (AR): It improves Verbs Top-1 accuracy to 27.30% and Nouns Top-1 to 34.65%, outperforming the original flat EgoPack framework.
- Efficiency: Hier-EgoPack achieves competitive results against state-of-the-art specialized models like ASL while being nearly 10x smaller in terms of trainable parameters (37.1M vs 350.7M).
Limitations and Future Work
- Frozen Feature Extractor: Hier-EgoPack relies entirely on pre-extracted video features (e.g., EgoVLP or Omnivore) and does not train the visual backbone end-to-end. Integrating end-to-end visual feature learning could further boost performance.
- Prototype Dependency: The task prototypes are currently aggregated based on Action Recognition annotations (verb-noun pairs). For videos or domains where explicit action labels are noisy or unavailable, alternative unsupervised or text-driven prototype clustering methods will need to be explored.
Summary updated