arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.10845cs.CL
收藏

TAPIR:基于两阶段模型学习自适应修正的增量自然语言理解

TAPIR: Learning Adaptive Revision for Incremental Natural Language Understanding with a Two-Pass Model

University of Potsdam(波茨坦大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI))

Patrick Kahardipraja, Brielen Madureira, David Schlangen

AI总结:

针对增量处理中RNN单调无法修正与Transformer重复计算成本高的问题,提出两阶段自适应修正模型TAPIR,通过增量监督信号学习修正策略,在序列标注任务中实现了更优的增量性能、更快推理速度且几乎不损失完整序列性能。

摘要:

语言在其产生和处理方式上本质上具有增量特性。NLP系统可以利用这一特性来产生快速响应,这已被证明对实时交互应用是有益的。近期基于神经网络的增量处理方法主要使用RNN或Transformers。RNN速度快但具有单调性(无法修正先前的输出,而这在增量处理中可能是必需的)。另一方面,Transformers消耗整个序列,因此本质上是非增量的。一个重启增量接口可以重复传递更长的输入前缀以获取部分输出,同时提供修正能力。然而,随着句子变长,此方法的计算成本会增加。在本研究中,我们提出了用于自适应修正的两阶段模型(TAPIR),并引入了一种获取增量监督信号的方法来学习自适应修正策略。在序列标注上的实验结果表明,与重启增量Transformers相比,我们的模型具有更好的增量性能和更快的推理速度,同时在完整序列上表现出很小的性能下降。

英文摘要:

Language is by its very nature incremental in how it is produced and processed. This property can be exploited by NLP systems to produce fast responses, which has been shown to be beneficial for real-time interactive applications. Recent neural network-based approaches for incremental processing mainly use RNNs or Transformers. RNNs are fast but monotonic (cannot correct earlier output, which can be necessary in incremental processing). Transformers, on the other hand, consume whole sequences, and hence are by nature non-incremental. A restart-incremental interface that repeatedly passes longer input prefixes can be used to obtain partial outputs, while providing the ability to revise. However, this method becomes costly as the sentence grows longer. In this work, we propose the Two-pass model for AdaPtIve Revision (TAPIR) and introduce a method to obtain an incremental supervision signal for learning an adaptive revision policy. Experimental results on sequence labelling show that our model has better incremental performance and faster inference speed compared to restart-incremental Transformers, while showing little degradation on full sequences.

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

↑