A hospital that trains a 30-day readmission model can only label the readmissions it sees. A patient who is discharged and then readmitted to a different hospital looks, in the index hospital's records, exactly like a patient who stayed well. This missing-label problem is uneven. Patients who live far away, carry certain insurance, or already split their care across systems are the ones most likely to be readmitted out of sight. Automated machine learning (AutoML), meaning software that searches over preprocessing steps, model families and hyperparameters and keeps whatever scores best on held-out data, inherits this blind spot directly. Its held-out data carries the same corrupted labels, so the search can reward pipelines that learn who tends to come back here rather than who tends to get sick again.
This note proposes to measure that distortion and correct it. The setting is a national database that links each patient's discharges across hospitals, so the ground truth is known. We first test whether fragmentation actually changes which pipeline an AutoML system picks, not just how good its scores look. If it does, we replace the system's selection objective with one that reweights observed readmissions by an estimated probability that a readmission would have been seen at all. A small linked sample, of the kind a health information exchange could provide, supplies that estimate. Here AutoML is the mechanism under study, readmission prediction is the application, and data fragmentation is the constraint that breaks the usual assumptions.
Core Claim
Prior work at this intersection treats fragmentation mainly as missing inputs. The examples are notes versus structured fields (A Comparative Study of Structured and Narrative EHR Data for 30-Day Readmission Risk Assessment) and admissions lacking an image or note modality, which MuST sidesteps by keeping only admissions where all three are present. The research file shows that these single-facility models label any patient who does not reappear in the same EHR as a non-readmission. The Amsterdam ICU model explicitly excludes inter-facility transfers. Thomas et al. (Predicting onset of complications from diabetes) and Lasko (Nonstationary Gaussian Process Regression) supply the motivating evidence that migration and external care break patient timelines. Neither paper, however, studies what this does to the outcome label or to model selection.
Our claim is that fragmentation corrupts the outcome label in a feature-dependent way, and that this matters most at the selection step. Write $Y$ for a true 30-day readmission anywhere, $S$ for whether that readmission occurs at the index hospital, and $\tilde Y = YS$ for the observed label. Define $c(x)=P(S=1\mid Y=1,x)$ as the capture probability for a patient with features $x$. If capture is independent of anything not in $x$, then
$$P(\tilde Y=1\mid x)=c(x)\,P(Y=1\mid x).$$
A selection score computed on $\tilde Y$ therefore rewards pipelines that fit the product $c(x)p(x)$, where $p(x)=P(Y=1\mid x)$. When $c$ varies across patients, the ranking of candidate pipelines can change. Pipelines that exploit observability signals such as prior same-hospital visit density, payer or residence then gain an advantage. A constant $c$ would only rescale risk and leave AUROC rankings unchanged, so the heterogeneity is what matters.
Given an estimate $\hat c(x)$, we can rewrite the validation loss as an unbiased one. The approach borrows from learning with positive and unlabeled examples. Each observed readmission counts as a positive with weight $1/\hat c(x)$ and as a negative with weight $1-1/\hat c(x)$, and every unobserved case counts as a negative. This yields
$$\hat L(f)=\frac{1}{n}\sum_{i:\tilde y_i=1}\Big[\tfrac{1}{\hat c(x_i)}\ell(f(x_i),1)+\big(1-\tfrac{1}{\hat c(x_i)}\big)\ell(f(x_i),0)\Big]+\frac{1}{n}\sum_{i:\tilde y_i=0}\ell(f(x_i),0),$$
where $f$ is a candidate pipeline, $\ell$ is log-loss, and $n$ is the validation size. Its expectation equals the loss against true labels when $\hat c=c$. We pair this loss with a corrected precision-recall estimate for ranking. What is new is not the reweighting identity itself. It is treating the AutoML selection objective as the place where fragmentation does damage, together with a measurable account of when correcting it changes the chosen pipeline.
Research Program
The main testbed is the Nationwide Readmissions Database, which links a patient's discharges across hospitals within a state. We follow the pneumonia cohort used by Talwar et al.. From it we build two views of the same patients. The network view takes each index hospital's perspective. Labels count only readmissions back to that hospital, and prior-utilization features are recomputed from that hospital's records alone, so fragmentation hits both labels and inputs. The linked view uses all in-state readmissions and serves as ground truth. The ground truth is still imperfect, since cross-state readmissions are lost. We report this caveat and test sensitivity in border regions.
The work proceeds in three stages. First, we run AutoML on network-view data and log every pipeline it evaluates. We then score each logged pipeline against both labels to measure ranking agreement and the true-label regret of the pipeline that would have been chosen. Two systems are tested. One is Auto-sklearn, which combines Bayesian optimization with meta-learned warm starts and ensemble selection (Efficient and Robust Automated Machine Learning). The other is a stacked tabular ensemble of the kind benchmarked by Shi et al..
Second, we fit a capture model $\hat c(x)$ on a small linked subsample, varied from 1% to 20% of patients. This mimics a hospital that has exchange-linked records for only a fraction of its population. We substitute the corrected loss into the AutoML selection step and, separately, into training.
Third, we test transport. The capture model is fit on one group of hospitals or states and applied to others, because a hospital will rarely have its own linked sample. A secondary semi-synthetic study on MIMIC-IV applies capture masks drawn from the NRD-estimated $\hat c$. This checks whether the effect persists when discharge-note features are added to the search space, following the late-fusion recipe of Tang et al..
Baselines
The naive reference point is the system a hospital would actually deploy: Auto-sklearn run on network-view labels with its default selection objective. It uses the same features, the same wall-clock budget, the same cross-validation folds and the same random seeds as our method. Every improvement we claim is measured against its true-label performance. Beside it sits a transparent prior-utilization logistic model in the spirit of LACE. The Amsterdam ICU study reports that the clinical SWIFT score reached only ROC AUC 0.561 against 0.802 for gradient boosting in its setting. We still include a LACE-style model, because utilization-heavy scores are exactly where observability leakage should show up.
The strongest existing method on this cohort is XGBoost. Talwar et al. report AUROC 0.6606 and AUPRC 0.2147 on NRD 2016 pneumonia readmissions, using labels that already include cross-hospital readmissions. We treat that configuration, retuned with our budget on linked-view labels, as an oracle upper reference. It shows what is achievable if fragmentation did not exist. We also run it under the network view as a fixed-pipeline competitor.
Beating the naive AutoML baseline means recovering a substantial share of the gap between it and the oracle on true-label AUROC, AUPRC and calibration, judged with paired bootstrap intervals across hospitals. We did not find a reported Auto-sklearn result on NRD on Lacuna, so the AutoML numbers will be new.
Two ablations isolate the key ingredient. The first replaces $\hat c(x)$ with a single constant capture rate. If this matches the full method, heterogeneity does not matter and the idea reduces to recalibration. The second applies the correction only during training, only during selection, or both, to show whether selection is truly where the damage occurs.
Why not just…?
Why not just run off-the-shelf AutoML and trust its cross-validation? That is precisely the hypothesis under test. Internal cross-validation guards against leakage between folds (Hands-On Automated Machine Learning Tools), but every fold shares the same one-sided label error. The first stage measures directly whether this matters. If the pipelines chosen under network labels show negligible true-label regret, the proposal's central motivation fails, and we will report that as the finding.
Why not just add observability features, such as payer, residence and prior visit counts, and let the model sort it out? This is a real competitor. With features alone, though, the model fits $c(x)p(x)$ better without separating the two factors. Its predictions would then rank captured patients higher, not sicker ones. We run this variant as a baseline, and the subgroup analysis by payer and rurality shows whether it under-flags migrating patients.
Why not just train only on high-capture, loyal patients? Restricting to patients whose care is concentrated at the index hospital removes much of the label noise. The cost is shifting the training population away from the patients most likely to be missed, who are often those with the most complex care. We run this complete-case baseline and compare its true-label performance on the full and low-capture populations.
Why not just get linked data and train on it? Where full linkage exists, that is the right answer, and our oracle reference represents it. Most hospitals have at best partial exchange coverage, and privacy constraints limit aggregation (The role of machine learning in clinical research). The linked-sample-size sweep asks how little linkage is enough for correction to rival full linkage.
Proposed Experiments
The decisive first check is the rank-agreement study on NRD. For each index hospital we compute Kendall's tau between pipeline scores under network and linked labels. We also compute the true-label AUROC and AUPRC regret of the network-selected pipeline relative to the best logged pipeline. Following the file's warning that AUROC flatters imbalanced readmission data (Mohammadi et al.), we report AUPRC, Brier score and the fraction of true readmissions captured in the top risk decile alongside AUROC.
We expect regret to grow with the spread of $\hat c(x)$ across a hospital's patients, since the identity above makes ranking distortion vanish when capture is uniform. We test this by regressing per-hospital regret on capture heterogeneity.
The second check asks whether corrected selection closes the gap to the oracle as the linked fraction grows, and whether it beats the constant-capture ablation. The third asks whether a capture model fit on other hospitals still helps after transport. The fourth asks whether selected pipelines rely less on observability features, measured through permutation importance. The last runs the MIMIC-IV semi-synthetic version, which tests whether the effect survives when note-derived features enter the search.
A clean negative result on the first check would itself be useful. It would tell hospitals that single-site AutoML selection is robust to migration even though its reported scores are not.
References
- A Comparative Study of Structured and Narrative EHR Data for 30-Day Readmission Risk Assessment
- MuST: Multimodal Spatiotemporal Graph-Transformer for Hospital Readmission Prediction
- Developing a Machine Learning prediction model for bedside decision support by predicting readmission or death following discharge from the Intensive Care unit
- Predicting onset of complications from diabetes: a graph based approach
- Nonstationary Gaussian Process Regression for Evaluating Repeated Clinical Laboratory Tests
- Machine learning methods to predict 30-day hospital readmission outcome among US adults with pneumonia: analysis of the national readmission database
- Efficient and Robust Automated Machine Learning
- Benchmarking Multimodal AutoML for Tabular Data with Text Fields
- Bag of Tricks for Multimodal AutoML with Image, Text, and Tabular Data
- Hands-On Automated Machine Learning Tools: Auto-Sklearn and Auto-PyTorch
- The role of machine learning in clinical research: transforming the future of evidence generation
- Predicting Unplanned Readmissions Following a Hip or Knee Arthroplasty: Retrospective Observational Study