Automatic online multi-source domain adaptation

Renchunzi Xie, Mahardhika Pratama · DOI

TL;DR

AOMSDA is a new framework for "multistream" classification that learns to transfer knowledge from multiple source data streams to an unlabeled target stream in real-time. By combining a self-organizing denoising autoencoder with a high-order moment discrepancy measure, it effectively handles independent concept drifts and determines which sources are most relevant to the target at any given moment.

What Problem Does This Paper Address?

In the real world, data doesn't just sit in a static database; it flows in streams (e.g., sensor data from manufacturing lines). Traditional machine learning often struggles with multistream classification due to four major hurdles:

  1. Covariate Shift: The data distributions of the sources and the target are different.
  2. Label Scarcity: We usually have labels for the source streams but none for the target stream.
  3. Asynchronous Drift: "Concept drift"—where the underlying patterns in the data change—happens at different times for different streams.
  4. Varying Relevance: Not every source stream is equally useful. A source that was helpful yesterday might be irrelevant today because its environment changed.

Existing methods often focus on a single source or are "offline," meaning they can't adapt as the data flies by. AOMSDA aims to solve all four problems simultaneously in a one-pass, online learning setting.

Methods

The authors built AOMSDA on the foundation of a Denoising Autoencoder (DAE), but with several clever modifications:

  • Coupled Generative & Discriminative Learning: The model uses shared parameters to minimize two things at once: the reconstruction error (generative) and the classification error (discriminative). This parameter sharing helps create a "domain-invariant" feature space where source and target data look similar.
  • CMD-based Regularizer: To handle varying relevance, the authors integrated Central Moment Discrepancy (CMD). Unlike simpler measures that only look at means, CMD looks at high-order moments (statistical patterns) to determine how "close" a source stream is to the target. This acts as an implicit weighting system, favoring relevant sources and ignoring noisy ones.
  • Self-Organizing Structure: To handle asynchronous drift in source streams, the network isn't fixed. It uses a "Network Significance" (NS) logic based on bias-variance decomposition to automatically add (grow) or remove (prune) hidden nodes as the data distribution evolves.
  • Node Re-weighting Strategy: Since the target stream has no labels, the model uses a "smoothness assumption" (via a graph Laplacian) to handle target-side drift. The idea is simple: similar inputs should produce similar outputs.

Datasets

The model was evaluated on eight diverse datasets, most of which are non-stationary (contain drifts):

  • Synthetic: Sea, Hyperplane.
  • Real-world: Weather (50 years of data), KDDCUP (network intrusion), Kitti (autonomous driving vision), Susy & Hepmass (high-energy physics), and OQC (online quality classification for manufacturing).
  • Scale: The Susy and Hepmass datasets are particularly large, containing 1.25 million and 2.6 million samples, respectively.

Key Insights and Ideas

  • The Power of High-Order Moments: The "aha moment" here is that matching just the mean and variance of two domains isn't enough for complex streams. By using CMD to match higher-order statistical moments in the embedding space, AOMSDA achieves much finer-grained domain alignment.
  • Structural Plasticity is Essential: A fixed-size neural network is a liability in streaming environments. The ability to grow nodes when the model is underfitting (high bias) and prune them when it's overfitting (high variance) allows the model to stay lean while remaining accurate.
  • Implicit Weighting: Instead of manually assigning weights to different sensors or sources, the CMD regularizer naturally "tunes down" the influence of a source stream if its distribution drifts too far away from what the target is currently seeing.

Key Results

AOMSDA was compared against several baselines, including Melanie (an ensemble approach), ATL (a single-source autonomous learner), and MDAN (an offline multi-source adapter).

  • Performance: AOMSDA outperformed counterparts in 5 out of 8 cases. It showed significant leads in the largest datasets, beating others by 3% on Hepmass and 5% on Susy.
  • Efficiency: Despite being an online, one-pass learner, it often outperformed MDAN even when MDAN was allowed to run for 15 epochs (iterations) over the data.
  • Scalability: The study confirmed that adding more source streams generally improves accuracy, proving the model successfully exploits complementary information rather than getting confused by extra data.

Limitations and Future Work

  • Class Imbalance: The authors acknowledge that skewed class proportions (e.g., in the KDDCUP dataset) still pose a challenge and require more in-depth study.
  • Computational Overhead: While more efficient than some predecessors, the structural evolution and CMD calculations still add complexity compared to a standard fixed-weight network.
  • Cross-Domain Transfer: The current work assumes the feature space is the same across domains (e.g., all streams have the same number of sensors). Future work will look at "cross-domain" transfer where the features themselves might differ.

For those interested in the implementation, the source code is available on GitHub.

Summary updated

BibTeX
@article{xie2022automatic,
  author = {Renchunzi Xie and Mahardhika Pratama},
  title = {{Automatic online multi-source domain adaptation}},
  journal = {Information Sciences},
  year = {2022},
  doi = {10.1016/j.ins.2021.09.031},
}
Figure