[Paper Review] Efficient Search for Diverse Coherent Explanations
This paper proposes a mixed-integer programming approach using a novel 'mixed polytope' constraint to efficiently generate coherent and diverse counterfactual explanations for mixed-data linear classifiers—such as logistic regression with one-hot encoded features—ensuring explanations map back to valid data structures. The method scales to real-world financial datasets like FICO, outperforming brute-force enumeration by generating diverse, stable, and actionable explanations that reveal model behavior and support decision transparency.
This paper proposes new search algorithms for counterfactual explanations based upon mixed integer programming. We are concerned with complex data in which variables may take any value from a contiguous range or an additional set of discrete states. We propose a novel set of constraints that we refer to as a "mixed polytope" and show how this can be used with an integer programming solver to efficiently find coherent counterfactual explanations i.e. solutions that are guaranteed to map back onto the underlying data structure, while avoiding the need for brute-force enumeration. We also look at the problem of diverse explanations and show how these can be generated within our framework.
Motivation & Objective
- To address the lack of scalable and reliable methods for generating coherent counterfactual explanations in mixed-data settings common in real-world machine learning, especially in financial decision systems.
- To develop a framework that guarantees counterfactuals map back to valid data structures (e.g., one-hot encoded features) without brute-force enumeration.
- To introduce a concrete, scalable method for generating diverse counterfactual explanations that avoid over-reliance on single, potentially restrictive outcomes.
- To enable practical, automated generation of explanations that support accountability, transparency, and user understanding in high-stakes decisions.
Proposed method
- Introduces a 'mixed polytope' constraint that models the logical structure of mixed-integer data (continuous and one-hot encoded variables), ensuring generated counterfactuals are valid and coherent.
- Uses mixed-integer programming (MIP) solvers to efficiently search for counterfactuals that minimize perturbations while satisfying the mixed polytope constraints.
- Employs a greedy, iterative procedure to generate diverse counterfactuals by progressively excluding previously found solutions through additional constraints.
- Applies weighted ℓ₁ norm regularization to prioritize changes in variables with higher impact on model decisions, improving interpretability and reducing redundancy.
- Integrates diversity criteria into the MIP framework by dynamically adjusting constraints to avoid repeated variable changes across multiple counterfactuals.
- Validates the approach on the FICO explainability dataset and standard benchmark problems, demonstrating scalability and coherence.
Experimental results
Research questions
- RQ1How can we generate counterfactual explanations that are both coherent (i.e., map back to valid data structures) and efficient (i.e., avoid brute-force search) for mixed-data linear models?
- RQ2What constraints are necessary to ensure that counterfactuals remain valid when features are encoded via one-hot or dummy variable encoding?
- RQ3How can we systematically generate diverse counterfactual explanations that avoid over-reliance on a single, potentially unactionable outcome?
- RQ4To what extent do diverse counterfactuals improve user understanding and actionability in high-stakes decisions like credit scoring?
- RQ5Can a fully automatic, MIP-based method outperform brute-force or heuristic approaches in terms of scalability and explanation quality?
Key findings
- The proposed mixed polytope constraint successfully ensures that all generated counterfactuals are coherent and map back to valid data structures, even when features are one-hot encoded.
- The MIP-based approach scales effectively to real-world datasets like FICO, avoiding the infeasibility of brute-force enumeration for mixed-data problems.
- Diverse counterfactuals generated via the iterative, constraint-based method reveal that a single missed payment is not irredeemable, and strong performance in other areas can compensate.
- The method produces stable, consistent explanations across similar inputs, supporting long-term user trust and transparency.
- Weighted ℓ₁ norm regularization leads to more informative and less redundant explanations compared to simple sparsity constraints.
- The approach reveals that external-risk factors with negative values (e.g., -9) can be critical counterfactuals, even though they appear counterintuitive in raw weight visualizations.
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.