How Good are LLMs at Relation Extraction under Low-Resource Scenario? Comprehensive Evaluation

Dawulie Jinensibieke, Mieradilijiang Maimaiti, Wentao Xiao, Yuanhang Zheng, Xiaobo WangarXiv 2024

TL;DR

This paper addresses the severe scarcity of relation extraction (RE) data for low-resource languages (LRLs) by developing a translation-and-filtering pipeline to generate datasets for 10 LRLs across Central Asia, Southeast Asia, and the Middle East. By evaluating five prominent open-source 7B Large Language Models (LLMs) on these new benchmarks, the authors demonstrate that while LLMs generally struggle with low-resource RE, models like LLaMA and Falcon show superior adaptability, particularly when trained on data generated via multi-stage translation chaining.

What Problem Does This Paper Address?

Relation Extraction (RE) is a core task in Natural Language Processing (NLP) that involves identifying semantic relationships between entities in text (e.g., determining that "Cook" is the "CEO" of "Apple Inc."). It is foundational for building Knowledge Graphs and powering downstream applications like question-answering systems.

While modern deep learning models and LLMs excel at RE in high-resource languages like English, their performance plummets when applied to Low-Resource Languages (LRLs). This drop-off is primarily due to data scarcity: there simply aren't enough labeled RE datasets or pre-training corpora available for these languages. The authors tackle this bottleneck by creating reliable RE benchmarks for 10 LRLs and evaluating how well current open-source LLMs handle them.

Methods

The authors propose a automated pipeline to construct LRL RE datasets from existing English corpora, visualized below:

Figure 1: The construction process of a low-resource language (LRL) relation extraction (RE) dataset based on a high-resource language (HRL) RE dataset.
  1. Translation: They use the NLLB (No Language Left Behind) multilingual machine translation model to translate both the context sentences and the target entities into the target LRLs.
  2. Two Translation Pathways: They experiment with two approaches:
  3. Path 1: Direct translation from English to the target LRL.
  4. Path 2 (Translation Chaining): Translating from English to an intermediate high-resource language (Chinese) before translating into the final LRL (tested specifically for Uyghur and Kazakh).
  5. Perplexity Filtering: Machine translation often introduces noise or unnatural phrasing. To counter this, the authors use multilingual BERT to calculate the language perplexity (PPL) of the translated text, filtering out low-quality samples that exceed a strict threshold ($\tau = 20$).
  6. LLM Evaluation: They fine-tune and evaluate five open-source ~7B parameter LLMs (LLaMA, Falcon, BLOOMZ, Qwen, and OLMo) on the refined datasets using the F1 score metric.

Datasets

The LRL datasets were derived from three widely used English RE benchmarks: NYT10, FewRel, and CrossRE.

These were translated into 10 distinct low-resource languages spanning three geographic regions:

  • Central Asia: Uyghur (Ug), Kazakh (Kz), Kyrgyz (Ky), Tajik (Tg), Turkmen (Tk), and Uzbek (Uz).
  • Southeast Asia: Filipino (Fil) and Indonesian (Id).
  • Middle East: Farsi (Fa) and Hebrew (He).

The raw translation process yielded roughly 705k samples per language, which the perplexity filter aggressively distilled down to approximately 317k high-quality samples per language.

Key Insights and Ideas

  • The Power of Translation Chaining: Counterintuitively, introducing an intermediate language (Path 2: English $\rightarrow$ Chinese $\rightarrow$ LRL) resulted in lower perplexity scores and substantially higher data fluency than direct translation (Path 1) for languages like Kazakh.
Figure 3: The perplexity (PPL) value of the Kazakh RE dataset constructed using two distinct pathways.
  • Aggressive Quality Filtering is Essential: The perplexity filter rejected roughly 55% of the translated data. However, this massive reduction drastically improved the cleanliness of the dataset, proving that data quality matters far more than raw volume when adapting models to low-resource settings.
  • Pre-training Robustness Carries Over: LLaMA and Falcon consistently outperformed the other models. This suggests that the diverse and robust pre-training regimes of these specific models give them a distinct advantage in adapting to the structural nuances of low-resource languages, even when the absolute volume of LRL data in their pre-training mix was minimal.

Key Results

The quantitative evaluation highlighted a stark contrast in model capabilities across the generated datasets:

F1 scores of different LLMs across LRL RE datasets
  • Top Performers: LLaMA achieved the highest overall performance with an average F1 score of 18.7, closely followed by Falcon at 14.3. In contrast, BLOOMZ struggled significantly, averaging an F1 score of just 3.6.
  • Path 2 Breakthrough: The datasets generated via translation chaining (Ug-p2 and Kz-p2) saw massive performance spikes. For instance, LLaMA's F1 score jumped from 11.2 on the directly translated Kazakh dataset (Kz) to an impressive 78.6 on the chained Kazakh dataset (Kz-p2).
  • Perplexity Reduction: The filtering mechanism successfully reduced text perplexity across the board. For example, Farsi (Fa) unfiltered data had a high perplexity of 37.05, which dropped to 17.41 post-filtering.

Limitations and Future Work

The primary limitation of this methodology is its heavy reliance on the initial machine translation model. If the translation engine misaligns or incorrectly translates entities within the text, the errors propagate downstream, leading to flawed training instances that the perplexity filter might not catch.

Future work will likely focus on refining entity-alignment techniques during translation and exploring how larger parameter models (e.g., 13B or 70B variants) scale when handling these low-resource benchmarks.

Summary updated

BibTeX
@misc{jinensibieke2024how,
  author = {Dawulie Jinensibieke and Mieradilijiang Maimaiti and Wentao Xiao and Yuanhang Zheng and Xiaobo Wang},
  title = {{How Good are LLMs at Relation Extraction under Low-Resource Scenario? Comprehensive Evaluation}},
  year = {2024},
  eprint = {2406.11162},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.11162},
}
Figure