Reasoning Mamba: Hypergraph-Guided Region Relation Calculating for Weakly Supervised Affordance Grounding

Yuxuan Wang, Aming Wu, Muli Yang, Yukuan Min, Yihang Zhu, Cheng DengCVPR 2025

Abstract

Weakly Supervised Affordance Grounding (WSAG) aims to identify object regions that enable specific interactions using only image-level labels. Traditional methods often treat these regions in isolation, failing to capture the structural relationships between object components. We propose Reasoning Mamba (R-Mamba), a framework that leverages hypergraphs to model complex many-to-many region relationships and a Hypergraph-guided State Space (HSS) block for global reasoning. By integrating first-person (egocentric) and third-person (exocentric) perspectives, R-Mamba achieves state-of-the-art performance on major benchmarks, demonstrating superior localization accuracy and generalization to unseen objects.

The Challenge of Affordance Grounding

Affordance grounding identifies where an action can be performed on an object—for instance, the handle of a mug for "holding" or the blade of a knife for "cutting." In a weakly supervised setting, models are trained without pixel-level annotations, relying instead on high-level action labels.

The primary difficulty lies in the relational nature of affordances. A teapot's ability to "pour" is not just a property of the spout but emerges from the relationship between the handle, the body, and the spout. Existing methods often rely on simple heatmaps that ignore these structural dependencies. While Graph Neural Networks (GNNs) can model point-to-point connections, they struggle with the complex, multi-part interactions inherent in object functionality.

Methodology: Reasoning Mamba (R-Mamba)

The R-Mamba framework introduces two core innovations to address these relational complexities:

1. Hypergraph Construction and Evolution

Unlike standard graphs, a hypergraph uses hyperedges to connect multiple vertices simultaneously, effectively capturing "many-to-many" relationships. R-Mamba extracts feature embeddings using DINO-ViT and groups related visual regions into hypergraphs. These graphs undergo a three-stage evolution:

  • Expansion: New edges are added via K-means clustering to discover potential functional groups.
  • Guidance: Egocentric images provide a "user's perspective" to filter irrelevant background elements in exocentric images.
  • Pruning: Redundant data is removed using Gumbel Softmax to maintain computational efficiency.
Overview of the R-Mamba framework, illustrating the transition from image encoding to hypergraph-guided localization.

2. Hypergraph-guided State Space (HSS) Block

To process these relationships globally, the researchers integrated hypergraphs with Mamba, a State Space Model (SSM) known for its efficiency in handling long-range dependencies. The HSS block performs bidirectional scans of both vertices (individual regions) and hyperedges (functional groups). This mechanism allows the model to reorganize local region relationships into a comprehensive global understanding of the object's affordances.

Experimental Results

The model was rigorously evaluated on the AGD20K and HICO-IIF datasets, covering both "Seen" (familiar objects) and "Unseen" (novel objects) scenarios.

Quantitative Performance

R-Mamba established new state-of-the-art benchmarks on AGD20K:

  • Seen Objects: Achieved a Similarity (SIM) score of 0.414 and a Normalized Scanpath Saliency (NSS) of 1.247, significantly outperforming previous leaders like LOCATE.
  • Unseen Objects: Maintained high performance, proving that the model learns functional concepts (e.g., "what makes something a handle") rather than just memorizing specific shapes.

Qualitative Analysis

Visualizations confirm that R-Mamba produces tighter, more precise heatmaps that align closely with human-annotated ground truth. Unlike older methods that often generate blurry or misplaced predictions, R-Mamba accurately identifies the functional core of an interaction.

Qualitative comparison of affordance grounding results between R-Mamba and existing methods across seen and unseen categories.

Conclusion and Future Directions

R-Mamba demonstrates that modeling structural relationships through hypergraphs and global reasoning via State Space Models is a powerful approach for affordance grounding. While the model is sensitive to the distance threshold used in hypergraph construction, its ability to generalize to unseen objects marks a significant step forward. Future research may extend this reasoning to dynamic video sequences or real-time robotic applications, where understanding object functionality is critical for interaction.

Summary updated

BibTeX
@inproceedings{wang2025reasoning,
  author = {Yuxuan Wang and Aming Wu and Muli Yang and Yukuan Min and Yihang Zhu and Cheng Deng},
  title = {{Reasoning Mamba: Hypergraph-Guided Region Relation Calculating for Weakly Supervised Affordance Grounding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=NNCOdDS4Gl},
}
Figure