NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Training Complex Models with Multi-Task Weak Supervision

Alexander Ratner, Braden Hancock, Jared Dunnmon, Frederic Sala, Shreyash Pandey, Christopher Ré

Introduction: The Challenge of Data Labeling

Modern deep learning is notoriously "data-hungry," yet hand-labeling millions of examples for complex tasks is often prohibitively expensive or impossible. "Weak supervision" has emerged as a solution, allowing users to programmatically generate labels using heuristics, dictionaries, or pre-trained models.

However, real-world weak supervision is messy. Sources often have different levels of granularity—for example, one rule might identify a general "Person," while another identifies a specific "Doctor." These sources have varying accuracies and complex correlations that traditional methods struggle to integrate.

Example of multi-granular weak supervision for Named Entity Recognition.

The MeTaL Framework

The researchers introduce MeTaL (Multi-Task Weak Supervision), a framework designed to coordinate multiple noisy supervision sources by treating them as participants in a multi-task hierarchy. MeTaL allows developers to recover the unknown accuracies of diverse sources across related sub-tasks without requiring any "gold" labeled data.

The MeTaL pipeline: from task graphs and unlabeled data to a trained end model.

Core Components

  1. The Task Graph ($G_{task}$): Users define logical relationships between tasks (e.g., "Doctor" is a sub-task of "Person").
  2. Matrix Completion for Accuracy Estimation: Instead of slow sampling techniques, MeTaL uses a closed-form approach based on the covariance of source outputs. By solving this as a matrix completion problem via Stochastic Gradient Descent (SGD), the system estimates source quality 100x faster than previous methods.
  3. Identifiability Check: A "compiler-like" check ensures the provided sources and dependencies are mathematically sufficient to recover unique accuracies.
  4. End Model Training: Once accuracies are estimated, MeTaL produces probabilistic training labels used to train a discriminative "end model" (like a Bi-LSTM) that generalizes beyond the original rules.

Key Insights and Results

MeTaL was validated on three complex classification tasks: Named Entity Recognition (OntoNotes), Relation Extraction (TACRED), and Medical Document Classification (OpenI).

  • Cross-Task Signal: By modeling tasks jointly, the system uses agreements across different levels of granularity to better estimate source quality.
  • Accuracy Gains: MeTaL achieved an average gain of 20.2 points in accuracy over a baseline trained only on a small manual "gold" set. It also outperformed previous state-of-the-art single-task weak supervision by 4.1 points.
  • Scalability: Because the optimization relies on an initial matrix multiplication of the data, the processing time is largely independent of the total number of unlabeled data points.
  • Generalization: The "end models" trained on MeTaL's labels improved by an average of 3.4 points over the label model's raw predictions, proving the framework helps models learn to generalize beyond simple heuristics.

Conclusion

MeTaL provides a theoretically grounded and highly scalable approach to weak supervision. While it currently requires users to specify the task hierarchy manually, it significantly reduces the labeling bottleneck for complex, multi-granular machine learning tasks.

Summary updated

BibTeX
@inproceedings{ratner2019training,
  author = {Alexander Ratner and Braden Hancock and Jared Dunnmon and Frederic Sala and Shreyash Pandey and Christopher Ré},
  title = {{Training Complex Models with Multi-Task Weak Supervision}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33014763},
}
Figure