Learning Counterfactually Fair Models via Improved Generation with Neural Causal Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Kher, Krishn Vishwas, Mittal, Saksham, Varun V, Aditya, Das, Shantanu, Jagarlapudi, SakethaNath
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911139249520640
author Kher, Krishn Vishwas
Mittal, Saksham
Varun V, Aditya
Das, Shantanu
Jagarlapudi, SakethaNath
author_facet Kher, Krishn Vishwas
Mittal, Saksham
Varun V, Aditya
Das, Shantanu
Jagarlapudi, SakethaNath
contents One of the main concerns while deploying machine learning models in real-world applications is fairness. Counterfactual fairness has emerged as an intuitive and natural definition of fairness. However, existing methodologies for enforcing counterfactual fairness seem to have two limitations: (i) generating counterfactual samples faithful to the underlying causal graph, and (ii) as we argue in this paper, existing regularizers are mere proxies and do not directly enforce the exact definition of counterfactual fairness. In this work, our aim is to mitigate both issues. Firstly, we propose employing Neural Causal Models (NCMs) for generating the counterfactual samples. For implementing the abduction step in NCMs, the posteriors of the exogenous variables need to be estimated given a counterfactual query, as they are not readily available. As a consequence, $\mathcal{L}_3$ consistency with respect to the underlying causal graph cannot be guaranteed in practice due to the estimation errors involved. To mitigate this issue, we propose a novel kernel least squares loss term that enforces the $\mathcal{L}_3$ constraints explicitly. Thus, we obtain an improved counterfactual generation suitable for the counterfactual fairness task. Secondly, we propose a new MMD-based regularizer term that explicitly enforces the counterfactual fairness conditions into the base model while training. We show an improved trade-off between counterfactual fairness and generalization over existing baselines on synthetic and benchmark datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2502_12796
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Learning Counterfactually Fair Models via Improved Generation with Neural Causal Models
Kher, Krishn Vishwas
Mittal, Saksham
Varun V, Aditya
Das, Shantanu
Jagarlapudi, SakethaNath
Machine Learning
One of the main concerns while deploying machine learning models in real-world applications is fairness. Counterfactual fairness has emerged as an intuitive and natural definition of fairness. However, existing methodologies for enforcing counterfactual fairness seem to have two limitations: (i) generating counterfactual samples faithful to the underlying causal graph, and (ii) as we argue in this paper, existing regularizers are mere proxies and do not directly enforce the exact definition of counterfactual fairness. In this work, our aim is to mitigate both issues. Firstly, we propose employing Neural Causal Models (NCMs) for generating the counterfactual samples. For implementing the abduction step in NCMs, the posteriors of the exogenous variables need to be estimated given a counterfactual query, as they are not readily available. As a consequence, $\mathcal{L}_3$ consistency with respect to the underlying causal graph cannot be guaranteed in practice due to the estimation errors involved. To mitigate this issue, we propose a novel kernel least squares loss term that enforces the $\mathcal{L}_3$ constraints explicitly. Thus, we obtain an improved counterfactual generation suitable for the counterfactual fairness task. Secondly, we propose a new MMD-based regularizer term that explicitly enforces the counterfactual fairness conditions into the base model while training. We show an improved trade-off between counterfactual fairness and generalization over existing baselines on synthetic and benchmark datasets.
title Learning Counterfactually Fair Models via Improved Generation with Neural Causal Models
topic Machine Learning
url https://arxiv.org/abs/2502.12796