mlsanityData to 7 Oct 2026

Learning Where to Edit Vision Transformers

arXiv 2411.01948 ↗First posted 4 Nov 2024cs.CVcited by 4

Not on the map. Why?

Abstract (arXiv)

Model editing aims to data-efficiently correct predictive errors of large pre-trained models while ensuring generalization to neighboring failures and locality to minimize unintended effects on unrelated examples. While significant progress has been made in editing Transformer-based large language models, effective strategies for editing vision Transformers (ViTs) in computer vision remain largely untapped. In this paper, we take initial steps towards correcting predictive errors of ViTs, particularly those arising from subpopulation shifts. Taking a locate-then-edit approach, we first address the where-to-edit challenge by meta-learning a hypernetwork on CutMix-augmented data generated for editing reliability. This trained hypernetwork produces generalizable binary masks that identify a sparse subset of structured model parameters, responsive to real-world failure samples. Afterward, we solve the how-to-edit problem by simply fine-tuning the identified parameters using a variant of gradient descent to achieve successful edits. To validate our method, we construct an editing benchmark that introduces subpopulation shifts towards natural underrepresented images and AI-generated images, thereby revealing the limitations of pre-trained ViTs for object recognition. Our approach not only achieves superior performance on the proposed benchmark but also allows for adjustable trade-offs between generalization and locality. Our code is available at https://github.com/hustyyq/Where-to-Edit.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 51 of its 63 references that are in the map. First posted on arXiv 4 Nov 2024.

Builds on

51 of 63 references.

References · 51

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2023GPT-4 Technical Reportcited by 18,132
  6. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  7. 2024The Llama 3 Herd of Modelscited by 14,192
  8. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  9. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  10. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  11. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  12. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
38 more
  1. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  2. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  4. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  5. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  6. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  7. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  8. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  9. 2022Mass-Editing Memory in a Transformercited by 976
  10. 2016End-to-end Optimized Image Compressioncited by 673
  11. 2021Knowledge Neurons in Pretrained Transformerscited by 590
  12. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  13. 2021Editing Factual Knowledge in Language Modelscited by 548
  14. 2019Meta-Learning with Implicit Gradientscited by 523
  15. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
  16. 2021Fast Model Editing at Scalecited by 491
  17. 2022Memory-Based Model Editing at Scalecited by 443
  18. 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
  19. 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 315
  20. 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 292
  21. 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
  22. 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 267
  23. 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
  24. 2019MetaPruning: Meta Learning for Automatic Neural Network Channel Pruningcited by 226
  25. 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
  26. 2020Rewriting a Deep Generative Modelcited by 105
  27. 2023DEPN: Detecting and Editing Privacy Neurons in Pretrained Language Modelscited by 75
  28. 2023Sensitivity-Aware Visual Parameter-Efficient Fine-Tuningcited by 74
  29. 2021Editing a classifier by rewriting its prediction rulescited by 64
  30. 2023Massive Editing for Large Language Models via Meta Learningcited by 62
  31. 2022Discovering Bugs in Vision Models using Off-the-shelf Image Generation and Captioningcited by 45
  32. 2022Adaptive Testing of Computer Vision Modelscited by 39
  33. 2023Dataset Interfaces: Diagnosing Model Failures Using Controllable Counterfactual Generationcited by 35
  34. 2022Fixing Model Bugs with Natural Language Patchescited by 32
  35. 2023PUG: Photorealistic and Semantically Controllable Synthetic Data for Representation Learningcited by 31
  36. 2013Theory Refinement on Bayesian Networkscited by 28
  37. 2023Editing Common Sense in Transformerscited by 28
  38. 2020I Am Going MAD: Maximum Discrepancy Competition for Comparing Classifiers Adaptivelycited by 13

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.