journal article·2020-08-29Open access

Zero-Shot Learning for Cross-Lingual News Sentiment Classification

Andraž Pelicon, Marko Pranjić, Dragana Miljković, Blaž Škrlj, Senja Pollak

Applied Sciences· Volume 10· Issue 17

Abstract

In this paper, we address the task of zero-shot cross-lingual news sentiment classification. Given the annotated dataset of positive, neutral, and negative news in Slovene, the aim is to develop a news classification system that assigns the sentiment category not only to Slovene news, but to news in another language without any training data required. Our system is based on the multilingual BERTmodel, while we test different approaches for handling long documents and propose a novel technique for sentiment enrichment of the BERT model as an intermediate training step. With the proposed approach, we achieve state-of-the-art performance on the sentiment analysis task on Slovenian news. We evaluate the zero-shot cross-lingual capabilities of our system on a novel news sentiment test set in Croatian. The results show that the cross-lingual approach also largely outperforms the majority classifier, as well as all settings without sentiment enrichment in pre-training.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Sentiment Analysis and Opinion Mining · Topic Modeling · Spam and Phishing Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Jožef Stefan Institute, 1000 Ljubljana, Slovenia

Jožef Stefan International Postgraduate School, 1000 Ljubljana, Slovenia

Trikoder d.o.o., 10010 Zagreb, Croatia

Funding

European Union's Horizon 2020 research and innovation programme · European Union's Rights, Equality and Citizenship Programme · Javna Agencija za Raziskovalno Dejavnost RS

References (48)

