Machine learning models fail in production constantly. A review of COVID-19 prediction models found hundreds that looked strong on test sets but collapsed on real data, because the training sets contained hidden variables: patient posture, scanner orientation, overlapping records, and mislabelled entries. A Toronto water quality system built on similar foundations regularly cleared dangerous water as safe. These are not edge cases. The AIAAIC repository catalogs them systematically, and researchers now argue this pattern is triggering a reproducibility crisis across science.

The article, adapted from Michael Fairhurst's 2021 paper 'How to avoid machine learning pitfalls: a guide for academic researchers' (arXiv:2108.02497), walks through the specific failure modes in order of where they hit the pipeline. Data problems come first: spurious correlations, hidden variables, and labelling noise. MNIST and CIFAR carry mislabelling rates of a few percent, which matters when competing models differ by tenths of a percent in accuracy. Then come pipeline problems: data leakage, flawed train-test splits, and evaluation choices that quietly inflate reported performance. The piece ties each failure mode to a concrete mechanism, not just a warning.

The full article is worth reading for two reasons. First, it details how hidden variables differ from spurious correlations and why that distinction changes your remediation strategy. Second, it introduces the REFORMS checklist from Princeton as a practical intervention, not just a theoretical one. If you train models and ship them anywhere outside a notebook, this is required reading.

[READ ORIGINAL →]