Plan2Sense: Open-World Task Planning in Epistemic States via Interleaved Ontic and Sensing Actions

Xiaotian Liu, Armin Toroghi, Jiazhou Liang, Ali Pesaranghader, Scott SannerNeurIPS 2026

TL;DR

When AI agents operate in unfamiliar environments, they usually either exhaustively map the entire room before lifting a finger, or blindly execute guesses until something breaks. Plan2Sense gives robots a smarter middle ground: by explicitly tracking what it knows and doesn't know, the agent works backward from its goal to interleave physical actions with targeted, just-in-time information gathering. It gets the job done faster, avoids irreversible mistakes, and uses a tiny fraction of the LLM compute required by standard agent loops.

What Problem Does This Paper Address?

Imagine asking a household robot to "serve the user's favorite warm drink." In a messy, "open-world" reality, the robot starts with massive blind spots: it doesn't know who the user is, what they like, or whether there's milk in the fridge.

Current embodied planners typically handle this uncertainty in one of two flawed ways:

  1. Sense-then-plan: Exhaustively explore every cabinet and interrogate everyone in the house before making a plan. In complex environments, you run out of time or battery before doing anything useful.
  2. Guess-and-replan: Assume the world works a certain way (e.g., LLM agents like ReAct), act on those assumptions, and replan when an action fails. Aside from wasting physical effort, guessing can trigger irreversible, unsafe states—like walking through a one-way locking door or ruining an ingredient before checking a recipe.

Furthermore, traditional probabilistic planners struggle in open worlds because they require listing every possible object in advance—impossible when you don't even know what objects exist yet.

Figure 1: Comparison of sensing and planning paradigms. Unlike sense-then-act methods that require exhaustive information gathering, or failure-based replanning planners that react only to failure, Plan2Sense strategically interleaves planning with sensing that allows the agent to anticipate unexpected sensing outcomes.

Methods

Instead of modeling every possible state of the physical world, Plan2Sense models the agent’s epistemic state—its own state of knowledge. The authors formalize this as a first-order Knowledge-State Markov Decision Process (KS-MDP) using a three-valued logic: every fact is either known-true, known-false, or unknown (implicitly represented by the absence of the first two).

Within this space, the agent has two types of moves:

  • Ontic actions: Physical interventions that change the world (e.g., pickup, heat).
  • Sensing actions: Information-gathering moves that update the agent's knowledge. Crucially, the authors combine stochastic Boolean sensing (checking true/false facts, like "does the user have a preference?") with functional sensing—queries that return object bindings unknown at planning time (e.g., f-prefer(user1) returning soup). To prevent errors from null answers, functional queries are gated behind a Boolean "does an answer exist?" check.

To build plans without enumerating every object in the universe, the authors introduce Knowledge State Goal Regression (KSR). Starting from the desired goal, KSR works backward through lifted (variable-based, ungrounded) action templates. It weaves together physical actions and sensing queries, calculating the exact epistemic preconditions and the cumulative probability of reaching the goal. During execution, the agent picks the highest-probability plan matching its current knowledge base, resolving placeholder functions on the fly as it senses, and replanning from its candidate pool if an unexpected answer pops up.

Example of Plan2Sense instantiating a lifted plan, substituting sensed objects like 'user1' and 'soup' on the fly, and handling unexpected outcomes.

Datasets

Because existing benchmarks rarely combine multi-source questioning with high-stakes safety traps, the authors extended three environments into new partially observable, open-world benchmarks:

  • Epistemic ALFWorld: Household tasks (built on ALFWorld) requiring physical search alongside external Q&A, while avoiding irreversible mistakes.
  • Doors-and-Keys QA: A grid-world navigation puzzle (based on MiniGrid) where agents must query external sources to figure out which keys and doors are safe vs. terminal traps.
  • Embodied Heaven–Hell: An embodied adaptation of a classicPOMDP problem where an agent must actively seek directions from an external source before committing to a final, irreversible destination.

