Explainability, fairness and the Simpson’s paradox in credit lending
Fairness is a key requirement for artificial intelligence applications. The assessment of fairness is typically based on group based measures, such as statistical parity, which compares the machine learning output for different protected population groups, such as male and females. Although intuitive and simple, statistical parity may be affected by the presence of explanatory variables correlated with the protected variable. To remove this effect, we propose to replace statistical parity with Shapley values, which measures the difference in output specifically due to the protected variable. This allows to check for the presence of Simpson’s paradox, for which a fair model may become unfair when conditioning on the explanatory variables. We apply our proposal to a real-world database that concerns credit lending in the state of New York, containing 157,269 personal lending decisions. The empirical findings show that both logistic regression and random forest models are fair, when all loan applications are considered; but become unfair, when the requested loan amount is high.
Authors
- P. Neelakantan (ORCID: https://orcid.org/0009-0000-3951-7574)
- Golnoosh Babaei (ORCID: https://orcid.org/0000-0001-6132-2271)
- Paolo Giudici (ORCID: https://orcid.org/0000-0002-4198-0127)
Institutions
- University of Pavia (IT)
- Indian Institute of Technology Kanpur (IN)
Publication Details
- Journal
- Physica A Statistical Mechanics and its Applications
- Published
- 2025-10-15
- DOI
- https://doi.org/10.1016/j.physa.2025.131030
- Primary Topic
- Credit Risk and Financial Regulations
- Type
- article
- Field-Weighted Citation Impact
- 0.00