Abstract
Active Learning (AL) aims to minimize human annotation effort by intelligently selecting the most informative data points for labeling. While recent work has explored learning these selection policies via reinforcement or imitation learning, these policies often struggle to generalize across different domains. This paper proposes a novel "wake-dream" cycle that allows an AL policy to adapt to a target task without consuming the human annotation budget. By treating the current student model as an "imperfect annotator" during "dream" cycles, the system simulates training episodes to fine-tune its selection strategy. Experimental results across various NLP tasks demonstrate that this approach consistently outperforms traditional heuristics and state-of-the-art transfer methods.
Introduction
The primary goal of Active Learning (AL) is to build high-performing machine learning models with minimal labeled data. Traditionally, AL relies on hand-crafted heuristics, such as uncertainty sampling, to identify which unlabeled examples should be prioritized for human annotation. However, these heuristics are often sub-optimal and fail to capture task-specific nuances.
Recent research has shifted toward learning AL policies. While promising, these learned policies are typically trained on a source task and then transferred to a target task. Significant domain shifts—such as moving from general news to medical text—can lead to poor performance. The fundamental challenge lies in adapting these policies to a new target domain without exhausting the very annotation budget AL is meant to preserve.
The Wake-Dream Framework
The authors introduce a framework inspired by the "wake-sleep" algorithm, which interleaves two distinct phases to iteratively improve both the student model and the AL selection policy.
The Wake Phase
In the "Wake" phase, standard Active Learning takes place. The current AL policy $\pi$ selects the most informative data points from an unlabeled pool $D^{unl}$. A human annotator provides ground-truth labels for these points, which are then used to update the student learner $m_\phi$.
The Dream Phase
The "Dream" phase is the core innovation of this work. Instead of requesting further human labels, the system leverages the current student learner to generate "pseudo-labels" for the remaining unlabeled data. This pseudo-labeled dataset serves as a simulation environment or "sandbox." Within this sandbox, the system simulates multiple AL episodes to fine-tune the AL policy.
To update the policy, the authors employ DAGGER (Dataset Aggregation), an imitation learning algorithm. The policy is trained to mimic an "algorithmic expert" that possesses look-ahead capabilities, identifying which data points would most significantly reduce model loss if their (pseudo) labels were known.
Experimental Evaluation
The framework was evaluated across several challenging Natural Language Processing (NLP) scenarios:
- Cross-domain Sentiment Classification: Transferring policies between different categories of Amazon product reviews (e.g., Electronics to Music).
- Cross-lingual Authorship Profiling: Predicting gender from Twitter data across English, Spanish, and Portuguese using the PAN 2017 dataset.
- Named Entity Recognition (NER):
- Cross-annotation/Bilingual: Switching between labeling schemes (IO vs. IBO) and languages (English, German, Spanish, Dutch) using CoNLL datasets.
- Biomedical NER: Adapting a policy from general news to medical abstracts (Genia4ER corpus).
Key Insights
- The Virtuous Cycle: A feedback loop is established where improvements in the student learner during the wake phase lead to more realistic "dreams." These higher-quality simulations, in turn, produce a more effective selection policy that identifies better data for the student model.
- Robustness to Noise: Despite the student learner being an "imperfect annotator," the distributional information of the target task provides sufficient signal for policy adaptation. The results suggest that capturing the target domain's characteristics is more critical than perfect label accuracy during the dream phase.
- Mitigating Heuristic Bias: Learned policies can overcome the inherent biases of fixed heuristics. For instance, while uncertainty sampling often over-selects extremely long sentences in NER tasks, the dream-based policy learned to prioritize moderately long sentences that offer a better information-to-complexity ratio.
Results and Discussion
The "Dreaming" approach consistently outperformed traditional heuristics (Random, Diversity, Uncertainty) and existing data-driven transfer methods like PAL and ALIL. Notably, in cross-lingual NER, the method successfully adapted to changes in annotation schemes where other learned policies failed. By achieving higher performance with fewer labeled documents, the framework demonstrates significant sample efficiency.
Limitations
While effective, the approach introduces computational overhead due to the simulation cycles. The authors mitigated this by using data subsets for dreams. Additionally, the method benefits from a "warm-start" with a pre-trained policy; starting from scratch can lead to noisy signals in early iterations. Future work may explore scaling this framework to large-scale transformer models like BERT or GPT.
Conclusion
The wake-dream framework provides a powerful mechanism for adapting Active Learning policies to new domains without additional human effort. By simulating the annotation process using the model's own predictions, the system learns to navigate the specific challenges of a target task, leading to more efficient data acquisition and better model performance.
Summary updated