KR2025Proceedings of the 22nd International Conference on Principles of Knowledge Representation and ReasoningProceedings of the 22nd International Conference on Principles of Knowledge Representation and Reasoning

Melbourne, Australia. November 11-17, 2025.

Edited by

ISSN: 2334-1033
ISBN: 978-1-956792-08-9

Sponsored by
Published by

Copyright © 2025 International Joint Conferences on Artificial Intelligence Organization

Counterfactual Scenarios for Automated Planning

  1. Nicola Gigante(Free University of Bozen-Bolzano)
  2. Francesco Leofante(Imperial College London)
  3. Andrea Micheli(Fondazione Bruno Kessler)

Keywords

  1. Classical Planning
  2. Counterfactual Explanations
  3. Explainable Planning

Abstract

Counterfactual Explanations (CEs) are a powerful technique

used to explain Machine Learning models by showing how the

input to a model should be minimally changed for the model

to produce a different output. Similar proposals have been

made in the context of Automated Planning, where CEs have

been characterised in terms of minimal modifications to an

existing plan that would result in the satisfaction of a

different goal. While such explanations may help diagnose

faults and reason about the characteristics of a plan, they

fail to capture higher-level properties of the problem

being solved. To address this limitation, we propose a

novel explanation paradigm that is based on counterfactual

scenarios. In particular, given a planning problem P and

an LTLf formula ψ defining desired properties of a

plan, counterfactual scenarios identify minimal

modifications to P such that it admits plans that comply

with ψ. In this paper, we present two qualitative

instantiations of counterfactual scenarios based on an

explicit quantification over plans that must satisfy

ψ. We then characterise the computational

complexity of generating such counterfactual scenarios when

different types of changes are allowed on P. We show that

producing counterfactual scenarios is often only as

expensive as computing a plan for P, thus demonstrating

the practical viability of our proposal and ultimately

providing a framework to construct practical algorithms in

this area.