paper-with-me

홈 › Papers

MaxPoolBERT: Enhancing BERT Classification via Layer- and Token-Wise Aggregation

2025-05-21 · Maike Behrendt, Stefan Sylvius Wagner, Stefan Harmeling

The [CLS] token in BERT is commonly used as a fixed-length representation for classification tasks, yet prior work has shown that both other tokens and intermediate layers encode valuable contextual information. In this work, we propose MaxPoolBERT, a lightweight extension to BERT that refines the [CLS] representation by aggregating information across layers and tokens. Specifically, we explore three modifications: (i) max-pooling the [CLS] token across multiple layers, (ii) enabling the [CLS] token to attend over the entire final layer using an additional multi-head attention (MHA) layer, and (iii) combining max-pooling across the full sequence with MHA. Our approach enhances BERT's classification accuracy (especially on low-resource tasks) without requiring pre-training or significantly increasing model size. Experiments on the GLUE benchmark show that MaxPoolBERT consistently achieves a better performance on the standard BERT-base model.

📄 PDF Abstract BibTeX arXiv:2505.15696

Code (0)

등록된 구현이 없습니다.

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 &…
Attention 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
WordPiece 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

HelaBERT: Enhancing Sinhala Language Understanding with Dual Pooling Classification Head

2026-08-24 · Thisen Ekanayake, Nisansa de Silva arxiv

We present HelaBERT, a family of two BERT-based masked language models pre-trained from scratch on approximately 1 billion tokens of Sinhala text sourced from MADLAD-400, CulturaX, and a custom corpus comprising news art…

Text ClassificationSentiment Analysis

Enhancing Source Code Classification Effectiveness via Prompt Learning Incorporating Knowledge Features

2024-01-10 · Yong Ma, Senlin Luo, Yu-Ming Shang, Yifei Zhang 외

Researchers have investigated the potential of leveraging pre-trained language models, such as CodeBERT, to enhance source code-related tasks. Previous methodologies have relied on CodeBERT's '[CLS]' token as the embeddi…

ClassificationCode ClassificationLanguage ModellingPrompt Learning+5

Keep Decoding Parallel with Effective Knowledge Distillation from Language Models to End-to-end Speech Recognisers

2024-01-22 · Michael Hentschel, Yuta Nishikawa, Tatsuya Komatsu, Yusuke Fujita

This study presents a novel approach for knowledge distillation (KD) from a BERT teacher model to an automatic speech recognition (ASR) model using intermediate layers. To distil the teacher's knowledge, we use an attent…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)DecoderKnowledge Distillation+4

Attentively Embracing Noise for Robust Latent Representation in BERT

2020-12-01 · COLING 2020 8 · Gwenaelle Cunha Sergio, Dennis Singh Moirangthem, Minho Lee

Modern digital personal assistants interact with users through voice. Therefore, they heavily rely on automatic speech recognition (ASR) in order to convert speech to text and perform further tasks. We introduce EBERT, w…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)ChatbotClassification+7

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 …

Binary ClassificationChunkingClassificationMulti-class Classification+4