Model Doctor: A Simple Gradient Aggregation Strategy for Diagnosing and Treating CNN Classifiers

Authors

  • Zunlei Feng Zhejiang University
  • Jiacong Hu Zhejiang University
  • Sai Wu Zhejiang University
  • XiaoTian Yu Zhejiang University
  • Jie Song Zhejiang University
  • Mingli Song Zhejiang University

DOI:

https://doi.org/10.1609/aaai.v36i1.19941

Keywords:

Computer Vision (CV)

Abstract

Recently, Convolutional Neural Network (CNN) has achieved excellent performance in the classification task. It is widely known that CNN is deemed as a 'blackbox', 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%.

Downloads

Published

2022-06-28

How to Cite

Feng, Z., Hu, J., Wu, S., Yu, X., Song, J., & Song, M. (2022). Model Doctor: A Simple Gradient Aggregation Strategy for Diagnosing and Treating CNN Classifiers. Proceedings of the AAAI Conference on Artificial Intelligence, 36(1), 616-624. https://doi.org/10.1609/aaai.v36i1.19941

Issue

Section

AAAI Technical Track on Computer Vision I