UniAfford: Token-Routed Multitask Learning for Generalizable 2D-3D Affordance Perception

Yuhao Liu, Yiming Zhong, Hanqing Wang, Shaocheng Yan, Yuhang Zhang, Wenzhou Lyu, Ziyang Ding, Wei Zhang, Xue Zhao, Jin Pan, Yuexin Ma, Xinge ZhuarXiv 2026

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.

  1. 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.
  2. 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.
  3. Dual Decoders:
    • 2D Branch: Uses a SAM-style (Segment Anything Model) decoder to produce pixel-level masks.
  4. 3D Branch: Uses a SONATA-based decoder for point-wise predictions.
  5. 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.
Overview of the UniAfford architecture showing the flow from multimodal inputs to the token router and dual decoders.

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.
Table 1: Comparison with Existing affordance datasets. UniAfford-Data provides both 2D and 3D annotations under a unified object–affordance indexing scheme.

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.
Figure 1: Overview of UniAfford-Data and UniAfford. Left: Pixel-level and point-level annotations organized under a shared object–affordance taxonomy with semantic pairing across instances. Right: UniAfford achieves strong performance across OOD zero-shot transfer and modality-isolated branch- wise evaluations in both 2D and 3D affordance grounding.

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

BibTeX
@misc{liu2026uniafford,
  author = {Yuhao Liu and Yiming Zhong and Hanqing Wang and Shaocheng Yan and Yuhang Zhang and Wenzhou Lyu and Ziyang Ding and Wei Zhang and Xue Zhao and Jin Pan and Yuexin Ma and Xinge Zhu},
  title = {{UniAfford: Token-Routed Multitask Learning for Generalizable 2D-3D Affordance Perception}},
  year = {2026},
  eprint = {2609.37264},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.37264},
}
Figure