atlas

Research map / Architectures and efficiency / RNNs and normalization

Deciphering 'What' and 'Where' Visual Pathways from Spectral Clustering of Layer-Distributed Neural Representations

CVPR 2024 · Architectures and efficiency › RNNs and normalization · approach: Symmetry and equivariance in loss landscapes · 1 citations (OpenAlex)

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 a spectral-clustering-inspired gradient-based optimization over key-query and value-value affinity matrices from all attention layers of pre-trained vision models, extracting per-image and dataset-level segmentation and revealing 'what' (value) and 'where' (key-query) pathways in Stable Diffusion.

Problem

Extracting spatial layout and semantic segmentation from pre-trained vision models without knowing which layer holds the relevant information, and understanding how attention layers encode semantic versus spatial information.

Approach

Jointly optimize a learnable feature map against a set of per-layer (and per-timestep) affinity matrices built from attention queries, keys, and values, approximating constrained spectral clustering via a Rayleigh-quotient objective solved with gradient descent, so it scales to dataset-level intra- and inter-image affinity graphs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Analyze all attention layers instead of only final featuresOurs + K-Means on CLIP ViT-B/16 · PASCAL VOC valmIoU: 0.57 -> 0.78Helped
Analyze all attention layers instead of only final featuresOurs + K-Means on MAE ViT-B/16 · PASCAL VOC valmIoU: 0.48 -> 0.74Helped
Restrict analysis to decoder layers 11-16 (ablation)Stable Diffusion region extraction · PASCAL VOCmIoU: 0.75 -> 0.80Helped
Restrict analysis to encoder layers 1-4 (ablation)Stable Diffusion region extraction · PASCAL VOCmIoU: 0.75 -> 0.66Hurt
Set maximum noise level to 999 instead of 500 (ablation)Stable Diffusion region extraction · PASCAL VOCmIoU: 0.75 -> 0.69Hurt
Add CRF post-processing to the value-value graph output (ablation)Ours (V-V graph) · COCO-Stuff-27mIOU: 25.4 -> 27.1Helped
Add CRF post-processing to the value-value graph output (ablation)Ours (V-V graph) · CityscapesmIOU: 16.2 -> 16.9Helped
Use query-key graph instead of value-value graph (ablation)Unsupervised semantic segmentation · COCO-Stuff-27mIOU: 25.4 -> 12.4Hurt
Use query-key graph instead of value-value graph (ablation)Unsupervised semantic segmentation · CityscapesmIOU: 16.2 -> 10.91Hurt
Use query-key graph instead of value-value graph (ablation)Stable Diffusion features · Spatial semantic segmentationmIOU: 5.1 -> 10.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: PASCAL VOC COCO COCO-Stuff Cityscapes

Benchmarks: PASCAL VOC COCO-Stuff-27 Cityscapes

Metrics: mIoU MSE

Baselines: STEGO PiCIE DSM MaskCut TokenCut Normalized Cut HP ACSeg DINO K-Means

Builds on: spectral clustering normalized cuts STEGO TokenCut MaskCut

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