Synchronous Bidirectional Inference for Neural Sequence Generation
arXiv:1902.08955
Abstract
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.
27 pages
References in corpus (6)
- Sequence to Sequence Learning with Neural Networks
- Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
- Selective Encoding for Abstractive Sentence Summarization
- Twin Networks: Matching the Future for Sequence Generation
- Learning to Decode for Future Success
- Regularizing Neural Machine Translation by Target-bidirectional Agreement
Cited by in corpus (5)
- Synchronous Speech Recognition and Speech-to-Text Translation with Interactive Decoding
- Modeling Fluency and Faithfulness for Diverse Neural Machine Translation
- Improving Bidirectional Decoding with Dynamic Target Semantics in Neural Machine Translation
- Guiding Teacher Forcing with Seer Forcing for Neural Machine Translation
- Pseudo-Bidirectional Decoding for Local Sequence Transduction