PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 12, 2026Journal of Software Evolution and Process0 citations

Graph Attention‐Based Contextual Semantic Correlation Analysis for Software Fault Localization

View Full Paper
HHHongdou HeXMXiaoming MaHXHao Xu

Key Points

  • To enhance fault localization by leveraging contextual semantics and correlations among program entities.
  • Proposed Contextual Semantic Coupling Correlation Analysis (CSCFL) method
  • Utilized a test coverage graph representation
  • Employed a pre-trained self-attention embedding model for entity encoding
  • Implemented graph attention networks to learn coupling correlations
  • Conducted experiments to compare with baseline and LLM-based methods.
  • Improved fault localization effectiveness as shown by Top-1, Top-3, and Top-5 metrics
  • Outperformed baseline methods significantly
  • Surpassed the accuracy of advanced LLM-based fault localization techniques.

Abstract

ABSTRACT Although the advanced spectrum‐based fault localization techniques introduce graph models to measure the faulty suspiciousness of entities, they still lack effective leverage of the contextual semantics of program units, making it difficult to reveal the complex causal relationships of bugs. Therefore, this paper proposes the C ontextual S emantic Coupling C orrelation Analysis for the Software F ault L ocalization (CSCFL), employing semantic embedding and coupling correlation of contextual associations based on contextual embedding and graph attention mechanism. Based on the test coverage graph representation, the pre‐trained self‐attention embedding model encodes the entity embeddings considering context associations, fully mining the contextual information among program entities to obtain contextual feature representation. CSCFL introduces the graph attention network to learn the context semantic coupling correlation between entities. By analyzing the causal relationships and semantic collaborations that lead to faults, the context semantics analysis module automatically weights and aggregates the influence of contextual entities to generate more accurate fault feature representations, thereby improving localization effectiveness. The experimental results show that, with respect to Top‐1, Top‐3, and Top‐5 metrics, the proposed method outperforms the baseline methods by , and , respectively, and outperforms cutting‐edge LLM‐based methods by , and .

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

He et al. (2026) studied this question.

synapsesocial.com/papers/69db37774fe01fead37c56f0https://doi.org/10.1002/smr.70103
Ask AI
Helpful
Bookmark
Share
View Full Paper