paper-with-me

홈 › Papers

Big Bird: Transformers for Longer Sequences

2020-07-28 · NeurIPS 2020 12 · Manzil Zaheer, Guru Guruganesh, Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, Amr Ahmed

Transformers-based models, such as BERT, have been one of the most successful deep learning models for NLP. Unfortunately, one of their core limitations is the quadratic dependency (mainly in terms of memory) on the sequence length due to their full attention mechanism. To remedy this, we propose, BigBird, a sparse attention mechanism that reduces this quadratic dependency to linear. We show that BigBird is a universal approximator of sequence functions and is Turing complete, thereby preserving these properties of the quadratic, full attention model. Along the way, our theoretical analysis reveals some of the benefits of having $O(1)$ global tokens (such as CLS), that attend to the entire sequence as part of the sparse attention mechanism. The proposed sparse attention can handle sequences of length up to 8x of what was previously possible using similar hardware. As a consequence of the capability to handle longer context, BigBird drastically improves performance on various NLP tasks such as question answering and summarization. We also propose novel applications to genomics data.

📄 PDF Abstract BibTeX arXiv:2007.14062

Code (14)

google-research/bigbird 공식 구현 tf
2024-MindSpore-1/Code2/tree/main/model-1/big_bird mindspore
PaddlePaddle/PaddleNLP/tree/develop/paddlenlp/transformers/bigbird paddle
facebookresearch/xformers pytorch
huggingface/transformers pytorch
mim-solutions/bert_for_longer_texts pytorch
mim-solutions/roberta_for_longer_texts pytorch
monologg/kobigbird tf
pwc-1/Paper-8/tree/main/big_bird mindspore
pwc-1/Paper-8/tree/main/bigbird_pegasus mindspore
sajjjadayobi/ParsBigBird
sergeykramp/mthesis-bigbird-embeddings pytorch
tensorflow/models/tree/master/official/nlp/projects/bigbird tf
thefonseca/factorsum pytorch

Tasks

Linguistic AcceptabilityNatural Language InferenceQuestion AnsweringSemantic Textual SimilarityText ClassificationText Summarization

Methods 이 논문이 사용한 방법론

BigBird BigBird is a Transformer with a sparse attention mechanism that reduces the quadratic dependency of self-attention to linear…

Similar Papers 제목 키워드 기반

Blockwise Parallel Transformers for Large Context Models

2023-09-21 · NeurIPS 2023 11

Transformers have emerged as the cornerstone of state-of-the-art natural language processing models, showcasing exceptional performance across a wide range of AI applications. However, the memory demands posed by the sel…

Randomized Positional Encodings Boost Length Generalization of Transformers

2023-05-26 · Anian Ruoss, Grégoire Delétang, Tim Genewein, Jordi Grau-Moya 외

Transformers have impressive generalization capabilities on tasks with a fixed context length. However, they fail to generalize to sequences of arbitrary length, even for seemingly simple tasks such as duplicating a stri…

KoBigBird-large: Transformation of Transformer for Korean Language Understanding

2023-09-19 · Kisu Yang, Yoonna Jang, Taewoo Lee, Jinwoo Seong 외

This work presents KoBigBird-large, a large size of Korean BigBird that achieves state-of-the-art performance and allows long sequence processing for Korean language understanding. Without further pretraining, we only tr…

Document ClassificationQuestion Answering

Blockwise Parallel Transformer for Large Context Models

2023-05-30 · Hao liu, Pieter Abbeel

Transformers have emerged as the cornerstone of state-of-the-art natural language processing models, showcasing exceptional performance across a wide range of AI applications. However, the memory demands posed by the sel…

Language ModelingLanguage Modelling

Clinical-Longformer and Clinical-BigBird: Transformers for long clinical sequences

2022-01-27 · Yikuan Li, Ramsey M. Wehbe, Faraz S. Ahmad, Hanyin Wang 외

Transformers-based models, such as BERT, have dramatically improved the performance for various natural language processing tasks. The clinical knowledge enriched model, namely ClinicalBERT, also achieved state-of-the-ar…

Clinical KnowledgeDocument ClassificationFew-Shot Learningnamed-entity-recognition+5