What Can Knowledge Bring to Machine Learning? -- A Survey of Low-shot Learning for Structured Data

Yang Hu, Adriane Chapman, Guihua Wen, Dame Wendy HallarXiv 2021

TL;DR

Low-shot learning (LSL) aims to break machine learning's dependence on massive datasets by leveraging structured knowledge to train models with few or even zero examples. This survey explores how LSL techniques like meta-learning and metric learning are revolutionizing structured data tasks—such as entity linking and relation extraction—while highlighting the symbiotic "loop" where knowledge graphs both benefit from and enable data-efficient AI.

What Problem Does This Paper Address?

Traditional supervised machine learning is "data-hungry," requiring thousands of labeled examples to achieve high performance. This creates three major bottlenecks:

  1. High Costs: Collecting and labeling massive datasets is labor-intensive and expensive.
  2. Poor Generalization: Models often fail when encountering "unseen" categories or shifting to new domains.
  3. Semantic Gap: Standard models struggle to express high-level human concepts.

These issues are particularly acute in structured data modeling (e.g., Knowledge Graphs). In the real world, entities and relations follow a "long-tail" distribution—a few are common, but the vast majority are rare. We simply cannot label every possible relationship in a constantly evolving world. The authors argue that Low-shot Learning (LSL) is the essential path forward for cognitive-level AI.

Methods

The paper categorizes LSL into two main branches, as illustrated in the comparison below:

Fig. 1. Comparison illustration of typical supervised machine learning, few-shot learning, and zero-shot learning. Different colored boxes represent samples from different categories. (a) supervised machine learning with sufficient training data, training and testing data come from the same category space; (b) few-shot learning (using 2-way 2-shot scenario as the example), 𝐹(·) is trained to generate a swiftly learning model 𝑓(𝑥); (c) zero-shot learning, where 𝑓(𝑥) is trained to running prediction through the semantic space.

1. Few-shot Learning (FSL)

FSL focuses on learning from a tiny support set (e.g., 1 to 5 examples). Key strategies include:

  • Metric-based methods: Learning a distance metric so the model can classify new samples by comparing them to known "prototypes" (e.g., Prototypical Networks).
  • Meta-learning: Often called "learning to learn," these models are trained to adapt quickly to new tasks. The paper highlights MAML and Reptile, which optimize model initialization for rapid fine-tuning.
Comparison of meta-learning strategies (MAML vs. Reptile) against typical pre-training.

2. Zero-shot Learning (ZSL)

ZSL requires predicting classes never seen during training. It relies on a "semantic bridge"—using attributes or external knowledge (like WordNet) to relate unseen objects to seen ones.

3. Structured Data Specifics

The authors detail how these are applied to Relation Extraction (RE). For instance, gradient-based meta-learners can generalize the experience of identifying one type of relation to quickly learn a novel, rare relation.

A gradient-based meta-learner for relation extraction, using support and query sets to update higher-order representations.

Datasets

The survey tracks the evolution from repurposing classic datasets to creating dedicated LSL benchmarks:

  • Classic Adaptations: CoNLL-2003 (NER), Cora/Citeseer (Node classification), and FB15K-237 (Link prediction).
  • New LSL Benchmarks:
    • FewRel & FewRel 2.0: Large-scale benchmarks for few-shot relation classification.
  • FewEvent: Specifically for event detection.
  • NELL-ZS & Wiki-ZS: Designed for zero-shot relation learning.
  • ManyEnt: A dataset providing both coarse and fine-grained entity typing.

Key Insights and Ideas

  • The Knowledge-LSL Loop: Structured knowledge isn't just a task to be solved; it's a powerful tool. For example, using a Knowledge Graph (KG) as an external resource can help an image classifier recognize a "zebra" by understanding its relationship to "horse" and "stripes," even if it has never seen a zebra.
  • Natural Language as a Shared Space: For structured data, natural language descriptions provide a "naturally shared semantic space" that facilitates zero-shot transfers more smoothly than manually defined attribute vectors.
  • Long-tail Resilience: Metric-based methods are particularly effective for the long-tail distribution of real-world data because they focus on relative similarities rather than absolute class boundaries.

Key Results

The paper summarizes state-of-the-art performance across various benchmarks (see Table 8 in the paper):

  • FewRel: 5-way 1-shot accuracy reaches ~69.2%.
  • FewEvent: Achieves an F1 score of ~73.6% in 5-way 5-shot scenarios.
  • Zero-shot Entity Linking: Accuracy on specialized benchmarks like zero-shot EL is around 63%, showing significant progress but leaving room for improvement.

Limitations and Future Work

The authors identify several critical hurdles for industrial adoption:

  • Bias: Both pre-trained language models and manually curated ontologies carry human biases that can propagate through LSL systems.
  • Domain Shift: ZSL models often struggle when the "seen" and "unseen" data come from significantly different distributions.
  • Evaluation Gaps: Current evaluation systems often require some labeled test data, which contradicts the "rare situation" motivation of LSL in practice.
  • Interpretability: As LSL models move toward "black box" meta-learning, explaining why a model made a prediction based on only one example remains a challenge.

Future research directions include combining LSL with Federated Learning for privacy-preserving data modeling and Lifelong Learning to allow models to accumulate knowledge over time without forgetting.

Summary updated

BibTeX
@misc{hu2021what,
  author = {Yang Hu and Adriane Chapman and Guihua Wen and Dame Wendy Hall},
  title = {{What Can Knowledge Bring to Machine Learning? -- A Survey of Low-shot Learning for Structured Data}},
  year = {2021},
  eprint = {2106.06410},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.06410},
}

Loading related content...

Figure