TL;DR
This paper proposes a novel approach to explaining action failures in numeric planning problems by framing them as cooperative games. By adapting Shapley and Banzhaf values, the authors offer a way to quantify the "blame" of individual actions leading to a plan's failure, revealing that different attribution methods can yield significantly different insights.
What Problem Does This Paper Address?
Explaining why a plan fails is crucial, especially in complex numeric planning scenarios. While classical planning can pinpoint the failing condition, it struggles to explain why that condition isn't met. For instance, if a robot's battery runs out before it can complete a task, simply knowing the battery level is too low isn't helpful. The authors highlight that in numeric planning, where actions have continuous effects (like battery drain), identifying a single "culprit" action is difficult because multiple preceding actions might contribute to the failure. Existing methods fall short, necessitating a new framework to assign responsibility.
Methods
The core contribution is framing action failure explanation as a cooperative game. Here, actions that could lead to a failure are treated as "players" in a game. A "coalition" of these actions is considered "winning" if it causes the failure condition to be violated, and "losing" otherwise. The authors then adapt two established cooperative game theory concepts for attributing value to players:
- Shapley Values: This method, traditionally used in machine learning explanations, is modified to account for the sequential and ordered nature of actions in a plan. It considers all possible valid permutations of actions to distribute the "payoff" (i.e., the responsibility for failure) fairly among players.
- Banzhaf Values: This alternative method is also adapted. Unlike Shapley values, it focuses on the number of times an action contributes to a win or loss, rather than permutations.
The paper introduces a running example of a rover with a depleting battery to illustrate these methods.
Datasets
Not discussed in the paper. The paper uses a synthetic running example to illustrate its concepts.
Key Insights and Ideas
- Numeric Planning Demands New Explanation Paradigms: The continuous nature of numeric planning (e.g., battery levels, resource consumption) makes failure explanations far more nuanced than in classical, discrete planning.
- Cooperative Games as a Powerful Analogy: Framing action failures as cooperative games provides a robust mathematical framework for assigning blame. Actions become players, and their collective effect leading to failure is the "win condition."
- Shapley vs. Banzhaf: Different Lenses on Blame: The choice of attribution method (Shapley vs. Banzhaf) significantly impacts which actions are identified as most responsible for a failure. This suggests that the "intuition" behind an explanation might depend on the underlying attribution model.
- Planning-Specific Modifications are Necessary: Standard Shapley and Banzhaf calculations, designed for general games, need adaptation to respect the ordered, sequential, and sometimes restricted execution paths of actions in a plan.
Key Results
Through a rover battery depletion example, the paper demonstrates:
- Shapley Values: Tended to identify more recent actions that directly pushed the battery below the critical threshold. In the example, Tk and Pup received a value of 1/2 each, while Mv received 0.
- Banzhaf Values: Identified actions based on their contribution to the overall deficit. In the example, Mv received a value of 3/4, while Tk and Pup received 1/4 each, and Scn received 0.
These contrasting results highlight that different methods can lead to very different "blame assignments" for the same failure.
Limitations and Future Work
- User Studies Needed: The authors acknowledge that it's unclear which attribution method (Shapley or Banzhaf) is more intuitive for human users when explaining plan failures. Future work should involve user studies to determine this.
- Computational Complexity: While Banzhaf values appear computationally less intensive than Shapley values in their naive forms, the paper notes that checking for valid action sequences can add complexity. Further research is needed to optimize these calculations for practical planning systems.
- Causal Links in Planning: The paper briefly mentions that planning problems can involve complex causal links (one action affecting many others) that are not typically present in machine learning contexts. How these more intricate dependencies affect the Shapley and Banzhaf values warrants further investigation.
- Generalizing Beyond Numeric Fluents: The paper focuses on numeric fluents for simplicity but suggests that the framework could be extended to more complex expressions and propositional fluents.
Summary updated