A Comparative Analysis of the Impact of Data Preprocessing and Fine-Tuning Methods on Bert's Performance in Text Classification

Transformer-based models, such as Bidirectional Encoder Representations from Transformers (BERT), have achieved significant advancements in natural language processing by understanding deeper connections between words and their context. This advancement has relied on the model's architecture and its capacity to capture linguistic nuances, which are essential for tasks like text classification. Fine-tuning on domain-specific datasets has been crucial for optimal performance in text classification. Additionally, data preprocessing has significantly improved BERT's performance by emphasizing relevant information. This research aimed to assess how data preprocessing and fine-tuning affect BERT's performance in text classification. Specifically, preprocessing techniques enhance performance by effectively reducing noise and highlighting critical features in complex datasets, while fine-tuning adjusts the model's parameters to capture domain-specific nuances, thereby improving accuracy on tailored tasks. The study involved several stages: collecting benchmark datasets (SST-2, AG News, Enron Spam), designing preprocessing methods, fine-tuning BERT using domain-specific models, hyperparameter tuning, feature-based approaches, and classifier algorithms. The findings revealed that pre-processing improved performance for complex datasets while reducing it for simpler ones. Domain-specific BERT models outperformed base and large versions. The optimal learning rate was found to be <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2 \mathrm{e}-5$</tex>, and the last encoder layer provided the best feature representation to be fed to BERT's classification head.

Authors

Institutions

Publication Details

Published
2025-03-21
DOI
https://doi.org/10.1109/icnlp65360.2025.11108690
Primary Topic
Text and Document Classification Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparative Analysis of the Impact of Data Preprocessing and Fine-Tuning Methods on Bert's Performance in Text Classification

Tirana Noor Fatyanosa, Mahendra Data, Rizky Dwi Purnomo
Text and Document Classification Technologies
article

A Comparative Analysis of the Impact of Data Preprocessing and Fine-Tuning Methods on Bert's Performance in Text Classification

Tirana Noor Fatyanosa, Mahendra Data, Rizky Dwi Purnomo
article en

Abstract

Transformer-based models, such as Bidirectional Encoder Representations from Transformers (BERT), have achieved significant advancements in natural language processing by understanding deeper connections between words and their context. This advancement has relied on the model's architecture and its capacity to capture linguistic nuances, which are essential for tasks like text classification. Fine-tuning on domain-specific datasets has been crucial for optimal performance in text classification. Additionally, data preprocessing has significantly improved BERT's performance by emphasizing relevant information. This research aimed to assess how data preprocessing and fine-tuning affect BERT's performance in text classification. Specifically, preprocessing techniques enhance performance by effectively reducing noise and highlighting critical features in complex datasets, while fine-tuning adjusts the model's parameters to capture domain-specific nuances, thereby improving accuracy on tailored tasks. The study involved several stages: collecting benchmark datasets (SST-2, AG News, Enron Spam), designing preprocessing methods, fine-tuning BERT using domain-specific models, hyperparameter tuning, feature-based approaches, and classifier algorithms. The findings revealed that pre-processing improved performance for complex datasets while reducing it for simpler ones. Domain-specific BERT models outperformed base and large versions. The optimal learning rate was found to be <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2 \mathrm{e}-5$</tex>, and the last encoder layer provided the best feature representation to be fed to BERT's classification head.

University of Brawijaya (ID)
Openalex Percentile: Top 89%
Text and Document Classification Technologies
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.