BP-Transformer: Modelling Long-Range Context via Binary Partitioning
Not on the map. Why?
Abstract (arXiv)
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· nlog (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.
Key facts. Cited by 38 papers in the map (data through 14 Oct 2026). First posted on arXiv 11 Nov 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 15; 2022: 6; 2023: 8; 2024: 5; 2025: 4.
38 papers.
Sort:
By area:
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2021A Survey of Transformerscited by 401
- 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
- 2021Hierarchical Transformers Are More Efficient Language Modelscited by 102
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 64
- 2021Poolingformer: Long Document Modeling with Pooling Attentioncited by 60
- 2021Memory-efficient Transformers via Top-k Attentioncited by 60
- 2022Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generationcited by 49
- 2021Long-Range Transformers for Dynamic Spatiotemporal Forecastingcited by 46
- 2025Log-Linear Attentioncited by 40
- 2024Foundation Models for Music: A Surveycited by 37
26 more
- 2021Hierarchical Learning for Generation with Long Source Sequencescited by 32
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
- 2021GNN-LM: Language Modeling based on Global Contexts via GNNcited by 27
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26
- 2022A Length Adaptive Algorithm-Hardware Co-design of Transformer on FPGA Through Sparse Attention and Dynamic Pipeliningcited by 22
- 2024Extending LLMs' Context Window with 100 Samplescited by 21
- 2021On Learning the Transformer Kernelcited by 15
- 2022Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selectioncited by 13
- 2022Sparse Attention Acceleration with Synergistic In-Memory Pruning and On-Chip Recomputationcited by 12
- 2024Efficient Heterogeneous Large Language Model Decoding with Model-Attention Disaggregationcited by 12
- 2023Large Human Language Models: A Need and the Challengescited by 11
- 2024StreamingDialogue: Prolonged Dialogue Learning via Long Context Compression with Minimal Lossescited by 9
- 2022Accelerating Attention through Gradient-Based Learned Runtime Pruningcited by 8
- 2021Value-aware Approximate Attentioncited by 5
- 2021What Helps Transformers Recognize Conversational Structure? Importance of Context, Punctuation, and Labels in Dialog Act Recognitioncited by 5
- 2023Infomaxformer: Maximum Entropy Transformer for Long Time-Series Forecasting Problemcited by 5
- 2021Sparse Fusion for Multimodal Transformerscited by 4
- 2023Efficient Beam Tree Recursioncited by 4
- 2021Adaptive Multi-Resolution Attention with Linear Complexitycited by 2
- 2022Efficient Representation Learning via Adaptive Context Poolingcited by 2
- 2023Fovea Transformer: Efficient Long-Context Modeling with Structured Fine-to-Coarse Attentioncited by 2
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problemscited by 1
- 2023A Quantitative Review on Language Model Efficiency Researchcited by 0
- 2023RCMHA: Relative Convolutional Multi-Head Attention for Natural Language Modellingcited by 0
- 2025ARLED: Leveraging LED-based ARMAN Model for Abstractive Summarization of Persian Long Documentscited by 0
- 2025Customizing the Inductive Biases of Softmax Attention using Structured Matricescited by 0
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems18 Sep 2025
- 2025Customizing the Inductive Biases of Softmax Attention using Structured Matrices9 Sep 2025
- 2025Log-Linear Attention5 Jun 2025
- 2025ARLED: Leveraging LED-based ARMAN Model for Abstractive Summarization of Persian Long Documents13 Mar 2025
- 2024Foundation Models for Music: A Survey26 Aug 2024
- 2024Efficient Heterogeneous Large Language Model Decoding with Model-Attention Disaggregation3 May 2024
- 2024StreamingDialogue: Prolonged Dialogue Learning via Long Context Compression with Minimal Losses13 Mar 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
- 2024Extending LLMs' Context Window with 100 Samples13 Jan 2024
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Survey21 Nov 2023
- 2023Fovea Transformer: Efficient Long-Context Modeling with Structured Fine-to-Coarse Attention13 Nov 2023
- 2023Large Human Language Models: A Need and the Challenges9 Nov 2023
26 more
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantization28 Sep 2023
- 2023RCMHA: Relative Convolutional Multi-Head Attention for Natural Language Modelling7 Aug 2023
- 2023Efficient Beam Tree Recursion20 Jul 2023
- 2023A Quantitative Review on Language Model Efficiency Research28 May 2023
- 2023Infomaxformer: Maximum Entropy Transformer for Long Time-Series Forecasting Problem4 Jan 2023
- 2022Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generation19 Oct 2022
- 2022Sparse Attention Acceleration with Synergistic In-Memory Pruning and On-Chip Recomputation1 Sep 2022
- 2022A Length Adaptive Algorithm-Hardware Co-design of Transformer on FPGA Through Sparse Attention and Dynamic Pipelining7 Aug 2022
- 2022Efficient Representation Learning via Adaptive Context Pooling5 Jul 2022
- 2022Accelerating Attention through Gradient-Based Learned Runtime Pruning7 Apr 2022
- 2022Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selection27 Mar 2022
- 2021Sparse Fusion for Multimodal Transformers23 Nov 2021
- 2021Hierarchical Transformers Are More Efficient Language Models26 Oct 2021
- 2021GNN-LM: Language Modeling based on Global Contexts via GNN17 Oct 2021
- 2021On Learning the Transformer Kernel15 Oct 2021
- 2021Long-Range Transformers for Dynamic Spatiotemporal Forecasting24 Sep 2021
- 2021Adaptive Multi-Resolution Attention with Linear Complexity10 Aug 2021
- 2021What Helps Transformers Recognize Conversational Structure? Importance of Context, Punctuation, and Labels in Dialog Act Recognition5 Jul 2021
- 2021Long-Short Transformer: Efficient Transformers for Language and Vision5 Jul 2021
- 2021Memory-efficient Transformers via Top-k Attention13 Jun 2021
- 2021A Survey of Transformers8 Jun 2021
- 2021Not All Memories are Created Equal: Learning to Forget by Expiring13 May 2021
- 2021Poolingformer: Long Document Modeling with Pooling Attention10 May 2021
- 2021Hierarchical Learning for Generation with Long Source Sequences15 Apr 2021
- 2021Value-aware Approximate Attention17 Mar 2021
- 2021Perceiver: General Perception with Iterative Attention4 Mar 2021
- 2024Foundation Models for Music: A Surveycited by 37
- 2024Foundation Models for Music: A Survey26 Aug 2024
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2021A Survey of Transformerscited by 401
- 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
- 2021Hierarchical Transformers Are More Efficient Language Modelscited by 102
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 64
- 2021Poolingformer: Long Document Modeling with Pooling Attentioncited by 60
- 2021Memory-efficient Transformers via Top-k Attentioncited by 60
- 2022Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generationcited by 49
- 2021Long-Range Transformers for Dynamic Spatiotemporal Forecastingcited by 46
- 2025Log-Linear Attentioncited by 40
- 2021Hierarchical Learning for Generation with Long Source Sequencescited by 32
12 most cited of 36 All 36 (JSON)
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems18 Sep 2025
- 2025Customizing the Inductive Biases of Softmax Attention using Structured Matrices9 Sep 2025
- 2025Log-Linear Attention5 Jun 2025
- 2025ARLED: Leveraging LED-based ARMAN Model for Abstractive Summarization of Persian Long Documents13 Mar 2025
- 2024Efficient Heterogeneous Large Language Model Decoding with Model-Attention Disaggregation3 May 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
- 2024Extending LLMs' Context Window with 100 Samples13 Jan 2024
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Survey21 Nov 2023
- 2023Fovea Transformer: Efficient Long-Context Modeling with Structured Fine-to-Coarse Attention13 Nov 2023
- 2023Large Human Language Models: A Need and the Challenges9 Nov 2023
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantization28 Sep 2023
- 2023RCMHA: Relative Convolutional Multi-Head Attention for Natural Language Modelling7 Aug 2023
12 newest of 36 All 36 (JSON)