arXiv:2610.30379cs.CLOct 2026

Manuscript Offprint

arXiv:2610.30379

MemPlan: Memory-Conditioned PDDL Planning for Partially Observable Text Environments

Tengwei Song, Robert Hoehndorf

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

LLM agents are flexible in language interaction, but using them as long-horizon planners is costly and prone to hallucinated or invalid actions. This paper targets a different role for LLMs: constrained bridges between language and symbolic planning. We propose MemPlan, a memory-conditioned PDDL planning framework for partially observable interactive text environments. MemPlan keeps the PDDL domain fixed and reconstructs the PDDL problem at each step from parsed observations, candidate hypotheses, and interaction memory. Positive graph memory assigns relevance-based action costs to candidate hypotheses for missing objects, locations, or conditions, guiding the planner toward more plausible checks. Negative memory records execution-refuted assumptions and compiles them into exclusion constraints, preventing repeated attempts at candidates already contradicted by feedback. A unified schema-conditioned language–symbol interface, trained offline with supervised fine-tuning, connects text environments to the planning loop through observation-to-fact parsing and symbolic-action-to-command grounding. Experiments on TextWorld, ALFWorld, and Robotouille show that MemPlan improves task completion and step efficiency over language-only and PDDL-aware baselines, while substantially reducing online token cost compared with LLM-planning baselines such as ReAct. The same fine-tuned interface is also reused across TextWorld task types without task-specific fine-tuning. Our code and data are available at: https://github.com/tewiSong/MemPlan.

1 Introduction

Interactive text environments require agents to solve long-horizon tasks under partial observability and delayed consequences, using natural-language observations and natural-language commands [Côté et al., 2018, Shridhar et al., 2021, Gonzalez-Pumariega et al., 2025]. Recent LLM agents can interpret textual feedback and generate plausible commands, but using LLMs as the primary planner remains costly and unreliable. In interactive settings, they may hallucinate actions, lose track of earlier observations, or fail to maintain a consistent long-horizon plan [Valmeekam et al., 2023, Sun et al., 2023, Zhang et al., 2025].

Classical planners offer a complementary strength. Given a PDDL domain, a symbolic state, and a goal, planners such as Fast Downward [Helmert, 2006] can search explicitly over action preconditions and effects [Aeronautiques et al., 1998]. Prior work empirically shows that replacing an LLM planner with a classical planner can save approximately 93.1% of LLM tokens [Dagan et al., 2023]. The difficulty is that partially observable text environments do not directly provide the complete

∗^{*}Corresponding author.

†^{\dagger}Work done while at KAUST.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

symbolic state required by a closed-world planner. Static LLM-to-PDDL formalization methods cannot interactively update the planning problem from environment feedback [Liu et al., 2023, Guan et al., 2023, Gestrin et al., 2024].

Existing work addresses this mismatch through two main routes. Belief and open-world completion methods make planning possible by first choosing or generating a completed symbolic state [Talamadupula et al., 2010, Dagan et al., 2023]. This approach works when the completion is reliable, but in text environments a missing object, location, or condition can have many plausible completions. Committing to one completed state before planning can lead to unnecessary search or repeated failed trials. Iterative PDDL refinement methods update domain or problem files from new observations and error feedback [Zhang et al., 2024, Gong et al., 2025]. This gives the representation more flexibility, but correctness then depends on repeated online formalization, which can introduce malformed PDDL, hallucinated facts, invalid goals, or forgotten observations.

This motivates a different use of symbolic planning under partial observability: a closed PDDL problem is still needed at each planner call, but the agent should avoid committing to a single guessed world state or relying on online LLM rewriting of PDDL files. To this end, we propose MemPlan, a memory-conditioned PDDL planning framework for partially observable text environments. MemPlan treats missing task-relevant state as candidate symbolic hypotheses and compiles interaction memory into the PDDL problem before each planner call. Positive graph memory ranks hypotheses for missing objects, locations, or conditions through action costs, allowing the planner to test more relevant candidates first. Negative memory records failed searches or refuted assumptions as symbolic exclusions, preventing repeated attempts at candidates already contradicted by the environment. A frozen schema-conditioned language–symbol interface connects text observations and commands to this symbolic loop through observation-to-fact parsing and symbolic-action-to-command grounding.

Our contributions are as follows. First, we introduce memory-conditioned PDDL problem construction, enabling a closed-world planner to operate in partially observable text environments without online PDDL rewriting. Second, we propose a positive/negative memory mechanism that ranks unresolved hypotheses with graph-derived costs and excludes execution-refuted candidates from later planning calls. Third, we train an offline schema-conditioned language–symbol interface for parsing observations and grounding symbolic actions, reducing online LLM use to constrained interface calls. We evaluate MemPlan on TextWorld, ALFWorld, and Robotouille, measuring task completion, step efficiency, token cost, and cross-task use of the learned interface.

References (62)