LGAICVSep 30, 2022

Contrastive Corpus Attribution for Explaining Representations

arXiv:2210.00107v29 citationsh-index: 45
Originality Incremental advance
AI Analysis

This addresses the challenge of interpreting representations in unsupervised learning for researchers and practitioners, offering a novel explanation method that is incremental over prior similarity-based approaches.

The paper tackles the problem of explaining unsupervised models by proposing contrastive corpus similarity, a semantically meaningful scalar explanation output, and demonstrates its utility in explaining image augmentations in SimCLR and performing zero-shot object localization with CLIP, achieving quantitative verification of feature importance.

Despite the widespread use of unsupervised models, very few methods are designed to explain them. Most explanation methods explain a scalar model output. However, unsupervised models output representation vectors, the elements of which are not good candidates to explain because they lack semantic meaning. To bridge this gap, recent works defined a scalar explanation output: a dot product-based similarity in the representation space to the sample being explained (i.e., an explicand). Although this enabled explanations of unsupervised models, the interpretation of this approach can still be opaque because similarity to the explicand's representation may not be meaningful to humans. To address this, we propose contrastive corpus similarity, a novel and semantically meaningful scalar explanation output based on a reference corpus and a contrasting foil set of samples. We demonstrate that contrastive corpus similarity is compatible with many post-hoc feature attribution methods to generate COntrastive COrpus Attributions (COCOA) and quantitatively verify that features important to the corpus are identified. We showcase the utility of COCOA in two ways: (i) we draw insights by explaining augmentations of the same image in a contrastive learning setting (SimCLR); and (ii) we perform zero-shot object localization by explaining the similarity of image representations to jointly learned text representations (CLIP).

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes