TL;DR
TESS (Translation, Exploration, Simulation, and Search) is a modular framework that uses Large Language Models (LLMs) to supercharge classical search algorithms for embodied task planning. By using LLMs to translate instructions into predicates, guide exploration, and generate a rule-based world simulator, TESS achieves significantly higher plan executability and correctness than end-to-end LLM planners.
What Problem Does This Paper Address?
Embodied task planning requires an agent (like a household robot) to turn a vague human instruction ("Clean the mug and put it on the table") into a sequence of atomic actions. Currently, researchers take two main paths, both with significant flaws:
- LLM-based Planning: Models like GPT-4 are great at commonsense reasoning but struggle with long-horizon tasks. They often "hallucinate" plans that are physically impossible or fail to account for the specific state of the environment.
- Classical Search: Algorithms like A* or BFS are mathematically guaranteed to find a correct plan, but they require a "perfect" world model—meaning they need to know every object's location, exactly how every action changes the world, and a formal definition of the goal. In complex, partially observable environments, these requirements are rarely met.
TESS bridges this gap by using LLMs to construct the components needed for classical search, making rigorous planning possible in messy, real-world-like simulations.
Methods
TESS decomposes the planning process into four LLM-guided modules, as illustrated in the pipeline comparison below:
- Translation: An LLM translates natural language into a set of grounded predicates (e.g.,
CLEAN(mug-1)). This provides a clear, machine-readable termination condition for the search. - Exploration: In a partially observable world, the agent doesn't know where everything is. TESS uses an LLM’s commonsense (e.g., "mugs are usually in the kitchen or dishwasher") to guide the agent to find all task-relevant objects before planning begins.
- Simulation: Instead of asking an LLM to predict the next state at every search step (which is slow and prone to error), TESS asks the LLM once to write Python functions that define the preconditions and effects of every possible action. This creates a fast, rule-based "mental model" for the search algorithm.
- Search: TESS uses A search to find the optimal path to the goal. To prevent the search space from exploding, it uses the LLM as a Filter* to prune nonsensical actions (like trying to close a door that is already closed) and focuses only on task-relevant objects.
Datasets
The authors evaluated TESS on two primary platforms:
- VirtualHome (VH): A simulator for household tasks. The authors introduced a new, large-scale benchmark on VH featuring 25 task categories, 50 different apartment layouts, and over 300 object categories. This benchmark is designed for automated, accurate evaluation using goal conditions.
- ALFWorld: A text-based simulator for interactive instruction following.
- EmbodiedBench-ALFRED: Used to test TESS's ability to handle unstructured visual (RGB) observations.
Key Insights and Ideas
- LLMs as Code Generators, Not Just Planners: One of the "aha" moments is using the LLM to write the simulator's logic in Python. This makes the search process much faster and more interpretable than "black-box" LLM inference.
- Decoupling Reasoning from Execution: By translating the goal into predicates first, the system can monitor progress and check for completion without re-invoking the expensive LLM at every step.
- Commonsense Pruning: Classical search often fails because the "branching factor" (number of possible actions) is too high. TESS shows that LLM commonsense is most effective when used as a filter to keep the search focused on "reasonable" actions.
- Generalization: Because the core of TESS is a search algorithm, it generalizes to "unseen" tasks and objects much better than models that are simply fine-tuned to mimic expert trajectories.
Key Results
TESS demonstrated superior performance across multiple metrics, particularly in Success Rate (SR) and Goal Condition Recall (GCR).
- Superiority over Baselines: On the VirtualHome benchmark, TESS-GPT achieved an 85.1% Success Rate, significantly outperforming ReAct (55.2%) and Reflexion (59.0%).
- Finetuning Success: A version using a finetuned Qwen-8B model (TESS-Qwen) reached an 87.2% Success Rate, proving the framework works even with smaller, open-source models.
- Search Efficiency: In ablation studies, adding the LLM-based action filter reduced the number of search steps required to find a plan from 180 to just 55.
- Visual Extension: Even when forced to use raw images instead of a pre-parsed scene graph, TESS outperformed GPT-4o baselines on ALFWorld and EmbodiedBench.
Limitations and Future Work
- High-Level Focus: TESS currently handles high-level task planning. It assumes that low-level robotic controls (like the specific joint movements to "grab") are already handled by a separate controller.
- Static World Assumption: The current simulation module assumes the environment only changes when the agent acts. It does not yet account for dynamic environments (e.g., a human moving an object while the robot is working).
- Deterministic Actions: The framework relies on known action spaces and doesn't explicitly handle non-deterministic outcomes or "unsolvable" task detection.
- Future Directions: The authors suggest integrating the translation and exploration modules more tightly so the agent can update its understanding of the instruction as it discovers new parts of the environment.
Summary updated