NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multilingual Relation Classification via Efficient and Effective Prompting

Yuxuan Chen, David Harbecke, Leonhard HennigEMNLP 2022

Abstract

Relation Classification (RC) is a fundamental task in information extraction that identifies semantic relationships between entities. However, its expansion to multilingual contexts is often hindered by a lack of labeled data. This paper introduces a novel prompt-based approach for multilingual RC using the mT5 model. By reformulating RC as a "fill-in-the-blank" task and employing simple templates with translated relation labels, the proposed method achieves state-of-the-art performance across 14 languages. The approach is particularly effective in low-resource and few-shot scenarios, significantly outperforming traditional fine-tuning methods.

Introduction: The Multilingual Data Bottleneck

Relation Classification (RC) involves identifying the semantic relationship between two entities within a sentence—for instance, recognizing that "Steve Jobs" founded "Apple." While English-centric RC has advanced rapidly, multilingual RC remains challenging due to the scarcity of labeled datasets for most of the world's languages. This "data bottleneck" makes traditional fine-tuning difficult for the vast majority of languages.

Prompting, which reformulates tasks into natural language queries for pre-trained language models, has emerged as a powerful technique for low-data regimes. However, its application to multilingual RC has traditionally been hindered by the high cost of manually crafting and translating complex prompts for every target language. This research addresses this efficiency gap by proposing a streamlined prompting pipeline that minimizes manual effort while maximizing performance.

Methodology

The authors utilize mT5, a massively multilingual encoder-decoder model, as the backbone for their prompting pipeline. The core of the approach lies in its simplicity.

The Prompting Pipeline

Instead of complex instructions, the method uses a minimalist template: [Sentence]. [Entity 1] ____ [Entity 2]. For example, a German input might be: "Goethe schrieb Faust. Faust ____ Goethe." The model is then tasked with predicting the word that best fills the blank.

Overview of the multilingual prompting pipeline for relation classification.

Prompting Strategies

Three main strategies were evaluated to determine the most effective way to handle multiple languages:

  1. Code-switch (CS): Uses English relation labels (verbalizers) regardless of the input sentence's language.
  2. In-language (IL): Translates only the relation labels into the target language, aligning the model's output with the input context.
  3. Soft Prompts (SP): Incorporates learnable "virtual tokens" that are optimized during training to guide the model.

Additionally, the researchers accounted for linguistic diversity by adjusting the template's word order for Subject-Object-Verb (SOV) languages like Farsi, where placing the blank after both entities proved crucial for performance.

Datasets and Language Categorization

The study utilizes the SMiLER dataset, the largest multilingual RC benchmark, encompassing 1.1 million annotations across 14 languages. To analyze performance across different data availability levels, the languages were grouped into four categories: English (EN), High-resource (H), Medium-resource (M), and Low-resource (L).

Key Insights

  • Minimalist Templates are Sufficient: The model effectively learns the task from a simple "Entity A [blank] Entity B" structure without needing elaborate instructions.
  • Zero-Shot "Language of Thought": In zero-shot settings (no training data), prompting in English often yields the best results even for non-English sentences, suggesting the model's internal reasoning for RC is most developed in English.
  • In-Language Superiority with Data: When even minimal training data is available, In-language (IL) prompting becomes the dominant strategy. Translating labels allows the model to leverage language-specific nuances.
  • Structural Alignment: For SOV languages, matching the template to the language's natural word order resulted in a massive 54.5% F1 gain in zero-shot settings compared to standard SVO templates.

Experimental Results

The prompting approach demonstrates clear superiority over traditional fine-tuning methods, particularly when data is scarce.

Supervised and Low-Resource Performance

In fully supervised settings, the In-language (IL) method achieved a macro-average F1 of 85.0, significantly higher than the XLM-R fine-tuning baseline of 68.2. The performance gap was most pronounced in the "Low" resource group (Swedish and Ukrainian), where prompting maintained a 65.2 F1 while fine-tuning dropped to near zero (3.7 F1).

Few-Shot and Zero-Shot Transfer

The prompting method excels in few-shot scenarios. As shown in the results table, it consistently outperforms the XLM-R baseline across 8, 16, and 32-shot experiments.

Few-shot performance (F1) comparison between standard fine-tuning (XLM-R) and various prompting strategies across language resource groups.

Furthermore, models trained on English data showed impressive zero-shot cross-lingual transfer, often matching the performance of models trained directly on the target language.

Limitations and Conclusion

Despite its success, the approach has limitations. The SMiLER dataset may be relatively homogeneous, and the method's effectiveness depends on descriptive relation labels. Future work should expand to even lower-resource languages and more complex label sets.

In conclusion, this work establishes prompting as a highly effective and efficient paradigm for multilingual Relation Classification. By reducing the need for extensive manual translation and labeled data, it opens doors for robust information extraction across a wider array of global languages.

Summary updated

BibTeX
@inproceedings{chen2022multilingual,
  author = {Yuxuan Chen and David Harbecke and Leonhard Hennig},
  title = {{Multilingual Relation Classification via Efficient and Effective Prompting}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.69},
}
Figure