Abstract
Auto-regressive neural sequence models have been shown to be effective across text generation tasks. However, their left-to-right decoding order prevents generation from being parallelized. Insertion Transformer (Stern et al., 2019) is an attractive alternative that allows outputting multiple tokens in a single generation step. Nevertheless, due to the incompatibility between absolute positional encoding and insertion-based generation schemes, it needs to refresh the encoding of every token in the generated partial hypothesis at each step, which could be costly. We design a novel reusable positional encoding scheme for Insertion Transformers called Fractional Positional Encoding (FPE), which allows reusing representations calculated in previous steps. Empirical studies on various text generation tasks demonstrate the effectiveness of FPE, which leads to floating-point operation reduction and latency improvements on batched decoding. © 2023 Association for Computational Linguistics.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics |
| Editors | Andreas Vlachos, Isabelle Augenstein |
| Publisher | Association for Computational Linguistics |
| Pages | 1556-1564 |
| Number of pages | 9 |
| ISBN (Print) | 9781959429449 |
| Publication status | Published - May 2023 |
| Externally published | Yes |
| Event | 17th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2023 - Dubrovnik, Croatia Duration: 2 May 2023 → 6 May 2023 https://aclanthology.org/events/eacl-2023/#2023eacl-main |
Publication series
| Name | EACL - Conference of the European Chapter of the Association for Computational Linguistics, Proceedings of the Conference |
|---|
Conference
| Conference | 17th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2023 |
|---|---|
| Place | Croatia |
| City | Dubrovnik |
| Period | 2/05/23 → 6/05/23 |
| Internet address |
Publisher's Copyright Statement
- This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/
Fingerprint
Dive into the research topics of 'Towards More Efficient Insertion Transformer with Fractional Positional Encoding'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver