[Paper Review] FlauBERT: Unsupervised Language Model Pre-training for French
FlauBERT is a monolingual French Transformer language model pretrained on a large diverse French corpus, achieving state-of-the-art results on multiple French NLP tasks and released with FLUE benchmark for reproducible evaluation.
Language models have become a key step to achieve state-of-the art results in many different Natural Language Processing (NLP) tasks. Leveraging the huge amount of unlabeled texts nowadays available, they provide an efficient way to pre-train continuous word representations that can be fine-tuned for a downstream task, along with their contextualization at the sentence level. This has been widely demonstrated for English using contextualized representations (Dai and Le, 2015; Peters et al., 2018; Howard and Ruder, 2018; Radford et al., 2018; Devlin et al., 2019; Yang et al., 2019b). In this paper, we introduce and share FlauBERT, a model learned on a very large and heterogeneous French corpus. Models of different sizes are trained using the new CNRS (French National Centre for Scientific Research) Jean Zay supercomputer. We apply our French language models to diverse NLP tasks (text classification, paraphrasing, natural language inference, parsing, word sense disambiguation) and show that most of the time they outperform other pre-training approaches. Different versions of FlauBERT as well as a unified evaluation protocol for the downstream tasks, called FLUE (French Language Understanding Evaluation), are shared to the research community for further reproducible experiments in French NLP.
Motivation & Objective
- Motivate improved French NLP by leveraging large unlabeled French text for contextual representations.
- Develop monolingual French BERT-style models to outperform multilingual models on diverse tasks.
- Provide a reproducible pipeline and a French NLP evaluation benchmark (FLUE).
- Release multiple FlauBERT versions and compare them against CamemBERT and mBERT across tasks.
Proposed method
- Pre-train two FlauBERT variants (base and large) using MLM objective (no NSP) on a 71 GB French corpus compiled from 24 sub-corpora.
- Use a 50K BPE vocabulary with Byte Pair Encoding and a basic French tokenizer before BPE.
- Adopt pre-norm Transformer and stochastic depths to stabilize training for the large model.
- Train on substantial GPU resources (32 GPUs for base, 128 GPUs for large) with carefully tuned learning rates, warmup, and Adam optimization.
- Compare FlauBERT to mBERT, CamemBERT, and XLM-R across a suite of French NLP tasks.
- Provide preprocessing and training scripts and a unified FLUE benchmark for reproducible French NLP evaluation.
Experimental results
Research questions
- RQ1Can a monolingual French Transformer model trained on a large heterogeneous French corpus outperform multilingual models on French NLP tasks?
- RQ2What is the impact of model size (base vs large) on performance across diverse French NLP tasks?
- RQ3Does a monolingual French model achieve state-of-the-art results on a comprehensive French evaluation suite (FLUE) compared to existing French and multilingual models?
Key findings
- FlauBERT outperforms multilingual models like mBERT on several French NLP tasks.
- The large FlauBERT model generally yields the best results across tasks compared to the base model and rivals CamemBERT in several settings.
- On parsing tasks, FlauBERT-based systems achieve strong performance, with ensemble setups offering further gains.
- FlauBERT achieves competitive or superior results to CamemBERT on multiple tasks, despite being trained on less data in some configurations.
- A unified FLUE benchmark is released to facilitate reproducible evaluation of French NLP systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.