arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.02265cs.CV
收藏

通过任意概念进行解释:具有开放词汇概念的概念瓶颈模型

Explain via Any Concept: Concept Bottleneck Model with Open Vocabulary Concepts

Hong Kong University of Science and Technology(香港科技大学);HKUST Shenzhen-Hong Kong Collaborative Innovation Research Institute(香港科技大学深圳研究院)

Andong Tan, Fengtao Zhou, Hao Chen

AI总结:

针对传统CBM概念集固定、部署后难以按用户需求解释的问题,本文提出OpenCBM,借助CLIP实现开放词汇概念对齐、分类训练与分类头重构,并在CUB-200-2011上准确率提升9%。

摘要:

概念瓶颈模型(CBM)是一种按设计可解释的框架,它通过首先预测一组可解释概念,然后基于给定概念预测类别标签来进行决策。现有CBM使用固定的概念集进行训练(概念要么由数据集标注,要么从语言模型查询)。然而,这种封闭世界假设在实践中是不现实的,因为在模型部署后,用户可能想知道任何所需概念在决策中的作用。受CLIP等近期视觉-语言预训练模型在零样本分类中取得巨大成功的启发,我们提出“OpenCBM”,通过以下方式为CBM配备开放词汇概念:(1)通过基于原型的特征对齐,将可训练图像特征提取器的特征空间与CLIP图像编码器的特征空间对齐;(2)同时在下游数据集上训练图像分类器;(3)通过由CLIP文本编码器编码的任意一组用户期望的文本概念,重构训练后的分类头。为了揭示用户可能遗漏的概念,我们进一步提出在重构过程中迭代寻找与残差参数最接近的概念嵌入,直到残差足够小。据我们所知,我们的“OpenCBM”是首个具有开放词汇概念的CBM,为用户提供了独特的优势,例如即使在模型训练完成后,也可以删除、添加或替换任何所需概念来解释模型的预测。此外,在基准数据集CUB-200-2011上,我们的模型在分类准确率上显著优于先前最先进的CBM达9%。

英文摘要:

The concept bottleneck model (CBM) is an interpretable-by-design framework that makes decisions by first predicting a set of interpretable concepts, and then predicting the class label based on the given concepts. Existing CBMs are trained with a fixed set of concepts (concepts are either annotated by the dataset or queried from language models). However, this closed-world assumption is unrealistic in practice, as users may wonder about the role of any desired concept in decision-making after the model is deployed. Inspired by the large success of recent vision-language pre-trained models such as CLIP in zero-shot classification, we propose "OpenCBM" to equip the CBM with open vocabulary concepts via: (1) Aligning the feature space of a trainable image feature extractor with that of a CLIP's image encoder via a prototype based feature alignment; (2) Simultaneously training an image classifier on the downstream dataset; (3) Reconstructing the trained classification head via any set of user-desired textual concepts encoded by CLIP's text encoder. To reveal potentially missing concepts from users, we further propose to iteratively find the closest concept embedding to the residual parameters during the reconstruction until the residual is small enough. To the best of our knowledge, our "OpenCBM" is the first CBM with concepts of open vocabularies, providing users the unique benefit such as removing, adding, or replacing any desired concept to explain the model's prediction even after a model is trained. Moreover, our model significantly outperforms the previous state-of-the-art CBM by 9% in the classification accuracy on the benchmark dataset CUB-200-2011.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