用实例化谓词描述提升小模型关系抽取性能
Relation Extraction with Instance-Adapted Predicate Descriptions
- 双编码器动态生成带实体跨度的谓词表示
- 在生物医学和通用领域数据集上提升1%~2%准确率
- 适合资源受限场景下的关系抽取任务
关系抽取(RE)是信息抽取的核心任务,广泛应用于知识发现和问答系统。尽管解码器型大模型在生成任务中表现优异,但小型编码器模型仍是当前RE的主流架构。本文提出一种新型双编码器结构,采用联合对比损失与交叉熵损失进行微调。与以往使用固定线性层表示谓词不同,本方法通过第二个编码器,将真实实体跨度信息注入输入实例,生成实例相关的谓词表示。我们在两个生物医学RE数据集和两个通用领域数据集上进行了实验,结果表明该方法相较现有最优方法在F1分数上提升了1%至2%,且结构简洁优雅。消融实验证明了所提架构各组件的重要性。
原文摘要 · Abstract (English)
Relation extraction (RE) is a standard information extraction task playing a major role in downstream applications such as knowledge discovery and question answering. Although decoder-only large language models are excelling in generative tasks, smaller encoder models are still the go to architecture for RE. In this paper, we revisit fine-tuning such smaller models using a novel dual-encoder architecture with a joint contrastive and cross-entropy loss. Unlike previous methods that employ a fixed linear layer for predicate representations, our approach uses a second encoder to compute instance-specific predicate representations by infusing them with real entity spans from corresponding input instances. We conducted experiments on two biomedical RE datasets and two general domain datasets. Our approach achieved F1 score improvements ranging from 1% to 2% over state-of-the-art methods with a simple but elegant formulation. Ablation studies justify the importance of various components built into the proposed architecture.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。