Lune

ACL Findings2022

RelationPrompt: Leveraging Prompts to Generate Synthetic Data for Zero-Shot Relation Triplet Extraction

Yew Ken Chia, Lidong Bing, Soujanya Poria, Luo Si

Abstract

Despite the importance of relation extraction in building and representing knowledge, less research is focused on generalizing to unseen relations types. We introduce the task setting of Zero-Shot Relation Triplet Extraction (Ze-roRTE) to encourage further research in lowresource relation extraction methods. Given an input sentence, each extracted triplet consists of the head entity, relation label, and tail entity where the relation label is not seen at the training stage. To solve ZeroRTE, we propose to synthesize relation examples by prompting language models to generate structured texts. Concretely, we unify language model prompts and structured text approaches to design a structured prompt template for generating synthetic relation samples when conditioning on relation label prompts (RelationPrompt). To overcome the limitation for extracting multiple relation triplets in a sentence, we design a novel Triplet Search Decoding method. Experiments on FewRel and Wiki-ZSL datasets show the efficacy of RelationPrompt for the ZeroRTE task and zero-shot relation classification. Our code and data are available at github.com/declare-lab/RelationPrompt.

Ask Lune

Ask anything. The answer quotes the paper.

Lune reads all of it and the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

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

Get the answer

Free to start. No credit card required.

Cited by top-tier papers28

  1. Revisiting DocRED - Addressing the False Negative Problem in Relation ExtractionQingyu Tan, Lu Xu, Lidong Bing, Hwee Tou Ng et al.EMNLP 2022 · 76 citations
  2. Improving Aspect Sentiment Quad Prediction via Template-Order Data AugmentationMengting Hu, Yike Wu, Hang Gao, Yinhao Bai et al.EMNLP 2022 · 45 citations
  3. Consistency Guided Knowledge Retrieval and Denoising in LLMs for Zero-shot Document-level Relation Triplet ExtractionQi Sun, Kun Huang, Xiaocui Yang, Rong Tong et al.WWW 2024 · 40 citations
  4. UrbanKGent: A Unified Large Language Model Agent Framework for Urban Knowledge Graph ConstructionYansong Ning, Hao LiuNeurIPS 2024 · 35 citations
  5. PAED: Zero-Shot Persona Attribute Extraction in DialoguesLuyao Zhu, Wei Li, Rui Mao, Vlad Pandelea et al.ACL 2023 · 30 citations

Builds on12

  1. Unsupervised Data Augmentation for Consistency TrainingQizhe Xie, Zihang Dai, Eduard H. Hovy, Thang Luong et al.NeurIPS 2020 · 2,774 citations
  2. Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein et al.ICML 2021 · 1,843 citations
  3. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
  4. Template-Based Named Entity Recognition Using BARTLeyang Cui, Yu Wu, Jian Liu, Sen Yang et al.ACL Findings 2021 · 342 citations
  5. Generating Training Data with Language Models: Towards Zero-Shot Language UnderstandingYu Meng, Jiaxin Huang, Yu Zhang, Jiawei HanNeurIPS 2022 · 309 citations

Related papers

  1. A Two-Agent Game for Zero-shot Relation Triplet ExtractionTing Xu, Haiqin Yang, Fei Zhao, Zhen Wu et al.ACL Findings 2024 · 3 citations
  2. Frame First, Then Extract: A Frame-Semantic Reasoning Pipeline for Zero-Shot Relation Triplet ExtractionZehan Li, Fu Zhang, Wenqing Zhang, Jiawei Li et al.EMNLP 2025
  3. Multilingual Relation Classification via Efficient and Effective PromptingYuxuan Chen, David Harbecke, Leonhard HennigEMNLP 2022 · 13 citations
  4. Unleashing the Power of Large Language Models in Zero-shot Relation Extraction via Self-PromptingSiyi Liu, Yang Li, Jiang Li, Shan Yang et al.EMNLP Findings 2024 · 14 citations
  5. Generative Meta-Learning for Zero-Shot Relation Triplet ExtractionWanli Li, Tieyun Qian, Yi Song, Zeyu Zhang et al.SIGIR 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines