Shrinking Toward the Network: Site-Level Recalibration for Clinical Net Benefit in Federated Models

Hospitals that train a model together with federated averaging, where each site trains locally and a coordinator averages the resulting weights, get a model that ranks patients better than any site could manage alone. They then use that model in a different way than it was trained. A clinician treats a patient when the predicted risk crosses a threshold that encodes a value judgment, such as "start statins above 7.5% ten-year risk." Whether this helps patients is measured by decision curve analysis, which computes the net benefit of acting on the model at each threshold: true positives per patient minus false positives per patient, weighted by the odds of the threshold. Net benefit rewards correct probabilities, not just correct rankings. A federated model averaged across sites with different disease prevalence can rank well everywhere and still give systematically wrong probabilities at some hospitals. At those hospitals, acting on it can do worse than the trivial policies of treating everyone or treating no one.

We propose to fix this after training rather than during it. Each hospital fits a two-parameter recalibration of the shared model's output, chosen to minimize regret only over that hospital's own clinically plausible threshold band. The per-site parameters are then partially pooled across the network, so that a small hospital with few events borrows strength from the others while a large hospital keeps its own correction. The only quantities leaving a site are its two parameter estimates and their uncertainty. Our claim is that this sits between the two existing options, one global correction (as in federated calibration work) or each site correcting alone (as centralized fairness work recommends), and beats both on the metric clinicians act on. The advantage should be largest exactly where federation is supposed to help most, at small sites.

Core Claim

Most of the harm that federated averaging does to local net benefit is a site-specific shift in calibration: a wrong baseline level of predicted risk and a wrong spread. It is not a loss of ranking ability. The shift can be estimated from a handful of per-site statistics. Estimating it well at small sites, however, requires pooling information across sites, and the estimate should be fit to the threshold band the site actually uses, not to the whole probability range. If this is right, three things follow. A cheap post-hoc step should recover most of the gap between the federated model and the "calibrated at every site" oracle. Changing the federated training objective should add little on top of it. And the advantage of partial pooling over purely local recalibration should shrink predictably as a site's number of positive cases grows.

What Prior Work Establishes and Leaves Open

The evidence that calibration, not discrimination, governs decisions comes from two papers that motivate this work.

Net benefit, calibration, threshold selection, and training objectives for algorithmic fairness in healthcare shows the problem on 5.8 million patients. Fairness penalties added during training damaged calibration, which sharply reduced net benefit at the 7.5% statin threshold. Standard training followed by subgroup-specific recalibration maximized net benefit. We read this as a constraint on design. It argues against putting a decision-aware loss inside federated training and for a post-hoc correction. Our "sites" play the role of their "subgroups." That paper was centralized, however, with ample data per group, and never faced the question of what to do when a group has too few events to recalibrate alone.

A Consequentialist Critique of Binary Classification Evaluation Practices supplies the method. It proves that a Brier score integrated only over a threshold interval equals integrated net benefit over that interval. It also shows that model rankings can flip between AUC and band-limited net benefit. We reuse this equivalence as the fitting objective for recalibration, so that the correction is optimized for the decisions actually made. The authors' briertools package gives us the scoring implementation.

On the federated side, Federated Calibration and Evaluation of Binary Classifiers builds per-client score histograms under secure aggregation and differential privacy. From these it estimates AUC and fits one global Bayesian-binning recalibration, reducing ECE from about 0.1 to about 0.01 on Kaggle tabular data. Its histograms already contain everything needed to compute a pooled decision curve, so we treat federated decision curves as an evaluation instrument we inherit, not a contribution we claim. That paper differs from ours in three ways. It produces one global correction, which cannot undo site-specific prevalence shifts. It targets ECE over the full range. And it was never evaluated on multi-site clinical data.

The remaining papers show the gap is real. Distributionally Robust Federated Averaging protects the worst-off client's average loss. It does not consider thresholds or calibration, and we use it as a training-side competitor. The deployment studies report only discrimination or agreement statistics: Federated Learning for Breast Density Classification: A Real-World Implementation reports kappa rising from 0.64 to 0.68 locally and from 0.18 to 0.26 across sites, and Developing Federated Time-to-Event Scores Using Heterogeneous Real-World Survival Data reports an iAUC improvement of up to 11.6%. Conversely, RETFound-enhanced community-based fundus disease screening runs decision curve analysis, but only on a centrally trained model. None of these tells us whether federated models produce positive net benefit at each participating site.

Research Program

The first step is diagnostic. We train federated averaging models on naturally partitioned clinical benchmarks and compute, at each site, the decision curve over a stated threshold band. We then decompose the net benefit lost relative to that site's own oracle-recalibrated version of the same model. Nothing like this measurement appears in the file.

The second step is the method. Let $s$ be the shared model's logit for a patient at site $k$. The site-recalibrated probability is

$$\hat p_k = \sigma(a_k + b_k s),$$

where $\sigma$ is the logistic function, $a_k$ corrects the baseline risk level, and $b_k$ corrects the spread. Site $k$ has its own threshold band $[\ell_k, u_k]$, which may differ across sites because screening clinics and tertiary centers weigh harms differently. On held-out local data, the site estimates $(a_k, b_k)$ by minimizing the Brier score restricted to that band, which by the Flores et al. equivalence is minimizing lost net benefit over $[\ell_k, u_k]$. It also estimates the sampling covariance $V_k$ of those estimates, by bootstrap or from the curvature of the objective.

The sites send only $(a_k, b_k, V_k)$ to the coordinator. The coordinator fits a Gaussian random-effects model, $(a_k, b_k) \sim \mathcal{N}(\mu, \Sigma)$, and returns each site's shrunken estimate:

$$(\tilde a_k, \tilde b_k) = (\Sigma^{-1} + V_k^{-1})^{-1}\left(\Sigma^{-1}\mu + V_k^{-1}(a_k, b_k)\right).$$

Sites with many events have small $V_k$ and keep their own correction. Sites with few events are pulled toward the network mean. This is standard empirical Bayes; the contribution is the decision-targeted objective and the federated setting.

We also study three extensions. The first adds a prevalence-only variant, in which each site shares just its event count so the coordinator can apply an analytic prior-shift correction to $a_k$. The second adds differential-privacy noise to the shared triples. The third pushes the evaluation histograms through secure aggregation to produce network-level and site-stratified decision curves with confidence bands, following the histogram protocol of Cormode and Markov.

Baselines

The naive reference points are treat-all and treat-none, evaluated at each site across its band. A model that falls below $\max(NB_{\text{all}}, 0)$ anywhere in the band is flagged as harmful there. Next comes uncorrected federated averaging, as implemented in FLamby, and purely local models trained at each site. Every method uses the same splits, the same architecture, the same training budget, and the same held-out recalibration data per site.

The strongest competitors are post-hoc corrections applied to the same federated averaging model.

The first is local recalibration, where each site fits $(a_k, b_k)$ alone. This is the direct transfer of the Pfohl et al. recommendation and the method most likely to match ours.

The second is global federated recalibration via Bayesian binning over pooled histograms, following Cormode and Markov. They report ECE falling from about 0.1 to about 0.01 on Kaggle data. No net-benefit result for this method was found on Lacuna, so we will measure it ourselves.

The third is federated averaging followed by local fine-tuning of the final layer, which is the personalization route suggested by Roth et al.

On the training side, we compare DRFA and FedProx/Scaffold from FLamby, each followed by the same partially pooled recalibration. This tests whether a better-trained backbone makes the correction unnecessary.

Two ablations isolate our ingredients. The first swaps the band-limited objective for full-range log loss while keeping partial pooling. The second keeps the band-limited objective but removes pooling. The oracle is each site recalibrated on its full labeled pool.

Beating the field means two things. Our method must achieve higher integrated net benefit over each site's band than the best of local and global recalibration, averaged across sites and at the worst site, with paired bootstrap intervals that exclude zero. It must also leave no site below the treat-all/treat-none envelope where local recalibration does. For discrimination context, the only reported federated number on these benchmarks is Fed-ISIC2019 balanced accuracy of about 50–55% for federated strategies against about 65% pooled (FLamby). No reported net-benefit result was found on Lacuna for any FLamby dataset.

Why not just…?

Why not just recalibrate locally at each hospital? This is the real threat, and at large sites we expect it to tie with our method. Pfohl et al. showed it works when groups are large. Its weakness is variance. A site with a few dozen positives estimates $a_k$ and $b_k$ noisily, and a noisy intercept moves every decision near the threshold. Our event-count sweep, described below, is designed to find where local recalibration and partial pooling cross. If the crossover occurs at event counts smaller than any realistic site, we will report that partial pooling is unnecessary.

Why not just apply one global recalibration across the network? A single map cannot correct opposite prevalence shifts at different sites. Wherever sites disagree in baseline risk, it will overcorrect some and undercorrect others. Cormode and Markov evaluated it only by ECE on non-clinical data. Our site-stratified curves will show directly whether it leaves specific hospitals below the default strategies.

Why not just train with a decision-aware or robust objective? Pfohl et al. found that changing the training objective damaged calibration and net benefit, and DRFA targets average loss rather than any threshold. We include DRFA and a band-limited-Brier federated training run as backbones. If either removes the need for post-hoc correction, that result falsifies our core claim.

Why not just report AUC? Flores et al. show that model rankings flip between AUC and band-limited net benefit. We will report both and count how often the choice of best method changes.

Proposed Experiments

We use FLamby's Fed-Heart-Disease, which has four centers in four countries, binary labels, and naturally different prevalence, as the primary testbed. Fed-Camelyon16 (two hospitals) is a second binary task. Fed-ISIC2019 recast as melanoma versus other adds image-based acquisition shift. Fed-TCGA-BRCA at a fixed survival horizon is a fourth task. For controlled stress tests, we partition MIMIC-IV-ED, the public half of the FedScore-Surv benchmark, into synthetic sites with deliberately varied prevalence and size, and predict a fixed-horizon outcome. Threshold bands are fixed in advance per task from clinical convention and reported alongside results. For example, a low screening band applies to melanoma. Each site's band is allowed to differ in a secondary analysis.

The first decisive check is the diagnostic. Does uncorrected federated averaging fall below the treat-all/treat-none envelope at any real site while its AUC matches pooled training? If it never does on any benchmark, the problem is smaller than argued, and we will say so.

The second decisive check is the event-count sweep. At each site we subsample recalibration positives from very few to the full pool and plot integrated net-benefit regret against the oracle for local, global, and partially pooled correction. We expect a crossover in which pooling wins below some event count and ties above it. The location of that crossover is the practical output of this work.

The third check is attribution. It compares the backbone-change and objective-change ablations to establish that the pooling and the band-limited fit each contribute.

The fourth check is privacy. It measures how much differential-privacy noise on the shared parameter triples, and on the evaluation histograms, widens the confidence bands of the federated decision curves before they stop distinguishing the model from treat-all.