journal article·2025-03-21Open access

Heterogeneous Graph Neural Network with Multi-View Contrastive Learning for Cross-Lingual Text Classification

Xun Li, Kun Zhang

Applied Sciences· Volume 15· Issue 7

Abstract

The cross-lingual text classification task remains a long-standing challenge that aims to train a classifier on high-resource source languages and apply it to classify texts in low-resource target languages, bridging linguistic gaps while maintaining accuracy. Most existing methods achieve exceptional performance by relying on multilingual pretrained language models to transfer knowledge across languages. However, little attention has been paid to factors beyond semantic similarity, which leads to the degradation of classification performance in the target languages. This study proposes a novel framework, a heterogeneous graph neural network with multi-view contrastive learning for cross-lingual text classification, which integrates a heterogeneous graph architecture with multi-view contrastive learning for the cross-lingual text classification task. This study constructs a heterogeneous graph to capture both syntactic and semantic knowledge by connecting document and word nodes using different types of edges, including Part-of-Speech tagging, dependency, similarity, and translation edges. A Graph Attention Network is applied to aggregate information from neighboring nodes. Furthermore, this study devises a multi-view contrastive learning strategy to enhance model performance by pulling positive examples closer together and pushing negative examples further apart. Extensive experiments show that the framework outperforms the previous state-of-the-art model, achieving improvements of 2.20% in accuracy and 1.96% in F1-score on the XGLUE and Amazon Review datasets, respectively. These findings demonstrate that the proposed model makes a positive impact on the cross-lingual text classification task overall.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Text and Document Classification Technologies

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

Affiliations

School of Computer Science and Engineering, Nanjing University of Science and Technology, Nanjing 210094, China

References (48)

