Publication:
Intelligent software debugging: A reinforcement learning approach for detecting the shortest crashing scenarios

dc.contributor.authorTÜMER, MUSTAFA BORAHAN
dc.contributor.authorsDurmaz E., TÜMER M. B.
dc.date.accessioned2023-03-30T06:03:06Z
dc.date.accessioned2026-01-11T07:59:07Z
dc.date.available2023-03-30T06:03:06Z
dc.date.issued2022-07-15
dc.description.abstract© 2022 Elsevier LtdThe Quality Assurance (QA) team verifies software for months before its release decisions. Nevertheless, some crucial bugs remain undetected in manual testing. These bugs would make the system unusable on field, thus merchant loses money then manufacturer loses its customers. Thus, automatic software testing methods have become inevitable to catch more bugs. To locate and repair bugs with an emphasis on the crash scenarios, we present in this work a reinforcement learning (RL) approach for finding and simplifying the input sequence(s) leading to a system crash or blocking, which represents the goal state of the RL problem. We aim at obtaining the shortest input sequence for the same bug so that developers would analyze agent\"s actions causing crashes or freeze. We first simplify the given crash scenario using Recursive Delta Debugging (RDD), then we apply RL algorithms to explore a possibly shorter crashing sequence. We approach the exploration of crash scenarios as a RL problem where the agent first attains the goal state of crash/blocking by executing inputs, then shortens the input sequence with the help of the rewarding mechanism. We apply both model-free on-policy and model-based planning-capable RL agents to our problem. Furthermore, we present a novel RL approach, involving Detected Goal Catalyst (DGC), which reduces the time complexity by avoiding grappling with convergence via stopping learning at a small variance and attaining the shortest crash sequence with an algorithm that recursively removes the unrelated actions. Experiments show DGC significantly improves the learning performance of both SARSA and Prioritized Sweeping algorithms on obtaining the shortest path.
dc.identifier.citationDurmaz E., TÜMER M. B., "Intelligent software debugging: A reinforcement learning approach for detecting the shortest crashing scenarios", Expert Systems with Applications, cilt.198, 2022
dc.identifier.doi10.1016/j.eswa.2022.116722
dc.identifier.issn0957-4174
dc.identifier.urihttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=85126581269&origin=inward
dc.identifier.urihttps://hdl.handle.net/11424/288008
dc.identifier.volume198
dc.language.isoeng
dc.relation.ispartofExpert Systems with Applications
dc.rightsinfo:eu-repo/semantics/openAccess
dc.subjectBilgisayar Bilimleri
dc.subjectAlgoritmalar
dc.subjectMühendislik ve Teknoloji
dc.subjectComputer Sciences
dc.subjectalgorithms
dc.subjectEngineering and Technology
dc.subjectMühendislik, Bilişim ve Teknoloji (ENG)
dc.subjectBilgisayar Bilimi
dc.subjectMühendislik
dc.subjectBİLGİSAYAR BİLİMİ, YAPAY ZEKA
dc.subjectEngineering, Computing & Technology (ENG)
dc.subjectCOMPUTER SCIENCE
dc.subjectENGINEERING
dc.subjectCOMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
dc.subjectGeneral Engineering
dc.subjectPhysical Sciences
dc.subjectComputer Science Applications
dc.subjectArtificial Intelligence
dc.subjectReinforcement learning in automated bug
dc.subjectdetection
dc.subjectExploring crashes by SARSA
dc.subjectExploring crashes by prioritized sweeping
dc.subjectDelta debugging
dc.subjectDetected goal catalyst
dc.subjectREPRODUCTION
dc.subjectReinforcement learning in automated bug detection
dc.titleIntelligent software debugging: A reinforcement learning approach for detecting the shortest crashing scenarios
dc.typearticle
dspace.entity.typePublication

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
file.pdf
Size:
2.04 MB
Format:
Adobe Portable Document Format