Methods › Natural Language Processing › Autoencoding Transformers › Longformer

Longformer

87 papers tagged archive 2025-07-28

Introduced by Iz Beltagy et al. in Longformer: The Long-Document Transformer

archive 2025-07-28 Description, source and code snippet are the archive's method entry.

Longformer is a modified Transformer architecture. Traditional 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, Longformer uses an attention pattern that scales linearly with sequence length, making it easy to process documents of thousands of tokens or longer. The 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 attention patterns utilised include: sliding window attention, dilated sliding window attention and global + sliding window. These can be viewed in the components section of this page.

PaperSource

In Syntology repository known, no verified implementation (declared_code; repositories: 5 listed of 22 in the graph, strongest link: official). This answer is about arXiv:2004.05150, the paper the archive credits with this method.

Origin paper of this answer, arXiv:2004.05150 (its page on this site · its page on Syntology): Syntology's run record for its harvested code, 22 ran (of which 4 constructed an object rather than computing a result; 14 with no instrument failure: 1 honoured, 1 violated, 12 with no contract checked; 8 where Syntology's instrument failed) · 13 unverified (of 35 harvested samples) · 5 pointer-only (licence). The instrument figure counts failures of Syntology's instrument, not of the code. Ran means executed on a synthesized input, not that the code is correct.

Syntology's have check for this name (free, it answers coverage only), read 2026-10-05; ask it again live. A level is the served verification level of that one answer; nothing here is summed across methods.

Papers archive 2025-07-28

archive papers tagged: 87 · with a code link: 42 · where Syntology ran a sample: 10 (7 with a run with no instrument failure, 3 where every run was a failure of Syntology's instrument) Syntology

Show: all tagged papersonly where code ran (10 of 87 tagged: 7 with a run with no instrument failure, 3 where every run was a failure of Syntology's instrument)

Page 1 of 1: papers 1 to 87 of 87, newest first by the archive's date (ties by slug), in archive order.

Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code, as “N ran (of which C constructed an object rather than computing a result; K with no instrument failure: H honoured, V violated, P with no contract checked; I where Syntology's instrument failed) · U unverified”; the instrument figure counts failures of Syntology's instrument, not of the code. It is per sample and not a correctness claim. When the archive marks a repository official for the paper, the line starts with that repository's state (the archive's flag, not a verdict on who wrote the code; “community repositories only” when every sample that ran came from a community repository, “official: no sample here; runs from other or unrecorded repositories” when some came from a repository the paper names or has in its text, or from none recorded); hover it for the repositories the samples that ran came from.

Tasks archive 2025-07-28

20 shown of 111 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.

TaskPapers
Language Modelling13
Decoder11
Language Modeling11
Sentence11
Document Classification10
Question Answering9
Abstractive Text Summarization8
Articles7
Classification6
Text Classification6
Natural Language Inference5
Text Summarization5
text-classification5
Retrieval4
Document Summarization3
GPU3
Information Retrieval3
Named Entity Recognition3
Transfer Learning3
named-entity-recognition3

Usage over time archive 2025-07-28

Papers per year tagged with Longformer: 2020 to 2025, peak 28 28 0 2020: 7 papers 2020 2021: 20 papers 2021 2022: 17 papers 2022 2023: 28 papers 2023 2024: 11 papers 2024 2025: 4 papers 2025
Papers per year the archive tags with this method, by the paper's archive date (87 dated). Bars are counts, not a trend claim.

Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).

Categories archive 2025-07-28

Autoencoding TransformersTransformers

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections