Leveraging Transfer Learning: Fine-Tuning methodology for Enhanced Text Classification using BERT

Text Classification is the most widely studied problem area in Natural Language Processing (NLP). BERT is the most popular NLP model based on Transfer Learning with its pre-trained model being widely used for such tasks. It generates contextualized word/ sentence embeddings by applying "Self-Attention and Feed Forward" mechanism through multiple layers. The [CLS] token is the only token in BERT which captures semantically-relevant context for the complete input sentence. BERT-based language models output [CLS] token embedding which represents the input sentence effectively, however, the need for more efficient and accurate sentence embedding still remains a research area in NLP. This paper is to explore the effectiveness of [CLS] token pooled from intermediate encoder layers of the BERT model using Mean and Max pooling methods on Amazon product review dataset. Results obtained during the experiment clearly shows the superiority of CLS pooling strategies over default [CLS] tokens.

Authors

Institutions

Publication Details

Published
2024-12-13
DOI
https://doi.org/10.1109/punecon63413.2024.10895448
Citations
2
Primary Topic
Text and Document Classification Technologies
Type
article
Field-Weighted Citation Impact
0.69
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leveraging Transfer Learning: Fine-Tuning methodology for Enhanced Text Classification using BERT

Ajay Kumar, Shaurya Gupta, Nilesh Ware
2 citations
Text and Document Classification Technologies
0.69
article

Leveraging Transfer Learning: Fine-Tuning methodology for Enhanced Text Classification using BERT

Ajay Kumar, Shaurya Gupta, Nilesh Ware
article en
2 citations

Abstract

Text Classification is the most widely studied problem area in Natural Language Processing (NLP). BERT is the most popular NLP model based on Transfer Learning with its pre-trained model being widely used for such tasks. It generates contextualized word/ sentence embeddings by applying "Self-Attention and Feed Forward" mechanism through multiple layers. The [CLS] token is the only token in BERT which captures semantically-relevant context for the complete input sentence. BERT-based language models output [CLS] token embedding which represents the input sentence effectively, however, the need for more efficient and accurate sentence embedding still remains a research area in NLP. This paper is to explore the effectiveness of [CLS] token pooled from intermediate encoder layers of the BERT model using Mean and Max pooling methods on Amazon product review dataset. Results obtained during the experiment clearly shows the superiority of CLS pooling strategies over default [CLS] tokens.

Defence Institute of Advanced Technology (IN), University of Petroleum and Energy Studies (IN)
Openalex Percentile: Top 22%
Text and Document Classification Technologies
0.69
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.