T3L: Translate-and-Test Transfer Learning for Cross-Lingual Text Classification

Inigo Jauregi Unanue, Gholamreza Haffari, Massimo Piccardi


Abstract
Cross-lingual text classification leverages text classifiers trained in a high-resource language to perform text classification in other languages with no or minimal fine-tuning (zero/ few-shots cross-lingual transfer). Nowadays, cross-lingual text classifiers are typically built on large-scale, multilingual language models (LMs) pretrained on a variety of languages of interest. However, the performance of these models varies significantly across languages and classification tasks, suggesting that the superposition of the language modelling and classification tasks is not always effective. For this reason, in this paper we propose revisiting the classic “translate-and-test” pipeline to neatly separate the translation and classification stages. The proposed approach couples 1) a neural machine translator translating from the targeted language to a high-resource language, with 2) a text classifier trained in the high-resource language, but the neural machine translator generates “soft” translations to permit end-to-end backpropagation during fine-tuning of the pipeline. Extensive experiments have been carried out over three cross-lingual text classification datasets (XNLI, MLDoc, and MultiEURLEX), with the results showing that the proposed approach has significantly improved performance over a competitive baseline.
Anthology ID:
2023.tacl-1.65
Volume:
Transactions of the Association for Computational Linguistics, Volume 11
Month:
Year:
2023
Address:
Cambridge, MA
Venue:
TACL
SIG:
Publisher:
MIT Press
Note:
Pages:
1147–1161
Language:
URL:
https://aclanthology.org/2023.tacl-1.65
DOI:
10.1162/tacl_a_00593
Bibkey:
Cite (ACL):
Inigo Jauregi Unanue, Gholamreza Haffari, and Massimo Piccardi. 2023. T3L: Translate-and-Test Transfer Learning for Cross-Lingual Text Classification. Transactions of the Association for Computational Linguistics, 11:1147–1161.
Cite (Informal):
T3L: Translate-and-Test Transfer Learning for Cross-Lingual Text Classification (Unanue et al., TACL 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.tacl-1.65.pdf