Smoke Testing for Machine Learning: Simple Tests to Discover Severe Defects
Not on the map. Why?
Abstract (arXiv)
Machine learning is nowadays a standard technique for data analysis within software applications. Software engineers need quality assurance techniques that are suitable for these new kinds of systems. Within this article, we discuss the question whether standard software testing techniques that have been part of textbooks since decades are also useful for the testing of machine learning software. Concretely, we try to determine generic and simple smoke tests that can be used to assert that basic functions can be executed without crashing. We found that we can derive such tests using techniques similar to equivalence classes and boundary value analysis. Moreover, we found that these concepts can also be applied to hyperparameters, to further improve the quality of the smoke tests. Even though our approach is almost trivial, we were able to find bugs in all three machine learning libraries that we tested and severe bugs in two of the three libraries. This demonstrates that common software testing techniques are still valid in the age of machine learning and that considerations how they can be adapted to this new context can help to find and prevent severe bugs, even in mature machine learning libraries.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 1; 2025: 0; 2026: 1.
5 papers.
- 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 4
- 2022Differential testing for machine learning: an analysis for classification algorithms beyond deep learningcited by 3
- 2023Test & Evaluation Best Practices for Machine Learning-Enabled Systemscited by 3
- 2021A Review on Oracle Issues in Machine Learningcited by 1
- 2026Broken on Arrival: Silently Defective LLM Artifacts in Public Model Registries and How to Catch Themcited by 0
- 2026Broken on Arrival: Silently Defective LLM Artifacts in Public Model Registries and How to Catch Them5 Sep 2026
- 2024Deep Learning Library Testing: Definition, Methods and Challenges27 Apr 2024
- 2023Test & Evaluation Best Practices for Machine Learning-Enabled Systems10 Oct 2023
- 2022Differential testing for machine learning: an analysis for classification algorithms beyond deep learning25 Jul 2022
- 2021A Review on Oracle Issues in Machine Learning4 May 2021