TL;DR
This paper introduces text-driven affordance learning, a novel framework that enables robots to predict where to interact with an object (contact points) and how to move it (manipulation trajectories) based on natural language instructions. By automatically generating a massive pseudo-labeled dataset of over 80,000 instances (TextAFF80K) from egocentric videos, the authors train modified referring expression comprehension models that successfully handle complex, multi-step hand-object and tool-object interactions involving both linear and rotational movements.
What Problem Does This Paper Address?
For collaborative robots to operate effectively in human environments, they must understand "affordances"—the potential actions an agent can take on an object. Traditional visual affordance learning methods suffer from two major bottlenecks:
- Lack of Context: They rely on pre-defined, static object and action categories, failing to adapt when a user gives a specific natural language command (e.g., distinguishing between "turn off the water tap" vs. "reposition the faucet" on the exact same fixture).
- Simplistic Action Models: Prior works focus almost exclusively on direct hand-object interactions and assume simple linear trajectories, completely ignoring tool-use (tool-object interaction) and complex rotational movements (like unscrewing a cap or turning a handle).
Manually annotating the millions of frames required to teach robots these diverse, real-world interactions is prohibitively expensive. This paper tackles the challenge of scaling up affordance learning to handle diverse text instructions and complex trajectories without manual annotation overhead.
Methods
The authors propose an automated pseudo-label creation pipeline and a text-conditioned neural network architecture.
1. Automated Pseudo-Label Pipeline
Given an egocentric video clip, the pipeline automatically extracts training data through three steps:
- Interaction Classification: A large language model (LLaMA2-70B) processes the video's action description and context to classify the action as either a hand-object or tool-object interaction, explicitly identifying the tool being used.
- Projection of Contact Points: An off-the-shelf hand-object detector and an open-vocabulary segmentation model locate the contact region during the interaction frame ($F_{inter}$). Homography matrices then project these contact points backward in time to the observation frame ($F_{obs}$) before the action begins.
- Projection of Trajectory: A dense point tracker (CoTracker) tracks the movement during the interaction. To filter out camera shake and noise, the raw coordinates are fitted via curve regression to a robust 5-parameter trajectory model that explicitly accounts for both translation and rotation: $$f(t) = \mathbf{x}_0 + a(\mathbf{R}(\theta t) - \mathbf{E})\mathbf{v}_\psi + b\mathbf{v}_\phi t$$
2. Network Architecture
The authors extend two state-of-the-art Referring Expression Comprehension (REC) models—CLIPSeg and MDETR. They add deconvolutional layers to output contact point heatmaps and integrate a transformer encoder paired with a multi-layer perceptron (MLP) to regress the continuous trajectory parameters.
Datasets
- TextAFF80K (New): The primary contribution for training, automatically generated from the large-scale egocentric video datasets Ego4D and Epic-Kitchens. It contains 84,770 instances, spanning 5,288 distinct objects and 426 actions, making it the largest and most diverse dataset in the visual affordance learning domain.
- Evaluation Dataset (New): A high-quality benchmark consisting of 1,575 manually annotated instances (split into 799 validation and 776 test cases) collected using a custom annotation tool to ensure rigorous evaluation.
Key Insights and Ideas
- Text is the Ultimate Disambiguator: Traditional object-detection-based affordance models struggle when multiple actions are possible on a single object. Textual prompts provide the necessary grounding to shift the predicted contact points and trajectories based on intent.
- Rotational Modeling Matters: Incorporating rotation into the trajectory function significantly improves performance for complex tasks (e.g., opening, stirring, turning) where linear approximations fail.
- The Failure of Standard Object Detectors in Tool Use: Traditional models that rely on bounding-box object detectors (like Grounding DINO) perform well on simple "pick and take" tasks but fail catastrophically during tool-object interactions because they struggle to isolate the tool's active edge versus the target object. Text-conditioned segmentation models handle this compositionality much better.
Key Results
The extended REC models trained on TextAFF80K were evaluated against strong baselines like VRB and Lang-SAM:
- Tool-Object Interactions: MDETR and CLIPSeg dramatically outperformed conventional models. For contact point prediction, MDETR achieved an AUC-Judd score of 90.2, compared to VRB's 71.6.
- Trajectory Accuracy: In tool-use scenarios, MDETR reduced the Average Displacement Error (ADE) to 22.7 (down from VRB's 28.0), proving the value of modeling rotational paths.
- Ablation Studies: Removing object names from the text input caused the largest drop in contact point accuracy (Sim score dropped from 28.7 to 19.1), proving that the models are genuinely leveraging the text rather than relying purely on visual biases.
Limitations and Future Work
While the framework excels at understanding verbs to dictate the shape of a trajectory, the authors note that the trajectory model is somewhat object-agnostic. For instance, it might predict a similar linear path for a "pick" action regardless of the specific geometry of the object being grabbed.
Future Directions: The authors plan to transition this text-driven approach from 2D egocentric images into 3D environments to directly interface with physical robotic manipulation systems.
Summary updated