ConceptX: A Framework for Latent Concept Analysis

Firoj Alam,Fahim Dalvi,Nadir Durrani,Hassan Sajjad,Abdul Rafae Khan,Jia Xu
DOI: https://doi.org/10.48550/arXiv.2211.06642
2022-11-12
Computation and Language
Abstract:The opacity of deep neural networks remains a challenge in deploying solutions where explanation is as important as precision. We present ConceptX, a human-in-the-loop framework for interpreting and annotating latent representational space in pre-trained Language Models (pLMs). We use an unsupervised method to discover concepts learned in these models and enable a graphical interface for humans to generate explanations for the concepts. To facilitate the process, we provide auto-annotations of the concepts (based on traditional linguistic ontologies). Such annotations enable development of a linguistic resource that directly represents latent concepts learned within deep NLP models. These include not just traditional linguistic concepts, but also task-specific or sensitive concepts (words grouped based on gender or religious connotation) that helps the annotators to mark bias in the model. The framework consists of two parts (i) concept discovery and (ii) annotation platform.
What problem does this paper attempt to address?