Abstract
Modern Natural Language Processing (NLP) models typically require vast amounts of labeled data to achieve high performance. However, many real-world applications operate in "few-shot" regimes where only a handful of examples are available. This survey explores meta-learning—the paradigm of "learning to learn"—as a solution for rapid adaptation in NLP. We categorize current research into metric-based and optimization-based approaches, discuss dataset structuring strategies, and highlight key insights such as the importance of task distribution and the shift from data-point-centric to task-centric training.
Introduction
Deep learning has revolutionized NLP, but its reliance on massive datasets remains a significant bottleneck for low-resource languages and niche domains. While transfer learning via pre-training and fine-tuning has mitigated this, it often fails to optimize for the speed of adaptation. Meta-learning addresses this by training models across a diverse set of tasks, enabling them to generalize a learning strategy that can be applied to new, unseen tasks with minimal supervision.
The Few-Shot NLP Problem
The core challenge in few-shot NLP is the "data hunger" of standard architectures. In a typical $N$-way $K$-shot setting, a model must learn to distinguish between $N$ classes using only $K$ examples per class. Meta-learning redefines the training unit: instead of learning from individual data points, the model learns from entire tasks.
As shown in the figure above, while multi-task learning seeks a single model that performs well across all training tasks, meta-learning aims to find a model state that is "ready to learn," facilitating rapid adaptation to new tasks, even those with very small datasets.
Methodological Milestones
The survey identifies two primary branches of meta-learning:
1. Metric-based Meta-learning (Learning to Embed)
These methods focus on learning a robust representation space. By mapping inputs into an embedding space where similarity correlates with class membership, models can perform classification via simple distance metrics. Notable examples include:
- Matching Networks: Utilize a parametric nearest-neighbor approach against a labeled "support set."
- Prototypical Networks: Represent each class by the mean vector (prototype) of its support examples. Research shows Euclidean distance often outperforms Cosine similarity in these settings.
- Relation Networks: Employ a neural network to learn the similarity metric itself, moving beyond fixed distance functions.
2. Optimization-based Meta-learning (Learning to Fine-tune)
These approaches aim to optimize the model's initialization or update rules to ensure that only a few gradient steps are needed for a new task.
As highlighted in the table above, MAML (Model-Agnostic Meta-Learning) remains a cornerstone, training an initialization that is highly sensitive to task-specific updates. More recent adaptations like LEOPARD integrate powerful text encoders like BERT, meta-training on diverse benchmarks (e.g., GLUE) to achieve state-of-the-art few-shot performance on novel NLP problems.
Dataset Structuring for Meta-Learning
Meta-learning requires a "task-centric" data organization. Researchers typically use three strategies:
- Class as a Task: Splitting classes within a single dataset (e.g., FewRel for relation extraction).
- Domain as a Task: Treating different domains (e.g., banking vs. travel in CLINC150) as distinct tasks.
- Cross-Problem: Leveraging high-resource tasks like Natural Language Inference (NLI) to assist in learning low-resource tasks like Entity Typing.
Key Insights and Future Directions
A critical takeaway is the "Support vs. Query" split, which simulates few-shot conditions during training to ensure the model learns to adapt rather than just memorize. However, limitations remain. Most current benchmarks use "simulated" few-shot tasks derived from large datasets, which may not capture the messiness and class imbalance of real-world low-resource scenarios. Future work must focus on "out-of-dataset" generalization and reducing the computational overhead of second-order optimization methods like MAML.
Conclusion
Meta-learning represents a fundamental shift in how we approach low-resource NLP. By moving from "learning a task" to "learning how to learn tasks," these methods provide a path toward more flexible and data-efficient AI systems.
Summary updated