Manuscript Offprint

arXiv:2610.38744

AtomTree: A Hierarchical Framework for State-Aware Embodied Instruction Following with LLMs

Haotian Zhai, Tianming Sha, Junnan Li

Haotian Zhai

University of Minnesota

haoti002@umn.edu

Tianming Sha

Stony Brook University

tianming.sha@stonybrook.edu

Junnan Li

University of Wisconsin–Madison

jli2786@wisc.edu

Abstract— Embodied instruction following in interactive environments requires agents to interpret natural language commands and complete long-horizon tasks. Existing planners either rely on large labeled trajectories, or use few-shot and zero-shot LLM prompting that produces a whole plan in a single serial reasoning process. These approaches depend on linguistic common sense, commit to a plan from the initial instruction, and only update after failures, which weakens robustness and state awareness. We present AtomTree, a hierarchical framework for state-aware task planning with LLMs. AtomTree incrementally builds a tree of subgoals and actions, where the LLM decides at each step, from the current symbolic state, whether to further decompose or to output a grounded low-level action. A lightweight memory module summarizes past outcomes for reuse in later decisions. When a low-level action stalls, AtomTree triggers hierarchical backtracking replanning to return to the parent node and regenerate the subtree plan from the latest state, preventing continued drift along an incorrect trajectory. In zero-shot evaluation on the ALFRED benchmark, AtomTree outperforms prior LLM-based planners. Project page: https://zhaihaotian.github.io/atomtree-website/.

I. INTRODUCTION

"Planning is the art and practice of thinking before acting."

— Patrik Haslum

Building embodied agents that can execute diverse household tasks from natural language instructions and rapidly acquire new skills is a core goal in robotics and embodied AI[1], [2], [3]. Embodied Instruction Following (EIF) requires an agent to jointly perform visual perception, subgoal planning, navigation, and object interaction in interactive 3D environments to complete long-horizon tasks such as "clean a mug and place it into the coffee machine."[1] In benchmarks such as ALFRED[1], this requires not only language understanding but also continuous instruction decomposition and execution under partial observability. Therefore, how to achieve EIF that is both generalizable and capable of long-horizon planning under limited supervision remains an open problem[4].

A straightforward approach is to train policy networks with large-scale pairs of natural-language instructions and expert action sequences[5], [6], [7], [8], [9]. However, both instruction annotation and expert demonstration collection are expensive and time-consuming, and collecting sufficient data in complex environments is often impractical. To reduce annotation cost, several recent studies manually design action sequences for specific task types, but such predefined

Figure

Fig. 1: Error analysis on the Valid Seen split of the ALFRED benchmark with respect to ground-truth PDDL plan length, showing that for FLARE, a state-of-the-art few-shot method, incorrect-plan errors dominate overall and become the primary failure mode for long-horizon tasks (PDDL length > 7).

procedures do not scale well across heterogeneous tasks[10], [11]. Another line of work leverages prior knowledge from large language models (LLMs) for task planning. LLM-Planner[12] uses few-shot in-context learning to generate high-level subgoal sequences, which are then executed by low-level controllers. FLARE[4] further introduces visual information during planning. Socratic Planner[13] decomposes instructions via self-questioning and performs Socratic-style replanning with visual feedback after failures.

Despite these advances, most LLM-based methods remain unstable on complex long-horizon tasks. On ALFRED Valid Seen, we perform an error analysis of state-of-the-art few-shot planning methods[4] and categorize failures into four groups in Fig. 1: planning errors, navigation failures, perception failures, and interaction failures. When task horizon is measured by ground-truth PDDL plan length, planning errors account for approximately 38.9% when the length is no greater than 7, close to interaction failures at 35.2%. When the length exceeds 7, planning errors increase to 68.7% and become the dominant failure mode. We further group tasks by the PDDL length threshold kk. As kk increases from 5 to 15, the proportion of planning errors among all failures rises monotonically from around 50% to nearly 100%, showing a strong linear relationship with task length (Pearson r=0.8892r = 0.8892, p≈2.1×10−5p \approx 2.1 \times 10^{-5}). This finding indicates that, in long-horizon embodied instruction following, the primary bottleneck has shifted from low-level navigation, perception, and interaction to high-level task planning itself.

The key limitation of existing LLM-based planners on long-horizon tasks is that decision making is still centered on a single unidirectional sequential plan[1], [12], [10], [11], [13]. After receiving an instruction, the model typically generates a full high-level plan in one pass based mainly on linguistic commonsense, and replanning is triggered passively only after repeated subgoal failures, rather than through closed-loop decisions at every step conditioned on the current environment state. Consider the ALFRED instruction "Put a washed potato slice on the white table." The environment ontology does not contain a category named "white table," and only exposes a limited set of semantic classes such as "Dining Table." The agent must infer during execution that "white table" is aligned with the observed dining table instance, revealing the gap between human language and environment ontology. By analogy to travel planning, humans rarely commit all details at the outset. Instead, they first decide high-level steps such as "go to Paris" and "book flights and hotels," and then refine details based on actual conditions.

Motivated by this observation, we model EIF as a state-conditioned sequential decision process[14] in which, at each decision node, the agent determines whether to further decompose the current objective or directly execute an atomic action based on the current state and subgoal, resulting in an AtomTree composed of decomposition and execution nodes. This state-driven hierarchical reasoning can mitigate error accumulation caused by one-pass sequential planning in long-horizon settings.

Building on this formulation, we propose AtomTree, which explicitly organizes planning as a tree of decomposition nodes and execution nodes. At each node, the policy conditions only on the current environment state, the current instruction segment, and internal memory to decide whether to decompose into finer subgoals or output an atomic action. For example, for the instruction "slice a tomato with a knife," if the agent is already holding a knife in front of the tomato, AtomTree directly selects the slice action. From an initial state, the system instead decomposes the objective top-down into subgoals such as "find a knife," "pick up the knife," and "move to the tomato," followed by progressive refinement and execution. To realize true state awareness, we maintain memory in each node state to summarize historical observations, enabling consistent context for downstream decisions. When a low-level action stalls for an extended period, we do not perform only local replanning for that action. Instead, we trigger a Hierarchical Backtracking Replanning mechanism that returns to the corresponding parent node and regenerates the subtree plan conditioned on the latest environment state. This enables structured top-down adjustment after local failures, rather than accumulating deviation along an incorrect sequential trajectory.

We conduct a systematic evaluation of ATOMTREE on the ALFRED benchmark. The results show that, under a fully zero-shot setting, ATOMTREE surpasses state-of-the-art few-shot LLM-based planners on multiple primary metrics, and even achieves better performance than some few-shot and supervised methods, with especially strong gains on long-horizon tasks and complex instructions. Based on these results, our main contributions are as follows:

  • We propose ATOMTREE, a hierarchical tree-structured planning framework for EIF, which explicitly models "decompose / execute" decisions as a state-aware Markov process.
  • We design a memory mechanism to enable the planning process to remain continuously aligned with the current environment state during execution, rather than relying on a one-shot sequential plan.
  • We validate the effectiveness of the framework through zero-shot experiments on ALFRED. Compared with representative few-shot, zero-shot, and supervised baselines, ATOMTREE achieves stronger overall performance.

References (36)