Data splitting to avoid information leakage with DataSAIL
Information leakage is an increasingly important topic in machine learning research for biomedical applications. When information leakage happens during a model's training, it risks memorizing the training data instead of learning generalizable properties. This can lead to inflated performance metrics that do not reflect the actual performance at inference time. We present DataSAIL, a versatile Python package to facilitate leakage-reduced data splitting to enable realistic evaluation of machine learning models for biological data that are intended to be applied in out-of-distribution scenarios. DataSAIL is based on formulating the problem to find leakage-reduced data splits as a combinatorial optimization problem. We prove that this problem is NP-hard and provide a scalable heuristic based on clustering and integer linear programming. Finally, we empirically demonstrate DataSAIL's impact on evaluating biomedical machine learning models.
Authors
- Roman Joeres (ORCID: https://orcid.org/0009-0000-2952-9395)
- David B. Blumenthal (ORCID: https://orcid.org/0000-0001-8651-750X)
- Olga V. Kalinina (ORCID: https://orcid.org/0000-0002-9445-477X)
Institutions
- Friedrich-Alexander-Universität Erlangen-Nürnberg (DE)
- Helmholtz Centre for Infection Research (DE)
- Helmholtz Institute for Pharmaceutical Research Saarland (DE)
- University of Gothenburg (SE)
- Saarland University (DE)
Publication Details
- Journal
- Nature Communications
- Published
- 2025-04-08
- DOI
- https://doi.org/10.1038/s41467-025-58606-8
- Citations
- 28
- Primary Topic
- Machine Learning and Data Classification
- Type
- article
- Field-Weighted Citation Impact
- 69.47
Funders
- Deutsche Forschungsgemeinschaft
- Bundesministerium für Bildung und Forschung
- Knut och Alice Wallenbergs Stiftelse
- Göteborgs Universitet
- Klaus Tschira Stiftung