Adaptive Domain Modeling with Language Models: A Multi-Agent Approach to Task Planning

Harisankar Babu, Philipp Schillinger, Tamim Asfour · DOI

Introduction

Classical symbolic planning, while logically rigorous, often suffers from "brittleness." Traditional frameworks like PDDL require experts to manually define every action, state, and attribute before a robot can operate. If a user introduces a novel constraint—such as requesting a "red" block when the domain model lacks color attributes—the planner fails. Conversely, Large Language Models (LLMs) possess immense common-sense knowledge but struggle with the long-horizon, hallucination-free logic required for complex robotic tasks.

Comparison of standard planning vs. dynamic adaptation to novel constraints like color and size.

TAPAS (Task-based Adaptation and Planning using AgentS) bridges this gap. It is a multi-agent framework that leverages LLMs to dynamically generate and update symbolic domain models, allowing a symbolic planner to handle pathfinding while the LLM adapts the "rules of the world" on the fly.

The TAPAS Architecture

The core of TAPAS is a modular, multi-agent system where specialized agents collaborate through structured tool-calling. The process is driven by a "Generator Trio":

  1. Domain Generator: Translates natural language descriptions into Python-based domain code, defining types, fluents, and actions.
  2. Initial State Generator: Establishes the starting world state, identifying objects and their locations.
  3. Goal State Generator: Converts the user's natural language request into formal goal conditions.
The TAPAS Generator architecture illustrating the iterative refinement loops between Domain, Initial State, and Goal State Generators.

A key innovation is the bottom-up refinement loop. If the Goal State Generator identifies a requirement (e.g., "size") missing from the current domain, it triggers a request to the Domain Generator to expand the model. This iterative process ensures the symbolic model is sufficient for the specific task at hand. The system also employs memory systems, including short-term context for current tasks and long-term procedural memory for storing generalizable corrections.

Planning, Debugging, and Execution

Once the domain and problem models are generated, TAPAS utilizes the Unified Planning (UP) framework to find a solution. To handle potential code generation errors, a Solver-Debugger agent uses Retrieval-Augmented Generation (RAG) against documentation to iteratively fix non-compiling or unsolvable code.

To bridge the gap between high-level symbolic actions and low-level robotic skills, TAPAS employs a "semantic buffer." The symbolic plan is translated back into natural language instructions. A ReAct-style Action Executor then maps these instructions to the robot's specific API, while a Validator Agent monitors sensor data to confirm successful execution.

Evaluation and Results

TAPAS was evaluated across several benchmarks, including the LLM+P suite and custom "Novel Constraint" tasks.

  • Benchmark Performance: Using Claude 3.7 Sonnet, TAPAS achieved 100% accuracy on 5 out of 7 standard benchmarks, significantly outperforming previous baselines in complex domains like Barman (100% vs 20%) and Floortile (100% vs 0%).
  • Dynamic Adaptation: The system successfully handled entirely new constraints, such as battery consumption and object attributes, maintaining success rates between 70-100% without human intervention.
  • Model Sensitivity: Performance is highly dependent on the underlying LLM. While top-tier models like GPT-4o and Claude 3.7 excelled, smaller models often struggled with the precision required for domain modeling.

Conclusion and Future Work

TAPAS demonstrates that multi-agent LLM systems can effectively manage the complexity of symbolic planning while retaining natural language flexibility. Current limitations include a tendency for agents to make assumptions about initial states rather than seeking clarification. Future research will focus on incorporating hierarchical and temporal reasoning and improving human-in-the-loop feedback mechanisms to resolve ambiguities in real-world environments.

Summary updated

BibTeX
@inproceedings{babu2025adaptive,
  author = {Harisankar Babu and Philipp Schillinger and Tamim Asfour},
  title = {{Adaptive Domain Modeling with Language Models: A Multi-Agent Approach to Task Planning}},
  booktitle = {CASE},
  year = {2025},
  doi = {10.1109/case58245.2025.11164110},
}
Figure