mlf-core: a framework for deterministic machine learning
Preprint
Abstract
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. However, major machine learning libraries default to the usage of non-deterministic algorithms based on atomic operations. Solely fixing all random seeds is not sufficient for deterministic machine learning. To overcome this shortcoming, various machine learning libraries released deterministic counterparts to the non-deterministic 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 CT scans, and a liver cancer classifier based on gene expression profiles with XGBoost.Keywords
All Related Versions
This publication has 40 references indexed in Scilit:
- The Liver Tumor Segmentation Benchmark (LiTS)Medical Image Analysis, 2022
- FateID infers cell fate bias in multipotent progenitors from single-cell RNA-seq dataNature Methods, 2018
- Big Data and Machine Learning in Health CareJAMA, 2018
- Machine Learning Detects Pan-cancer Ras Pathway Activation in The Cancer Genome AtlasCell Reports, 2018
- Reproducibility of studies on text mining for citation screening in systematic reviews: Evaluation and checklistJournal of Biomedical Informatics, 2017
- Reproducible RNA-seq analysis using recount2Nature Biotechnology, 2017
- 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
- New response evaluation criteria in solid tumours: Revised RECIST guideline (version 1.1)European Journal of Cancer, 2009