mlsanityData to 14 Oct 2026

Meta In-Context Learning Makes Large Language Models Better Zero and Few-Shot Relation Extractors

arXiv 2404.17807 ↗First posted 27 Apr 2024cs.CL cs.AIcited by 13

Not on the map. Why?

Abstract (arXiv)

Relation extraction (RE) is an important task that aims to identify the relationships between entities in texts. While large language models (LLMs) have revealed remarkable in-context learning (ICL) capability for general zero and few-shot learning, recent studies indicate that current LLMs still struggle with zero and few-shot RE. Previous studies are mainly dedicated to design prompt formats and select good examples for improving ICL-based RE. Although both factors are vital for ICL, if one can fundamentally boost the ICL capability of LLMs in RE, the zero and few-shot RE performance via ICL would be significantly improved. To this end, we introduce textscMicre (Meta In-Context learning of LLMs for Relation Extraction), a new meta-training framework for zero and few-shot RE where an LLM is tuned to do ICL on a diverse collection of RE datasets (i.e., learning to learn in context for RE). Through meta-training, the model becomes more effectively to learn a new RE task in context by conditioning on a few training examples with no parameter updates or task-specific templates at inference time, enabling better zero and few-shot task generalization. We experiment textscMicre on various LLMs with different model scales and 12 public RE datasets, and then evaluate it on unseen RE benchmarks under zero and few-shot settings. textscMicre delivers comparable or superior performance compared to a range of baselines including supervised fine-tuning and typical in-context learning methods. We find that the gains are particular significant for larger model scales, and using a diverse set of the meta-training RE datasets is key to improvements. Empirically, we show that textscMicre can transfer the relation semantic knowledge via relation label name during inference on target RE datasets.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 44 of its 64 references that are in the map. First posted on arXiv 27 Apr 2024.

Builds on

44 of 64 references.

References · 44

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  8. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  9. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  10. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  11. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
  12. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
32 more
  1. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
  2. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
  3. 2021MetaICL: Learning to Learn In Contextcited by 454
  4. 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 426
  5. 2018Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Constructioncited by 322
  6. 2018FewRel: A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluationcited by 254
  7. 2022Large Language Models are Few-Shot Clinical Information Extractorscited by 207
  8. 2023InstructUIE: Multi-task Instruction Tuning for Unified Information Extractioncited by 170
  9. 2021Meta-learning via Language Model In-context Tuningcited by 164
  10. 2023Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!cited by 119
  11. 2020Two are Better than One: Joint Entity and Relation Extraction with Table-Sequence Encoderscited by 87
  12. 2020Learning from Context or Names? An Empirical Study on Neural Relation Extractioncited by 75
  13. 2021Label Verbalization and Entailment for Effective Zero- and Few-Shot Relation Extractioncited by 73
  14. 2023GPT-RE: In-context Learning for Relation Extraction using Large Language Modelscited by 62
  15. 2022RelationPrompt: Leveraging Prompts to Generate Synthetic Data for Zero-Shot Relation Triplet Extractioncited by 60
  16. 2018A Hierarchical Framework for Relation Extraction with Reinforcement Learningcited by 49
  17. 2015Relation Classification via Recurrent Neural Networkcited by 46
  18. 2021ZS-BERT: Towards Zero-Shot Relation Extraction with Attribute Representation Learningcited by 46
  19. 2022DeepStruct: Pretraining of Language Models for Structure Predictioncited by 45
  20. 2018Improving Distantly Supervised Relation Extraction using Word and Entity Based Attentioncited by 35
  21. 2023Revisiting Large Language Models as Zero-shot Relation Extractorscited by 29
  22. 2021Exploring Task Difficulty for Few-Shot Relation Extractioncited by 24
  23. 2020Few-Shot Event Detection with Prototypical Amortized Conditional Random Fieldcited by 20
  24. 2023Chain of Thought with Explicit Evidence Reasoning for Few-shot Relation Extractioncited by 19
  25. 2020Bridging Text and Knowledge with Multi-Prototype Embedding for Few-Shot Relational Triple Extractioncited by 18
  26. 2023RE-Matching: A Fine-Grained Semantic Matching Method for Zero-Shot Relation Extractioncited by 13
  27. 2023Hierarchical Verbalizer for Few-Shot Hierarchical Text Classificationcited by 11
  28. 2022FastRE: Towards Fast Relation Extraction with Convolutional Encoder and Improved Cascade Binary Tagging Frameworkcited by 8
  29. 2022Better Few-Shot Relation Extraction with Label Prompt Dropoutcited by 8
  30. 2022Zero-shot Triplet Extraction by Template Infillingcited by 7
  31. 2024Unlocking Instructive In-Context Learning with Tabular Prompting for Relational Triple Extractioncited by 7
  32. 2023Mutually Guided Few-shot Learning for Relational Triple Extractioncited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 8.

13 papers.

Sort:

By area: