mlsanityData to 7 Oct 2026

Ramen: Robust Test-Time Adaptation of Vision-Language Models with Active Sample Selection

arXiv 2604.21728 ↗First posted 23 Apr 2026cs.CV cs.LGcited by 0

On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP

Abstract (arXiv)

Pretrained vision-language models such as CLIP exhibit strong zero-shot generalization but remain sensitive to distribution shifts. Test-time adaptation adapts models during inference without access to source data or target labels, offering a practical way to handle such shifts. However, existing methods typically assume that test samples come from a single, consistent domain, while in practice, test data often include samples from mixed domains with distinct characteristics. Consequently, their performance degrades under mixed-domain settings. To address this, we present Ramen, a framework for robust test-time adaptation through active sample selection. For each incoming test sample, Ramen retrieves a customized batch of relevant samples from previously seen data based on two criteria: domain consistency, which ensures that adaptation focuses on data from similar domains, and prediction balance, which mitigates adaptation bias caused by skewed predictions. To improve efficiency, Ramen employs an embedding-gradient cache that stores the embeddings and sample-level gradients of past test images. The stored embeddings are used to retrieve relevant samples, and the corresponding gradients are aggregated for model updates, eliminating the need for any additional forward or backward passes. Our theoretical analysis provides insight into why the proposed adaptation mechanism is effective under mixed-domain shifts. Experiments on multiple image corruption and domain-shift benchmarks demonstrate that Ramen achieves strong and consistent performance, offering robust and efficient adaptation in complex mixed-domain scenarios. Our code is available at https://github.com/baowenxuan/Ramen .

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 45 of its 53 references that are in the map. First posted on arXiv 23 Apr 2026.

Builds on

45 of 53 references.

Closest ancestors · 14

Same direction, newest first

  1. 2026Subspace Alignment for Vision-Language Model Test-time Adaptation13 Jan
  2. 2025Mint: A Simple Test-Time Adaptation of Vision-Language Models against Common Corruptions25 Oct
  3. 2025Latte: Collaborative Test-Time Adaptation of Vision-Language Models in Federated Learning29 Jul
  4. 2025Bayesian Test-Time Adaptation for Vision-Language Models12 Mar
  5. 2025Realistic Test-Time Adaptation of Vision-Language Models7 Jan
  6. 2024WATT: Weight Average Test-Time Adaptation of CLIP19 Jun
  7. 2024Frustratingly Easy Test-Time Adaptation of Vision-Language Models28 May
  8. 2024A Lost Opportunity for Vision-Language Models: A Comparative Study of Online Test-Time Adaptation for Vision-Language Models23 May
  9. 2024CLIPArTT: Adaptation of CLIP to New Domains at Test Time1 May
  10. 2024Efficient Test-Time Adaptation of Vision-Language Models27 Mar
  11. 2024Dual Memory Networks: A Versatile Adaptation Approach for Vision-Language Models26 Mar
  12. 2024Just Shift It: Test-Time Prototype Shifting for Zero-Shot Generalization with Vision-Language Models19 Mar
2 more
  1. 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
  2. 2022Tip-Adapter: Training-free Adaption of CLIP for Few-shot Classification19 Jul

Other references · 31

  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. 2016Layer Normalizationcited by 5,579
  5. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  6. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  7. 2018Group Normalizationcited by 1,514
  8. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  9. 2019Root Mean Square Layer Normalizationcited by 1,425
  10. 2019Natural Adversarial Examplescited by 1,401
  11. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  12. 2020In Search of Lost Domain Generalizationcited by 1,042
19 more
  1. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  2. 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 990
  3. 2021RegionCLIP: Region-based Language-Image Pretrainingcited by 612
  4. 2021DenseCLIP: Language-Guided Dense Prediction with Context-Aware Promptingcited by 530
  5. 2022Continual Test-Time Domain Adaptationcited by 520
  6. 2022Efficient Test-Time Model Adaptation without Forgettingcited by 467
  7. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
  8. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
  9. 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 185
  10. 2022NOTE: Robust Continual Test-time Adaptation Against Temporal Correlationcited by 150
  11. 2023Universal Test-time Adaptation through Weight Ensembling, Diversity Weighting, and Prior Correctioncited by 65
  12. 2023SoTTA: Robust Test-Time Adaptation on Noisy Data Streamscited by 63
  13. 2024Beyond Model Adaptation at Test Time: A Surveycited by 55
  14. 2023In Search of Lost Online Test-time Adaptation: A Surveycited by 43
  15. 2023Adaptive Test-Time Personalization for Federated Learningcited by 23
  16. 2024Matcha: Mitigating Graph Structure Shifts with Test-Time Adaptationcited by 10
  17. 2023Bag of Tricks for Fully Test-Time Adaptationcited by 8
  18. 2025Panda: Test-Time Adaptation with Negative Data Augmentationcited by 5
  19. 2025Adapt in the Wild: Test-Time Entropy Minimization with Sharpness and Feature Regularizationcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025ETTA: Efficient Test-Time Adaptation for Vision-Language Models through Dynamic Embedding Updates
  2. 2025Adaptive Cache Enhancement for Test-Time Adaptation of Vision-Language Models
  3. 2025Advancing Reliable Test-Time Adaptation of Vision-Language Models under Visual Variations
  4. 2024DOTA: Distributional Test-Time Adaptation of Vision-Language Models
  5. 2025Segmentation Assisted Incremental Test Time Adaptation in an Open World
  6. 2026Efficient Test-time Adaptation through Candidate Verification and Divergence Shifts
  7. 2025The Illusion of Progress? A Critical Look at Test-Time Adaptation for Vision-Language Models
  8. 2026Robustifying Vision-Language Models via Test-Time Prompt Adaptation