Transformers for Domain-Specific Text Classification: A Case Study in the Banking Sector

The growing volume of unstructured text data in the banking sector has created a need for advanced classification methods to manage customer inquiries efficiently, resulting in faster response times, automated message classification, and reduced human errors. The classification results are integrated into live banking systems, enabling continuous 24/7 message processing and instant categorization. Previously, human operators could process up to 70 messages per day during working hours. With AI integration, the system now categorizes messages automatically and in real time, ensuring that relevant department managers receive them promptly, significantly improving operational workflows. Our research offers key insights into applying transformer models for domain-specific classification in banking. This paper presents a case study on fine-tuning transformer models—BERT, GPT-2, GPT-3, and Falcon-1B for domain-specific text classification in the banking industry. The dataset used in this investigation consists of 5,447 customer messages submitted between 2023 and 2024 through Invest Bankś secure messaging portal, which serves as a direct communication channel where customers can submit their requests at any time of the day without needing to visit the bank in person. The inquiries span fifteen service categories provided by the bank. To the best of our knowledge, no prior studies have focused on automating customer secure messages in the banking sector, especially those written in colloquial and abbreviated language. The models were fine-tuned to improve classification accuracy and operational efficiency. A heterogeneous ensemble of BERT and GPT-2 achieved the best performance with an Area Under the Curve (AUC) score of 99.42% and an F1 score of 86.74%. A homogeneous ensemble of BERT models also performed well, achieving an AUC score of 98.81% and an F1 score of 84.57%. Notably, the single BERT and GPT-2 models, with AUC scores of 97.65% and 97.9%, respectively, delivered competitive performance, making them viable alternatives when computational resources are limited.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3585164
Citations
3
Primary Topic
Text and Document Classification Technologies
Type
article
Field-Weighted Citation Impact
7.44
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Transformers for Domain-Specific Text Classification: A Case Study in the Banking Sector

Fadi Almasalha, Mahmoud H. Qutqut, Fatima Alhaj, Samer Murrar
3 citations
IEEE Access
Text and Document Classification Technologies
7.44
article

Transformers for Domain-Specific Text Classification: A Case Study in the Banking Sector

Fadi Almasalha, Mahmoud H. Qutqut, Fatima Alhaj, Samer Murrar
article en
3 citations

Abstract

The growing volume of unstructured text data in the banking sector has created a need for advanced classification methods to manage customer inquiries efficiently, resulting in faster response times, automated message classification, and reduced human errors. The classification results are integrated into live banking systems, enabling continuous 24/7 message processing and instant categorization. Previously, human operators could process up to 70 messages per day during working hours. With AI integration, the system now categorizes messages automatically and in real time, ensuring that relevant department managers receive them promptly, significantly improving operational workflows. Our research offers key insights into applying transformer models for domain-specific classification in banking. This paper presents a case study on fine-tuning transformer models—BERT, GPT-2, GPT-3, and Falcon-1B for domain-specific text classification in the banking industry. The dataset used in this investigation consists of 5,447 customer messages submitted between 2023 and 2024 through Invest Bankś secure messaging portal, which serves as a direct communication channel where customers can submit their requests at any time of the day without needing to visit the bank in person. The inquiries span fifteen service categories provided by the bank. To the best of our knowledge, no prior studies have focused on automating customer secure messages in the banking sector, especially those written in colloquial and abbreviated language. The models were fine-tuned to improve classification accuracy and operational efficiency. A heterogeneous ensemble of BERT and GPT-2 achieved the best performance with an Area Under the Curve (AUC) score of 99.42% and an F1 score of 86.74%. A homogeneous ensemble of BERT models also performed well, achieving an AUC score of 98.81% and an F1 score of 84.57%. Notably, the single BERT and GPT-2 models, with AUC scores of 97.65% and 97.9%, respectively, delivered competitive performance, making them viable alternatives when computational resources are limited.

IEEE AccessVol. 13
Applied Science Private University (JO), Gulf University for Science & Technology (KW)
Decent work and economic growth
Openalex Percentile: Top 3%
Text and Document Classification Technologies
7.44
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.