Aligning (Medical) LLMs for (Counterfactual) Fairness

Raphael Poulain, Hamed Fayyaz, Rahmatollah Beheshti
8/22/2024
cs.CLcs.LG

Official code: healthylaife/FairAlignmentLLM (1 star, last commit 2024-08-21).

Abstract

Large Language Models (LLMs) have emerged as promising solutions for a variety of medical and clinical decision support applications. However, LLMs are often subject to different types of biases, which can lead to unfair treatment of individuals, worsening health disparities, and reducing trust in AI-augmented medical tools. Aiming to address this important issue, in this study, we present a new model alignment approach for aligning LLMs using a preference optimization method within a knowledge distillation framework. Prior to presenting our proposed method, we first use an evaluation framework to conduct a comprehensive (largest to our knowledge) empirical evaluation to reveal the type and nature of existing biases in LLMs used for medical applications. We then offer a bias mitigation technique to reduce the unfair patterns in LLM outputs across different subgroups identified by the protected attributes. We show that our mitigation method is effective in significantly reducing observed biased patterns. Our code is publicly available at \url{https://github.com/healthylaife/FairAlignmentLLM}.

View on arXivView PDF

Code Implementations(1)

Aligning (Medical) LLMs for (Counterfactual) Fairness

10Python, Jupyter NotebookAug 21, 20242 years ago

Cite this paper

@article{poulain2024aligning,
  title  = {Aligning (Medical) LLMs for (Counterfactual) Fairness},
  author = {Raphael Poulain and Hamed Fayyaz and Rahmatollah Beheshti},
  year   = {2024},
  eprint = {2408.12055},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.12055v1}
}

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/2408.12055.svg)](https://codeofpaper.com/paper/2408.12055)

Discussion