Optimal Transport on Categorical Data for Counterfactuals using Compositional Data and Dirichlet Transport

Agathe Fernandes Machado, Arthur Charpentier, Ewen Gallic
1/26/2025
cs.LGstat.ME

No official code found. Best implementation: fer-agathe/transport-simplex (0 stars, last commit 2025-06-09).

Abstract

Recently, optimal transport-based approaches have gained attention for deriving counterfactuals, e.g., to quantify algorithmic discrimination. However, in the general multivariate setting, these methods are often opaque and difficult to interpret. To address this, alternative methodologies have been proposed, using causal graphs combined with iterative quantile regressions (Plečko and Meinshausen (2020)) or sequential transport (Fernandes Machado et al. (2025)) to examine fairness at the individual level, often referred to as ``counterfactual fairness.'' Despite these advancements, transporting categorical variables remains a significant challenge in practical applications with real datasets. In this paper, we propose a novel approach to address this issue. Our method involves (1) converting categorical variables into compositional data and (2) transporting these compositions within the probabilistic simplex of $\mathbb{R}^d$. We demonstrate the applicability and effectiveness of this approach through an illustration on real-world data, and discuss limitations.

View on arXivView PDF

Code Implementations(1)

00R, CSSJan 26, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{machado2025optimal,
  title  = {Optimal Transport on Categorical Data for Counterfactuals using Compositional Data and Dirichlet Transport},
  author = {Agathe Fernandes Machado and Arthur Charpentier and Ewen Gallic},
  year   = {2025},
  eprint = {2501.15549},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.15549v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.15549.svg)](https://codeofpaper.com/paper/2501.15549)

Discussion