Feed 0% source
Engineering AI-generated

AFUN: Towards an Affordance Foundation Model for Functionality Understanding

Generated by a local model (nvidia/Gemma-4-26B-A4B-NVFP4) from a scientific paper, claim-checked against the full text. Provenance is open by design.

AFUN: A Foundation Model for Predicting Where and How to Interact with Objects

In robotics, "affordance" is the bridge between seeing an object and knowing how to use it. A computer vision model might identify a "mug." An affordance model understands the handle is the part for grasping. It also knows the required motion is a lift, not a slide. Most current models fail to generalize. They work in labs but fail in unstructured real-world environments.

Researchers developed AFUN to solve this. It is a foundation model for functionality understanding. It identifies the "where" (the interaction region) and the "how" (the 3D motion path). AFUN uses a large-scale, standardized data pipeline. This allows it to work across diverse tasks and environments. It can be deployed without retraining for specific robot arms.

The Problem

Current affordance methods are fragmented. Most approaches fall into two camps. They either localize the interaction region without specifying motion. Or they predict motion but lack the scale to generalize. Static segmentation tells a robot to "touch the handle." However, it offers no guidance on whether to pull, rotate, or lift.

Conversely, motion-focused methods often rely on 2D trajectories. These become ambiguous when translated into 3D space. This gap creates a bottleneck for open-world robotics. A functional model must integrate task-conditional segmentation with 3D motion prediction .

Figure 1
Figure 1. Overview of AFUN. (a) We first build a data pipeline to gather a large-scale diverse dataset for affordance understanding.

Without this, robots cannot interpret commands like "open the microwave" as executable motor paths.

How It Works

AFUN's architecture performs joint prediction. It outputs a functional mask and a 3D motion curve in one pass .

Figure 4
Figure 4. AFUN architecture. Starting from an RGB-D input and a task prompt, a frozen Qwen VLM encodes the language instruction into semantic tokens and motion tokens, and a 3D encoder converts the depth observation into geometric features.

The logic rests on three pillars:

  1. MetaQuery Conditioning: The model uses a "MetaQuery" mechanism. This interfaces a frozen Vision-Language Model (VLM) with downstream decoders. Small, learnable "MetaQuery tokens" are appended to the VLM input. These tokens carry high-level reasoning from the task instruction into the segmentation and motion heads.
  2. Unified Data Pipeline: The authors built a pipeline to ingest heterogeneous data. This includes robot teleoperation, human videos, and simulations .
Figure 2
Figure 2. Unified data collection pipeline. We first aggregate data from various sources into a unified format (gray), then use Qwen3-VL [3] and SAM3 [50] to generate a functional affordance mask and a 2D tracking (green), and finally back-project them to obtain a 3D trajectory, which can be fit to a Bézier

The pipeline converts these into a shared schema. Crucially, they track actual object motion instead of hand or gripper trajectories .

Figure 3
Figure 3. Object trajectory vs. gripper heuristics. Prior datasets often use hand or gripper trajectories as motion heuristics, but these can involve unwanted pre-contact motion (right). We track the object motion itself, which is more straightforward (left). Annotating Object Tracks and Masks.

This ensures the model learns the functional result of the interaction. 3. Bézier Spline Motion Representation: To make motion actionable, the model predicts parameters for an anchored 3D Bézier spline curve. The curve starts at the contact centroid (the center of the mask). It follows a smooth path defined by predicted control points. This provides a structured trajectory for robot controllers to follow.

Numbers

AFUN shows significant gains across several metrics. In segmentation, AFUN achieves a mean gIoU (geometric Intersection over Union, a measure of mask overlap) of 69.3%. This outperforms the strongest baseline by 23.9 points [Table 1]. This delta represents a much more precise identification of functional parts.

For contact-point accuracy, AFUN is much more precise. The authors report a hit-rate gain of 12.7% to 61.3% over baselines [Table 2]. This means the model is far more likely to point the robot to the exact spot it needs to touch.

On the AFUN test set, 3D motion prediction is highly accurate. The model achieves an Absolute Displacement Error (ADE, the average distance between predicted and true points) of 0.098m. It also achieves a Final Displacement Error (FDE, the error at the end of the trajectory) of 0.139m [Table 3]. These low error values suggest the predicted paths are physically reliable.

Finally, the model works in the real world. Using a Franka Research 3 arm, the authors achieved a 90% average success rate [Table 6]. This was demonstrated on tasks like opening microwaves and drawers.

What's Missing

There are gaps a production engineer should consider.

First, the "open-world" capability has limits. The model struggles with completely novel objects . For example, it fails on items like sun visors or certain spray bottles. These are classes not well-represented in the training data.

Second, the model depends on high-quality RGB-D input. The 3D motion is generated by back-projecting masks into 3D space. Therefore, depth sensor noise will affect the Bézier curve. Inaccurate depth can lead to imprecise trajectories.

Third, the research focuses on rigid-body manipulation. The pipeline filters out many non-rigid tasks. Moving to soft-body or deformable objects remains an unsolved challenge for this architecture.

Should You Prototype This

Yes, if you are working on articulated object manipulation.

If your roadmap involves doors, drawers, or lids, AFUN provides a path to skip manual motion planning. It can be deployed without embodiment-specific fine-tuning. This is a major benefit for rapid prototyping. The Bézier spline output provides a smooth, orientation-aware path. This is much easier to use than raw point clouds or 2D tracks.

However, if your use case involves highly deformable materials, wait for future iterations. You should also ensure your hardware provides reliable depth sensing.

Code is reportedly available; see the project page at https://www.zhaoningwang.com/AFUN for the canonical link.

Figures from the paper

Figure 5
Figure 5. Qualitative Examples on Affordance Segmentation. AFUN accurately segments taskspecific affordance regions, including complex scissor handles with holes and intent-dependent regions such as shovel blades for containing or hammer handles for using. We provide more examples in Appendix B.3.
Figure 6
Figure 6. Qualitative motion prediction results. AFUN accurately localizes the actionable object region and predicts smooth, task-aligned 3D motion curves, whereas the baselines often fail to identify the relevant affordance region or produce physically plausible motion.
Novelty
0.0/10
Overall
0.0/10
#affordance#foundation model#robotics#3D motion#segmentation
How this was made
Generation

Model: nvidia/Gemma-4-26B-A4B-NVFP4
Persona: habr_engineer
Refinement: 0
Pipeline: forge-1.0

Verification

Evaluator: nvidia/Gemma-4-26B-A4B-NVFP4
Score: 97% (passed)
Claims verified: 16 / 16

Translation

Model: nvidia/Gemma-4-26B-A4B-NVFP4

Hardware & cost

NVIDIA GB10 · 128 GB unified · NVFP4 · 100% local · $0 cloud
Tokens: 128,483
Wall-time: 407.6s
Tokens/s: 315.2

Related
Next up

µ0: A Scalable 3D Interaction-Trace World Model for Cross-Embodiment Robot Le...

8.0/10· 5 min