Abstract
Transfer learning aims to learn robust classifiers for the target domain by leveraging knowledge from a source domain. Since the source and the target domains are usually from different distributions, existing methods mainly focus on adapting the cross-domain marginal or conditional distributions. However, in real applications, the marginal and conditional distributions usually have different contributions to the domain discrepancy. Existing methods fail to quantitatively evaluate the different importance of these two distributions, which will result in unsatisfactory transfer performance. In this paper, we propose a novel concept called Dynamic Distribution Adaptation (DDA), which is capable of quantitatively evaluating the relative importance of each distribution. DDA can be easily incorporated into the framework of structural risk minimization to solve transfer learning problems. On the basis of DDA, we propose two novel learning algorithms: (1) Manifold Dynamic Distribution Adaptation (MDDA) for traditional transfer learning, and (2) Dynamic Distribution Adaptation Network (DDAN) for deep transfer learning. Extensive experiments demonstrate that MDDA and DDAN significantly improve the transfer learning performance and setup a strong baseline over the latest deep and adversarial methods on digits recognition, sentiment analysis, and image classification. More importantly, it is shown that marginal and conditional distributions have different contributions to the domain divergence, and our DDA is able to provide good quantitative evaluation of their relative importance which leads to better performance.
Introduction
The core objective of transfer learning is to utilize knowledge from a "source" domain to improve learning in a related "target" domain where data may be scarce or unlabeled. A significant hurdle in this process is the distribution shift between domains. Traditionally, researchers have focused on aligning either the Marginal Distribution ($P(x)$)—the overall feature distribution—or the Conditional Distribution ($P(y|x)$)—the class-specific alignment.
However, most existing methods treat these two distributions as equally important. In real-world scenarios, their relative contributions to domain discrepancy vary. For instance, if domains are fundamentally different, aligning the overall marginal distribution is critical; if they are similar, fine-grained conditional alignment becomes the priority. Failing to account for this "relative importance" leads to sub-optimal transfer performance.
Methodology: Dynamic Distribution Adaptation (DDA)
We propose the Dynamic Distribution Adaptation (DDA) framework, which introduces an adaptive factor $\mu$ to balance the alignment of marginal and conditional distributions:
$$D_f = (1 - \mu)D_{marginal} + \mu D_{conditional}$$
Key Innovations
- Quantitative Evaluation of $\mu$: Instead of manual tuning, DDA estimates $\mu$ using the $\mathcal{A}$-distance, which measures the error of a linear classifier trained to distinguish between the two domains. This allows the model to automatically "sense" which distribution requires more alignment.
- MDDA (Manifold DDA): Designed for traditional transfer learning, this algorithm maps features into a Grassmann manifold using Geodesic Flow Kernels (GFK) to mitigate feature distortion before applying DDA.
- DDAN (Dynamic Distribution Adaptation Network): An end-to-end deep learning architecture that integrates the DDA loss directly into a convolutional neural network (CNN).
- Iterative Refinement: Since target labels are typically unknown, the model utilizes "soft labels" (pseudo-labels) from a source-trained classifier and iteratively refines them to improve conditional distribution alignment.
Experimental Evaluation
We evaluated MDDA and DDAN across five diverse benchmark datasets: USPS+MNIST (digit recognition), Amazon Review (sentiment analysis), Office-31, ImageCLEF-DA, and Office-Home (image classification).
Performance Results
The DDA approach consistently outperformed both traditional and the latest deep/adversarial transfer learning methods:
- Digit Recognition: MDDA outperformed the previous state-of-the-art (JGSA) by 8.9%.
- Sentiment Analysis: MDDA achieved a 6.0% improvement over the CORAL baseline.
- Image Classification: On the challenging Office-Home dataset, MDDA outperformed the deep CDAN method by 4.5%.
Ablation studies further confirmed that the DDA component is the most significant contributor to these performance gains, outweighing the benefits of manifold learning or Laplacian regularization alone.
Conclusion and Future Work
Dynamic Distribution Adaptation provides a robust, automated way to handle unsupervised transfer learning by quantitatively evaluating the relative importance of marginal and conditional distributions. While the current framework assumes a closed-set label space, future work will extend DDA to open-set domain adaptation and partial transfer learning. We also aim to explore heterogeneous transfer learning, where the source and target domains possess different feature spaces, such as transferring knowledge from text to images.
Summary updated