Siirry päänavigointiin Siirry hakuun Siirry pääsisältöön

A Vision for Debiasing Confirmation Bias in Software Testing via LLM

  • Iflaah Salman
  • , Muhammad Waseem
  • , Vladimir Mandić
  • , Rasanjana Dhanushkha De Alwis

Tutkimustuotos: KonferenssiartikkeliTieteellinenvertaisarvioitu

Abstrakti

Background: Large language models (LLM) suffer from various forms of biases due to the biased datasets used to train the models. At the same time, human cognitive biases have an equal propensity to express themselves when using LLMs for software engineering tasks. Software testing is a critical phase of the software development life cycle. Confirmation bias is reported to have deteriorated software testing by designing more specification-consistent test cases compared to specificationinconsistent test cases. However, there is a lack of debiasing (mitigation) strategies in this regard. Aims: In this paper, first, we investigate whether the LLM model suffers from confirmation bias while performing software testing tasks. Second, we propose a vision of debasing confirmation bias in software testing via LLM. Method: We conducted an empirical study to detect confirmation bias by an LLM (ChatGPT4.0) in the design of functional test cases. Based on empirical findings, we used the analytical paradigm to design a multi-agent system. Results: We present a vision for debiasing confirmation bias in functional software testing by leveraging LLMs via a multi-agent approach. Conclusions: The proposed vision may improve the performance of LLMs in terms of reduced confirmation bias and serve as a debiasing technique for functional software testing.
AlkuperäiskieliEnglanti
Otsikko2025 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, ESEM 2025
KustantajaIEEE
Sivut344-350
ISBN (elektroninen)979-8-3315-9147-2
DOI - pysyväislinkit
TilaJulkaistu - 2025
OKM-julkaisutyyppiA4 Artikkeli konferenssijulkaisussa
TapahtumaInternational symposium on empirical software engineering and measurement - Honolulu, Yhdysvallat
Kesto: 2 lokak. 20253 lokak. 2025

Conference

ConferenceInternational symposium on empirical software engineering and measurement
Maa/AlueYhdysvallat
KaupunkiHonolulu
Ajanjakso2/10/253/10/25

Julkaisufoorumi-taso

  • Jufo-taso 2

Sormenjälki

Sukella tutkimusaiheisiin 'A Vision for Debiasing Confirmation Bias in Software Testing via LLM'. Ne muodostavat yhdessä ainutlaatuisen sormenjäljen.

Siteeraa tätä