FinBERT: Financial Sentiment Analysis with Pre-trained Language Models

Dogu Araci
8/27/2019
1,215 citations
cs.CLcs.LG

No official code found. Best implementation: shubhamkotal/FinBert (9 stars, Python, last commit 2022-01-16).

Abstract

Financial sentiment analysis is a challenging task due to the specialized language and lack of labeled data in that domain. General-purpose models are not effective enough because of the specialized language used in a financial context.

Show full abstract

We hypothesize that pre-trained language models can help with this problem because they require fewer labeled examples and they can be further trained on domain-specific corpora. We introduce FinBERT, a language model based on BERT, to tackle NLP tasks in the financial domain. Our results show improvement in every measured metric on current state-of-the-art results for two financial sentiment analysis datasets. We find that even with a smaller training set and fine-tuning only a part of the model, FinBERT outperforms state-of-the-art machine learning methods.

View on arXivView PDF

Code Implementations(1)

FinBERT is a pre-trained NLP model to analyze the sentiment of the financial text. It is built by further training the BERT language model in the finance domain, using a large financial corpus and thereby fine-tuning it for financial sentiment classification. For the details, please see FinBERT: Financial Sentiment Analysis with Pre-trained Language Models. The project was deployed on the flask. Providing an indicator to buy, hold or sell stock based on the sentiment predicted for the following news headline/article.

90Python, HTMLDec 12, 20204 years ago

Similar Papers

Cite this paper

@article{araci2019finbert,
  title  = {FinBERT: Financial Sentiment Analysis with Pre-trained Language Models},
  author = {Dogu Araci},
  year   = {2019},
  eprint = {1908.10063},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.10063}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1908.10063.svg)](https://codeofpaper.com/paper/1908.10063)

Discussion