Pseudo-Bidirectional Decoding for Local Sequence Transduction
32342Authors
nan
Abstract
AbstractLocal sequence transduction (LST) tasks are sequence transduction tasks where there exists massive overlapping between the source and target sequences, such as grammatical error correction and spell or OCR correction. Motivated by this characteristic of LST tasks, we propose Pseudo-Bidirectional Decoding (PBD), a simple but versatile approach for LST tasks. PBD copies the representation of source tokens to the decoder as pseudo future context that enables the decoder self-attention to attends to its bi-directional context. In addition, the bidirectional decoding scheme and the characteristic of LST tasks motivate us to share the encoder and the decoder of LST models. Our approach provides right-side context information for the decoder, reduces the number of parameters by half, and provides good regularization effects. Experimental results on several benchmark datasets show that our approach consistently improves the performance of standard seq2seq models on LST tasks.
Keywords
Full Content
Findings of the Association for Computational Linguistics: EMNLP 2020, pages 1506–1511 November 16 - 20, 2020. c⃝2020 Association for Computational Linguistics 1506 General Sequence Transduction He went to school yesterday Il est allé à l'école hier Machine Translation Local Sequence Transduction Grammatical Error Correction Spell / OCR Correction belive believe He go to school yesterday He went to school yesterday 1507 (a) attention mask in standard uni-directional decoder (b) attention mask in pseudo-bidirectional decoder Allow to attend Prevent from attending output tokens input tokens He went to school yesterday He went to school yesterday yesterday He went to school output tokens He went to school yesterdayHe go to school yesterday output tokens output tokens 1508 1509 1510 1511
Labeled Text
AbstractLocal sequence transduction (LST) tasks are sequence transduction tasks where there exists massive overlapping between the source and target sequences, such as grammatical error correction and spell or OCR correction. Motivated by this characteristic of LST tasks, we propose Pseudo-Bidirectional Decoding (PBD), a simple but versatile approach for LST tasks. PBD copies the representation of source tokens to the decoder as pseudo future context that enables the decoder self-attention to attends to its bi-directional context. In addition, the bidirectional decoding scheme and the characteristic of LST tasks motivate us to share the encoder and the decoder of LST models. Our approach provides right-side context information for the decoder, reduces the number of parameters by half, and provides good regularization effects. Experimental results on several benchmark datasets show that our approach consistently improves the performance of standard seq2seq models on LST tasks.
Publication Details
- Paper ID:
- 32342
- Year:
- 2020
- Publication:
- TIPSTER
- Publication Type:
- conf
- DOI:
- nan