mlf-core: a framework for deterministic machine learning
Open Access
- 1 April 2023
- journal article
- research article
- Published by Oxford University Press (OUP) in Bioinformatics
- Vol. 39 (4)
Abstract
Motivation: Machine learning has shown extensive growth in recent years and is now routinely applied to sensitive areas. To allow appropriate verification of predictive models before deployment, models must be deterministic. Solely fixing all random seeds is not sufficient for deterministic machine learning, as major machine learning libraries default to the usage of nondeterministic algorithms based on atomic operations.Results: Various machine learning libraries released deterministic counterparts to the nondeterministic algorithms. We evaluated the effect of these algorithms on determinism and runtime. Based on these results, we formulated a set of requirements for deterministic machine learning and developed a new software solution, the mlf-core ecosystem, which aids machine learning projects to meet and keep these requirements. We applied mlf-core to develop deterministic models in various biomedical fields including a single-cell autoencoder with TensorFlow, a PyTorch-based U-Net model for liver-tumor segmentation in computed tomography scans, and a liver cancer classifier based on gene expression profiles with XGBoost.Availability and implementation: The complete data together with the implementations of the mlf-core ecosystem and use case models are available at https://github.com/mlf-core.Keywords
All Related Versions
Funding Information
- Deutsche Forschungs Gemeinschaft (398967434)
This publication has 32 references indexed in Scilit:
- Letter-Value Plots: Boxplots for Large DataJournal of Computational and Graphical Statistics, 2017
- Apache SparkCommunications of the ACM, 2016
- The FAIR Guiding Principles for scientific data management and stewardshipScientific Data, 2016
- Repeatability in computer systems researchCommunications of the ACM, 2016
- Crime detection and criminal identification in India using data mining techniquesAI & SOCIETY, 2014
- Consumer credit risk: Individual probability estimates using machine learningExpert Systems with Applications, 2013
- The burden of liver disease in Europe: A review of available epidemiological dataJournal of Hepatology, 2013
- Comparison and Evaluation of Methods for Liver Segmentation From CT DatasetsIEEE Transactions on Medical Imaging, 2009
- New response evaluation criteria in solid tumours: Revised RECIST guideline (version 1.1)European Journal of Cancer, 2009
- Hepatocellular Carcinoma: Epidemiology and Molecular CarcinogenesisGastroenterology, 2007