mlsanityData to 7 Oct 2026

Recall, Retrieve and Reason: Towards Better In-Context Relation Extraction

arXiv 2404.17809 ↗First posted 27 Apr 2024cs.CL cs.AIcited by 6

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

Abstract (arXiv)

Relation extraction (RE) aims to identify relations between entities mentioned in texts. Although large language models (LLMs) have demonstrated impressive in-context learning (ICL) abilities in various tasks, they still suffer from poor performances compared to most supervised fine-tuned RE methods. Utilizing ICL for RE with LLMs encounters two challenges: (1) retrieving good demonstrations from training examples, and (2) enabling LLMs exhibit strong ICL abilities in RE. On the one hand, retrieving good demonstrations is a non-trivial process in RE, which easily results in low relevance regarding entities and relations. On the other hand, ICL with an LLM achieves poor performance in RE while RE is different from language modeling in nature or the LLM is not large enough. In this work, we propose a novel recall-retrieve-reason RE framework that synergizes LLMs with retrieval corpora (training examples) to enable relevant retrieving and reliable in-context reasoning. Specifically, we distill the consistently ontological knowledge from training datasets to let LLMs generate relevant entity pairs grounded by retrieval corpora as valid queries. These entity pairs are then used to retrieve relevant training examples from the retrieval corpora as demonstrations for LLMs to conduct better ICL via instruction tuning. Extensive experiments on different LLMs and RE datasets demonstrate that our method generates relevant and valid entity pairs and boosts ICL abilities of LLMs, achieving competitive or new state-of-the-art performance on sentence-level RE compared to previous supervised fine-tuning methods and ICL-based methods.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 42 of its 51 references that are in the map. First posted on arXiv 27 Apr 2024.

Builds on

42 of 51 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning2 Oct

Other references · 41

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  8. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  9. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  10. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  11. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  12. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
29 more
  1. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  2. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  3. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  4. 2021MetaICL: Learning to Learn In Contextcited by 450
  5. 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
  6. 2018Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Constructioncited by 321
  7. 2019Matching the Blanks: Distributional Similarity for Relation Learningcited by 271
  8. 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 256
  9. 2022Large Language Models are Few-Shot Clinical Information Extractorscited by 206
  10. 2021Structured Prediction as Translation between Augmented Natural Languagescited by 183
  11. 2021KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extractioncited by 180
  12. 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
  13. 2021Meta-learning via Language Model In-context Tuningcited by 163
  14. 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
  15. 2023Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!cited by 119
  16. 2022Thinking about GPT-3 In-Context Learning for Biomedical IE? Think Againcited by 83
  17. 2021An Improved Baseline for Sentence-level Relation Extractioncited by 80
  18. 2021Label Verbalization and Entailment for Effective Zero- and Few-Shot Relation Extractioncited by 73
  19. 2019SemEval-2010 Task 8: Multi-Way Classification of Semantic Relations Between Pairs of Nominalscited by 63
  20. 2023GPT-RE: In-context Learning for Relation Extraction using Large Language Modelscited by 62
  21. 2023Meta-in-context learning in large language modelscited by 59
  22. 2022DeepStruct: Pretraining of Language Models for Structure Predictioncited by 45
  23. 2023Revisiting Large Language Models as Zero-shot Relation Extractorscited by 29
  24. 2023RECKONING: Reasoning through Dynamic Knowledge Encodingcited by 17
  25. 2023Hierarchical Verbalizer for Few-Shot Hierarchical Text Classificationcited by 11
  26. 2022Reviewing Labels: Label Graph Network with Top-k Prediction Set for Relation Extractioncited by 10
  27. 2022Sequence Generation with Label Augmentation for Relation Extractioncited by 9
  28. 2022FastRE: Towards Fast Relation Extraction with Convolutional Encoder and Improved Cascade Binary Tagging Frameworkcited by 8
  29. 2024Unlocking Instructive In-Context Learning with Tabular Prompting for Relational Triple Extractioncited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Revisiting Relation Extraction in the era of Large Language Models
  2. 2026ReaORE: Reasoning-Guided Progressive Open Relation Extraction Empowered by Large Reasoning Models
  3. 2025Generating Diverse Training Samples for Relation Extraction with Large Language Models
  4. 2025DocIE@XLLM25: In-Context Learning for Information Extraction using Fully Synthetic Demonstrations
  5. 2024AgentRE: An Agent-Based Framework for Navigating Complex Information Landscapes in Relation Extraction
  6. 2024Retrieval-Augmented Generation-based Relation Extraction
  7. 2023Think Rationally about What You See: Continuous Rationale Extraction for Relation Extraction
  8. 2026CONSISTRE: A Unified Consistency-Aware Framework for Document-Level Relation Extraction with Large Language Models