HiERO: understanding the hierarchy of human behavior enhances reasoning on egocentric videos

Simone Alberto Peirone, Francesca Pistilli, Giuseppe Averta

TL;DR

HiERO introduces a weakly-supervised, hierarchical graph-based framework that captures the multi-layered structure of human activities in egocentric videos. By learning functional relationships between actions from unscripted video narrations, it naturally surfaces high-level activity "threads" without explicit step-by-step supervision. Remarkably, HiERO achieves state-of-the-art performance across multiple benchmarks and outperforms fully-supervised methods in zero-shot procedure learning by a large margin.

What Problem Does This Paper Address?

When we watch someone in a kitchen, we don't just see a sequence of disconnected actions like "grabbing a knife," "slicing an onion," and "boiling water." We naturally group these actions into hierarchical goals: preparing vegetables and cooking pasta, which both roll up into the broader routine of making dinner.

While humans excel at this multi-scale reasoning, AI models for egocentric (first-person) video understanding struggle. Most foundational models focus heavily on short, action-level clips, completely missing the overarching context. The sub-field of Procedure Learning (PL) attempts to bridge this gap, but traditional approaches are rigid: they typically look at only one level of action aggregation, require heavily scripted datasets, and rely on dense, frame-by-frame human annotations that are incredibly expensive to scale.

HiERO addresses this challenge by asking: Can the hierarchical structure of human behavior emerge naturally from unscripted, real-world videos without explicit supervision?

Methods

HiERO models long-form videos as graphs, where nodes represent short, fixed-length video segments and edges represent their temporal proximity. To process this data hierarchically, the authors design a graph U-Net-inspired encoder-decoder architecture consisting of two main components:

  1. Temporal Encoder: This module performs local temporal reasoning. It uses Temporal Distance Graph Convolution (TDGC) layers to gradually aggregate information from nearby nodes, expanding the temporal context regardless of whether the actions are functionally related.
  2. Function-Aware Decoder: This is the core innovation. Instead of just reversing the encoder's steps, each decoder stage utilizes a Cut & Match module. This module uses spectral graph clustering to partition the graph into sub-graphs based on functional similarity rather than temporal closeness. It then runs temporal reasoning within each functional partition separately, effectively linking actions that are far apart in time but share the same objective (e.g., "chopping carrots" at the start and "dropping carrots in the pot" minutes later).
Figure 3. Architecture of HiERO. HiERO is designed as an encoder-decoder architecture to implement Function-Aware video-text align- ment. The Temporal Encoder E performs temporal reasoning on graph representations of the input video at different scales, while the Function-Aware Decoder D recombines nodes in the video graph by matching segments that represent functional dependencies between the actions (Cut & Match module). HiERO is trained to align video segments with their corresponding textual narrations at the shallower layer, and to strengthen thread-aware clustering in deeper layers.

Training Objectives

HiERO is trained using a combination of two weakly-supervised losses:

  • Video-Narrations Alignment Loss ($L_{vna}$): A contrastive loss that aligns video node features with textual narrations within a flexible temporal window. Unlike prior methods that pair a clip with a single narration, HiERO considers multiple co-occurring actions, making the embeddings highly context-aware.
  • Functional Threads Loss ($L_{ft}$): A self-supervised regularization loss applied at deeper layers. It pushes features belonging to the same discovered cluster closer together in the embedding space and pushes different clusters apart.

Datasets

The model was trained and evaluated using several prominent egocentric video datasets:

  • EgoClip (Training): A curated dataset of 3.8 million clip-text pairs derived from Ego4D narrations.
  • EgoMCQ & EgoNLQ (Video-Text Alignment Evaluation): Benchmarks assessing multiple-choice video retrieval and natural language queries (localizing video segments based on text queries).
  • EgoProceL (Procedure Learning Evaluation): A large-scale dataset spanning 62 hours of procedural tasks (e.g., PC assembly, cooking) used to test zero-shot step segmentation.
  • Ego4D Goal-Step (Step Grounding & Localization Evaluation): A massive taxonomy of 514 fine-grained steps and substeps used to evaluate zero-shot step localization and classification.

Key Insights and Ideas

  • Hierarchy Emerges Unsupervised: The most profound insight is that functional hierarchies do not need explicit labels to be learned. By simply aligning video features with the natural language narrations that accompany unscripted videos, the model learns an embedding space where functional clusters naturally form.
  • Clustering as a Zero-Shot Mechanism: Because the Function-Aware Decoder structures the feature space so cleanly, downstream tasks like procedure step localization can be solved in a completely zero-shot manner using simple clustering algorithms (like K-Means or Spectral Clustering) directly on the output features.
  • Visual vs. Functional Proximity: Standard visual backbones group frames by visual similarity (e.g., same background room). HiERO successfully shifts the representation bias toward functional similarity (e.g., grouping different steps of a recipe together), as illustrated by the sharper block structures in its feature similarity matrix.
Feature Similarity Matrix Comparison

Key Results

HiERO demonstrates remarkable versatility, achieving state-of-the-art or highly competitive results across very different tasks:

  • Zero-Shot Procedure Learning: On the EgoProceL benchmark, HiERO outperformed existing fully-supervised methods by a massive +12.5% F1 score absolute margin in a zero-shot setting.
  • Video-Text Alignment: When evaluated on EgoMCQ and EgoNLQ, HiERO consistently boosted the performance of underlying backbones (like EgoVLP and LAVILA), proving that hierarchical features enhance standard video-text retrieval and localization tasks.
  • Goal-Step Localization: In zero-shot step localization on Ego4D Goal-Step, HiERO produced clean, non-overlapping step candidates directly from its decoder features, rivaling supervised baselines without requiring any post-processing like Soft-NMS.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Granularity Ambiguity: The model occasionally struggles with ambiguous step boundaries or granularities inherent in human annotations. For instance, it sometimes confuses a broad step like "Cook or prepare vegetables" with a fine-grained sub-step like "Cut the pepper."
  • Dependency on Pre-extracted Features: HiERO operates on top of frozen visual backbones (e.g., Omnivore, EgoVLP). End-to-end training could potentially yield even richer representations but would require substantial computational resources.
  • Graph Sub-sampling Approximations: To keep batch processing efficient on long videos, the graph partitioning step uniformly sub-samples nodes, which might inadvertently discard very brief, fine-grained actions.

Summary updated

BibTeX
@inproceedings{peirone2025hiero,
  author = {Simone Alberto Peirone and Francesca Pistilli and Giuseppe Averta},
  title = {{HiERO: understanding the hierarchy of human behavior enhances reasoning on egocentric videos}},
  booktitle = {HRSIC @ ICCV},
  year = {2025},
  url = {https://openreview.net/forum?id=CqBKWOConj},
}
Figure