Random Registers for Cross-Domain Few-Shot Learning
Not on the map. Why?
Abstract (arXiv)
Cross-domain few-shot learning (CDFSL) aims to transfer knowledge from a data-sufficient source domain to data-scarce target domains. Although Vision Transformer (ViT) has shown superior capability in many vision tasks, its transferability against huge domain gaps in CDFSL is still under-explored. In this paper, we find an intriguing phenomenon: during the source-domain training, prompt tuning, as a common way to train ViT, could be harmful for the generalization of ViT in target domains, but setting them to random noises (i.e., random registers) could consistently improve target-domain performance. We then delve into this phenomenon for an interpretation. We find that learnable prompts capture domain information during the training on the source dataset, which views irrelevant visual patterns as vital cues for recognition. This can be viewed as a kind of overfitting and increases the sharpness of the loss landscapes. In contrast, random registers are essentially a novel way of perturbing attention for the sharpness-aware minimization, which helps the model find a flattened minimum in loss landscapes, increasing the transferability. Based on this phenomenon and interpretation, we further propose a simple but effective approach for CDFSL to enhance the perturbation on attention maps by adding random registers on the semantic regions of image tokens, improving the effectiveness and efficiency of random registers. Extensive experiments on four benchmarks validate our rationale and state-of-the-art performance. Codes and models are available at https://github.com/shuaiyi308/REAP.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 42 of its 53 references that are in the map. First posted on arXiv 3 Jun 2025.
Builds on
42 of 53 references.
References · 42
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2019Similarity of Neural Network Representations Revisitedcited by 1,755
- 2022Visual Prompt Tuningcited by 1,681
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2017ChestX-ray8: Hospital-scale Chest X-ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseasescited by 972
- 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
- 2023Vision Transformers Need Registerscited by 871
30 more
- 2019Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)cited by 669
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimizationcited by 308
- 2016Using Deep Learning for Image-Based Plant Disease Detectioncited by 219
- 2020Cross-Domain Few-Shot Classification via Learned Feature-Wise Transformationcited by 185
- 2020Meta-Baseline: Exploring Simple Meta-Learning for Few-Shot Learningcited by 179
- 2022Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Differencecited by 126
- 2020Adversarial Feature Hallucination Networks for Few-Shot Learningcited by 110
- 2022Reliability of CKA as a Similarity Measure in Deep Learningcited by 87
- 2021Delving Deep into the Generalization of Vision Transformers under Distribution Shiftscited by 85
- 2022Visual Prompt Tuning for Generative Transfer Learningcited by 75
- 2021Cross-Domain Few-Shot Classification via Adversarial Task Augmentationcited by 63
- 2023On the Stability-Plasticity Dilemma of Class-Incremental Learningcited by 56
- 2021Meta-FDMixup: Cross-Domain Few-Shot Learning Guided by Labeled Target Datacited by 48
- 2022Margin-Based Few-Shot Class-Incremental Learning with Class-Level Overfitting Mitigationcited by 45
- 2022Understanding Cross-Domain Few-Shot Learning Based on Domain Similarity and Few-Shot Difficultycited by 37
- 2022Adversarial Feature Augmentation for Cross-domain Few-shot Classificationcited by 36
- 2021Ranking Distance Calibration for Cross-Domain Few-Shot Learningcited by 27
- 2022Position-guided Text Prompt for Vision-Language Pre-trainingcited by 27
- 2024Flatten Long-Range Loss Landscapes for Cross-Domain Few-Shot Learningcited by 26
- 2024Compositional Few-Shot Class-Incremental Learningcited by 18
- 2022Accumulated Trivial Attention Matters in Vision Transformers on Small Datasetscited by 15
- 2023Deep Learning for Cross-Domain Few-Shot Visual Recognition: A Surveycited by 14
- 2024Enhancing Information Maximization with Distance-Aware Contrastive Learning for Source-Free Cross-Domain Few-Shot Learningcited by 13
- 2024Efficient Vision-Language Pre-training by Cluster Maskingcited by 13
- 2020Revisiting Mid-Level Patterns for Cross-Domain Few-Shot Recognitioncited by 10
- 2023TFS-ViT: Token-Level Feature Stylization for Domain Generalizationcited by 10
- 2024Reconstruction Target Matters in Masked Image Modeling for Cross-Domain Few-Shot Learningcited by 9
- 2019Learning Multi-level Weight-centric Features for Few-shot Learningcited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Reclaiming Lost Text Layers for Source-Free Cross-Domain Few-Shot Learningcited by 5
- 2026Addressing Exacerbated Attention Sink for Source-Free Cross-Domain Few-Shot Learningcited by 2
- 2026Improving CLIP Adaptation by Breaking Tail Alignment for Source-Free Cross-Domain Few-Shot Learningcited by 1
- 2026SRasP: Self-Reorientation Adversarial Style Perturbation for Cross-Domain Few-Shot Learningcited by 0
- 2026Improving CLIP Adaptation by Breaking Tail Alignment for Source-Free Cross-Domain Few-Shot Learning28 May 2026
- 2026Addressing Exacerbated Attention Sink for Source-Free Cross-Domain Few-Shot Learning25 May 2026
- 2026Reclaiming Lost Text Layers for Source-Free Cross-Domain Few-Shot Learning5 Mar 2026
- 2026SRasP: Self-Reorientation Adversarial Style Perturbation for Cross-Domain Few-Shot Learning5 Mar 2026