[Paper Review] Joint Contrastive Learning for Unsupervised Domain Adaptation
This paper proposes Joint Contrastive Learning (JCL), a novel unsupervised domain adaptation method that explicitly minimizes the joint hypothesis error by maximizing mutual information between features and labels through contrastive learning. By jointly optimizing source-labeled and target-unlabeled data, JCL enhances feature discriminability and achieves state-of-the-art performance on VisDA-2017, outperforming prior methods by up to 6.9% on the most challenging class.
Enhancing feature transferability by matching marginal distributions has led to improvements in domain adaptation, although this is at the expense of feature discrimination. In particular, the ideal joint hypothesis error in the target error upper bound, which was previously considered to be minute, has been found to be significant, impairing its theoretical guarantee. In this paper, we propose an alternative upper bound on the target error that explicitly considers the joint error to render it more manageable. With the theoretical analysis, we suggest a joint optimization framework that combines the source and target domains. Further, we introduce Joint Contrastive Learning (JCL) to find class-level discriminative features, which is essential for minimizing the joint error. With a solid theoretical framework, JCL employs contrastive loss to maximize the mutual information between a feature and its label, which is equivalent to maximizing the Jensen-Shannon divergence between conditional distributions. Experiments on two real-world datasets demonstrate that JCL outperforms the state-of-the-art methods.
Motivation & Objective
- To address the underappreciated role of the joint hypothesis error in target error upper bounds, which undermines theoretical guarantees in domain adaptation.
- To improve feature discriminability beyond marginal distribution alignment, which often sacrifices class-level separability.
- To develop a joint optimization framework that leverages both labeled source and unlabeled target data to minimize the joint error.
- To theoretically justify maximizing mutual information between features and labels as a means to enhance class-wise discriminative power.
- To achieve state-of-the-art performance in unsupervised domain adaptation through a contrastive learning objective grounded in information theory.
Proposed method
- Proposes a new upper bound on the target error that explicitly incorporates the joint hypothesis error, enabling direct optimization of this term.
- Introduces Joint Contrastive Learning (JCL), a contrastive learning framework that jointly optimizes representations from source-labeled and target-unlabeled data.
- Uses InfoNCE contrastive loss to maximize mutual information between learned features and their true labels, which is equivalent to maximizing the Jensen-Shannon divergence between class-conditional distributions.
- Employs a joint embedding space where features from both domains are aligned based on label consistency, improving discriminative power.
- Introduces a hyperparameter γ to balance the contrastive loss with other objectives, with experiments showing robustness to γ variations.
- Applies t-SNE visualization to demonstrate that JCL produces better-separated, class-discriminative features than baseline methods like DANN.
Experimental results
Research questions
- RQ1How does the joint hypothesis error impact the theoretical upper bound of the target error in domain adaptation?
- RQ2Can maximizing mutual information between features and labels lead to better feature discriminability than marginal distribution alignment?
- RQ3Does joint optimization over source and target domains improve generalization in unsupervised domain adaptation?
- RQ4How does the proposed method compare to state-of-the-art methods in terms of accuracy and robustness on real-world benchmarks?
- RQ5To what extent does the contrastive learning objective reduce the ideal joint hypothesis error in practice?
Key findings
- JCL achieves 87.6% average accuracy on the VisDA-2017 benchmark using ResNet-101, outperforming the previous SoTA method CAN by 0.4%.
- On the most challenging class, 'truck', JCL improves accuracy by 6.9 percentage points over CAN (from 59.9% to 66.8%).
- The linear classifier error on JCL-learned representations is significantly lower than on DANN-learned features, indicating a reduced joint hypothesis error.
- Ablation studies show that JCL is robust to hyperparameter γ, with performance stable across a wide range of values.
- t-SNE visualizations confirm that JCL produces more discriminative, well-separated features in the target domain compared to DANN.
- The method effectively trades off entropy and conditional entropy, avoiding degenerate solutions in representation learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.