Establishing a New State-of-the-Art for French Named Entity Recognition

Pedro Javier Ortiz Suárez, Yoann Dupont, Benjamin Muller, Laurent Romary, Benoît Sagot

Abstract: Named Entity Recognition (NER) in French has historically lagged behind English due to data accessibility and alignment issues. This study introduces a modernized, Universal Dependencies (UD)-aligned version of the French TreeBank (FTB) and benchmarks it against contemporary neural architectures. By integrating the CamemBERT language model, the authors achieve a new state-of-the-art F1-score of 90.25, representing a significant 6.5-point leap over previous baselines.

Introduction

Named Entity Recognition is a fundamental task in NLP, yet French researchers have faced hurdles due to the nature of available corpora. Many datasets were either based on oral transcripts or distributed in formats incompatible with modern tokenization standards. The French TreeBank (FTB), while containing a high-quality annotation layer for named entities (FTB-NE), was previously difficult to integrate into deep-learning pipelines due to its raw XML structure.

Methods and Data Alignment

To address these issues, the researchers re-aligned the original FTB-NE annotations with the tokenized UD version of the FTB. This process involved mapping character offsets to token offsets and manually correcting discrepancies. The resulting dataset consists of 12,351 sentences from Le Monde, containing over 11,000 annotated mentions across five categories: Location, Company, Organization, Person, and Product.

The study benchmarked three primary architectures:

  1. SEM (Baseline): A traditional Linear-chain Conditional Random Field (CRF) tool.
  2. LSTM-seq2seq: A neural encoder-decoder model.
  3. LSTM-CRF: A standard sequence labeling architecture.

These models were evaluated using various word representations, including static FastText embeddings and contextual models like FrELMo and CamemBERT.

Key Results

The experimental results demonstrate the superiority of contextual embeddings. The best-performing configuration was an LSTM-CRF model utilizing FastText and CamemBERT (OSCAR-base), which reached an F1-score of 90.25. This marks a 40% reduction in error compared to the previous SEM baseline.

Performance comparison of various neural architectures and embeddings on the FTB-NE dataset.

Interestingly, while fine-tuning CamemBERT directly produced strong results (89.39 F1), using it as a feature-provider for an LSTM-CRF architecture proved slightly more effective.

Discussion and Insights

One of the most striking findings was the "Chronological Trap." The FTB is organized chronologically; standard splits place older articles in training and newer ones in testing. When the researchers randomized these splits (shuffling), F1-scores jumped from ~90 to ~95. This highlights the difficulty of NER in real-world scenarios where models must handle temporal shifts and emerging entities.

Impact of data shuffling on model performance across different splits.

Furthermore, the study found that "Base" versions of CamemBERT often outperformed "Large" versions on this specific dataset. This suggests that for medium-sized human-annotated corpora like FTB-NE, larger models may struggle with generalization or sparse information storage.

Conclusion

By providing a modernized dataset and leveraging state-of-the-art contextual embeddings, this work sets a new benchmark for French NER. Future research will explore domain adaptation to social media or legal texts and the potential of multitask learning to further refine entity extraction and linking.

Summary updated

BibTeX
@inproceedings{suarez2020establishing,
  author = {Pedro Javier Ortiz Suárez and Yoann Dupont and Benjamin Muller and Laurent Romary and Benoît Sagot},
  title = {{Establishing a New State-of-the-Art for French Named Entity Recognition}},
  booktitle = {LREC},
  year = {2020},
}
Figure