Model Doctor: A Simple Gradient Aggregation Strategy for Diagnosing and Treating CNN Classifiers
Zunlei Feng, Jiacong Hu, Sai Wu, Xiaotian Yu, Jie Song, Mingli Song
Abstract
Recently, Convolutional Neural Network (CNN) has achieved excellent performance in the classification task. It is widely known that CNN is deemed as a 'black-box', which is hard for understanding the prediction mechanism and debugging the wrong prediction. Some model debugging and explanation works are developed for solving the above drawbacks. However, those methods focus on explanation and diagnosing possible causes for model prediction, based on which the researchers handle the following optimization of models manually. In this paper, we propose the first completely automatic model diagnosing and treating tool, termed as Model Doctor. Based on two discoveries that 1) each category is only correlated with sparse and specific convolution kernels, and 2) adversarial samples are isolated while normal samples are successive in the feature space, a simple aggregate gradient constraint is devised for effectively diagnosing and optimizing CNN classifiers. The aggregate gradient strategy is a versatile module for mainstream CNN classifiers. Extensive experiments demonstrate that the proposed Model Doctor applies to all existing CNN classifiers, and improves the accuracy of 16 mainstream CNN classifiers by 1% ∼ 5%.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 7879d75f-d9c8-4c3f-b958-577bb9a35d08Cited by top-tier papers8
- Vision Mamba MenderJiacong Hu, Anda Cao, Zunlei Feng, Shengxuming Zhang et al.NeurIPS 2024 · 8 citations
- Transformer Doctor: Diagnosing and Treating Vision TransformersJiacong Hu, Hao Chen, Kejia Chen, Yang Gao et al.NeurIPS 2024 · 5 citations
- ViT-Calibrator: Decision Stream Calibration for Vision TransformerLin Chen, Zhijie Jia, Lechao Cheng, Yang Gao et al.AAAI 2024 · 3 citations
- Schema Inference for Interpretable Image ClassificationHaofei Zhang, Mengqi Xue, Xiaokang Liu, Kaixuan Chen et al.ICLR 2023 · 1 citation
- Model LEGO: Creating Models Like Disassembling and Assembling Building BlocksJiacong Hu, Jing Gao, Jingwen Ye, Yang Gao et al.NeurIPS 2024 · 1 citation
Builds on2
Related papers
- DOCTOR: A Simple Method for Detecting Misclassification ErrorsFederica Granese, Marco Romanelli, Daniele Gorla, Catuscia Palamidessi et al.NeurIPS 2021 · 65 citations
- Towards Trustable Skin Cancer Diagnosis via Rewriting Model's DecisionSiyuan Yan, Zhen Yu, Xuelin Zhang, Dwarikanath Mahapatra et al.CVPR 2023
- Patching Weak Convolutional Neural Network Models through Modularization and CompositionBinhang Qi, Hailong Sun, Xiang Gao, Hongyu ZhangASE 2022 · 13 citations
- AUTOTRAINER: An Automatic DNN Training Problem Detection and Repair SystemXiaoyu Zhang, Juan Zhai, Shiqing Ma, Chao ShenICSE 2021 · 62 citations
- Agreement-Discrepancy-Selection: Active Learning with Progressive Distribution AlignmentMengying Fu, Tianning Yuan, Fang Wan, Songcen Xu et al.AAAI 2021 · 13 citations
