Domain-Agnostic Mutual Prompting for Unsupervised Domain Adaptation

Zhekai Du, Xinyao Li, Fengling Li, Ke Lu, Lei Zhu +1 more
2/9/2026

No official code found. Best implementation: TL-UESTC/DAMP (40 stars, last commit 2024-05-28).

Abstract

Conventional Unsupervised Domain Adaptation (UDA) strives to minimize distribution discrepancy between do-mains, which neglects to harness rich semantics from data and struggles to handle complex domain shifts. A promising technique is to leverage the knowledge of large-scale pretrained vision-language models for more guided adaptation. Despite some endeavors, current methods often learn textual prompts to embed domain semantics for source and target domains separately and perform classification within each domain, limiting cross-domain knowledge transfer. Moreover, prompting only the language branch lacks flex-ibility to adapt both modalities dynamically. To bridge this gap, we propose Domain-Agnostic Mutual Prompting (DAMP) to exploit domain-invariant semantics by mutually aligning visual and textual embeddings. Specifically, the image contextual information is utilized to prompt the language branch in a domain-agnostic and instance-conditioned way. Meanwhile, visual prompts are im-posed based on the domain-agnostic textual prompt to elicit domain-invariant visual embeddings. These two branches of prompts are learned mutually with a cross-attention module and regularized with a semantic-consistency loss and an instance-discrimination contrastive loss. Experiments on three UDA benchmarks demonstrate the superiority of DAMP over state-of-the-art approaches 1.

View on arXivView PDF

Code Implementations(1)

TL-UESTC/DAMPCommunity68%

The Pytorch implementation of Domain-Agnostic Mutual Prompting for Unsupervised Domain Adaptation

401Shell, PythonMar 5, 20242 years ago

Similar Papers

Cite this paper

@article{du2026domainagnostic,
  title  = {Domain-Agnostic Mutual Prompting for Unsupervised Domain Adaptation},
  author = {Zhekai Du and Xinyao Li and Fengling Li and Ke Lu and Lei Zhu and Jingjing Li},
  year   = {2026},
  eprint = {2403.02899},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2403.02899},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.02899.svg)](https://codeofpaper.com/paper/2403.02899)

Discussion