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.
Neural Architectures for Open-Type Relation Argument Extraction
Ludwig Maxilian University of Munich(慕尼黑路德维希马克西米利安大学);University of Cambridge(剑桥大学)
在这项工作中,我们介绍了开放型关系参数提取(ORAE)的任务:给定语料库,查询实体Q和知识库关系(例如,“Q authored notable work with title X”),模型必须从语料库中提取非标准实体类型的参数(不能由标准命名实体标记器提取的实体,例如X:书籍或艺术作品的标题)。获得并发布基于WikiData关系的远程监督数据集以解决该任务。我们开发和比较了广泛的神经模型,这项任务产生了很大的改进,在一个强大的基线与神经问答系统。系统地比较了不同的句子编码架构和答案提取方法的影响。基于门控递归单元的编码器与条件随机场标记器相结合给出了最佳结果。
Taggus: An Automated Pipeline for the Extraction of Characters' Social Networks from Portuguese Fiction Literature
NOVA Information Management School (NOVA IMS)(NOVA信息管理学校);Universidade Nova de Lisboa(里斯本新大学);Centro Algoritmi/LASI(算法中心/LASI);University of Évora(埃维拉大学)
Relation Extraction Datasets in the Digital Humanities Domain and their Evaluation with Word Embeddings
ITMO University(圣彼得堡国立信息技术机械与光学大学);International Laboratory of Information Science and Semantic Technologies(国际信息科学与语义技术实验室);National Research University, Higher School of Economics(国立研究型大学高等经济学院)