Fine-tuning Image Transformers using Learnable Memory
Not on the map. Why?
Abstract (arXiv)
In this paper we propose augmenting Vision Transformer models with learnable memory tokens. Our approach allows the model to adapt to new tasks, using few parameters, while optionally preserving its capabilities on previously learned tasks. At each layer we introduce a set of learnable embedding vectors that provide contextual information useful for specific datasets. We call these "memory tokens". We show that augmenting a model with just a handful of such tokens per layer significantly improves accuracy when compared to conventional head-only fine-tuning, and performs only slightly below the significantly more expensive full fine-tuning. We then propose an attention-masking approach that enables extension to new downstream tasks, with a computation reuse. In this setup in addition to being parameters efficient, models can execute both old and new tasks as a part of single inference at a small incremental cost.
Key facts. Cited by 34 papers in the map (data through 7 Oct 2026). Builds on 35 of its 46 references that are in the map. First posted on arXiv 29 Mar 2022.
Builds on
35 of 46 references.
References · 35
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2014Going Deeper with Convolutionscited by 4,231
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
23 more
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021Transformers in Vision: A Surveycited by 1,009
- 2020Pre-Trained Image Processing Transformercited by 891
- 2021Going deeper with Image Transformerscited by 759
- 2014Neural Turing Machinescited by 630
- 2020Hopfield Networks is All You Needcited by 461
- 2020AdapterHub: A Framework for Adapting Transformerscited by 441
- 2014Memory Networkscited by 354
- 2018Slimmable Neural Networkscited by 301
- 2021Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworkscited by 278
- 2016Dense Associative Memory for Pattern Recognitioncited by 230
- 2022Memorizing Transformerscited by 219
- 2021A Survey of Visual Transformerscited by 117
- 2020Entities as Experts: Sparse Memory Access with Entity Supervisioncited by 100
- 2020Toward Transformer-Based Object Detectioncited by 84
- 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
- 2017Dense Associative Memory is Robust to Adversarial Inputscited by 45
- 2021Mention Memory: incorporating textual knowledge into Transformers through entity mention attentioncited by 42
- 2020Facts as Experts: Adaptable and Interpretable Neural Memory over Symbolic Knowledgecited by 37
- 2018K for the Price of 1: Parameter-efficient Multi-task and Transfer Learningcited by 34
- 2020ETC: Encoding Long and Structured Inputs in Transformerscited by 34
- 2021Fine-tuning Vision Transformers for the Prediction of State Variables in Ising Modelscited by 3
Built on by
Citing papers per year: 2022: 4; 2023: 18; 2024: 7; 2025: 4; 2026: 1.
34 papers.
Sort:
By area:
- 2023Vision Transformers Need Registerscited by 844
- 2022Understanding Zero-Shot Adversarial Robustness for Large-Scale Modelscited by 117
- 2023Explicit Visual Prompting for Low-Level Structure Segmentationscited by 113
- 2022Bayesian Prompt Learning for Image-Language Model Generalizationcited by 51
- 2022Doubly Right Object Recognition: A Why Prompt for Visual Rationalescited by 29
- 2023Exploring Sparse Visual Prompt for Domain Adaptive Dense Predictioncited by 28
- 2022NeuMap: Neural Coordinate Mapping by Auto-Transdecoder for Camera Localizationcited by 26
- 2024Evaluating LLM -- Generated Multimodal Diagnosis from Medical Images and Symptom Analysiscited by 23
- 2024Fine-tuning Reinforcement Learning Models is Secretly a Forgetting Mitigation Problemcited by 23
- 2023Learning Expressive Prompting With Residuals for Vision Transformerscited by 21
- 2023`A-la-carte Prompt Tuning (APT): Combining Distinct Data Via Composable Promptingcited by 17
- 2023Explicit Visual Prompting for Universal Foreground Segmentationscited by 17
22 more
- 2023Hydra: Multi-head Low-rank Adaptation for Parameter Efficient Fine-tuningcited by 17
- 2023TSP-Transformer: Task-Specific Prompts Boosted Transformer for Holistic Scene Understandingcited by 12
- 2023FashionNTM: Multi-turn Fashion Image Retrieval via Cascaded Memorycited by 11
- 2023Interpreting and Controlling Vision Foundation Models via Text Explanationscited by 11
- 2023Spectral Prompt Tuning:Unveiling Unseen Classes for Zero-Shot Semantic Segmentationcited by 11
- 2024Explicit Motion Handling and Interactive Prompting for Video Camouflaged Object Detectioncited by 11
- 2025FlexAvatar: Learning Complete 3D Head Avatars with Partial Supervisioncited by 10
- 2023CEMFormer: Learning to Predict Driver Intentions from In-Cabin and External Cameras via Spatial-Temporal Transformerscited by 9
- 2023Adaptive Human Trajectory Prediction via Latent Corridorscited by 5
- 2025DSeq-JEPA: Discriminative Sequential Joint-Embedding Predictive Architecturecited by 4
- 2023Your representations are in the network: composable and parallel adaptation for large scale modelscited by 3
- 2023LT-ViT: A Vision Transformer for multi-label Chest X-ray classificationcited by 3
- 2026Models Designed to Forget: Machine Unlearning via Key Deletioncited by 3
- 2023PM-DETR: Domain Adaptive Prompt Memory for Object Detection with Transformerscited by 2
- 2024Token Turing Machines are Efficient Vision Modelscited by 2
- 2024A Unified View of Delta Parameter Editing in Post-Trained Large-Scale Modelscited by 2
- 2025EDIT: Enhancing Vision Transformers by Mitigating Attention Sink through an Encoder-Decoder Architecturecited by 2
- 2023DiffPrompter: Differentiable Implicit Visual Prompts for Semantic-Segmentation in Adverse Conditionscited by 0
- 2023Heterogenous Memory Augmented Neural Networkscited by 0
- 2024Medical Visual Prompting (MVP): A Unified Framework for Versatile and High-Quality Medical Image Segmentationcited by 0
- 2024Adaptive Query Prompting for Multi-Domain Landmark Detectioncited by 0
- 2025Transport-Related Surface Detection with Machine Learning: Analyzing Temporal Trends in Madrid and Viennacited by 0
- 2026Models Designed to Forget: Machine Unlearning via Key Deletion16 Mar 2026
- 2025FlexAvatar: Learning Complete 3D Head Avatars with Partial Supervision17 Dec 2025
- 2025DSeq-JEPA: Discriminative Sequential Joint-Embedding Predictive Architecture21 Nov 2025
- 2025EDIT: Enhancing Vision Transformers by Mitigating Attention Sink through an Encoder-Decoder Architecture9 Apr 2025
- 2025Transport-Related Surface Detection with Machine Learning: Analyzing Temporal Trends in Madrid and Vienna19 Mar 2025
- 2024A Unified View of Delta Parameter Editing in Post-Trained Large-Scale Models17 Oct 2024
- 2024Token Turing Machines are Efficient Vision Models11 Sep 2024
- 2024Adaptive Query Prompting for Multi-Domain Landmark Detection1 Apr 2024
- 2024Medical Visual Prompting (MVP): A Unified Framework for Versatile and High-Quality Medical Image Segmentation1 Apr 2024
- 2024Explicit Motion Handling and Interactive Prompting for Video Camouflaged Object Detection4 Mar 2024
- 2024Fine-tuning Reinforcement Learning Models is Secretly a Forgetting Mitigation Problem5 Feb 2024
- 2024Evaluating LLM -- Generated Multimodal Diagnosis from Medical Images and Symptom Analysis28 Jan 2024
22 more
- 2023Spectral Prompt Tuning:Unveiling Unseen Classes for Zero-Shot Semantic Segmentation20 Dec 2023
- 2023Adaptive Human Trajectory Prediction via Latent Corridors11 Dec 2023
- 2023LT-ViT: A Vision Transformer for multi-label Chest X-ray classification13 Nov 2023
- 2023TSP-Transformer: Task-Specific Prompts Boosted Transformer for Holistic Scene Understanding6 Nov 2023
- 2023Heterogenous Memory Augmented Neural Networks17 Oct 2023
- 2023Interpreting and Controlling Vision Foundation Models via Text Explanations16 Oct 2023
- 2023DiffPrompter: Differentiable Implicit Visual Prompts for Semantic-Segmentation in Adverse Conditions6 Oct 2023
- 2023Vision Transformers Need Registers28 Sep 2023
- 2023Hydra: Multi-head Low-rank Adaptation for Parameter Efficient Fine-tuning13 Sep 2023
- 2023FashionNTM: Multi-turn Fashion Image Retrieval via Cascaded Memory20 Aug 2023
- 2023PM-DETR: Domain Adaptive Prompt Memory for Object Detection with Transformers1 Jul 2023
- 2023Explicit Visual Prompting for Universal Foreground Segmentations29 May 2023
- 2023CEMFormer: Learning to Predict Driver Intentions from In-Cabin and External Cameras via Spatial-Temporal Transformers13 May 2023
- 2023Learning Expressive Prompting With Residuals for Vision Transformers27 Mar 2023
- 2023Explicit Visual Prompting for Low-Level Structure Segmentations20 Mar 2023
- 2023Exploring Sparse Visual Prompt for Domain Adaptive Dense Prediction17 Mar 2023
- 2023Your representations are in the network: composable and parallel adaptation for large scale models7 Mar 2023
- 2023`A-la-carte Prompt Tuning (APT): Combining Distinct Data Via Composable Prompting15 Feb 2023
- 2022Understanding Zero-Shot Adversarial Robustness for Large-Scale Models14 Dec 2022
- 2022Doubly Right Object Recognition: A Why Prompt for Visual Rationales12 Dec 2022
- 2022NeuMap: Neural Coordinate Mapping by Auto-Transdecoder for Camera Localization21 Nov 2022
- 2022Bayesian Prompt Learning for Image-Language Model Generalization5 Oct 2022
- 2023Vision Transformers Need Registerscited by 844
- 2023Explicit Visual Prompting for Low-Level Structure Segmentationscited by 113
- 2022Bayesian Prompt Learning for Image-Language Model Generalizationcited by 51
- 2022Doubly Right Object Recognition: A Why Prompt for Visual Rationalescited by 29
- 2023Exploring Sparse Visual Prompt for Domain Adaptive Dense Predictioncited by 28
- 2022NeuMap: Neural Coordinate Mapping by Auto-Transdecoder for Camera Localizationcited by 26
- 2024Evaluating LLM -- Generated Multimodal Diagnosis from Medical Images and Symptom Analysiscited by 23
- 2024Fine-tuning Reinforcement Learning Models is Secretly a Forgetting Mitigation Problemcited by 23
- 2023Learning Expressive Prompting With Residuals for Vision Transformerscited by 21
- 2023`A-la-carte Prompt Tuning (APT): Combining Distinct Data Via Composable Promptingcited by 17
- 2023Explicit Visual Prompting for Universal Foreground Segmentationscited by 17
- 2023Hydra: Multi-head Low-rank Adaptation for Parameter Efficient Fine-tuningcited by 17
12 most cited of 32 All 32 (JSON)
- 2025FlexAvatar: Learning Complete 3D Head Avatars with Partial Supervision17 Dec 2025
- 2025DSeq-JEPA: Discriminative Sequential Joint-Embedding Predictive Architecture21 Nov 2025
- 2025EDIT: Enhancing Vision Transformers by Mitigating Attention Sink through an Encoder-Decoder Architecture9 Apr 2025
- 2025Transport-Related Surface Detection with Machine Learning: Analyzing Temporal Trends in Madrid and Vienna19 Mar 2025
- 2024A Unified View of Delta Parameter Editing in Post-Trained Large-Scale Models17 Oct 2024
- 2024Token Turing Machines are Efficient Vision Models11 Sep 2024
- 2024Adaptive Query Prompting for Multi-Domain Landmark Detection1 Apr 2024
- 2024Medical Visual Prompting (MVP): A Unified Framework for Versatile and High-Quality Medical Image Segmentation1 Apr 2024
- 2024Explicit Motion Handling and Interactive Prompting for Video Camouflaged Object Detection4 Mar 2024
- 2024Fine-tuning Reinforcement Learning Models is Secretly a Forgetting Mitigation Problem5 Feb 2024
- 2024Evaluating LLM -- Generated Multimodal Diagnosis from Medical Images and Symptom Analysis28 Jan 2024
- 2023Spectral Prompt Tuning:Unveiling Unseen Classes for Zero-Shot Semantic Segmentation20 Dec 2023
12 newest of 32 All 32 (JSON)