TL;DR
Large Language Models are great at high-level reasoning ("to turn a faucet, reach for the handle, then push"), but terrible at guessing exact physical numbers ("stop precisely 0.083 meters to the right of the handle"). Language2Subtasks (L2S) bridges this gap by having an LLM break complex robotic tasks into smaller, reusable skills, while letting reinforcement learning figure out the exact physical handoff numbers between them. As the robot tackles a sequence of tasks, it builds its own skill library from scratch, solving tough multi-step manipulation problems where monolithic approaches fall flat.
What Problem Does This Paper Address?
Imagine teaching a robot arm to open a drawer, pick up a cube, place it inside, and close the drawer. Using standard reinforcement learning (RL) with a "sparse" reward—meaning the robot gets zero points until the entire sequence is finished—is notoriously slow.
Recently, researchers brought in LLMs to help in two main ways, both with catches:
- LLM Planners string together existing robot skills, assuming human engineers already built and tuned a library of primitive skills beforehand.
- LLM Reward Generators (like Eureka or Text2Reward) write Python code that gives the robot continuous "warmer/colder" feedback (dense rewards) to train a single, monolithic policy for the whole task. However, one giant policy struggles on long, multi-stage tasks and can't easily reuse parts of what it learned (like "grasping") on a new task tomorrow.
Even if you ask an LLM to break a task into smaller subtasks, a nagging physical problem remains: LLMs don't know the low-level geometry of your robot. If Subtask 1 ("reach the faucet") stops two centimeters too far to the left, Subtask 2 ("push the handle") starts from a bad state and fails. How do you autonomously build a library of reusable skills when the LLM's spatial guesses are slightly off?
Methods
L2S turns natural language descriptions into chains of executable, reusable skills—starting from an empty skill library.
Here is what is standard versus what is new:
- LLM Task Decomposition (Building on prior art): Given a Pythonic summary of the environment and a task description, GPT-4 breaks the task into a chronological chain of subtasks. For each subtask, it writes a Python dense reward function and a termination condition (when to switch to the next skill), exposing uncertain spatial thresholds as tunable parameters.
- Parameter-Conditioned Subtasks (Novel application): Instead of trusting the LLM's exact numbers, L2S treats those numbers like movable goalposts. Using standard Soft Actor-Critic (SAC), each subtask policy is trained across a Gaussian distribution of parameter values around the LLM's initial guess, making the skill adaptable.
- Downstream Handoff Optimization (Core novelty): You only know if Subtask 1 ended in a good spot when you try to train Subtask 2. While training Subtask 2, L2S freezes Subtask 1's policy and uses the Cross-Entropy Method (CEM, a black-box optimizer) to tune Subtask 1's reward and termination parameters so its ending state sets Subtask 2 up for maximum reward.
- Two-Stage Feedback & Skill Reuse: If a subtask fails to learn, an automated audit checks for "stagnant" reward terms (values that barely budge during training) and prompts the LLM to fix its code or rethink the decomposition. Once learned, subtasks and their text descriptions are saved to a growing library so the LLM can reuse and re-parameterize them for future tasks.
Datasets
Because this is reinforcement learning, L2S is evaluated on interactive physics simulation benchmarks rather than static datasets:
- LORL-Meta-World: A tabletop Sawyer robot domain featuring a drawer, a faucet, and two mugs.
- ManiSkill2: A harder manipulation benchmark where the authors integrated cube and cabinet environments (interacting with two cubes, drawers, and doors).
In both environments, the authors evaluate a curriculum of 5 single-goal tasks followed by multi-goal compositional tasks (e.g., OpenDrawer-PlaceCubeDrawer-CloseDrawer, plus multi-cube stacking and placing).
Key Insights and Ideas
- Handoffs make or break skill chains: Comparing L2S against an ablation that keeps the LLM's original numbers (
L2S-fixed) shows that LLM spatial guesses are fine for simple drawer pulls, but fatal for precision tasks. On StackCube, optimizing the handoff parameters jumps the success rate from 1% to 72%. - Parameterization turns one skill into many: In "Turn faucet left," L2S optimizes the reach offset to
+0.083m(right side of the handle). When subsequently asked to "Turn faucet right," L2S doesn't train a new reaching policy—it reuses the exact same skill and shifts the parameter to-0.095mto approach from the left. - Chaining beats summing: What if you take the exact same subtask rewards generated by L2S, sum them up, and train a single policy? In controlled ablations, the monolithic policy hits 28% on PlaceCubeDrawer, while L2S's chained sub-policies reach 92%. Temporal modularity itself is doing heavy lifting.
Key Results
Averaged across 5 random seeds, L2S matches baselines on simple tasks and pulls decisively ahead on precision and long-horizon tasks:
- Complex Manipulation (ManiSkill2): On StackCube and PlaceCubeDrawer, L2S achieves 72% and 92% success, whereas monolithic LLM-reward baselines Text2Reward (T2R) and Eureka score 0%–2%.
- Long-Horizon Composition: On OpenDrawer-PlaceCubeDrawer-CloseDrawer, L2S hits 84% success compared to 0% for T2R and 3% for Eureka. When scaling up to StackThreeCubes, L2S maintains 77% success while T2R gets 0%.
- Efficiency: Under the same environment interaction budget, L2S uses 2.35× the LLM tokens and 1.45× the GPU-hours of T2R—far cheaper than Eureka's evolutionary search—while converging on more tasks in fewer total environment steps. Most tasks require only 1.0 to 1.8 LLM feedback iterations.
Limitations and Future Work
- Privileged Simulator State: All experiments run in state-based simulation where LLM-generated reward and termination code can directly read exact 3D object coordinates. Moving to camera pixels and real-world hardware is an open next step.
- Low-Dimensional Parameter Search: CEM works well here because each handoff only tunes a handful of scalar parameters (around ten in these experiments). Scaling to higher-dimensional skill interfaces will likely require a more sample-efficient optimizer.
- Broader Domains: So far, L2S has only been tested on tabletop manipulation; extending it to domains like navigation remains future work.
Summary updated