TL;DR
LEACL bridges Large Language Models (LLMs) and Automatic Curriculum Learning (ACL) to train reinforcement learning agents on complex, long-horizon robotic tasks using only sparse rewards. By leveraging an LLM to automatically decompose tasks and generate parametric task spaces, it eliminates the need for tedious human reward engineering and manual curriculum design.
What Problem Does This Paper Address?
Reinforcement learning (RL) struggles with long-horizon robotic manipulation tasks—such as opening a cabinet, picking up an object, and placing it inside—because the chance of randomly stumbling upon the correct sequence of actions is near zero when rewards are sparse (i.e., only given upon full task completion).
To fix this, researchers use Automatic Curriculum Learning (ACL) to guide the agent by progressively transitioning from easy to hard tasks. However, standard ACL requires humans to manually define a "task parameter space" (e.g., initial object positions) and "difficulty measures" for every new problem. Alternatively, recent LLM methods try to automatically generate dense reward functions, but these are notoriously brittle, prone to optimization exploitation, and often require hand-crafted templates. LEACL aims to eliminate human intervention entirely by letting LLMs handle the curriculum setup while keeping the underlying rewards purely sparse.
Methods
LEACL operates in three sequential stages:
- LLM-based Task Decomposition: A high-level LLM breaks down a long-horizon target task into a sequence of natural language subtasks. A second LLM translates these into formal Planning Domain Definition Language (PDDL) specifications, utilizing an iterative reflection mechanism to self-correct syntax errors.
- LLM-based Meta-Task Generation: Instead of writing complex reward code, the LLM acts as a meta-task generator. It outputs a parameterized task space (as a Python function template) and ranks task variations by difficulty (e.g., varying the percentage of a drawer's initial opening).
- Plug-and-Play ACL: These LLM-generated specifications are fed directly into standard ACL algorithms (the authors utilize Active Domain Randomization). The agent learns to solve the subtasks sequentially using only sparse rewards.
Datasets
The framework is evaluated on five long-horizon manipulation tasks from the LIBERO benchmark. Because the original LIBERO benchmark lacked the granularity needed for fine-grained curriculum learning, the authors introduced LIBERO+. This new extension replaces static predicates with parameterized, continuous-valued counterparts (e.g., changing open(drawer) to open(drawer, degree)), allowing the curriculum to smoothly scale task difficulty.
Key Insights and Ideas
- Task decomposition alone isn't enough: Simply breaking a task into subtasks and running standard RL fails because individual subtasks (like grasping a tiny handle) can still be too difficult to discover with sparse rewards. You need curriculum learning within the subtasks.
- Sparse rewards beat dense rewards for precision: Hand-crafting or generating dense rewards often leads to "sloppy" agent behaviors where the robot maximizes intermediate reward components but fails the final goal. Sparse rewards, paired with a proper curriculum, yield much more precise and reliable manipulation.
- LLMs as Meta-Task Generators, not Reward Designers: Instead of forcing LLMs to guess complex reward math, LEACL uses them for what they do best: common-sense reasoning to structure the problem space and define difficulty.
Key Results
- Massive Baseline Improvements: LEACL outperformed standard sparse RL and "decomposition-only" baselines across the board, which scored 0% success on almost all long-horizon tasks.
- Outperforming Dense Rewards: Compared to LEAGUE, a baseline utilizing expert-tuned dense rewards, LEACL achieved superior asymptotic performance on 4 out of 5 tasks (e.g., 89.4% vs 29.8% on the ketchup-basket task).
- Rivaling Human Experts: LEACL performed competitively with a fully Human Curriculum designed by domain experts, matching or closely trailing it without requiring any human iteration or manual tuning.
Limitations and Future Work
The primary limitation of LEACL is its reliance on a pre-defined grammar or predicate vocabulary (provided a priori via LIBERO+). The LLM cannot invent entirely new physical concepts or predicates out of thin air. Future work aims to relax this constraint by prompting LLMs to automatically propose task-specific grammars and predicate sets directly from raw environment descriptions.
Summary updated