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 observer's task spaces. Our solution can for example be deployed in human-robot teaming scenarios, where an autonomous robot in a team can implicitly communicate its goal by producing legible plans. We present benchmark results on several PDDL planning domains. Our results generally show that plan legibility is a trade-off with plan efficiency, however, not all planning domains allows to increase legibility in the same way and a regularizing factor to balance legibility and efficiency was proved necessary.
Figures & tables
Figure 1: Legible planning requires a second order theory of mind, by which the planner, working e.g. on a mobile robot R , estimates how the observer O interprets the robot’s actions by using a first order theory of mind of the robot. Legibility of plans is computed inside Ξpl′ that is O ’s model of R .
Figure 2: Legible planning in the rescue scenario. Left side: world grid that the commander believes the robot is planning for. This plan instance is estimated internally by the robot through a theory of mind, and doesn’t have any obstacles. Right side: real world grid computed by the robot, which has the real goal and contains detected obstacles.
Domain
∣A∣
∣P∣
∣I∣
∣G∣
∣π∣
intrusion
9.0
11.0
1.0
4.75
17.15
kitchen
29.0
23.0
2.0
1.0
10.6
satellite
5.0
12.0
62.8
6.8
16.55
campus
22.0
12.0
1.0
2.75
4.925
blocks-world
4.0
5.0
14.4
4.95
15.25
logistics
6.0
3.0
22.7
2.3
31.25
Table 1: Average instance measures over the tested planning domains. The columns, from left to right are: number of operators, number of predicates, size of the initial state, size of the goal, length of optimal plan.
γ
0
0.001
0.01
0.1
d%
domain
Lgain
Cgain
Lgain
Cgain
Lgain
Cgain
Lgain
Cgain
0
campus
1.32
1.1
1.31
1.1
1.26
1.1
1.08
1.03
kitchen
1.43
1.26
1.37
1.26
1.16
1.11
1.0
1.0
satellite
1.38
1.34
1.35
1.32
1.2
1.2
1.01
1.01
intrusion
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
Table 2: Computed plan legibility and cost measures. Lgain : cost gain, Cgain : legibility gain, d% : percentage of dropped observations, γ : regularization factor towards cheap plans. Values are for k=200 .
Figure 3: Legibility gain for various percentages of dropped parameters.
k
50
100
200
γ=0
Lgain
1.31
1.43
1.54
Cgain
1.36
1.47
2.09
γ=0.01
Lgain
1.13
1.18
1.16
Cgain
1.18
1.21
1.36
γ=0.1
Lgain
1.01
1.02
1.01
Cgain
1
1
1
Table 3: Average over all of the domains of legibility and cost gains for increasing values of k .
In cooperative environments, such as in factories or assistive scenarios, it is important for a robot to communicate its intentions to observers, who could be either other humans or robots. A legible trajectory allows an observer to quickly and accurately predict an agent's intention. In adversarial environments, such as in military operations or games, it is important for a robot to not communicate its intentions to observers. An illegible trajectory leads an observer to incorrectly predict the agent's intention or delays when an observer is able to make a correct prediction about the agent's intention. However, in some environments there are multiple observers, each of whom may be able to see only part of the environment, and each of whom may have different motives. In this work, we introduce the Mixed-Motive Limited-Observability Legible Motion Planning (MMLO-LMP) problem, which requires a motion planner to generate a trajectory that is legible to observers with positive motives and illegible to observers with negative motives while also considering the visibility limitations of each observer. We highlight multiple strategies an agent can take while still achieving the problem objective. We also present DUBIOUS, a trajectory optimizer that solves MMLO-LMP. Our results show that DUBIOUS can generate trajectories that balance legibility with the motives and limited visibility regions of the observers. Future work includes many variations of MMLO-LMP, including moving observers and observer teaming.
Ananya Yammanuru, Maria Lusardi, Nancy M. Amato +1
University of Illinois at Urbana-Champaign, Urbana IL 61801, USA
Frontier large language models (LLMs) can generate heuristic functions that guide search to achieve state-of-the-art performance in satisficing planning, where any plan is acceptable. However, these heuristics are not guaranteed to be admissible and can lead to suboptimal plans. We introduce LeanPlan, the first planning system that finds optimal plans with LLM-generated heuristics whose admissibility is machine-checked. Given a domain description and training tasks, an agentic loop uses planner feedback to iteratively improve a reusable domain-specific heuristic, its admissibility proof and the required domain assumptions. LeanPlan implements the heuristic, its proof and an efficient planner with machine-checked grounding and search in Lean 4. We evaluate LeanPlan on ten domains from the International Planning Competition and three new domains, using test tasks with up to 57 times as many objects as the training tasks. With GPT-5.6 Sol in the agentic loop, we successfully generate heuristics and admissibility proofs for all these domains. With the resulting heuristics, LeanPlan usually expands fewer states than the state-of-the-art Scorpion planner and solves more tasks overall.
André G. Pereira, Augusto B. Corrêa, Felipe Meneguzzi +1
Federal University of Rio Grande do Sul Brazil · University of Oxford United Kingdom · University of Aberdeen United Kingdom +1
Task planning, the problem of sequencing actions to reach a goal from an initial state, is a core capability requirement for autonomous robotic systems. Whether large language models (LLMs) can serve as viable planners alongside classical symbolic methods remains an open question. We present PyPDDLEngine, an open-source Planning Domain Definition Language (PDDL) simulation engine that exposes planning operations as LLM tool calls through a Model Context Protocol (MCP) interface. Rather than committing to a complete action sequence upfront, the LLM acts as an interactive search policy that selects one action at a time, observes each resulting state, and can reset and retry. We evaluate four approaches on 102 International Planning Competition (IPC) Blocksworld instances under a uniform 180-second budget: Fast Downward lama-first and seq-sat-lama-2011 as classical baselines, direct LLM planning (Claude Haiku 4.5), and agentic LLM planning via PyPDDLEngine. Fast Downward achieves 85.3% success. The direct and agentic LLM approaches achieve 63.7% and 66.7%, respectively, a consistent but modest three-percentage-point advantage for the agentic approach at 5.7× higher token cost per solution. Across most co-solved difficulty blocks, both LLM approaches produce shorter plans than seq-sat-lama-2011 despite its iterative quality improvement, a result consistent with training-data recall rather than generalisable planning. These results suggest that agentic gains depend on the nature of environmental feedback. Coding agents benefit from externally grounded signals such as compiler errors and test failures, whereas PDDL step feedback is self-assessed, leaving the agent to evaluate its own progress without external verification.
Kai Göbel, Pierrick Lorang, Patrik Zips +1
AIT Austrian Institute of Technology GmbH, Vienna, Austria