# TFCheck : A TensorFlow Library for Detecting Training Issues in Neural Network Programs

arXiv: https://arxiv.org/abs/1909.02562 · HTML: https://mlsanity.com/paper/1909.02562/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 5 Sep 2019.

## Built on by (most cited first, 3 of 3)

- [Automatic Fault Detection for Deep Learning Programs Using Graph Transformations](https://mlsanity.com/paper/2105.08095/) (2021)
- [Exploring the usage of Probabilistic Neural Networks for Ionospheric electron density estimation](https://mlsanity.com/paper/2503.06144/) (2025)
- [BTTackler: A Diagnosis-based Framework for Efficient Deep Learning Hyperparameter Optimization](https://mlsanity.com/paper/2602.23630/) (2026)

## Abstract (arXiv)

The increasing inclusion of Machine Learning (ML) models in safety critical systems like autonomous cars have led to the development of multiple model-based ML testing techniques. One common denominator of these testing techniques is their assumption that training programs are adequate and bug-free. These techniques only focus on assessing the performance of the constructed model using manually labeled data or automatically generated data. However, their assumptions about the training program are not always true as training programs can contain inconsistencies and bugs. In this paper, we examine training issues in ML programs and propose a catalog of verification routines that can be used to detect the identified issues, automatically. We implemented the routines in a Tensorflow-based library named TFCheck. Using TFCheck, practitioners can detect the aforementioned issues automatically. To assess the effectiveness of TFCheck, we conducted a case study with real-world, mutants, and synthetic training programs. Results show that TFCheck can successfully detect training issues in ML code implementations.
