How Much of a Metabolic Risk Model's Lost Clinical Value Under Population Transfer Can Recalibration Recover, Separately for Women and Men?

When a diabetes or metabolic-syndrome risk model built in one population is used in another, it usually gets worse. Clinical ML almost always measures that damage with AUC, the area under the ROC curve, which only asks whether the model still ranks sick patients above healthy ones. Clinical decisions, though, use the model's predicted probability against a cutoff: send this patient for a glucose test if their risk exceeds some threshold. A model can keep its ranking ability after transfer and still be useless at the cutoff, because its probabilities are now systematically too high or too low. Metabolic risk is a setting where this matters unusually, because the relationship between body fat and disease differs by sex and shifts with age. In US survey data, women in the top quartile of a visceral-fat index had a 2.38-fold higher risk of diabetes or prediabetes against 1.06-fold in men (Zheng et al., NHANES). In a Chinese cohort, women's metabolic-syndrome risk overtook men's after age 55 (Zhang et al., 2015). When a model moves to a new population, its errors can therefore land differently on women and men, and on pre- versus post-menopausal women.

This project measures transfer damage in units of clinical value, separately by sex and age, and splits that loss into two parts. The first part is fixable cheaply by recalibration, meaning re-adjusting the model's output probabilities on a small labeled sample from the new population. The second part is not fixable that way and requires new features or retraining. The deliverable is an answer to a practical question a health system faces before deployment: for this model, in this new population, for women and for men, how many local labeled patients do we need to recover most of the lost clinical value, and when is no amount of recalibration enough?

Core Claim

We use decision curve analysis, a method that scores a model by its net benefit (true positives gained minus false positives incurred, with false positives weighted by how much the clinician fears unnecessary action). At a decision threshold $p_t$, net benefit is

$$NB(p_t) = \frac{TP}{N} - \frac{FP}{N}\cdot\frac{p_t}{1-p_t},$$

where $TP$ and $FP$ are true and false positives among $N$ patients. Flores et al. prove that a bounded Brier score, which counts squared-error regret only over a clinically plausible threshold interval $[p_a, p_b]$, equals net benefit averaged over that interval. They release this in the briertools package. Because Brier-type scores split into a calibration term and a discrimination term, we can define, for each subgroup $g$ (sex, or sex by age band) in a target population, the transfer regret

$$R_g = \underbrace{\big[B_g(f_{src}) - B_g(\mathrm{cal}_g \circ f_{src})\big]}_{\text{recoverable by recalibration}} + \underbrace{\big[B_g(\mathrm{cal}_g \circ f_{src}) - B_g(f_{tgt})\big]}_{\text{requires retraining}}.$$

Here $B_g$ is the bounded Brier score on subgroup $g$ over $[p_a,p_b]$. $f_{src}$ is the source-trained model applied unchanged. $\mathrm{cal}_g$ is a recalibration map fitted on target data for subgroup $g$. $f_{tgt}$ is a model trained directly on ample target data, serving as a practical ceiling.

Our hypothesis has two parts. First, for anthropometric and lipid-based metabolic screening models, most transfer regret sits in the recoverable term, and a few hundred local labels per sex recover it. Second, the exception is post-menopausal women and populations whose fat distribution at a given BMI differs from the source. There, the residual term stays large because the source features cannot express the target's risk curve. Both parts are falsifiable, and the experiments are designed so that a "recalibration is always enough" outcome would be clearly visible.

Relation to Prior Work

The closest prior work is Pfohl et al.. They evaluated ASCVD (atherosclerotic cardiovascular disease) risk models on more than 5.8 million insured US patients. They showed that fairness penalties enforcing equal error rates across race and sex break calibration and lower net benefit at the 7.5% statin threshold, and they recommended ordinary training plus subgroup recalibration and careful threshold choice. Their paper supplies our method's starting point and constrains our design: we will not propose in-processing fairness penalties. However, Pfohl et al. work within one population at one fixed threshold. They do not study transfer to a different population, and they do not separate recoverable from unrecoverable loss or ask how many labels recovery takes. We take their recommendation as the hypothesis under test, measuring where it holds and where it fails.

