An XAI View on Explainable ASP: Methods, Systems, and Perspectives
This survey provides an XAI-guided overview of existing explanation methods and tools for Answer Set Programming, mapping them to user needs while identifying current gaps and outlining future research directions.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have built a very smart, logical robot to solve a complex puzzle. You give it a set of rules (like a recipe), and it spits out a solution. But sometimes, the robot gives you an answer that surprises you, or worse, it refuses to give an answer at all. You ask, "Why did you do that?" or "Why can't you solve this?"
This paper is a guidebook for asking those questions to Answer Set Programming (ASP) systems. ASP is a type of "Symbolic AI" that uses strict logical rules (like a super-precise recipe book) to solve problems. Unlike modern "neural network" AIs that are often black boxes (you put data in, magic happens, and you get an answer), ASP is transparent by nature because it follows clear, written rules.
However, even with clear rules, the logic can get tangled. This paper surveys the different "tools" and "methods" we have to explain what the robot is thinking. The authors, Thomas Eiter, Tobias Geibinger, and Zeynep G. Saribatur, organize these tools based on two main perspectives: Local and Global.
The Two Types of Questions
Think of the ASP system as a detective solving a case.
1. Local Explanations (The "Specific Case" Detective)
- The Question: "I have a specific solution (a specific answer set). Why is this fact true in this solution?" or "Why is this fact false?"
- The Analogy: Imagine you are looking at a specific photo of a crime scene. You ask, "Why is the suspect holding an umbrella?" The tool looks at the specific rules that led to that umbrella being in the photo.
- The Tools: The paper lists several ways to do this:
- Justification Trees: Like a family tree, but for logic. It shows how one fact "descends" from other facts and rules.
- Support Graphs: A map showing which rules "supported" a decision.
- Contrastive Explanations: This is like asking, "Why did the suspect wear an umbrella instead of a hat?" The tool explains the difference between the actual outcome and a hypothetical "what if" scenario.
2. Global Explanations (The "Big Picture" Detective)
- The Question: "Why does the robot never give an answer?" or "Why does the robot always include this fact in every single solution?"
- The Analogy: Imagine you are looking at the entire rulebook of the detective. You ask, "Why is it impossible to solve this case?" or "Why is the suspect always guilty, no matter what?"
- The Tools:
- Debugging: If the robot crashes (no solution), these tools act like a mechanic finding the broken part of the engine. They look for "Minimal Unsatisfiable Sets"—the smallest group of rules that are fighting each other and causing the crash.
- Abstraction: This is like zooming out on a map. If the map is too crowded to see the problem, you blur out the small streets and only look at the highways. This helps find the core reason why the system is stuck.
The Current State of the Toolbox
The paper acts as a review of the "toolshed" available to ASP users. Here is what they found:
- We have many tools for "Why is X true?" There are many ways to explain why a specific fact appears in a solution (Local).
- We are missing tools for "Why is the solution optimal?" If the robot picks the "best" solution based on some preferences, explaining why it's the best is currently very hard.
- The "Language Gap": Many of these explanation tools work well on simple rules. But real-world problems often use advanced features like "disjunction" (A or B), "aggregates" (counting things), or "weak constraints" (preferences). The paper notes that many explanation tools cannot handle these advanced features yet. It's like having a wrench that only fits small bolts, but your machine has giant bolts.
- The "System Divide": You often have to choose between a tool that explains a specific solution (Local) or a tool that explains why the whole system is broken (Global). You rarely get a tool that does both seamlessly.
The Human Element (Cognitive Aspects)
The authors also point out that just having the technical answer isn't enough; the explanation must be understandable to a human.
- Too Much Information: If you have a massive program with thousands of rules, showing the user the entire "family tree" of logic is overwhelming. The paper suggests we need better ways to "summarize" or "abstract" these explanations, perhaps by hiding the boring details and showing only the core logic.
- Talking to Non-Experts: Most tools output technical graphs or lists of rules. The paper suggests using Large Language Models (LLMs) (like the AI you are talking to now) to translate these technical "robot languages" into plain English. Imagine the robot saying, "I chose the umbrella because it was raining," instead of showing a complex graph of logical rules.
The Bottom Line
This paper is a map of the current landscape of "Explainable ASP." It tells us:
- We are good at explaining specific, local decisions.
- We are struggling with explaining why systems fail completely or why they choose the "best" option among many.
- We need better tools that can handle complex, real-world rule types.
- We need to make it human-friendly by summarizing complex logic and translating it into natural language.
The authors conclude that while we have a rich variety of methods, no single tool fits every need yet. The future of ASP explanation lies in bridging the gap between complex logical reasoning and human understanding, perhaps by using new AI technologies to act as translators.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.