atlas

Research map / Architectures and efficiency / Attention and transformers

Learning Correlation Structures for Vision Transformers

CVPR 2024 · Architectures and efficiency › Attention and transformers · approach: Theory of self-attention dynamics · 30 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 structural self-attention (StructSA), which convolves query-key correlation maps to build dynamic aggregation kernels, and the StructViT architecture built on UniFormer that uses it, reaching state of the art on ImageNet-1K and several video benchmarks.

Problem

Vanilla self-attention uses individual query-key correlation values independently and ignores the structure of the correlation map, so it cannot capture spatial layouts or motion patterns in images and videos.

Approach

StructSA applies convolution over local query-key correlation maps to detect correlation patterns, then uses the resulting attention scores to dynamically aggregate local value contexts via D learned aggregation kernels, generalizing convolutional self-attention with convolutional projections.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase structure dimension from D=0 to D=8 (ablation)StructSA in DeiT-S · ImageNet-1Ktop-1 accuracy: 80.5 -> 81.3Helped
Increase structure dimension from D=0 to D=8 (ablation)StructSA in DeiT-S · Something-Something V1top-1 accuracy: 48.3 -> 50.6Helped
Use kernel size 1×1 instead of vanilla self-attention (ablation)StructSA in DeiT-S · ImageNet-1Ktop-1 accuracy: 80.5 -> 80.6No clear effect
Use kernel size 1×1 instead of vanilla self-attention (ablation)StructSA in DeiT-S · Something-Something V1top-1 accuracy: 48.3 -> 48.5No clear effect
Use kernel size 3×3 instead of vanilla self-attention (ablation)StructSA in DeiT-S · ImageNet-1Ktop-1 accuracy: 80.5 -> 81.1Helped
Use kernel size 3×3 instead of vanilla self-attention (ablation)StructSA in DeiT-S · Something-Something V1top-1 accuracy: 48.3 -> 50.4Helped
Use patch-wise rather than element-wise context aggregation (ablation)StructSA in DeiT-S · ImageNet-1Ktop-1 accuracy: 80.9 -> 81.1Helped
Use patch-wise rather than element-wise context aggregation (ablation)StructSA in DeiT-S · Something-Something V1top-1 accuracy: 49.6 -> 50.4Helped
Replace UniFormer-S with StructViT-S-8-1StructViT · Kinetics-400top-1 accuracy: 80.8 -> 81.6Helped
Replace UniFormer-B with StructViT-B-4-1StructViT · Something-Something V1top-1 accuracy: 60.9 -> 61.3Helped
Replace UniFormer-B with StructViT-B-4-1StructViT · Something-Something V2top-1 accuracy: 71.2 -> 71.5Helped
Replace UniFormer-B* with StructViT-B-4-1StructViT · Diving-48top-1 accuracy: +0.9%pHelped

Limitations

Experimental setup

Datasets: ImageNet-1K Kinetics-400 Something-Something V1 Something-Something V2 Diving-48 FineGym

Benchmarks: ImageNet-1K Kinetics-400 Something-Something V1 Something-Something V2 Diving-48 FineGym

Metrics: top-1 accuracy top-5 accuracy per-class top-1 accuracy parameters FLOPs

Baselines: UniFormer MViTv2 Swin ConvNext CvT MTV RSANet ORViT TimeSformer EfficientNet

Builds on: UniFormer vision transformer MViT Token Labeling conditional positional encoding

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