arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.03396cs.SE
收藏

面向深度学习系统的故障定位与修复:基于大语言模型的实证研究

Fault Localisation and Repair for DL Systems: An Empirical Study with LLMs

Jinhan Kim, Nargiz Humbatova, Gunel Jahangirova, Shin Yoo, Paolo Tonella

AI总结:

本文实证评估了现有深度学习故障定位与修复技术,并提出基于大语言模型的新方法,其中GPT-4在定位和修复任务上分别比次优工具提升44%和82%,验证了LLMs在该领域的潜力。

摘要:

针对深度学习(DL)模型中的故障,已有大量故障定位(FL)和修复技术被提出。然而,由于这些技术依赖预定义规则,其在实际应用中的有效性仍不确定。本文对当前最先进的FL和修复技术进行了全面评估,考察其优势与局限。此外,我们提出了一种利用大语言模型(LLMs)能力来定位和修复DL故障的新方法。我们在一个精心设计的基准上开展的评估揭示了当前FL和修复技术的优势与不足。我们强调提高准确性的重要性,以及采用多个真实补丁(ground truth patches)的更严格评估方法的必要性。值得注意的是,LLMs在FL和修复任务中均表现出显著性能。例如,与排名第二的工具相比,GPT-4模型在FL和修复任务上分别实现了44%和82%的性能提升,展示了LLMs在该领域的潜力。本研究阐明了FL和修复技术的现状,并表明LLMs可能是未来进展的一个有前景的方向。

英文摘要:

Numerous Fault Localisation (FL) and repair techniques have been proposed to address faults in Deep Learning (DL) models. However, their effectiveness in practical applications remains uncertain due to the reliance on pre-defined rules. This paper presents a comprehensive evaluation of state-of-the-art FL and repair techniques, examining their advantages and limitations. Moreover, we introduce a novel approach that harnesses the power of Large Language Models (LLMs) in localising and repairing DL faults. Our evaluation, conducted on a carefully designed benchmark, reveals the strengths and weaknesses of current FL and repair techniques. We emphasise the importance of enhanced accuracy and the need for more rigorous assessment methods that employ multiple ground truth patches. Notably, LLMs exhibit remarkable performance in both FL and repair tasks. For instance, the GPT-4 model achieves 44% and 82% improvements in FL and repair tasks respectively, compared to the second-best tool, demonstrating the potential of LLMs in this domain. Our study sheds light on the current state of FL and repair techniques and suggests that LLMs could be a promising avenue for future advancements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