arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.12533cs.CLcs.AIcs.LG
收藏

BioCopy:Seq2Seq模型中的即插即用跨复制机制

BioCopy: A Plug-And-Play Span Copy Mechanism in Seq2Seq Models

RMIT University(皇家墨尔本理工大学);King’s College London(伦敦国王学院);South China University of Technology(华南理工大学);Shenzhen Zhuiyi Technology Co., Ltd.(深圳追一科技有限公司)

Yi Liu, Guoan Zhang, Puning Yu, Jianlin Su, Shengfeng Pan

摘要:

在神经seq2seq框架下,复制机制显式地从源(输入)序列中获取未更改的令牌,以生成目标(输出)序列。然而,现有的复制机制大多只考虑从源句子中复制单个单词,这导致在复制长跨度时丢失必要的标记。在这项工作中,我们提出了一个即插即用的架构,即BioCopy,以减轻上述问题。具体来说,在训练阶段,我们为每个令牌构造一个BIO标签,并用BIO标签联合训练原始模型。在推理阶段,模型首先预测每个时间步的BIO标签,然后根据预测的BIO标签执行不同的掩码策略,以缩小词汇表上概率分布的范围。在两个独立的生成任务上的实验结果表明,通过将我们的BioCopy添加到原始模型结构中,它们的性能都优于基线模型。

英文摘要:

Copy mechanisms explicitly obtain unchanged tokens from the source (input) sequence to generate the target (output) sequence under the neural seq2seq framework. However, most of the existing copy mechanisms only consider single word copying from the source sentences, which results in losing essential tokens while copying long spans. In this work, we propose a plug-and-play architecture, namely BioCopy, to alleviate the problem aforementioned. Specifically, in the training stage, we construct a BIO tag for each token and train the original model with BIO tags jointly. In the inference stage, the model will firstly predict the BIO tag at each time step, then conduct different mask strategies based on the predicted BIO label to diminish the scope of the probability distributions over the vocabulary list. Experimental results on two separate generative tasks show that they all outperform the baseline models by adding our BioCopy to the original model structure.

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

↑