Learning to Learn from Weak Supervision by Full Supervision

Mostafa Dehghani, Aliaksei Severyn, Sascha Rothe, Jaap KampsarXiv 2017

Abstract

Deep learning models typically require vast amounts of high-quality labeled data, which is often prohibitively expensive to obtain. Weak supervision offers a scalable alternative by using heuristics or external knowledge to generate labels, but these labels are frequently noisy. We present a meta-learning framework that effectively leverages a small "gold-standard" dataset to calibrate the reliability of a much larger, weakly supervised dataset. By training a secondary "confidence network" to weight the importance of noisy gradient updates, our approach achieves state-of-the-art results in sentiment analysis and demonstrates faster convergence compared to traditional methods.

Introduction

The success of deep learning is largely driven by the availability of massive human-annotated datasets. However, the cost and time required for manual labeling create a significant bottleneck. Weak supervision—generating labels via simple rules, lexicons, or distant supervision—provides a way to create millions of training instances for free. The trade-off is that these labels are often inaccurate, introducing noise that can degrade model performance.

Traditional approaches often involve pre-training on noisy data followed by fine-tuning on clean data. This sequential process is suboptimal, as the model may overfit to noise during pre-training, creating "bad habits" that are difficult to correct. This paper proposes a joint learning framework where a small amount of perfectly labeled data is used to guide the learning process from a large, imperfect dataset in real-time.

The L2LWS Framework

The proposed architecture, Learning to Learn from Weak Supervision (L2LWS), consists of two interacting neural networks:

  1. The Target Network (Learner): The primary model designed for the specific task, such as sentiment classification.
  2. The Confidence Network (Meta-Learner): A secondary network that evaluates a data instance and its associated weak label to predict a "confidence score" ($c_i$).

Both networks share a common "Representation Learning" layer. This shared component allows the Confidence Network to leverage the linguistic patterns learned from the massive weakly labeled corpus, even though its specific training signal comes from a much smaller set of true labels.

The L2LWS architecture showing the interaction between the Target Network and the Confidence Network across full and weak supervision modes.

Learning to Learn via Gradient Gating

The innovation of L2LWS lies in the interaction between these networks during training. The Confidence Network acts as a "gradient gate" for the Target Network. When processing a weakly labeled instance, the Confidence Network outputs a score between 0 and 1.

  • A high score indicates the weak label is likely correct, allowing the Target Network to perform a full weight update.
  • A low score suggests the label is likely noise, effectively muting the instance's influence on the model's parameters.

Training alternates between two modes:

  • Full Supervision Mode: The Confidence Network is updated using the small "gold" dataset of true labels. It learns to distinguish between "good" and "bad" labels by comparing the weak annotator's output with the ground truth.
  • Weak Supervision Mode: The Target Network is updated using the large noisy dataset. However, the magnitude of each update is scaled by the Confidence Network's current assessment of that instance's reliability.

Experimental Evaluation

The framework was evaluated on Twitter Sentiment Classification using a massive corpus of 50 million tweets. Weak labels were generated using a simple lexicon-based method. For full supervision, the authors utilized standard SemEval (2013, 2014, 2015) benchmarks, which contain approximately 10,000 human-labeled tweets for training and several thousand for testing.

Key Results

The L2LWS model demonstrated superior performance over several baselines, including standard fine-tuning and specialized noise-aware models. On the SemEval-2014 dataset, it achieved a Macro-F1 score of 0.7362, a significant improvement over the previous state-of-the-art of 0.7162.

Training dynamics showing loss and performance metrics over time. L2LWS exhibits faster convergence and higher final performance compared to baselines.

Beyond final accuracy, the model exhibited faster convergence. By filtering out confusing or incorrect samples early in the training process, the Target Network avoids the "poisoning" effect of noise, reaching peak performance more efficiently than models trained on weak supervision alone. Furthermore, L2LWS proved more effective at utilizing small clean datasets than "New Label Inference" (NLI) methods, which attempt to explicitly map noisy labels to clean ones.

Conclusion and Future Work

L2LWS introduces a robust meta-learning approach to handle the inherent noise in weak supervision. By learning to calibrate the magnitude of learning steps rather than just denoising labels, the model achieves a more resilient form of learning. Future research could investigate the sensitivity of the supervision ratio (the balance between full and weak training steps) and explore the framework's applicability to more complex domains such as machine translation or image segmentation, where weak labels may exhibit more diverse noise patterns.

Summary updated

BibTeX
@misc{dehghani2017learning,
  author = {Mostafa Dehghani and Aliaksei Severyn and Sascha Rothe and Jaap Kamps},
  title = {{Learning to Learn from Weak Supervision by Full Supervision}},
  year = {2017},
  eprint = {1711.11383},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.11383},
}
Figure