Abstract
Aspect-Based Sentiment Analysis (ABSA) provides fine-grained sentiment understanding by identifying and classifying sentiments toward specific aspects of products or services. This study investigates the application of transfer learning with BERT-based models for end-to-end ABSA on Thai restaurant reviews, focusing on four critical aspects: Food, Price, Service, and Environment. We fine-tune multiple pretrained BERT-based models and compare their performance against a BiGRU baseline. Our experiments demonstrate that all BERT-based models achieve substantial performance gains $(76.66-79.80 \%)$ F1-score) over the baseline model (61.85 %), with models pretrained on diverse text styles, including informal language, achieving the best results. This finding validates that pretraining corpora reflecting the linguistic characteristics of target tasks, such as user-generated content, enhance transfer learning effectiveness. We also investigate the impact of training dataset size, revealing that pretrained models fine-tuned with only 50 sentences outperform baseline models trained on the full dataset. Our analysis establishes that 300-500 sentences represent an optimal balance, achieving over 77 % F1-score while requiring only $24-41 \%$ of the full dataset.

This publication has 13 references indexed in Scilit: