[论文解读] OneRel:Joint Entity and Relation Extraction with One Module in One Step
OneRel 将联合实体与关系提取重新表述为细粒度三元组分类,使用一个基于评分的分类器和面向关系的 Horns 标注策略,以一步提取所有三元组,在复杂重叠场景中达到最先进的结果。
Joint entity and relation extraction is an essential task in natural language processing and knowledge graph construction. Existing approaches usually decompose the joint extraction task into several basic modules or processing steps to make it easy to conduct. However, such a paradigm ignores the fact that the three elements of a triple are interdependent and indivisible. Therefore, previous joint methods suffer from the problems of cascading errors and redundant information. To address these issues, in this paper, we propose a novel joint entity and relation extraction model, named OneRel, which casts joint extraction as a fine-grained triple classification problem. Specifically, our model consists of a scoring-based classifier and a relation-specific horns tagging strategy. The former evaluates whether a token pair and a relation belong to a factual triple. The latter ensures a simple but effective decoding process. Extensive experimental results on two widely used datasets demonstrate that the proposed method performs better than the state-of-the-art baselines, and delivers consistent performance gain on complex scenarios of various overlapping patterns and multiple triples.
研究动机与目标
- 推动一种将(头实体、关系、尾实体)视为相互依赖且不可分割的联合提取方法。
- 通过避免多步骤管道,消除级联错误和冗余信息。
- 提出一个与关系特定标注方案相结合的基于评分的分类器,以高效解码三元组。
- 在标准基准上展示优越性能,包括复杂的重叠模式。
提出的方法
- 将联合提取转换为针对所有令牌对和预定义关系的细粒度三元组分类问题。
- 使用一个基于评分的分类器,为每个(头令牌、关系、尾令牌)三元组计算分数,采用受 HolE 启发的非线性投影。
- 定义 Rel-Spec Horns 标注方案,仅对边界相关的角点(HB-TE、HB-TB、HE-TE)进行稀疏标注以实现高效解码。
- 输出一个三维标注矩阵 M,其中条目指示有效三元组;解码从标注的角点提取头部跨度和尾部跨度。
- 使用对所有可能的(i, r, j)组合的交叉熵目标进行训练,在关系特定标签上进行 softmax。
- 将 BERT 作为句子编码器以及可学习的关系表示,以实现对所有关系的并行评分。
实验结果
研究问题
- RQ1联合实体与关系是否可以在一个模块、一步内有效实现而无需级联错误?
- RQ2将头、关系、尾之间的互相关系用细粒度三元组分类视角是否比多模块方法更能捕捉?
- RQ3相较基线方法,Rel-Spec Horns 标注解码策略在覆盖(三元组重叠复杂模式如 EPO、SEO、HTO、N≥5)上的表现如何?
- RQ4与现有的一步法和多步法相比,在效率和准确性上的权衡如何?
主要发现
- OneRel 在 NYT 与 WebNLG 基准上实现了最先进的 F1,优于基线在部分与精确匹配维度的表现。
- Rel-Spec Horns 标注通过聚焦边界角点实现高效解码,提升对重叠三元组的处理。
- OneRel 在复杂的重叠场景(EPO、SEO、HTO、N≥5)上显示出显著的性能提升。
- 与 TPLinker 相比,OneRel 在架构更简单、两层分类器的情况下仍实现更高的 F1。
- 在所有关系上的并行评分方法保持了效率,训练和推断时间与强基线相当。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。