Abstract
Cross-lingual text classification aims at training a classifier on the source language and transferring the knowledge to target languages, which is very useful for low-resource languages. Recent multilingual pretrained language models (mPLM) achieve impressive results in cross-lingual classification tasks, but rarely consider factors beyond semantic similarity, causing performance degradation between some language pairs. In this paper we propose a simple yet effective method to incorporate heterogeneous information within and across languages for cross-lingual text classification using graph convolutional networks (GCN). In particular, we construct a heterogeneous graph by treating documents and words as nodes, and linking nodes with different relations, which include part-of-speech roles, semantic similarity, and document translations. Extensive experiments show that our graph-based method significantly outperforms state-of-the-art models on all tasks, and also achieves consistent performance gain over baselines in low-resource settings where external tools like translators are unavailable.
Introduction
Cross-lingual text classification (CLTC) is a vital task for scaling NLP systems to low-resource languages where labeled data is scarce. While Multilingual Pretrained Language Models (mPLMs) like mBERT and XLM-RoBERTa have set new benchmarks, they primarily rely on shared semantic spaces. These models often struggle with syntactic discrepancies—where different languages have distinct word orders—and they frequently underutilize the abundance of unlabeled text available in target languages.
To address these gaps, researchers from Tencent developed CLHG (Cross-Lingual Heterogeneous GCN). This framework moves beyond linear sequences to a heterogeneous graph structure capable of absorbing both semantic and syntactic information from labeled and unlabeled data alike.
Methodology: The CLHG Framework
The core of the proposed approach is the construction of a massive graph where both documents and words serve as nodes. The process involves three primary stages:
- Graph Construction: The model defines several specialized edge types to capture diverse relationships:
- Doc-Word Edges: Instead of simple co-occurrence, edges are categorized by Part-of-Speech (POS) tags (e.g., Noun, Verb, Adjective). This allows the model to learn that specific grammatical roles are more influential for certain tasks, such as adjectives in sentiment analysis.
- Doc-Doc Semantic Edges: Documents with high cosine similarity (based on mPLM embeddings) are connected, creating "shortcuts" for label propagation.
- Doc-Doc Translation Edges: When available, documents are linked to their machine-translated counterparts in other languages.
- Node Initialization: Pretrained mPLMs (specifically XLM-RoBERTa) generate initial embeddings for all document and word nodes.
- Heterogeneous Convolution: A Heterogeneous Graph Convolutional Network performs convolutions on different subgraphs (separated by edge type) before aggregating the information. This allows the model to dynamically weight the importance of syntactic versus semantic links.
Experimental Evaluation
The model was evaluated on 15 tasks across three diverse datasets: Amazon Reviews (sentiment), XGLUE News Classification, and Multilingual SLU (intent classification).
Key Results
CLHG consistently outperformed state-of-the-art baselines across all benchmarks. On the Amazon Reviews dataset, CLHG achieved significant accuracy gains over the standard XLM-R baseline. Notably, in the Multilingual SLU task for EN→Thai, performance jumped from 85.17% to 89.71%, demonstrating the model's strength in handling linguistically distant language pairs.
Discussion and Insights
Several key factors contribute to CLHG's superior performance:
- Syntax as a Bridge: By separating word-document edges by POS tags, the GCN learns distinct propagation patterns for different grammatical roles. This "shallow syntax" helps the model generalize better across languages with different word orders.
- Robustness to Missing Tools: Ablation studies confirmed that even without machine translation, CLHG beats baselines using only similarity and POS edges. This makes it a viable solution for truly low-resource languages where high-quality translators do not exist.
- Semi-Supervised Learning: By including unlabeled target-language documents as nodes in the graph, the model performs semi-supervised learning inherently, leveraging the natural distribution of the target language without additional complex training objectives.
Limitations and Future Work
While effective, building large-scale graphs is more memory-intensive than standard transformer fine-tuning. Future research may explore more complex syntactic features, such as dependency trees, and extend the framework to sequence labeling tasks like Named Entity Recognition (NER).
Summary updated