[Paper Review] Explanations for Monotonic Classifiers
This paper proposes polynomial-time, model-agnostic algorithms for computing formal PI-explanations and contrastive explanations for monotonic classifiers, leveraging monotonicity to ensure correctness and efficiency. The approach achieves significant speedups over heuristic methods like Anchor, with negligible overhead even when enumerating all explanations via SAT-based enumeration.
In many classification tasks there is a requirement of monotonicity. Concretely, if all else remains constant, increasing (resp. decreasing) the value of one or more features must not decrease (resp. increase) the value of the prediction. Despite comprehensive efforts on learning monotonic classifiers, dedicated approaches for explaining monotonic classifiers are scarce and classifier-specific. This paper describes novel algorithms for the computation of one formal explanation of a (black-box) monotonic classifier. These novel algorithms are polynomial in the run time complexity of the classifier and the number of features. Furthermore, the paper presents a practically efficient model-agnostic algorithm for enumerating formal explanations.
Motivation & Objective
- Address the lack of dedicated, formal explanation methods for monotonic classifiers despite their widespread use in high-stakes applications.
- Develop model-agnostic algorithms that compute exact, formal explanations (PI-explanations and contrastive explanations) without requiring access to the internal model structure.
- Ensure computational efficiency by exploiting monotonicity, achieving polynomial-time complexity relative to classifier inference time and number of features.
- Enable scalable enumeration of all formal explanations using a SAT-based approach, with minimal performance overhead in practice.
- Provide theoretical and empirical guarantees on explanation quality and correctness, avoiding the pitfalls of heuristic methods like Anchor that may produce incorrect explanations.
Proposed method
- Propose a novel algorithm to compute a single PI-explanation (subset-minimal feature set sufficient for the prediction) in polynomial time relative to classifier inference time and number of features.
- Leverage monotonicity to guide the search for minimal sufficient feature sets, ensuring that increasing feature values does not decrease the prediction.
- Design a contrastive explanation algorithm that identifies minimal feature sets whose absence would change the prediction, again in polynomial time.
- Use a SAT-based formulation to systematically enumerate all possible PI-explanations and contrastive explanations, enabling complete explanation sets for analysis.
- Integrate the SAT solver with pruning techniques based on monotonicity to reduce search space and improve efficiency during enumeration.
- Ensure model-agnosticism by requiring only black-box access to the classifier, making the method applicable to any monotonic model without internal knowledge.
Experimental results
Research questions
- RQ1Can formal, subset-minimal explanations (PI-explanations) be computed efficiently for monotonic classifiers without requiring model-specific logic or knowledge compilation?
- RQ2Does exploiting monotonicity enable polynomial-time computation of explanations while maintaining correctness and completeness?
- RQ3How does the performance of the proposed method compare to heuristic explainers like Anchor in terms of speed, explanation size, and correctness guarantees?
- RQ4What is the practical scalability of enumerating all formal explanations using a SAT-based approach in real-world monotonic models?
- RQ5To what extent does the use of a SAT solver for enumeration introduce computational overhead, and is it feasible for models with hundreds of features?
Key findings
- The proposed algorithms compute one formal explanation in polynomial time relative to the classifier’s inference time and number of features, enabling efficient explanation generation.
- For the Auto-MPG and PimaMono datasets, the total running time was dominated by classifier inference (99.99% and 99.54% respectively), indicating that explanation computation overhead is negligible.
- MonoXP outperformed Anchor by more than an order of magnitude in speed on both the BankruptcyRisk and PimaMono datasets, due to fewer classifier queries.
- On average, MonoXP produced smaller or comparable explanation sizes to Anchor, with 64.1% of Anchor’s explanations on BankruptcyRisk being incorrect (i.e., not valid across all feature space points).
- The SAT-based enumeration algorithm successfully computed all AXp and CXp explanations for both datasets with negligible computational overhead, demonstrating practical scalability.
- The results confirm that formally defined explanations need not be larger than heuristic ones, and that monotonicity enables both correctness and efficiency in explanation generation.
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.