Abstract
Many natural language processing tasks benefit from long inputs, but processing long documents with Transformers is expensive - not only due to quadratic attention complexity but also from applying feedforward and projection layers to every token. However, not all tokens are equally important, especially for longer documents. We propose COLT5, a long-input Transformer model that builds on this intuition by employing conditional computation, devoting more resources to important tokens in both feedforward and attention layers. We show that COLT5 achieves stronger performance than LONGT5 with much faster training and inference, achieving SOTA on the long-input SCROLLS benchmark. Moreover, COLT5 can effectively and tractably make use of extremely long inputs, showing strong gains up to 64k input length.
Cite
CITATION STYLE
Ainslie, J., Lei, T., de Jong, M., Ontañón, S., Brahma, S., Zemlyanskiy, Y., … Sanghai, S. (2023). COLT5: Faster Long-Range Transformers with Conditional Computation. In EMNLP 2023 - 2023 Conference on Empirical Methods in Natural Language Processing, Proceedings (pp. 5085–5100). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2023.emnlp-main.309
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.