paper-with-me

Papers

Toward Debugging Deep Reinforcement Learning Programs with RLExplorer

2024-10-06 · Rached Bouchoucha, Ahmed Haj Yahmed, Darshan Patil, Janarthanan Rajendran, Amin Nikanjam, Sarath Chandar, Foutse khomh

Deep reinforcement learning (DRL) has shown success in diverse domains such as robotics, computer games, and recommendation systems. However, like any other software system, DRL-based software systems are susceptible to faults that pose unique challenges for debugging and diagnosing. These faults often result in unexpected behavior without explicit failures and error messages, making debugging difficult and time-consuming. Therefore, automating the monitoring and diagnosis of DRL systems is crucial to alleviate the burden on developers. In this paper, we propose RLExplorer, the first fault diagnosis approach for DRL-based software systems. RLExplorer automatically monitors training traces and runs diagnosis routines based on properties of the DRL learning dynamics to detect the occurrence of DRL-specific faults. It then logs the results of these diagnoses as warnings that cover theoretical concepts, recommended practices, and potential solutions to the identified faults. We conducted two sets of evaluations to assess RLExplorer. Our first evaluation of faulty DRL samples from Stack Overflow revealed that our approach can effectively diagnose real faults in 83% of the cases. Our second evaluation of RLExplorer with 15 DRL experts/developers showed that (1) RLExplorer could identify 3.6 times more defects than manual debugging and (2) RLExplorer is easily integrated into DRL applications.

📄 PDF Abstract BibTeX arXiv:2410.04322

Code (0)

등록된 구현이 없습니다.

Tasks

Deep Reinforcement LearningFault DiagnosisRecommendation Systemsreinforcement-learningReinforcement Learning

Similar Papers 제목 키워드 기반

An integrated Graphical User Interface for Debugging Answer Set Programs

2016-11-15 · Philip Gasteiger, Carmine Dodaro, Benjamin Musitsch, Kristian Reale 외

Answer Set Programming (ASP) is an expressive knowledge representation and reasoning framework. Due to its rather simple syntax paired with high-performance solvers, ASP is interesting for industrial applications. Howeve…

Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-step

2024-02-25 · Li Zhong, Zilong Wang, Jingbo Shang

Large language models (LLMs) are leading significant progress in code generation. Beyond one-pass code generation, recent works further integrate unit tests and program verifiers into LLMs to iteratively refine the gener…

Code GenerationHumanEvalLanguage ModelingLanguage Modelling+2

Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?

2026-04-19 · Wang Bill Zhu, Miaosen Chai, Shangshang Wang, Yejia Liu 외 arxiv

Unlike code completion, debugging requires localizing faults and applying targeted edits. We observe that frontier LLMs often regenerate correct but over-edited solutions during debugging. To evaluate how far LLMs are fr…

Code Completion

Stepwise Debugging of Answer-Set Programs

2017-05-18 · Johannes Oetsch, Jörg Pührer, Hans Tompits

We introduce a stepping methodology for answer-set programming (ASP) that allows for debugging answer-set programs and is based on the stepwise application of rules. Similar to debugging in imperative languages, where th…

Using Graph Neural Networks for Program Termination

2022-07-28 · Yoav Alon, Cristina David

Termination analyses investigate the termination behavior of programs, intending to detect nontermination, which is known to cause a variety of program bugs (e.g. hanging programs, denial-of-service vulnerabilities). Bey…

Graph AttentionGraph Neural NetworkSegmentationSemantic Segmentation