Skip to main content

Application of the BERT Language Model for Sentiment Analysis of Social Network Posts

  • Conference paper
  • First Online:
Artificial Intelligence (RCAI 2020)

Abstract

The paper proposes a new algorithm for formation of training datasets for a neural network that provides sentiment analysis of social network posts. This article also describes the use of a neural network to determine the sentiment values of a social network posts using the word2vec and BERT algorithms. Also conducted experiments confirming the effectiveness of the proposed approaches.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Vlasov, D., et al.: Description of the information image of a user of a social network taking into account its psychological characteristics. Int. J. Open Inf. Technol. 6(4) (2018)

    Google Scholar 

  2. Sabuj, M.S., Afrin, Z., Hasan, K.M.Azharul: Opinion mining using support vector machine with web based diverse data. In: Shankar, B.U., Ghosh, K., Mandal, D.P., Ray, S.S., Zhang, D., Pal, Sankar K. (eds.) PReMI 2017. LNCS, vol. 10597, pp. 673–678. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-69900-4_85

    Chapter  Google Scholar 

  3. Dinu, L.P., Iuga, I.: The best feature of the set. In: Gelbukh, A. (ed.) Computational Linguistics and Intelligent Text Processing. CICLing 2012. Lecture Notes in Computer Science, vol. 718, pp. 556–567. Springer, Heidelberg (2012).  https://doi.org/10.1007/978-3-642-19400-9_5

  4. Chetviorkin, I.I., Loukachevitch, N.V.: Sentiment analysis track at ROMIP-2012. In: Computational Linguistics and Intellectual Technologies. Computer Linguistics and Intelligent Technologies: Dialogue 2013. Sat Scientific Articles, vol. 2, pp. 40–50 (2012)

    Google Scholar 

  5. Qufei, C., Sokolova, M.: Word2Vec and Doc2Vec in unsupervised sentiment analysis of clinical discharge summaries. CoRR abs/1805.00352 (2018)

    Google Scholar 

  6. Antonova, A., Soloviev, A.: Using the conditional random field method for processing texts in Russian. In: Computer Linguistics and Intelligent Technologies: Dialogue 2013. Sat Scientific Articles, vol. 12, no. 19, pp. 27–44. Publishing House of the Russian State Humanitarian University (2013)

    Google Scholar 

  7. Maas, A.L., Daly, R.E., Pham, P.T., Huang, D., Ng, A.Y., Potts, C.: Learning word vectors for sentiment analysis. In: The International Language Technologies-Volume 1 International Association for Computational Linguistics, pp. 142–150 (2011)

    Google Scholar 

  8. Moshkin, V., Yarushkina, N., Andreev, I.: The Sentiment Analysis of unstructured social network data using the extended ontology SentiWordNet. In: IEEE, 12th International Conference on Developments in eSystems Engineering (DeSE), Kazan, Russia, pp. 576–580 (2019). https://doi.org/10.1109/dese.2019.00110

  9. Bogdanov, A.L., Dulya, I.S.: Sentiment analysis of short Russian-language texts in social media. Bull. Tomsk State Univ. Econ. 47, 159–168 (2019)

    Google Scholar 

  10. Smirnova, O.S., Shishkov, V.V.: The choice of neural network topology and their application for the classification of short texts. Int. J. Open Inf. Technol. 4(8), 50–54 (2016)

    Google Scholar 

  11. Kolmogorova, A.V., Vdovina, L.A.: Lexico-grammatical markers of emotions as parameters for sentiment analysis of Russian-language Internet texts. Bull. Perm Univ. Russ. Foreign Philol. 3, 38–46 (2019)

    Google Scholar 

  12. WordNetAffect. http://wndomains.fbk.eu/wnaffect.html. Accessed 21 Apr 2020

  13. Devlin, J., et al.: BERT: pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018)

  14. Horev, R.: BERT explained: state of the art language model for NLP. https://towardsdatascience.com/bert-explained-state-of-the-art-language-model-for-nlp-f8b21a9b6270. Accessed 21 Apr 2020

  15. Algorithm Word2Vec. https://neurohive.io/ru/. Accessed 21 Apr 2020

  16. Filippov, A., Moshkin, V., Yarushkina, N.: Development of a software for the semantic analysis of social media content. In: Dolinina, O., Brovko, A., Pechenkin, V., Lvov, A., Zhmud, V., Kreinovich, V. (eds.) ICIT 2019. SSDC, vol. 199, pp. 421–432. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-12072-6_34

    Chapter  Google Scholar 

Download references

Acknowledgement

This study was supported by the Russian Foundation for Basic Research (Grants No. 18-47-732007, 18-47-730035 and 19-07-00999).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vadim Moshkin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Moshkin, V., Konstantinov, A., Yarushkina, N. (2020). Application of the BERT Language Model for Sentiment Analysis of Social Network Posts. In: Kuznetsov, S.O., Panov, A.I., Yakovlev, K.S. (eds) Artificial Intelligence. RCAI 2020. Lecture Notes in Computer Science(), vol 12412. Springer, Cham. https://doi.org/10.1007/978-3-030-59535-7_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-59535-7_20

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-59534-0

  • Online ISBN: 978-3-030-59535-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics