Introduction
Goal-Conditioned Reinforcement Learning (GCRL) is a powerful framework for training robots to perform diverse tasks. However, the choice of goal representation significantly impacts learning efficiency and generalization. Common approaches like 3D coordinates require precise calibration, while raw images or text embeddings often struggle with unseen objects. This paper proposes a novel solution: using object-agnostic binary masks as both the goal representation and the reward signal.
The Challenge of Goal Representation
Traditional GCRL faces a trade-off between ease of use and performance. 3D coordinates are highly effective but difficult to obtain in unstructured environments. Conversely, visual goals (like target images) are easier to provide but the resulting policies often overfit to specific object appearances. Sparse rewards further exacerbate these issues, leading to slow convergence.
Mask-Based Reinforcement Learning
The authors introduce a dynamic, mask-based approach that treats the target object as a binary shape. By appending a binary mask to the visual input, the policy learns to interact with "blobs" rather than specific objects.
1. Dynamic Mask Representation
Instead of a static goal image, the system uses a binary mask that is updated at every time step. This provides a continuous visual cue of the target's location relative to the robot's perspective.
2. Reward from Mask Size
The system utilizes the pixel count of the target mask to formulate a dense reward. As the robot approaches the object, the mask grows larger, providing immediate feedback without requiring 3D geometric calculations. This dense signal allows for much faster training compared to sparse reward baselines.
3. Real-World Grounding
To bridge the gap between simulation and reality, the framework employs open-vocabulary detectors like Detic or Grounding DINO. This allows users to specify goals via text (e.g., "pick up the apple"), which the detector then converts into the binary mask required by the RL policy.
Experimental Results
The method was evaluated across multiple robotic platforms, including Franka and UR10e arms in simulation and real-world settings, as well as mobile navigation in Isaac Sim.
Efficiency and Convergence
The mask-based representation demonstrates superior learning efficiency. In mobile navigation tasks, the agent using masks converged significantly faster than those using one-hot encodings or CLIP embeddings, matching the performance of agents with access to privileged 3D state information.
Generalization and Accuracy
A key strength of the object-agnostic approach is its ability to generalize to unseen objects. Because the policy focuses on the mask shape rather than texture or color, it achieves near-perfect accuracy (99.9% in simulation) on objects not encountered during training.
In real-world tests, a UR10e arm trained entirely in simulation achieved a 96% success rate, demonstrating robust sim-to-real transfer even with "out-of-distribution" objects like plush toys. Furthermore, a Franka Panda arm was able to learn reaching tasks from scratch in the real world in approximately 60,000 steps, or just a few hours of training.
Conclusion
By leveraging object-agnostic masks, this research provides a path toward more general and efficient robotic learning. The approach simplifies the reward structure, enhances generalization to novel objects, and facilitates seamless transition from simulation to real-world deployment. Future work will explore handling complex occlusions and multi-stage task sequences.
Summary updated