Attending to Future Tokens For Bidirectional Sequence Generation
Carolin Lawrence, Bhushan Kotnis, Mathias Niepert
Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1–10, 2019.
Abstract
Neural sequence generation is typically performed token-by-token and left-to-right. Whenever a token is generated only previously produced tokens are taken into consideration. In contrast, for problems such as sequence classification, bidirectional attention, which takes both past and future tokens into consideration, has been shown to perform much better. We propose to make the sequence generation process bidirectional by employing special placeholder tokens. Treated as a node in a fully connected graph, a placeholder token can take past and future tokens into consideration when generating the actual output token. We verify the effectiveness of our approach experimentally on two conversational tasks where the proposed bidirectional model outperforms competitive baselines by a large margin.Links
doi: 10.18653/v1/D19-1001
BibTeX
@inproceedings{lawrence19_emnlp,
title = {Attending to Future Tokens For Bidirectional Sequence Generation},
author = {Lawrence, Carolin and Kotnis, Bhushan and Niepert, Mathias},
year = {2019},
booktitle = {Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP)},
pages = {1--10},
doi = {10.18653/v1/D19-1001}
}