Skip to content
Conference

GVFL: Variable Level Fault Localization Using Graph Representation Learning

Jul 2026 · Annual International Computer Software and Applications Conference · pp. 3206-3215 · 0 citations · 30 references
Computer Science

Abstract

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 techniques offer finer-grained clues closer to root causes, current approaches typically rely on isolated statistical analysis. They fail to capture the complex structural dependencies among program entities, which limits their effectiveness in tracing error propagation. To address this, we propose GVFL, a variable level fault localization method that utilizes graph representation learning to capture complex structural dependencies. It first employs decision trees to select critical variables strongly associated with failures. Then, it constructs a variable relationship graph to capture the dependencies among these variables. Finally, it utilizes graph representation learning to compute suspiciousness scores for fault localization. To evaluate the performance of GVFL, we conduct an empirical study on 835 real faults from the widely used Defects4J v2.0.0 dataset. The results show that GVFL locates a total of 210, 566, and 844 faulty variable positions on Top-1, Top-5, and Top-10 metrics, respectively. It outperforms state-of-the-art FL techniques, including IsoVar, SmartFL, and VarDT. We further analyze the impact of different graph neural network models and variable attributes on GVFL performance. Experimental results indicate that GGAT achieves the best performance for GVFL. Furthermore, all three variable attributes significantly influence the effectiveness of GVFL, with variable value features being the most important.

View source

Similar papers

Conference Jul 2026

LogHound: Coverage-Aware Path Reconstruction for Log-Based Fault Localization

In large-scale systems, fault localization remains expensive because bug reports are often ambiguous and incomplete. In practice, developers rely heavily on runtime logs and coverage data as critical clues for reasoning about how faults propagate through systems. However, these rich diagnostic signals are rarely integrated systematically into automated localization frameworks. To address this gap, we propose LogHound, a practical debugging assistant that combines call-graph-based execution path reconstruction with static coverage estimates to rank suspicious program entities. We evaluate LogHound across 5 representative distributed systems, comparing it against recent baselines including COCA, ReAct, and RCACopilot. The results show that LogHound consistently outperforms prior approaches, particularly in Top-3 and Top-5 accuracy. An ablation study further reveals that execution path reconstruction is essential for recovering causal chains of failures, while coverage scores provide complementary evidence that sharpens the ranking. These findings validate our design choices and highlight the importance of combining multiple forms of diagnostic clues. By reducing manual investigation costs and accelerating debugging cycles, LogHound contributes to enhancing the reliability of long-lived, evolving software systems.

Zheyuan Lin, Yang Feng, Jian-Jun Chen 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
#software testing Open access Aug 2026

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

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.

Wei Zheng, Ang Xu, Xin Fan et al. · 0 citations
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
Open access Aug 2026

Bug Localization for RTL designs Based on Multi-Features Deep Learning

Hardware verification of the register transfer level (RTL) designs is a critical step in the development of complex digital circuits, ensuring their functional correctness, performance, and reliability. Within this crucial process, bug localization is an essential component for precisely identifying the root causes of design errors. Dynamic bug localization (DBL) stands out as an efficient and automatic approach to locate bug source code by calculating statement suspiciousness based on execution traces. However, DBL methods rely solely on coverage information and simplistic statistical formulas to compute suspiciousness, which has been criticized for their limited precision and inadequate reduction of debugging effort. In this paper, we propose MulFetFL: a multi-features deep learning based bug localization for RTL designs. MulFetFL begins by extracting three multimodal features: abstract syntax tree (AST) features, signal features, and timing features from designs. It then employs Graph Attention Networks (GAT) to enhance node representations. A cross-modal attention mechanism is subsequently applied to fuse these complementary features from different modalities. Finally, the fused features are passed through a multi-layer perceptron (MLP) to compute the suspiciousness score for each statement. Experimental results show that MulFetFL effectively locates 293, 295 and 298 bugs within Top-1/Top-3/Top-5 ranks, significantly outperforming state-of-the-art bug localization methods across a range of benchmark designs.

Menglin Yang, Jian Hu · 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 a compact set of fault-relevant methods.

Nham Cao, Nhut Tien Nguyen, Thanh Nguyen · 0 citations

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