Composite Active Learning: Towards Multi-Domain Active Learning with Theoretical Guarantees

Guang-Yuan Hao, Hengguan Huang, Haotian Wang, Jie Gao

TL;DR

Composite Active Learning (CAL) is the first general framework designed for multi-domain active learning, where data comes from multiple related but distinct distributions. By explicitly estimating domain similarity and aligning features to handle distribution shifts, CAL optimizes how a labeling budget is distributed across domains, outperforming state-of-the-art methods with proven theoretical guarantees.

What Problem Does This Paper Address?

Standard Active Learning (AL) typically assumes all data comes from a single, uniform domain. However, real-world applications are often "multi-domain." Imagine training a wildlife detector: images might come from different forests, each with unique lighting, backgrounds, and weather—these are distinct domains.

Prior AL methods struggle here for two reasons:

  1. Ignoring Domain Similarity: They don't realize that labeling data in one domain might help the model generalize to a similar, unlabeled domain.
  2. Distribution Shift: They often learn domain-specific features rather than domain-invariant ones, leading to poor performance when the model is tested across all environments.

The authors propose MUlti-Domain Active Learning (MUDAL) to bridge this gap, aiming to maximize average accuracy across all domains within a fixed total budget.

Methods

The authors introduce Composite Active Learning (CAL), a two-level framework that manages both where to spend the budget (domain-level) and which specific samples to pick (instance-level).

Overview of the CAL framework showing surrogate domain construction and feature alignment.

Key Components:

  • Surrogate Domains: Since labeled data in a specific domain might be biased by the query strategy, CAL constructs a "surrogate domain" for each original domain. A surrogate is a weighted mixture of labeled data from all domains.
  • Similarity Estimation: The system learns weights ($\alpha$) that reflect how similar labeled domains are to an original target domain. This is done by minimizing the distance between the surrogate and original feature distributions.
  • Feature Alignment: CAL uses a conditional discriminator in a minimax game (similar to a GAN) to learn an encoder that maps data from different domains into a shared, aligned feature space, reducing distribution shift.
  • Optimal Budget Assignment: The authors mathematically prove that the best way to spend a budget is to allocate it proportionally to a domain's "summary similarity score"—essentially, how representative that domain is of the others.
  • GraDS (Gradient with Discriminator Score): A new instance-level strategy that enhances the popular BADGE algorithm by incorporating an "outlier score" from the discriminator, prioritizing samples that the model finds both uncertain and "out-of-distribution" relative to the current labeled set.

Datasets

The researchers evaluated CAL on both synthetic and real-world benchmarks:

  • RotatingMNIST-D6: A synthetic dataset where MNIST digits are rotated in 30° increments to create 6 distinct domains.
  • Office-Home: A challenging real-world dataset with 65 object categories across 4 domains (Artistic, Clip Art, Product, and Real-World).
  • ImageCLEF: 12 classes across 4 domains, each collected from a different source dataset.
  • Office-Caltech: 10 common classes shared across 4 domains (Amazon, Webcam, DSLR, and Caltech).

Key Insights and Ideas

  • Representative Power: The "aha moment" is that some domains are more "central" than others. Labeling a representative domain (like $O_2$ in Figure 1) provides a "free" performance boost to similar domains because they likely share decision boundaries.
Figure 1: Among the four domains, domain O2 is the closest to the other three domains. Assigning more labels to this representative domain O2 could better generalize to other domains, since similar domains may have similar decision boundaries.
  • Agnosticism is a Feature: CAL’s domain-level budget allocation is agnostic to the instance-level query strategy. You can plug in Random, Margin, or BADGE, and CAL will still improve the outcome by optimizing the budget distribution.
  • The Similarity Matrix: Visualizing the learned weights ($\alpha$) confirms that the model correctly identifies relationships. In RotatingMNIST, domains with similar rotation angles show higher similarity weights.
Figure 3: Estimated similarity αi,j and αj for RotatingMNIST- D6.

Key Results

CAL consistently outperformed all baselines, including state-of-the-art active domain adaptation methods.

  • Synthetic Performance: On RotatingMNIST-D6, CAL achieved an average accuracy of 77.7%, a massive 11.2% jump over the best instance-level baseline (Cluster-Margin).
  • Real-World Gains: On the Office-Home dataset, CAL reached 51.9% average accuracy, outperforming the best baseline by 3.5%.
  • Robustness: As shown in the tables below, CAL's lead is consistent across every round of active learning, not just at the end.

Table 1: RotatingMNIST results showing CAL's significant lead. Table 2: Office-Home results demonstrating real-world effectiveness.

Limitations and Future Work

  • Shared Spaces: The current method assumes all domains share the same input space and label space. It might struggle if domains have entirely different feature sets or non-overlapping classes.
  • Domain Splitting: The number of domains is currently predefined. The authors suggest that automatically determining how to split a large, heterogeneous dataset into optimal domains is a promising future research direction.
  • NLP Applications: While tested on vision tasks, the authors believe CAL could be adapted for Natural Language Processing, particularly for in-context learning in Large Language Models.

Summary updated

BibTeX
@inproceedings{hao2024composite,
  author = {Guang-Yuan Hao and Hengguan Huang and Haotian Wang and Jie Gao and Hao Wang},
  title = {{Composite Active Learning: Towards Multi-Domain Active Learning with Theoretical Guarantees}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i11.29119},
}
Figure