Show source-provided references
1. Deep learning10.1038/nature14539 ↗
2. Artificial intelligence for geoscience: Progress, challenges and perspectives
3. A review of convolutional neural networks in computer vision10.1007/s10462-024-10721-6 ↗
4. Sentiment analysis using deep learning architectures: A review10.1007/s10462-019-09794-5 ↗
5. Cho, K., van Merriënboer, B., Gulçehre, Ç., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. (2014, January 25–29). Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1179 ↗
6. Wang, S., and Jiang, J. (2016, January 12–17). Learning Natural Language Inference with LSTM. Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, San Diego, CA, USA.10.18653/v1/N16-1170 ↗
7. Conneau, A., Schwenk, H., Le Cun, Y., and Barrault, L. (2017, January 3–7). Very deep convolutional networks for text classification. Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics, EACL, Valencia, Spain.10.18653/v1/E17-1104 ↗
8. Liu, Z., Winata, G.I., and Fung, P. (2021). Continual Mixed-Language Pre-Training for Extremely Low-Resource Neural Machine Translation. Findings of the Association for Computational Linguistics, ACL-IJCNLP, Association for Computational Linguistics.10.18653/v1/2021.findings-acl.239 ↗
9. Cross-lingual language model pretraining
10. 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 ↗
11. Xu, R., and Yang, Y. (August, January 30). Cross-lingual Distillation for Text Classification. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Vancouver, BC, Canada.
12. A comparative study of cross-lingual sentiment analysis10.1016/j.eswa.2024.123247 ↗
13. Zero-shot cross-lingual transfer language selection using linguistic similarity10.1016/j.ipm.2022.103250 ↗
14. Bert: Pre-training of deep bidirectional transformers for language understanding
15. Hu, J., Ruder, S., Siddhant, A., Neubig, G., First, O., and Johnson, M. (2020, January 13–18). Xtreme: A massively multilingual multi-task benchmark for evaluating cross-lingual generalisation. Proceedings of the International Conference on Machine Learning (PMLR), Virtual.
16. The graph neural network model10.1109/TNN.2008.2005605 ↗
17. Yao, L., Mao, C., and Luo, Y. (February, January 27). Graph convolutional networks for text classification. Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA.
18. Wang, Z., Liu, X., Yang, P., Liu, S., and Wang, Z. (2021, January 1–6). Cross-lingual Text Classification with Heterogeneous Graph Neural Network. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), Virtual.10.18653/v1/2021.acl-short.78 ↗
19. A survey of text classification with transformers: How wide? how large? how long? how accurate? how expensive? how safe?10.1109/ACCESS.2024.3349952 ↗
20. Jovanovic, A., Bacanin, N., Jovanovic, L., Damasevicius, R., Antonijevic, M., Zivkovic, M., and Dobrojevic, M. (2024). Performance evaluation of metaheuristics-tuned recurrent networks with VMD decomposition for Amazon sales prediction. Int. J. Data Sci. Anal., 1–19.10.1007/s41060-024-00689-5 ↗
21. Textual emotion analysis using improved metaheuristics with deep learning model for intelligent systems10.1002/ett.4846 ↗
22. Zhou, H., Chen, L., Shi, F., and Huang, D. (2015, January 26–31). Learning bilingual sentiment word embeddings for cross-language sentiment classification. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), Beijing, China.10.3115/v1/P15-1042 ↗
23. Cross-lingual knowledge transferring by structural correspondence and space transfer10.1109/TCYB.2021.3051005 ↗
24. Kuriyozov, E., Doval, Y., and Gómez-Rodríguez, C. (2020, January 11–16). Cross-Lingual Word Embeddings for Turkic Languages. Proceedings of the Twelfth Language Resources and Evaluation Conference, Marseille, France.
25. Abdalla, M., and Hirst, G. (2017, January 7). Cross-Lingual Sentiment Analysis Without (Good) Translation. Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers), Taipei, Taiwan.
26. Zheng, J., Fan, F., and Li, J. (2024, January 20–25). Incorporating Lexical and Syntactic Knowledge for Unsupervised Cross-Lingual Transfer. Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING), Turin, Italy.
27. Xia, M., Zheng, G., Mukherjee, S., Shokouhi, M., Neubig, G., and Hassan, A. (2021, January 6–11). MetaXL: Meta Representation Transformation for Low-resource Cross-lingual Learning. Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Online.10.18653/v1/2021.naacl-main.42 ↗
28. An integrated topic modelling and graph neural network for improving cross-lingual text classification10.1145/3530260 ↗
29. Maurya, K., and Desarkar, M. (2022). Meta-XNLG: A Meta-Learning Approach Based on Language Clustering for Zero-Shot Cross-Lingual Transfer and Generation. Findings of the Association for Computational Linguistics, ACL.10.18653/v1/2022.findings-acl.24 ↗
30. Miah, M.S.U., Kabir, M.M., Sarwar, T.B., Safran, M., Alfarhood, S., and Mridha, M.F. (2024). A multimodal approach to cross-lingual sentiment analysis with ensemble of transformer and LLM. Sci. Rep., 14.10.1038/s41598-024-60210-7 ↗
31. Wu, L., Chen, Y., Ji, H., and Li, Y. (2021, January 6–11). Deep Learning on Graphs for Natural Language Processing. Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Tutorials, Online.10.18653/v1/2021.naacl-tutorials.3 ↗
32. Liu, X., You, X., Zhang, X., Wu, J., and Lv, P. (2020, January 7–12). Tensor graph convolutional networks for text classification. Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA.
33. Zhang, H., and Zhang, J. (2020, January 16–20). Text graph transformer for document classification. Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), Online.10.18653/v1/2020.emnlp-main.668 ↗
34. Attention is all you need
35. Veličković, P., Cucurull, G., Casanova, A., Romero, A., Liò, P., and Bengio, Y. (May, January 30). Graph Attention Networks. Proceedings of the International Conference on Learning Representations, Vancouver, BC, Canada.
36. Jaiswal, A., Babu, A.R., Zadeh, M.Z., Banerjee, D., and Makedon, F. (2020). A survey on contrastive self-supervised learning. Technologies, 9.10.3390/technologies9010002 ↗
37. A comprehensive survey on contrastive learning10.1016/j.neucom.2024.128645 ↗
38. Wang, X., Liu, N., Han, H., and Shi, C. (2021, January 14–18). Self-supervised heterogeneous graph neural network with co-contrastive learning. Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Virtual.10.1145/3447548.3467415 ↗
39. Pires, T., Schlinger, E., and Garrette, D. (August, January 28). How Multilingual is Multilingual BERT?. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy.
40. Conneau, A., Khandelwal, K., Goyal, N., Chaudhary, V., Wenzek, G., and Guzmán, F. (2020). Unsupervised Cross-Lingual Representation Learning at Scale, ACL.10.18653/v1/2020.acl-main.747 ↗
41. Xue, L., Constant, N., Roberts, A., Kale, M., Al-Rfou, R., Siddhant, A., Barua, A., and Raffel, C. (2021, January 6–11). mT5: A Massively Multilingual Pre-trained Text-to-Text Transformer. Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Online.10.18653/v1/2021.naacl-main.41 ↗
42. Linmei, H., Yang, T., Shi, C., Ji, H., and Li, X. (2019, January 3–7). Heterogeneous Graph Attention Networks for Semi-supervised Short Text Classification. Proceedings of the Empirical Methods in Natural Language Processing, Association for Computational Linguistics, Hong Kong, China.10.18653/v1/D19-1488 ↗
43. Prettenhofer, P., and Stein, B.B. (2010, January 11–16). Cross-Language Text Classification Using Structural Correspondence Learning. Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics, Uppsala, Sweden.
44. Schuster, S., Gupta, S., Shah, R., and Lewis, M. (2019, January 2–7). Cross-Lingual Transfer Learning for Multilingual Task Oriented Dialog. Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies Association for Computational Linguistics, Minneapolis, MN, USA.10.18653/v1/N19-1380 ↗
45. Liang, Y., Duan, N., Gong, Y., Wu, N., Guo, F., Qi, W., Gong, M., Shou, L., Jiang, D., and Cao, G. (2020, January 16–20). Xglue: A new benchmark dataset for cross-lingual pre-training understanding and generation. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), Online.10.18653/v1/2020.emnlp-main.484 ↗
46. Loshchilov, I., and Hutter, F. (2019). Decoupled weight decay regularization. arXiv.
47. Manning, C.D., Surdeanu, M., Bauer, J., Finkel, J.R., Bethard, S., and McClosky, D. (2014, January 23–24). The Stanford CoreNLP natural language processing toolkit. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations, Baltimore, MD, USA.10.3115/v1/P14-5010 ↗
48. Visualizing data using t-SNE