[Paper Review] When Low Resource NLP Meets Unsupervised Language Model: Meta-pretraining Then Meta-learning for Few-shot Text Classification
This paper proposes a Meta-pretraining Then Meta-learning (MTM) framework that combines unsupervised language model pretraining with meta-learning to improve few-shot text classification in low-resource settings. By disentangling task-agnostic and task-specific representations, MTM achieves state-of-the-art performance of 90.01% accuracy on the ARSC benchmark, significantly outperforming prior methods.
Text classification tends to be difficult when data are deficient or when it is required to adapt to unseen classes. In such challenging scenarios, recent studies have often used meta-learning to simulate the few-shot task, thus negating implicit common linguistic features across tasks. This paper addresses such problems using meta-learning and unsupervised language models. Our approach is based on the insight that having a good generalization from a few examples relies on both a generic model initialization and an effective strategy for adapting this model to newly arising tasks. We show that our approach is not only simple but also produces a state-of-the-art performance on a well-studied sentiment classification dataset. It can thus be further suggested that pretraining could be a promising solution for few-shot learning of many other NLP tasks. The code and the dataset to replicate the experiments are made available at https://github.com/zxlzr/FewShotNLP.
Motivation & Objective
- To address the challenge of few-shot text classification when labeled data is scarce and new classes are unseen during training.
- To improve model generalization in low-resource NLP by explicitly disentangling task-agnostic and task-specific representations.
- To leverage unsupervised language models for better initialization and adaptation in few-shot learning scenarios.
- To develop a simple yet effective method that generalizes across diverse NLP tasks with minimal labeled data.
Proposed method
- The method first applies unsupervised pretraining using a language model (e.g., BERT) to learn task-agnostic contextual representations from a large raw corpus.
- It then employs a meta-learning paradigm where episodes are constructed from support sets and query sets to simulate few-shot tasks.
- The model is trained via a two-level optimization: inner loop adapts the model on each episode’s support set, and outer loop updates the initial parameters using gradients from the test set predictions.
- The approach explicitly separates generic feature learning (via pretraining) from task-specific adaptation (via meta-learning), enhancing generalization.
- The framework uses gradient-based meta-learning with a bilevel optimization: the outer loop updates the model’s initial weights to minimize meta-loss over all tasks.
- The method is designed to be task-agnostic, enabling easy adaptation to other NLP tasks beyond text classification.
Experimental results
Research questions
- RQ1Can unsupervised language model pretraining improve few-shot text classification performance in low-resource settings?
- RQ2Does separating task-agnostic and task-specific representation learning lead to better generalization in few-shot learning?
- RQ3Can meta-learning with pre-trained representations outperform existing few-shot learning models on benchmark datasets?
- RQ4How effective is the proposed MTM framework compared to state-of-the-art methods in few-shot text classification?
Key findings
- The MTM model achieves a mean accuracy of 90.01% on the ARSC benchmark, significantly outperforming all baseline models.
- The improvement over the next best model, Induction-Network-Routing, is statistically significant (p < 0.01) in a paired t-test.
- The model demonstrates strong generalization ability, achieving state-of-the-art performance on a well-studied sentiment classification dataset.
- The results validate that meta-pretraining followed by meta-learning effectively enhances few-shot learning in low-resource NLP.
- The method is effective even with only five support examples per class, highlighting its robustness to data scarcity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.