Abstract
Neural relation classification (RC) models typically require large amounts of labeled data to achieve high performance. However, real-world data often follows a long-tail distribution where many relations have very few examples. This paper introduces Meta-Learning Relation Classification (MLRC), applying Model-Agnostic Meta-Learning (MAML) to find a robust parameter initialization that can be quickly adapted to new relations with minimal supervision. Experiments on SemEval-2010 and TACRED datasets demonstrate that MLRC significantly outperforms standard supervised learning in low-data regimes, with absolute F1 gains exceeding 30% in extreme cases.
Introduction
Relation classification (RC)—identifying the semantic relationship between two entities in a sentence—is a cornerstone of information extraction. While modern neural networks excel at this, they are notoriously "data-hungry." In the real world, labeled data is expensive and follows a long-tail distribution: a few relations have thousands of examples, while most have very few. Standard supervised learning fails in these "limited supervision" regimes because models overfit or fail to generalize from a handful of instances. The authors aim to bridge this gap by moving away from traditional multi-task learning toward a "learning to learn" framework.
Methods: Meta-Learning Relation Classification (MLRC)
The core idea is based on Model-Agnostic Meta-Learning (MAML): instead of training a model to be good at all relations simultaneously, the model is trained to be easy to train on any specific relation.
Task Formulation and Optimization
Each specific relation (e.g., Member-Collection or Cause-Effect) is treated as a separate meta-task. The algorithm seeks a parameter initialization $\theta$ such that taking just one or two gradient steps on a small batch of data for a specific relation results in high performance. To manage computational costs, a first-order approximation (similar to the Reptile algorithm) is used.
Training proceeds in two phases:
- Meta-Learning Phase: The model iterates through batches of relations to find the optimal starting point.
- Fine-Tuning Phase: The meta-learned parameters are fine-tuned using standard supervised learning on the available limited data.
Because the approach is model-agnostic, it can be wrapped around any gradient-based model, such as the position-aware TACRED-PA or the contextual graph convolutional network C-GCN.
Key Results
The MLRC approach consistently outperformed standard supervised learning across all tested fractions of data (from 0.1% to 100%). The performance gains in low-data scenarios were particularly dramatic.
Performance on TACRED-PA
On the SemEval dataset with 1% data, the F1 score of the TACRED-PA model jumped from 3.13% to 21.05%. On the TACRED dataset with only 0.5% of the data, the F1 score improved from 2.98% to 34.59%—an absolute increase of over 31%. Even with 100% of the data, the meta-learned initialization performed as well as or slightly better than standard training.
Model Agnosticism with C-GCN
The fact that these gains persist across different architectures suggests that meta-learning is a fundamental improvement for the RC pipeline. For the C-GCN model, MLRC similarly provides a significant head start in low-data regimes, demonstrating the framework's model-agnostic nature.
Conclusion
By treating relations as tasks, the MLRC model effectively uses "background knowledge" from data-rich relations to help it understand data-poor ones. This meta-learning approach finds a "knowledge-rich" starting point that captures the underlying structure of how language expresses relationships, bridging the gap for long-tail relations in information extraction systems.
Summary updated