atlas

Research map / Architectures and efficiency / Attention and transformers

A Simple Interpretable Transformer for Fine-Grained Image Classification and Analysis

ICLR 2024 · Architectures and efficiency › Attention and transformers · approach: Efficient image transformers

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes INTR, a DETR-based Transformer encoder-decoder whose learned class-specific decoder queries let each class search for itself in an image, yielding faithful cross-attention interpretations for fine-grained classification.

Problem

Standard image classifiers incorporate class information only at the final fully-connected layer, so they cannot directly explain where the model looks to predict a particular class; post-hoc explanations are costly and low-resolution, and prior self-interpretable models need specialized architectur

Approach

Feed learnable class-specific queries (one per class) into a Transformer decoder so each class retrieves its own evidence via cross-attention, then score each class with a shared class-agnostic vector trained with cross-entropy; the cross-attention maps then serve as built-in, faithful interpretations, and multi-head attention captures class attributes.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace DETR-ResNet-50 with ViT-Huge-21K encoder (ablation)INTR · CUB-200-2011accuracy (%): 71.8 -> 83.2Helped
replace DETR-ResNet-50 with DeiT-Small-1K encoder (ablation)INTR · CUB-200-2011accuracy (%): 71.8 -> 78.2Helped
replace DETR-ResNet-50 with DeiT-Small-1K encoder (ablation)INTR · Cambridge butterflyaccuracy (%): 95.0 -> 94.2Hurt
replace DETR-ResNet-50 with DeiT-Small-1K encoder (ablation)INTR · Stanford Carsaccuracy (%): 86.8 -> 81.8Hurt
replace DETR-ResNet-50 with ViT-Huge-21K encoder (ablation)INTR · Cambridge butterflyaccuracy (%): 95.0 -> 95.7Helped
replace DETR-ResNet-50 with ViT-Huge-21K encoder (ablation)INTR · Stanford Carsaccuracy (%): 86.8 -> 88.4Helped
use 8 attention heads instead of 4 (ablation)INTR · CUB-200-2011accuracy (%): 69.48 -> 71.75Helped
use 8 attention heads instead of 16 (ablation)INTR · CUB-200-2011accuracy (%): 70.17 -> 71.75Helped
use 6 decoder layers instead of 4 (ablation)INTR · CUB-200-2011accuracy (%): 68.39 -> 71.75Helped
use 6 decoder layers instead of 5 (ablation)INTR · CUB-200-2011accuracy (%): 69.21 -> 71.75Helped
use 6 decoder layers instead of 7 (ablation)INTR · CUB-200-2011accuracy (%): 69.07 -> 71.75Helped
use a shared class-agnostic classifier vector rather than class-specific classifier vectors (ablation)INTR · qualitative interpretationattention distinctiveness and consistencyHelped

Surprising findings

Limitations

Experimental setup

Datasets: Birds-525 CUB-200-2011 iNaturalist-2021 (Fish subset) Stanford Dogs Stanford Cars Oxford Pet FGVC-Aircraft Cambridge butterfly (Heliconiine collection) MSCOCO ImageNet-1K

Benchmarks: Birds-525 CUB-200-2011 Cambridge butterfly iNaturalist-2021 Fish Stanford Dogs Oxford Pet Stanford Cars FGVC-Aircraft

Metrics: classification accuracy insertion deletion attribute identification accuracy (human study)

Baselines: ResNet-50 Grad-CAM RISE ProtoPNet ProtoTree ProtoPFormer

Builds on: DETR Transformer ProtoPNet Grad-CAM RISE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy