Pendidikan editorial
Open AccessOA2023
Leakage and the reproducibility crisis in machine-learning-based science
This digest summarizes the paper by Kapoor and Narayanan, which surveys 17 fields where data leakage has affected 294 papers, introduces a taxonomy of eight leakage types, and demonstrates through a reproducibility study that complex ML models do not outperform logistic regression in civil war prediction when leakage is corrected.
Sayash Kapoor; Arvind Narayanan· Patterns· 2023· DOI 10.1016/j.patter.2023.100804
The core problem
Machine-learning (ML) methods have become increasingly prominent in the quantitative sciences, offering powerful tools for prediction and pattern discovery. However, their adoption has been accompanied by methodological pitfalls, notably data leakage, which can lead to overoptimistic and irreproducible results. This paper systematically investigates reproducibility issues in ML-based science. The authors survey literature across fields that have adopted ML methods, identifying 17 fields where leakage has been detected, affecting 294 papers. In some cases, leakage has led to wildly overoptimistic conclusions. The paper aims to raise awareness of leakage, provide a taxonomy to classify its types, and propose practical solutions for detection and prevention. Additionally, it conducts a reproducibility study in civil war prediction to illustrate the impact of leakage on model performance comparisons.
Innovation
The authors conducted a literature survey to identify fields where data leakage has been reported. They searched for papers that discuss or exhibit leakage issues in ML-based science. From this survey, they developed a taxonomy of eight types of leakage, ranging from textbook errors to open research problems. To help researchers detect leakage, they propose the use of model info sheets—structured documentation that prompts researchers to test for each type of leakage. Furthermore, they performed a reproducibility study on civil war prediction, a domain where complex ML models are believed to vastly outperform traditional statistical models like logistic regression (LR). They re-analyzed the data and models, correcting for leakage errors, and compared the performance of complex ML models with LR.
Introduction
Machine-learning (ML) methods have become increasingly prominent in the quantitative sciences, offering powerful tools for prediction and pattern discovery. However, their adoption has been accompanied by methodological pitfalls, notably data leakage, which can lead to overoptimistic and irreproducible results. This paper systematically investigates reproducibility issues in ML-based science. The authors survey literature across fields that have adopted ML methods, identifying 17 fields where leakage has been detected, affecting 294 papers. In some cases, leakage has led to wildly overoptimistic conclusions. The paper aims to raise awareness of leakage, provide a taxonomy to classify its types, and propose practical solutions for detection and prevention. Additionally, it conducts a reproducibility study in civil war prediction to illustrate the impact of leakage on model performance comparisons.
Why it matters
The authors argue that leakage is a significant contributor to the reproducibility crisis in ML-based science. They emphasize that leakage can occur in various forms, from simple mistakes like duplicate rows to more complex issues like temporal leakage. The proposed model info sheets serve as a practical tool for researchers to systematically check for leakage. The civil war prediction study demonstrates that when leakage is addressed, the advantage of complex ML models may disappear, suggesting that simpler, interpretable models like LR can be equally effective. The paper calls for increased awareness, better documentation, and rigorous validation practices to mitigate leakage and enhance reproducibility in ML-based science.
Who should read this
Pembaca Research Digest dan praktisi rumpun ini.
Opening member content…