모델 설명의 디버깅 테스트
Debugging Tests for Model Explanations
Debugging Tests for Model Explanations
@misc{adebayo2020debugging,
title = {Debugging Tests for Model Explanations},
author = {Julius Adebayo and Michael Muelly and Ilaria Liccardi and Been Kim},
year = {2020},
eprint = {2011.05429},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2011.05429}
}
Adebayo, J., Muelly, M., Liccardi, I., & Kim, B. (2020). Debugging Tests for Model Explanations [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.05429
ADEBAYO J, MUELLY M, LICCARDI I, et al. Debugging Tests for Model Explanations[EB/OL]. (2020-11-10)[2026-11-30]. https://arxiv.org/abs/2011.05429.
초록
우리는 사후 모델 설명이 모델 오류 진단, 즉 모델 디버깅에 효과적인지 여부를 조사한다. 모델 예측을 설명하는 데 대한 도전에 대응하여 다양한 설명 방법이 제안되었다. 그럼에도 불구하고 그 효과성에 대한 명확한 증거는 부족하다. 먼저, 우리는 설명 대상인 버그를 발생 원인에 따라 데이터, 모델, 테스트 타임 오염 버그로 분류한다. 여러 설명 방법에 대해, 우리는 가짜 상관관계 아티팩트 (데이터 오염) 를 탐지하고, 라벨링 오류가 있는 학습 예제를 진단하며, (부분적으로) 초기화된 모델과 학습된 모델을 구별할 수 있는지, 그리고 분포 밖 입력을 탐지할 수 있는 능력을 평가한다. 우리는 테스트된 방법들이 가짜 배경 버그를 진단할 수 있지만, 라벨링 오류가 있는 학습 예제를 결론적으로 식별할 수 없음을 발견한다. 또한, 깊은 신경망의 상위 레이어 파라미터에 대해 불변인 백프롭게이션 알고리즘을 수정하는 방법의 클래스는 모델 오염 진단에 비효율적임을 발견한다. 우리는 인간 피험자 연구를 통해 분석을 보완하였으며, 피험자들이 귀인 (attributions) 을 사용하여 결함 있는 모델을 식별하지 못하며, 대신 주로 모델 예측에 의존함을 발견한다. 종합적으로, 우리의 결과는 설명을 모델 디버깅 도구로 활용하려는 실무자와 연구자들에게 지침을 제공한다.
We investigate whether post-hoc model explanations are effective for diagnosing model errors-model debugging. In response to the challenge of explaining a model's prediction, a vast array of explanation methods have been proposed. Despite increasing use, it is unclear if they are effective. To start, we categorize bugs, based on their source, into: data, model, and test-time contamination bugs. For several explanation methods, we assess their ability to: detect spurious correlation artifacts (data contamination), diagnose mislabeled training examples (data contamination), differentiate between a (partially) re-initialized model and a trained one (model contamination), and detect out-of-distribution inputs (test-time contamination). We find that the methods tested are able to diagnose a spurious background bug, but not conclusively identify mislabeled training examples. In addition, a class of methods, that modify the back-propagation algorithm are invariant to the higher layer parameters of a deep network; hence, ineffective for diagnosing model contamination. We complement our analysis with a human subject study, and find that subjects fail to identify defective models using attributions, but instead rely, primarily, on model predictions. Taken together, our results provide guidance for practitioners and researchers turning to explanations as tools for model debugging.