Abstract
Objective: We formulate population representativeness of randomized clinical trials (RCTs) as a machine learning (ML) fairness problem, derive new representation metrics, and deploy them in visualization tools which help users identify subpopulations that are underrepresented in RCT cohorts with respect to national, community-based or health system target populations. Materials and Methods: We represent RCT cohort enrollment as random binary classification fairness problems, and then show how ML fairness metrics based on enrollment fraction can be efficiently calculated using easily computed rates of subpopulations in RCT cohorts and target populations. We propose standardized versions of these metrics and deploy them in an interactive tool to analyze three RCTs with respect to type-2 diabetes and hypertension target populations in the National Health and Nutrition Examination Survey (NHANES). Results: We demonstrate how the proposed metrics and associated statistics enable users to rapidly examine representativeness of all subpopulations in the RCT defined by a set of categorical traits (e.g., sex, race, ethnicity, smoker status, and blood pressure) with respect to target populations. Discussion: The normalized metrics provide an intuitive standardized scale for evaluating representation across subgroups, which may have vastly different enrollment fractions and rates in RCT study cohorts. The metrics are beneficial complements to other approaches used to identify generalizability and health equity of RCTs. Conclusion: By quantifying the gaps between RCT and target populations, the proposed methods can support generalizability evaluation of existing RCT cohorts, enrollment target decisions for new RCTs, and monitoring of RCT recruitment, ultimately contributing to more equitable public health outcomes.
Introduction
Randomized Clinical Trials (RCTs) serve as the foundation of evidence-based medicine. However, the utility of an RCT depends heavily on its generalizability—the extent to which the trial results apply to the broader "target population" living with the condition under study. Historically, many RCTs have struggled to recruit cohorts that accurately reflect the diversity of the real-world patient population. When certain groups (defined by age, sex, race, or socioeconomic factors) are underrepresented, the safety and efficacy of new treatments for those groups remain uncertain.
While the medical community has long acknowledged this "representativeness gap," quantifying it has remained a challenge. Traditional measures like Enrollment Fraction (EF) can be numerically unstable or difficult to interpret across diverse subgroups. This research bridges the gap between medical research and algorithmic accountability by adapting machine learning (ML) fairness metrics to evaluate clinical trial enrollment.
Methodology: Enrollment as a Fairness Problem
The core innovation of this work is the conceptualization of RCT enrollment as a binary classification problem. In this framework:
- The Model: Enrollment is treated as a classifier where $y'=1$ indicates an individual was recruited into the trial and $y'=0$ indicates they were not.
- The Fair Baseline: In an ideal, equitable scenario, enrollment should achieve statistical parity. This means the probability of being selected for a trial should be independent of "protected attributes" such as race, gender, or age.
Proposed Metrics
To quantify deviations from this ideal baseline, the authors adapted two primary metrics from the field of ML fairness:
- Log Disparity (Metric 1): Derived from the concept of "Disparate Impact," this metric measures the ratio of the odds of a subgroup being in the trial versus their odds in the general population. A Log Disparity of 0 represents perfect equity, while negative values indicate underrepresentation.
- Normalized Parity (Metric 2): Derived from "Equal Opportunity" concepts, this metric scales the difference between the observed enrollment rate and the ideal rate by the variance of that group within the target population. This allows for a standardized comparison across groups of different sizes.
Data and Visualization
The researchers applied these metrics to three landmark clinical trials:
- ACCORD: Action to Control Cardiovascular Risk in Diabetes.
- ALLHAT: Antihypertensive and Lipid-Lowering Treatment to Prevent Heart Attack Trial.
- SPRINT: Systolic Blood Pressure Intervention Trial.
To establish a baseline for the "target population," the study utilized the National Health and Nutrition Examination Survey (NHANES) 2015-2016, a comprehensive dataset providing a representative snapshot of the health of the United States population.
To make these complex metrics accessible, the authors developed an interactive R-Shiny application. The tool utilizes sunburst plots, allowing researchers to layer multiple attributes (e.g., Gender → Age → Race) to visualize exactly where representation breaks down in complex, multivariate subgroups.
Key Findings
The application of these metrics revealed several critical insights into the composition of modern clinical trials:
- The "Hidden" Underrepresented: By moving beyond single-variable analysis (e.g., just looking at race), the multivariate approach identified groups that were almost entirely missing from trials, such as young females under 45 in specific hypertension studies. These gaps are often overlooked in traditional reporting.
- Specific Demographic Gaps: While the ALLHAT trial achieved a representative gender distribution, the SPRINT trial showed significant underrepresentation of women (Log Disparity of -0.68). Across all three trials, current smokers, younger participants, and Asian subjects were consistently underrepresented.
- Social Determinants: The metrics highlighted how education levels influenced enrollment differently across trials. Lower education levels were linked to underrepresentation in SPRINT, while higher education levels were underrepresented in ALLHAT, suggesting that trial design and recruitment strategies interact with social factors in complex ways.
- Intentional Overrepresentation: Interestingly, the metrics identified that Non-Hispanic Black participants were often overrepresented. This highlights the metrics' ability to detect successful, intentional efforts by researchers to ensure minority participation in specific health contexts.
Discussion and Limitations
The use of standardized, normalized metrics allows researchers to compare the underrepresentation of a small, rare subgroup directly against a much larger subgroup on the same scale. This is a significant improvement over previous methods that struggled with the numerical instability of small sample sizes.
However, the authors note several limitations. The current framework requires continuous variables (like age) to be discretized into categories. Furthermore, the metrics do not yet distinguish between "unfair" bias and "legitimate" clinical exclusions (e.g., excluding patients with specific comorbidities for safety reasons). Future iterations of the tool could incorporate smoothing techniques for continuous data and better account for clinical necessity.
Conclusion
By quantifying the gaps between RCT cohorts and the populations they are intended to serve, this framework provides a rigorous path toward health equity. These metrics can support the evaluation of existing trials, inform enrollment targets for new studies, and enable real-time monitoring of recruitment efforts. Ultimately, ensuring that clinical trials are truly representative is essential for delivering equitable public health outcomes for all.
Summary updated