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.

Toward a Unified Framework for Debugging Gray-box Models / Bontempelli, Andrea; Giunchiglia, Fausto; Passerini, Andrea; Teso, Stefano. - (2022). [10.48550/arXiv.2109.11160]

Toward a Unified Framework for Debugging Gray-box Models

Bontempelli, Andrea;Giunchiglia, Fausto;Passerini, Andrea;Teso, Stefano
2022-01-01

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.
2022
online
online
Toward a Unified Framework for Debugging Gray-box Models / Bontempelli, Andrea; Giunchiglia, Fausto; Passerini, Andrea; Teso, Stefano. - (2022). [10.48550/arXiv.2109.11160]
Bontempelli, Andrea; Giunchiglia, Fausto; Passerini, Andrea; Teso, Stefano
File in questo prodotto:
File Dimensione Formato  
2109.11160.pdf

accesso aperto

Tipologia: Versione editoriale (Publisher’s layout)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 203.39 kB
Formato Adobe PDF
203.39 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11572/364931
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
  • OpenAlex ND
social impact