Pages and contents
Pages
- Non-Generative World Model Research
- Literature Review
- Literature Notes
- Attention
- Memory
- Planning
- DreamCoder
- Genie: Generative Interactive Environments
- Genie Redux
- Loop-OWM
- Searching Latent Program Spaces
- Learning Adaptive Planning Representations with Natural Language Guidance
- Reviews
- Reinforcement Learning
- World Model Papers
- Biological
- World Models
- Representation
- Training
- Template
- Important Concepts
- Models
- Resources
Learning Adaptive Planning Representations with Natural Language Guidance
Purpose tag: latent-skill-libraries-and-goal-conditioning-for-jepa
0\. Metadata
Field | Value | |
|---|---|---|
| ⋮⋮ | Authors | Lionel Wong, Jiayuan Mao, Pratyusha Sharma, Zachary S. Siegel, Jiahai Feng, Noa Korneev, Joshua B. Tenenbaum, Jacob Andreas (MIT, Princeton, UC Berkeley, Microsoft) |
| ⋮⋮ | Year / Venue | 2023 (preprint, under review ICLR 2024) |
| ⋮⋮ | Link / arXiv | arXiv:2312.08566v1 [cs.AI] |
| ⋮⋮ | Code | Not released at time of preprint ("Code for this paper will be released upon publication") |
| ⋮⋮ | Read status | skimmed |
| ⋮⋮ | My relevance (1-5) | 2 |
| ⋮⋮ | Tags | #llm #planning #hierarchical-rl #symbolic-planning #pddl #action-abstraction |
1\. Main Idea (TL;DR)
Ada (Action Domain Acquisition) uses an LLM to propose a library of task-specific, PDDL-style high-level action operators (with preconditions/effects) plus paired low-level controllers, then verifies and refines that library through interactive bi-level planning (symbolic planner on top, local low-level search underneath) in an environment. Instead of asking an LLM to directly predict plans or subgoals, it uses the LLM only as a prior over useful action abstractions, and lets grounded execution filter out the bad proposals. On Mini Minecraft and ALFRED, this beats LLM-as-planner, LLM-as-subgoal-predictor, and LLM-as-code-library (Voyager-style) baselines by a wide margin, especially on long-horizon compositional tasks.
2\. Problem & Motivation
• Problem being solved: Identifying a set of abstract, reusable high-level actions (operators) for hierarchical planning is normally hand-engineered per domain. The paper asks how to automatically build a task-specific library of high-level actions + low-level controllers, using language as the source of prior domain knowledge, so that a symbolic planner can be used for long-horizon planning instead of relying on an LLM to plan directly.
• Why prior work is insufficient: (1) Classical hierarchical planning (HTN, TAMP) requires human-specified action abstractions. (2) LLM-as-planner approaches (predicting goals then handing off to a planner, e.g. LLM+P; predicting subgoal sequences directly, e.g. SayCan) don't learn a reusable, verified operator library — they lean on the LLM's one-shot accuracy at sequencing/grounding, which degrades over long horizons. (3) Code-library approaches (e.g. Voyager) learn skills as arbitrary imperative code rather than planner-compatible operators, so a symbolic planner can't be used, and the LLM itself has to do the sequencing/argument-grounding at inference time, which is unreliable, plus the code libraries balloon to hundreds of ad hoc skills instead of a compact reusable set.
• Key claim / hypothesis: Grounding LLM-proposed action abstractions through interactive bi-level planning (propose → symbolic-plan → low-level-plan → execute → score/filter) yields an operator library that is both accurate (respects environment dynamics) and compositional (generalizes to longer, unseen, more complex tasks) — outperforming any approach that asks the LLM to do sequencing/grounding itself.
3\. Architecture
```mermaid
flowchart LR
subgraph Iteration_i["Iteration i (repeated for i = 1..M)"]
Ai_1["Operator library A_{i-1}"] --> Propose["LLM: ProposeOperatorDefinitions(P, {l_t})"]
Preds["Predicate set P + language goals l_t"] --> Propose
Propose -->|"A'_i (candidate PDDL operators)"| SymPlan["Symbolic Planner (FastDownward)"]
State["Abstract state Φ(x_0)"] --> SymPlan
Goal["LLM-proposed symbolic goal f'_t"] --> SymPlan
SymPlan -->|"high-level plan a_1...a_K"| Ctrl["Low-level controller / subgoal search pi(u given x,sg)"]
Ctrl -->|"low-level actions u_1..u_H"| Exec["Execute(x_0, u_bar)"]
Exec -->|"reward / success signal"| Score["ScoreAndFilter"]
Exec -->|"hindsight relabeling"| PolicyUpdate["UpdateSubgoalPolicy(theta)"]
Score --> Ai["Verified library A_i"]
PolicyUpdate --> Ctrl
end
```
Component | Role | Model type | Inputs → Outputs | |
|---|---|---|---|---|
| ⋮⋮ | Operator proposer | Generate candidate high-level PDDL operators (name, args, precondition, effect) | Few-shot LLM (GPT-3.5-turbo-16k / GPT-4), 2-stage prompting | Predicate set P + language goals {ℓ_t} → candidate operator library A'_i |
| ⋮⋮ | Goal translator | Convert language instruction into symbolic goal formula | Few-shot LLM | ℓ_t + P → candidate goal formulas F'_t |
| ⋮⋮ | High-level planner | Find a valid sequence of high-level operators achieving the symbolic goal | Off-the-shelf symbolic planner (FastDownward, Helmert 2006) | abstract state s_0, goal f'_t, operator library A' → high-level plan P_A = {(a_1,o_1..),...} |
| ⋮⋮ | Low-level controller / subgoal search | Find concrete low-level action sequence realizing each high-level operator's postcondition | Count-based model X, sg → u (learned via hindsight relabeling); BFS fallback with a subgoal→trajectory dictionary D | local subgoal sg_i (from operator effect + object args), raw state x → low-level actions u_i1, u_i2... |
| ⋮⋮ | Scorer/filter | Decide which candidate operators to keep in the verified library | Simple success-rate heuristic (s/b) over executions | execution results → updated operator library A_i |
Design decisions worth noting:
• Two-stage operator proposal: first prompt the LLM for a full symbolic task decomposition (which surfaces undefined operator names), then prompt separately for the PDDL definition of each newly named operator — decoupling "what actions are needed" from "what exactly do they mean."
• Explicit separation of goal proposal (LLM), high-level planning (classical symbolic planner FastDownward), and low-level planning (learned/searched controller) — the LLM is never the planner, only the proposer of representations (operators + goals).
• A Hypothetical object-type placeholder pattern is used pervasively in the learned Minecraft/ALFRED PDDL (e.g. craft-bed's target starts as type Hypothetical and effects flip it to Bed) — a trick for representing "the object about to be created" before it exists.
• Post-processing/repair of LLM-generated PDDL: strip invented predicates/object types not in P, re-derive argument types from the environment's ground-truth typing, reject operators with zero valid postcondition predicates — GPT-3.5 syntax errors are common enough that this heuristic repair step matters a lot.
• Low-level search reuses a dictionary D mapping (lifted, variablized) subgoals → known successful trajectories, populated opportunistically during BFS even for subgoals other than the one currently targeted — a cheap form of experience reuse across the whole planning loop, not just RL-style episodic reward.
4\. Method / Formulas
• Loss / objective: No differentiable loss — this is a symbolic/heuristic pipeline, not gradient-trained end-to-end. The "learning" signal is (a) discrete accept/reject scoring of candidate operators, and (b) a count-based table update for the subgoal-conditioned controller.
• Key equations / formalism:
• Environment: ⟨X, U, T⟩ with raw state space X, low-level action space U, deterministic transition T: X×U → X.
• Abstract state space S defined by predicate set P; mapping Φ: X → S is given and fixed (not learned).
• Each high-level action a ∈ A is a tuple ⟨name, args, pre, eff, controller⟩; controller: X → U. Semantics: for any x such that pre(Φ(x)) holds, running controller from x for however many steps yields x′ such that eff(Φ(x′)) holds (STRIPS-style, Lifschitz 1986).
• Operator scoring: for candidate a'\_i, accuracy = s/b, where b = number of times a'\_i appeared in a high-level plan across attempted tasks, s = number of those executions that successfully achieved the operator's local subgoal. Operator retained if b > τ_b and s/b > τ_r (τ_b, τ_r are hyperparameters — exact values not given in the main text/appendix excerpt available).
• Training procedure (step by step) (Algorithm 1):
1. Initialize subgoal-conditioned policy π_θ (count-based table, empty).
2. For iteration i = 1..M:
a. Extend operator library: A_i ← A_{i-1} ∪ ProposeOperatorDefinitions(P, {ℓ_t}) — two-stage LLM prompting (decomposition → operator definition), n=4 task-decomposition samples, n=3 operator-definition samples per operator name, temperature=1.0.
b. For each unsolved task j: propose a symbolic goal (n=4 LLM samples, best-of scoring), run BiLevelPlan (FastDownward high-level plan → local subgoal search per action, budget ≤1000 nodes for Minecraft / 50 nodes for ALFRED), execute the resulting low-level plan in the environment.
c. Update the subgoal-conditioned controller θ via hindsight goal relabeling over all predicate conjunctions achieved during rollouts (Andrychowicz et al. 2017 style).
d. Score and filter A_i based on execution results (keep operators meeting the b, s/b thresholds).
3. Return A_M.
5\. Experiments
# | Environment / Dataset | What it tests | Baselines | |
|---|---|---|---|---|
| ⋮⋮ | 1 | Mini Minecraft — Mining | Learning correct tool→resource mappings for simple mining | Low-level Planning Only (LLM+P-style), Subgoal Prediction (SayCan-style), Code Policy Prediction (Voyager-style) |
| ⋮⋮ | 2 | Mini Minecraft — Crafting | Learning multi-ingredient crafting operators (may require mining sub-resources first) | same 3 baselines |
| ⋮⋮ | 3 | Mini Minecraft — Compositional | Long-horizon (up to 26 high-level operators) tasks from raw resources + 2 starting tools; tests generalization using only operators learned on Mining/Crafting, no extra training | same 3 baselines |
| ⋮⋮ | 4 | ALFRED — Simple + Compositional (n=223 tasks, filtered from 250) | Household pick-place / single-skill / multi-skill (e.g. "place a hot sliced potato on the counter") tasks in a Unity simulator, goal-only setting (no step-by-step instructions used) | same 3 baselines |
| ⋮⋮ | 5 | Mini Minecraft & ALFRED with GPT-4 backbone (Appendix, Table 2) | Whether baseline-vs-Ada trends hold with a stronger LLM | Code Policy Prediction (Voyager-style) only |
Setup details (hyperparameters, compute, seeds): GPT-3.5-turbo-16k for main experiments (GPT-4 for a supplementary ablation). n=4 initial goal proposals, n=4 initial task decompositions, n=3 operator-definition proposals per operator name, temperature=1.0 throughout. Best-of accuracy (task counted solved if any proposed goal verifies). Motion-planning/search budget: ≤1000 nodes/subgoal for Minecraft, 50 nodes/subgoal for ALFRED (due to slow Unity sim). Iterative continual learning over n=2 passes through all randomly-ordered tasks (except compositional eval, which reuses previously learned operators with no further training). All results averaged over n=3 random replications, reporting mean ± std.
6\. Results
• Headline numbers:
• Mini Minecraft: Ada reaches 100% on Mining, Crafting, and Compositional (σ ≤ 7.5%), vs. best baseline (Code Policy Prediction) at 39% Crafting / 15% Mining / 10% Compositional, and Subgoal Prediction at 33%/36%/6%.
• ALFRED: Ada reaches 79% (σ=0.9%) vs. Low-level Planning Only 21%, Subgoal Prediction 2%, Code Policy Prediction 2%.
• GPT-4 backbone (Table 2, vs. Voyager-style baseline only): Ada still 100%/100%/100% on Minecraft and 70% on ALFRED, vs. Voyager-style at 12–37% (Minecraft) and 11% (ALFRED) — so the gap isn't just a GPT-3.5-weakness artifact.
• Ablations (what each component contributes): Not a classical ablation table, but the paper argues (qualitatively) for each design choice: rejecting the LLM as the planner and Python-code-as-representation both matter — Subgoal Prediction and Code Policy Prediction both put sequencing/grounding burden back on the LLM and both fail hard on longer-horizon tasks (Subgoal Prediction drops to 6% on Minecraft Compositional; Code Policy Prediction generates hundreds of redundant skills that hurt generalization).
• Failure modes / limitations the authors admit:
• ALFRED goal misspecification: LLM sometimes fails to recover the correct formal goal predicate from ambiguous human language (though ground-truth goal is in the top-4 LLM-proposed goals ~92% of the time).
• Low-level policy inaccuracy on fine geometric details (e.g., placing a tall bottle on a sufficiently tall shelf) — the framework doesn't do fine-grained motor/geometric planning.
• Operator overspecification/underspecification: e.g. the ground-truth ALFRED "Slice" skill is disjunctive over two knife types; Ada sometimes learns it as two separate operators or only recovers one branch.
• Relies on a fixed, pre-given set of symbolic predicates P and a fixed Φ: X → S (state abstraction is not learned).
• Uses a general-purpose LLM, not one fine-tuned for planning.
7\. Takeaways (for MY project)
The whole point of the note. Be opinionated.
• What I'd reuse: The core loop of proposing a skill/abstraction from language, then verifying it against grounded rollouts rather than trusting the proposal directly. Applied to JEPA: build a "skill" library where a skill is a short sequence of subgoals that can be planned over quickly (analogous to Ada's high-level operator), instead of planning step-by-step in raw latent space every time. Those subgoals should be env-independent — a JEPA analogue of Ada's pre/eff predicates, but as latent targets rather than symbolic predicates.
• What I'd change / question: I don't think LLMs are the right engine for the planning/sequencing/grounding part — Ada leans on the LLM for goal proposal, action-sequence proposal, and operator definition, and that's exactly the part I'm skeptical of (matches the paper's own finding that LLM-as-sequencer baselines collapse on long horizons). Where language is clearly useful is as an interface for describing tasks/goals in natural language — not as the planner itself. I don't yet see how symbolic/DSL-style planning (PDDL operators, FastDownward) is compatible with a continuous JEPA latent space; the whole framework here assumes a discrete, enumerable predicate set P, which a latent world model doesn't have by construction. Also worth flagging: using Mini Minecraft as a benchmark is a bit of a cheat for evaluating "does language help planning," since the LLM already has strong prior knowledge of Minecraft's crafting tree baked in from pretraining — it's not clear the same gains would hold in a domain the LLM knows nothing about.
• How it connects to other papers I've read: Ties into a broader idea I want to explore for world models in general (not just this paper): for both training and inference, we probably need something like an omnimodal translator for states and actions, plus semantically partial states — states that don't need to describe the whole scene, only what matters for the current task (not what matters for the world model in general). That's structurally similar to what Ada's predicate set P is doing (a hand-picked partial abstraction of the raw state), but I'd want it learned rather than hand-specified — maybe via attention, or a mechanism similar to an LSTM forget gate, to decide what to keep vs. discard per-task. Also relevant to the LeWM get_cost bug: Ada only accepts an operator into its verified library if executing it in the real environment actually produces the predicted effect — a grounded-rollout check that a learned continuous cost signal doesn't currently have.
8\. Future Work
• Authors' stated directions:
• Learning the predicate set P itself (rather than assuming it's given), possibly from perceptual input like images, building on Migimatsu & Bohg (2022)'s work on grounding predicates through actions.
• Extending to fine-grained geometric/motor planning, which the current framework explicitly does not handle.
• Using a planning-fine-tuned LLM rather than a general-purpose one.
• Using the bootstrapped operator library to progressively transfer planning to another model (including an LLM) that composes and reuses the learned representations, rather than always re-running the full bi-level pipeline.
• My own ideas sparked by this: (captured in Section 7 above) — a JEPA-native version of Ada's operator library: skills as sequences of semantically-partial latent subgoals, verified by checking whether rolling out the world model / policy from a given state actually reaches the predicted subgoal region, rather than trusting a proposed plan or a raw cost value. The "what parts of the state matter for this task" filtering (attention / forget-gate-style) is the piece I'd want to nail down first, since it's the JEPA-side analogue of Ada's given-and-fixed predicate set P — except here it should be learned, not hand-specified.
9\. Reproducibility → Experiment Hooks
• \[ \]
10\. Glossary / New Terms
Term | Meaning | |
|---|---|---|
| ⋮⋮ | Operator (in this paper) | A high-level action = ⟨name, args, precondition, effect, controller⟩; classical STRIPS/PDDL-style planning action, paired here with a learned low-level controller |
| ⋮⋮ | Bi-level planning | Two-stage plan search: a symbolic planner finds a high-level operator sequence, then local search/policy finds the low-level actions realizing each operator |
| ⋮⋮ | Hindsight goal relabeling | Technique (Andrychowicz et al. 2017, "HER") for supervising a goal-conditioned policy on whatever subgoal a trajectory actually achieved, not just the one it was aiming for |
| ⋮⋮ | FastDownward | Off-the-shelf classical PDDL planner (Helmert 2006) used here as the high-level symbolic planner |
| ⋮⋮ | ALFRED | A Benchmark for Interpreting Grounded Instructions for Everyday Tasks (Shridhar et al. 2020) — household task benchmark in a simulated Unity environment |
| ⋮⋮ | Mini Minecraft | Procedurally generated Minecraft-like crafting/mining benchmark (lineage: Chen et al. 2021, Luo et al. 2023) |
| ⋮⋮ | Best-of accuracy | Scoring convention: a task counts as solved if verification passes on at least one of several LLM-sampled goal proposals |
11\. Quotes / Snippets to remember
"In this framework, A defines a partial, abstract world model of the underlying state space."