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

Inigo Jauregi Unanue, Gholamreza Haffari, Massimo Piccardi
6/8/2023
cs.CL

No official code found. Best implementation: inigo-jauregi/t3l (5 stars, last commit 2023-10-05).

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 vary 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.

View on arXivView PDF

Code Implementations(1)

inigo-jauregi/t3lCommunity100%

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

51CSS, ShellDec 16, 20223 years ago

Similar Papers

Cite this paper

@article{unanue2023tl,
  title  = {T3L: Translate-and-Test Transfer Learning for Cross-Lingual Text Classification},
  author = {Inigo Jauregi Unanue and Gholamreza Haffari and Massimo Piccardi},
  year   = {2023},
  eprint = {2306.04996},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.04996v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.04996.svg)](https://codeofpaper.com/paper/2306.04996)

Discussion