Skip to main navigation Skip to search Skip to main content

HypDomain: Bridging Domain Gaps in CLIP with Few-Shot Hypernetwork Residuals

  • International Institute of Information Technology, Hyderabad

Research output: Chapter or section in a book/report/conference proceeding › Chapter in a published conference proceeding

Abstract

Modern vision models struggle under domain shifts, failing to generalize across changes in style, context, or medium (e.g., real-world photos to paintings). While CLIP exhibits strong zero-shot transfer, we show that its embeddings retain latent domain-specific structure. Our findings reveal that representations cluster by domain even within the same class, and cross-domain shifts correspond to stable, class-independent directions in embedding space, limiting generalization across domains. To address this, we propose a hypernetwork-based few-shot adaptation framework that takes domain discrepancy directions as input and predicts residual corrections to a fixed classifier for unseen domains. Our method requires only 40 labeled samples in the target domain, which is far fewer than full class coverage, to infer transferable domain-shift directions. This enables adaptation across hundreds of target classes using minimal supervision. Experiments on DomainNet, Office-Home, and PACS demonstrate competitive performance, highlighting CLIP’s latent domain bias and introducing a lightweight, plug-and-play alternative to conventional adaptation methods. Our code is available at - https://github.com/souvikg544/HypDomain.

Original languageEnglish
Title of host publicationPattern Recognition - 28th International Conference, ICPR 2026, Proceedings
EditorsMaria De Marsico, Tin Kam Ho, Frederic Jurie, Cheng-Lin Liu, Daniel Lopresti, Ingela Nyström, Jean-Marc Ogier, Arun Ross, Liang Wang
Place of PublicationCham, Switzerland
PublisherSpringer Nature
Pages292-307
Number of pages16
ISBN (Print)9783032315823
DOIs
Publication statusPublished - 4 Aug 2026
Event28th International Conference on Pattern Recognition, ICPR 2026 - Lyon, France
Duration: 17 Aug 2026 → 22 Aug 2026

Publication series

NameLecture Notes in Computer Science
Volume16813 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference28th International Conference on Pattern Recognition, ICPR 2026
Country/TerritoryFrance
CityLyon
Period17/08/26 → 22/08/26

Keywords

  • CLIP
  • Domain Adaptation
  • Hypernetwork

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'HypDomain: Bridging Domain Gaps in CLIP with Few-Shot Hypernetwork Residuals'. Together they form a unique fingerprint.

Cite this