Perturbation-Based Two-Stage Multi-Domain Active Learning

Rui He, Zeyu Dai, Shan He, Ke Tang · DOI

Introduction

In the landscape of modern machine learning, data often originates from multiple distinct yet related sources, known as domains. For instance, a sentiment analysis model might need to process text from diverse platforms like Twitter, Facebook, and Weibo simultaneously. While these domains share underlying linguistic patterns, their specific distributions vary significantly. Multi-Domain Learning (MDL) aims to exploit these shared patterns to improve model performance across all domains.

However, the primary bottleneck in MDL is the high cost of labeling data for every individual domain. While Active Learning (AL) traditionally addresses this by selecting the most informative samples for labeling, standard AL strategies are typically designed for single-domain scenarios. When applied to MDL, these methods often fail to account for shared cross-domain information and produce scores that are not comparable across different data sources, leading to biased selection. This paper introduces P2S-MDAL, a novel two-stage active learning strategy specifically engineered for the complexities of multi-domain environments.

Methodology: The P2S-MDAL Framework

The authors propose a two-stage framework integrated into the Adversarial Shared-Private Multi-Task Learning (ASP-MTL) architecture. This architecture is particularly suited for MDL as it explicitly separates features into a "shared" space (common to all domains) and a "private" space (unique to each domain).

Stage 1: Establishing Selecting Regions

The first stage focuses on ensuring diversity and fair representation across the multi-domain pool:

  1. Budget Allocation: To prevent the model from ignoring smaller domains, the labeling budget is allocated to each domain proportional to its size, ensuring a representative sample from the entire data ecosystem.
  2. Gradient-Based Diversity Clustering: Within each domain, the unlabeled data is partitioned into regions using the $k$-means algorithm. Unlike traditional methods that cluster in the raw feature space, P2S-MDAL performs clustering in the gradient space (utilizing gradients from the model's last layer). Gradients are a more effective proxy for informativeness as they capture how a specific sample would influence the current model weights.

Stage 2: Domain Influence Estimation

The second stage identifies which samples within those regions will most benefit the shared components of the model:

  1. The Perturbation Trick: The authors focus on the "shared feature extractor." They introduce small Gaussian noise (perturbations) to the output of this shared component.
  2. Sensitivity as Informativeness: The method measures how much a sample’s final classification changes (using Kullback-Leibler divergence) when its shared features are slightly nudged. If a sample is highly sensitive to these perturbations, it indicates that the model has not yet robustly learned the shared characteristics of that data point. These "cross-domain influential" samples are prioritized for labeling, as their inclusion provides a "rising tide" effect that improves the shared representation for all domains.

Experimental Evaluation

The researchers evaluated P2S-MDAL against state-of-the-art AL strategies, including BADGE, Coreset, and BvSB, across three diverse benchmarks:

  • Amazon: A textual dataset featuring four product category domains.
  • COIL: An image dataset containing two domains with twenty object categories.
  • FDUMTL: A complex textual dataset comprising sixteen different domains.

Key Results

P2S-MDAL consistently outperformed or matched the performance of existing methods while maintaining computational efficiency:

  • Amazon: Achieved an Area Under Learning Curve (AULC) of 81.52, surpassing BADGE (81.34).
  • COIL: Reached an AULC of 94.48, showing high consistency compared to other methods that fluctuated across datasets.
  • FDUMTL: On this challenging 16-domain task, P2S-MDAL achieved 85.35, significantly outperforming the random baseline of 84.43.

Furthermore, the method proved more efficient than distribution-based methods like Coreset. By performing clustering on a per-domain basis rather than on the entire multi-domain pool, P2S-MDAL reduces the computational overhead associated with large-scale data selection.

Discussion and Insights

The success of P2S-MDAL stems from three core insights:

  1. Leveraging Shared vs. Private Architecture: By targeting the shared feature extractor, the method identifies samples that offer the highest utility for the entire multi-domain system.
  2. Gradients over Features: Using gradients for diversity selection captures the dynamic relationship between the data and the model's current state, which raw features cannot reflect.
  3. Robustness as a Proxy for Uncertainty: Rather than relying solely on label uncertainty (like entropy-based AL), P2S-MDAL uses the robustness of the shared representation to noise as a more reliable indicator of a sample's potential for learning.

Conclusion and Future Work

P2S-MDAL represents a significant step forward in making multi-domain learning more label-efficient. While highly effective, the authors note that future iterations could improve budget allocation by considering "domain difficulty" rather than just domain size. Additionally, while currently coupled with the ASP-MTL architecture, the perturbation logic could potentially be extended to other MDL frameworks. The ultimate goal is a unified framework where model training and active learning selection are optimized in a single, seamless process.

Summary updated

BibTeX
@inproceedings{he2023perturbation,
  author = {Rui He and Zeyu Dai and Shan He and Ke Tang},
  title = {{Perturbation-Based Two-Stage Multi-Domain Active Learning}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2023},
  doi = {10.1145/3583780.3615222},
}
Figure