atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Learning Where to Edit Vision Transformers

NeurIPS 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: Efficient ViT adaptation · 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 meta-learned hypernetwork that predicts sparse binary masks over ViT feed-forward weights to locate where to edit, then fine-tunes the selected parameters to correct single predictive errors, evaluated on a new subpopulation-shift editing benchmark.

Problem

Correcting predictive errors of pre-trained vision transformers (ViTs) from subpopulation shifts while preserving generalization to neighboring failures and locality on unrelated inputs, without retraining.

Approach

A locate-then-edit method for ViTs where a hypernetwork, meta-trained on CutMix pseudo-samples with a KL reliability loss and an l1 sparsity penalty, outputs binary masks selecting structured rows/columns of FFN weights in layers 8-10; the how-to-edit step is then simple fine-tuning of those parameters with a threshold rho controlling the generalization-locality trade-off.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the learned hypernetwork mask to localize parameters for editingViT/B-16 model editing · Proposed editing benchmarkgeneralization-locality trade-offHelped
Edit the 8th–10th FFNs rather than MSAs (ablation)ViT/B-16 · 100 volleyball-to-basketball failuresgeneralization-locality trade-offHelped
Increase parameter sparsity using the mask threshold (ablation)KN, SPT, and the proposed method · Proposed editing benchmarklocality rateHelped
Increase parameter sparsity using the mask threshold (ablation)KN, SPT, and the proposed method · Proposed editing benchmarkgeneralization rateHurt
Replace the learned mask with a random mask at the same sparsity (ablation)ViT/B-16 model editing · Proposed editing benchmarkediting performanceHurt
Average masks from more editing samples in the same group (ablation)Proposed method · Editing samples from the same groupediting performanceHelped
Generate pseudo-samples with CutMix instead of PGD (ablation)Hypernetwork meta-training · Proposed editing benchmark, including AI-generated subsetsediting performanceNo clear effect
Vary the outer-loop sparsity trade-off parameter (ablation)Proposed method · Proposed editing benchmarkediting performanceNo clear effect
Use one inner-loop gradient step instead of more steps (ablation)Proposed method · ViT/B-16 editingediting performanceHurt
Increase inner-loop gradient steps from five to ten (ablation)Proposed method · ViT/B-16 editingediting performanceNo clear effect
Use an inner-loop learning rate of 10^-4 rather than a larger rate (ablation)Proposed method · ViT/B-16 editingediting performanceHurt
Reduce hypernetwork attention blocks from five to three or one (ablation)Proposed method · ViT/B-16 editingediting performanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1k ImageNet-21k ImageNet-R ImageNet-Sketch Flickr images (MAD-searched)

Benchmarks: ViT editing benchmark (18 groups: 16 MAD-searched natural, 2 AI-generated) ImageNet-1k/ImageNet-R/ImageNet-Sketch boundary samples for locality

Metrics: success rate generalization rate locality rate GR-LR Pareto curve

Baselines: FT FT-l2 T-Patcher KN SPT ROME LoRA KE MEND

Builds on: MEND ROME MALMEN CutMix MAML

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