Flores et al. supply the scoring tool. They also motivate the project: in a breast-cancer screening case study, restricting evaluation to the 1.66%–3% threshold window reversed model rankings relative to global metrics. They do not examine subgroups or population shift. Zhang et al.'s RETFound screening study applied decision curves across urban and rural Chinese communities for retinal disease. It did not split net benefit by sex, and it concerns image models rather than tabular metabolic risk.

The metabolic papers motivate the subgroup structure. Zheng et al. report the sex gap in visceral-fat sensitivity. Bai et al. found that waist circumference best predicts type 2 diabetes in older Chinese men (AUC 0.629), while BMI and waist perform similarly in women (AUC about 0.600). Zhang et al., 2015 report the age-55 crossover. Xiang et al. found two body-composition clusters in men and three in women. All four evaluate only with odds ratios or AUC, and each is from a single population. Mueller et al. show that visceral and subcutaneous fat are predicted with different accuracy in men and women. This supports our second hypothesis: features that are merely proxies for visceral fat may carry different information across sexes and populations.

The finding that women with male-like ECGs have higher cardiovascular mortality (Lancet Digital Health ECG study) argues against treating sex as purely binary. We address this only through the age-by-sex structure of recalibration, not through a continuous sex score, which our data cannot measure.

Research Program

The prediction task is a screening decision. From non-glycemic routine measurements (age, sex, BMI, waist circumference, triglycerides, HDL cholesterol, blood pressure, and the visceral adiposity index computed from them), the model predicts whether a person has diabetes or prediabetes, defined by HbA1c, fasting glucose, or diagnosis. Its output decides who is sent for glucose testing. Glycemic markers are excluded from the inputs so that they serve only as the label.

The threshold interval $[p_a,p_b]$ is fixed before seeing results, based on the low-harm nature of a glucose test. We will report sensitivity to the interval endpoints and to sex-specific intervals. The choice of interval is the most subjective element of the study. We also report full decision curves so readers can apply their own interval.

The primary source and target populations come from data accessible without bespoke collaborations. NHANES 1999–2018, as used by Zheng et al., provides the transfer splits. We train on non-Hispanic White adults and deploy on Mexican American, non-Hispanic Black, and (from the 2011 cycles onward) non-Hispanic Asian adults. We also run a temporal split, training on early cycles and deploying on late ones. Survey weights are respected throughout. Where access is granted, UK Biobank is a second source deployed into NHANES on harmonized features, giving a cross-country shift.

If collaborators can share either Chinese cohort described in the file, Xinzheng (Bai et al.) or QianFoShan (Zhang et al., 2015), we add a US-to-China transfer. The core study does not depend on it.

For every source–target pair, we fit gradient-boosted trees and logistic regression with splines on the source population. We then compute $R_g$ and its two components for subgroups defined by sex and by sex crossed with age bands chosen to straddle the menopausal transition. The recalibration family is varied deliberately, from weakest to strongest:

  1. Prevalence-only intercept shift, which needs no labels, only a target prevalence estimate.
  2. Sex-specific intercept and slope.
  3. Sex-by-age spline recalibration.
  4. Isotonic regression per subgroup.

The ceiling model $f_{tgt}$ uses the same features and the same tuning budget, trained on the full target training split.

Label-budget curves then repeat the fitting of recalibration maps using $n$ target labels per sex, with $n$ ranging from 25 to 2,000, over many random draws. These curves report the fraction of recoverable regret recovered at each $n$.

Finally, a feature-sufficiency probe tests the second hypothesis. Where the residual term is large, we ask whether adding waist-based or visceral-index features to the source model shrinks it. A shrinking residual would mean the loss came from the source model's feature set rather than from irreducible population differences.

Baselines

The naive reference points are "test everyone" and "test no one," the two default strategies against which decision curve analysis always compares. A model that fails to beat both over $[p_a,p_b]$ for a subgroup has no clinical value there. We also include the source model applied without any adjustment, which is what most external validations implicitly evaluate.

