arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.03543cs.CLcs.AI
收藏

用于长序列比对约束的嵌套命名实体识别的RNN传感器

RNN Transducers for Nested Named Entity Recognition with constraints on alignment for long sequences

Google Brain(谷歌大脑)

Hagen Soltau, Izhak Shafran, Mingqiu Wang, Laurent El Shafey

摘要:

命名实体识别(NER)的流行解决方案包括条件随机场、序列到序列模型或利用问答框架。然而,它们不适合嵌套和重叠的跨度与大本体和预测的实体的位置。为了填补这一空白,我们引入了一个新的模型NER任务-RNN转换器(RNN-T)。这些模型使用成对的输入和输出序列进行训练,而不明确指定它们之间的比对,类似于其他seq-to-seq模型。RNN-T模型使用对所有比对求和的损失函数来学习比对。然而,在NER任务中,单词和目标标签之间的对齐可以从人类注释中获得。我们提出了一个固定对齐的RNN-T模型,它利用了给定的对齐,同时保留了RNN-T的优点,例如对输出依赖关系进行建模。作为一个更一般的情况下,我们还提出了一个约束对齐模型,用户可以指定一个给定的输入对齐的放松和模型将学习给定的约束内的对齐。换句话说,我们提出了一系列seq-to-seq模型,这些模型可以在可用时利用输入序列和目标序列之间的比对。通过对具有多个嵌套本体的具有挑战性的现实世界医疗NER任务的实证实验,我们证明了我们的固定比对模型优于标准RNN-T模型,将F1分数从0.70提高到0.74。

英文摘要:

Popular solutions to Named Entity Recognition (NER) include conditional random fields, sequence-to-sequence models, or utilizing the question-answering framework. However, they are not suitable for nested and overlapping spans with large ontologies and for predicting the position of the entities. To fill this gap, we introduce a new model for NER task -- an RNN transducer (RNN-T). These models are trained using paired input and output sequences without explicitly specifying the alignment between them, similar to other seq-to-seq models. RNN-T models learn the alignment using a loss function that sums over all alignments. In NER tasks, however, the alignment between words and target labels are available from the human annotations. We propose a fixed alignment RNN-T model that utilizes the given alignment, while preserving the benefits of RNN-Ts such as modeling output dependencies. As a more general case, we also propose a constrained alignment model where users can specify a relaxation of the given input alignment and the model will learn an alignment within the given constraints. In other words, we propose a family of seq-to-seq models which can leverage alignments between input and target sequences when available. Through empirical experiments on a challenging real-world medical NER task with multiple nested ontologies, we demonstrate that our fixed alignment model outperforms the standard RNN-T model, improving F1-score from 0.70 to 0.74.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