TL;DR
UniAfford is a unified framework that bridges the gap between 2D (image-based) and 3D (point-cloud-based) affordance perception—the ability of an AI to identify where and how to interact with objects. By introducing a novel Token Router for Tasks that maps internal model states directly to specialized decoders, UniAfford achieves state-of-the-art performance and remarkable zero-shot generalization across both visual and geometric spaces.
What Problem Does This Paper Address?
Affordance perception is critical for embodied AI (like robots) to understand that a handle is for "grasping" or a chair is for "sitting." Historically, this field has been fragmented: 2D researchers use large-scale image datasets with pixel masks, while 3D researchers use sparse point clouds with geometric annotations.
Because these modalities use different architectures, supervision formats, and taxonomies, models rarely learn the underlying "functional semantics" that connect them. A robot might recognize a "graspable" handle in a photo but fail to translate that understanding to the 3D point cloud it sees through its depth sensors. UniAfford aims to unify these worlds into a single, generalizable semantic hub.
Methods
The authors propose a new multitask paradigm called Token Router for Tasks.
- Shared Semantic Hub: The system uses a Multimodal Large Language Model (MLLM), specifically Qwen3-VL, as a central processor. It takes text instructions, RGB images, and 3D point clouds as inputs.
- The Token Router: Unlike traditional models that require the MLLM to generate a specific word (like "[SEG]") to trigger a task, UniAfford uses a router. This router analyzes the MLLM’s internal hidden states and predicts whether they should be routed to a text, image, or point-cloud branch.
- Dual Decoders:
- 2D Branch: Uses a SAM-style (Segment Anything Model) decoder to produce pixel-level masks.
- 3D Branch: Uses a SONATA-based decoder for point-wise predictions.
- Similarity-Based Alignment: Instead of simple projection, the decoders use similarity-based coupling. They compare the routed "affordance queries" from the MLLM against dense spatial features from the image/point cloud to localize interaction regions.
Datasets
To train such a model, the authors created UniAfford-Data, the first dataset to integrate 2D and 3D affordance annotations under a unified taxonomy.
- Unified Taxonomy: They normalized object and affordance names across multiple sources (like RAGNet, ReasonAff, and PIADv2) into 162 shared categories.
- Semantic Pseudo-pairing: The dataset doesn't require perfectly aligned 2D-3D captures of the same object. Instead, it pairs an image of a "mug handle" with a 3D point cloud of a different "mug handle," forcing the model to learn the abstract concept of "grasping a handle" across modalities.
- Scale: The dataset includes 25k 2D samples and 69k 3D samples.
Key Insights and Ideas
- Routing > Markers: Decoupling task dispatch from language generation is a major win. By routing hidden states directly, the model can use dense prediction losses (like Dice loss) to shape the MLLM's internal representations during training, leading to better feature alignment.
- Cross-Modal Synergy: The authors found that joint 2D-3D training improves performance even on single-modality tasks. Learning the geometry of a chair in 3D helps the model better segment a chair in a 2D image, and vice versa.
- Hidden Semantics: Language-head diagnostics revealed that the hidden states sent to the decoders actually carry rich linguistic meaning. Even when the model isn't "talking," its internal states for a 3D grasp query often decode into words like "handle" or "hold."
Key Results
UniAfford demonstrates impressive zero-shot generalization, meaning it performs well on new benchmarks it wasn't specifically trained on:
- 2D Zero-Shot (AGD20K): Achieved 27.52 gIoU, outperforming many specialized reasoning-based MLLMs.
- 3D Zero-Shot (GEAL*): Reached an AUC of 83.55, significantly higher than existing zero-shot baselines like IAGNet (69.06).
- Efficiency: In 2D tasks, UniAfford achieved a throughput of 8.20 samples/s, nearly 7.8x faster than the Affordance-R1 baseline, thanks to its efficient routing and decoder design.
Limitations and Future Work
While powerful, UniAfford has a few hurdles to clear:
- Computational Cost: It relies on large pretrained backbones, which are memory-intensive (requiring ~11.6 GiB for inference).
- Spatial Correspondence: The current "semantic pairing" doesn't establish pixel-to-point correspondence. Future work could integrate instance-level alignment for even tighter geometric consistency.
- Real-World Robotics: The study focuses on grounding (identifying regions) rather than closed-loop control. The next step is deploying this unified understanding onto physical robotic platforms for real-world manipulation.
Summary updated