Enhancing Domain Adaptation through Prompt Gradient Alignment

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Phan, Hoang, Tran, Lam, Tran, Quyen, Le, Trung
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917972637908992
author Phan, Hoang
Tran, Lam
Tran, Quyen
Le, Trung
author_facet Phan, Hoang
Tran, Lam
Tran, Quyen
Le, Trung
contents Prior Unsupervised Domain Adaptation (UDA) methods often aim to train a domain-invariant feature extractor, which may hinder the model from learning sufficiently discriminative features. To tackle this, a line of works based on prompt learning leverages the power of large-scale pre-trained vision-language models to learn both domain-invariant and specific features through a set of domain-agnostic and domain-specific learnable prompts. Those studies typically enforce invariant constraints on representation, output, or prompt space to learn such prompts. In contrast, we cast UDA as a multiple-objective optimization problem in which each objective is represented by a domain loss. Under this new framework, we propose to align per-objective gradients to foster consensus between them. Additionally, to prevent potential overfitting when fine-tuning this deep learning architecture, we penalize the norm of these gradients. To achieve these goals, we devise a practical gradient update procedure that can work under both single-source and multi-source UDA. Empirically, our method consistently outperforms other vision-language model adaptation methods. The implementation is available at https://github.com/VietHoang1512/PGA.
format Preprint
id arxiv_https___arxiv_org_abs_2406_09353
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Enhancing Domain Adaptation through Prompt Gradient Alignment
Phan, Hoang
Tran, Lam
Tran, Quyen
Le, Trung
Machine Learning
Computer Vision and Pattern Recognition
Prior Unsupervised Domain Adaptation (UDA) methods often aim to train a domain-invariant feature extractor, which may hinder the model from learning sufficiently discriminative features. To tackle this, a line of works based on prompt learning leverages the power of large-scale pre-trained vision-language models to learn both domain-invariant and specific features through a set of domain-agnostic and domain-specific learnable prompts. Those studies typically enforce invariant constraints on representation, output, or prompt space to learn such prompts. In contrast, we cast UDA as a multiple-objective optimization problem in which each objective is represented by a domain loss. Under this new framework, we propose to align per-objective gradients to foster consensus between them. Additionally, to prevent potential overfitting when fine-tuning this deep learning architecture, we penalize the norm of these gradients. To achieve these goals, we devise a practical gradient update procedure that can work under both single-source and multi-source UDA. Empirically, our method consistently outperforms other vision-language model adaptation methods. The implementation is available at https://github.com/VietHoang1512/PGA.
title Enhancing Domain Adaptation through Prompt Gradient Alignment
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.09353