NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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

Tengwei Song, Robert HoehndorfNeurIPS 2026

TL;DR

Large Language Models (LLMs) are wonderfully fluent at chatting, but ask them to make a 30-step plan in a world they can’t fully see, and they burn through tokens, lose their train of thought, and hallucinate impossible actions. MemPlan takes the planning duties away from the LLM and hands them back to a classical symbolic planner, relegating a small, fine-tuned LLM strictly to translating between English and logic. By compiling past experiences directly into mathematical planning costs and hard constraints, MemPlan solves complex interactive tasks faster, more reliably, and at a fraction of the token cost of pure LLM agents.

What Problem Does This Paper Address?

Imagine playing an old-school text adventure game: your goal is to "grill red tuna," you only see what’s right in front of you ("a knife, an oven, a stove"—no grill!), and you interact via text commands.

Using an LLM as the brain here is expensive and brittle over long horizons. On the flip side, classical AI planners—which search over explicit preconditions and effects written in PDDL (Planning Domain Definition Language)—are fast, logical, and practically free to run. The catch? Classical planners assume a "closed world" where every object and location is known upfront.

Prior attempts to marry the two either ask an LLM to guess the missing parts of the world state before planning (leading to wasted trips when the guess is wrong) or ask an LLM to constantly rewrite the PDDL code on the fly (risking syntax bugs and hallucinated rules). The authors ask: how can a closed-world symbolic planner navigate an open, partially observable text world without committing to a single lucky guess or letting an LLM touch the PDDL code?

Methods

MemPlan keeps the overarching rules of the world (the PDDL domain) strictly fixed and programmatically rebuilds the current problem instance at every step.

Figure 1: MemPlan online planning loop. Given the task goal, current observation, and admissible commands, the language–symbol interface extracts symbolic facts and grounds planner actions. MemPlan builds a PDDL problem from the fixed domain, candidate hypotheses, positive memory, and negative memory. Environment feedback updates memory and triggers replanning.

Here is how the pieces fit together:

  • Constrained Language–Symbol Bridge: Instead of prompting a massive frontier model to reason, the authors offline fine-tune a single Qwen2.5-7B model (frozen during evaluation) to do just two jobs: parse text observations into structured (entity, relation, entity) triples, and ground the planner's abstract next step into an executable text command.
  • Placeholders & Candidate Hypotheses: When the goal requires an unfound item (like that missing grill), MemPlan creates a virtual placeholder (unknown_grill_1) and generates hypotheses for where it might be (e.g., in the kitchen, on the patio).
  • Positive Memory as Action Costs: Confirmed facts form a knowledge graph. Using dense embeddings (mContriever), MemPlan scores how relevant each hypothesis is to the goal and local graph neighborhood. Plausible guesses get lower PDDL action costs, gently nudging the standard Fast Downward planner to check sensible places first (e.g., looking for food in the fridge before the bathroom).
  • Negative Memory as Exclusions: If the agent checks the kitchen and finds no grill, negative memory compiles that failure into a hard symbolic exclusion (searched or not_at), mathematically forbidding the planner from looking there again.

After executing just the first step of a plan, MemPlan observes the environment's feedback, updates its memories, and replans.

Datasets

No new benchmarks were introduced; instead, MemPlan is evaluated across three established, partially observable interactive text benchmarks:

  • TextWorld: Classic text-based games. Cook and hunt tasks were used to generate offline training examples (17,000 parsing and 9,600 grounding pairs) for the Qwen2.5-7B interface, while 7 hard task instances (across cooking, treasure hunting, and cleaning) were used for evaluation and ablations.
  • ALFWorld: 134 household task episodes translating visual embodied AI tasks into text.
  • Robotouille: 151 runs of complex kitchen tasks testing both synchronous and asynchronous planning (where actions like cooking have delayed effects and old observations go stale).

Key Insights and Ideas

  • Memory belongs in the math, not just the prompt: Standard memory-augmented LLM agents stuff retrieved memories into the context window and hope the LLM pays attention. MemPlan shows that compiling memory directly into planner-visible action costs and exclusion constraints yields far better exploration and recovery.
  • Placeholders prevent dead ends, exclusions prevent loops: Ablation studies reveal distinct roles for each piece. Without placeholders, the planner immediately hits a structural dead end because required items don't exist in its universe. Without negative memory, the agent gets stuck in Groundhog Day, re-checking failed locations 12 times per run.
  • Train once, reuse across tasks: Even though the Qwen2.5-7B translator was fine-tuned only on TextWorld cooking and hunting tasks, it generalized zero-shot to TextWorld cleaning, ALFWorld, and Robotouille without any task-specific tuning.

Key Results

Across the board, MemPlan completes more tasks in fewer steps while keeping LLM token budgets low:

Table 1: ALFWorld task completion, episode length, and online LLM token usage.
  • ALFWorld Perfection & Speed: MemPlan hits 100% task completion across 134 episodes in an average of just 6.91 steps, consuming 906k total online tokens. Compare that to ReAct (GPT-5.1) at 98.5% success, taking 10.92 steps and 2.74M tokens—or ReAct (GPT-4o) at 83% success, 38.18 steps, and 5.07M tokens (LLM-DP used slightly fewer tokens at 633k, but trailed at 96% success and nearly double the steps at 13.16).
  • Beating LLM Memory Systems: On TextWorld, MemPlan achieves a perfect 1.00 normalized score across all evaluated categories, outperforming specialized LLM memory architectures like AriGraph, Reflexion, and Simulacra, as well as average human players.
Figure 2: TextWorld normalized scores against memory-augmented LLM agents.
  • Thriving in Asynchronous Chaos: On Robotouille, MemPlan reaches 71.2% success on synchronous tasks (vs. 63.6% for GPT-5.1 ReAct), and widens its lead dramatically on asynchronous tasks, scoring 41.3% compared to GPT-5.1 ReAct's 24.7%.

Limitations and Future Work

The authors highlight three clear boundaries to their approach:

  1. Upfront Rules Required: MemPlan assumes a valid, fixed PDDL domain exists before the episode starts. While an LLM (GPT-5.1) successfully drafted TextWorld domains offline before testing, MemPlan cannot invent or repair broken domain physics online.
  2. Brittle Hard Exclusions: Because negative memory permanently rules out a refuted hypothesis, a single misparsed observation or ambiguous environment message could cause the agent to lock out the actual solution forever. Future work could explore soft, confidence-weighted penalties instead of hard bans.
  3. Constrained Sandboxes: Evaluations were confined to simulated text worlds that usually provide lists of admissible commands—leaving noisy, open-ended, or physical robotic environments for future exploration.

Summary updated

BibTeX
@inproceedings{song2026memplan,
  author = {Tengwei Song and Robert Hoehndorf},
  title = {{MemPlan: Memory-Conditioned PDDL Planning for Partially Observable Text Environments}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=kdC8R9ryni},
}
Figure