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

This paper presents a significant advancement in French Named Entity Recognition (NER) by modernizing the French TreeBank (FTB) and integrating state-of-the-art contextual language models. By aligning legacy entity annotations with the Universal Dependencies (UD) framework and employing an LSTM-CRF architecture enhanced with CamemBERT embeddings, the researchers achieved a record-breaking F1-score of 90.25. This result represents a 40% error reduction over previous baselines, establishing a new performance ceiling for the task.

Introduction

Named Entity Recognition (NER) is a fundamental task in Natural Language Processing (NLP), involving the identification and categorization of entities such as people, locations, and organizations. Despite its importance, French NER has historically lagged behind English benchmarks due to data accessibility issues and the slow adoption of modern Transformer-based models. The primary high-quality dataset, the French TreeBank (FTB), utilized a cumbersome XML format that was incompatible with modern "Universal Dependencies" (UD) standards, hindering its use in contemporary machine learning pipelines.

Methodology

The researchers addressed these challenges through a two-fold approach. First, they performed a rigorous character-level mapping to align the 2012 FTB entity annotations with the modern UD version. This process included manual error correction to resolve tokenization mismatches and XML artifacts, resulting in a standardized, "plug-and-play" dataset for the NLP community.

Second, they evaluated several neural architectures, primarily the LSTM-CRF (Long Short-Term Memory with Conditional Random Fields), a robust standard for sequence labeling. The core innovation involved benchmarking various French-specific contextual embeddings, including fastText, FrELMo, and several variants of CamemBERT. These variants were pre-trained on different corpora (OSCAR and CCNet) and utilized different masking strategies (Whole Word Masking vs. Subword Masking) to determine the optimal configuration for French NER.

Results

The experimental results established a new state-of-the-art for French NER. The best-performing model, an LSTM-CRF utilizing fastText and CamemBERT (OSCAR-Base-SWM), achieved an F1-score of 90.25. This marks a 6.55-point improvement over the previous best-published system (SEM), which relied on traditional CRFs.

Comprehensive performance comparison of various architectures and embedding combinations on the FTB-NE dataset.

Key Insights

A critical finding was the "Chronological Trap" inherent in the FTB. Because the dataset is organized chronologically, the standard test set contains the most recent articles, which often feature entities not seen during training. When the researchers shuffled the data to remove this constraint, performance scores increased by 4–5 points, highlighting the difficulty of real-world NER where entity names evolve over time.

Impact of data shuffling on model performance, demonstrating the 'chronological trap' inherent in the original FTB-NE split.

Furthermore, the study revealed that "Bigger isn't always better." The "Large" versions of CamemBERT occasionally underperformed compared to the "Base" versions. The authors hypothesize that because the FTB-NE is a relatively small dataset, the massive parameter count of "Large" models leads to sparse information distribution, making it harder for the model to converge on this specific task. However, the overall power of context was undeniable; adding CamemBERT provided a significantly larger boost than FrELMo or fastText alone.

Conclusion

By modernizing the FTB-NE dataset and leveraging powerful contextual embeddings, this research has significantly advanced the state of French NER. While limitations such as temporal bias in the 20-year-old source text remain, the work provides a new benchmark and a standardized dataset for future research. Future directions include exploring multitask learning—such as simultaneous POS tagging and NER—and better integration of entity linking information.

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