BigBird's Triple Threat: Random, Local, Global Attention

Google's BigBird model advanced sparse attention by combining random, windowed (local), and global attention patterns. This allowed it to process sequences up to eight times longer than previous models while theoretically preserving all known properties of full transformers.

The top 3

  1. BigBird's Attention Trio: Roles of Random, Local, Global: Global tokens attend to all others, local attention focuses on neighbors, and random connections ensure broad, long-range coverage, allowing efficient processing of sequences up to 4096 tokens.
  2. BigBird's Efficiency Leap: From Quadratic to Linear Attention: BigBird reduced the computational complexity of transformers from quadratic (O(N^2)) to linear (O(N)) with sequence length, drastically cutting memory and compute requirements for long contexts.
  3. BigBird's Context Expansion: 8x Longer Sequences Than BERT: BigBird dramatically increased the maximum sequence length to 4096 tokens, an 8-fold improvement over BERT's typical 512-token limit, enabling better performance on long-document tasks like question answering and summarization.

Sources

Open the full topic