Collective Counterfactual Explanations via Optimal Transport

Ahmad-Reza Ehyaei, Ali Shirali, Samira Samadi
2024-02-07
Abstract:Counterfactual explanations provide individuals with cost-optimal actions that can alter their labels to desired classes. However, if substantial instances seek state modification, such individual-centric methods can lead to new competitions and unanticipated costs. Furthermore, these recommendations, disregarding the underlying data distribution, may suggest actions that users perceive as outliers. To address these issues, our work proposes a collective approach for formulating counterfactual explanations, with an emphasis on utilizing the current density of the individuals to inform the recommended actions. Our problem naturally casts as an optimal transport problem. Leveraging the extensive literature on optimal transport, we illustrate how this collective method improves upon the desiderata of classical counterfactual explanations. We support our proposal with numerical simulations, illustrating the effectiveness of the proposed approach and its relation to classic methods.
Machine Learning,Methodology
What problem does this paper attempt to address?
This paper proposes a solution to the competition and unintended cost issues that may arise when individual counterfactual explanations are applied to large-scale modification scenarios. By introducing Collective Counterfactual Explanations (CCE), this method utilizes group density information to guide individuals to take recommended actions, preventing recommendations in low-probability areas and reducing externalities. CCE is based on optimal transport theory and improves upon multiple desirable characteristics of traditional counterfactual explanations, demonstrated through numerical simulations. Additionally, the paper explores path-guided counterfactual explanations in the temporal dimension and counterfactual explanations with ordered classifiers.