English

Toward a Unified Framework for Debugging Concept-based Models

Machine Learning 2022-02-18 v2 Software Engineering

Abstract

In this paper, we tackle interactive debugging of "gray-box" concept-based models (CBMs). These models learn task-relevant concepts appearing in the inputs and then compute a prediction by aggregating the concept activations. Our work stems from the observation that in CBMs both the concepts and the aggregation function can be affected by different kinds of bugs, and that fixing these bugs requires different kinds of corrective supervision. To this end, we introduce a simple schema for human supervisors to identify and prioritize bugs in both components, and discuss solution strategies and open problems. We also introduce a novel loss function for debugging the aggregation step that generalizes existing strategies for aligning black-box models to CBMs by making them robust to how the concepts change during training.

Keywords

Cite

@article{arxiv.2109.11160,
  title  = {Toward a Unified Framework for Debugging Concept-based Models},
  author = {Andrea Bontempelli and Fausto Giunchiglia and Andrea Passerini and Stefano Teso},
  journal= {arXiv preprint arXiv:2109.11160},
  year   = {2022}
}

Comments

11 pages, 1 figure. Accepted at the AAAI-22 Workshop on Interactive Machine Learning

R2 v1 2026-06-24T06:14:42.165Z