Dual Memory Networks: A Versatile Adaptation Approach for Vision-Language Models
Yabin Zhang, Wenjie Zhu, Hui Tang, Zhiyuan Ma, Kaiyang Zhou, Lei Zhang
Abstract
With the emergence of pre-trained vision-language models like CLIP, how to adapt them to various downstream classification tasks has garnered significant attention in recent research. The adaptation strategies can be typically categorized into three paradigms: zero-shot adaptation, few-shot adaptation, and the recently-proposed trainingfree few-shot adaptation. Most existing approaches are tailored for a specific setting and can only cater to one or two of these paradigms. In this paper, we introduce a versatile adaptation approach that can effectively work under all three settings. Specifically, we propose the dual memory networks that comprise dynamic and static memory components. The static memory caches training data knowledge, enabling training-free few-shot adaptation, while the dynamic memory preserves historical test features online during the testing process, allowing for the exploration of additional data insights beyond the training set. This novel capability enhances model performance in the fewshot setting and enables model usability in the absence of training data. The two memory networks employ the same flexible memory interactive strategy, which can operate in a training-free mode and can be further enhanced by incorporating learnable projection layers. Our approach is tested across 11 datasets under the three task settings. Remarkably, in the zero-shot scenario, it outperforms existing methods by over 3% and even shows superior results against methods utilizing external training data. Additionally, our method exhibits robust performance against natural distribution shifts. Codes are available at https: //github.com/YBZh/DMN .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
53 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SeeSR: Towards Semantics-Aware Real-World Image Super-Resolution cites High-Resolution Image Synthesis with Latent Diffusion Models
- Segment Anything cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Segment Anything cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Segment Anything cites Learning Transferable Visual Models From Natural Language Supervision
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation cites High-Resolution Image Synthesis with Latent Diffusion Models
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation cites Learning Transferable Visual Models From Natural Language Supervision
- AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Learning Transferable Visual Models From Natural Language Supervision
- Historical Test-time Prompt Tuning for Vision Foundation Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Historical Test-time Prompt Tuning for Vision Foundation Models cites Segment Anything
- Historical Test-time Prompt Tuning for Vision Foundation Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Historical Test-time Prompt Tuning for Vision Foundation Models cites Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers53
- SeeSR: Towards Semantics-Aware Real-World Image Super-ResolutionRongyuan Wu, Tao Yang, Lingchen Sun, Zhengqiang Zhang et al.CVPR 2024 · 119 citations
- Dual Prototype Evolving for Test-Time Generalization of Vision-Language ModelsCe Zhang, Simon Stepputtis, Katia P. Sycara, Yaqi XieNeurIPS 2024 · 57 citations
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and TransportationYuhan Zhu, Yuyang Ji, Zhiyu Zhao, Gangshan Wu et al.NeurIPS 2024 · 45 citations
- AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language ModelsYabin Zhang, Lei ZhangNeurIPS 2024 · 30 citations
- Historical Test-time Prompt Tuning for Vision Foundation ModelsJingyi Zhang, Jiaxing Huang, Xiaoqin Zhang, Ling Shao et al.NeurIPS 2024 · 29 citations
Builds on43
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen et al.ICML 2021 · 5,401 citations
Related papers
- DART: Dual-Modal Adaptive Online Prompting and Knowledge Retention for Test-Time AdaptationZichen Liu, Hongbo Sun, Yuxin Peng, Jiahuan ZhouAAAI 2024 · 14 citations
- CapS-Adapter: Caption-based MultiModal Adapter in Zero-Shot ClassificationQijie Wang, Guandu Liu, Bin WangACM MM 2024 · 5 citations
- BoostAdapter: Improving Vision-Language Test-Time Adaptation via Regional BootstrappingTaolin Zhang, Jinpeng Wang, Hang Guo, Tao Dai et al.NeurIPS 2024 · 30 citations
- Meta-Adapter: An Online Few-shot Learner for Vision-Language ModelCheng Cheng, Lin Song, Ruoyi Xue, Hang Wang et al.NeurIPS 2023 · 65 citations
- Memory-Free Continual Learning with Null Space Adaptation for Zero-Shot Vision-Language ModelsYujin Jo, Taesup KimICLR 2026 · 2 citations
