[Paper Review] DECE: Decision Explorer with Counterfactual Explanations for Machine Learning Models
DECE is an interactive visualization system that leverages counterfactual explanations to help users explore and understand machine learning model decisions on tabular data. It enables users to analyze model behavior at both instance and subgroup levels through customizable, actionable counterfactuals, supporting model developers and end-users in diagnosing biases and making informed decisions.
With machine learning models being increasingly applied to various decision-making scenarios, people have spent growing efforts to make machine learning models more transparent and explainable. Among various explanation techniques, counterfactual explanations have the advantages of being human-friendly and actionable -- a counterfactual explanation tells the user how to gain the desired prediction with minimal changes to the input. Besides, counterfactual explanations can also serve as efficient probes to the models' decisions. In this work, we exploit the potential of counterfactual explanations to understand and explore the behavior of machine learning models. We design DECE, an interactive visualization system that helps understand and explore a model's decisions on individual instances and data subsets, supporting users ranging from decision-subjects to model developers. DECE supports exploratory analysis of model decisions by combining the strengths of counterfactual explanations at instance- and subgroup-levels. We also introduce a set of interactions that enable users to customize the generation of counterfactual explanations to find more actionable ones that can suit their needs. Through three use cases and an expert interview, we demonstrate the effectiveness of DECE in supporting decision exploration tasks and instance explanations.
Motivation & Objective
- To address the lack of transparency and interpretability in machine learning models used for high-stakes decisions such as loan approvals and medical diagnoses.
- To support both model developers and end-users in understanding, diagnosing, and acting upon model predictions through human-friendly and actionable counterfactual explanations.
- To enable interactive exploration of model decision boundaries by combining instance-level and subgroup-level counterfactual analysis with customizable constraints.
- To facilitate the discovery of simple, effective decision rules through iterative subgroup refinement based on counterfactual examples.
- To improve the practical usability of counterfactual explanations by integrating user feedback and supporting real-world feasibility constraints.
Proposed method
- DECE integrates a tabular interface for subgroup creation and visualization, allowing users to filter, sort, and explore subgroups of data with summarized counterfactual examples.
- It uses an enhanced parallel coordinate view in the instance lens to visualize and compare diverse counterfactual examples for individual instances.
- Users can interactively impose constraints on feature variations (e.g., limiting credit score changes) to generate feasible and actionable counterfactuals.
- The system supports iterative subgroup refinement by enabling users to select salient features and narrow down subgroups to identify patterns in model behavior.
- Counterfactual generation is based on model predictions, ensuring exactness and avoiding approximation, with optimization techniques applied for efficiency.
- The framework supports both binary and multiclass classification by allowing users to select target classes or using heuristics (e.g., second most probable class).
Experimental results
Research questions
- RQ1How can counterfactual explanations be effectively used to explore and understand model decisions at both instance and subgroup levels?
- RQ2What interaction techniques can help users generate more actionable and feasible counterfactual explanations by customizing feature constraints?
- RQ3To what extent can r-counterfactuals support exploratory analysis in identifying meaningful decision rules and model biases?
- RQ4How do user constraints and feedback influence the interpretability and usability of counterfactual explanations in real-world decision-making contexts?
- RQ5What are the scalability and performance characteristics of generating counterfactuals across diverse tabular datasets with varying feature types?
Key findings
- DECE enables effective exploration of model decision boundaries by combining subgroup-level counterfactuals with interactive constraint specification, allowing users to identify patterns in model behavior.
- The system supports efficient counterfactual generation, with single example generation taking approximately 16 seconds on the HELOC dataset using a 2.5GHz Intel Core i5 CPU.
- Users reported that the ability to customize constraints significantly improved the actionability of counterfactuals, particularly in sensitive domains like healthcare and finance.
- Expert feedback highlighted the importance of supporting non-applicable values and reference ranges for clinical attributes, leading to design improvements in the system.
- The system demonstrated scalability to datasets with up to 10,459 instances, though convergence was slower for datasets with many categorical features.
- User feedback indicated that visualizing subgroup purity and feature distributions enhanced the ability to detect model biases and derive meaningful decision rules.
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.