arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.08947cs.SE
收藏

一种有效的数据驱动深度学习故障定位方法

An Effective Data-Driven Approach for Localizing Deep Learning Faults

Mohammad Wardat, Breno Dantas Cruz, Wei Le, Hridesh Rajan

AI总结:

针对DNN训练后故障难追溯、缺陷类型多样的问题,提出利用训练特征学习故障模式并自动关联症状与根因的数据驱动定位方法,在真实与变异模型上取得优于或可比现有方法的效果。

摘要:

深度学习(DL)应用正被用于解决关键领域(例如自动驾驶或医疗诊断系统)中的问题。因此,开发者需要调试其系统,以确保交付预期行为。然而,调试深度神经网络(DNN)既困难又昂贵。当训练后报告失效症状或准确率不达标时,我们会失去可追溯性,无法确定DNN程序的哪个部分应对失效负责。更糟糕的是,深度学习程序有时会存在不同类型的缺陷。为应对调试DNN模型的挑战,我们提出了一种新颖的数据驱动方法,该方法利用模型特征来学习问题模式。我们的方法提取这些特征,这些特征表示DNN训练期间故障的语义信息。我们的技术将这些特征用作训练数据集,以学习并推断DNN故障模式。此外,我们的方法会自动将缺陷症状与其根本原因关联起来,无需人工构建映射,从而使开发者能够采取必要步骤修复故障。我们使用真实模型和变异模型评估了该方法。结果表明,我们的技术能够有效检测和诊断不同的缺陷类型。最后,对于变异模型,我们的技术在准确率、精确率和召回率方面优于先前工作;对于真实模型,我们的方法在准确率和性能方面也取得了与当前最先进方法相当的结果。

英文摘要:

Deep Learning (DL) applications are being used to solve problems in critical domains (e.g., autonomous driving or medical diagnosis systems). Thus, developers need to debug their systems to ensure that the expected behavior is delivered. However, it is hard and expensive to debug DNNs. When the failure symptoms or unsatisfied accuracies are reported after training, we lose the traceability as to which part of the DNN program is responsible for the failure. Even worse, sometimes, a deep learning program has different types of bugs. To address the challenges of debugging DNN models, we propose a novel data-driven approach that leverages model features to learn problem patterns. Our approach extracts these features, which represent semantic information of faults during DNN training. Our technique uses these features as a training dataset to learn and infer DNN fault patterns. Also, our methodology automatically links bug symptoms to their root causes, without the need for manually crafted mappings, so that developers can take the necessary steps to fix faults. We evaluate our approach using real-world and mutated models. Our results demonstrate that our technique can effectively detect and diagnose different bug types. Finally, our technique achieved better accuracy, precision, and recall than prior work for mutated models. Also, our approach achieved comparable results for real-world models in terms of accuracy and performance to the state-of-the-art.

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

↑