Skip to main content
QUICK REVIEW

[Paper Review] Transformer-Based Named Entity Recognition for French Using Adversarial Adaptation to Similar Domain Corpora

Arjun Choudhry, Pankaj Gupta|arXiv (Cornell University)|Dec 5, 2022
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes a transformer-based named entity recognition (NER) framework for French that leverages adversarial adaptation to improve performance on low-resource NER tasks. By fine-tuning French language models on labeled source datasets and adapting them to large, unlabeled, similar-domain or mixed-domain corpora via adversarial training, the method achieves state-of-the-art results, with smaller models like CamemBERT-Wiki-4GB matching or outperforming larger models when adapted properly.

ABSTRACT

Named Entity Recognition (NER) involves the identification and classification of named entities in unstructured text into predefined classes. NER in languages with limited resources, like French, is still an open problem due to the lack of large, robust, labelled datasets. In this paper, we propose a transformer-based NER approach for French using adversarial adaptation to similar domain or general corpora for improved feature extraction and better generalization. We evaluate our approach on three labelled datasets and show that our adaptation framework outperforms the corresponding non-adaptive models for various combinations of transformer models, source datasets and target corpora.

Motivation & Objective

  • To address the challenge of limited labeled NER datasets in low-resource languages like French.
  • To improve generalization and reduce overfitting in French NER models through adversarial domain adaptation.
  • To evaluate whether smaller, domain-adapted language models can match or surpass larger pre-trained models in NER performance.
  • To investigate the impact of target corpus domain similarity on model generalization and performance.

Proposed method

  • The framework uses a domain discriminator to align features between labeled source data and unlabeled target corpora, encouraging domain-invariant representations.
  • Adversarial adaptation is applied via a total loss function combining NER classification loss and adversarial domain loss, with hyperparameter α=2 for optimal balance.
  • Three French language models—CamemBERT-base, CamemBERT-Wiki-4GB, and FlauBERT-base—are fine-tuned on labeled source datasets and adapted to unlabeled target corpora from similar or mixed domains.
  • The target corpora include WikiNER, WikiNeural, and Leipzig Mixed-French (Mixed-Fr), enabling evaluation across domain similarity levels.
  • NER tags are converted to IOB format for consistent sequence labeling across datasets.
  • The domain classifier is trained to distinguish between source and target domain features, while the feature extractor is trained to fool it, promoting invariant feature learning.

Experimental results

Research questions

  • RQ1Can adversarial adaptation to unlabeled, similar-domain corpora improve NER performance on low-resource French datasets?
  • RQ2Does adapting smaller, domain-specific language models (e.g., CamemBERT-Wiki-4GB) to large unlabeled corpora yield performance comparable to larger models like CamemBERT-base?
  • RQ3How does the domain similarity between source and target corpora affect model generalization and performance?
  • RQ4Does using a mixed-domain corpus as the target for adaptation lead to better performance than using a domain-mismatched corpus?

Key findings

  • Adversarial adaptation consistently improved F1 scores across all model and dataset combinations, outperforming non-adaptive baselines.
  • CamemBERT-Wiki-4GB adapted to the WikiNeural corpus achieved an F1 score of 0.969, surpassing the non-adapted CamemBERT-base model on the WikiNER dataset.
  • Models adapted to same-domain target corpora (e.g., WikiNER to WikiNeural) showed equal or slightly better performance than those adapted to mixed-domain corpora.
  • Adapting the Europeana dataset to the mixed-domain Mixed-Fr corpus yielded an F1 of 0.701, significantly outperforming adaptation to a different-domain corpus (F1=0.682).
  • The FlauBERT-base model achieved an F1 of 0.973 when adapted to Mixed-Fr from the WikiNeural source, demonstrating strong generalization on mixed-domain adaptation.
  • The proposed method enables smaller, efficient models to match or exceed the performance of larger models when properly adapted, reducing reliance on large-scale pretraining.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.