GPT-RE: In-context Learning for Relation Extraction using Large Language Models
Not on the map. Why?
Abstract (arXiv)
In spite of the potential for ground-breaking achievements offered by large language models (LLMs) (e.g., GPT-3), they still lag significantly behind fully-supervised baselines (e.g., fine-tuned BERT) in relation extraction (RE). This is due to the two major shortcomings of LLMs in RE: (1) low relevance regarding entity and relation in retrieved demonstrations for in-context learning; and (2) the strong inclination to wrongly classify NULL examples into other pre-defined labels. In this paper, we propose GPT-RE to bridge the gap between LLMs and fully-supervised baselines. GPT-RE successfully addresses the aforementioned issues by (1) incorporating task-specific entity representations in demonstration retrieval; and (2) enriching the demonstrations with gold label-induced reasoning logic. We evaluate GPT-RE on four widely-used RE datasets, and observe that GPT-RE achieves improvements over not only existing GPT-3 baselines, but also fully-supervised baselines. Specifically, GPT-RE achieves SOTA performances on the Semeval and SciERC datasets, and competitive performances on the TACRED and ACE05 datasets.
Key facts. Cited by 62 papers in the map (data through 14 Oct 2026). Builds on 34 of its 44 references that are in the map. First posted on arXiv 3 May 2023.
Builds on
34 of 44 references.
References · 34
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
22 more
- 2015A large annotated corpus for learning natural language inferencecited by 1,847
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2021True Few-Shot Learning with Language Modelscited by 344
- 2018Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Constructioncited by 322
- 2019Matching the Blanks: Distributional Similarity for Relation Learningcited by 272
- 2018FewRel: A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluationcited by 254
- 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 163
- 2022Thinking about GPT-3 In-Context Learning for Biomedical IE? Think Againcited by 83
- 2019SemEval-2010 Task 8: Multi-Way Classification of Semantic Relations Between Pairs of Nominalscited by 63
- 2022DeepStruct: Pretraining of Language Models for Structure Predictioncited by 45
- 2022Prompting Language Models for Linguistic Structurecited by 39
- 2021Coherence boosting: When your pretrained language model is not paying enough attentioncited by 38
- 2020Relation Classification as Two-way Span-Predictioncited by 9
- 2022Pre-training to Match for Unified Low-shot Relation Extractioncited by 8
- 2022Rescue Implicit and Long-tail Cases: Nearest Neighbor Relation Extractioncited by 7
Built on by
Citing papers per year: 2023: 18; 2024: 25; 2025: 13; 2026: 6.
62 papers.
Sort:
By area:
- 2023Instruction Tuning for Large Language Models: A Surveycited by 623
- 2023Large Language Models for Generative Information Extraction: A Surveycited by 185
- 2023Text Classification via Large Language Modelscited by 106
- 2024Large Language Models Meet NLP: A Surveycited by 103
- 2023LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunitiescited by 97
- 2023Empirical Study of Zero-Shot NER with ChatGPTcited by 60
- 2023Pushing the Limits of ChatGPT on NLP Taskscited by 27
- 2023Iterative Zero-Shot LLM Prompting for Knowledge Graph Constructioncited by 25
- 2025StructEval: Benchmarking LLMs' Capabilities to Generate Structural Outputscited by 25
- 2023Guideline Learning for In-context Information Extractioncited by 24
- 2024MMREC: LLM Based Multi-Modal Recommender Systemcited by 22
- 2024Biomedical Visual Instruction Tuning with Clinician Preference Alignmentcited by 21
38 more
- 2023Position: Key Claims in LLM Research Have a Long Tail of Footnotescited by 20
- 2023Chain of Thought with Explicit Evidence Reasoning for Few-shot Relation Extractioncited by 19
- 2024ERA-CoT: Improving Chain-of-Thought through Entity Relationship Analysiscited by 18
- 2024Automated Construction of Theme-specific Knowledge Graphscited by 16
- 2023Cost-Effective In-Context Learning for Entity Resolution: A Design Space Explorationcited by 15
- 2024Research Trends for the Interplay between Large Language Models and Knowledge Graphscited by 15
- 2024Actionable Cyber Threat Intelligence using Knowledge Graphs and Large Language Modelscited by 14
- 2024Meta In-Context Learning Makes Large Language Models Better Zero and Few-Shot Relation Extractorscited by 13
- 2023InstructIE: A Bilingual Instruction-based Information Extraction Datasetcited by 9
- 2024LLM with Relation Classifier for Document-Level Relation Extractioncited by 8
- 2025STRUCTSENSE: A Task-Agnostic Agentic Framework for Structured Information Extraction with Human-In-The-Loop Evaluation and Benchmarkingcited by 8
- 2025A Survey on Retrieval And Structuring Augmented Generation with Large Language Modelscited by 8
- 2024GenRES: Rethinking Evaluation for Generative Relation Extraction in the Era of Large Language Modelscited by 7
- 2024Unlocking Instructive In-Context Learning with Tabular Prompting for Relational Triple Extractioncited by 7
- 2023Beyond Isolation: Multi-Agent Synergy for Improving Knowledge Graph Constructioncited by 6
- 2024Recall, Retrieve and Reason: Towards Better In-Context Relation Extractioncited by 6
- 2023Enhancing In-Context Learning with Answer Feedback for Multi-Span Question Answeringcited by 5
- 2024IEPile: Unearthing Large-Scale Schema-Based Information Extraction Corpuscited by 5
- 2024Large Language Models can Achieve Social Balancecited by 5
- 2024Empirical Analysis of Dialogue Relation Extraction with Large Language Modelscited by 4
- 2025Ontology Learning with LLMs: A Benchmark Study on Axiom Identificationcited by 4
- 2023GPT-FinRE: In-context Learning for Financial Relation Extraction using Large Language Modelscited by 3
- 2023MT4CrossOIE: Multi-stage Tuning for Cross-lingual Open Information Extractioncited by 3
- 2023Document-Level In-Context Few-Shot Relation Extraction via Pre-Trained Language Modelscited by 2
- 2025Reasoning Pattern Matters: Learning to Reason without Human Rationalescited by 2
- 2023Mastering the Task of Open Information Extraction with Large Language Models and Consistent Reasoning Environmentcited by 1
- 2024DiMB-RE: Mining the Scientific Literature for Diet-Microbiome Associationscited by 1
- 2024Mathematical Derivation Graphs: A Relation Extraction Task in STEM Manuscriptscited by 1
- 2024Efficient Alignment of Large Language Models via Data Samplingcited by 1
- 2025Crowdsourcing-Based Knowledge Graph Construction for Drug Side Effects Using Large Language Models with an Application on Semaglutidecited by 1
- 2024A Two Dimensional Feature Engineering Method for Relation Extractioncited by 0
- 2024Enhancing Software-Related Information Extraction via Single-Choice Question Answering with Large Language Modelscited by 0
- 2024CRE-LLM: A Domain-Specific Chinese Relation Extraction Framework with Fine-tuned Large Language Modelcited by 0
- 2024End-to-End Trainable Retrieval-Augmented Generation for Relation Extractioncited by 0
- 2024Empowering Few-Shot Relation Extraction with The Integration of Traditional RE Methods and Large Language Modelscited by 0
- 2024Maximizing Relation Extraction Potential: A Data-Centric Study to Unveil Challenges and Opportunitiescited by 0
- 2024Extract Information from Hybrid Long Documents Leveraging LLMs: A Framework and Datasetcited by 0
- 2025Relation Extraction with Instance-Adapted Predicate Descriptionscited by 0
50 most cited of 62 All 62 (JSON)
- 2026Enhancing Scientific Named Entity Recognition via Large Language Models: A Type-driven Multi-task Learning Approach9 Aug 2026
- 2026CONSISTRE: A Unified Consistency-Aware Framework for Document-Level Relation Extraction with Large Language Models27 Jul 2026
- 2026LC-ICL: Label-Guided Contrastive In-Context Learning for Robust Information Extraction28 Jun 2026
- 2026DistilledGemma: Balanced Efficiency-Accuracy for Person-Place Relation Extraction from Multilingual Historical Articles28 Jun 2026
- 2026Sub-Billion, Super-Frontier: Small Language Models Rival Zero-Shot Frontier LLMs on General and Literary Relation Extraction21 Jun 2026
- 2026Authorship Impersonation via LLM Prompting does not Evade Authorship Verification Methods31 Mar 2026
- 2025Ontology Learning with LLMs: A Benchmark Study on Axiom Identification5 Dec 2025
- 2025Relation as a Prior: A Novel Paradigm for LLM-based Document-level Relation Extraction11 Nov 2025
- 2025Monitoring Transformative Technological Convergence Through LLM-Extracted Semantic Entity Triple Graphs29 Oct 2025
- 2025Reasoning Pattern Matters: Learning to Reason without Human Rationales14 Oct 2025
- 2025A Survey on Retrieval And Structuring Augmented Generation with Large Language Models12 Sep 2025
- 2025Hallucination-Resistant Relation Extraction via Dependency-Aware Sentence Simplification and Two-tiered Hierarchical Refinement20 Aug 2025
38 more
- 2025From Surface to Semantics: Semantic Structure Parsing for Table-Centric Document Analysis14 Aug 2025
- 2025Large Multi-modal Model Cartographic Map Comprehension for Textual Locality Georeferencing11 Jul 2025
- 2025Large Language Model for Extracting Complex Contract Information in Industrial Scenes9 Jul 2025
- 2025STRUCTSENSE: A Task-Agnostic Agentic Framework for Structured Information Extraction with Human-In-The-Loop Evaluation and Benchmarking4 Jul 2025
- 2025StructEval: Benchmarking LLMs' Capabilities to Generate Structural Outputs26 May 2025
- 2025Crowdsourcing-Based Knowledge Graph Construction for Drug Side Effects Using Large Language Models with an Application on Semaglutide6 Apr 2025
- 2025Relation Extraction with Instance-Adapted Predicate Descriptions22 Mar 2025
- 2024Extract Information from Hybrid Long Documents Leveraging LLMs: A Framework and Dataset28 Dec 2024
- 2024Efficient Alignment of Large Language Models via Data Sampling15 Nov 2024
- 2024Mathematical Derivation Graphs: A Relation Extraction Task in STEM Manuscripts26 Oct 2024
- 2024Large Language Models can Achieve Social Balance5 Oct 2024
- 2024DiMB-RE: Mining the Scientific Literature for Diet-Microbiome Associations29 Sep 2024
- 2024Maximizing Relation Extraction Potential: A Data-Centric Study to Unveil Challenges and Opportunities7 Sep 2024
- 2024LLM with Relation Classifier for Document-Level Relation Extraction25 Aug 2024
- 2024MMREC: LLM Based Multi-Modal Recommender System8 Aug 2024
- 2024Empowering Few-Shot Relation Extraction with The Integration of Traditional RE Methods and Large Language Models12 Jul 2024
- 2024Actionable Cyber Threat Intelligence using Knowledge Graphs and Large Language Models30 Jun 2024
- 2024Biomedical Visual Instruction Tuning with Clinician Preference Alignment19 Jun 2024
- 2024Research Trends for the Interplay between Large Language Models and Knowledge Graphs12 Jun 2024
- 2024End-to-End Trainable Retrieval-Augmented Generation for Relation Extraction6 Jun 2024
- 2024Large Language Models Meet NLP: A Survey21 May 2024
- 2024Automated Construction of Theme-specific Knowledge Graphs29 Apr 2024
- 2024CRE-LLM: A Domain-Specific Chinese Relation Extraction Framework with Fine-tuned Large Language Model28 Apr 2024
- 2024Recall, Retrieve and Reason: Towards Better In-Context Relation Extraction27 Apr 2024
- 2024Meta In-Context Learning Makes Large Language Models Better Zero and Few-Shot Relation Extractors27 Apr 2024
- 2024Empirical Analysis of Dialogue Relation Extraction with Large Language Models27 Apr 2024
- 2024Enhancing Software-Related Information Extraction via Single-Choice Question Answering with Large Language Models8 Apr 2024
- 2024A Two Dimensional Feature Engineering Method for Relation Extraction7 Apr 2024
- 2024ERA-CoT: Improving Chain-of-Thought through Entity Relationship Analysis11 Mar 2024
- 2024IEPile: Unearthing Large-Scale Schema-Based Information Extraction Corpus22 Feb 2024
- 2024Unlocking Instructive In-Context Learning with Tabular Prompting for Relational Triple Extraction21 Feb 2024
- 2024GenRES: Rethinking Evaluation for Generative Relation Extraction in the Era of Large Language Models16 Feb 2024
- 2023Large Language Models for Generative Information Extraction: A Survey29 Dec 2023
- 2023Cost-Effective In-Context Learning for Entity Resolution: A Design Space Exploration7 Dec 2023
- 2023Beyond Isolation: Multi-Agent Synergy for Improving Knowledge Graph Construction5 Dec 2023
- 2023Chain of Thought with Explicit Evidence Reasoning for Few-shot Relation Extraction10 Nov 2023
- 2023Document-Level In-Context Few-Shot Relation Extraction via Pre-Trained Language Models17 Oct 2023
- 2023Mastering the Task of Open Information Extraction with Large Language Models and Consistent Reasoning Environment16 Oct 2023
50 newest of 62 All 62 (JSON)
- 2023LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunitiescited by 97
- 2023Chain of Thought with Explicit Evidence Reasoning for Few-shot Relation Extractioncited by 19
- 2024ERA-CoT: Improving Chain-of-Thought through Entity Relationship Analysiscited by 18
- 2024GenRES: Rethinking Evaluation for Generative Relation Extraction in the Era of Large Language Modelscited by 7
- 2024Recall, Retrieve and Reason: Towards Better In-Context Relation Extractioncited by 6
- 2025Reasoning Pattern Matters: Learning to Reason without Human Rationalescited by 2
- 2023Mastering the Task of Open Information Extraction with Large Language Models and Consistent Reasoning Environmentcited by 1
- 2025Reasoning Pattern Matters: Learning to Reason without Human Rationales14 Oct 2025
- 2024Recall, Retrieve and Reason: Towards Better In-Context Relation Extraction27 Apr 2024
- 2024ERA-CoT: Improving Chain-of-Thought through Entity Relationship Analysis11 Mar 2024
- 2024GenRES: Rethinking Evaluation for Generative Relation Extraction in the Era of Large Language Models16 Feb 2024
- 2023Chain of Thought with Explicit Evidence Reasoning for Few-shot Relation Extraction10 Nov 2023
- 2023Mastering the Task of Open Information Extraction with Large Language Models and Consistent Reasoning Environment16 Oct 2023
- 2023LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunities22 May 2023
- 2024Biomedical Visual Instruction Tuning with Clinician Preference Alignmentcited by 21
- 2024Efficient Alignment of Large Language Models via Data Samplingcited by 1
- 2025Hallucination-Resistant Relation Extraction via Dependency-Aware Sentence Simplification and Two-tiered Hierarchical Refinementcited by 0
- 2025Hallucination-Resistant Relation Extraction via Dependency-Aware Sentence Simplification and Two-tiered Hierarchical Refinement20 Aug 2025
- 2024Efficient Alignment of Large Language Models via Data Sampling15 Nov 2024
- 2024Biomedical Visual Instruction Tuning with Clinician Preference Alignment19 Jun 2024
- 2023Instruction Tuning for Large Language Models: A Surveycited by 623
- 2023Large Language Models for Generative Information Extraction: A Surveycited by 185
- 2023Text Classification via Large Language Modelscited by 106
- 2024Large Language Models Meet NLP: A Surveycited by 103
- 2023Empirical Study of Zero-Shot NER with ChatGPTcited by 60
- 2023Pushing the Limits of ChatGPT on NLP Taskscited by 27
- 2023Iterative Zero-Shot LLM Prompting for Knowledge Graph Constructioncited by 25
- 2025StructEval: Benchmarking LLMs' Capabilities to Generate Structural Outputscited by 25
- 2023Guideline Learning for In-context Information Extractioncited by 24
- 2024MMREC: LLM Based Multi-Modal Recommender Systemcited by 22
- 2023Position: Key Claims in LLM Research Have a Long Tail of Footnotescited by 20
- 2024Automated Construction of Theme-specific Knowledge Graphscited by 16
12 most cited of 46 All 46 (JSON)
- 2026Enhancing Scientific Named Entity Recognition via Large Language Models: A Type-driven Multi-task Learning Approach9 Aug 2026
- 2026LC-ICL: Label-Guided Contrastive In-Context Learning for Robust Information Extraction28 Jun 2026
- 2026Sub-Billion, Super-Frontier: Small Language Models Rival Zero-Shot Frontier LLMs on General and Literary Relation Extraction21 Jun 2026
- 2026Authorship Impersonation via LLM Prompting does not Evade Authorship Verification Methods31 Mar 2026
- 2025Ontology Learning with LLMs: A Benchmark Study on Axiom Identification5 Dec 2025
- 2025Relation as a Prior: A Novel Paradigm for LLM-based Document-level Relation Extraction11 Nov 2025
- 2025Monitoring Transformative Technological Convergence Through LLM-Extracted Semantic Entity Triple Graphs29 Oct 2025
- 2025A Survey on Retrieval And Structuring Augmented Generation with Large Language Models12 Sep 2025
- 2025From Surface to Semantics: Semantic Structure Parsing for Table-Centric Document Analysis14 Aug 2025
- 2025Large Language Model for Extracting Complex Contract Information in Industrial Scenes9 Jul 2025
- 2025StructEval: Benchmarking LLMs' Capabilities to Generate Structural Outputs26 May 2025
- 2025Crowdsourcing-Based Knowledge Graph Construction for Drug Side Effects Using Large Language Models with an Application on Semaglutide6 Apr 2025
12 newest of 46 All 46 (JSON)