Automated Bug Detection and Fixing Using T5-Small Transformer Model: A Multi-Language Approach
Year: 2026
Type: article
Abstract: Software bugs remain one of the most persistent challenges in software development, consuming 50-75% ofdeveloper time and costing the global economy over $2 trillion annually. This paper presents a multi-language approach toautomated bug detection and fixing using the T5-Small transformer model. We construct a dataset of 2,600 real bug examplesfrom Defects4J, BugSwarm, QuixBugs, GitBugs, and 500 novel multi-error examples. The T5-Small model (60M parameters) isfine-tuned with optimal hyperparameters. Our evaluation framework employs seven metrics with mathematical formulations. Experimental results demonstrate 68.46% Normalized Exact Match, 93.74% F1 Score, and 99.55% ROUGE-1. The modelperforms effectively on both Python (70.0%) and Java (65.0%). All artifacts are released open-source.
Author: Md Tanvir Ahamed
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7159787012
