Skip to content
#software testing Open access

HGFE: A plug-and-play heterogeneous graph feature enhancement framework for software fault localization

Aug 2026 · Software quality journal · Vol 34 · 0 citations · 32 references

TL;DR

The Heterogeneous Graph Feature Enhancer (HGFE) is proposed, an interface-preserving feature enhancement framework for downstream fault-localization models that consume feature matrices or feature vectors that consume feature matrices or feature vectors.

Abstract

Software fault localization is essential for reducing debugging effort and improving software quality, yet existing graph-based methods often focus on downstream model design while leaving weak input features and mixed relation semantics insufficiently addressed. This paper proposes the Heterogeneous Graph Feature Enhancer (HGFE), an interface-preserving feature enhancement framework for downstream fault-localization models that consume feature matrices or feature vectors. HGFE constructs sample-level multi-relational heterogeneous graphs over methods, statements, tests, regression tests, and mutants, and applies relation-specific message passing to transform spectrum- and mutation-based weak features into structure-aware representations. The enhanced features preserve the original downstream interface, allowing existing ranking models to use them without architectural modification when their input format is feature-based. Experiments on the Defects4J benchmark, covering Lang, Cli, and Math, show consistent improvements in Mean Fault Rank, Mean Reciprocal Rank, Normalized Discounted Cumulative Gain, and Top-k accuracy. Additional analyses indicate that explicit relation modeling, bidirectional propagation, residual connections, and sample-level batch isolation contribute to the observed gains. These results suggest that improving feature quality before downstream ranking is an effective and portable way to strengthen graph-based fault localization systems.

Read PDF

Similar papers

Conference Jul 2026

GVFL: Variable Level Fault Localization Using Graph Representation Learning

Fault localization is a critical phase in software testing and debugging which significantly impacts the efficiency of software fault repair. Existing fault localization research predominantly focuses on the method or statement level, while variable level localization remains less explored. Although variable level tech...

Xiaoli Song, Xiaojie Fan, Ruishi Huang et al. · 0 citations
Review Open access Jul 2026

Graph Neural Networks for Software Vulnerability Mining: A Review

A PRISMA-informed structured topical review of 87 studies is presented and a strategic agenda covering leakage-resistant datasets, uncertainty-aware graph construction, repository-level evaluation, cost-effective Graph–LLM collaboration, and graph-guided autonomous vulnerability repair is developed.

Yuan He, Haikun Lv, Xingrong Li et al. · 0 citations
Aug 2026

Balancing Richness and Reliability: An Explore-Construct-Verify Framework for API Knowledge Graph Construction

This work proposes Explore-Construct-Verify (ECV), a three-stage framework for API KG construction using large language models (LLMs), which preserves LLMs’ ability to discover domain-specific knowledge while enabling efficient post-hoc validation.

Yan-Bang Sun, Qing Huang, Zhen-Chang Xing et al. · 0 citations
Jul 2026

CoFiLoc: A Coarse-to-fine LLM-based framework for method-level bug localization

CoFiLoc first performs structured bug report denoising to extract high-value technical information, and then progressively narrows the candidate space by integrating lightweight dynamic execution evidence, stack-trace-guided structural signals, and dual semantic-lexical ranking, before applying LLM-based reasoning over...

Nham Cao, Nhut Tien Nguyen, Thanh Nguyen · 0 citations
Preprint Jul 2026

OptGraph: Large Language Models Enhanced Evolutionary Optimization Via Graph Retrieval-Augmented Generation

OptGraph is the first optimization agentic workflow that introduces graph retrieval-augmented generation (GraphRAG) and first constructs reusable experience as a typed graph, capturing the relationships among modeling patterns, problem formalization, implementation details, and error corrections.

Xianchao Xiu, Jianhao Li, Huangyue Chen et al. · 1 citation
Open access Jul 2026

LLM-Enhanced Evolutionary Dependency Graphs: A System Approach to Precise Vulnerability Propagation Tracking

The LLM-Enhanced Component Dependency Evolution Graph (CDEG) framework is proposed, a hybrid representation that fuses structural features extracted by Tree-sitter with semantic embeddings derived from a fine-tuned LLM, effectively distinguishing backported patches from code refactoring.

Yuan-Jun Gao, Hong-Zhou Wu, Yu-Jia Luo et al. · 0 citations

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

MIT News · Artificial Intelligence Oct 2, 2026

Documenting the tech worker movement

Writing as a participant and researcher, PhD student JS Tan SM ’22 has co-authored a new book about the rise of tech worker protests and the employer backlash that followed.

MIT News · Artificial Intelligence Oct 2, 2026

Documenting the tech worker movement

Writing as a participant and researcher, PhD student JS Tan SM ’22 has co-authored a new book about the rise of tech worker protests and the employer backlash that followed.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.