A neurosymbolic approach to counterfactual fairness

Xenia Heilmann, Chiara Manganini, Mattia Cerrato, Vaishak Belle

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Integrating fairness into machine learning models has been an important consideration for the last decade. Here, neurosymbolic models offer a valuable opportunity, as they allow the specification of symbolic, logical constraints that are often guaranteed to be satisfied. However, research on neurosymbolic applications to algorithmic fairness is still in an early stage. With our work, we bridge this gap by integrating counterfactual fairness into the neurosymbolic framework of Logic Tensor Networks (LTN). We use LTN to express accuracy and counterfactual fairness constraints in first-order logic and employ them to achieve desirable levels of both performance and fairness at training time. Our approach is agnostic to the underlying causal model and data generation technique; as such, it may be easily integrated into existing pipelines that generate and extract counterfactual examples. We show, through concrete examples on three real-world datasets, that logical reasoning about counterfactual fairness has some important advantages, among which its intrinsic interpretability, and its flexibility in handling subgroup fairness. Compared to three recent methodologies in counterfactual fairness, our experiments show that a neurosymbolic, LTN-based approach attains better levels of counterfactual fairness.
Original languageEnglish
Title of host publicationProceedings of the 19th Conference on Neurosymbolic Learning and Reasoning
EditorsLeilani H. Gilpin, Eleonora Giunchiglia, Pascal Hitzler, Emile van Krieken
PublisherPMLR
Pages1-22
Number of pages22
Publication statusAccepted/In press - 20 Apr 2025
EventThe 19th Conference on Neurosymbolic Learning and Reasoning - UC Santa Cruz, Santa Cruz, United States
Duration: 8 Sept 202510 Sept 2025
Conference number: 19
https://2025.nesyconf.org/

Publication series

NameProceedings of Machine Learning Research
PublisherPMLR
Volume284
ISSN (Electronic)2640-3498

Conference

ConferenceThe 19th Conference on Neurosymbolic Learning and Reasoning
Abbreviated titleNeSy 2025
Country/TerritoryUnited States
CitySanta Cruz
Period8/09/2510/09/25
Internet address

Fingerprint

Dive into the research topics of 'A neurosymbolic approach to counterfactual fairness'. Together they form a unique fingerprint.

Cite this