Investigating Gender Fairness in Machine Learning-driven Personalized Care for Chronic Pain

Mykola Pechenizkiy, Pratik Gajane, Sean Newman, John D. PiettearXiv 2024 · DOI

Introduction

Personalized medicine increasingly relies on Reinforcement Learning (RL) to tailor clinical interventions to individual patient needs. In the context of chronic pain management, RL algorithms can optimize the delivery of Cognitive Behavioral Therapy (CBT) by determining the most effective timing and type of intervention for a specific patient. However, as these automated systems become more prevalent, concerns regarding algorithmic fairness have intensified. There is a significant risk that these models may inadvertently encode or amplify existing societal biases, resulting in disparities in care quality across different demographic groups.

This paper investigates how the choice of patient data—specifically the "features" or "context" provided to the model—impacts gender fairness. The authors demonstrate that feature selection is not merely a technical optimization step but a critical lever for equity. To address this, they propose NestedRecommendation, a novel two-level RL framework designed to optimize both treatment utility and gender fairness simultaneously.

The Challenge of Feature-Driven Bias

In many machine learning applications, feature selection focuses on identifying the subset of data that provides the strongest signal for predictive accuracy or reward maximization. In healthcare RL, this "context" informs the agent's decision-making process. The researchers identify a critical gap: the specific subset of patient information provided to an RL agent can fundamentally alter whether the model performs equitably across genders.

Without accounting for these dynamics, an "optimized" system might achieve high overall efficacy while being systematically less effective for underserved subpopulations. This study aims to quantify these disparities and provide a mechanism for selecting feature sets that minimize reward variance between men and women.

Methodology: The NestedRecommendation Framework

The researchers modeled the pain care recommendation process as a Contextual Bandit problem. In this paradigm, an algorithm observes a patient's state (features), selects a treatment action (e.g., an automated check-in vs. a therapist session), and receives a "reward" based on subsequent patient improvement.

1. Evaluating Standard Methods

The study first employed LinUCB (Linear Upper Confidence Bound), a standard RL algorithm, to evaluate how six distinct feature sets influenced gender fairness. Fairness was defined as the minimal disparity in the average reward received by men versus women.

2. The NestedRecommendation Strategy

The core contribution is a hierarchical RL strategy called NestedRecommendation, which operates on two levels:

  • Level 1 (Meta-Selection): The algorithm treats the choice of the feature set itself as an action. It learns which data inputs lead to the best balance of efficacy and equity.
  • Level 2 (Treatment Selection): Within the chosen feature set, the algorithm learns which specific pain care intervention to recommend to the patient.

3. Incorporating Expert Knowledge

To mitigate the "cold start" problem—where RL models perform poorly in early stages due to a lack of data—the authors utilized Bayesian priors. By encoding clinician expertise into a Beta distribution, the model begins with a informed "hunch" about which features are likely to be both useful and fair, significantly accelerating the learning trajectory.

Experimental Setup and Datasets

The study utilized real-world data from a clinical trial conducted within the U.S. Department of Veterans Affairs (VA) healthcare system. The dataset included 168 patients suffering from chronic back pain. Notably, women constituted only 12.5% of the population, reflecting the unique, male-dominated demographic of the veteran population and highlighting the importance of fairness in imbalanced datasets.

Patient features used to define the context for reinforcement learning recommendations.

The features used to define the patient context included objective metrics like pedometer data and subjective reports on sleep and pain intensity, as shown in the figure above.

Key Results and Insights

Features as Fairness Levers

The most striking finding was that changing the input features could completely flip the direction of algorithmic bias. For instance, using "Feature Set 1" resulted in the algorithm performing significantly better for women (p=0.012). Conversely, four other feature sets led to significantly better performance for men (e.g., p=0.017 for Set 2). Only one configuration (Set 5) resulted in no statistically significant gender disparity.

Convergence and Speed

The NestedRecommendation model successfully learned to identify the "fairest" feature set (Set 5) over time. The inclusion of expert priors proved vital; when using a prior that approximated clinical reality, the algorithm selected the optimal feature set approximately 74% of the time in early stages (steps 5001-10000), compared to only 59% when starting with vague or uninformative beliefs. This suggests that human-in-the-loop AI is a powerful performance booster rather than just a safety constraint.

Conclusion and Future Directions

This research underscores that fairness in healthcare AI is inextricably linked to data representation. While the study provides a robust framework for adaptive feature selection, several limitations remain. The VA population's specific demographic makeup may not generalize to civilian contexts, and the current Contextual Bandit model assumes patient states are independent over time.

Future work will explore moving toward Markov Decision Processes (MDPs) to capture the evolving nature of patient health over a multi-week program. Additionally, the authors suggest investigating the causal roots of these biases—determining, for example, if disparities arise from differences in how genders report pain or how they interact with specific behavioral interventions.

Summary updated

BibTeX
@misc{pechenizkiy2024investigating,
  author = {Mykola Pechenizkiy and Pratik Gajane and Sean Newman and John D. Piette},
  title = {{Investigating Gender Fairness in Machine Learning-driven Personalized Care for Chronic Pain}},
  year = {2024},
  eprint = {2402.19226},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.19226},
}
Figure