Relation Extraction as Open-book Examination: Retrieval-enhanced Prompt Tuning
Not on the map. Why?
Abstract (arXiv)
Pre-trained language models have contributed significantly to relation extraction by demonstrating remarkable few-shot learning abilities. However, prompt tuning methods for relation extraction may still fail to generalize to those rare or hard patterns. Note that the previous parametric learning paradigm can be viewed as memorization regarding training data as a book and inference as the close-book test. Those long-tailed or hard patterns can hardly be memorized in parameters given few-shot instances. To this end, we regard RE as an open-book examination and propose a new semiparametric paradigm of retrieval-enhanced prompt tuning for relation extraction. We construct an open-book datastore for retrieval regarding prompt-based instance representations and corresponding relation labels as memorized key-value pairs. During inference, the model can infer relations by linearly interpolating the base output of PLM with the non-parametric nearest neighbor distribution over the datastore. In this way, our model not only infers relation through knowledge stored in the weights during training but also assists decision-making by unwinding and querying examples in the open-book datastore. Extensive experiments on benchmark datasets show that our method can achieve state-of-the-art in both standard supervised and few-shot settings. Code are available in https://github.com/zjunlp/PromptKG/tree/main/research/RetrievalRE.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 41 of its 53 references that are in the map. First posted on arXiv 4 May 2022.
Builds on
41 of 53 references.
References · 41
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2021GPT Understands, Toocited by 715
- 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
- 2019Knowledge Enhanced Contextual Word Representationscited by 294
- 2019Matching the Blanks: Distributional Similarity for Relation Learningcited by 271
29 more
- 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
- 2021WARP: Word-level Adversarial ReProgrammingcited by 220
- 2020Nearest Neighbor Machine Translationcited by 209
- 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
- 2021KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extractioncited by 180
- 2020Automatically Identifying Words That Can Serve as Labels for Few-Shot Text Classificationcited by 98
- 2020TACRED Revisited: A Thorough Evaluation of the TACRED Relation Extraction Taskcited by 96
- 2021Efficient Nearest Neighbor Language Modelscited by 93
- 2021An Improved Baseline for Sentence-level Relation Extractioncited by 80
- 2021Document-level Relation Extraction as Semantic Segmentationcited by 80
- 2021Re-TACRED: Addressing Shortcomings of the TACRED Datasetcited by 73
- 2021Complex Temporal Question Answering on Knowledge Graphscited by 69
- 2020Dialogue-Based Relation Extractioncited by 68
- 2019Long-tail Relation Extraction via Knowledge Graph Embeddings and Graph Convolution Networkscited by 61
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
- 2020Contrastive Triple Extraction with Generative Transformercited by 44
- 2021PRGC: Potential Relation and Global Correspondence Based Joint Relational Triple Extractioncited by 40
- 2020BERT-kNN: Adding a kNN Search Component to Pretrained Language Models for Better QAcited by 36
- 2021AliCG: Fine-grained and Evolvable Conceptual Graph Construction for Semantic Search at Alibabacited by 33
- 2020GDPNet: Refining Latent Multi-View Graph for Relation Extractioncited by 29
- 2021Passage Retrieval for Outside-Knowledge Visual Question Answeringcited by 25
- 2019NERO: A Neural Rule Grounding Framework for Label-Efficient Relation Extractioncited by 24
- 2021Semantic Representation for Dialogue Modelingcited by 24
- 2020Logic-guided Semantic Representation Learning for Zero-Shot Relation Classificationcited by 18
- 2022Instance-aware Prompt Learning for Language Understanding and Generationcited by 18
- 2020Modeling Topical Relevance for Multi-Turn Dialogue Generationcited by 15
- 2020Finding Influential Instances for Distantly Supervised Relation Extractioncited by 13
- 2022Context-Tuning: Learning Contextualized Prompts for Natural Language Generationcited by 11
- 2021KNN-BERT: Fine-Tuning Pre-Trained Models with KNN Classifiercited by 7
Built on by
Citing papers per year: 2022: 2; 2023: 4; 2024: 5; 2025: 2.
13 papers.
Sort:
By area:
- 2022Generative Knowledge Graph Construction: A Reviewcited by 49
- 2024Automated Construction of Theme-specific Knowledge Graphscited by 15
- 2022Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Constructioncited by 6
- 2023Schema-adaptable Knowledge Graph Constructioncited by 4
- 2023Analogical Inference Enhanced Knowledge Graph Embeddingcited by 3
- 2023Enhancing Low-Resource Relation Representations through Multi-View Decouplingcited by 3
- 2024FPT: Feature Prompt Tuning for Few-shot Readability Assessmentcited by 1
- 2024Contrast then Memorize: Semantic Neighbor Retrieval-Enhanced Inductive Multimodal Knowledge Graph Completioncited by 1
- 2025Generating Diverse Training Samples for Relation Extraction with Large Language Modelscited by 1
- 2023Boosting Prompt-Based Self-Training With Mapping-Free Automatic Verbalizer for Multi-Class Classificationcited by 0
- 2024BayesPrompt: Prompting Large-Scale Pre-Trained Language Models on Few-shot Inference via Debiased Domain Abstractioncited by 0
- 2024A Multi-Source Heterogeneous Knowledge Injected Prompt Learning Method for Legal Charge Predictioncited by 0
- 2025M-BRe: Discovering Training Samples for Relation Extraction from Unlabeled Texts with Large Language Models9 Sep 2025
- 2025Generating Diverse Training Samples for Relation Extraction with Large Language Models29 May 2025
- 2024A Multi-Source Heterogeneous Knowledge Injected Prompt Learning Method for Legal Charge Prediction5 Aug 2024
- 2024Contrast then Memorize: Semantic Neighbor Retrieval-Enhanced Inductive Multimodal Knowledge Graph Completion3 Jul 2024
- 2024Automated Construction of Theme-specific Knowledge Graphs29 Apr 2024
- 2024FPT: Feature Prompt Tuning for Few-shot Readability Assessment3 Apr 2024
- 2024BayesPrompt: Prompting Large-Scale Pre-Trained Language Models on Few-shot Inference via Debiased Domain Abstraction25 Jan 2024
- 2023Enhancing Low-Resource Relation Representations through Multi-View Decoupling26 Dec 2023
- 2023Boosting Prompt-Based Self-Training With Mapping-Free Automatic Verbalizer for Multi-Class Classification8 Dec 2023
- 2023Schema-adaptable Knowledge Graph Construction15 May 2023
- 2023Analogical Inference Enhanced Knowledge Graph Embedding3 Jan 2023
- 2022Generative Knowledge Graph Construction: A Review23 Oct 2022
- 2022Generative Knowledge Graph Construction: A Reviewcited by 49
- 2024Automated Construction of Theme-specific Knowledge Graphscited by 15
- 2022Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Constructioncited by 6
- 2023Schema-adaptable Knowledge Graph Constructioncited by 4
- 2023Analogical Inference Enhanced Knowledge Graph Embeddingcited by 3
- 2023Enhancing Low-Resource Relation Representations through Multi-View Decouplingcited by 3
- 2024FPT: Feature Prompt Tuning for Few-shot Readability Assessmentcited by 1
- 2024Contrast then Memorize: Semantic Neighbor Retrieval-Enhanced Inductive Multimodal Knowledge Graph Completioncited by 1
- 2025Generating Diverse Training Samples for Relation Extraction with Large Language Modelscited by 1
- 2024BayesPrompt: Prompting Large-Scale Pre-Trained Language Models on Few-shot Inference via Debiased Domain Abstractioncited by 0
- 2024A Multi-Source Heterogeneous Knowledge Injected Prompt Learning Method for Legal Charge Predictioncited by 0
- 2025M-BRe: Discovering Training Samples for Relation Extraction from Unlabeled Texts with Large Language Modelscited by 0
- 2025M-BRe: Discovering Training Samples for Relation Extraction from Unlabeled Texts with Large Language Models9 Sep 2025
- 2025Generating Diverse Training Samples for Relation Extraction with Large Language Models29 May 2025
- 2024A Multi-Source Heterogeneous Knowledge Injected Prompt Learning Method for Legal Charge Prediction5 Aug 2024
- 2024Contrast then Memorize: Semantic Neighbor Retrieval-Enhanced Inductive Multimodal Knowledge Graph Completion3 Jul 2024
- 2024Automated Construction of Theme-specific Knowledge Graphs29 Apr 2024
- 2024FPT: Feature Prompt Tuning for Few-shot Readability Assessment3 Apr 2024
- 2024BayesPrompt: Prompting Large-Scale Pre-Trained Language Models on Few-shot Inference via Debiased Domain Abstraction25 Jan 2024
- 2023Enhancing Low-Resource Relation Representations through Multi-View Decoupling26 Dec 2023
- 2023Schema-adaptable Knowledge Graph Construction15 May 2023
- 2023Analogical Inference Enhanced Knowledge Graph Embedding3 Jan 2023
- 2022Generative Knowledge Graph Construction: A Review23 Oct 2022
- 2022Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Construction19 Oct 2022