paper-with-me

Papers

A Closer Look at the Explainability of Contrastive Language-Image Pre-training

2023-04-12 · Yi Li, Hualiang Wang, Yiqun Duan, Jiheng Zhang, Xiaomeng Li

Contrastive language-image pre-training (CLIP) is a powerful vision-language model that has shown great benefits for various tasks. However, we have identified some issues with its explainability, which undermine its credibility and limit the capacity for related tasks. Specifically, we find that CLIP tends to focus on background regions rather than foregrounds, with noisy activations at irrelevant positions on the visualization results. These phenomena conflict with conventional explainability methods based on the class attention map (CAM), where the raw model can highlight the local foreground regions using global supervision without alignment. To address these problems, we take a closer look at its architecture and features. Based on thorough analyses, we find the raw self-attentions link to inconsistent semantic regions, resulting in the opposite visualization. Besides, the noisy activations are owing to redundant features among categories. Building on these insights, we propose the CLIP Surgery for reliable CAM, a method that allows surgery-like modifications to the inference architecture and features, without further fine-tuning as classical CAM methods. This approach significantly improves the explainability of CLIP, surpassing existing methods by large margins. Besides, it enables multimodal visualization and extends the capacity of raw CLIP on open-vocabulary tasks without extra alignment. The code is available at https://github.com/xmed-lab/CLIP_Surgery.

📄 PDF Abstract BibTeX arXiv:2304.05653

Code (2)

xmed-lab/clip_surgery 공식 구현 pytorch
xmed-lab/clipn pytorch

Tasks

Interactive SegmentationLanguage ModellingOpen Vocabulary Semantic SegmentationOpen-Vocabulary Semantic SegmentationSegmentationSemantic SegmentationZero-Shot LearningZero Shot Segmentation

Methods 이 논문이 사용한 방법론

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…

Similar Papers 제목 키워드 기반

Exploring Visual Interpretability for Contrastive Language-Image Pre-training

2022-09-15 · Yi Li, Hualiang Wang, Yiqun Duan, Hang Xu 외

Contrastive Language-Image Pre-training (CLIP) learns rich representations via readily available supervision of natural language. It improves the performance of downstream vision tasks, including but not limited to the z…

Retrievaltext similarity

Seeking Patterns, Not just Memorizing Procedures: Contrastive Learning for Solving Math Word Problems

2021-10-16 · Findings (ACL) 2022 5 · Zhongli Li, Wenxuan Zhang, Chao Yan, Qingyu Zhou 외

Math Word Problem (MWP) solving needs to discover the quantitative relationships over natural language narratives. Recent work shows that existing models memorize procedures from context and rely on shallow heuristics to…

Contrastive LearningMath

A Closer Look at Few-shot Image Generation

2022-05-08 · CVPR 2022 1 · Yunqing Zhao, Henghui Ding, Houjing Huang, Ngai-Man Cheung

Modern GANs excel at generating high quality and diverse images. However, when transferring the pretrained GANs on small target data (e.g., 10-shot), the generator tends to replicate the training samples. Several methods…

10-shot image generationContrastive LearningDiversityImage Generation

Feature Importance: A Closer Look at Shapley Values and LOCO

2023-03-10 · Isabella Verdinelli, Larry Wasserman

There is much interest lately in explainability in statistics and machine learning. One aspect of explainability is to quantify the importance of various features (or covariates). Two popular methods for defining variabl…

Feature CorrelationFeature Importance

Rather a Nurse than a Physician -- Contrastive Explanations under Investigation

2023-10-18 · Oliver Eberle, Ilias Chalkidis, Laura Cabello, Stephanie Brandl

Contrastive explanations, where one decision is explained in contrast to another, are supposed to be closer to how humans explain a decision than non-contrastive explanations, where the decision is not necessarily refere…

text-classificationText Classification