Association between clinical feature encoding and prediction model performance: an equivalence analysis of graded representation collapse in two critical-care databases

Background How a clinical feature is encoded is a methodological choice made during data preparation, but its consequences for prediction-model performance are rarely quantified. We estimated how much predictive performance is lost when a categorical electronic health record (EHR) feature encoding is collapsed, against a negligibility margin set before interval estimation. Methods Lower-lobe lung-sound fields were analysed in MIMIC-IV v3.1 and compared with the corresponding breath-sound assessment in eICU-CRD v2.0. Within MIMIC-IV, same-timestamp field co-population, categorical support and bilateral agreement were quantified. A feature-level representation audit compared realised supports across corpora, classified cross-corpus relations, and identified irreversible partition changes. On approximately 490,000 at-risk stay-hours per lung-sound field, four encodings were evaluated by five-fold cross-validation with folds grouped by patient for prediction of invasive ventilation within 24 h, using incremental held-out log score and change in area under the receiver operating characteristic curve (AUC). Results Of 93,603 MIMIC-IV stays with either lower-lobe field, 93,596 had both; 99.64% of right-lobe entries had a left-lobe entry at the identical chart time, 99.91% of them by the same caregiver_id. Field-specific spelling variants created 9,890 artificial bilateral disagreements; reconciling them raised Cohen’s kappa from 0.8704 to 0.8801. The MIMIC and eICU supports contained 15 and 8 strings, including a three-to-one wheeze collapse. The lung-sound field added measurable predictive information (approximately 0.0012–0.0016 nats per observation; ΔAUC 0.019–0.024). In a paired patient-level bootstrap, all 16 log-score contrasts (four outcomes, two model specifications) lay within a 10% margin of the native gain defined before interval estimation; the largest loss bound was 5.2%, and AUC changes were negligible. Conclusions Collapsing a categorical EHR feature encoding, including an irreversible three-to-one merge, cost no more than 5.2% of the feature’s own predictive contribution across four outcomes and two model specifications. Encoding choices of this kind therefore carry a small, quantifiable cost. The corollary is that performance equivalence cannot by itself establish that two settings represent a predictor equivalently, so predictor provenance requires evidence distinct from task performance.

Authors

Publication Details

Journal
Research Square
Published
2026-11-24
DOI
https://doi.org/10.21203/rs.3.rs-11362349/v1
Primary Topic
Machine Learning in Healthcare
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Association between clinical feature encoding and prediction model performance: an equivalence analysis of graded representation collapse in two critical-care databases

Yngve Mikkelsen
1 links
Research Square
Machine Learning in Healthcare
preprint

Association between clinical feature encoding and prediction model performance: an equivalence analysis of graded representation collapse in two critical-care databases

Yngve Mikkelsen
preprint en

Abstract

Background How a clinical feature is encoded is a methodological choice made during data preparation, but its consequences for prediction-model performance are rarely quantified. We estimated how much predictive performance is lost when a categorical electronic health record (EHR) feature encoding is collapsed, against a negligibility margin set before interval estimation. Methods Lower-lobe lung-sound fields were analysed in MIMIC-IV v3.1 and compared with the corresponding breath-sound assessment in eICU-CRD v2.0. Within MIMIC-IV, same-timestamp field co-population, categorical support and bilateral agreement were quantified. A feature-level representation audit compared realised supports across corpora, classified cross-corpus relations, and identified irreversible partition changes. On approximately 490,000 at-risk stay-hours per lung-sound field, four encodings were evaluated by five-fold cross-validation with folds grouped by patient for prediction of invasive ventilation within 24 h, using incremental held-out log score and change in area under the receiver operating characteristic curve (AUC). Results Of 93,603 MIMIC-IV stays with either lower-lobe field, 93,596 had both; 99.64% of right-lobe entries had a left-lobe entry at the identical chart time, 99.91% of them by the same caregiver_id. Field-specific spelling variants created 9,890 artificial bilateral disagreements; reconciling them raised Cohen’s kappa from 0.8704 to 0.8801. The MIMIC and eICU supports contained 15 and 8 strings, including a three-to-one wheeze collapse. The lung-sound field added measurable predictive information (approximately 0.0012–0.0016 nats per observation; ΔAUC 0.019–0.024). In a paired patient-level bootstrap, all 16 log-score contrasts (four outcomes, two model specifications) lay within a 10% margin of the native gain defined before interval estimation; the largest loss bound was 5.2%, and AUC changes were negligible. Conclusions Collapsing a categorical EHR feature encoding, including an irreversible three-to-one merge, cost no more than 5.2% of the feature’s own predictive contribution across four outcomes and two model specifications. Encoding choices of this kind therefore carry a small, quantifiable cost. The corollary is that performance equivalence cannot by itself establish that two settings represent a predictor equivalently, so predictor provenance requires evidence distinct from task performance.

Research Square
Good health and well-being
Machine Learning in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon