WALNUT: A Benchmark on Semi-weakly Supervised Learning for Natural Language Understanding

Guoqing Zheng, Giannis Karamanolakis, Kai Shu, Ahmed Hassan Awadallah

Introduction

High-quality labeled data remains the primary bottleneck in Natural Language Understanding (NLU). While weak supervision—leveraging noisy heuristics or external knowledge—offers a scalable alternative, the field has lacked a standardized evaluation framework. WALNUT (Semi-WeAkly supervised Learning for Natural language Understanding Testbed) addresses this gap as the first comprehensive benchmark for semi-weakly supervised learning. By providing a unified testbed of eight diverse tasks with real-world rule-based labels and small "clean" datasets, WALNUT reveals critical insights into how different model architectures interact with noisy supervision.

Problem Statement: The Reality of Weak Supervision

Traditional research often simulates weak supervision by injecting synthetic noise into perfect labels. However, real-world noise from human-authored rules is far more complex, characterized by high precision but low recall and systematic biases. Furthermore, there has been no standard methodology for combining a small amount of expensive "gold" data with a large volume of cheap "silver" data. WALNUT formalizes this "semi-weakly supervised" paradigm to better reflect practical industrial and research constraints.

The WALNUT Benchmark

The benchmark aggregates eight established NLU datasets across document-level classification (e.g., AGNews, IMDB) and token-level classification (e.g., CoNLL-2003, NCBI Disease).

Overview of the WALNUT benchmark showing the combination of few labeled data and weakly labeled data for semi-weakly supervised learning.

For each task, WALNUT provides:

  1. A Small Clean Set ($D_C$): Typically 20–50 examples per class to represent a low-resource scenario.
  2. A Large Weak Set ($D_W$): Labeled by multiple real-world rules such as regex and keywords.
  3. Robust Evaluation: Five distinct clean/weak splits per task to ensure statistical significance.

Methodology and Evaluated Approaches

The authors conducted over 2,000 experiments comparing various encoders (from BiLSTMs to RoBERTa-large) and supervision strategies:

  • Baselines: Training on clean data only (C) or weak data only (W).
  • Semi-weak Methods: Simple concatenation (C+W) and label aggregation via Snorkel.
  • Advanced Meta-Learning: Algorithms like GLC, MetaWN, and MLC that dynamically weight weak labels based on the clean data's signal.

Key Findings

1. The "Simple is Better" Surprise

Contrary to expectations, complex meta-learning algorithms often failed to outperform simple techniques like unweighted majority voting or basic data concatenation. This suggests that existing meta-learning approaches may not be fully optimized for the specific characteristics of heuristic-based noise.

2. The RoBERTa Paradox

Large pre-trained models like RoBERTa exhibit remarkable sample efficiency, achieving high performance with very few clean examples. Consequently, the relative benefit of adding noisy weak labels is significantly lower for these models than for simpler architectures like BiLSTMs. In some instances, the noise from weak rules even degraded the performance of the largest models, highlighting a "performance ceiling" where heuristic noise becomes a liability.

3. Real vs. Simulated Noise

The study confirms that real-world rules behave differently than synthetic noise. Rules typically have high precision on specific patterns but zero recall elsewhere, creating a sparse and biased label distribution that challenges standard noise-robust algorithms.

Detailed view of the weakly labeled data structure, showing how multiple rules contribute to an aggregated label.

Results and Performance Gap

For smaller models like BiLSTMs, semi-weak supervision provided a substantial boost, raising average F1 scores from 45.4% to 52.5%. However, a significant gap remains between semi-weak methods and "Full Clean" training. For BERT-base, the best semi-weak approach reached 70.9% F1, still far below the 82.1% achieved with full-resource gold labels.

Conclusion and Future Directions

WALNUT establishes a rigorous baseline for semi-weakly supervised learning. Future work should focus on expanding the benchmark to multi-lingual settings and more complex tasks like Question Answering. Additionally, there is a clear need for new algorithms that can help large-scale models effectively filter heuristic noise to bridge the remaining gap to full-resource performance.

The benchmark and code are available at aka.ms/walnut_benchmark.

Summary updated

BibTeX
@inproceedings{zheng2022walnut,
  author = {Guoqing Zheng and Giannis Karamanolakis and Kai Shu and Ahmed Hassan Awadallah},
  title = {{WALNUT: A Benchmark on Semi-weakly Supervised Learning for Natural Language Understanding}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.64},
}
Figure