ArchRepair:面向块级架构的深度神经网络修复
ArchRepair: Block-Level Architecture-Oriented Repairing for Deep Neural Networks
摘要:
在过去的几年中,深度神经网络(DNN)取得了巨大的成功,并在许多应用领域中不断得到应用。然而,在工业任务的实际部署过程中,DNN被发现由于各种原因而容易出错,例如过拟合,在实际使用过程中对现实世界的破坏缺乏鲁棒性。为了解决这些挑战,最近已经进行了许多尝试,通过更新权重(即,网络参数),通过在神经水平上的再训练、微调或直接权重固定。在这项工作中,作为第一次尝试,我们开始通过在更高(即,块)水平。我们首先进行了实证研究,以调查整个网络级和层级修复的局限性,这促使我们探索一个新的修复方向DNN修复在块级。为此,我们首先提出了用于脆弱块定位的对抗感知频谱分析,该分析在向前和向后过程中考虑块中神经元的状态和权重的梯度,这使得即使在几个示例下也能够更准确地进行候选块定位以进行修复。然后,我们进一步提出了面向架构的基于搜索的修复,放松目标块到一个连续的修复搜索空间在更高的深特征水平。通过联合优化该空间中的架构和权重,我们可以识别出更好的块架构。我们实现我们提出的修复技术作为一个工具,名为ArchRepair,并进行了广泛的实验,以验证所提出的方法。结果表明,我们的方法不仅可以修复,而且还提高了准确性和鲁棒性,优于最先进的DNN修复技术。
英文摘要:
Over the past few years, deep neural networks (DNNs) have achieved tremendous success and have been continuously applied in many application domains. However, during the practical deployment in the industrial tasks, DNNs are found to be erroneous-prone due to various reasons such as overfitting, lacking robustness to real-world corruptions during practical usage. To address these challenges, many recent attempts have been made to repair DNNs for version updates under practical operational contexts by updating weights (i.e., network parameters) through retraining, fine-tuning, or direct weight fixing at a neural level. In this work, as the first attempt, we initiate to repair DNNs by jointly optimizing the architecture and weights at a higher (i.e., block) level. We first perform empirical studies to investigate the limitation of whole network-level and layer-level repairing, which motivates us to explore a novel repairing direction for DNN repair at the block level. To this end, we first propose adversarial-aware spectrum analysis for vulnerable block localization that considers the neurons' status and weights' gradients in blocks during the forward and backward processes, which enables more accurate candidate block localization for repairing even under a few examples. Then, we further propose the architecture-oriented search-based repairing that relaxes the targeted block to a continuous repairing search space at higher deep feature levels. By jointly optimizing the architecture and weights in that space, we can identify a much better block architecture. We implement our proposed repairing techniques as a tool, named ArchRepair, and conduct extensive experiments to validate the proposed method. The results show that our method can not only repair but also enhance accuracy & robustness, outperforming the state-of-the-art DNN repair techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。