mlsanityData to 7 Oct 2026

HCVP: Leveraging Hierarchical Contrastive Visual Prompt for Domain Generalization

arXiv 2401.09716 ↗First posted 18 Jan 2024cs.CV cs.AIcited by 8

Not on the map. Why?

Abstract (arXiv)

Domain Generalization (DG) endeavors to create machine learning models that excel in unseen scenarios by learning invariant features. In DG, the prevalent practice of constraining models to a fixed structure or uniform parameterization to encapsulate invariant features can inadvertently blend specific aspects. Such an approach struggles with nuanced differentiation of inter-domain variations and may exhibit bias towards certain domains, hindering the precise learning of domain-invariant features. Recognizing this, we introduce a novel method designed to supplement the model with domain-level and task-specific characteristics. This approach aims to guide the model in more effectively separating invariant features from specific characteristics, thereby boosting the generalization. Building on the emerging trend of visual prompts in the DG paradigm, our work introduces the novel Hierarchical Contrastive Visual Prompt (HCVP) methodology. This represents a significant advancement in the field, setting itself apart with a unique generative approach to prompts, alongside an explicit model structure and specialized loss functions. Differing from traditional visual prompts that are often shared across entire datasets, HCVP utilizes a hierarchical prompt generation network enhanced by prompt contrastive learning. These generative prompts are instance-dependent, catering to the unique characteristics inherent to different domains and tasks. Additionally, we devise a prompt modulation network that serves as a bridge, effectively incorporating the generated visual prompts into the vision transformer backbone. Experiments conducted on five DG datasets demonstrate the effectiveness of HCVP, outperforming both established DG algorithms and adaptation protocols.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 65 of its 91 references that are in the map. First posted on arXiv 18 Jan 2024.

Builds on

65 of 91 references.

References · 65

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  6. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  7. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  8. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  9. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  10. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  11. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  12. 2014Deep Learning Face Attributes in the Wildcited by 3,679
38 more
  1. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  2. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  3. 2020Shortcut Learning in Deep Neural Networkscited by 1,928
  4. 2019Invariant Risk Minimizationcited by 1,832
  5. 2022Visual Prompt Tuningcited by 1,674
  6. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
  7. 2020In Search of Lost Domain Generalizationcited by 1,042
  8. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  9. 2015Deep Learning and the Information Bottleneck Principlecited by 793
  10. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
  11. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
  12. 2021Domain Generalization: A Surveycited by 760
  13. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
  14. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  15. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  16. 2018Recognition in Terra Incognitacited by 655
  17. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
  18. 2020Self-Challenging Improves Cross-Domain Generalizationcited by 426
  19. 2020Learning to Learn Single Domain Generalizationcited by 295
  20. 2019Domain Randomization and Pyramid Consistency: Simulation-to-Real Generalization without Accessing Target Domain Datacited by 245
  21. 2021Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalizationcited by 220
  22. 2020Few-Shot Learning via Learning the Representation, Provablycited by 213
  23. 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
  24. 2017Domain Generalization by Marginal Transfer Learningcited by 180
  25. 2021A Fine-Grained Analysis on Distribution Shiftcited by 171
  26. 2021Learning to Diversify for Single Domain Generalizationcited by 170
  27. 2020Efficient Domain Generalization via Common-Specific Low-Rank Decompositioncited by 134
  28. 2022Domain Generalization by Mutual-Information Regularization with Pre-trained Modelscited by 133
  29. 2022Domain Adaptation via Prompt Learningcited by 128
  30. 2020Understanding and Improving Information Transfer in Multi-Task Learningcited by 113
  31. 2023Sharpness-Aware Gradient Matching for Domain Generalizationcited by 102
  32. 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalizationcited by 97
  33. 2021OoD-Bench: Quantifying and Understanding Two Dimensions of Out-of-Distribution Generalizationcited by 86
  34. 2021Invariant Information Bottleneck for Domain Generalizationcited by 86
  35. 2022Understanding and Improving Visual Prompting: A Label-Mapping Perspectivecited by 86
  36. 2021Delving Deep into the Generalization of Vision Transformers under Distribution Shiftscited by 85
  37. 2022Sparse Mixture-of-Experts are Domain Generalizable Learnerscited by 85
  38. 2022Visual Prompt Tuning for Generative Transfer Learningcited by 75

50 most cited of 65 All 65 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

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

8 papers.