paper-with-me

홈 › Papers

Relation Extraction as Open-book Examination: Retrieval-enhanced Prompt Tuning

2022-05-04 · Xiang Chen, Lei LI, Ningyu Zhang, Chuanqi Tan, Fei Huang, Luo Si, Huajun Chen

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.

📄 PDF Abstract BibTeX arXiv:2205.02355

Code (1)

zjunlp/PromptKG/tree/main/research/RetrievalRE 공식 구현 jax

Tasks

Few-Shot LearningMemorizationRelationRelation ExtractionRetrieval

Methods 이 논문이 사용한 방법론

KnowPrompt KnowPrompt is a prompt-tuning approach for relational understanding. It injects entity and relation knowledge into prompt construction with learnable virtual template words as…

Similar Papers 제목 키워드 기반

Efficient Media Retrieval from Non-Cooperative Queries

2014-11-19 · Kevin Shih, Wei Di, Vignesh Jagadeesh, Robinson Piramuthu

Text is ubiquitous in the artificial world and easily attainable when it comes to book title and author names. Using the images from the book cover set from the Stanford Mobile Visual Search dataset and additional book c…

Optical Character Recognition (OCR)RetrievalText Matching

Multi-hop Evidence Retrieval for Cross-document Relation Extraction

2022-12-21 · Keming Lu, I-Hung Hsu, Wenxuan Zhou, Mingyu Derek Ma 외

Relation Extraction (RE) has been extended to cross-document scenarios because many relations are not simply described in a single document. This inevitably brings the challenge of efficient open-space evidence retrieval…

RelationRelation ExtractionRetrieval

Evaluating undergraduate mathematics examinations in the era of generative AI: a curriculum-level case study

2025-09-15 · Benjamin J. Walker, Nikoleta Kalaydzhieva, Beatriz Navarro Lameda, Ruth A. Reynolds arxiv

Generative artificial intelligence (GenAI) tools such as OpenAI's ChatGPT are transforming the educational landscape, prompting reconsideration of traditional assessment practices. In parallel, universities are exploring…

PatRe: A Full-Stage Office Action and Rebuttal Generation Benchmark for Patent Examination

2026-05-05 · Qiyao Wang, Xinyi Chen, Longze Chen, Hongbo Wang 외 arxiv

Patent examination is a complex, multi-stage process requiring both technical expertise and legal reasoning, increasingly challenged by rising application volumes. Prior benchmarks predominantly view patent examination a…

Legal Reasoning

Frustratingly Hard Evidence Retrieval for QA Over Books

2020-07-20 · WS 2020 7 · Xiangyang Mou, Mo Yu, Bingsheng Yao, Chenghao Yang 외

A lot of progress has been made to improve question answering (QA) in recent years, but the special problem of QA over narrative book stories has not been explored in-depth. We formulate BookQA as an open-domain QA task …

Question AnsweringRetrieval