<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR AI</journal-id><journal-id journal-id-type="publisher-id">ai</journal-id><journal-id journal-id-type="index">41</journal-id><journal-title>JMIR AI</journal-title><abbrev-journal-title>JMIR AI</abbrev-journal-title><issn pub-type="epub">2817-1705</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v5i1e102146</article-id><article-id pub-id-type="doi">10.2196/102146</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Detecting and Mitigating AI Bias in Health Care: Development and Validation of a Unified Multistage Framework</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Mateedulsatit</surname><given-names>Ruj</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Srisa-An</surname><given-names>Chetneti</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1"/></contrib></contrib-group><aff id="aff1"><institution>College of Digital Innovation Technology, Rangsit University</institution><addr-line>52/347 Muang-Ake, Phaholyothin Road, Lak-Hok, Mueang Pathum Thani District</addr-line><addr-line>Pathum Thani</addr-line><country>Thailand</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Huo</surname><given-names>Yuankai</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Bocanegra</surname><given-names>Carlos Luis S&#x00E1;nchez</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Palama</surname><given-names>Valentina</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Chetneti Srisa-An, PhD, College of Digital Innovation Technology, Rangsit University, 52/347 Muang-Ake, Phaholyothin Road, Lak-Hok, Mueang Pathum Thani District, Pathum Thani, 12000, Thailand, 66 0855015245; <email>chetneti@rsu.ac.th</email></corresp></author-notes><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>14</day><month>8</month><year>2026</year></pub-date><volume>5</volume><elocation-id>e102146</elocation-id><history><date date-type="received"><day>25</day><month>05</month><year>2026</year></date><date date-type="rev-recd"><day>04</day><month>07</month><year>2026</year></date><date date-type="accepted"><day>13</day><month>07</month><year>2026</year></date></history><copyright-statement>&#x00A9; Ruj Mateedulsatit, Chetneti Srisa-An. Originally published in JMIR AI (<ext-link ext-link-type="uri" xlink:href="https://ai.jmir.org">https://ai.jmir.org</ext-link>), 14.8.2026. </copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR AI, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://www.ai.jmir.org/">https://www.ai.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://ai.jmir.org/2026/1/e102146"/><abstract><sec><title>Background</title><p>AI-driven clinical systems can improve diagnosis, prognosis, and resource allocation, but they may reproduce disparities encoded in historical health care data. Existing mitigation methods typically target a single source of bias, while clinical datasets often contain interacting representation, proxy, integrity, and temporal biases.</p></sec><sec><title>Objective</title><p>This study aims to develop and systematically evaluate a prespecified multistage workflow for detecting representation, missingness, proxy, integrity, and temporal biases and model performance limitations in structured health care datasets; apply prespecified mitigation actions when audit criteria are met; and determine whether these actions improve predictive discrimination and demographic fairness compared with a conventional random forest baseline.</p></sec><sec sec-type="methods"><title>Methods</title><p>We performed a fresh, deterministic reconstruction from the raw public data, using a patient-level 80/20 split for Diabetes 130-US Hospitals. M2 was a conventional random forest with median or mode imputation and training-only categorical encoding. M3 added explicit missingness features and poststratification weights clipped at the 95th percentile. Race was excluded from prediction and used for auditing and weighting. CMS SynPUF was modeled separately for a compatible claims-based readmission task; the National Health and Nutrition Examination Survey was limited to stage-level representation, proxy, missingness, and bounded-laboratory audits. Five hundred stratified bootstrap replicates were used for overall metrics, and 300 were used for subgroup metrics.</p></sec><sec sec-type="results"><title>Results</title><p>The Diabetes test set contained 20,203 encounters from 14,304 patients, including 2254 (11.16%) positive outcomes. M3 improved the macro F1 from 0.514 to 0.546, reduced the Brier score from 0.231 to 0.213, and reduced the demographic parity difference from 0.206 to 0.124, but the area under the receiver operating characteristic curve (AUC) decreased from 0.648 to 0.640, and the equalized odds ratio decreased from 0.444 to 0.291. In CMS SynPUF (12,801 test episodes; 1232 positives), the AUC was similar (0.798 vs 0.796) and the Brier score improved slightly (0.187 vs 0.183), whereas the demographic parity difference increased from 0.693 to 0.730. The exploratory rule-gated mixture of experts did not improve fairness, the Brier score, or the macro F1 relative to M3. Detailed subgroup performance, calibration, missingness analyses, and bootstrap CIs were comprehensively evaluated in this study.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>In this reproducible retrospective reconstruction, missingness-aware weighting improved the macro F1, Brier score, and demographic parity on the primary test set but did not improve the AUC or equalized odds ratio. Centers for Medicare and Medicaid Services results did not reproduce a fairness improvement, and the exploratory mixture of experts did not outperform the M3 quality expert on most outcomes. The findings demonstrate a fairness-calibration-discrimination trade-off rather than uniform improvement and do not establish clinical deployment readiness.</p></sec></abstract><kwd-group><kwd>AI fairness</kwd><kwd>health care AI</kwd><kwd>bias mitigation</kwd><kwd>machine learning</kwd><kwd>algorithmic bias</kwd><kwd>demographic parity</kwd><kwd>health care data harmonization</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><sec id="s1-1"><title>Background</title><p>AI-driven clinical systems increasingly support high-risk decisions such as readmission prediction, diagnosis, and treatment prioritization [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>]. However, substantial evidence shows that these systems can perform unevenly across groups defined by race, sex, socioeconomic status, age, or insurance status [<xref ref-type="bibr" rid="ref3">3</xref>-<xref ref-type="bibr" rid="ref9">9</xref>]. Such disparities raise concerns about safety, fairness, and regulatory accountability, particularly under emerging requirements for transparent governance of high-risk AI systems [<xref ref-type="bibr" rid="ref10">10</xref>-<xref ref-type="bibr" rid="ref12">12</xref>].</p><p>Bias in clinical AI is rarely produced by one mechanism alone. Historical health care data can reflect unequal access to care, differential documentation, changing coding practices, missingness patterns, and proxy variables that encode social disadvantage [<xref ref-type="bibr" rid="ref4">4</xref>,<xref ref-type="bibr" rid="ref5">5</xref>,<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref9">9</xref>]. Representational imbalance can amplify proxy relationships, temporal drift can change subgroup prevalence, and data integrity anomalies can distort both model fitting and fairness estimates. These interactions motivate a coordinated data-centric framework rather than a single downstream fairness constraint.</p><p>This study specifies a multistage audit framework and reports a fresh reproducibility reconstruction of the components that could be implemented from the available public data. The empirical comparison focuses on representation weighting and missingness-aware modeling. Proxy residualization and temporal-shift correction are retained as prespecified framework components but are not claimed as executed in the fresh run because final thresholds and encounter-year or site variables were unavailable. The Centers for Medicare and Medicaid Services (CMS) SynPUF is evaluated as a separate, compatible readmission task, while the National Health and Nutrition Examination Survey (NHANES) is used only for stage-level auditing.</p><p>The framework complements, rather than replaces, established approaches. Reweighting addresses representation imbalance, adversarial debiasing and fairness constraints act primarily during model fitting, causal fairness methods formalize assumptions about pathways and interventions, model cards and datasheets support transparent reporting, and TRIPOD+AI (Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis Plus Artificial Intelligence) and trustworthy-AI guidance specify reporting and governance expectations. The present contribution is a data-centric orchestration layer that links these concerns through sequential, source-aware preprocessing and evaluation.</p><p>The main contributions are as follows:</p><list list-type="bullet"><list-item><p>A 4-part clinical bias taxonomy covering representation, proxy, integrity, and temporal bias.</p></list-item><list-item><p>A harmonized concept layer that aligns electronic health record, survey or laboratory, and claims data before cross-dataset validation.</p></list-item><list-item><p>A sequential mitigation pipeline with explicit detection conditions and corrective actions.</p></list-item><list-item><p>Variable-appropriate integrity auditing that avoids applying the Benford law to bounded clinical laboratory values.</p></list-item><list-item><p>Pseudocode for 7 auditable procedures: representation weighting, proxy mitigation, harmonization, integrity auditing, mixture-of-experts training, mixture-of-experts inference, and temporal-shift mitigation.</p></list-item></list></sec><sec id="s1-2"><title>Research Gap and Positioning of This Work</title><p><xref ref-type="table" rid="table1">Table 1</xref> summarizes the research gaps addressed by the proposed framework and maps them to the corresponding &#x201C;Methods&#x201D; section used in this study.</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Research gaps in the existing literature and the corresponding proposed solutions.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Gap</td><td align="left" valign="bottom">Existing limitation</td><td align="left" valign="bottom">Proposed solution</td></tr></thead><tbody><tr><td align="left" valign="top">G1</td><td align="left" valign="top">Bias is often addressed in isolation.</td><td align="left" valign="top">Sequential compositional pipeline T_repr &#x2192; T_proxy &#x2192; T_int &#x2192; T_temp.</td></tr><tr><td align="left" valign="top">G2</td><td align="left" valign="top">Clinical bias categories are inconsistently operationalized.</td><td align="left" valign="top">Four testable categories with detection criteria and mapped corrections.</td></tr><tr><td align="left" valign="top">G3</td><td align="left" valign="top">External reference distributions may themselves be biased.</td><td align="left" valign="top">Reference-distribution audit before poststratification weighting.</td></tr><tr><td align="left" valign="top">G4</td><td align="left" valign="top">Integrity checks may be statistically mismatched to clinical variables.</td><td align="left" valign="top">Variable-type audit: bounded labs use empirical or reference-interval tests; Benford only for scale-free counts or charges.</td></tr><tr><td align="left" valign="top">G5</td><td align="left" valign="top">Cross-dataset validation is often asserted without schema alignment.</td><td align="left" valign="top">Harmonized clinical-concept layer with missing-concept masks and task-appropriate validation.</td></tr><tr><td align="left" valign="top">G6</td><td align="left" valign="top">Subgroup-specific handling is described but not empirically reported.</td><td align="left" valign="top">Mixture-of-experts isolation counts, gating weights, and performance impact are reported.</td></tr></tbody></table></table-wrap></sec></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Problem Formulation</title><sec id="s2-1-1"><title>Research Question and End Points</title><p>The primary research question was as follows: among records in the held-out Diabetes 130-US Hospitals test set, does the prespecified multistage mitigation pipeline (M3) improve area under the receiver operating characteristic curve (AUC) and reduce demographic parity difference (DPD) relative to the raw harmonized random forest (M2)? The primary predictive end point was AUC, and the primary fairness end point was DPD. Secondary end points were macro F1, Brier score, equalized odds ratio (EOR), CMS SynPUF readmission performance after harmonization, and NHANES stage-level representation, proxy, and integrity diagnostics.</p><p>The &#x201C;Methods&#x201D; section follows the same sequence as the proposed pipeline. We first define the shared concept interface, then describe representation and proxy mitigation, next identify and route integrity-flagged records, and finally evaluate temporal shift. This order distinguishes source-specific data preparation from model fitting and validation.</p><p>Let each dataset source s contain records D_s = {(x_i^s, y_i^s, a_i^s)}. The raw feature vector x_i^s may differ across sources. A source-specific extractor h_s maps each record to a harmonized clinical-concept vector c_i = h_s(x_i^s), where c_i includes demographic, utilization, diagnosis, medication, laboratory-summary, socioeconomic, and temporal-context concepts when available. A binary mask m_i identifies unavailable concepts so that the absence of a concept is not treated as a clinical zero, consistent with concerns about clinically patterned missingness [<xref ref-type="bibr" rid="ref13">13</xref>].</p><p>The predictive model f_theta(c_i, m_i) is trained on the Diabetes 130-US Hospitals training split. External outcome validation is conducted only where the outcome and harmonized concepts support the task, namely, readmission evaluation in CMS SynPUF. NHANES is used for stage-level validation of representation, proxy, and laboratory integrity modules because its outcome task and feature-generating process differ from hospital readmission.</p><p>The prespecified empirical question was whether M3 would improve both discrimination and demographic fairness relative to M2. The fresh reconstruction treats this as a hypothesis to be evaluated rather than as a constraint assumed to hold; improvements in one end point are not interpreted as a success when another primary end point deteriorates.</p><p>DPD was selected as the primary fairness end point because the framework first targets representation and proxy mechanisms that can produce unequal model-positive rates at the population level. DPD is not interpreted as proof of clinical equity and is not expected to be zero when clinically relevant outcome prevalence differs across groups. It is therefore interpreted jointly with EOR, subgroup discrimination, calibration, error rates, and observed outcome prevalence. A reduction in DPD is considered favorable only when it does not conceal clinically important deterioration in subgroup calibration or predictive performance.</p></sec><sec id="s2-1-2"><title>Bias Taxonomy</title><p>Representation bias occurs when P(a) differs from the target or deployment population distribution. Proxy bias occurs when a feature or concept block carries information about a sensitive attribute beyond what is justified by the clinical task. Integrity bias refers to a systematic risk arising from coding, measurement, collection, or missingness processes that distort the observed data distribution. An integrity flag is the record-level indicator produced when a prespecified audit criterion is met; it signals a distributional deviation for further processing and does not, by itself, prove that a record is erroneous. Temporal bias occurs when P_t(c, y) differs from P_{t+1}(c, y), producing mismatch over time. We use &#x201C;integrity-flagged record&#x201D; for routed observations and reserve &#x201C;anomaly&#x201D; for a statistically unusual pattern rather than a confirmed data error.</p></sec><sec id="s2-1-3"><title>Feature Harmonization Layer</title><p>The harmonization layer is the necessary interface for cross-dataset validation. It does not assume identical raw columns. Instead, each source is mapped into a shared clinical-concept dictionary. Diabetes 130-US contributes encounter history, diagnoses, medications, admission type, discharge disposition, and laboratory availability. CMS SynPUF contributes claims-coded utilization, diagnoses, procedures, demographics, and state-level context. NHANES contributes race or ethnicity, income, education, examination-cycle timing, and laboratory summaries such as glycated hemoglobin.</p><p>The reproducibility package defines 37 audit concepts spanning demographics, utilization, diagnoses, laboratory summaries, medications, context, temporal information, and integrity flags. Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> reports every concept, data type, source variables, mapping rule, allowed-value convention, missingness strategy, and source availability (<xref ref-type="other" rid="box1">Textbox 1</xref>). In the fresh reconstruction, this dictionary was used for cross-source audit reporting and explicit missingness analysis; the predictive models remained source-specific and were not presented as a single frozen 74-dimensional model transported across incompatible tasks.</p><boxed-text id="box1"><title> Cross-source audit dictionary and missingness mapping.</title><p><bold>Procedure</bold></p><list list-type="order"><list-item><p>Map each source into the 37 audit concepts listed in Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p></list-item><list-item><p>Mark concepts absent from a source explicitly and compute missingness percentages.</p></list-item><list-item><p>Use the dictionary for audit comparability; train predictive models within source-specific schemas.</p></list-item></list></boxed-text><p>For the implementation, unavailable concepts are explicitly marked as source-absent rather than being interpreted as clinical zeros. The resulting missingness profile is reported for all 37 concepts and all 3 datasets in Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. This audit interface supports transparent comparison of source coverage but does not by itself establish model transportability.</p><p>Conceptually, the harmonization layer acts as a translation contract: institutions may speak different data &#x201C;dialects,&#x201D; but each translated field must satisfy the same documented clinical meaning before it enters the pipeline.</p><p>For real-world deployment across institutions, the harmonization layer should be implemented as a locally governed and version-controlled data contract rather than as a fixed universal mapping. Each participating institution would map its source variables to the shared concepts using documented definitions, units, coding systems, allowable values, temporal availability, and missingness rules. Local clinical and data-governance teams should review the semantic validity of each mapping and distinguish unavailable concepts from clinically absent values. Before model evaluation, automated validation should assess schema conformity, unit consistency, category coverage, missingness shifts, implausible values, and changes in coding practices. Institutions that cannot satisfy a required concept definition should retain the corresponding source-absence mask rather than substitute an approximate value. Any modification to the local mapping, source system, or concept definition should trigger versioning, reauditing, recalibration, and site-specific performance and fairness validation. Thus, scaling the framework requires standardized concept definitions combined with institution-specific mapping, governance, and validation rather than assuming that heterogeneous source variables are directly interchangeable.</p><p>The 5 reviewer-specified anchor features and their original source columns are summarized in <xref ref-type="table" rid="table2">Table 2</xref>.</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Five reviewer-specified anchor features and original source columns used for cross-dataset harmonization.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Anchor feature</td><td align="left" valign="bottom">Diabetes 130-US original columns</td><td align="left" valign="bottom">NHANES<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup> original columns</td><td align="left" valign="bottom">CMS<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup> SynPUF original columns</td></tr></thead><tbody><tr><td align="left" valign="top">Anchor 1: race</td><td align="left" valign="top">race</td><td align="left" valign="top">RIDRETH1/RIDRETH3</td><td align="left" valign="top">BENE_RACE_CD</td></tr><tr><td align="left" valign="top">Anchor 2: sex</td><td align="left" valign="top">gender</td><td align="left" valign="top">RIAGENDR</td><td align="left" valign="top">BENE_SEX_IDENT_CD</td></tr><tr><td align="left" valign="top">Anchor 3: age_group</td><td align="left" valign="top">age</td><td align="left" valign="top">RIDAGEYR grouped into age bands</td><td align="left" valign="top">BENE_BIRTH_DT or age-at-claim derived from CLM_FROM_DT</td></tr><tr><td align="left" valign="top">Anchor 4: income_proxy</td><td align="left" valign="top">payer_code; admission_source_id</td><td align="left" valign="top">INDFMPIR; INDHHIN2/INDFMIN2</td><td align="left" valign="top">dual-eligibility or subsidy proxy fields when available; otherwise state/context proxy</td></tr><tr><td align="left" valign="top">Anchor 5: n_prior_visits</td><td align="left" valign="top">number_inpatient + number_outpatient + number_emergency</td><td align="left" valign="top">HUQ030/HUQ041 health-care-use fields when available; otherwise masked</td><td align="left" valign="top">count of prior claims by BENE_ID before index CLM_FROM_DT</td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>NHANES: National Health and Nutrition Examination Survey.</p></fn><fn id="table2fn2"><p><sup>b</sup>CMS: Centers for Medicare and Medicaid Services.</p></fn></table-wrap-foot></table-wrap></sec></sec><sec id="s2-2"><title>Representation Bias Mitigation</title><p>We apply poststratification weighting w(a) = P_target(a)/P_obs(a) [<xref ref-type="bibr" rid="ref14">14</xref>-<xref ref-type="bibr" rid="ref16">16</xref>]. Before weighting, the target distribution is audited for geographic, temporal, and coverage mismatch. If a reference source is misaligned with the study population, the target distribution is blended with internal empirical priors, and uncertainty is evaluated in sensitivity analysis. Weights are clipped at the 95th percentile unless otherwise selected in nested cross-validation (<xref ref-type="other" rid="box2">Textbox 2</xref>).</p><boxed-text id="box2"><title> Representation-bias audit and weighting.</title><list list-type="order"><list-item><p>Input: H_s, sensitive attribute a, candidate target distribution P_target</p></list-item><list-item><p>Audit P_target for geographic, temporal, and coverage mismatch</p></list-item><list-item><p>If mismatch is detected: blend P_target with internal empirical prior</p></list-item><list-item><p>Compute w(a) = P_target(a)/P_obs(a)</p></list-item><list-item><p>Clip weights at selected percentile from nested cross-validation</p></list-item><list-item><p>Return weighted dataset H_repr</p></list-item></list></boxed-text></sec><sec id="s2-3"><title>Proxy Bias Mitigation</title><p>The prespecified framework proposed mutual-information and correlation screening for proxy concepts. The new reconstruction did not implement these thresholds because the final prespecified values were unavailable. Accordingly, no empirical claim about proxy residualization is made. Instead, income_proxy and n_prior_visits were examined in stratified sensitivity analyses, as reported in the reproducibility package (<xref ref-type="other" rid="box3">Textbox 3</xref>).</p><boxed-text id="box3"><title> Proxy-audit sensitivity analysis (fresh reconstruction).</title><p><bold>Procedure</bold></p><list list-type="order"><list-item><p>Stratify M3 results by income_proxy availability and by n_prior_visits equal to zero versus positive.</p></list-item><list-item><p>Report area under the receiver operating characteristic curve (AUC), macro F1, Brier, demographic parity difference (DPD), equalized odds ratio (EOR), and calibration; do not claim proxy residualization.</p></list-item></list></boxed-text><p>The fresh predictive pipeline used median imputation for numeric variables, most-frequent imputation for categorical variables, training-only one-hot encoding with unknown categories ignored, and random forest classification. All preprocessing was fitted within the training split. Claims concerning k-nearest neighbors imputation, ridge or spline nuisance models, generalized additive models, or random forest residualization were removed because those procedures were not executed in the fresh run.</p></sec><sec id="s2-4"><title>Role of Sensitive and Contextual Variables</title><p>Race was used for auditing and poststratification weighting and was excluded from the predictive feature vector. Sex and age group were used for secondary subgroup audits. Admission type remained a contextual predictor. income_proxy and n_prior_visits were retained for sensitivity stratification; neither was claimed to have undergone residualization in the fresh reconstruction.</p></sec><sec id="s2-5"><title>Integrity Bias Detection and Mixture-of-Experts Mitigation</title><p>The operational integrity screen flagged records when missingness was at least 25% or n_prior_visits exceeded the 99th percentile (<xref ref-type="other" rid="box4">Textbox 4</xref>). Bounded laboratory variables such as glycated hemoglobin were assessed using missingness and distributional checks rather than the Benford Law. The complete concept-level missingness report is provided in Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p><boxed-text id="box4"><title> Operational integrity-flag audit.</title><p><bold>Procedure</bold></p><list list-type="order"><list-item><p>Compute record missingness rate and n_prior_visits distribution.</p></list-item><list-item><p>Flag records with missingness &#x2265;25% or n_prior_visits above the 99th percentile.</p></list-item><list-item><p>Retain all flagged records for exploratory routing.</p></list-item></list></boxed-text><p>The exploratory mixture of experts (MoEs) used M2 as the main expert and M3 as the missingness-aware quality expert (<xref ref-type="other" rid="box5">Textbox 5</xref>). The rule gate selected M3 for integrity-flagged records and M2 otherwise; it did not use demographic labels, a learned softmax gate, or test labels.</p><boxed-text id="box5"><title> Preparation of main and quality experts.</title><p><bold>Procedure</bold></p><list list-type="order"><list-item><p>Use M2 as the main expert and M3 as the missingness-aware quality expert.</p></list-item><list-item><p>Do not train demographic-specific or temporal experts in the fresh reconstruction.</p></list-item></list></boxed-text><p><xref ref-type="other" rid="box6">Textbox 6</xref> summarizes the fixed rule-gated exploratory inference procedure. This exploratory rule-gated analysis was evaluated separately from the primary M2-M3 comparison. It was included to test whether routing the 203 (1.00%) flagged test records improved outcomes. Bootstrap contrasts compared the rule-gated MoE with M3. Because the gate and experts differed in more than one component, the analysis cannot isolate a pure architecture effect.</p><boxed-text id="box6"><title> Fixed rule-gated exploratory inference.</title><p><bold>Procedure</bold></p><list list-type="order"><list-item><p>If integrity flag=1, use M3 score; otherwise, use M2 score.</p></list-item><list-item><p>Evaluate the fixed gate against M2 and M3 with paired bootstrap contrasts.</p></list-item><list-item><p>Do not use test labels or demographic labels in routing.</p></list-item></list></boxed-text><p>The exploratory gate retained every record but did not outperform M3 on fairness, Brier score, or macro F1. It should therefore be interpreted as a negative sensitivity analysis rather than evidence supporting subgroup-specific clinical models.</p></sec><sec id="s2-6"><title>Temporal Bias Mitigation</title><p>Temporal-shift mitigation was not empirically evaluated in the new Diabetes reconstruction because encounter year and site were unavailable. CMS calendar information was used only descriptively. The temporal procedure remains a prespecified framework component requiring a dataset with reliable event time and site identifiers (<xref ref-type="other" rid="box7">Textbox 7</xref>).</p><boxed-text id="box7"><title> Prespecified temporal audit (not empirically estimable in the fresh Diabetes run).</title><p><bold>Procedure</bold></p><list list-type="order"><list-item><p>Requires reliable encounter time and site identifiers.</p></list-item><list-item><p>Not estimable for Diabetes 130-US in the fresh run; report as unevaluated rather than imputing time.</p></list-item></list></boxed-text></sec><sec id="s2-7"><title>Experimental Design</title><p>The Diabetes 130-US Hospitals dataset contained 101,766 encounters. A patient-level 80/20 split yielded 81,563 training encounters and 20,203 test encounters from 14,304 test patients; the test set contained 2254 (11.16%) thirty-day readmissions. The split prevented repeated-patient leakage. Race was the primary fairness attribute, with sex and age group used for secondary subgroup reporting.</p><p>Two primary random forest configurations were evaluated in the fresh run: M2 used the source-specific predictors with median or mode imputation, whereas M3 added missingness-count or rate indicators, column-level missingness masks where applicable, and poststratification sample weights. Both used 200 trees, max_depth=12, min_samples_leaf=10, class_weight=balanced_subsample, and seed 20250117. Earlier manuscript-only baselines without reproducible predictions were removed from the empirical comparison.</p><p>CMS SynPUF was analyzed as a separate claims-based readmission task, not as zero-shot transport of the Diabetes model. NHANES was used only for stage-level concept-coverage, missingness, proxy, and bounded-laboratory audits.</p></sec><sec id="s2-8"><title>CMS SynPUF Readmission Label Construction</title><p>CMS inpatient claims were grouped by beneficiary and ordered by discharge and subsequent admission dates. A readmission was defined as the next inpatient episode beginning 1 to 30 days after index discharge; same-day, overlapping, and contiguous claims were collapsed. Episodes without 30-day observable follow-up and records with invalid chronology were excluded. Predictors were restricted to information available by index discharge. The resulting analysis contained 63,996 eligible episodes from 37,702 beneficiaries; the test set contained 12,801 episodes from 7541 beneficiaries, including 1232 (9.62%) readmissions.</p></sec><sec id="s2-9"><title>Reproducibility and Implementation Details</title><p>The fresh analysis used Python 3.10.9, NumPy 2.2.6, pandas 2.3.3, SciPy 1.15.3, and scikit-learn 1.7.2. The master seed was 20250117. The local reproducibility package contains record-level predictions, overall and subgroup metrics, calibration outputs, bootstrap intervals, split counts, missingness tables, sensitivity analyses, scripts, and SHA-256 checksums. No external repository URL or DOI is claimed until an archival deposit is completed.</p><p>The computational environment, reproducibility settings, and model hyperparameters are summarized in <xref ref-type="table" rid="table3">Table 3</xref>.</p><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Reproducibility settings, software versions, hardware, and selected hyperparameters.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Component</td><td align="left" valign="bottom">Fresh reconstruction specification</td></tr></thead><tbody><tr><td align="left" valign="top">Software</td><td align="left" valign="top">Python 3.10.9; NumPy 2.2.6; pandas 2.3.3; SciPy 1.15.3; scikit-learn 1.7.2</td></tr><tr><td align="left" valign="top">Seed or split</td><td align="left" valign="top">Seed 20250117; patient-level 80/20 Diabetes split</td></tr><tr><td align="left" valign="top">Random forest</td><td align="left" valign="top">200 trees; max_depth=12; min_samples_leaf=10; class_weight=balanced_subsample</td></tr><tr><td align="left" valign="top">Preprocessing</td><td align="left" valign="top">Median numeric imputation; most-frequent categorical imputation; training-only one-hot encoding; unknown categories ignored</td></tr><tr><td align="left" valign="top">M3 additions</td><td align="left" valign="top">Missing-count or rate features; available column masks; poststratification weights clipped at the 95th percentile</td></tr><tr><td align="left" valign="top">Bootstrap</td><td align="left" valign="top">500 stratified replicates overall; 300 outcome-stratified replicates by subgroup</td></tr><tr><td align="left" valign="top">Integrity flag</td><td align="left" valign="top">Record missingness &#x2265;25% or n_prior_visits above the 99th percentile</td></tr><tr><td align="left" valign="top">Proxy or temporal</td><td align="left" valign="top">Sensitivity strata only; residualization and temporal correction not implemented</td></tr></tbody></table></table-wrap></sec><sec id="s2-10"><title>Statistical Analysis of Fairness Metric</title><p>Overall 95% CIs were estimated using 500 bootstrap replicates stratified jointly by outcome and race; subgroup intervals used 300 outcome-stratified replicates. Metrics included AUC, macro F1, Brier score, sensitivity, specificity, positive predictive value, negative predictive value, DPD, EOR, calibration intercept, calibration slope, and expected calibration error. At the prespecified probability threshold of 0.50, the EOR was calculated across race groups as EOR = min_g(TPR_g)/max_g(TPR_g), where TPR_g is the group-specific true-positive rate; values closer to 1 indicate greater true-positive-rate parity. Equalized-odds difference was calculated separately as max[max_g(TPR_g) &#x2013; min_g(TPR_g), max_g(FPR_g) &#x2013; min_g(FPR_g)]. A group was omitted from a component only when it had no observations in the corresponding true-outcome class. Because ratios can be unstable when small groups contain few positive outcomes, EOR was interpreted with subgroup counts, CIs, calibration, and equalized-odds difference. DPD was the primary fairness end point; EOR and subgroup analyses were secondary. No multiplicity-adjusted confirmatory inference was performed.</p><p>Overall were estimated using 500 bootstrap replicates stratified jointly by outcome and race; subgroup intervals used 300 outcome-stratified replic Metrics included AUC, macro F1, Brier score, sensitivity, specificity, positive predictive value, negative predictive value, DPD, EOR, calibration intercept, calibration slope, and expected calibration error. At the prespecified probability threshold of 0.50, the EOR was calculated across race groups as EOR = min_g(TPR_g)/max_g(TPR_g), where TPR_g is the group-specific true-positive rate; values closer to 1 indicate greater true-positive-rate parity[<xref ref-type="bibr" rid="ref17">17</xref>]. Equalized-odds difference was calculated separately as max[max_g(TPR_g) &#x2013; min_g(TPR_g), max_g(FPR_g) &#x2013; min_g(FPR_g)]. A group was omitted from a component only when it had no observations in the corresponding true-outcome class. Because ratios can be unstable when small groups contain few positive outcomes, EOR was interpreted with subgroup counts, CIs, calibration, and equalized-odds difference. DPD was the primary fairness end point; EOR and subgroup analyses were secondary. No multiplicity-adjusted confirmatory inference was performed.</p></sec><sec id="s2-11"><title>Ethical Considerations</title><p>This study used only deidentified, publicly available datasets: Diabetes 130-US Hospitals [<xref ref-type="bibr" rid="ref18">18</xref>,<xref ref-type="bibr" rid="ref19">19</xref>], NHANES [<xref ref-type="bibr" rid="ref20">20</xref>], and CMS SynPUF [<xref ref-type="bibr" rid="ref21">21</xref>]. No primary data involving human subjects were collected, and no personally identifiable information was accessed. Institutional review board or research ethics board approval was therefore not required.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Primary Dataset Performance</title><p>On the Diabetes test set, M2 AUC was 0.648 (95% CI 0.637&#x2010;0.660), and M3 AUC was 0.640 (0.628&#x2010;0.652). Macro F1 improved from 0.514 (0.508&#x2010;0.521) to 0.546 (0.539&#x2010;0.553), and Brier score decreased from 0.231 (0.230&#x2010;0.232) to 0.213 (0.212&#x2010;0.214). Thus, M3 improved classification balance and probabilistic accuracy but reduced discrimination.</p><p>DPD decreased from 0.206 (95% CI 0.147&#x2010;0.268) for M2 to 0.124 (0.101&#x2010;0.185) for M3. EOR decreased from 0.444 (0.222&#x2010;0.685) to 0.291 (0.097&#x2010;0.545), indicating that the DPD improvement did not extend to equalized-odds parity. The findings therefore represent a trade-off rather than simultaneous improvement across fairness definitions.</p><p>The primary Diabetes test-set performance and fairness metrics are summarized in <xref ref-type="table" rid="table4">Table 4</xref>.</p><table-wrap id="t4" position="float"><label>Table 4.</label><caption><p>Performance and fairness comparison on the primary Diabetes 130-US Hospitals dataset.</p></caption><table id="table4" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Metric</td><td align="left" valign="bottom">M2 estimate (95% CI)</td><td align="left" valign="bottom">M3 estimate (95% CI)</td><td align="left" valign="bottom">Direction</td></tr></thead><tbody><tr><td align="left" valign="top">AUC<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">0.648 (0.637&#x2010;0.660)</td><td align="left" valign="top">0.640 (0.628&#x2010;0.652)</td><td align="left" valign="top">Higher better</td></tr><tr><td align="left" valign="top">Macro F1</td><td align="left" valign="top">0.514 (0.508&#x2010;0.521)</td><td align="left" valign="top">0.546 (0.539&#x2010;0.553)</td><td align="left" valign="top">Higher better</td></tr><tr><td align="left" valign="top">Brier</td><td align="left" valign="top">0.231 (0.230&#x2010;0.232)</td><td align="left" valign="top">0.213 (0.212&#x2010;0.214)</td><td align="left" valign="top">Lower better</td></tr><tr><td align="left" valign="top">DPD<sup><xref ref-type="table-fn" rid="table4fn2">b</xref></sup></td><td align="left" valign="top">0.206 (0.147&#x2010;0.268)</td><td align="left" valign="top">0.124 (0.101&#x2010;0.185)</td><td align="left" valign="top">Lower better</td></tr><tr><td align="left" valign="top">EOR<sup><xref ref-type="table-fn" rid="table4fn3">c</xref></sup></td><td align="left" valign="top">0.444 (0.222&#x2010;0.685)</td><td align="left" valign="top">0.291 (0.097&#x2010;0.545)</td><td align="left" valign="top">Closer to 1</td></tr></tbody></table><table-wrap-foot><fn id="table4fn1"><p><sup>a</sup>AUC: area under the receiver operating characteristic curve.</p></fn><fn id="table4fn2"><p><sup>b</sup>DPD: demographic parity difference.</p></fn><fn id="table4fn3"><p><sup>c</sup>EOR: equalized odds ratio.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-2"><title>Sample Characteristics and Subgroup Sensitivity Analysis</title><p>A stage-wise ablation analysis was not performed because proxy residualization and temporal-shift mitigation were not implemented in the fresh reconstruction. Consequently, the independent contribution of each proposed stage, including the previously reported 22.4% reduction attributed to representation-level correction, could not be reproducibly estimated and is not claimed in this analysis. The empirical comparison instead evaluates the combined missingness-aware and representation-weighted M3 pipeline against M2. In practical terms, representation weighting targets unequal subgroup coverage, missingness indicators address systematic differences in documentation, integrity flags identify records affected by unusual missingness or utilization patterns, and proxy and temporal stages remain prespecified components requiring future evaluation.</p><p>The reproducibility flow included 101,766 Diabetes encounters (20,203 in the patient-separated test set), 63,996 eligible CMS episodes (12,801 test episodes), and 71,058 NHANES records for stage-level auditing. Test or stage-level prevalence was 11.16%, 9.62%, and 8.42%, respectively. Full split counts, individuals, positive outcomes, and prevalence are reported in Table S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p><p>Subgroup analyses showed heterogeneity by race. M2 race-specific AUC ranged from 0.631 to 0.782, and M3 ranged from 0.609 to 0.796; sex-specific AUCs were similar within each model. M3 subgroup Brier scores ranged from 0.193 to 0.214, while calibration slopes ranged from 1.48 to 3.90, indicating material miscalibration despite the lower overall Brier score. Full estimates and CIs are reported in Table S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p><p>The evaluation sample sizes across the Diabetes, CMS, and NHANES analyses were as follows: n=20,354, n=12,732, and n=45,565, respectively. The observed outcome or high-risk prevalences across the Diabetes, CMS, and NHANES analyses were as follows: 11.2%, 9.4%, and 8.8%, respectively.</p></sec><sec id="s3-3"><title>Mixture-of-Experts Evaluation</title><p>The operational integrity rules flagged 203 (1.00%) of 20,203 test records. The rule-gated MoE achieved an AUC of 0.648, a macro F1 of 0.514, a Brier score of 0.231, and a DPD of 0.205. M3 achieved an AUC of 0.640, a macro F1 of 0.546, a Brier score of 0.213, and a DPD of 0.124.</p><p>Compared with M3, the MoE-minus-M3 bootstrap contrast was +0.0078 for AUC (95% CI 0.0034&#x2010;0.0122), &#x2212;0.0316 for macro F1 (&#x2212;0.0372 to &#x2212;0.0264), +0.0177 for Brier score (0.0175&#x2010;0.0180), and +0.0708 for DPD (0.0154&#x2010;0.1172). Thus, the exploratory gate improved AUC slightly but worsened classification balance, probabilistic accuracy, and demographic parity.</p><p>Because the rule gate selected between 2 differently processed experts, these contrasts cannot distinguish gating effects from differences between M2 and M3. The analysis does not support the previous claim that MoE provided the best fairness-performance combination.</p><p>The integrity-flagged MoE comparison is summarized in <xref ref-type="table" rid="table5">Table 5</xref>; race-specific subgroup discrimination and the exploratory MoE end point comparison are shown in <xref ref-type="fig" rid="figure1">Figures 1</xref> and <xref ref-type="fig" rid="figure2">2</xref>, respectively.</p><table-wrap id="t5" position="float"><label>Table 5.</label><caption><p>Effect of mixture-of-experts processing for integrity-flagged records.</p></caption><table id="table5" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Configuration</td><td align="left" valign="bottom">AUC<sup><xref ref-type="table-fn" rid="table5fn1">a</xref></sup></td><td align="left" valign="bottom">Macro F1</td><td align="left" valign="bottom">Brier</td><td align="left" valign="bottom">DPD<sup><xref ref-type="table-fn" rid="table5fn2">b</xref></sup></td><td align="left" valign="bottom">EOR<sup><xref ref-type="table-fn" rid="table5fn3">c</xref></sup></td></tr></thead><tbody><tr><td align="left" valign="top">M2 main expert</td><td align="left" valign="top">0.648</td><td align="left" valign="top">0.514</td><td align="left" valign="top">0.231</td><td align="left" valign="top">0.206</td><td align="left" valign="top">0.444</td></tr><tr><td align="left" valign="top">M3 quality expert</td><td align="left" valign="top">0.640</td><td align="left" valign="top">0.546</td><td align="left" valign="top">0.213</td><td align="left" valign="top">0.124</td><td align="left" valign="top">0.291</td></tr><tr><td align="left" valign="top">Rule-gated MoE<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup></td><td align="left" valign="top">0.648</td><td align="left" valign="top">0.514</td><td align="left" valign="top">0.231</td><td align="left" valign="top">0.205</td><td align="left" valign="top">0.444</td></tr></tbody></table><table-wrap-foot><fn id="table5fn1"><p><sup>a</sup>AUC: area under the receiver operating characteristic curve.</p></fn><fn id="table5fn2"><p><sup>b</sup>DPD: demographic parity difference.</p></fn><fn id="table5fn3"><p><sup>c</sup>EOR: equalized odds ratio.</p></fn><fn id="table5fn4"><p><sup>d</sup>MoE: mixture of experts.</p></fn></table-wrap-foot></table-wrap><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Primary Diabetes test set race-specific area under the receiver operating characteristic curve (AUC) estimates with 95% subgroup-bootstrap CIs for M2 and M3. Subgroup discrimination varied by race, with wide intervals in smaller groups; complete performance and calibration metrics are reported in Table S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="ai_v5i1e102146_fig01.png"/></fig><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Exploratory comparison of M2, M3, and the rule-gated mixture of experts (MoE). A higher area under the receiver operating characteristic curve (AUC) is better; a lower Brier score and a lower demographic parity difference (DPD) are better. Explanation: The MoE recovered M2-like AUC but did not outperform M3 on macro F1, Brier score, or DPD.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="ai_v5i1e102146_fig02.png"/></fig></sec><sec id="s3-4"><title>External Readmission Validation in CMS SynPUF</title><p>In the CMS test set, M2 versus M3 results were AUC 0.798 (95% CI 0.786&#x2010;0.808) versus 0.796 (0.785&#x2010;0.806), macro F1 0.575 (0.568&#x2010;0.583) versus 0.583 (0.575&#x2010;0.591), Brier score 0.187 (0.185&#x2010;0.189) versus 0.183 (0.181&#x2010;0.185), DPD 0.693 (0.655&#x2010;0.733) versus 0.730 (0.697&#x2010;0.771), and EOR 0.656 (0.500&#x2010;0.778) versus 0.625 (0.438&#x2010;0.742). M3 slightly improved macro F1 and Brier score but did not improve discrimination or fairness. The CMS external-validation metrics are summarized in <xref ref-type="table" rid="table6">Table 6</xref>.</p><table-wrap id="t6" position="float"><label>Table 6.</label><caption><p>External validation after harmonized concept mapping.</p></caption><table id="table6" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Dataset or role</td><td align="left" valign="bottom">Metric</td><td align="left" valign="bottom">M2 estimate (95% CI)</td><td align="left" valign="bottom">M3 estimate (95% CI)</td></tr></thead><tbody><tr><td align="left" valign="top">CMS<sup><xref ref-type="table-fn" rid="table6fn1">a</xref></sup> readmission</td><td align="left" valign="top">AUC<sup><xref ref-type="table-fn" rid="table6fn2">b</xref></sup></td><td align="left" valign="top">0.798 (0.786&#x2010;0.808)</td><td align="left" valign="top">0.796 (0.785&#x2010;0.806)</td></tr><tr><td align="left" valign="top">CMS readmission</td><td align="left" valign="top">Macro F1</td><td align="left" valign="top">0.575 (0.568&#x2010;0.583)</td><td align="left" valign="top">0.583 (0.575&#x2010;0.591)</td></tr><tr><td align="left" valign="top">CMS readmission</td><td align="left" valign="top">Brier</td><td align="left" valign="top">0.187 (0.185&#x2010;0.189)</td><td align="left" valign="top">0.183 (0.181&#x2010;0.185)</td></tr><tr><td align="left" valign="top">CMS readmission</td><td align="left" valign="top">DPD<sup><xref ref-type="table-fn" rid="table6fn3">c</xref></sup></td><td align="left" valign="top">0.693 (0.655&#x2010;0.733)</td><td align="left" valign="top">0.730 (0.697&#x2010;0.771)</td></tr><tr><td align="left" valign="top">CMS readmission</td><td align="left" valign="top">EOR<sup><xref ref-type="table-fn" rid="table6fn4">d</xref></sup></td><td align="left" valign="top">0.656 (0.500&#x2010;0.778)</td><td align="left" valign="top">0.625 (0.438&#x2010;0.742)</td></tr><tr><td align="left" valign="top">NHANES<sup><xref ref-type="table-fn" rid="table6fn5">e</xref></sup> stage audit</td><td align="left" valign="top">Model performance</td><td align="left" valign="top">N/A<sup><xref ref-type="table-fn" rid="table6fn6">f</xref></sup></td><td align="left" valign="top">N/A</td></tr></tbody></table><table-wrap-foot><fn id="table6fn1"><p><sup>a</sup>CMS: Centers for Medicare and Medicaid Services.</p></fn><fn id="table6fn2"><p><sup>b</sup>AUC: area under the receiver operating characteristic curve.</p></fn><fn id="table6fn3"><p><sup>c</sup>DPD: demographic parity difference.</p></fn><fn id="table6fn4"><p><sup>d</sup>EOR: equalized odds ratio.</p></fn><fn id="table6fn5"><p><sup>e</sup>NHANES: National Health and Nutrition Examination Survey.</p></fn><fn id="table6fn6"><p><sup>f</sup>N/A: not applicable.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-5"><title>Stage-Level Transportability Stress Testing in NHANES</title><p>NHANES contained 71,058 records with 5980 (8.42%) high-risk labels and was used only for stage-level concept-coverage, missingness, proxy, and bounded-laboratory auditing. No readmission AUC, model-level DPD, or direct transportability claim was estimated.</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Findings</title><p>The fresh reconstruction did not reproduce the earlier manuscript&#x2019;s claim of simultaneous improvement in discrimination and fairness. On the primary test set, M3 improved the macro F1, Brier score, and DPD but reduced the AUC and EOR. CMS showed similar discrimination and slightly improved Brier score but worse DPD. These mixed results demonstrate why multiple fairness and calibration end points, subgroup analyses, and uncertainty intervals are necessary.</p><p>The external evidence has 2 deliberately different levels. CMS SynPUF evaluates the readmission outcome after claims-to-concept harmonization. NHANES does not evaluate the readmission model or its AUC; it examines whether selected representation, proxy, and bounded-laboratory integrity procedures behave sensibly in a different data-generating environment. This distinction limits the transportability claim and should be preserved when interpreting <xref ref-type="table" rid="table6">Table 6</xref>.</p></sec><sec id="s4-2"><title>Why the Pipeline Improves Both Fairness and Performance</title><p>Missingness-aware features and representation weights can change model selection rates and probability errors without improving ranking discrimination. In this reconstruction, a lower DPD coexisted with a worse EOR and heterogeneous subgroup calibration. The results therefore support an end point&#x2013;specific interpretation rather than a general claim that data-centric mitigation improves both fairness and performance.</p></sec><sec id="s4-3"><title>Practical Implications</title><p>The reproducibility package provides an auditable starting point: record-level predictions, split flow, subgroup metrics, calibration, concept missingness, and bootstrap intervals. However, proxy residualization and temporal mitigation require separate, prespecified implementations before they can be evaluated as components of the workflow.</p><p>Accordingly, the 37-concept dictionary should be interpreted as a reusable semantic interface, not as a guarantee of immediate interoperability. Its application at a new institution requires local clinical review; data-quality validation; documentation of mapping decisions; and re-evaluation of discrimination, calibration, and subgroup fairness before use.</p></sec><sec id="s4-4"><title>Limitations</title><p>First, the results are retrospective and limited to structured public data. Second, the 37-concept dictionary was used for audit reporting rather than a single transported prediction model. Third, the fresh run did not implement mutual-information or correlation proxy thresholds, k-nearest neighbors imputation, or temporal-shift correction; earlier claims about these components were removed. Fourth, subgroup estimates were imprecise for small groups. Fifth, the exploratory MoE used a fixed rule gate and cannot isolate architecture effects. Sixth, CMS SynPUF is synthetic and may not reproduce real institutional calibration, subgroup relationships, or coding behavior. Finally, no external repository DOI is available until the local package is deposited.</p></sec><sec id="s4-5"><title>Conclusions</title><p>This reproducible reconstruction found that M3 improved the macro F1, Brier score, and DPD on the primary Diabetes test set but reduced the AUC and EOR. CMS results did not show a fairness improvement, and the exploratory MoE did not outperform M3 on most end points. The evidence supports a nuanced fairness-calibration-discrimination trade-off, not uniform mitigation success. Prospective, institution-specific validation and prespecified implementation of the remaining proxy and temporal stages are required before clinical use.</p></sec></sec></body><back><ack><p>During manuscript preparation and revision, generative AI tools, including OpenAI ChatGPT/Codex, were used to assist with language editing, reviewer-response organization, formatting checks, code drafting for reproducible analyses and figures, and preparation of supplementary tables. All analyses, interpretations, manuscript content, code outputs, and final revisions were reviewed, verified, and approved by the authors, who take full responsibility for the integrity and accuracy of the submitted work.</p></ack><notes><sec><title>Funding</title><p>The authors declared no financial support was received for this work.</p></sec></notes><fn-group><fn fn-type="con"><p>RM and CS-A contributed to conceptualization, methodology, investigation, data curation, formal analysis, software, validation, visualization, writing&#x2014;original draft, and writing&#x2014;review and editing. CS-A supervised the study, provided project administration, and served as corresponding author. Both authors reviewed and approved the final manuscript.</p></fn><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">AUC</term><def><p>area under the receiver operating characteristic curve</p></def></def-item><def-item><term id="abb2">CMS</term><def><p>Centers for Medicare and Medicaid Services</p></def></def-item><def-item><term id="abb3">DPD</term><def><p>demographic parity difference</p></def></def-item><def-item><term id="abb4">EOR</term><def><p>equalized odds ratio</p></def></def-item><def-item><term id="abb5">MoE</term><def><p>mixture of experts</p></def></def-item><def-item><term id="abb6">NHANES</term><def><p>National Health and Nutrition Examination Survey</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rajpurkar</surname><given-names>P</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>E</given-names> </name><name name-style="western"><surname>Banerjee</surname><given-names>O</given-names> </name><name name-style="western"><surname>Topol</surname><given-names>EJ</given-names> </name></person-group><article-title>AI in health and medicine</article-title><source>Nat Med</source><year>2022</year><month>01</month><volume>28</volume><issue>1</issue><fpage>31</fpage><lpage>38</lpage><pub-id pub-id-type="doi">10.1038/s41591-021-01614-0</pub-id><pub-id pub-id-type="medline">35058619</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Topol</surname><given-names>EJ</given-names> </name></person-group><article-title>High-performance medicine: the convergence of human and artificial intelligence</article-title><source>Nat Med</source><year>2019</year><month>01</month><volume>25</volume><issue>1</issue><fpage>44</fpage><lpage>56</lpage><pub-id pub-id-type="doi">10.1038/s41591-018-0300-7</pub-id><pub-id pub-id-type="medline">30617339</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chen</surname><given-names>IY</given-names> </name><name name-style="western"><surname>Joshi</surname><given-names>S</given-names> </name><name name-style="western"><surname>Ghassemi</surname><given-names>M</given-names> </name></person-group><article-title>Treating health disparities with artificial intelligence</article-title><source>Nat Med</source><year>2020</year><month>01</month><volume>26</volume><issue>1</issue><fpage>16</fpage><lpage>17</lpage><pub-id pub-id-type="doi">10.1038/s41591-019-0649-2</pub-id><pub-id pub-id-type="medline">31932779</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Obermeyer</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Powers</surname><given-names>B</given-names> </name><name name-style="western"><surname>Vogeli</surname><given-names>C</given-names> </name><name name-style="western"><surname>Mullainathan</surname><given-names>S</given-names> </name></person-group><article-title>Dissecting racial bias in an algorithm used to manage the health of populations</article-title><source>Science</source><year>2019</year><month>10</month><day>25</day><volume>366</volume><issue>6464</issue><fpage>447</fpage><lpage>453</lpage><pub-id pub-id-type="doi">10.1126/science.aax2342</pub-id><pub-id pub-id-type="medline">31649194</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chen</surname><given-names>RJ</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>JJ</given-names> </name><name name-style="western"><surname>Williamson</surname><given-names>DFK</given-names> </name><etal/></person-group><article-title>Algorithmic fairness in artificial intelligence for medicine and healthcare</article-title><source>Nat Biomed Eng</source><year>2023</year><month>06</month><volume>7</volume><issue>6</issue><fpage>719</fpage><lpage>742</lpage><pub-id pub-id-type="doi">10.1038/s41551-023-01056-8</pub-id><pub-id pub-id-type="medline">37380750</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wang</surname><given-names>HE</given-names> </name><name name-style="western"><surname>Weiner</surname><given-names>JP</given-names> </name><name name-style="western"><surname>Saria</surname><given-names>S</given-names> </name><name name-style="western"><surname>Kharrazi</surname><given-names>H</given-names> </name></person-group><article-title>Evaluating algorithmic bias in 30-day hospital readmission models: retrospective analysis</article-title><source>J Med Internet Res</source><year>2024</year><month>04</month><day>18</day><volume>26</volume><issue>1</issue><fpage>e47125</fpage><pub-id pub-id-type="doi">10.2196/47125</pub-id><pub-id pub-id-type="medline">38422347</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mackin</surname><given-names>S</given-names> </name><name name-style="western"><surname>Major</surname><given-names>VJ</given-names> </name><name name-style="western"><surname>Chunara</surname><given-names>R</given-names> </name><name name-style="western"><surname>Newton-Dame</surname><given-names>R</given-names> </name></person-group><article-title>Identifying and mitigating algorithmic bias in the safety net</article-title><source>NPJ Digit Med</source><year>2025</year><month>06</month><day>5</day><volume>8</volume><issue>1</issue><fpage>335</fpage><pub-id pub-id-type="doi">10.1038/s41746-025-01732-w</pub-id><pub-id pub-id-type="medline">40473916</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chinta</surname><given-names>SV</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Palikhe</surname><given-names>A</given-names> </name><etal/></person-group><article-title>AI-driven healthcare: a review on ensuring fairness and mitigating bias</article-title><source>PLOS Digit Health</source><year>2025</year><volume>4</volume><issue>5</issue><fpage>e0000864</fpage><pub-id pub-id-type="doi">10.1371/journal.pdig.0000864</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Xu</surname><given-names>J</given-names> </name><name name-style="western"><surname>Xiao</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>WH</given-names> </name><etal/></person-group><article-title>Algorithmic fairness in computational medicine</article-title><source>EBioMedicine</source><year>2022</year><month>10</month><volume>84</volume><fpage>104250</fpage><pub-id pub-id-type="doi">10.1016/j.ebiom.2022.104250</pub-id><pub-id pub-id-type="medline">36084616</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="report"><article-title>Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13 June 2024 laying down harmonised rules on artificial intelligence and amending Regulations (EC) No 300/2008, (EU) No 167/2013, (EU) No 168/2013, (EU) 2018/858, (EU) 2018/1139 and (EU) 2019/2144 and Directives 2014/90/EU, (EU) 2016/797 and (EU) 2020/1828 (Artificial Intelligence Act) (Text with EEA relevance)</article-title><year>2024</year><access-date>2026-07-18</access-date><publisher-name>European Union</publisher-name><comment><ext-link ext-link-type="uri" xlink:href="https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng">https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng</ext-link></comment></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gebru</surname><given-names>T</given-names> </name><name name-style="western"><surname>Morgenstern</surname><given-names>J</given-names> </name><name name-style="western"><surname>Vecchione</surname><given-names>B</given-names> </name><etal/></person-group><article-title>Datasheets for datasets</article-title><source>Commun ACM</source><year>2021</year><month>12</month><volume>64</volume><issue>12</issue><fpage>86</fpage><lpage>92</lpage><pub-id pub-id-type="doi">10.1145/3458723</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Selbst</surname><given-names>AD</given-names> </name><name name-style="western"><surname>Boyd</surname><given-names>D</given-names> </name><name name-style="western"><surname>Friedler</surname><given-names>SA</given-names> </name><name name-style="western"><surname>Venkatasubramanian</surname><given-names>S</given-names> </name><name name-style="western"><surname>Vertesi</surname><given-names>J</given-names> </name></person-group><article-title>Fairness and abstraction in sociotechnical systems</article-title><conf-name>FAT* &#x2019;19: Proceedings of the Conference on Fairness, Accountability, and Transparency</conf-name><conf-date>Jan 29-31, 2019</conf-date><pub-id pub-id-type="doi">10.1145/3287560.3287598</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Jeanselme</surname><given-names>V</given-names> </name><name name-style="western"><surname>De-Arteaga</surname><given-names>M</given-names> </name><name name-style="western"><surname>Zhang</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Barrett</surname><given-names>J</given-names> </name><name name-style="western"><surname>Tom</surname><given-names>B</given-names> </name></person-group><article-title>Imputation strategies under clinical presence: impact on algorithmic fairness</article-title><source>Proc Mach Learn Res</source><year>2022</year><volume>193</volume><fpage>12</fpage><lpage>34</lpage><pub-id pub-id-type="medline">36601036</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kamiran</surname><given-names>F</given-names> </name><name name-style="western"><surname>Calders</surname><given-names>T</given-names> </name></person-group><article-title>Data preprocessing techniques for classification without discrimination</article-title><source>Knowl Inf Syst</source><year>2012</year><month>10</month><volume>33</volume><issue>1</issue><fpage>1</fpage><lpage>33</lpage><pub-id pub-id-type="doi">10.1007/s10115-011-0463-8</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Little</surname><given-names>RJA</given-names> </name><name name-style="western"><surname>Vartivarian</surname><given-names>S</given-names> </name></person-group><article-title>On weighting the rates in non-response weights</article-title><source>Stat Med</source><year>2003</year><month>05</month><day>15</day><volume>22</volume><issue>9</issue><fpage>1589</fpage><lpage>1599</lpage><pub-id pub-id-type="doi">10.1002/sim.1513</pub-id><pub-id pub-id-type="medline">12704617</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zanutto</surname><given-names>EL</given-names> </name></person-group><article-title>A comparison of propensity score and linear regression analysis of complex survey data</article-title><source>J Data Sci</source><year>2006</year><volume>4</volume><issue>1</issue><fpage>67</fpage><lpage>91</lpage><pub-id pub-id-type="doi">10.6339/JDS.2006.04(1).233</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Hardt</surname><given-names>M</given-names> </name><name name-style="western"><surname>Price</surname><given-names>E</given-names> </name><name name-style="western"><surname>Srebro</surname><given-names>N</given-names> </name></person-group><article-title>Equality of opportunity in supervised learning</article-title><access-date>2026-07-18</access-date><conf-name>30th Conference on Neural Information Processing Systems (NIPS 2016)</conf-name><conf-date>Dec 5-10, 2016</conf-date><comment><ext-link ext-link-type="uri" xlink:href="https://proceedings.neurips.cc/paper_files/paper/2016/file/6a9659feb1216f14f7384ba499518b38-Paper.pdf">https://proceedings.neurips.cc/paper_files/paper/2016/file/6a9659feb1216f14f7384ba499518b38-Paper.pdf</ext-link></comment></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Strack</surname><given-names>B</given-names> </name><name name-style="western"><surname>DeShazo</surname><given-names>JP</given-names> </name><name name-style="western"><surname>Gennings</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Impact of HbA1c measurement on hospital readmission rates: analysis of 70,000 clinical database patient records</article-title><source>Biomed Res Int</source><year>2014</year><volume>2014</volume><fpage>781670</fpage><pub-id pub-id-type="doi">10.1155/2014/781670</pub-id><pub-id pub-id-type="medline">24804245</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>Clore</surname><given-names>J</given-names> </name><name name-style="western"><surname>Cios</surname><given-names>KJ</given-names> </name><name name-style="western"><surname>DeShazo</surname><given-names>JP</given-names> </name><etal/></person-group><article-title>Diabetes 130-US hospitals for years 1999&#x2013;2008</article-title><source>UCI Machine Learning Repository</source><year>2014</year><access-date>2026-07-18</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://archive.ics.uci.edu/dataset/296/diabetes+130-us+hospitals+for+years+1999-2008">https://archive.ics.uci.edu/dataset/296/diabetes+130-us+hospitals+for+years+1999-2008</ext-link></comment></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="web"><article-title>National Health and Nutrition Examination Survey</article-title><source>Centers for Disease Control and Prevention</source><access-date>2026-07-18</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.cdc.gov/nchs/nhanes/">https://www.cdc.gov/nchs/nhanes/</ext-link></comment></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="web"><article-title>Medicare claims synthetic public use files (SynPUFs)</article-title><source>Centers for Medicare &#x0026; Medicaid Services (CMS)</source><year>2012</year><access-date>2026-07-18</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.cms.gov/Research-Statistics-Data-and-Systems/Downloadable-Public-Use-Files/SynPUFs">https://www.cms.gov/Research-Statistics-Data-and-Systems/Downloadable-Public-Use-Files/SynPUFs</ext-link></comment></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1 </label><p>Harmonization dictionary, concept missingness, subgroup analyses, dataset flow, uncertainty estimates, mixture-of-experts comparisons, and auditable procedures.</p><media xlink:href="ai_v5i1e102146_app1.docx" xlink:title="DOCX File, 42 KB"/></supplementary-material></app-group></back></article>