Key Insights and Ideas

  • Work backward to sense lazily: By regressing from the goal, the agent naturally ignores irrelevant clutter. If it doesn't need to open the bedroom closet to make soup, it won't bother looking inside.
  • Placeholder planning beats premature grounding: Using functional terms like f-prefer(?user) lets the planner build a complete logical chain ("ask user what they want $\rightarrow$ pick that thing up") without needing to know what that thing is until execution time.
  • Short episodes in LLM agents can be a mirage: In benchmarks with safety traps, reactive baselines like ReAct look deceptively fast on paper—not because they solve tasks efficiently, but because they confidently march into irreversible failure states early on!
  • Reasoning about ignorance is a natural safety net: Deferring risky physical actions until epistemic preconditions are met isn't a hard-coded safety rule; it emerges naturally from planning over knowledge states.

Key Results

Evaluated across all three benchmarks (using GPT-5.2 as the underlying LLM where applicable), Plan2Sense decisively outperformed both failure-based LLM replanners and sense-then-plan methods:

  • Success Rates: Plan2Sense achieved 89% on Epistemic ALFWorld, 84% on Doors-and-Keys QA, and 91% on Embodied Heaven–Hell. The runner-up, ReAct, scored 62%, 53%, and 67%, respectively, while sense-then-plan methods hovered between 20%–41%.
  • Massive Token & Time Savings: On Epistemic ALFWorld, Plan2Sense used just 1,618 tokens and 19.5 seconds per task, compared to ReAct's 614,235 tokens and 83.6 seconds—a ~380x reduction in LLM token cost.
  • Safety: Only 2%–5% of Plan2Sense's rare failures were caused by irreversible actions, whereas 25%–64% of zero-shot LLM and ReAct failures stemmed from fatal, unrecoverable moves.
  • Scalability: As object counts and trap states scaled up in Doors-and-Keys QA, Plan2Sense maintained steady ~80% success rates while baselines plummeted.

Limitations and Future Work

  • Discrete abstractions: The framework relies on discrete symbolic actions and three-valued knowledge states, rather than continuous sensorimotor control or continuous probability distributions over beliefs.
  • Suboptimal replanning: Reselecting from regressed candidate plans is computationally cheap, though not guaranteed to be globally optimal compared to computing a full contingent policy via symbolic dynamic programming.
  • No "Theory of Mind": Plan2Sense models a single agent's knowledge ($K$). Extending it to multi-agent settings with nested beliefs ("I know that the user thinks the milk is on the counter") is highlighted as a rich direction for future work.

Summary updated

Abstract

Open-world task planning requires not only generating feasible plans but also acquiring the knowledge needed to execute them. Existing task planners for embodied agents either attempt to exhaustively gather information from the environment or generate plans under prior assumptions of the world and replan as new observations arrive. Both strategies are impractical in complex environments and can potentially expose agents to undesirable or unsafe situations. To enable effective planning in open-world settings, we propose Plan2Sense, a framework that grounds planning in the agent’s epistemic state to determine what information is required for plan feasibility and how to acquire it. We formalize decision-making as a three-valued first-order Knowledge-State Markov Decision Process (KS-MDP) and develop a knowledge state goal regression algorithm (KSR) to construct sensing-aware plans in the open-world setting. Our formulation supports sensing actions for both predicate disambiguation and knowledge acquisition via object binding without assuming a fully known initial state or closed world of predefined objects. Across three open-world embodied benchmarks requiring active knowledge acquisition, Plan2Sense achieves higher success rates and efficiency over existing baselines by reasoning decision-theoretically over epistemic states to plan when to sense.
BibTeX
@inproceedings{liu2026plan,
  author = {Xiaotian Liu and Armin Toroghi and Jiazhou Liang and Ali Pesaranghader and Scott Sanner},
  title = {{Plan2Sense: Open-World Task Planning in Epistemic States via Interleaved Ontic and Sensing Actions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=g9ZhljQuww},
}
Figure