Learning Visual Affordance Grounding From Demonstration Videos

Hongchen Luo, Wei Zhai, Jing Zhang, Yang Cao, Dacheng Tao

Affordance grounding—identifying where and how a human can interact with an object—is a fundamental task in computer vision and robotics. However, it is often fraught with ambiguity because a single object can support multiple actions at different locations, or the same location can support different actions. This paper introduces HAG-Net (Hand-aided Affordance Grounding Network), which leverages human hand positions and actions in demonstration videos as "aided clues" to resolve these ambiguities. By distilling knowledge from dynamic videos into a static image grounding model, the authors achieve state-of-the-art results in predicting interaction heatmaps.

The Challenge: Spatial and Semantic Ambiguity

Visual affordance grounding aims to map potential actions onto an image, typically as a heatmap. Current appearance-based models struggle with two primary challenges:

  1. Spatial Ambiguity: One object can have multiple interaction regions (e.g., an air fryer has a drawer to "pull" and a knob to "rotate").
  2. Semantic Ambiguity: The same region might support different actions (e.g., a knob can be "touched" or "rotated").
Figure 1: Examples of spatial and semantic ambiguity. (a) shows different actions (Pull vs. Rotate) on different parts of an air fryer. (b) shows different actions (Rotate vs. Touch) on the same knobs of a washing machine.

Existing methods often fail because they rely solely on the static appearance of the object. This research argues that the "intention" of a human action—visible through hand movement and positioning in demonstration videos—is the missing link needed to resolve these ambiguities.

Methodology: HAG-Net

The authors propose HAG-Net, a dual-branch architecture designed to transfer knowledge from video demonstrations to static object images.

The Video Branch

This branch processes demonstration videos to extract high-fidelity interaction signals. It employs a hand-related selection network (based on a pruned YOLOv3) to identify keyframes where interaction actually occurs. A hand-aided attention mechanism then forces the network to focus on the area around the hand, capturing both the hand and its immediate context while excluding occluded parts. Finally, an LSTM aggregates these features over time to capture the temporal "action" signature.

Figure 2: The HAG-Net pipeline for processing video demonstrations. Keyframes are selected to focus on hand-object interactions, which then inform the affordance learning process.

The Object Branch and Knowledge Distillation

The object branch takes a static image and an action label as input. It features a Semantic Enhancement Module (SEM) that uses the action category to modulate the object's features, helping the network focus on parts of the object relevant to that specific action.

During training, a distillation loss aligns the features of the object branch with those of the video branch. This allows the model to "imagine" the hand interaction when looking at a static image, effectively transferring the spatial and semantic cues learned from the video. At inference time, the video branch is discarded, and the model uses Grad-CAM to produce the final affordance heatmap from a single static image.

Key Results and Insights

HAG-Net was evaluated on the OPRA (Online Product Review) and EPIC-KITCHENS datasets, achieving state-of-the-art performance across several metrics (KLD, SIM, AUC-J, and NSS).

  • Hands as a Spatial Anchor: The hand's position serves as a high-fidelity signal for where interaction happens, filtering out "distractor" regions.
  • Action as a Semantic Filter: By using the action label to modulate feature maps, the network learns that the same pixels can represent different affordances depending on the intended goal.
  • Superior Generalization: The model showed impressive "zero-shot" style generalization to novel objects not seen during training, outperforming competitors on both datasets.
  • Effective Disambiguation: Qualitative results show that HAG-Net successfully distinguishes between different actions on the same object (e.g., "open" vs. "wash" on a sink) far better than methods that ignore hand cues.

Conclusion and Future Work

HAG-Net demonstrates that human demonstrations are a powerful tool for grounding visual affordances. By treating hands as spatial anchors and actions as semantic filters, the model resolves long-standing ambiguities in static image analysis. Future work may involve moving toward a strictly end-to-end architecture and exploring Transformer-based models to better handle long-range temporal dependencies in videos.

Summary updated

BibTeX
@article{luo2021learning,
  author = {Hongchen Luo and Wei Zhai and Jing Zhang and Yang Cao and Dacheng Tao},
  title = {{Learning Visual Affordance Grounding From Demonstration Videos}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2021},
  doi = {10.1109/tnnls.2023.3298638},
}
Figure