CoLT5: Faster Long-Range Transformers with Conditional Computation
Authors:
- Joshua AinslieJAJoshua Ainslie
- Tao LeiTLTao Lei
- Michiel de JongMJMichiel de Jong
- Santiago OntañónSOSantiago Ontañón
- Siddhartha BrahmaSBSiddhartha Brahma
- Yury ZemlyanskiyYZYury Zemlyanskiy
- David UthusDUDavid Uthus
- Mandy GuoMGMandy Guo
- James Lee-ThorpJLJames Lee-Thorp
- Yi TayYTYi Tay
- Yun-Hsuan SungYSYun-Hsuan Sung
- Sumit SanghaiSSSumit Sanghai
Preprint
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.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- KG-FiD: Infusing Knowledge Graph in Fusion-in-Decoder for Open-Domain Question Answering2022
- SummScreen: A Dataset for Abstractive Screenplay Summarization2022
- ContractNLI: A Dataset for Document-level Natural Language Inference for Contracts2021
- Reader-Guided Passage Reranking for Open-Domain Question Answering2021
- Efficient Attentions for Long Document Summarization2021
- QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarization2021
- A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers2021
- ETC: Encoding Long and Structured Inputs in Transformers2020
- Natural Questions: A Benchmark for Question Answering ResearchTransactions of the Association for Computational Linguistics, 2019
- The NarrativeQA Reading Comprehension ChallengeTransactions of the Association for Computational Linguistics, 2018