Discover-then-Name:通过自动化概念发现实现任务无关的概念瓶颈
Discover-then-Name: Task-Agnostic Concept Bottlenecks via Automated Concept Discovery
AI总结:
针对传统概念瓶颈模型需预定义任务相关概念且无法保证可检测的问题,提出DN-CBM方法,用稀疏自编码器先发现模型已学概念再命名,实现任务无关的高效可解释概念瓶颈。
摘要:
概念瓶颈模型(Concept Bottleneck Models, CBMs)近期被提出用于解决深度神经网络的“黑箱”问题,其思路是先将图像映射到人类可理解的概念空间,再通过线性组合概念完成分类。这类模型通常需要先提出一组与任务相关的概念,再对齐特征提取器的表征以映射到这些概念。然而,即便使用CLIP这类强大的基础特征提取器,也无法保证指定的概念是可检测的。本研究利用机制可解释性领域的最新进展,提出了一种新型CBM方法——名为Discover-then-Name-CBM(DN-CBM),它颠覆了传统范式:我们不再基于下游分类任务预先选择概念,而是使用稀疏自编码器先发现模型已学习到的概念,再对其命名并训练线性探针用于分类。我们的概念提取策略高效,因为它对下游任务具有无关性,且使用的是模型已知的概念。我们在多个数据集和CLIP架构上开展了综合评估,结果表明我们的方法能生成语义上有意义的概念,为其赋予易于解释的恰当名称,同时构建出性能优异且可解释的CBM。代码可在https://github.com/neuroexplicit-saar/discover-then-name获取。
英文摘要:
Concept Bottleneck Models (CBMs) have recently been proposed to address the 'black-box' problem of deep neural networks, by first mapping images to a human-understandable concept space and then linearly combining concepts for classification. Such models typically require first coming up with a set of concepts relevant to the task and then aligning the representations of a feature extractor to map to these concepts. However, even with powerful foundational feature extractors like CLIP, there are no guarantees that the specified concepts are detectable. In this work, we leverage recent advances in mechanistic interpretability and propose a novel CBM approach -- called Discover-then-Name-CBM (DN-CBM) -- that inverts the typical paradigm: instead of pre-selecting concepts based on the downstream classification task, we use sparse autoencoders to first discover concepts learnt by the model, and then name them and train linear probes for classification. Our concept extraction strategy is efficient, since it is agnostic to the downstream task, and uses concepts already known to the model. We perform a comprehensive evaluation across multiple datasets and CLIP architectures and show that our method yields semantically meaningful concepts, assigns appropriate names to them that make them easy to interpret, and yields performant and interpretable CBMs. Code available at https://github.com/neuroexplicit-saar/discover-then-name.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。