NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AffordanceSAM: Segment Anything Once More in Affordance Grounding

Dengyang Jiang, Mengmeng Wang, Teli Ma, Hengzhuang Li, Yong Liu, Guang Dai, Lei ZhangarXiv 2025 · DOI

Introduction

Affordance grounding is the critical task of identifying actionable regions on objects based on specific textual prompts—for instance, locating the handle of a mug for "holding" or its rim for "drinking." This capability is essential for bridging the gap between high-level visual perception and low-level robotic manipulation.

Historically, research in this field has been split between weakly supervised methods, which struggle with generalization, and fully supervised methods, which are hampered by a lack of dense, pixel-level annotated data. AffordanceSAM addresses these challenges by adapting the Segment Anything Model (SAM), a powerful vision foundation model, to generate continuous, functional affordance heatmaps rather than simple binary masks.

Qualitative examples of affordance grounding: standard segmentation masks identify the whole object, while affordance maps pinpoint functional regions for specific actions like 'hold' or 'sit'.

Methodology

To transform SAM into an affordance grounding expert, the authors introduce two primary innovations:

  1. Affordance-Adaption Module: While SAM is designed for general object segmentation, affordance requires isolating functional parts based on verbs. This module introduces learnable "affordance queries" that cross-attend with text prompt features and multi-layer visual features from SAM’s encoder. This allows the model to refine SAM's binary output into action-specific heatmaps.
  2. Coarse-to-Fine (C2F) Training Recipe: To overcome the scarcity of dense labels, the model is trained in three stages: first on binary masks to learn object-verb relationships, then on post-processed pseudo-labels to expand the dataset, and finally fine-tuned on high-quality, human-annotated maps for precision.

The C2F-Aff Dataset

The authors curated the C2F-Aff dataset to support this three-stage pipeline. It includes approximately 39,000 images with binary masks, 25,000 images with automatically generated (and noise-filtered) pseudo-labels, and a final set of 2,000 manually labeled images. Evaluation is conducted on the standard AGD20K benchmark, utilizing both an "Easy Split" (seen object categories) and a "Hard Split" (unseen categories) to test zero-shot generalization.

Key Results and Insights

AffordanceSAM achieves state-of-the-art (SOTA) performance across all metrics on the AGD20K benchmark. On the challenging Hard Split, it achieved a Normalized Scanpath Saliency (NSS) of 1.761, significantly outperforming previous models like OOAL.

Comparison of models using the NSS metric. AffordanceSAM+C2F-Aff (top right) demonstrates superior performance on both Easy and Hard splits compared to previous benchmarks.

The results suggest that SAM’s rich visual features are a natural fit for localization, but require a "translator" (the adaption module) to map those features to specific actions. Furthermore, the study demonstrates that scaling training data through a coarse-to-fine pipeline can allow a straightforward supervised method to surpass more complex, multi-branch weakly supervised frameworks.

Limitations and Future Work

Despite its success, AffordanceSAM faces challenges in complex visual scenes, such as images containing multiple objects with the same affordance or single objects requiring multiple simultaneous actions (e.g., "hold and drink"). Future research will focus on enabling the model to handle these multi-object and multi-action scenarios in a single pass, enhancing its robustness for real-world robotics.

Summary updated

BibTeX
@misc{jiang2025affordancesam,
  author = {Dengyang Jiang and Mengmeng Wang and Teli Ma and Hengzhuang Li and Yong Liu and Guang Dai and Lei Zhang},
  title = {{AffordanceSAM: Segment Anything Once More in Affordance Grounding}},
  year = {2025},
  eprint = {2504.15650},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.15650},
}
Figure