atlas

Research map / Vision-language and multimodal / Human and embodied modeling

Beyond the Doors of Perception: Vision Transformers Represent Relations Between Objects

NeurIPS 2024 · Vision-language and multimodal › Human and embodied modeling · approach: Human perception modeling · 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.

Uses mechanistic interpretability (attention-head analysis, DAS, linear interventions) to show fine-tuned CLIP and DINOv2 ViTs process same-different tasks in a perceptual stage followed by a relational stage.

Problem

How vision transformers compute abstract visual relations such as judging whether two objects are the same or different, given that ViTs often fail at relational tasks.

Approach

Applies mechanistic interpretability (local vs. global attention-head scoring, distributed alignment search, linear probing and interventions) to fine-tuned ViTs, revealing a two-stage algorithm: disentangled object representations formed locally, then relational comparison between object pairs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add disentanglement loss (ablation)From Scratch ViT-B/16 · Discrimination, IID testaccuracy: 76.5% -> 94.6%Helped
Add pipeline loss (ablation)From Scratch ViT-B/16 · Discrimination, IID testaccuracy: 76.5% -> 93.9%Helped
Add disentanglement loss (ablation)From Scratch ViT-B/16 · Discrimination, compositional testaccuracy: 76.0% -> 86.1%Helped
Add pipeline loss (ablation)From Scratch ViT-B/16 · Discrimination, compositional testaccuracy: 76.0% -> 92.3%Helped
Add disentanglement loss (ablation)From Scratch ViT-B/16 · RMTS, IID testaccuracy: 50.1% -> 54.4%Helped
Add pipeline loss (ablation)From Scratch ViT-B/16 · RMTS, IID testaccuracy: 50.1% -> 50.1%No clear effect
Add both disentanglement and pipeline losses (ablation)From Scratch ViT-B/16 · RMTS, IID testaccuracy: 50.1% -> 94.1%Helped
Add both disentanglement and pipeline losses (ablation)From Scratch ViT-B/16 · RMTS, compositional testaccuracy: 50.0% -> 77.4%Helped
Fine-tune CLIP ViT-B/16 on the discrimination taskCLIP ViT-B/16 · Discrimination, photorealistic testaccuracy: 93.9%Helped
Use DINOv2 ViT-B/16 instead of CLIP ViT-B/16Fine-tuned ViT on photorealistic discrimination · Discrimination, photorealistic testaccuracy: 93.9% -> 48%Hurt
Use added or interpolated feature vectors rather than arbitrary sampled or random vectorsCLIP ViT-B/16 relational computation · Discrimination, novel-representation interventionintervention successMixed
Use a from-scratch model rather than a pretrained ViTViT-B/16 on RMTS · RMTS, IID testaccuracy: 98.3% -> 50.1%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic same-different discrimination dataset synthetic RMTS dataset

Benchmarks: synthetic same-different discrimination test set RMTS test set photorealistic Blender same-different test set

Metrics: accuracy counterfactual intervention accuracy attention head score

Baselines: DINO DINOv2 ImageNet ViT MAE From Scratch ViT

Builds on: Distributed Alignment Search pyvene transformerlens

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