paper-with-me

홈 › Papers

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

2023-10-31 · Aman Jaiswal, Evangelos Milios

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.

📄 PDF Abstract BibTeX arXiv:2310.20558

Code (0)

등록된 구현이 없습니다.

Tasks

Binary ClassificationChunkingClassificationMulti-class ClassificationMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONtext-classificationText Classification

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
WordPiece 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking

2026-02-24 · Ravi Ghadia, Maksim Abraham, Sergei Vorobyov, Max Ryabinin arxiv

Efficiently processing long sequences with Transformer models usually requires splitting the computations across accelerators via context parallelism. The dominant approaches in this family of methods, such as Ring Atten…

Dynamic Chunking for End-to-End Hierarchical Sequence Modeling

2025-07-10 · Sukjun Hwang, Brandon Wang, Albert Gu

Major progress on language models (LMs) in recent years has largely resulted from moving away from specialized models designed for specific tasks, to general models based on powerful architectures (e.g. the Transformer) …

Chunking

Visual Late Chunking: An Empirical Study of Contextual Chunking for Efficient Visual Document Retrieval

2026-04-11 · Yibo Yan, Mingdong Ou, Yi Cao, Jiahao Huo 외 arxiv

Multi-vector models dominate Visual Document Retrieval (VDR) due to their fine-grained matching capabilities, but their high storage and computational costs present a major barrier to practical deployment. In this paper,…

Rethinking Chunk Size For Long-Document Retrieval: A Multi-Dataset Analysis

2025-05-27 · Sinchana Ramakanth Bhat, Max Rudat, Jannis Spiekermann, Nicolas Flores-Herr

Chunking is a crucial preprocessing step in retrieval-augmented generation (RAG) systems, significantly impacting retrieval effectiveness across diverse datasets. In this study, we systematically evaluate fixed-size chun…

ChunkingInformation RetrievalRAGRetrieval+1

Enabling Long FFT Convolutions on Memory-Constrained FPGAs via Chunking

2025-12-28 · Peter Wang, Neelesh Gupta, Viktor Prasanna arxiv

The need for long-context reasoning has led to alternative neural network architectures besides Transformers and self-attention, a popular model being Hyena, which employs causal 1D-convolutions implemented with FFTs. Lo…