Show source-provided references
1. Beigi, G., Hu, X., Maciejewski, R., and Liu, H. (2016). An overview of sentiment analysis in social media and its applications in disaster relief. Sentiment Analysis and Ontology Engineering, Springer.10.1007/978-3-319-30319-2_13 ↗
2. Mejova, Y. (2009). Sentiment Analysis: An Overview, University of Iowa, Computer Science Department.
3. Annotated news corpora and a lexicon for sentiment analysis in Slovene10.1007/s10579-018-9413-3 ↗
4. Sentiment Analysis and Opinion Mining
5. Fine-Grained Analysis of Explicit and Implicit Sentiment in Financial News Articles10.1016/j.eswa.2015.02.007 ↗
6. Bhutani, B., Rastogi, N., Sehgal, P., and Purwar, A. (2019, January 8–10). Fake news detection using sentiment analysis. Proceedings of the IEEE 2019 Twelfth International Conference on Contemporary Computing (IC3), Noida, India.10.1109/IC3.2019.8844880 ↗
7. El Ali, A., Stratmann, T.C., Park, S., Schöning, J., Heuten, W., and Boll, S.C. (2018, January 21–26). Measuring, understanding, and classifying news media sympathy on twitter after crisis events. Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems, Montreal, QC, Canada.10.1145/3173574.3174130 ↗
8. Rambaccussing, D., and Kwiatkowski, A. (2020). Forecasting with news sentiment: Evidence with UK newspapers. Int. J. Forecast.10.1016/j.ijforecast.2020.04.002 ↗
9. Economy through a lens: Distortions of policy coverage in UK national newspapers10.1016/j.jce.2019.07.002 ↗
10. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
11. Schwartz, B. (2020, August 28). Google’s Latest Search Algorithm to Better Understand Natural Language. Search Engine Land. Available online: https://searchengineland.com/welcome-bert-google-artificial-intelligence-for-understanding-search-queries-323976.
12. Albarino, S. (2020, August 28). Does Google’s BERT Matter in Machine Translation? Slator. Available online: https://slator.com/machine-translation/does-googles-bert-matter-in-machine-translation/.
13. Pires, T., Schlinger, E., and Garrette, D. (2019). How multilingual is Multilingual BERT?. arXiv.10.18653/v1/P19-1493 ↗
14. Karthikeyan, K., Wang, Z., Mayhew, S., and Roth, D. (2019, January 2–4). Cross-lingual ability of multilingual bert: An empirical study. Proceedings of the International Conference on Learning Representations, Scottsdale, AZ, USA.
15. Wolf, T., Debut, L., Sanh, V., Chaumond, J., Delangue, C., Moi, A., Cistac, P., Rault, T., Louf, R., and Funtowicz, M. (2019). HuggingFace’s Transformers: State-of-the-art Natural Language Processing. arXiv.10.18653/v1/2020.emnlp-demos.6 ↗
16. Xie, Q., Dai, Z., Hovy, E., Luong, M.T., and Le, Q.V. (2019). Unsupervised data augmentation for consistency training. arXiv.
17. Lin, K.Y., Yang, C., and Chen, H.H. (2009, January 9–12). Emotion Classification of Online News Articles from the Reader’s Perspective. Proceedings of the 2008 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology, Sydney, Australia.10.1109/WIIAT.2008.197 ↗
18. Li, X., Xie, H., Chen, L., Wang, J., and Deng, X. (2014). News Impact on Stock Price Return via Sentiment Analysis. Knowl. Based Syst., 69.10.1016/j.knosys.2014.04.022 ↗
19. Mansar, Y., Gatti, L., Ferradans, S., Guerini, M., and Staiano, J. (2017). Fortia-FBK at SemEval-2017 Task 5: Bullish or Bearish? Inferring Sentiment towards Brands from Financial News Headlines. Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017), Association for Computational Linguistics.10.18653/v1/S17-2138 ↗
20. Moore, A., and Rayson, P. (2017). Lancaster A at SemEval-2017 Task 5: Evaluation metrics matter: Predicting sentiment from financial news headlines. Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017), Association for Computational Linguistics.10.18653/v1/S17-2095 ↗
21. Wan, X. (2009, January 2–7). Co-training for cross-lingual sentiment classification. Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP, Singapore.10.3115/1687878.1687913 ↗
22. Guzmán, F., Chen, P.J., Ott, M., Pino, J., Lample, G., Koehn, P., Chaudhary, V., and Ranzato, M. (2019). The FLoRes evaluation datasets for low-resource machine translation: Nepali-english and sinhala-english. arXiv.10.18653/v1/D19-1632 ↗
23. Zhou, X., Wan, X., and Xiao, J. (2016, January 1–5). Attention-based LSTM network for cross-lingual sentiment classification. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, Austin, TX, USA.10.18653/v1/D16-1024 ↗
24. Chen, Z., Shen, S., Hu, Z., Lu, X., Mei, Q., and Liu, X. (2019, January 13–17). Emoji-powered representation learning for cross-lingual sentiment classification. Proceedings of the World Wide Web Conference, San Francisco, CA, USA.10.1145/3308558.3313600 ↗
25. Funaki, R., and Nakayama, H. (2015, January 17–21). Image-mediated learning for zero-shot cross-lingual document retrieval. Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, Lisbon, Portugal.10.18653/v1/D15-1070 ↗
26. Rei, M., and Søgaard, A. (2018). Zero-shot sequence labeling: Transferring knowledge from sentences to tokens. arXiv.10.18653/v1/N18-1027 ↗
27. Wang, Y., Che, W., Guo, J., Liu, Y., and Liu, T. (2019). Cross-lingual BERT transformation for zero-shot dependency parsing. arXiv.10.18653/v1/D19-1575 ↗
28. Hsu, T.Y., Liu, C.L., and Lee, H.Y. (2019). Zero-shot Reading Comprehension by Cross-lingual Transfer Learning with Multi-lingual Language Representation Model. arXiv.10.18653/v1/D19-1607 ↗
29. Ye, Z., Geng, Y., Chen, J., Chen, J., Xu, X., Zheng, S., Wang, F., Zhang, J., and Chen, H. (2020, January 5–10). Zero-shot Text Classification via Reinforced Self-training. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Seattle, WA, USA.10.18653/v1/2020.acl-main.272 ↗
30. Jebbara, S., and Cimiano, P. (2019). Zero-Shot Cross-Lingual Opinion Target Extraction. arXiv.
31. Fei, H., and Li, P. (2020, January 5–10). Cross-Lingual Unsupervised Sentiment Classification with Multi-View Transfer Learning. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Seattle, WA, USA.10.18653/v1/2020.acl-main.510 ↗
32. Tan, X., Yan, R., Tao, C., and Wu, M. (2019). Classification over Clustering: Augmenting Text Representation with Clusters Helps!. Proceedings of the CCF International Conference on Natural Language Processing and Chinese Computing, Springer.10.1007/978-3-030-32236-6_3 ↗
33. Pappagari, R., Zelasko, P., Villalba, J., Carmiel, Y., and Dehak, N. (2019, January 14–18). Hierarchical Transformers for Long Document Classification. Proceedings of the 2019 IEEE Automatic Speech Recognition and Understanding Workshop (ASRU), Singapore.10.1109/ASRU46091.2019.9003958 ↗
34. Beltagy, I., Peters, M.E., and Cohan, A. (2020). Longformer: The long-document transformer. arXiv.
35. A Technique for the Measurement of Attitudes
36. Wu, Y., Schuster, M., Chen, Z., Le, Q.V., Norouzi, M., Macherey, W., Krikun, M., Cao, Y., Gao, Q., and Macherey, K. (2016). Google’s neural machine translation system: Bridging the gap between human and machine translation. arXiv.
37. Pruksachatkun, Y., Phang, J., Liu, H., Htut, P.M., Zhang, X., Pang, R.Y., Vania, C., Kann, K., and Bowman, S.R. (2020). Intermediate-Task Transfer Learning with Pretrained Models for Natural Language Understanding: When and Why Does It Work?. arXiv.10.18653/v1/2020.acl-main.467 ↗
38. He, C., Chen, S., Huang, S., Zhang, J., and Song, X. (2019, January 15–17). Using Convolutional Neural Network with BERT for Intent Determination. Proceedings of the IEEE 2019 International Conference on Asian Language Processing (IALP), Shanghai, China.10.1109/IALP48816.2019.9037668 ↗
39. Pelicon, A. (March, January Slovenia). Zaznavanje sentimenta v novicah z globokimi nevronskimi mrežami. Proceedings of the Conference on Language Technologies and Digital Humanities 2020 (to appear), Ljubljana.
40. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017, January 4–9). Attention is all you need. Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA.
41. Vig, J. (2019). Visualizing Attention in Transformer-Based Language Representation Models. arXiv.
42. Vig, J., and Belinkov, Y. (2019). Analyzing the structure of attention in a transformer language model. arXiv.10.18653/v1/W19-4808 ↗
43. Škrlj, B., Eržen, N., Sheehan, S., Luz, S., Robnik-Šikonja, M., and Pollak, S. (2020). AttViz: Online exploration of self-attention for transparent neural language modeling. arXiv.
44. George, D., and Mallery, P. (2006). SPSS for Windows Step-by-Step: A Simple Guide and Reference, 14.0 Update, Allyn and Bacon, Inc.. [7th ed.].
45. Krippendorff, K. (2004). Content Analysis: An Introduction to Its Methodology, Sage Publications. [2nd ed.].
46. The Measurement of Observer Agreement for Categorical Data10.2307/2529310 ↗
47. Rumsey, D.J., and Unger, D. (2015). U Can: Statistics for Dummies, John Wiley.
48. O’Hare, N., Davy, M., Bermingham, A., Ferguson, P., Sheridan, P., Gurrin, C., and Smeaton, A. (2009, January 6). Topic-dependent sentiment analysis of financial blogs. Proceedings of the TSA 2009—1st International CIKM Workshop on Topic-Sentiment Analysis for Mass Opinion Measurement, Hong Kong, China.10.1145/1651461.1651464 ↗