[Paper Review] Dynamic Weighted Learning for Unsupervised Domain Adaptation
This paper proposes Dynamic Weighted Learning (DWL), a novel method for unsupervised domain adaptation that dynamically balances domain alignment and class discriminability by adaptively weighting losses based on real-time monitoring of alignment and discriminability degrees. It further introduces sample weighting to mitigate model bias from imbalanced domain sizes, achieving state-of-the-art performance across multiple benchmarks with significant accuracy gains.
Unsupervised domain adaptation (UDA) aims to improve the classification performance on an unlabeled target domain by leveraging information from a fully labeled source domain. Recent approaches explore domain-invariant and class-discriminant representations to tackle this task. These methods, however, ignore the interaction between domain alignment learning and class discrimination learning. As a result, the missing or inadequate tradeoff between domain alignment and class discrimination are prone to the problem of negative transfer. In this paper, we propose Dynamic Weighted Learning (DWL) to avoid the discriminability vanishing problem caused by excessive alignment learning and domain misalignment problem caused by excessive discriminant learning. Technically, DWL dynamically weights the learning losses of alignment and discriminability by introducing the degree of alignment and discriminability. Besides, the problem of sample imbalance across domains is first considered in our work, and we solve the problem by weighing the samples to guarantee information balance across domains. Extensive experiments demonstrate that DWL has an excellent performance in several benchmark datasets.
Motivation & Objective
- To address the negative transfer caused by imbalance between domain alignment and class discriminability in unsupervised domain adaptation.
- To mitigate model bias arising from imbalanced sample sizes across source and target domains.
- To develop a scalable, dynamic weighting mechanism that adapts to varying cross-domain data scenarios.
- To improve feature representation quality by jointly optimizing alignment and discriminability in a balanced, feedback-driven manner.
Proposed method
- DWL dynamically adjusts the loss weights for domain alignment and class discrimination using a balancing factor τ that reflects real-time degrees of alignment and discriminability.
- The degree of alignment is measured via MMD distance between source and target features, while discriminability is assessed using the maximum J(W) value of the classifier weight matrix.
- A sample weighting mechanism is introduced to balance optimization influence between domains with significantly different sample sizes.
- The dynamic balancing factor τ is updated during training based on the relative progress of alignment and discriminability, enabling adaptive trade-off.
- The method is designed to be plug-and-play, compatible with existing domain adaptation models.
- The framework monitors alignment and discriminability throughout training and feeds back these metrics to adjust loss weighting in real time.
Experimental results
Research questions
- RQ1How can the trade-off between domain alignment and class discriminability be dynamically balanced during training in unsupervised domain adaptation?
- RQ2What impact does data imbalance between source and target domains have on model convergence and performance?
- RQ3Can a real-time feedback mechanism for alignment and discriminability degrees improve feature representation quality?
- RQ4How does dynamic loss weighting compare to static or fixed weighting strategies in diverse cross-domain scenarios?
- RQ5To what extent does sample weighting mitigate model bias caused by imbalanced domain sizes?
Key findings
- DWL achieves a 69.8% accuracy on the W→A task with both sample weighting and dynamic balancing, outperforming the baseline by 1.9 percentage points.
- On the Digits dataset, the dynamic weighting mechanism (τ:1−τ) achieves 97.3% and 97.4% accuracy on M→U and U→M tasks, respectively, surpassing static 1:1 and 9:1 ratios.
- The dynamic balancing factor τ drops below 0.5 in the first epoch on USPS→MNIST, indicating stronger emphasis on discriminability, which aligns with the small domain shift and poor initial discriminability.
- Confusion matrix visualizations show significant reduction in misclassification (e.g., dog→bike and horse confusion) when using DWL compared to Source-only.
- Ablation studies confirm that both sample weighting and dynamic balancing are essential, with the combination yielding the highest accuracy gains.
- The MMD distance decreases while J(W) increases in DWL, indicating effective co-optimization of domain alignment and class discriminability.
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.