Lune

CVPR2024Top-tier venue

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

Xiao Zhang, David Yunis, Michael Maire

Abstract

We present an approach for analyzing grouping information contained within a neural network's activations, per-mitting extraction of spatial layout and semantic segmentation from the behavior of large pre-trained vision models. Unlike prior work, our method conducts a who lis tic analysis of a network's activation state, leveraging features from all layers and obviating the need to guess which part of the model contains relevant information. Motivated by classic spectral clustering, we formulate this analysis in terms of an optimization objective involving a set of affinity matrices, each formed by comparing features within a different layer. Solving this optimization problem using gradient descent allows our technique to scale from single images to dataset-level analysis, including, in the latter, both intra-and inter-image relationships. Analyzing a pre-trained generative transformer provides insight into the computational strategy learned by such models. Equating affinity with key-query similarity across attention layers yields eigenvectors encoding scene spatial layout, whereas defining affinity by value vector similarity yields eigenvectors encoding object identity. This result suggests that key and query vectors co-ordinate attentional information flow according to spatial proximity (a ‘where’ pathway), while value vectors refine a semantic category representation (a ‘what’ pathway).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Residual Connections Harm Generative Representation Learning cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Residual Connections Harm Generative Representation Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Residual Connections Harm Generative Representation Learning cites Denoising Diffusion Probabilistic Models
  • Nested Diffusion Models Using Hierarchical Latent Priors cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Nested Diffusion Models Using Hierarchical Latent Priors cites A Simple Framework for Contrastive Learning of Visual Representations
  • Nested Diffusion Models Using Hierarchical Latent Priors cites Learning Transferable Visual Models From Natural Language Supervision
  • Nested Diffusion Models Using Hierarchical Latent Priors cites Denoising Diffusion Probabilistic Models
  • Unsupervised Multi-Scale Segmentation of 3D Subcellular World with Stable Diffusion Foundation Model cites High-Resolution Image Synthesis with Latent Diffusion Models
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites A Simple Framework for Contrastive Learning of Visual Representations
  • Making Training-Free Diffusion Segmentors Scale with the Generative Power cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Making Training-Free Diffusion Segmentors Scale with the Generative Power cites Denoising Diffusion Probabilistic Models
  • SCCS: Deep Neural Spectral Clustering for Self-Supervised Subcellular Structure Segmentation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SCCS: Deep Neural Spectral Clustering for Self-Supervised Subcellular Structure Segmentation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SCCS: Deep Neural Spectral Clustering for Self-Supervised Subcellular Structure Segmentation cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Making Training-Free Diffusion Segmentors Scale with the Generative PowerBenyuan Meng, Qianqian Xu, Zitai Wang, Xiaochun Cao et al.CVPR 2026 · 2 citations
  2. SCCS: Deep Neural Spectral Clustering for Self-Supervised Subcellular Structure SegmentationJimao Jiang, Diya Sun, Tianbing Wang, Yuru PeiAAAI 2025 · 1 citation
  3. Residual Connections Harm Generative Representation LearningXiao Zhang, Ruoxi Jiang, William Gao, Rebecca Willett et al.CVPR 2026
  4. Nested Diffusion Models Using Hierarchical Latent PriorsXiao Zhang, Ruoxi Jiang, Rebecca Willett, Michael MaireCVPR 2025
  5. Unsupervised Multi-Scale Segmentation of 3D Subcellular World with Stable Diffusion Foundation ModelMostofa Rafid Uddin, H. M. Shadman Tabib, Thanh-Huy Nguyen, Kashish Gandhi et al.CVPR 2026

Builds on23

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  4. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  5. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations

Related papers

  1. Dissecting Query-Key Interaction in Vision TransformersXu Pan, Aaron Philip, Ziqian Xie, Odelia SchwartzNeurIPS 2024 · 18 citations
  2. Analyzing Vision Transformers for Image Classification in Class Embedding SpaceMartina G. Vilas, Timothy Schaumlöffel, Gemma RoigNeurIPS 2023 · 43 citations
  3. Learning Neural Eigenfunctions for Unsupervised Semantic SegmentationZhijie Deng, Yucen LuoICCV 2023 · 7 citations
  4. Native Segmentation Vision TransformersGuillem Brasó, Aljosa Osep, Laura Leal-TaixéNeurIPS 2025 · 2 citations
  5. Decomposing Query-Key Feature Interactions Using Contrastive CovariancesAndrew Lee, Yonatan Belinkov, Fernanda Viégas, Martin WattenbergICML 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines