Lune

EMNLP2023Top-tier venue

GPT-RE: In-context Learning for Relation Extraction using Large Language Models

Zhen Wan, Fei Cheng, Zhuoyuan Mao, Qianying Liu, Haiyue Song, Jiwei Li, Sadao Kurohashi

Abstract

In spite of the potential for ground-breaking achievements offered by large language models (LLMs) (e.g., GPT-3) via in-context learning (ICL), 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 ICL for RE: (1) low relevance regarding entity and relation in existing sentence-level demonstration retrieval approaches for ICL; and (2) the lack of explaining input-label mappings of demonstrations leading to poor ICL effectiveness. In this paper, we propose GPT-RE to successfully address the aforementioned issues by (1) incorporating task-aware 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 as in Figure 1. Specifically, GPT-RE achieves SOTA performances on the Semeval and SciERC datasets, and competitive performances on the TACRED and ACE05 datasets. Additionally, a critical issue of LLMs revealed by previous work, the strong inclination to wrongly classify NULL examples into other pre-defined labels, is substantially alleviated by our method. We show an empirical analysis.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

30 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ERA-CoT: Improving Chain-of-Thought through Entity Relationship Analysis cites Large Language Models are Zero-Shot Reasoners
  • ERA-CoT: Improving Chain-of-Thought through Entity Relationship Analysis cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Empirical Study of Zero-Shot NER with ChatGPT cites Large Language Models are Zero-Shot Reasoners
  • Empirical Study of Zero-Shot NER with ChatGPT cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • A Cooperative Multi-Agent Framework for Zero-Shot Named Entity Recognition cites Large Language Models are Zero-Shot Reasoners
  • A Cooperative Multi-Agent Framework for Zero-Shot Named Entity Recognition cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Large Language Models are Zero-Shot Reasoners cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites Calibrate Before Use: Improving Few-shot Performance of Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers30

  1. Empirical Study of Zero-Shot NER with ChatGPTTingyu Xie, Qi Li, Jian Zhang, Yan Zhang et al.EMNLP 2023 · 50 citations
  2. Cost-Effective In-Context Learning for Entity Resolution: A Design Space ExplorationMeihao Fan, Xiaoyue Han, Ju Fan, Chengliang Chai et al.ICDE 2024 · 40 citations
  3. An Autoregressive Text-to-Graph Framework for Joint Entity and Relation ExtractionUrchade Zaratiana, Nadi Tomeh, Pierre Holat, Thierry CharnoisAAAI 2024 · 39 citations
  4. ERA-CoT: Improving Chain-of-Thought through Entity Relationship AnalysisYanming Liu, Xinyue Peng, Tianyu Du, Jianwei Yin et al.ACL 2024 · 18 citations
  5. A Cooperative Multi-Agent Framework for Zero-Shot Named Entity RecognitionZihan Wang, Ziqi Zhao, Yougang Lyu, Zhumin Chen et al.WWW 2025 · 16 citations

Builds on14

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  2. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo et al.NeurIPS 2022 · 8,168 citations
  3. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
  4. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  5. Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein et al.ICML 2021 · 1,843 citations

Related papers

  1. ICL-D3IE: In-Context Learning with Diverse Demonstrations Updating for Document Information ExtractionJiabang He, Lei Wang, Yi Hu, Ning Liu et al.ICCV 2023 · 61 citations
  2. Revisiting Relation Extraction in the era of Large Language ModelsSomin Wadhwa, Silvio Amir, Byron C. WallaceACL 2023 · 145 citations
  3. Enhancing Relation Extraction via Supervised Rationale Verification and FeedbackYongqi Li, Xin Miao, Shen Zhou, Mayi Xu et al.AAAI 2025
  4. Thinking about GPT-3 In-Context Learning for Biomedical IE? Think AgainBernal Jimenez Gutierrez, Nikolas McNeal, Clayton Washington, You Chen et al.EMNLP Findings 2022 · 115 citations
  5. Generating Labeled Data for Relation Extraction: A Meta Learning Approach with Joint GPT-2 TrainingAmir Pouran Ben Veyseh, Franck Dernoncourt, Bonan Min, Thien Huu NguyenACL Findings 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines