PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
November 11, 201956 citationsOpen Access

BP-Transformer: Modelling Long-Range Context via Binary Partitioning

ZYZihao YeQGQipeng GuoQGQuan Gan

Key Points

Key points are not available for this paper at this time.

Abstract

The Transformer model is widely successful on many natural language processing tasks. However, the quadratic complexity of self-attention limit its application on long text. In this paper, adopting a fine-to-coarse attention mechanism on multi-scale spans via binary partitioning (BP), we propose BP-Transformer (BPT for short). BPT yields O (k n (n/k) ) connections where k is a hyperparameter to control the density of attention. BPT has a good balance between computation complexity and model capacity. A series of experiments on text classification, machine translation and language modeling shows BPT has a superior performance for long text than previous self-attention models. Our code, hyperparameters and CUDA kernels for sparse attention are available in PyTorch.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Ye et al. (2019) studied this question.

synapsesocial.com/papers/6a10632f10ed65f1d0fcc54chttps://doi.org/10.48550/arxiv.1911.04070
Ask AI
Helpful
Bookmark
Share
View Full Paper