Proceedings

Optimal Transport on Categorical Data for Conterfactuals Using Compositional Data and Dirichlet Transport

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 5136-5144.

https://doi.org/10.24963/ijcai.2025/572

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 or sequential transport 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 the Euclidean space. We demonstrate the applicability and effectiveness of this approach through an illustration on real-world data, and discuss limitations.

  1. [Aitchison, 1982] John Aitchison. The statistical analysis of compositional data. Journal of the Royal Statistical Soci- ety: Series B (Methodological), 44(2):139-160, 1982.
  2. [Baxendale and Wong, 2022] Peter Baxendale and Ting- Kam Leonard Wong. Random concave functions. The Annals of Applied Probability, 32(2):812-852, 2022.
  3. [Becker and Kohavi, 1996] Barry Becker and Ronny Ko- havi. Adult. UCI Machine Learning Repository, 1996.
  4. [Black et al., 2020] Emily Black, Samuel Yeom, and Matt Fredrikson. Fliptest: fairness testing via optimal trans- port. In Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency, pages 111-121, 2020.
  5. [Brenier, 1991] Yann Brenier. Polar factorization and mono- tone rearrangement of vector-valued functions. Communi- cations on pure and applied mathematics, 44(4):375-417, 1991.
  6. [Brualdi, 2006] Richard A Brualdi. Combinatorial matrix classes, volume 13. Cambridge University Press, 2006.
  7. [Charpentier et al., 2023] Arthur Charpentier, Emmanuel Flachaire, and Ewen Gallic. Optimal transport for coun- terfactual estimation: A method for causal inference. In Optimal Transport Statistics for Economics and Related Topics, pages 45-89. Springer, 2023.
  8. [Chayes, 1971] Felix Chayes. Ratio correlation. University of Chicago Press, 1971.
  9. [Cheng et al., 2010] Weiwei Cheng, Eyke Hüllermeier, and Krzysztof J Dembczynski. Bayes optimal multilabel clas- sification via probabilistic classifier chains. In Proceedings of the 27th international conference on machine learning (ICML-10), pages 279-286, 2010.
  10. [De Lara et al., 2024] Lucas De Lara, Alberto González- Sanz, Nicholas Asher, Laurent Risser, and Jean-Michel Loubes. Transport-based counterfactual models. Journal of Machine Learning Research, 25(136):1-59, 2024.
  11. [Egozcue et al., 2003] Juan José Egozcue, Vera Pawlowsky- Glahn, Glòria Mateu-Figueras, and Carles Barcelo-Vidal. Isometric logratio transformations for compositional data analysis. Mathematical geology, 35(3):279-300, 2003.
  12. [Fernandes Machado et al., 2025] Agathe Fernan- des Machado, Arthur Charpentier, and Ewen Gallic. Sequential conditional transport on probabilistic graphs for interpretable counterfactual fairness. Proceedings of the AAAI Conference on Artificial Intelligence, 39(18):19358-19366, Apr. 2025.
  13. [Hallin and Konen, 2024] Marc Hallin and Dimitri Ko- nen. Multivariate quantiles: Geometric and measure- transportation-based contours. In Applications of Optimal Transport to Economics and Related Topics, pages 61-78. Springer, 2024.
  14. [Hallin et al., 2021] Marc Hallin, Eustasio Del Barrio, Juan Cuesta-Albertos, and Carlos Matrán. Distribution and quantile functions, ranks and signs in dimension d: A measure transportation approach. The Annals of Statistics, 49(2):1139-1165, 2021.
  15. [Higham, 2008] Nicholas J Higham. Functions of matrices: theory and computation. SIAM, 2008.
  16. [Hofmann, 1994] H. Hofmann. German Credit Data. UCI Machine Learning Repository, 1994.
  17. [Imai et al., 2022] Kosuke Imai, Santiago Olivella, and Evan T.R. Rosenman. Addressing census data problems in race imputation via fully bayesian improved surname geocoding and name supplements. Science Advances, 8(49):eadc9824, 2022.
  18. [Kantorovich, 1942] Leonid V Kantorovich. On the translo- cation of masses. In Doklady Akademii Nauk USSR, vol- ume 37, pages 199-201, 1942.
  19. [King et al., 2004] Gary King, Martin A Tanner, and Ori Rosen. Ecological inference: New methodological strate- gies. Cambridge University Press, 2004.
  20. [Kusner et al., 2017] Matt J Kusner, Joshua Loftus, Chris Russell, and Ricardo Silva. Counterfactual fairness. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fer- gus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems 30, pages 4066- 4076. NIPS, 2017.
  21. [McCann, 1997] Robert J McCann. A convexity princi- ple for interacting gases. Advances in mathematics, 128(1):153-179, 1997.
  22. [Monge, 1781] Gaspard Monge. Mémoire sur la théorie des déblais et des remblais. Histoire de l'Académie Royale des Sciences de Paris, 1781.
  23. [Naeini et al., 2015] Mahdi Pakdaman Naeini, Gregory Cooper, and Milos Hauskrecht. Obtaining well calibrated probabilities using bayesian binning. In Proceedings of the AAAI conference on artificial intelligence, volume 29, 2015.
  24. [Pal and Wong, 2016] Soumik Pal and Ting-Kam Leonard Wong. The geometry of relative arbitrage. Mathematics and Financial Economics, 10:263-293, 2016.
  25. [Pal and Wong, 2018] Soumik Pal and Ting-Kam Leonard Wong. Exponentially concave functions and a new infor- mation geometry. The Annals of probability, 46(2):1070- 1113, 2018.
  26. [Pal and Wong, 2020] Soumik Pal and Ting-Kam Leonard Wong. Multiplicative schrödinger problem and the dirich- let transport. Probability Theory and Related Fields, 178(1):613-654, 2020.
  27. [Pal, 2024] Soumik Pal. On the difference between entropic cost and the optimal transport cost. The Annals of Applied Probability, 34(1B):1003-1028, 2024.
  28. [Pawlowsky-Glahn and Egozcue, 2001] Vera Pawlowsky- Glahn and Juan José Egozcue. Geometric approach to statistical analysis on the simplex. Stochastic Envi- ronmental Research and Risk Assessment, 15:384-398, 2001.
  29. [Pearl, 2009] Judea Pearl. Causality. Cambridge university press, 2009.
  30. [Peyré et al., 2019] Gabriel Peyré, Marco Cuturi, et al. Com- putational optimal transport: With applications to data sci- ence. Foundations and Trends in Machine Learning, 11(5- 6):355-607, 2019.
  31. [Pistone and Shoaib, 2024] Giovanni Pistone and Muham- mad Shoaib. A unified approach to aitchison's, dually affine, and transport geometries of the probability simplex. Axioms, 13(12):823, 2024.
  32. [Plečko and Meinshausen, 2020] Drago Plečko and Nicolai Meinshausen. Fair data adaptation with quantile preserva- tion. Journal of Machine Learning Research, 21(242):1- 44, 2020.
  33. [Plečko et al., 2024] Drago Plečko, Nicolas Bennett, and Nicolai Meinshausen. Fairadapt: Causal reasoning for fair data preprocessing. Journal of Statistical Software, 110(4):1-35, 2024.
  34. [Santambrogio, 2015] Filippo Santambrogio. Optimal trans- port for applied mathematicians. Springer, 2015.
  35. [Villani, 2003] Cédric Villani. Topics in optimal transporta- tion, volume 58. American Mathematical Society, 2003.
  36. [Zadrozny and Elkan, 2001] Bianca Zadrozny and Charles Elkan. Obtaining calibrated probability estimates from de- cision trees and naive bayesian classifiers. In Proceedings of the Eighteenth International Conference on Machine Learning, ICML '01, page 609-616, San Francisco, CA, USA, 2001.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards