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

神经元序列生成的同步双向推理

Synchronous Bidirectional Inference for Neural Sequence Generation

National Laboratory of Pattern Recognition, CASIA(中国科学院自动化研究所模式识别国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);CAS Center for Excellence in Brain Science and Intelligence Technology(中国科学院脑科学与智能技术卓越创新中心)

Jiajun Zhang, Long Zhou, Yang Zhao, Chengqing Zong

摘要:

在序列到序列生成任务(例如,机器翻译和抽象概括)中,通常以从左到右的方式执行推理,以逐个标记地产生结果。LSTM和自注意力网络等神经方法现在能够在推理过程中充分利用左侧的所有预测历史假设,但无法同时访问任何未来(右侧)信息,并且通常会生成不平衡的输出,其中左侧部分比右侧部分准确得多。在这项工作中,我们提出了一个同步的双向推理模型,同时使用从左到右和从右到左的解码和交互式生成输出。首先,我们介绍了一种新的束搜索算法,有利于同步双向解码。然后,我们提出的核心方法,使从左到右和从右到左的解码相互作用,以便在推理过程中同时利用历史和未来的预测。我们将所提出的模型应用于LSTM和自注意力网络。此外,我们提出了两种策略的参数优化。在机器翻译和摘要摘要上的大量实验表明,我们的同步双向推理模型可以在强基线上取得显着的改善。

英文摘要:

In sequence to sequence generation tasks (e.g. machine translation and abstractive summarization), inference is generally performed in a left-to-right manner to produce the result token by token. The neural approaches, such as LSTM and self-attention networks, are now able to make full use of all the predicted history hypotheses from left side during inference, but cannot meanwhile access any future (right side) information and usually generate unbalanced outputs in which left parts are much more accurate than right ones. In this work, we propose a synchronous bidirectional inference model to generate outputs using both left-to-right and right-to-left decoding simultaneously and interactively. First, we introduce a novel beam search algorithm that facilitates synchronous bidirectional decoding. Then, we present the core approach which enables left-to-right and right-to-left decoding to interact with each other, so as to utilize both the history and future predictions simultaneously during inference. We apply the proposed model to both LSTM and self-attention networks. In addition, we propose two strategies for parameter optimization. The extensive experiments on machine translation and abstractive summarization demonstrate that our synchronous bidirectional inference model can achieve remarkable improvements over the strong baselines.

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

↑