序列生成:从两侧到中间
Sequence Generation: From Both Sides to the Middle
摘要:
编码器-解码器框架已经实现了许多序列生成任务的前景,如神经机器翻译和文本摘要。这样的框架通常从左到右逐标记地生成序列,因此(1)当输出句子变得较长时,这种自回归解码过程是耗时的,并且(2)它缺乏未来上下文的指导,这对于避免欠翻译是至关重要的。为了缓解这些问题,我们提出了一个同步双向序列生成(SBSG)模型,预测其输出从两侧到中间同时进行。在SBSG模型中,我们使从左到右(L2 R)和从右到左(R2 L)的生成能够通过利用交互式双向注意网络来相互帮助和交互。神经机器翻译(En-De,Ch-En和En-Ro)和文本摘要任务的实验表明,与自回归Transformer相比,该模型显着加快了解码速度,同时提高了生成质量。
英文摘要:
The encoder-decoder framework has achieved promising process for many sequence generation tasks, such as neural machine translation and text summarization. Such a framework usually generates a sequence token by token from left to right, hence (1) this autoregressive decoding procedure is time-consuming when the output sentence becomes longer, and (2) it lacks the guidance of future context which is crucial to avoid under translation. To alleviate these issues, we propose a synchronous bidirectional sequence generation (SBSG) model which predicts its outputs from both sides to the middle simultaneously. In the SBSG model, we enable the left-to-right (L2R) and right-to-left (R2L) generation to help and interact with each other by leveraging interactive bidirectional attention network. Experiments on neural machine translation (En-De, Ch-En, and En-Ro) and text summarization tasks show that the proposed model significantly speeds up decoding while improving the generation quality compared to the autoregressive Transformer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。