paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Isolation-Based Debugging for Neural Networks

基于隔离的神经网络调试
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 3/10 · 该论文研究神经网络缺陷的隔离与修复,属于机器学习系统的测试/调试与修复,但与用户核心关注的静态分析、Agentic/LLM 程序分析、浮点程序分析、贝叶斯程序分析均无直接交集;仅在“机器学习与程序语言”及测试调试修复标签上存在外围关联。引用 3 inbox
Jialuo Chen, Jingyi Wang, Youcheng Sun, Peng Cheng, Jiming Chen
crossref: 2026-09-12

AI 速览

一句话:提出 IDNN 框架,通过隔离并冻结最小关键神经元集合来定位并消除神经网络缺陷。

神经网络常带有对抗样本、后门与歧视等缺陷,测试虽能暴露问题,却难以揭示网络内部的根因。本文受传统软件调试中故障隔离思想的启发,提出统一的基于神经元隔离的调试框架 IDNN。给定一个表现出不良性质(如歧视、后门)的缺陷网络,IDNN 的目标是识别出对不良性质最负责且规模最小的神经元集合;其关键之处在于,只要“冻结”这些被隔离的神经元,模型的不良性质即可被消除,从而比现有文献中代价高昂的重新训练或权重优化实现更高效的模型修复。作者在五个基准数据集、多种网络结构上,针对后门、不公平与弱类三类调试任务进行广泛实验。结果表明,作为轻量级框架,IDNN 能识别并隔离极少量责任神经元,在所有任务上均优于当前最优基线,并展现出更优的泛化性能。

问题
神经网络的测试虽能暴露后门、歧视等缺陷,但无法解释其内部根因,也难以低成本地修复模型。
方法
受传统软件故障隔离启发,提出统一的神经元隔离框架 IDNN,定位对不良性质最负责的最小关键神经元集合,并通过冻结这些神经元来消除缺陷、实现高效修复。
评估
在五个基准数据集和多种网络结构上,针对后门、不公平与弱类三个调试任务,与最先进基线进行对比实验,考察所隔离神经元的规模、修复效果与泛化性能。
原文摘要(Abstract)

Neural networks (NNs) are known to have diverse defects such as adversarial examples, backdoor and discrimination, raising great concerns about their reliability. While NN testing can effectively expose these defects to a significant degree, understanding their root causes within the network requires further examination. In this work, inspired by the idea of debugging in traditional software for failure isolation, we propose a novel unified neuron-isolation-based framework for debugging neural networks, shortly IDNN. Given a buggy NN that exhibits certain undesired properties (e.g., discrimination), the goal of IDNN is to identify the most critical and minimal set of neurons that are responsible for exhibiting these properties. Notably, such isolation is conducted with the objective that by simply ‘freezing’ these neurons, the model’s undesired properties can be eliminated, resulting in a much more efficient model repair compared to computationally expensive retraining or weight optimization as in existing literature. We conduct extensive experiments to evaluate IDNN across a diverse set of NN structures on five benchmark datasets, for solving three debugging tasks, including backdoor, unfairness, and weak class. As a lightweight framework, IDNN outperforms state-of-the-art baselines by successfully identifying and isolating a very small set of responsible neurons, demonstrating superior generalization performance across all tasks.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8607,
  title = {Isolation-Based Debugging for Neural Networks},
  author = {Jialuo Chen and Jingyi Wang and Youcheng Sun and Peng Cheng and Jiming Chen},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3652132}
}