Academic Journal

Applying Cost-Sensitive Learning to Mitigate the Effect of Class Imbalance for Deep Learning-Based Fault Localization.

Λεπτομέρειες βιβλιογραφικής εγγραφής
Τίτλος: Applying Cost-Sensitive Learning to Mitigate the Effect of Class Imbalance for Deep Learning-Based Fault Localization.
Συγγραφείς: Yan, Yue1,2 (AUTHOR) yanyue@sdust.edu.cn, Jiang, Shujuan3 (AUTHOR) shjjiang@cumt.edu.cn, Zhang, Yanmei3 (AUTHOR), Zhang, Cheng4 (AUTHOR), Sun, Yiru1 (AUTHOR)
Πηγή: International Journal of Software Engineering & Knowledge Engineering. Sep2026, p1-34. 34p. 2 Illustrations.
Θεματικοί όροι: Computer software testing, Fault diagnosis, Machine learning, Deep learning
Περίληψη: Automated software fault localization has become a research focus with the growing software scale. Deep learning-based fault localization (DLFL) has been widely studied due to its excellent performance. Most existing DLFL methods use the execution traces of the test cases as features. However, the number of passing test cases is far more than that of failed test cases in the practical test suite. The severe class imbalance problem is ignored in existing DLFL methods. To alleviate the impact of the class imbalance on DLFL, we propose applying cost-sensitive learning to set different weights for each sample to optimize the performance of fault localization. We reduce the number of passing test cases and compute the weight for each sample. The sample weight is combined with a loss function to optimize the accuracy of the DLFL method. To evaluate our approach, we conduct within-project and cross-project fault localization experiments on the Defects4J benchmark. Experimental results show our approach outperforms the traditional DLFL and existing data augmentation methods in fault localization (e.g. localizing 133 faults within Top-5). The experimental results show that applying cost-sensitive learning can effectively alleviate the class imbalance problem in DLFL. [ABSTRACT FROM AUTHOR]
Copyright of International Journal of Software Engineering & Knowledge Engineering is the property of World Scientific Publishing Company and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Βάση Δεδομένων: Business Source Index
FullText Text:
  Availability: 0
Header DbId: bsx
DbLabel: Business Source Index
An: 197303532
RelevancyScore: 1435
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 1435
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Applying Cost-Sensitive Learning to Mitigate the Effect of Class Imbalance for Deep Learning-Based Fault Localization.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Yan%2C+Yue%22">Yan, Yue</searchLink><relatesTo>1,2</relatesTo> (AUTHOR)<i> yanyue@sdust.edu.cn</i><br /><searchLink fieldCode="AR" term="%22Jiang%2C+Shujuan%22">Jiang, Shujuan</searchLink><relatesTo>3</relatesTo> (AUTHOR)<i> shjjiang@cumt.edu.cn</i><br /><searchLink fieldCode="AR" term="%22Zhang%2C+Yanmei%22">Zhang, Yanmei</searchLink><relatesTo>3</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Zhang%2C+Cheng%22">Zhang, Cheng</searchLink><relatesTo>4</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Sun%2C+Yiru%22">Sun, Yiru</searchLink><relatesTo>1</relatesTo> (AUTHOR)
– Name: TitleSource
  Label: Source
  Group: Src
  Data: <searchLink fieldCode="JN" term="%22International+Journal+of+Software+Engineering+%26+Knowledge+Engineering%22">International Journal of Software Engineering & Knowledge Engineering</searchLink>. Sep2026, p1-34. 34p. 2 Illustrations.
– Name: Subject
  Label: Subject Terms
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Computer+software+testing%22">Computer software testing</searchLink><br /><searchLink fieldCode="DE" term="%22Fault+diagnosis%22">Fault diagnosis</searchLink><br /><searchLink fieldCode="DE" term="%22Machine+learning%22">Machine learning</searchLink><br /><searchLink fieldCode="DE" term="%22Deep+learning%22">Deep learning</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: Automated software fault localization has become a research focus with the growing software scale. Deep learning-based fault localization (DLFL) has been widely studied due to its excellent performance. Most existing DLFL methods use the execution traces of the test cases as features. However, the number of passing test cases is far more than that of failed test cases in the practical test suite. The severe class imbalance problem is ignored in existing DLFL methods. To alleviate the impact of the class imbalance on DLFL, we propose applying cost-sensitive learning to set different weights for each sample to optimize the performance of fault localization. We reduce the number of passing test cases and compute the weight for each sample. The sample weight is combined with a loss function to optimize the accuracy of the DLFL method. To evaluate our approach, we conduct within-project and cross-project fault localization experiments on the Defects4J benchmark. Experimental results show our approach outperforms the traditional DLFL and existing data augmentation methods in fault localization (e.g. localizing 133 faults within Top-5). The experimental results show that applying cost-sensitive learning can effectively alleviate the class imbalance problem in DLFL. [ABSTRACT FROM AUTHOR]
– Name: AbstractSuppliedCopyright
  Label:
  Group: Ab
  Data: <i>Copyright of International Journal of Software Engineering & Knowledge Engineering is the property of World Scientific Publishing Company and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.)
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=bsx&AN=197303532
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.1142/s0218194026500737
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 34
        StartPage: 1
    Subjects:
      – SubjectFull: Computer software testing
        Type: general
      – SubjectFull: Fault diagnosis
        Type: general
      – SubjectFull: Machine learning
        Type: general
      – SubjectFull: Deep learning
        Type: general
    Titles:
      – TitleFull: Applying Cost-Sensitive Learning to Mitigate the Effect of Class Imbalance for Deep Learning-Based Fault Localization.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Yan, Yue
      – PersonEntity:
          Name:
            NameFull: Jiang, Shujuan
      – PersonEntity:
          Name:
            NameFull: Zhang, Yanmei
      – PersonEntity:
          Name:
            NameFull: Zhang, Cheng
      – PersonEntity:
          Name:
            NameFull: Sun, Yiru
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 26
              M: 09
              Text: Sep2026
              Type: published
              Y: 2026
          Identifiers:
            – Type: issn-print
              Value: 02181940
          Titles:
            – TitleFull: International Journal of Software Engineering & Knowledge Engineering
              Type: main
ResultId 1