Keeping Deep Learning Models in Check: A History-Based Approach to Mitigate Overfitting
Not on the map. Why?
Abstract (arXiv)
In software engineering, deep learning models are increasingly deployed for critical tasks such as bug detection and code review. However, overfitting remains a challenge that affects the quality, reliability, and trustworthiness of software systems that utilize deep learning models. Overfitting can be (1) prevented (e.g., using dropout or early stopping) or (2) detected in a trained model (e.g., using correlation-based approaches). Both overfitting detection and prevention approaches that are currently used have constraints (e.g., requiring modification of the model structure, and high computing resources). In this paper, we propose a simple, yet powerful approach that can both detect and prevent overfitting based on the training history (i.e., validation losses). Our approach first trains a time series classifier on training histories of overfit models. This classifier is then used to detect if a trained model is overfit. In addition, our trained classifier can be used to prevent overfitting by identifying the optimal point to stop a model's training. We evaluate our approach on its ability to identify and prevent overfitting in real-world samples. We compare our approach against correlation-based detection approaches and the most commonly used prevention approach (i.e., early stopping). Our approach achieves an F1 score of 0.91 which is at least 5% higher than the current best-performing non-intrusive overfitting detection approach. Furthermore, our approach can stop training to avoid overfitting at least 32% of the times earlier than early stopping and has the same or a better rate of returning the best model.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 28 of its 94 references that are in the map. First posted on arXiv 18 Jan 2024.
Builds on
28 of 94 references.
References · 28
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2020Overfitting in adversarially robust deep learningcited by 504
- 2018Accurate Uncertainties for Deep Learning Using Calibrated Regressioncited by 417
- 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 249
- 2015A Random Forest Guided Tourcited by 168
- 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 106
- 2017Regularization for Deep Learning: A Taxonomycited by 91
- 2020Understanding Catastrophic Overfitting in Single-step Adversarial Trainingcited by 75
- 2013A Time Series Forest for Classification and Feature Extractioncited by 69
- 2020Multi-task Learning based Pre-trained Language Model for Code Completioncited by 58
- 2020A Survey on Deep Learning for Software Engineeringcited by 37
- 2019Retrieve and Refine: Exemplar-based Neural Comment Generationcited by 36
16 more
- 2020A Systematic Literature Review on the Use of Deep Learning in Software Engineering Researchcited by 35
- 2021Low Curvature Activations Reduce Overfitting in Adversarial Trainingcited by 29
- 2022Learning Curves for Decision Making in Supervised Machine Learning: A Surveycited by 27
- 2020Small Data, Big Decisions: Model Selection in the Small-Data Regimecited by 23
- 2023Dropout Reduces Underfittingcited by 21
- 2017Easy over Hard: A Case Study on Deep Learningcited by 20
- 2019Random Vector Functional Link Neural Network based Ensemble Deep Learningcited by 20
- 2020Learning Curves for Analysis of Deep Networkscited by 20
- 2019Detecting Overfitting via Adversarial Examplescited by 15
- 2016A deep learning model for estimating story pointscited by 10
- 2022NeuRecover: Regression-Controlled Repair of Deep Neural Networks with Training Historycited by 8
- 2019Circuit-Based Intrinsic Methods to Detect Overfittingcited by 4
- 2017Early Detection of Promoted Campaigns on Social Mediacited by 3
- 2019Model Validation Using Mutated Training Labels: An Exploratory Studycited by 3
- 2019Deep Learning Anti-patterns from Code Metrics Historycited by 3
- 2020Cross-Dataset Design Discussion Miningcited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 1.
6 papers.
- 2025Agentic AI for Scientific Discovery: A Survey of Progress, Challenges, and Future Directionscited by 74
- 2024AdaAugment: A Tuning-Free and Adaptive Approach to Enhance Data Augmentationcited by 7
- 2024DG-PPU: Dynamical Graphs based Post-processing of Point Clouds extracted from Knee Ultrasoundscited by 0
- 2025Prevention of Overfitting on Mesh-Structured Data Regressions with a Modified Laplace Operatorcited by 0
- 2025Deep learning and abstractive summarisation for radiological reports: an empirical study for adapting the PEGASUS models' family with scarce datacited by 0
- 2026Calibrated Partial Resets: Preventing Policy Collapse in Continual Reinforcement Learningcited by 0
- 2026Calibrated Partial Resets: Preventing Policy Collapse in Continual Reinforcement Learning27 Jul 2026
- 2025Deep learning and abstractive summarisation for radiological reports: an empirical study for adapting the PEGASUS models' family with scarce data18 Sep 2025
- 2025Prevention of Overfitting on Mesh-Structured Data Regressions with a Modified Laplace Operator9 Jul 2025
- 2025Agentic AI for Scientific Discovery: A Survey of Progress, Challenges, and Future Directions12 Mar 2025
- 2024DG-PPU: Dynamical Graphs based Post-processing of Point Clouds extracted from Knee Ultrasounds12 Nov 2024
- 2024AdaAugment: A Tuning-Free and Adaptive Approach to Enhance Data Augmentation19 May 2024