mlsanityData to 7 Oct 2026

Breaking the Token Barrier: Chunking and Convolution for Efficient Long Text Classification with BERT

arXiv 2310.20558 ↗First posted 31 Oct 2023cs.CL cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

Transformer-based models, specifically BERT, have propelled research in various NLP tasks. However, these models are limited to a maximum token limit of 512 tokens. Consequently, this makes it non-trivial to apply it in a practical setting with long input. Various complex methods have claimed to overcome this limit, but recent research questions the efficacy of these models across different classification tasks. These complex architectures evaluated on carefully curated long datasets perform at par or worse than simple baselines. In this work, we propose a relatively simple extension to vanilla BERT architecture called ChunkBERT that allows finetuning of any pretrained models to perform inference on arbitrarily long text. The proposed method is based on chunking token representations and CNN layers, making it compatible with any pre-trained BERT. We evaluate chunkBERT exclusively on a benchmark for comparing long-text classification models across a variety of tasks (including binary classification, multi-class classification, and multi-label classification). A BERT model finetuned using the ChunkBERT method performs consistently across long samples in the benchmark while utilizing only a fraction (6.25%) of the original memory footprint. These findings suggest that efficient finetuning and inference can be achieved through simple modifications to pre-trained BERT models.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 14 of its 22 references that are in the map. First posted on arXiv 31 Oct 2023.

Builds on

14 of 22 references.

References · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2020Longformer: The Long-Document Transformercited by 3,362
  5. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  6. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  7. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  8. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  9. 2019Large-Scale Multi-Label Text Classification on EU Legislationcited by 104
  10. 2019Hierarchical Transformers for Long Document Classificationcited by 103
  11. 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 97
  12. 2020Beyond 512 Tokens: Siamese Multi-depth Transformer-based Hierarchical Encoder for Long-Form Document Matchingcited by 35
2 more
  1. 2022Efficient Classification of Long Documents Using Transformerscited by 30
  2. 2013New Alignment Methods for Discriminative Book Summarizationcited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 1; 2026: 2.

6 papers.