Diagnosing source-nested label confounding in pooled biological data
Abstract
Scientific collections increasingly pool data from independent studies, giving machine learning far more samples than any single study provides. Pooling, however, introduces a hazard. Contributing studies differ in many experimental or observational factors, including genetic background and acquisition protocol, and each typically examines only one or a few conditions, such as a gene mutation, a disease, or a treatment. A model that learns to recognize where a sample came from can then predict what it is without learning the biology. Accuracy and other metrics may suggest strong performance, and the model's errors can masquerade as biological insight. We demonstrate this with deep-learning classifiers trained on thousands of pooled micro-CT scans of mouse skulls. Landmark-based shape analysis shows the same pattern, indicating that the problem is inherent to how the data were collected and combined rather than to any particular method. We call this hazard source-nested label confounding. Changing the model alone cannot resolve it, because where labels are nested within sources, the data cannot show whether a prediction reflects the biology or the source. Instead, we recommend six diagnostic checks as an audit that requires only provenance metadata and model predictions. Together, these checks show when apparent performance reflects a sample's source and how much remains once the source is held fixed. The same nesting of labels within sites, cohorts, or batches can arise in other pooled data, such as radiographs, multi-site neuroimaging, and genomics. Beyond diagnosis, we encourage curators of pooled collections to publish provenance summary tables alongside their data, making source-label overlap visible before further analysis.
Create a lesson
Metadata
- Categories
- q-bio.QM, cs.LG
- Comments
- 46 pages, 6 figures, 1 table. Includes supplemental information with 6 supplemental figures. Supplemental Tables S1-S7 are provided as ancillary files
Related papers
Inference-time Steering in Biological Design with Multimodal Meta Flow Maps
Shared title terminologyq-bio.QMUlrik Unneberg, Shiyi Wang, Dinko Franceschi et al.
Using waveform types, discrete Sobolev distances, and trend compatibility to cluster short time series of clinical data
Shared title terminologyq-bio.QMRobyn J. N. Kettlitz, Daniel Cisternas, Alvaro Olivera-Nappa et al.
One-Step Self-Assembling Lipopolymer Coatings Enable Direct Longitudinal Biosensing in Native Biological Matrices
Shared title terminologyq-bio.QMPascal Rüedi, Sarina Seiter, Stephan Handschin et al.
PDO Drug Screening Data for Evaluating and Training AI Drug Response Prediction Models
Shared title terminologyq-bio.QMY. Zhu, K. Marlor, V. Lavelle et al.
Diagnosing Before the Answer: A Gated Environment for Evaluating LLM Agents on Real Emergency Chest-Pain Encounters
Shared title terminologyq-bio.QMFeng Wu, Hongfei Yang, Pengpeng Chen et al.
Open-Source Framework for the Visualization, Quantification, and Analysis of 4D Flow and High-Dimensional Magnetic Resonance Images
Shared title terminologyq-bio.QMAndras Lasso, Julia Iacovella, Csaba Pinter et al.