TL;DR
This paper introduces LMTurk, a novel framework that treats large, pre-trained language models (PLMs) as "crowdsourcing workers" to generate training data for smaller, deployable models. By leveraging the few-shot learning capabilities of PLMs, LMTurk offers a cost-effective way to create specialized NLP models without the need for extensive human annotation or the deployment of massive models.
What Problem Does This Paper Address?
The field of Natural Language Processing (NLP) has seen tremendous progress with the advent of large, pre-trained language models (PLMs) like GPT-3 and BERT. These models are incredibly powerful and can perform well on various tasks with minimal task-specific training data (few-shot learning). However, their sheer size makes them computationally expensive to train and deploy, posing a significant barrier to their practical use in resource-constrained environments. While these PLMs are effective few-shot learners, the challenge lies in efficiently using them to create valuable resources, such as training datasets for smaller, more manageable models. This paper addresses this gap by proposing a method to harness the few-shot capabilities of PLMs as a cost-effective alternative to traditional human crowdsourcing for data annotation.
Methods
The core of LMTurk is to repurpose few-shot PLMs as "workers" in a crowdsourcing-like setup. Here's a breakdown of the key methods:
- Few-Shot Adaptation (LMTurkers): First, a large PLM is adapted to a specific NLP task (T) using a small set of human-labeled "gold" data (G). This adaptation is achieved through techniques like P-Tuning, where the PLM is prompted with examples to predict labels. These adapted PLMs are referred to as "LMTurkers."
- Crowdsourcing Simulation: Unlabeled data (U) is then presented to these LMTurkers. Each LMTurker annotates the data, mimicking human crowdsourcing workers.
- Annotation Aggregation: Since individual LMTurkers might have biases or varying quality, their annotations are aggregated. The paper explores several aggregation strategies, including Majority Voting, BestWorker, LogitVoting, and WeightedLogitVoting.
- Active Learning Integration: To minimize the computational cost of querying the large PLMs, active learning strategies are employed. This means the system intelligently selects which unlabeled data points to send to the LMTurkers for annotation, prioritizing those that are most informative for training the target model. Entropy and LeastConfident are used as acquisition functions.
- Small Model Training: The aggregated annotations from the LMTurkers are then used to train a smaller, specialized model (S) for the task. This model is designed to be deployable in practical scenarios. The training process is iterative, where the small model is progressively improved using newly annotated data.
- Quality-Based Filtering: Recognizing that LMTurkers are not perfect oracles, the paper also investigates filtering strategies to improve the quality of the training data used for the small model.
Datasets
The authors evaluate LMTurk on five standard NLP datasets:
- SST2 and SST5: Binary and fine-grained sentiment classification datasets from the Stanford Sentiment TreeBank.
- AG's News Corpus (AGNews): A dataset for news article topic classification.
- RTE (Recognizing Textual Entailment): A dataset for textual entailment.
- CoLA (Corpus of Linguistic Acceptability): A dataset for assessing linguistic acceptability.
These datasets are commonly used in crowdsourcing and active learning research. The paper uses standard train/dev/test splits, sampling few-shot gold datasets (G) from the training sets.
Key Insights and Ideas
- PLMs as Cost-Effective Annotators: The central idea is that PLMs, when adapted to a task, can act as efficient and scalable "workers" for data annotation, significantly reducing the reliance on human annotators.
- Bridging the Gap to Deployable Models: LMTurk provides a practical pathway to train small, deployable models by leveraging the power of large PLMs without needing to deploy the large models themselves.
- Active Learning for Efficiency: Integrating active learning is crucial for managing the computational cost of querying large PLMs, making the process more efficient.
- Annotation Quality Matters: Unlike traditional active learning with oracle labels, LMTurker annotations are not perfect. The paper highlights the importance of considering annotation quality and exploring filtering strategies.
- Ensembling LMTurkers is Beneficial: Aggregating annotations from multiple LMTurkers (e.g., using LogitVoting) generally leads to better results than relying on a single "best" LMTurker.
Key Results
- Comparable Few-Shot Performance: LMTurkers achieve few-shot performance comparable to existing state-of-the-art methods on several datasets, demonstrating their effectiveness as few-shot learners.
- Small Model Improvement: The small model (S) trained using LMTurk annotations shows significant improvement over training with only the initial few-shot gold data.
- LMTurk vs. AL vs. ST: LMTurk consistently outperforms self-training (ST) and performs comparably to active learning (AL) with human annotators, but with significantly lower human labor costs. For instance, on AGNews, LMTurk shows clear performance improvements over ST.
- Aggregation Strategies Impact: Committee-style aggregation methods (LogitVoting, Majority Voting) generally outperform relying on a single "BestWorker" for datasets like SST5 and AGNews.
- Quality Filtering Benefits: Filtering LMTurker annotations based on their confidence (e.g., low entropy) can improve the performance of the trained small model, especially when dealing with noisy labels.
Limitations and Future Work
- LMTurker Imperfection: A key limitation is that LMTurkers are not perfect oracles, and their annotations can be noisy. This necessitates strategies for handling annotation quality, which the paper explores.
- Computational Cost of LMTurkers: While LMTurk reduces human labor, querying large PLMs still incurs computational costs. Active learning helps mitigate this, but it remains a factor.
- Dataset Size and Task Difficulty: The performance of LMTurk and the small model can be influenced by dataset size and task difficulty. For very small datasets like RTE, results can be noisy, and the small model might struggle to surpass the LMTurker's initial performance.
- Future Work: The authors suggest combining LMTurker annotations with human annotators in a human-in-the-loop setup, scaling LMTurk to multilingual few-shot learners, and exploring more advanced distillation techniques.
Summary updated