Skip to main content

Ukrainian News Corpus as Text Classification Benchmark

  • Conference paper
  • First Online:
ICTERI 2021 Workshops (ICTERI 2021)

Abstract

One of the crucial problems of natural language processing for languages such as Ukrainian is lack of datasets both unlabeled (for pretraining of word embeddings or large deep learning models) and labeled (for benchmarking existing approaches).

In this paper we describe a framework for simple classification dataset creation with minimal labeling effort. We create a dataset for Ukrainian news classification and compare several pretrained models for Ukrainian language in different training settings.

We show that ukr-RoBERTa, ukr-ELECTRA and XLM-R tend to show the highest performance, although XLM-R tends to perform better on longer texts, while ukr-RoBERTa performs substantially better on shorter sequences.

We publish this dataset on Kaggle (https://www.kaggle.com/c/ukrainian-news-classification/) and suggest to use it for further comparison of approaches for Ukrainian text classification.

Results of the “Ukrainian News Classification” contest [1] hosted by TechTalents.

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. https://www.kaggle.com/c/ukrainian-news-classification/

  2. Vaswani, A., et al.: Attention is all you need. In: Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS 2017). Curran Associates Inc., Red Hook, NY, USA, pp. 6000–6010 (2017)

    Google Scholar 

  3. Devlin, J., Chang, M.-W., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding (2019)

    Google Scholar 

  4. Radchenko, V.: We trained the Ukrainian language model. https://youscan.io/blog/ukrainian-language-model/

  5. Schweter, S.: Ukrainian ELECTRA model. https://github.com/stefan-it/ukrainian-electra, https://doi.org/10.5281/zenodo.4267880

  6. Dmytro, B.: Determining sentiment and important properties of Ukrainian-language user reviews. Master thesis, manuscript rights/Dmytro Babenko, Supervisor Vsevolod Dyomkin, Ukrainian Catholic University, Department of Computer Sciences, - Lviv: [s.n.], 35 p. (2020)

    Google Scholar 

  7. Babenko, D., Dyomkin, V.: Determining Sentiment and Important Properties of Ukrainian Language User Reviews (2019). http://ceur-ws.org/Vol-2566/MS-AMLV-2019-paper39-p106.pdf

  8. NER annotation corpus. https://lang.org.ua/en/corpora/

  9. Conneau, A., et al.: Unsupervised Cross-lingual Representation Learning at Scale (2019). CoRR, abs/1911.02116

    Google Scholar 

  10. Conneau, A., et al.: XNLI: Evaluating cross-lingual sentence representations. In: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics (2018)

    Google Scholar 

  11. https://www.bbc.com/ukrainian

  12. https://nv.ua/

  13. https://www.pravda.com.ua/

  14. https://www.epravda.com.ua/

  15. https://www.eurointegration.com.ua/

  16. https://life.pravda.com.ua/

  17. https://www.unian.ua/

  18. Ying, S., et al.: Improving medical short text classification with semantic expansion using word-cluster embedding. ArXiv abs/1812.01885 (2018). n. pag

    Google Scholar 

  19. Zhang, Y., Jin, R., Zhou, Z.-H.: Understanding bag-of-words model: a statistical framework. Int. J. Mach. Learn. Cybern. 1, 43–52 (2010). https://doi.org/10.1007/s13042-010-0001-0

    Article  Google Scholar 

  20. Kaufman, S., Rosset, S., Perlich, C.: Leakage in data mining: formulation, detection, and avoidance. In: Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, vol.6, pp. 556–563 (2011). https://doi.org/10.1145/2020408.2020496

  21. Norvig, P.: How to write a spelling corrector. url: http://norvig.com/spell-correct.html

  22. Shuyo, N.: Language detection library for Java (2010)

    Google Scholar 

  23. TF-IDF. In: Sammut C., Webb G.I. (eds.) Encyclopedia of Machine Learning. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-30164-8

  24. Arkhipov, A.: Tuning multilingual transformers for language-specific named entity recognition. In: Proceedings of the 7th Workshop on Balto-Slavic Natural Language Processing, pp. 89–93. Association for Computational Linguistics (2019)

    Google Scholar 

  25. Wang, C.: Baselines and bigrams: simple, good sentiment and topic classification. In: Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics, vol. 2: Short Papers, pp. 90–94). Association for Computational Linguistics (2012)

    Google Scholar 

  26. Liu, Y., et al.: RoBERTa: a robustly optimized BERT pretraining approach (2019). CoRR, abs/1907.11692

    Google Scholar 

  27. Ortiz Suárez, P., Sagot, B., Romary, L.: Asynchronous pipeline for processing huge corpora on medium to low resource infrastructures. In: 7th Workshop on the Challenges in the Management of Large Corpora (CMLC-7). Leibniz-Institut für Deutsche Sprache (2019)

    Google Scholar 

  28. Clark, K., Luong, M.T., Le, Q.V., Manning, C.D.: ELECTRA: Pre-training text encoders as discriminators rather than generators. In: International Conference on Learning Representations (2020)

    Google Scholar 

Download references

Acknowledgments

Multi university education platform TechTalents for hosting contest  [1]. Funding partner AltexSoft and partner CloudWorks.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Oleksii Turuta .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Panchenko, D., Maksymenko, D., Turuta, O., Luzan, M., Tytarenko, S., Turuta, O. (2022). Ukrainian News Corpus as Text Classification Benchmark. In: Ignatenko, O., et al. ICTERI 2021 Workshops. ICTERI 2021. Communications in Computer and Information Science, vol 1635. Springer, Cham. https://doi.org/10.1007/978-3-031-14841-5_37

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-14841-5_37

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-14840-8

  • Online ISBN: 978-3-031-14841-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics