Split to Merge: Unifying Separated Modalities for Unsupervised Domain Adaptation

Xinyao Li, Yuke Li, Zhekai Du, Fengling Li, Ke Lu, Jingjing LiCVPR 2024

Abstract

Large vision-language models (VLMs) like CLIP have demonstrated good zero-shot learning performance in the unsupervised domain adaptation task. Yet, most transfer approaches for VLMs focus on either the language or visual branches, overlooking the nuanced interplay between both modalities. In this work, we introduce a Unified Modality Separation (UniMoS) framework for unsupervised domain adaptation. Leveraging insights from modality gap studies, we craft a nimble modality separation network that distinctly disentangles CLIP's features into language-associated and vision-associated components. Our proposed Modality-Ensemble Training (MET) method fosters the exchange of modality-agnostic information while maintaining modality-specific nuances. We align features across domains using a modality discriminator. Comprehensive evaluations on three benchmarks reveal our approach sets a new state-of-the-art with minimal computational costs.

Introduction

Unsupervised Domain Adaptation (UDA) aims to transfer knowledge from a labeled source domain to an unlabeled target domain. With the advent of Vision-Language Models (VLMs) like CLIP, researchers have leveraged their robust zero-shot capabilities for UDA. However, a significant challenge remains: the "modality gap." Visual and textual features in CLIP reside in distinct distributions, and existing adaptation methods often neglect the complex relationship between these modalities, typically fine-tuning only one branch.

Motivation: The Case for Modality Separation

The core motivation for UniMoS stems from the observation that different objects are better characterized by different modalities. As shown in Figure 1, a "chair" might be highly recognizable through visual patterns (image modality), whereas a "file cabinet" might be more easily identified through its semantic context (text modality).

Figure 1: Motivation for UniMoS: Different objects exhibit varying classification confidence across image and text modalities.

By treating visual features as a monolithic entity, current models fail to exploit these modality-specific strengths. UniMoS addresses this by explicitly separating visual features into language-associated and vision-associated components.

The UniMoS Framework

The UniMoS framework employs a "Split to Merge" strategy to optimize domain adaptation without the heavy computational cost of fine-tuning the entire VLM backbone.

1. Modality Separation

UniMoS utilizes two lightweight linear separators to decompose a visual feature into a Language-Associated Component (LAC) and a Vision-Associated Component (VAC). To ensure these components capture distinct information, an orthogonal loss function ensures they stay distinct during training.

2. Specialized Training and Ensemble

The architecture, detailed in Figure 2, highlights the dual-path training process:

  • LAC Path: This component is trained via knowledge distillation from CLIP’s text branch, ensuring it retains the semantic richness of the language modality.
  • VAC Path: This component uses deep clustering to capture local visual structures and class-specific discriminability that might be absent in raw CLIP features.
Figure 2: The UniMoS framework architecture, illustrating the modality separation and ensemble training process.

3. Modality-Ensemble Training (MET)

A dynamic weight generator predicts the relative importance of LAC and VAC for each sample. This allows the model to adaptively merge the strengths of both components, providing a more robust classification than either modality could achieve alone.

Experimental Results

UniMoS was evaluated across several rigorous UDA benchmarks, including Office-Home, VisDA-2017, and DomainNet.

Performance and Efficiency

The framework achieved state-of-the-art results, notably reaching an average accuracy of 77.9% on Office-Home. Beyond accuracy, UniMoS offers dramatic improvements in efficiency:

  • Training Speed: On VisDA-2017, UniMoS completes training in 0.5 hours, representing a 47x speedup over previous methods like PADCLIP.
  • Memory Footprint: While some competitors require over 22GB of VRAM, UniMoS operates on less than 3GB, as the heavy CLIP backbone remains frozen throughout the process.

Conclusion

UniMoS demonstrates that the modality gap in VLMs can be leveraged as an asset rather than a hurdle. By disentangling and then dynamically merging language and vision components, the framework achieves superior adaptation performance with a fraction of the computational resources required by traditional fine-tuning methods. This "Split to Merge" approach paves the way for more efficient and nuanced multimodal learning in unsupervised settings.

Summary updated

BibTeX
@inproceedings{li2024split,
  author = {Xinyao Li and Yuke Li and Zhekai Du and Fengling Li and Ke Lu and Jingjing Li},
  title = {{Split to Merge: Unifying Separated Modalities for Unsupervised Domain Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=F4lt9g6PTv},
}
Figure