Generalizing Action Justification and Causal Links to Policies

Sarath Sreedharan, Christian Muise, Subbarao Kambhampati

Abstract

This paper addresses a significant gap in automated planning: explaining decisions made by complex, non-deterministic policies. While tools exist to explain simple sequences of actions in classical planning, modern AI often operates using policies—sets of rules for agents in uncertain environments. The authors generalize two foundational concepts—action justification and causal links—to work with these complex policies. By compiling policy-explanation queries into modified planning problems, they provide a formal framework for answering why a specific action is required in a given state, generating human-readable causal chains that link actions to ultimate goals.

Introduction

In classical planning, explaining a plan is straightforward: one can demonstrate that removing a step makes the goal unreachable (justification) or that a specific step provides a precondition needed for a subsequent one (causal link). However, real-world planning often involves Fully Observable Non-Deterministic (FOND) environments, where actions have multiple possible outcomes. In these scenarios, solutions are represented as policies—mappings from states to actions—rather than simple sequences.

Until now, there was no formal method to define if an action within a policy was truly "required." Because a policy accounts for many possible futures, a single action might contribute to the goal in several different ways depending on environmental reactions. This research provides the mathematical and algorithmic machinery to handle these complexities.

A simple overview of the daily planner policy, which highlights the actions that are determined by the policy along with some of the non-deterministic effects caused by the action.
Generalizing Action Justification and Causal Links to Policies, page 4 Figure 1: A motivating example of a "daily planner" policy where non-deterministic outcomes (like a road being closed) require different branching paths.

Methodology

The authors utilize a compilation-based approach to determine if an action $a$ is "well-justified" at state $s$. This involves creating a modified version of the planning problem through a Dual-Fluent Representation. In this model, two copies of every state variable (fluent) are created: one tracks the "real" state, while the other tracks what the action has contributed to the policy's progress.

By "crippling" a specific state-action pair $\langle s, a \rangle$ so it no longer provides useful effects for future preconditions, the system performs an Unsolvability Test. If the goal becomes unreachable in this modified model, the original action is proven essential. To generate explanations, the researchers identify Causal Policy Landmarks—facts that must be achieved to reach the goal from a given state. By chaining these proximal subgoals, the system creates a narrative: "Action A is needed for Fact 1, which is needed for Fact 2... which is required for the Goal."

Experimental Evaluation

The algorithms were evaluated on standard FOND benchmarks, including Elevator, Exploding Blocksworld, Tireworld, and Zenotravel, using policies generated by the state-of-the-art PRP planner.

Key Findings

  • Policy Redundancy: The study revealed that state-of-the-art planners do not always produce minimal policies. In the Exploding Blocksworld domain, only approximately 75% of actions were found to be well-justified, suggesting that justification metrics could be used to optimize and "clean up" AI policies.
  • Efficiency: For most domains, the system determined action justification in under 2.5 seconds and identified causal links in under 5 seconds.
  • Scalability: The approach faced challenges in the Triangle Tireworld domain due to a massive state space (over 400,000 fluents), where justification tests took over 80 seconds. This highlights a need for more efficient unsolvability checkers in large-scale environments.

Conclusion and Future Work

This work successfully generalizes classical planning explanations to non-deterministic policies, ensuring theoretical consistency with deterministic cases. While the logic for explanations is robust, future research is needed to evaluate human factors through user studies to determine if these "causal chains" are intuitively helpful. Additionally, the authors plan to explore "weaker" notions of justification, where an action might only be required for a subset of possible successful outcomes rather than all of them.

Summary updated

BibTeX
@inproceedings{sreedharan2023generalizing,
  author = {Sarath Sreedharan and Christian Muise and Subbarao Kambhampati},
  title = {{Generalizing Action Justification and Causal Links to Policies}},
  booktitle = {ICAPS},
  year = {2023},
  doi = {10.1609/icaps.v33i1.27221},
}
Figure