Fidelity-Weighted Learning

Mostafa Dehghani, Arash Mehrjou, Stephan Gouws, Jaap Kamps, Bernhard Schölkopf

TL;DR

Fidelity-Weighted Learning (FWL) is a student-teacher framework designed to balance the "quality vs. quantity" trade-off in training data. By using a Bayesian teacher to estimate the reliability of noisy, weakly-labeled samples, the system modulates the learning process—essentially telling the student model which noisy labels to trust and which to ignore.

What Problem Does This Paper Address?

Deep learning is notoriously data-hungry, but high-quality "gold standard" labels from experts are expensive and scarce. To compensate, researchers often use "weak supervision"—labels generated by cheap heuristics, crowd-sourcing, or older non-neural models.

The primary challenge is that weak labels are inherently noisy. Standard approaches usually treat all labels equally or perform simple pre-training on weak data followed by fine-tuning on strong data. These methods are "noise-oblivious"; they fail to account for the fact that some weak labels are much more accurate than others. The authors seek a way to leverage massive amounts of cheap, noisy data without letting the noise degrade the final model's performance.

Methods

The authors propose a three-step Student-Teacher approach to tackle this problem:

The three-step Fidelity-Weighted Learning (FWL) framework.
  1. Representation Learning (Step 1): A "Student" neural network is pre-trained on a large set of weakly-labeled data ($D_w$). The goal here isn't perfect accuracy, but rather learning a useful task-dependent representation (embedding) of the data.
  2. Teacher Training (Step 2): A "Teacher" model—specifically a Clustered Gaussian Process (GP)—is trained on a small set of high-quality "strong" data ($D_s$). Crucially, the Teacher doesn't look at the raw input; it looks at the data through the "lens" of the Student’s learned representations. Because it is a GP, the Teacher provides not just a label prediction, but a posterior confidence (uncertainty) score for any given sample.
  3. Fidelity-Weighted Fine-tuning (Step 3): The Student is fine-tuned using the labels generated by the Teacher. However, the gradient updates are modulated on a per-sample basis. If the Teacher is highly confident about a sample, the Student takes a large step; if the Teacher is uncertain, the update is down-weighted. This "fidelity weight" is calculated as $\eta_2(x_t) = \exp[-\beta \Sigma(x_t)]$, where $\Sigma$ is the Teacher's uncertainty.

Datasets

The researchers evaluated FWL on three distinct scenarios to prove its versatility:

1D regression toy problem demonstrating GP predictions and confidence intervals.
  • Toy Problem: A 1D regression task comparing a true sine function against a noisy "sinc" function to visualize the model's handling of uncertainty.
  • Document Ranking (Information Retrieval): Using the Robust04 (news articles) and ClueWeb09 (web pages) collections. Weak labels were generated using the classic BM25 algorithm.
  • Sentiment Classification (NLP): Using SemEval-2014 and SemEval-2015 Twitter datasets. Weak labels were derived from a simple unsupervised lexicon-based method.

Key Insights and Ideas

  • The "Lens" Effect: One of the most clever aspects of FWL is training the Teacher on the Student's internal representations. This ensures the Teacher's feedback is grounded in the features the Student actually "sees," making the guidance significantly more effective.
  • Clustered Gaussian Processes: Standard GPs do not scale well to large datasets. The authors used a "Clustered GP" approach, dividing the data space into regions and assigning a local GP to each. This allowed them to handle the high dimensionality of text embeddings while maintaining Bayesian benefits.
  • Connection to LUPI: The authors frame FWL as an extension of Vapnik’s Learning Using Privileged Information (LUPI) framework. The Teacher’s confidence scores act as "privileged information"—data available during training to guide the model that isn't needed at test time.
  • A Good Teacher is Better than More Data: The results suggest that a Student learns faster and reaches higher accuracy when guided by a Teacher's confidence than when simply given more raw data or standard fine-tuning.

Key Results

  • Document Ranking: FWL significantly outperformed state-of-the-art neural ranking baselines. On the Robust04 dataset, it achieved a Mean Average Precision (MAP) of 0.3124, compared to 0.2702 for a standard neural model trained on weak data.
  • Sentiment Analysis: FWL outperformed the best-reported systems from the original SemEval competitions. For instance, on SemEval-2014, it achieved a Macro-F1 of 0.7470, beating the previous best of 0.7162.
  • Data Efficiency: In ablation studies, the authors showed that FWL models trained on only 20% of the available weak data often outperformed baseline models trained on 100% of the weak data.

Limitations and Future Work

  • Garbage In, Garbage Out: The method relies on the Student learning a "reasonable" representation in Step 1. If the weak annotator is extremely poor (e.g., providing labels that are essentially random), the Student's representation will be useless, and the Teacher will struggle to provide meaningful guidance.
  • Computational Overhead: While Clustered GPs help, training Bayesian models is still more computationally intensive than standard backpropagation.
  • Hyperparameter Sensitivity: The parameter $\beta$ (which controls how aggressively to down-weight uncertain samples) requires careful tuning based on the perceived gap between the weak and strong data quality.

The authors suggest that future work could explore using different types of Bayesian models as teachers or applying this framework to computer vision tasks where crowd-sourced labels are prevalent.

Summary updated

BibTeX
@inproceedings{dehghani2018fidelity,
  author = {Mostafa Dehghani and Arash Mehrjou and Stephan Gouws and Jaap Kamps and Bernhard Schölkopf},
  title = {{Fidelity-Weighted Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2018},
  url = {https://openreview.net/forum?id=B1X0mzZCW},
}
Figure