Skip to main navigation Skip to search Skip to main content

AutoStructor: A Generative AI-Based Framework for Automated Program Repair with Deep Learning-Guided Fault Localization

  • Hasen Özayturk*
  • , Feza Buzluca
  • *Corresponding author for this work
  • Istanbul Technical University

Research output: Contribution to journalConference articlepeer-review

Abstract

Current automated program repair (APR) approaches still suffer from two critical limitations: inaccurate fault localization and ineffective patch generation. This paper presents a novel hybrid framework, AutoStructor, that proposes a Quality-Aware Graph-Based Machine Learning Fault Localization (GBMFL) and a Large Language Model (LLM)-based patch generation technique to effectively address these challenges. Our key innovation lies in integrating 21 comprehensive code quality metrics and sophisticated multi-modal attention mechanisms, including quality-aware, graph-aware, sparse, and multiscale attention into the GBMFL architecture, coupled with intelligent test failure analysis for superior code understanding and patch generation. AutoStructor bridges the gap between fault localization and patch generation through an end-to-end pipeline that leverages generative AI for intelligent patch synthesis. We evaluate our approach on the Defects4J benchmark, demonstrating significant improvements in fault localization accuracy (81.9% Top-1, 93.4% Top-3) with a Mean First Rank of 1.13, and successful patch generation for 48 out of 61 active Lang project bugs. Notably, our structured test analysis approach enables cost-effective deployment using compact LLMs, achieving effective repair.

Original languageEnglish
Pages (from-to)1193-1198
Number of pages6
JournalInternational Conference on Computer Science and Engineering, UBMK
Issue number2025
DOIs
Publication statusPublished - 2025
Event10th International Conference on Computer Science and Engineering, UBMK 2025 - Istanbul, Turkey
Duration: 17 Sept 202521 Sept 2025

Bibliographical note

Publisher Copyright:
© 2025 IEEE.

Keywords

  • automated program repair
  • graph-based fault localization
  • multi-modal attention
  • software quality metrics
  • test failure analysis

Fingerprint

Dive into the research topics of 'AutoStructor: A Generative AI-Based Framework for Automated Program Repair with Deep Learning-Guided Fault Localization'. Together they form a unique fingerprint.

Cite this