[Paper Review] Towards Explainable AI Planning as a Service
This paper proposes Explainable AI Planning as a Service (XAIPaaS), a modular framework that uses a trusted planner and domain model as a wrapper to generate contrastive explanations for user questions like 'Why A rather than B?'. By formulating hypothetical planning problems with constraints, the system replans to compare alternative actions, enabling users to validate plan quality and build trust in safety-critical applications using their own verified planners and models.
Explainable AI is an important area of research within which Explainable Planning is an emerging topic. In this paper, we argue that Explainable Planning can be designed as a service -- that is, as a wrapper around an existing planning system that utilises the existing planner to assist in answering contrastive questions. We introduce a prototype framework to facilitate this, along with some examples of how a planner can be used to address certain types of contrastive questions. We discuss the main advantages and limitations of such an approach and we identify open questions for Explainable Planning as a service that identify several possible research directions.
Motivation & Objective
- To address the growing need for explainable AI in safety-critical planning applications where users must trust the planner and model they use.
- To enable contrastive explanations—answering 'Why A rather than B?'—by generating and comparing alternative plans using the same trusted planner and domain model.
- To design a modular, agnostic framework that works with any PDDL 2.1-compliant planner and domain, ensuring compatibility and user trust.
- To support iterative user questioning by enabling dynamic constraint compilation and re-planning for deeper explanation refinement.
- To identify open research challenges in explanation effectiveness, automation, and integration with human-computer interaction and cognitive science.
Proposed method
- The framework acts as a wrapper around an existing planning system, accepting the original planning problem, domain model, and user questions.
- User questions are translated into formal constraints that modify the original domain model to create a hypothetical planning problem.
- The system invokes the original planner on the constrained problem to generate alternative plans for comparison.
- Constraints are compiled into the domain model to preserve fidelity, ensuring the alternative plan remains executable under the original model.
- The framework supports iterative questioning by dynamically modifying constraints and re-running the planner.
- A GUI is implemented to visualize differences between original and alternative plans, highlighting added (red) or removed (blue) actions.
Experimental results
Research questions
- RQ1How can contrastive explanations be generated using a user’s trusted planner and domain model rather than a separate, potentially untrusted system?
- RQ2What types of contrastive questions are most relevant and useful for users in safety-critical planning domains?
- RQ3How can hypothetical planning problems be effectively constructed from user questions using constraint-based model modification?
- RQ4What are the key technical and usability challenges in building a modular, extensible XAIP-as-a-service framework?
- RQ5How can the effectiveness of contrastive explanations be evaluated in practice, especially in terms of user trust and understanding?
Key findings
- The XAIPaaS framework successfully generates contrastive explanations by re-planning under user-specified constraints, enabling comparison between original and alternative plans.
- The approach ensures that all explanations are based on the user’s trusted planner and domain model, preserving model fidelity and user confidence.
- The prototype implementation in PDDL 2.1 demonstrates compatibility with existing planners and supports dynamic constraint injection for iterative explanation refinement.
- Visualizations such as causal graphs and GUI highlights effectively communicate plan differences, with added actions shown in red and removed actions in blue.
- The framework is being integrated into ROSPlan, indicating practical applicability in robotics and real-world AI planning systems.
- The paper identifies key research directions, including automated question decomposition, user study validation, and interdisciplinary synergy with visualization and cognitive science.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.