paper-with-me

Papers

Sparse Concept Bottleneck Models: Gumbel Tricks in Contrastive Learning

2024-04-04 · Andrei Semenov, Vladimir Ivanov, Aleksandr Beznosikov, Alexander Gasnikov

We propose a novel architecture and method of explainable classification with Concept Bottleneck Models (CBMs). While SOTA approaches to Image Classification task work as a black box, there is a growing demand for models that would provide interpreted results. Such a models often learn to predict the distribution over class labels using additional description of this target instances, called concepts. However, existing Bottleneck methods have a number of limitations: their accuracy is lower than that of a standard model and CBMs require an additional set of concepts to leverage. We provide a framework for creating Concept Bottleneck Model from pre-trained multi-modal encoder and new CLIP-like architectures. By introducing a new type of layers known as Concept Bottleneck Layers, we outline three methods for training them: with $\ell_1$-loss, contrastive loss and loss function based on Gumbel-Softmax distribution (Sparse-CBM), while final FC layer is still trained with Cross-Entropy. We show a significant increase in accuracy using sparse hidden layers in CLIP-based bottleneck models. Which means that sparse representation of concepts activation vector is meaningful in Concept Bottleneck Models. Moreover, with our Concept Matrix Search algorithm we can improve CLIP predictions on complex datasets without any additional training or fine-tuning. The code is available at: https://github.com/Andron00e/SparseCBM.

📄 PDF Abstract BibTeX arXiv:2404.03323

Code (2)

andron00e/sparsecbm 공식 구현 pytorch
icml24/sparsecbm 공식 구현 pytorch

Tasks

Contrastive Learningimage-classificationImage ClassificationInterpretable Machine LearningZero-Shot Image Classification

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
L1 Regularization $L_{1}$ Regularization is a regularization technique applied to the weights of a neural network. We minimize a loss function compromising both the primary loss function and a…
Gumbel Softmax 설명 없음
Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

Gradient Estimation with Stochastic Softmax Tricks

2020-06-15 · NeurIPS 2020 12 · Max B. Paulus, Dami Choi, Daniel Tarlow, Andreas Krause 외

The Gumbel-Max trick is the basis of many relaxed gradient estimators. These estimators are easy to implement and low variance, but the goal of scaling them comprehensively to large combinatorial distributions is still o…

Sparse Linear Concept Discovery Models

2023-08-21 · Konstantinos P. Panousis, Dino Ienco, Diego Marcos

The recent mass adoption of DNNs, even in safety-critical scenarios, has shifted the focus of the research community towards the creation of inherently intrepretable models. Concept Bottleneck Models (CBMs) constitute a …

MA-GCL: Model Augmentation Tricks for Graph Contrastive Learning

2022-12-14 · Xumeng Gong, Cheng Yang, Chuan Shi

Contrastive learning (CL), which can extract the information shared between different contrastive views, has become a popular paradigm for vision representation learning. Inspired by the success in computer vision, recen…

Contrastive LearningData AugmentationNode ClassificationRepresentation Learning

Contrastive Learning is Just Meta-Learning

2021-09-29 · ICLR 2022 4 · Renkun Ni, Manli Shu, Hossein Souri, Micah Goldblum 외

Contrastive learning has recently taken off as a paradigm for learning from unlabeled data. In this paper, we discuss the close relationship between contrastive learning and meta-learning, and in fact show that contrasti…

Contrastive LearningData AugmentationMeta-Learning

Interpretable and Steerable Concept Bottleneck Sparse Autoencoders

2025-12-11 · Akshay Kulkarni, Tsui-Wei Weng, Vivek Narayanaswamy, Shusen Liu 외 arxiv

Sparse autoencoders (SAEs) promise a unified approach for mechanistic interpretability, concept discovery, and model steering in LLMs and LVLMs. However, realizing this potential requires learned features to be both inte…

Image Generation