Deep4ge: DNN Training Trajectories for Fault Detection and Diagnosis

๐Ÿ“… 2026-07-14
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
This work addresses the challenge of detecting and diagnosing training anomalies in deep learning systems, which often stem from subtle implementation defects yet lack labeled training trajectory data for systematic study. To bridge this gap, the authors construct Deep4ge, a large-scale benchmark dataset derived from 59 real-world TensorFlow/Keras programs. By applying 27 source-level transformations, they inject seven representative fault types, yielding 14,227 training runsโ€”comprising 9,845 faulty and 4,382 normal executions. Each run is annotated with 26 fine-grained features spanning weights, gradients, activations, loss, accuracy, learning rate, and hardware utilization, along with four evaluation metrics. Deep4ge is the first publicly available, controlled dataset of DNN training trajectories with explicit fault labels, enabling research in binary anomaly detection, multi-class fault diagnosis, and early prediction. The dataset and fault-injection framework are open-sourced.
๐Ÿ“ Abstract
Deep learning systems often fail due to subtle implementation faults that alter training behavior. Recent work has studied how to detect and diagnose such failures from changes observed across training epochs. However, the software engineering community still lacks a public dataset of per-epoch training runs with documented fault history, feature extraction details, and clear reuse support for fault detection and diagnosis tasks. We present Deep4ge, a controlled benchmark of 14,227 training runs generated from 59 adapted TensorFlow/Keras deep neural network (DNN) programs collected from Stack Overflow. We generated faulty variants using 27 source-code transformations that introduce known faults across seven categories. The dataset contains 9,845 faulty runs and 4,382 correct baseline runs. For each run, we record 4 evaluation metrics and 26 features that measure training behavior at every epoch. These features capture weights, gradients, activations, accuracy and loss trends, learning rate, and hardware use. Deep4ge supports binary fault detection, multi-class fault diagnosis, and early fault prediction from partial training runs. We release the dataset and fault-injection framework at https://doi.org/10.5281/zenodo.20337241.
Problem

Research questions and friction points this paper is trying to address.

fault detection
fault diagnosis
deep learning
training trajectory
dataset
Innovation

Methods, ideas, or system contributions that make the work stand out.

fault detection
fault diagnosis
deep learning
training trajectory
benchmark dataset
๐Ÿ”Ž Similar Papers
No similar papers found.