Efficient Long-Text Understanding with Short-Text Models
About
Transformer-based pretrained language models (LMs) are ubiquitous across natural language understanding, but cannot be applied to long sequences such as stories, scientific articles and long documents, due to their quadratic complexity. While a myriad of efficient transformer variants have been proposed, they are typically based on custom implementations that require expensive pretraining from scratch. In this work, we propose SLED: SLiding-Encoder and Decoder, a simple approach for processing long sequences that re-uses and leverages battle-tested short-text pretrained LMs. Specifically, we partition the input into overlapping chunks, encode each with a short-text LM encoder and use the pretrained decoder to fuse information across chunks (fusion-in-decoder). We illustrate through controlled experiments that SLED offers a viable strategy for long text understanding and evaluate our approach on SCROLLS, a benchmark with seven datasets across a wide range of language understanding tasks. We find that SLED is competitive with specialized models that are up to 50x larger and require a dedicated and expensive pretraining step.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Document Summarization | GovReport (test) | ROUGE-157.5 | 50 | |
| Long document summarization | BookSum (test) | ROUGE 138.9 | 37 | |
| Document Summarization | SummScreenFD (test) | ROUGE-135.2 | 25 | |
| Long document summarization | ScriptBase (test) | ROUGE 145.2 | 24 | |
| Long-context Language Understanding | SCROLLS (test) | Average Score38 | 18 | |
| Summarization | SummScreen (test) | ROUGE-135.2 | 17 | |
| Document Summarization | QMSum (test) | ROUGE-134.2 | 10 | |
| Long-context Language Understanding | SCROLLS (dev) | GovRep ROUGE-157.4 | 7 |