Abstract & TL;DR
Generalization remains one of the most critical challenges for robust robot learning systems. While recent approaches show promise in adapting to novel objects or visual shifts, generalizing to entirely new tasks is notoriously difficult. RT-Trajectory introduces a novel method to control robots using 2D "trajectory sketches" overlaid on camera images. By training on "hindsight" sketches extracted from existing datasets, the model learns to generalize to new tasks—like folding a towel or restocking a drawer—simply by following a rough visual path provided by a human or an AI.
The Challenge of Task Generalization
Generalization is the "holy grail" of modern robotics. While we have made massive strides in getting robots to recognize new objects or handle different lighting conditions, teaching a robot to perform a new task (requiring a novel motion) remains incredibly difficult.
Current methods typically rely on two conditioning signals:
- Language Conditioning: Instructing a robot to "pick up the apple." While intuitive for humans, language lacks spatial precision. If a robot hasn't been explicitly trained on the word "fold," it won't realize that the arm motion for folding a towel is kinematically similar to the "pick and place" motions it already knows.
- Goal Images: Showing the robot a picture of the finished task. This approach is often "over-specified"—the robot might get distracted by irrelevant background details in the image rather than focusing on the required movement.
The authors identify a crucial gap: the field needs a communication medium that is more spatially descriptive than text, yet less cluttered than a full goal image.
Methods: RT-Trajectory
The researchers propose RT-Trajectory, which uses coarse 2D sketches as the primary conditioning signal for the robotic policy.
1. Hindsight Trajectory Labeling
The breakthrough in this approach is the automated generation of training data. Instead of requiring humans to manually draw thousands of sketches, the team leverages existing robot datasets (like the RT-1 dataset). They automatically project the robot's past arm movements onto 2D camera frames, creating "hindsight" sketches that serve as perfect training labels.
2. The Sketch "Language"
These sketches are not merely flat lines; they encode several vital pieces of kinematic information:
- Spatial Path: A 2D curve showing the intended path of the gripper.
- Temporal Progress: The line changes color (via RGB channels) to indicate time, helping the robot understand speed and direction.
- Height (2.5D): In the advanced version, the green channel encodes the height of the gripper relative to the table.
- Interaction Markers: Small circles on the line indicate exactly where the robot should open or close its gripper.
3. Architecture
The system utilizes the RT-1 (Transformer) backbone but strips away the language-processing layers. Instead, the trajectory sketch is concatenated directly with the current camera image. This allows the Transformer to attend to the visual path as it decides on the next low-level action.
Datasets and Evaluation
- Training: The model was trained on the RT-1 dataset, consisting of roughly 73,000 real-world robot demonstrations covering 542 "seen" tasks (predominantly basic picking and placing).
- Evaluation: To rigorously test generalization, the authors created a benchmark of 7 unseen skills that require motions not explicitly present in the training labels, such as Fold Towel, Swivel Chair, and Move within Drawer.
Key Insights
- The "Goldilocks" Representation: Trajectory sketches strike a perfect balance. They are detailed enough to provide low-level motion guidance but coarse enough that the robot must still rely on its own visual sensors to handle the final centimeters of a grasp.
- Bridging the Semantic Gap: Because the model learns motions rather than words, it can perform a novel "folding" task if the provided sketch resembles a "pick and place" motion it saw during training. It effectively interpolates between known motions to solve unknown tasks.
- Visual Prompt Engineering: Just as users tweak text prompts for Large Language Models, operators can "debug" a robot's failure by simply redrawing the sketch. If the robot misses a handle, the user can draw a path that reaches slightly further.
Results
RT-Trajectory significantly outperformed state-of-the-art baselines on novel tasks:
- Success Rate: RT-Trajectory (2.5D) achieved a 67% success rate across the unseen tasks.
- Baseline Comparison: Under identical conditions, the language-conditioned RT-1 managed only 16.7%, and the massive RT-2 (which uses internet-scale data) only hit 11.1%. Even goal-image conditioning (RT-1-Goal) peaked at just 26%.
- Versatility: The system is highly adaptable. It works whether the sketch comes from a human drawing on a tablet, a video of a human hand performing the task, or an LLM (like GPT-4) writing code to generate waypoints.
Limitations and Future Work
- Stationary Constraints: The current model assumes the robot base and camera are stationary. It does not yet account for "whole-body control" where the robot might need to navigate and reach simultaneously.
- Visual Servoing: The robot must be able to see its own gripper and the trajectory path in the same frame. If the gripper leaves the camera's field of view, the system struggles.
- Strictness: The model follows the sketch as a "best effort" guide but lacks the ability to understand strict constraints (e.g., "do not cross this specific red line"). Future work could involve more explicit constraint handling for safety-critical environments.
Summary updated