HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Frustratingly Easy Label Projection for Cross-lingual Transfer

Yang Chen; Chao Jiang; Alan Ritter; Wei Xu

Frustratingly Easy Label Projection for Cross-lingual Transfer

Abstract

Translating training data into many languages has emerged as a practical solution for improving cross-lingual transfer. For tasks that involve span-level annotations, such as information extraction or question answering, an additional label projection step is required to map annotated spans onto the translated texts. Recently, a few efforts have utilized a simple mark-then-translate method to jointly perform translation and projection by inserting special markers around the labeled spans in the original sentence. However, as far as we are aware, no empirical analysis has been conducted on how this approach compares to traditional annotation projection based on word alignment. In this paper, we present an extensive empirical study across 57 languages and three tasks (QA, NER, and Event Extraction) to evaluate the effectiveness and limitations of both methods, filling an important gap in the literature. Experimental results show that our optimized version of mark-then-translate, which we call EasyProject, is easily applied to many languages and works surprisingly well, outperforming the more complex word alignment-based methods. We analyze several key factors that affect the end-task performance, and show EasyProject works well because it can accurately preserve label span boundaries after translation. We will publicly release all our code and data.

Code Repositories

edchengg/easyproject
Official
pytorch
Mentioned in GitHub
edchengg/transfusion
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
cross-lingual-ner-on-masakhaner2-0EasyProject
Akan/Twi: 65.3
Bambara: 45.8
Chichewa: 75.3
Ewe: 78.5
Fon: 61.4
Hausa: 72.2
Igbo: 65.6
Kinyarwanda: 71.0
Kiswahili: 83.6
Luganda: 76.7
Luo: 50.2
Mossi: 53.1
Setswana: 74.0
Wolof: 58.9
Yoruba: 36.8
chiShona: 55.9
isiXhosa: 71.1
isiZulu: 73.0

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Frustratingly Easy Label Projection for Cross-lingual Transfer | Papers | HyperAI