Evaluating BERT for Email Text Classification: A Comparative Study with Manual Text Pattern Matching

Automated email systems can be implemented as a text categorization task to deliver timely and relevant responses to email inquiries. Although manually crafted text patterns have been proven sufficient for this purpose, they remain limited by human ability to capture contextual nuances. This study investigates how the performance of a pre-trained deep language representation model, Bidirectional Encoder Representations from Transformers (BERT), compares to manual text pattern matching. A laboratory experiment was conducted as a text categorization task using the same dataset and evaluation metrics as in a previous study, with manual text patterns serving as the benchmark. Performance was assessed in terms of precision, recall and F1 score and differences were evaluated using descriptive statistics and a Mann-Whitney U test. Results show that BERT achieves slightly higher overall performance, with a statistically significant improvement in recall compared to text pattern matching. These findings suggest that BERT’s ability to manage linguistic variation can enhance the responsiveness of automated email systems.

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
Personal Information Management and User Behavior
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating BERT for Email Text Classification: A Comparative Study with Manual Text Pattern Matching

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Personal Information Management and User Behavior
article

Evaluating BERT for Email Text Classification: A Comparative Study with Manual Text Pattern Matching

article en

Abstract

Automated email systems can be implemented as a text categorization task to deliver timely and relevant responses to email inquiries. Although manually crafted text patterns have been proven sufficient for this purpose, they remain limited by human ability to capture contextual nuances. This study investigates how the performance of a pre-trained deep language representation model, Bidirectional Encoder Representations from Transformers (BERT), compares to manual text pattern matching. A laboratory experiment was conducted as a text categorization task using the same dataset and evaluation metrics as in a previous study, with manual text patterns serving as the benchmark. Performance was assessed in terms of precision, recall and F1 score and differences were evaluated using descriptive statistics and a Mann-Whitney U test. Results show that BERT achieves slightly higher overall performance, with a statistically significant improvement in recall compared to text pattern matching. These findings suggest that BERT’s ability to manage linguistic variation can enhance the responsiveness of automated email systems.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Quality Education
Openalex Percentile: Top 31%
Personal Information Management and User Behavior
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.