Fine-Tuning BERT for Sentiment Analysis in Public Transportation

Public transportation systems, especially in bustling cities like Bangkok, rely heavily on passenger feedback to enhance service quality and meet rising demands. Traditional sentiment analysis models, such as Logistic Regression, Support Vector Machines (SVM), and Long Short-Term Memory (LSTM) networks, often struggle with the nuances and complexities of human language, particularly in multilingual and context-specific datasets. This study investigates the effectiveness of fine-tuning a pre-trained Bidirectional Encoder Representations from Transformers (BERT) model for sentiment analysis of passenger feedback within Bangkok's public rail transportation system. We collected a diverse dataset from various online platforms frequented by local residents and international tourists, addressing challenges like data imbalance and language translation through rigorous preprocessing. The fine-tuned BERT model was evaluated against baseline models using standard metrics: accuracy, precision, recall, and F1-score. Experimental results demonstrate that the fine-tuned BERT model significantly outperforms traditional models, achieving an accuracy of 90.45% and an F1-score of 90.38%. Visualizations using confusion matrices and ROC curves further corroborate its superior performance. These findings underscore the potential of advanced NLP models like BERT in capturing nuanced sentiments in passenger feedback, providing transportation service providers with more accurate and actionable insights to enhance service quality and passenger satisfaction.

Authors

Institutions

Publication Details

Published
2025-03-05
DOI
https://doi.org/10.1109/ieecon64081.2025.10987646
Citations
1
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
1.01

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fine-Tuning BERT for Sentiment Analysis in Public Transportation

Rudsada Kaewsaeng‐on, Khanista Namee, Areej Meny, Karn Na Sritha et al.
1 citations
Traffic Prediction and Management Techniques
1.01
article

Fine-Tuning BERT for Sentiment Analysis in Public Transportation

Rudsada Kaewsaeng‐on, Khanista Namee, Areej Meny, Karn Na Sritha, Anh Tran, Vy Nguyen
article en
1 citations

Abstract

Public transportation systems, especially in bustling cities like Bangkok, rely heavily on passenger feedback to enhance service quality and meet rising demands. Traditional sentiment analysis models, such as Logistic Regression, Support Vector Machines (SVM), and Long Short-Term Memory (LSTM) networks, often struggle with the nuances and complexities of human language, particularly in multilingual and context-specific datasets. This study investigates the effectiveness of fine-tuning a pre-trained Bidirectional Encoder Representations from Transformers (BERT) model for sentiment analysis of passenger feedback within Bangkok's public rail transportation system. We collected a diverse dataset from various online platforms frequented by local residents and international tourists, addressing challenges like data imbalance and language translation through rigorous preprocessing. The fine-tuned BERT model was evaluated against baseline models using standard metrics: accuracy, precision, recall, and F1-score. Experimental results demonstrate that the fine-tuned BERT model significantly outperforms traditional models, achieving an accuracy of 90.45% and an F1-score of 90.38%. Visualizations using confusion matrices and ROC curves further corroborate its superior performance. These findings underscore the potential of advanced NLP models like BERT in capturing nuanced sentiments in passenger feedback, providing transportation service providers with more accurate and actionable insights to enhance service quality and passenger satisfaction.

Prince of Songkla University (TH), King Saud bin Abdulaziz University for Health Sciences (SA), University of Da Nang (VN), King Mongkut's University of Technology North Bangkok (TH)
Innovation Fund
Openalex Percentile: Top 25%
Traffic Prediction and Management Techniques
1.01
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.