DrBenchmark: A Large Language Understanding Evaluation Benchmark for French Biomedical Domain
LREC-COLING 2024 · Torino, ItalyLREC-COLING 2024 · Turin, Italie
LREC-COLING 2024
A Large Language Understanding Evaluation Benchmark for French Biomedical Domain Un vaste benchmark d'évaluation de la compréhension du langage dans le domaine biomédical français
DrBenchmark is the first-ever publicly available French biomedical language understanding benchmark. It encompasses 20 diverse tasks, including named entity recognition, part-of-speech tagging, question answering, semantic textual similarity, and classification. DrBenchmark est le premier benchmark public d'évaluation de la compréhension du langage biomédical en français. Il rassemble 20 tâches variées, dont la reconnaissance d'entités nommées, l'étiquetage morphosyntaxique, les questions-réponses, la similarité textuelle sémantique et la classification.
Each dataset of the benchmark has its own page in the DrBenchmark organization on Hugging Face. Chaque jeu de données du benchmark dispose de sa propre page dans l'organisation DrBenchmark sur Hugging Face.
French biomedical, French general-domain, English biomedical and multilingual models. Each card links to the model page on Hugging Face. Des modèles français biomédicaux et généralistes, un modèle biomédical anglais et un modèle multilingue. Chaque carte renvoie vers la page du modèle sur Hugging Face.
Set up and run the benchmark on your own model. The example below runs it on a SLURM cluster (Jean Zay). Installez et lancez le benchmark sur votre propre modèle. L'exemple ci-dessous l'exécute sur un cluster SLURM (Jean Zay).
module purge
module load pytorch-gpu/py3/1.12.1
git clone https://github.com/DrBenchmark/DrBenchmark.git
cd DrBenchmark
pip install -r requirements.txt
echo "Dr-BERT/DrBERT-7GB" > ./models.txt
# If the node is offline (default)
python download_datasets_locally.py
python download_models_locally.py
nano run_all_jean_zay.sh # replace the account identifier, models and array size
sbatch run_all_jean_zay.sh
Our benchmark comprises 20 French biomedical language understanding tasks, one of which was created specifically for it. Their descriptions and statistics are presented below. Notre benchmark comprend 20 tâches de compréhension du langage biomédical en français, dont une a été créée spécialement pour lui. Leurs descriptions et statistiques sont présentées ci-dessous.
| DatasetJeu de données | Dataset · Jeu de données · TaskTâche | MetricMétrique | TrainEntraînement | Validation | Test | LicenseLicence |
|---|---|---|---|---|---|---|
| CAS | CASPOS taggingÉtiquetage POS | SeqEval F1 | 2653 | 379 | 758 | DUA |
| ESSAI | ESSAIPOS taggingÉtiquetage POS | SeqEval F1 | 5072 | 725 | 1450 | DUA |
| QUAERO | QUAERONER – EMEA | SeqEval F1 | 429 | 389 | 348 | GFDL 1.3 |
| QUAERONER – MEDLINE | SeqEval F1 | 833 | 832 | 833 | ||
| E3C | E3CNER – ClinicalNER – Clinique | SeqEval F1 | 969 | 140 | 293 | CC BY-NC |
| E3CNER – TemporalNER – Temporel | SeqEval F1 | 969 | 140 | 293 | ||
| MorFITT | MorFITTMulti-label classificationClassification multi-étiquette | Weighted F1F1 pondéré | 1514 | 1022 | 1088 | CC BY-SA 4.0 |
| FrenchMedMCQA | FrenchMedMCQAQuestion answeringQuestions-réponses | Hamming / EMR | 2171 | 312 | 622 | Apache 2.0 |
| FrenchMedMCQAMulti-class classificationClassification multi-classe | Weighted F1F1 pondéré | 2171 | 312 | 622 | ||
| Mantra-GSC | Mantra-GSCNER – EMEA | SeqEval F1 | 70 | 10 | 20 | CC BY 4.0 |
| Mantra-GSCNER – MEDLINE | SeqEval F1 | 70 | 10 | 20 | ||
| Mantra-GSCNER – PatentsNER – Brevets | SeqEval F1 | 35 | 5 | 10 | ||
| CLISTER | CLISTERSemantic textual similaritySimilarité textuelle sémantique | EDRM / Spearman | 499 | 101 | 400 | DUA |
| DEFT-2020 | DEFT-2020Semantic textual similaritySimilarité textuelle sémantique | EDRM / Spearman | 498 | 102 | 410 | DUA |
| DEFT-2020Multi-class classificationClassification multi-classe | Weighted F1F1 pondéré | 460 | 112 | 530 | ||
| DEFT-2021 | DEFT-2021Multi-label classificationClassification multi-étiquette | Weighted F1F1 pondéré | 118 | 49 | 108 | DUA |
| DEFT-2021NER | SeqEval F1 | 2153 | 793 | 1766 | ||
| DiaMed | DiaMedMulti-class classificationClassification multi-classe | Weighted F1F1 pondéré | 509 | 76 | 154 | CC BY-SA 4.0 |
| PxCorpus | PxCorpusNER | SeqEval F1 | 1386 | 198 | 397 | CC BY 4.0 |
| PxCorpusMulti-class classificationClassification multi-classe | Weighted F1F1 pondéré | 1386 | 198 | 397 |
All models are fine-tuned following a strict protocol, with the same hyperparameters for each downstream task. The reported results are averaged over four separate runs to ensure robustness and reliability. Tous les modèles sont affinés selon un protocole strict, avec les mêmes hyperparamètres pour chaque tâche. Les résultats présentés sont la moyenne de quatre exécutions distinctes, ce qui garantit leur robustesse et leur fiabilité.
| DatasetJeu de données | Dataset · Jeu de données · TaskTâche | BaselineRéférence | CamemBERT | CamemBERTa | FlauBERT | DrBERT-FS | DrBERT-CP | CamemBERT-bio | PubMedBERT | XLM-RoBERTa |
|---|---|---|---|---|---|---|---|---|---|---|
| CAS | CASPOS | 23.50 | 95.53 | 96.56 | 95.22 | 96.93 | 96.46 | 95.22 | 94.82 | 96.91 |
| ESSAI | ESSAIPOS | 26.31 | 97.38 | 98.08 | 97.05 | 98.41 | 98.01 | 97.39 | 97.42 | 98.34 |
| QUAERO | QUAERONER EMEA | 8.37 | 62.68 | 64.86 | 74.86 | 64.11 | 67.05 | 66.59 | 53.19 | 64.47 |
| QUAERO | QUAERONER MEDLINE | 4.92 | 55.25 | 55.60 | 48.98 | 55.82 | 60.10 | 58.94 | 53.26 | 51.12 |
| E3C | E3CNER ClinicalNER clinique | 4.47 | 54.70 | 55.53 | 47.61 | 54.45 | 56.55 | 56.96 | 38.34 | 52.87 |
| E3C | E3CNER TemporalNER temporel | 21.74 | 83.45 | 83.22 | 61.64 | 81.48 | 83.43 | 83.44 | 80.86 | 82.60 |
| MorFITT | MorFITTMulti-label CLSCLS multi-étiquette | 3.24 | 64.21 | 66.28 | 70.25 | 68.70 | 70.99 | 67.53 | 68.58 | 67.28 |
| FrenchMedMCQA | FrenchMedMCQAMCQA | 21.83 / 11.57 | 28.53 / 2.25 | 29.77 / 2.57 | 27.88 / 2.09 | 31.07 / 3.22 | 32.41 / 2.89 | 35.30 / 1.45 | 32.90 / 1.61 | 34.74 / 2.09 |
| FrenchMedMCQA | FrenchMedMCQACLS | 8.37 | 66.21 | 64.44 | 61.88 | 65.38 | 66.22 | 65.79 | 65.41 | 64.69 |
| Mantra-GSC | Mantra-GSCNER FR EMEA | 0.00 | 29.14 | 40.84 | 66.20 | 66.23 | 60.88 | 30.63 | 40.14 | 52.64 |
| Mantra-GSC | Mantra-GSCNER FR MEDLINE | 7.78 | 23.20 | 22.55 | 20.69 | 42.38 | 35.52 | 23.66 | 27.53 | 18.73 |
| Mantra-GSC | Mantra-GSCNER FR PatentsNER FR brevets | 6.20 | 0.00 | 44.16 | 31.47 | 57.34 | 39.68 | 0.00 | 4.51 | 8.58 |
| CLISTER | CLISTERSTS | 0.44 / 0.00 | 0.55 / 0.33 | 0.56 / 0.47 | 0.50 / 0.29 | 0.62 / 0.57 | 0.60 / 0.49 | 0.54 / 0.26 | 0.70 / 0.78 | 0.49 / 0.23 |
| DEFT-2020 | DEFT-2020STS | 0.49 / 0.00 | 0.59 / 0.58 | 0.59 / 0.43 | 0.58 / 0.51 | 0.72 / 0.81 | 0.73 / 0.86 | 0.58 / 0.32 | 0.78 / 0.86 | 0.60 / 0.26 |
| DEFT-2020 | DEFT-2020CLS | 14.00 | 96.31 | 97.96 | 42.37 | 82.38 | 95.71 | 94.78 | 95.33 | 67.66 |
| DEFT-2021 | DEFT-2021Multi-label CLSCLS multi-étiquette | 24.49 | 18.04 | 18.04 | 39.21 | 34.15 | 30.04 | 17.82 | 25.53 | 24.46 |
| DEFT-2021 | DEFT-2021NER | 0.00 | 62.76 | 62.61 | 33.51 | 60.44 | 63.43 | 64.36 | 60.27 | 60.32 |
| DiaMed | DiaMedCLS | 15.36 | 30.40 | 24.05 | 34.08 | 60.45 | 54.43 | 39.57 | 54.96 | 26.69 |
| PxCorpus | PxCorpusNER | 10.00 | 92.89 | 95.05 | 47.57 | 95.88 | 71.38 | 93.08 | 94.66 | 95.80 |
| PxCorpus | PxCorpusCLS | 84.78 | 94.41 | 93.95 | 93.45 | 94.43 | 94.52 | 94.49 | 93.12 | 93.91 |
Best score per task in bold. For MCQA and STS, two metrics are reported (see the abbreviations above). Click a column header to sort the table, and use the buttons above it to filter by task type. Meilleur score par tâche en gras. Pour MCQA et STS, deux métriques sont indiquées (voir les sigles ci-dessus). Cliquez sur un en-tête de colonne pour trier le tableau et utilisez les boutons au-dessus pour filtrer par type de tâche.
LREC-COLING 2024 · Torino, ItalyLREC-COLING 2024 · Turin, Italie
If you use DrBenchmark in your work, please cite our paper: Si vous utilisez DrBenchmark dans vos travaux, merci de citer notre article :
@inproceedings{labrak:hal-04470938,
TITLE = {{DrBenchmark: A Large Language Understanding Evaluation Benchmark for French Biomedical Domain}},
AUTHOR = {Labrak, Yanis and Bazoge, Adrien and El Khettari, Oumaima and Rouvier, Mickael and Constant Dit Beaufils, Pac{\^o}me and Grabar, Natalia and Daille, B{\'e}atrice and Quiniou, Solen and Morin, Emmanuel and Gourraud, Pierre-antoine and Dufour, Richard},
BOOKTITLE = {{Fourteenth Language Resources and Evaluation Conference (LREC-COLING 2024)}},
ADDRESS = {Torino, Italy},
YEAR = {2024},
}
The DrBenchmark code is released under the MIT license and the DrBERT models under the Apache 2.0 license. Each dataset keeps the license of its original source (see the overview table above). Le code de DrBenchmark est distribué sous licence MIT et les modèles DrBERT sous licence Apache 2.0. Chaque jeu de données conserve la licence de sa source d'origine (voir le tableau de présentation ci-dessus).