• Journal of Internet Computing and Services
    ISSN 2287 - 1136 (Online) / ISSN 1598 - 0170 (Print)
    https://jics.or.kr/

FinBERT Fine-Tuning for Sentiment Analysis: Exploring the Effectiveness of Datasets and Hyperparameters


Jae Heon Kim, Hui Do Jung, Beakcheol Jang, Journal of Internet Computing and Services, Vol. 24, No. 4, pp. 127-135, Aug. 2023
10.7472/jksii.2023.24.4.127, Full Text:
Keywords: FinBERT, Financial Sentiment Analysis, Fine-Tuning hyperparameters

Abstract

This research paper explores the application of FinBERT, a variational BERT-based model pre-trained on financial domain, for sentiment analysis in the financial domain while focusing on the process of identifying suitable training data and hyperparameters. Our goal is to offer a comprehensive guide on effectively utilizing the FinBERT model for accurate sentiment analysis by employing various datasets and fine-tuning hyperparameters. We outline the architecture and workflow of the proposed approach for fine-tuning the FinBERT model in this study, emphasizing the performance of various datasets and hyperparameters for sentiment analysis tasks. Additionally, we verify the reliability of GPT-3 as a suitable annotator by using it for sentiment labeling tasks. Our results show that the fine-tuned FinBERT model excels across a range of datasets and that the optimal combination is a learning rate of 5e-5 and a batch size of 64, which perform consistently well across all datasets. Furthermore, based on the significant performance improvement of the FinBERT model with our Twitter data in general domain compared to our news data in general domain, we also express uncertainty about the model being further pre-trained only on financial news data. We simplify the complex process of determining the optimal approach to the FinBERT model and provide guidelines for selecting additional training datasets and hyperparameters within the fine-tuning process of financial sentiment analysis models.


Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from November 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[APA Style]
Kim, J., Jung, H., & Jang, B. (2023). FinBERT Fine-Tuning for Sentiment Analysis: Exploring the Effectiveness of Datasets and Hyperparameters. Journal of Internet Computing and Services, 24(4), 127-135. DOI: 10.7472/jksii.2023.24.4.127.

[IEEE Style]
J. H. Kim, H. D. Jung, B. Jang, "FinBERT Fine-Tuning for Sentiment Analysis: Exploring the Effectiveness of Datasets and Hyperparameters," Journal of Internet Computing and Services, vol. 24, no. 4, pp. 127-135, 2023. DOI: 10.7472/jksii.2023.24.4.127.

[ACM Style]
Jae Heon Kim, Hui Do Jung, and Beakcheol Jang. 2023. FinBERT Fine-Tuning for Sentiment Analysis: Exploring the Effectiveness of Datasets and Hyperparameters. Journal of Internet Computing and Services, 24, 4, (2023), 127-135. DOI: 10.7472/jksii.2023.24.4.127.