Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Mitigating the Effect of Class Imbalance in Fault Localization Using Context-aware Generative Adversarial Network (2303.06644v1)

Published 12 Mar 2023 in cs.SE

Abstract: Fault localization (FL) analyzes the execution information of a test suite to pinpoint the root cause of a failure. The class imbalance of a test suite, i.e., the imbalanced class proportion between passing test cases (i.e., majority class) and failing ones (i.e., minority class), adversely affects FL effectiveness. To mitigate the effect of class imbalance in FL, we propose CGAN4FL: a data augmentation approach using Context-aware Generative Adversarial Network for Fault Localization. Specifically, CGAN4FL uses program dependencies to construct a failure-inducing context showing how a failure is caused. Then, CGAN4FL leverages a generative adversarial network to analyze the failure-inducing context and synthesize the minority class of test cases (i.e., failing test cases). Finally, CGAN4FL augments the synthesized data into original test cases to acquire a class-balanced dataset for FL. Our experiments show that CGAN4FL significantly improves FL effectiveness, e.g., promoting MLP-FL by 200.00%, 25.49%, and 17.81% under the Top-1, Top-5, and Top-10 respectively.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Yan Lei (8 papers)
  2. Tiantian Wen (1 paper)
  3. Huan Xie (4 papers)
  4. Lingfeng Fu (1 paper)
  5. Chunyan Liu (6 papers)
  6. Lei Xu (172 papers)
  7. Hongxia Sun (2 papers)
Citations (4)

Summary

We haven't generated a summary for this paper yet.