Longformer: The Long-Document Transformer

AI-generated keywords: Longformer Transformer-based Model Linear Scaling Downstream Tasks Natural Language Processing

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • The Longformer is a transformer-based model that addresses the limitation of processing long sequences due to the quadratic scaling of self-attention operation with sequence length.
  • The attention mechanism in Longformer scales linearly with sequence length, making it possible to process documents of thousands of tokens or longer.
  • Longformer combines a local windowed attention with a task-motivated global attention and is a drop-in replacement for standard self-attention.
  • Longformer achieved state-of-the-art results on character-level language modeling on text8 and enwik8, following prior work on long-sequence transformers.
  • Longformer has been pretrained and finetuned on various downstream tasks, consistently outperforming RoBERTa on long document tasks and setting new state-of-the art results on WikiHop and TriviaQA.
  • Authors: Iz Beltagy, Matthew E. Peters, and Arman Cohan.
  • Overall, the Longformer provides an efficient solution for processing long documents in natural language processing tasks.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Iz Beltagy, Matthew E. Peters, Arman Cohan

Abstract: Transformer-based models are unable to process long sequences due to their self-attention operation, which scales quadratically with the sequence length. To address this limitation, we introduce the Longformer with an attention mechanism that scales linearly with sequence length, making it easy to process documents of thousands of tokens or longer. Longformer's attention mechanism is a drop-in replacement for the standard self-attention and combines a local windowed attention with a task motivated global attention. Following prior work on long-sequence transformers, we evaluate Longformer on character-level language modeling and achieve state-of-the-art results on text8 and enwik8. In contrast to most prior work, we also pretrain Longformer and finetune it on a variety of downstream tasks. Our pretrained Longformer consistently outperforms RoBERTa on long document tasks and sets new state-of-the-art results on WikiHop and TriviaQA.

Submitted to arXiv on 10 Apr. 2020

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2004.05150v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

The Longformer is a new transformer-based model that addresses the limitation of processing long sequences due to the quadratic scaling of self-attention operation with sequence length. The Longformer introduces an attention mechanism that scales linearly with sequence length, making it possible to process documents of thousands of tokens or longer. This attention mechanism is a drop-in replacement for the standard self-attention and combines a local windowed attention with a task-motivated global attention. The Longformer has been evaluated on character-level language modeling and achieved state-of-the-art results on text8 and enwik8, following prior work on long-sequence transformers. In contrast to most prior work, the Longformer has also been pretrained and finetuned on various downstream tasks, consistently outperforming RoBERTa on long document tasks and setting new state-of-the art results on WikiHop and TriviaQA. The authors of the paper are Iz Beltagy, Matthew E. Peters, and Arman Cohan. Overall, the Longformer provides an efficient solution for processing long documents in natural language processing tasks, enabling improved performance in downstream tasks such as WikiHop and TriviaQA compared to other models like RoBERTa.
Created on 23 May. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.