Weakly Supervised Affordance Detection

Johann Sawatzky, Abhilash Srikantha, Juergen GallCVPR 2017

Abstract

Detecting object affordances—functional regions like handles or blades—is crucial for robotic interaction but typically requires expensive pixel-wise annotations. This paper presents a weakly supervised framework that learns affordance segmentation from sparse keypoint clicks. By employing a multilabel CNN with sigmoid-based loss and a GrabCut-based label propagation strategy, the method achieves high performance while significantly reducing human effort. Evaluation on the existing UMD dataset and a newly introduced, more realistic CAD120 dataset demonstrates that weak supervision can effectively bridge the gap toward full supervision in functional scene understanding.

Introduction

In robotics and computer vision, identifying an object's category (e.g., "knife") is often insufficient; a robot must also understand its functional regions, or affordances, to interact with it correctly. For instance, it needs to know where to hold a knife (the handle) and where it cuts (the blade). Traditional semantic segmentation approaches for this task are labor-intensive, requiring pixel-perfect masks for training. Furthermore, affordances are inherently multilabel, as a single object part may serve multiple functions (e.g., a bowl's interior is both "containable" and "supportable").

Methodology

The proposed framework leverages weak supervision in the form of keypoints—simple clicks on functional regions—to train a deep neural network.

Multilabel CNN Architecture

Unlike standard segmentation networks that use a softmax layer (assuming mutually exclusive categories), the authors utilize a sigmoid-based loss. This allows the network to predict multiple affordances for the same pixel simultaneously, reflecting the overlapping nature of functional regions. Backbones such as VGG-16 and ResNet-101 are employed to extract features.

Label Propagation and Refinement

To expand sparse keypoints into dense masks during training, the authors integrate GrabCut. Initial CNN predictions and keypoint annotations initialize a GrabCut segmentation that "spreads" labels to visually similar neighboring pixels, creating "pseudo-ground truth" for iterative model refinement.

Visualizing the multilabel affordance detection task across various scenes.

Datasets

The study evaluates performance across two benchmarks:

  1. UMD Part Affordance Dataset: A large-scale dataset of objects on turntables with clean backgrounds, serving as a baseline for simpler environments.
  2. CAD120 Affordance Dataset: A new, more challenging benchmark introduced by the authors. It contains over 3,000 images of humans interacting with objects in cluttered kitchen environments, featuring 7 affordance classes: openable, cuttable, containable, pourable, supportable, holdable, and background.
Examples from the CAD120 dataset showing humans interacting with objects in realistic kitchen settings.

Results and Discussion

The keypoint-based method significantly outperformed image-level supervised baselines, nearly doubling mean Intersection-over-Union (IoU) on the UMD dataset (0.67). Notably, the performance gap between weak and full supervision is remarkably narrow; on the CAD120 actor split, the weakly supervised model reached a mean IoU of 0.32 compared to 0.59 for full supervision, despite the massive reduction in annotation cost.

The model also demonstrated strong generalization to novel objects, indicating it learns functional visual features rather than just memorizing specific object instances. However, challenges remain for rare classes like "pound," where limited training data hinders the network's ability to learn specific cues.

Conclusion

This work demonstrates that strategic keypoint annotations combined with classical computer vision techniques like GrabCut provide a powerful signal for training affordance detection models. While sensitive to background noise in complex scenes, the approach offers a scalable path toward functional scene understanding. Future work may explore "free" supervision from human-object interaction videos to further reduce the need for manual labeling.

Summary updated

BibTeX
@inproceedings{sawatzky2017weakly,
  author = {Johann Sawatzky and Abhilash Srikantha and Juergen Gall},
  title = {{Weakly Supervised Affordance Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.552},
}
Figure