Research
Probabilistic Plan Legibility with Off-the-shelf Planners
When a robot acts in front of a human, its sequence of actions can implicitly signal which goal it is pursuing — but only if those actions differ clearly from what it would do for other candidate…

- arXiv
- 2610.00065 · Preprint · not peer-reviewed
- Published
- 2026-09-04
- Authors
- Michele Persiani, Thomas Hellström
In plain words
When a robot acts in front of a human, its sequence of actions can implicitly signal which goal it is pursuing — but only if those actions differ clearly from what it would do for other candidate goals.
AI summary
Overview
Research area: AI planning and explainable AI for robotics — specifically legible planning (producing plans whose goal is easy for an observer to infer) extended from trajectory-level robotics work to classical PDDL planning.
Technical level: Intermediate. The paper uses formal probability notation, PDDL semantics, and planning-instance transformations, but the core ideas (make your goal obvious to a watcher, at some cost in efficiency) are intuitive.
Scope: The paper defines probabilistic plan legibility for arbitrary PDDL domains, frames the observer's perspective as a second-order theory of mind, gives an algorithm that builds legible plans using existing off-the-shelf planners, and benchmarks it on nine standard planning domains.
What This Paper Is About
When a robot acts in front of a human, its sequence of actions can implicitly signal which goal it is pursuing — but only if those actions differ clearly from what it would do for other candidate goals. This paper formalizes that idea for classical planning: given a set of possible goals, find a plan that makes the true goal as easy as possible for an observer to identify from the observed actions, without building a custom legibility-specific planner. The authors also argue that the robot must reason about the observer's possibly wrong model of the robot, which they capture with a second-order theory of mind.
Key Contributions
-
A probabilistic definition of plan legibility that works for arbitrary PDDL domains. Legibility is defined as the similarity between the true goal distribution and the distribution an observer infers from a plan (Equation 1), with the most legible plan maximizing this (Equation 2). Because full plans are not always what matters, the authors add n-legibility over plan prefixes (Equation 3) and n̂-legibility as a weighted average over all prefixes (Equation 4).
-
A second-order theory of mind linking the planner's and observer's task spaces. The observer is modeled as "O thinks that R's goal is G"; the planner then reasons "R thinks that [O thinks that R's goal is G]". Formally this is a transformation
T = T_pl ∘ T_obs : Ξ_pl → Ξ_obs → Ξ'_pl(Equation 5), so legibility is computed inside the model the observer uses to judge the robot, not the robot's own model. -
A PDDL-based goal recognizer, built from published work rather than a new planner. Following [20], goal recognition is implemented by comparing the cost of an optimal plan for each candidate goal against the cost of an optimal plan constrained to contain the observations, giving a rationality ratio
R(π, G) = |π_Ξ| / |π_Ξ'|(Equation 7), converted into a probability via a Boltzmann distribution with temperature τ (Equation 9). -
Algorithm 1: legible planning with off-the-shelf diverse planners. The procedure calls a diverse planner to generate k plans for the true goal, applies the theory of mind
Tto the instance, goal, and goal set, then selects the plan maximizing n̂-legibility minus a regularization termγ|π|. This is tested using Forbid-Iterative (built on Fast-Downward) with cross-entropy as the similarity function ℋ.
Main Findings
-
Legibility and efficiency trade off consistently. The authors state that "it was always possible to increase legibility in exchange of making plans more lengthy," across every tested domain.
-
The size of the trade-off varies sharply by domain. At γ = 0 and d% = 0, reported values include: logistics 3.08 legibility gain against 3.21 cost gain; blocks 2.44 against 6.24; ferry 1.58 against 1.3; kitchen 1.43 against 1.26; satellite 1.38 against 1.34; campus 1.32 against 1.1; miconic 1.08 against 1.2; grid 1.03 against 1.35; intrusion 1.0 against 1.0.
-
Some domains offer essentially nothing to gain. In intrusion-detection, legibility gain is 1.0 at γ = 0 and d% = 0, and the same 1.0 appears with 20% dropped observations; the highest value recorded for that domain is 1.17 (γ = 0, d% = 60).
-
A regularization factor is needed. The abstract states that "a regularizing factor to balance legibility and efficiency was proved necessary." Raising γ from 0 through 0.001, 0.01, and 0.1 consistently pulls gains down toward 1.0 — for example logistics falls from 3.08 to 1.06 legibility gain and from 3.21 to 1.01 cost gain.
-
Dropping observations does not help uniformly. The direction of the effect depends on the domain: logistics peaks when none of the observations are dropped, while intrusion-detection moves in the opposite direction, increasing as more observations are dropped.
-
A stated hypothesis for the domain dependence. The authors suggest that domains with goal-specific actions benefit more from dropping parts of observations than domains with universally applicable actions, because relaxed plans in the former case are still constrained by the goal-specific actions.
-
A priori prediction looks hard. The data "indicates that it is difficult to predict a priori how legibility will behave in experiments on real data."
-
Caption labeling caveat. Table 2's caption labels ℒ_gain as "cost gain" and 𝒞_gain as "legibility gain," which is reversed relative to the definitions in Equations 11 and 12; the values above are read against the equation definitions.
Methodology in Plain English
The setup is simple: pick one true goal out of four candidates, then ask what plan the robot should execute so that a watcher can tell which of the four it is going for.
-
Generate candidates. Use a diverse planner to produce k different plans that all reach the true goal (k = 50, 100, and 200 were tried). Diverse planning is used as a practical stand-in for exhaustively searching the plan space, which n-legibility would otherwise require because legibility is non-monotonic over plan prefixes.
-
Model the observer. The observer is a probabilistic goal recognizer: given observed actions, how likely is each candidate goal? This is computed by comparing, for each goal, the cost of the best plan that merely achieves it versus the cost of the best plan that achieves it while containing the observations. The ratio of those two costs measures how "rational" the observations look for that goal, and a Boltzmann distribution turns those ratios into probabilities.
-
Apply the theory of mind. A transformation
Trewrites the robot's planning instance into the observer's version of it — a version with less information. Because real, unknown mismatched models would need learning and model reconciliation, the authors test a restricted, easily sampled family: transformations that randomly drop d% of the plan's actions and parameters (d% = 0, 20, 40, 60, 80). Observations are allowed to be non-consecutive but must stay in order, and may be only partially instantiated, simulating an observer that cannot see or fully parse every action. -
Score and select. For each candidate plan, legibility is computed step by step in the observer's model and averaged with equal weight across steps. Cross-entropy measures how far the inferred goal distribution is from the true one. The chosen plan maximizes that legibility minus γ times plan length, with γ ∈ {0, 0.001, 0.01, 0.1}.
-
Measure the trade-off. Two ratios summarize each result: legibility gain (legibility of the best legible plan divided by that of the optimal plan) and cost gain (length of the legible plan divided by that of the optimal plan). Each domain contributes 10 random instances, and results in Table 2 are reported for k = 200.
The worked example is a rescue scenario: a scout robot mapping a dangerous building (a lab filled with toxic gases) while a commander watches a grid interface from outside. The commander can see the robot's position but not obstacles or rough terrain. The robot estimates the commander's candidate goal set (e.g. all rooms) and picks a plan that passes over obstacles rather than skirting toward other rooms — more expensive, but clearly aimed at goal g3.
Why This Matters
Interpretable planning matters because a collaborator who cannot read the robot's intent loses trust in it; the paper's framing is that legibility lets an embodied agent communicate its goal implicitly, without extra signaling channels. The distinctive practical claim is that this can be done with PDDL and existing planners, so researchers and engineers do not need bespoke legibility solvers.
- Search-and-rescue and inspection robots operating where only the robot has sensor access to hazards, and a remote supervisor watches a simplified interface — the paper's own motivating scenario.
- Human-robot teaming in shared workspaces, where a robot moving material or tools should visibly commit to one destination rather than appearing to drift between several.
- Assistive and service robots, where users need to anticipate what the robot is about to do in order to coordinate safely.
- Evaluation tooling for interpretability research, since the legibility-gain and cost-gain ratios give a reusable way to compare domains and observer models.
Industry relevance: the method's dependence on standard PDDL and an open-source planner stack (Forbid-Iterative on Fast-Downward) lowers the barrier to adoption in logistics, warehouse automation, and any deployment where a human supervises autonomous equipment. The domain-dependent results also signal a practical caution: the payoff from legible planning has to be measured per deployment rather than assumed.
Future Directions
-
Predicting legibility behavior in advance. The authors explicitly note it is difficult to predict a priori how legibility will behave, and hypothesize that goal-specific versus universally applicable actions explain the pattern. Testing that hypothesis is the obvious next step.
-
Model reconciliation. The paper assumes every planner instance has exactly one valid description in the observer's model and explicitly excludes cases requiring reconciliation, pointing to [2] for how explanations would restore compatibility when the two models diverge too far.
-
Richer theory-of-mind models. The benchmark deliberately uses an easily sampled family (dropping d% of actions and parameters). Learned or domain-specific observer models, and transformations beyond information loss, remain untested here.
-
Human validation. The paper reports domain benchmarks only; no user study of whether people actually judge these PDDL plans as more legible is reported in the provided text, leaving perceived legibility an open empirical question.
Target Audience
Robotics and AI-planning researchers working on explainability, human-robot interaction, and human-robot teaming; graduate students who already know PDDL and want to see legibility formalized outside trajectory domains; and practitioners who need interpretable robot behavior but cannot afford a custom planner. Readers wanting the mathematical definitions can go straight to Sections 3 and 4, while those interested in how much legibility actually costs should start at Table 2 and Figure 3.
Note: the supplied paper text is truncated mid-sentence in the Discussion section, so any further discussion results are not covered here.
Authors’ abstract
Legible planning is the creation of plans that best disambiguate their goals from a set of other candidates from an observer's perspective. In this paper we propose a method for legible planning for arbitrary PDDL domains, by extending previous research on legibility to classical planning without requiring to construct ad-hoc planners. We also discuss how the observer perspective may be estimated through a second order theory of mind that connects the planner's and the…
The full abstract on arXivRelated papers
- Becoming a Fruit Ninja: Real-Time Probabilistic Kinodynamic Planning for Manipulator Projectile Interception 2026-09-18 · cs.RO · Key terms of the title in common
- MR. POP: Multi-Robot Parallel Optimizing Planner for Almost-Surely Asymptotically Optimal Planning 2026-09-25 · cs.RO · Key terms of the title in common
- GRID-Planner: Graph-Structured Relational Reward Shaping for Diffusion Planning 2026-10-15 · cs.RO · Key terms of the title in common
- Plans Are Not Executions: Adapting Frozen World-Model Planners to Controller-Induced Execution Shift 2026-10-15 · cs.RO · Key terms of the title in common