The strongest existing method is pooled training followed by subgroup recalibration and threshold selection, as recommended by Pfohl et al.. We implement it with the same features, tuning budget, and target label budget as our richest recalibration variant. The file gives no numeric net-benefit values for this method: Pfohl et al. report their results in figures. No reported result was found on Lacuna for net benefit of any diabetes screening model on NHANES. The nearest published numbers for metabolic screening discrimination are AUC 0.629 for waist circumference in men and about 0.600 in women in the Xinzheng cohort (Bai et al.), and cross-validated AUC 0.796 in men and 0.897 in women for five-year metabolic syndrome (Zhang et al., 2015). These come from different cohorts and tasks, so they serve only as context, not as targets.

We do not aim to beat the Pfohl-style baseline with a new model. The contribution is the decomposition and the label-budget map. The analysis "beats" this baseline if it identifies subgroups where the baseline's recalibration leaves more than half of transfer regret unrecovered, and if the feature probe or a target-trained model then demonstrably closes that gap.

Two further baselines complete the comparison. One is a sex-stratified model trained separately for women and men. The other is a fairness-penalized model enforcing equalized odds through an MMD (maximum mean discrepancy) penalty, included to test whether Pfohl et al.'s negative result carries over to metabolic transfer.

The key ablation compares sex-only recalibration with sex-by-age recalibration. If the age-55 crossover matters for decisions, the sex-by-age variant should recover substantially more regret among women aged 45–65 and show no gain in men.

Why not just…?

Why not just recalibrate per sex on the target population and stop? This is the serious threat, and it may simply be right. If our first hypothesis holds everywhere, the honest conclusion is that Pfohl et al.'s recipe generalizes to population transfer. The useful new output would then be the label budget: how many local patients per sex are needed, and whether a label-free prevalence shift is enough. The study is built to report that outcome cleanly rather than to argue around it. The interesting result is only the set of subgroups where the residual term stays large even with isotonic recalibration on 2,000 labels.

Why not just report subgroup AUC on the target population? AUC cannot detect miscalibration. Pfohl et al. show that calibration failures can erase net benefit while ranking is preserved, and Flores et al. show that rankings flip inside clinical threshold windows. We test this directly by computing, across all source–target–subgroup combinations, the rank correlation between AUC drop and net-benefit drop. If the correlation is high, AUC-based auditing would suffice for this task and our decomposition would add little. We would report that.

Why not just train separate models for women and men? A sex-stratified model is included as a baseline. It addresses source-population dimorphism, but not the target population's different baseline risk. It also halves the training data and still treats age within sex as homogeneous. If the stratified model transferred with small residual regret and no recalibration, it would undercut our framing. The experiments measure this directly.

Why not add a fairness penalty during training? Pfohl et al. found that equalized-odds penalties reduced net benefit for the very subgroups they were meant to protect. Equalizing error rates across groups with different prevalence conflicts with calibration. We include the penalty only to check whether that finding holds here, and we expect it to.

Proposed Experiments and Decisive Checks

The primary experiment computes $R_g$ and its decomposition for every NHANES transfer split, every model class, and every sex-by-age subgroup. It reports bootstrap confidence intervals that account for survey design, alongside full decision curves and the label-budget recovery curves.

Four checks decide the outcome:

  1. AUC versus net benefit. Whether AUC drop predicts net-benefit drop. A weak correlation justifies decision-based auditing.
  2. Label-free recovery. Whether a label-free prevalence shift recovers most regret in men but not in post-menopausal women, as the visceral-fat and crossover findings predict.
  3. Residual explained by features. Whether large residuals shrink when visceral-fat-related features are added, which would show the loss is about feature sufficiency rather than irreducible population difference.
  4. Replication across shifts. Whether the decomposition replicates on the temporal split and, if available, the UK Biobank-to-NHANES split.

If recalibration recovers nearly everything everywhere, we report a calibrated, sex-specific label budget for safe deployment. If it fails in identifiable subgroups, we report where and why. Either result tells a health system what to do before switching a metabolic risk model on.