Longformer

Method · 2020

Definition

“Transformer-based models are unable to process long sequences due to their self-attention operation, which scales quadratically with the sequence length.”

From the defining paper: Longformer: The Long-Document Transformer (Iz Beltagy, Matthew E. Peters, Arman Cohan, arXiv preprint).

Lineage

Parent: Transformer (scaled dot-product attention)

Children: none in this seed

Incoming edges (3)

extends · scalability

From Transformer (scaled dot-product attention) · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“Transformer-based models are unable to process long sequences” Source: Longformer: The Long-Document Transformer
Mechanism
“an attention mechanism that scales linearly with sequence length” Source: Longformer: The Long-Document Transformer
Trade-off
No trade-off quoted.

extends · scalability

From Sparse Transformer · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“Transformer-based models are unable to process long sequences” Source: Longformer: The Long-Document Transformer
Mechanism
“combines a local windowed attention with a task motivated global attention” Source: Longformer: The Long-Document Transformer
Trade-off
No trade-off quoted.

compares · scalability

From Reformer · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“Transformer-based models are unable to process long sequences” Source: Longformer: The Long-Document Transformer
Mechanism
“combines a local windowed attention with a task motivated global attention” Source: Longformer: The Long-Document Transformer
Trade-off
No trade-off quoted.

Outgoing edges (2)

extends · scalability

To Big Bird · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“one of their core limitations is the quadratic dependency (mainly in terms of memory) on the sequence length” Source: Big Bird: Transformers for Longer Sequences
Mechanism
“a sparse attention mechanism that reduces this quadratic dependency to linear” Source: Big Bird: Transformers for Longer Sequences
Trade-off
No trade-off quoted.

improves · computational complexity

To Native Sparse Attention · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“the high computational cost of standard attention mechanisms poses significant computational challenges” Source: Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
Mechanism
“combining coarse-grained token compression with fine-grained token selection” Source: Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
Trade-off
No trade-off quoted.

Back to the explorer