A Benchmark Evaluation of Clinical Named Entity Recognition in French
Paper · 2024 · Nesrine Bannour, Christophe Servan, Aurélie Névéol et al.
Summary
Clinical texts contain details that researchers may need to find across many documents, from references to medical devices to descriptions of procedures. Turning those details into usable data begins with locating and labeling the relevant phrases. In a phrase about contraception with intrauterine devices, for instance, the reference to the devices belongs inside a longer description of a procedure, and part of the device name refers to an anatomical site. A system that marks only the longest phrase leaves some of that information behind. Bannour and colleagues compare ways to recover overlapping mentions like these in French using named entity recognition.
The authors use public annotations from DEFT, the French portion of E3C, and the QUAERO French Med corpus. They evaluate QUAERO’s patient leaflets and scientific article titles separately. Their experimental systems use the same extraction framework with different pretrained text encoders, including encoders developed for biomedical French, general French encoders, and multilingual BERT. A dictionary built from annotated examples provides a benchmark for what straightforward text matching can recover. The evaluation counts complete entity mentions and accommodates nesting. It also estimates the carbon emissions associated with training and testing the recognition systems.
CamemBERT-bio has a higher test F-measure than DrBERT on every evaluated collection. Among the systems the authors train, CamemBERT-bio leads on the DEFT test set with 0.76 and on the EMEA leaflet test set with 0.69. It shares the highest score of 0.68 with the general French encoder FlauBERT on the MEDLINE title test set. FlauBERT leads on the French E3C test set with 0.54. A previously published knowledge-based system still has the highest reported F-measure on both QUAERO collections. The paper’s own dictionary baseline can be precise on those collections, but it recovers far fewer of the annotated mentions than the strongest trained systems.
The compact frALBERT encoder has the lowest estimated carbon emissions on every collection, and its extraction scores stay above those of the dictionary baseline. Its standing among the trained systems depends on the corpus. It shares the same reported E3C F-measure as CamemBERT-bio, while the gap is more pronounced on MEDLINE. Together, the results give a way to assess whether a biomedical encoder helps with complete, sometimes overlapping mentions, and to weigh its extraction performance against the estimated emissions of a particular experiment.
Deep dive: A Benchmark Evaluation of Clinical Named Entity Recognition in French
A benchmark of French clinical named entity recognition compares how well systems recover nested mentions and estimates their carbon cost. · about 31 minutes to read
The problem and its context
Why the unit of extraction matters
Clinical data warehouses in French hospitals have made more narrative material available for secondary use. The paper connects this change to a practical problem in epidemiology. A report can describe information relevant to a study in ordinary clinical language, and obtaining that information across a collection requires a way to identify it in the text. The authors point out that many indicators of interest can be represented as textual entities. Recognizing those entities gives researchers a way to convert part of a narrative into structured observations for further work.
Here, an entity is a mention anchored to a stretch of text and assigned a category. The category could describe a procedure, a device, or an anatomical term. Where the mention begins and ends matters alongside its category. Labeling the general subject of a document would furnish a different kind of information. A recognition system has to return the particular words that refer to the thing of interest, and it may have to do so repeatedly within a document. This is the part of information extraction that the benchmark measures.
The same part of a sentence can take part in more than one mention. The authors illustrate this with a MEDLINE title about contraception that uses intrauterine devices. The full expression receives the procedure label. Within it, the word for contraception has a procedure annotation of its own, and the phrase naming the devices has a device annotation. The adjective referring to the uterus is marked as anatomy within the device phrase. An extract that includes the procedure and device can therefore be closer to what the annotators recorded than one that includes the broader procedure alone, even though both give a reader some idea of the title’s subject.
Nesting changes what constitutes a useful evaluation. If the task is to recover all the mentions, the score must count a shorter mention even when its words already appear inside a correctly identified longer one. Conversely, a system can identify a meaningful word within a phrase while still missing the phrase’s full boundary. The paper treats the full set of marked spans and categories as the target. That decision preserves distinctions the corpus developers considered worth recording.
Why existing scores were hard to compare
The authors place the work in a history of shared tasks that invited participants to solve the same extraction problem with common annotated data. They describe earlier clinical challenges for English and then work involving other languages, including French. The resulting collections remained useful after the challenges because researchers could return to them when testing new methods. The difficulty is that continued reuse can make a corpus name look like a guarantee of experimental comparability. A study may retain the name while changing the annotations it evaluates, the assignment of documents to splits, or the unit on which it computes a score.
The paper describes concrete examples involving QUAERO French Med. Touchent and colleagues retained the coarser mentions for their token classification setup, leaving out the nested entities. Labrak and colleagues encoded cases involving nesting by combining entity labels and then scored at the token level. A token is one of the pieces into which a system divides its input text. Correctly classifying many pieces of a mention and returning the whole mention with the expected category are distinct achievements. An evaluation designed around either one can answer a legitimate question, but the scores depend on which achievement counts.
There is also a difference between measuring the behavior of a token classifier and evaluating an extraction system assembled for the downstream task. In the benchmark, pretrained representations supply information to a system that predicts complete spans. Its outputs can be compared with all the target annotations, including nested ones. The resulting score is evidence about how well the full extraction setup works with a particular encoder. Prior token-level evaluations answer questions about the arrangements those authors chose for their systems.
The E3C comparison illustrates how the training material can change even when the evaluation uses the same gold annotation layer. The paper describes an earlier CamemBERT-bio experiment that trained a recognizer using E3C’s semi-annotated material. Bannour and colleagues train the recognizer on the gold material. The distinction affects what examples are available during training and how they were labeled. A reader comparing scores needs to know where that supervision came from as well as what the researchers evaluated at the end.
Why compare biomedical and general encoders
A masked language model learns from text by predicting words or pieces of words hidden from the input. Its learned representations can give a recognizer contextual information about a word and the words around it. In the setting described by the authors, this makes it possible to start with representations learned from a large collection of text and then train a separate extractor using a smaller collection with clinical annotations. Pretraining on general French and pretraining on biomedical French give the extractor different starting points. Both use the same broad idea of learning from text before training on the target labels. This is the role of language models and pretraining in the benchmark.
Biomedical pretraining is a plausible advantage because the downstream material includes specialized expressions and characteristic ways of using them. The paper notes that earlier experiments with biomedical French encoders had already suggested advantages over their general French counterparts. The authors wanted to establish how far those results held up when they used a common extraction setup and scored against complete gold annotations. They also considered variation within biomedical pretraining. One available encoder began with an established general French checkpoint and continued training on biomedical text. The other began its training from scratch on a medical collection.
The general encoders give the comparison several useful reference points. A French encoder from the same family as a biomedical adaptation lets readers see what changes when the downstream framework uses the adapted version. Other French encoders establish how strong a general-purpose alternative can be. A multilingual encoder tests whether a system with representations learned across languages can remain competitive on French clinical text. The compact French encoder makes the estimated emissions comparison more informative because the designs vary in size as well as in their pretraining material.
Finally, the paper places a basic symbolic matcher alongside the trained extractors and retains previously published results where available. The symbolic matcher tests how far examples already seen in the annotated corpus can carry a system. Older published approaches give a view of performance beyond the encoders selected for this study. Together these comparisons let readers distinguish gains over straightforward name matching from gains over a stronger prior approach.
The method, step by step
Start with annotated spans
The authors begin with texts whose entity mentions have already been marked. Each annotation identifies part of a document and gives it a type. The corpora use the standoff format supported by the brat annotation tool. In this format, annotations are stored separately from the text and point back to the relevant positions. The same stretch of text can therefore belong to a longer span and a shorter one without either annotation occupying the other’s place in the text. For a benchmark that preserves overlap, the ability to represent both spans is important from the first step.
The format and the labeling scheme serve different purposes. A common format gives the extraction framework a consistent way to read the references. The labeling scheme determines what the references mean in a given collection. A training example teaches the system which categories the corpus developers assigned and how they drew the boundaries. DEFT, the French E3C subset, and QUAERO each bring their own annotation scheme to that process. The authors train and test within the collections, so a test result concerns the labels defined for that collection.
The nest levels describe how spans sit inside one another. In the MEDLINE example, the large procedure mention occupies the outer level. The shorter procedure and the device appear a level further in, and the anatomical term is inside the device span. The two mentions inside the overall procedure convey different information even though they are grouped at the same depth. As a result, a count by layer describes the shape of the annotations, while recognition requires recovering the individual spans and their types.
Training and evaluating the clinical entity extractors
The steps in order.
Prepare the collections for training and testing
DEFT is drawn from the CAS corpus and was introduced through the DEFT challenge in 2020. The study uses its split into 85 training documents, 20 validation documents, and 62 test documents. DEFT recognizes five attributes and differentiates among 13 kinds of clinical entities. The benchmark reports the recognition of entity mentions. The presence of attributes in the corpus description gives context about the original resource, while the evaluation described here concerns locating entities and identifying their types.
The French part of E3C comes from a European collection of clinical cases. The French subcorpus comprises 1,615 cases collected from publicly available material. The authors use the gold annotations supplied in E3C’s first annotation layer and reserve 20% of the training set for validation. E3C uses its annotation layers to distinguish resources with different kinds of annotation or supervision. The paper also uses layers to describe the depth of overlapping entity spans. Its description of E3C’s first gold layer is a statement about which supervision the authors selected, while its nesting statistics describe the arrangement of mentions within the material used in the study.
E3C’s original scheme has 6 clinical entity types. One label, CLINENTITY, covers a broad group of mentions. The authors subdivide it to obtain an inventory closer in variety to the inventories of the other corpora. Each CLINENTITY mention has a Concept Unique Identifier from the Unified Medical Language System, or UMLS. The identifier points to a concept from which a semantic group can be retrieved. The authors use those groups to supply more specific categories. This preparation affects what the recognizer has to learn and what counts as the correct type at test time. A match on the text span alone would leave the finer classification unresolved.
QUAERO French Med provides different kinds of source text under a shared scheme of 10 entity types derived from UMLS semantic groups. The European Medicines Agency supplied the 13 patient information leaflets that make up EMEA. The leaflets describe drugs marketed in Europe. MEDLINE consists of 2,500 titles of indexed scientific articles. The authors preserve the distinction between those genres in the experimental setup. Each has its own training and test material, so the resulting estimates and scores describe recognition in leaflets or titles separately.
These collection choices matter before any system is trained. An example in the training material supplies evidence about the kinds of expressions that receive an annotation and where the boundaries are placed. Validation provides a separate source of examples during development. The test material gives the reference against which the completed recognizer is scored. Using the released annotations keeps that final target tied to the original datasets. E3C’s category refinement and validation split are additional decisions to keep in view when comparing its results with other studies.
Put each encoder into the same extractor
The paper uses NLstruct, a Python library that can work with nested spans and annotations in brat’s format. The system extracts information using three components that encode text, tag words, and match boundaries. The encoder supplies representations of the input. The tagger attaches predictions to word positions, and the boundary component lets the system produce spans. These roles explain why the system can output both a large entity and a shorter one contained in it. A word’s position can contribute to more than one resulting span.
The encoder combines information from different representations. The pretrained contextual component provides representations that can vary with the surrounding text. A character-level convolutional encoder supplies information derived from the sequence of characters. The system also uses static French FastText representations, which give the recognizer another source of information about words. The experiment changes the contextual encoder within this larger design. The reported extraction performance belongs to the combined system, whose other sources of textual information remain part of the experiment.
This division is particularly important when interpreting an encoder comparison. CamemBERT-bio supplies contextual representations for a recognizer trained on the entity labels. For a predicted procedure to count, the extractor still needs to choose the expected beginning, end, and category. The same applies to each device or anatomy mention inside it. Pretraining gives the extractor information about text. Training the downstream system connects that information to the categories and span conventions in the reference data.
The pretrained checkpoints were available through Hugging Face’s Transformers library. The authors report that some required adaptation at the tokenization step to work within NLstruct, particularly frALBERT and FlauBERT. Tokenization divides text into the pieces accepted by the encoder. At the same time, the extraction system needs to connect its predictions back to positions in the original text. The paper mentions the adaptation and identifies the code for the NLstruct setup. Its account of this step stays at the level of the integration required for the benchmark. Transformers
Choose the pretrained representations
For general French, the study uses the base checkpoint of CamemBERT. Its architecture is based on RoBERTa, and its pretraining corpus is the French part of OSCAR. The benchmark also uses the base uncased checkpoint of FlauBERT. That encoder is based on BERT and was pretrained on a French collection assembled from several sources. The uncased variant is the specific version tested here. The reported score therefore identifies that checkpoint within the family. CamemBERT · RoBERTa · FlauBERT · BERT
The remaining general-purpose choices test two other possibilities. The compact frALBERT base checkpoint is based on ALBERT and was pretrained on 4GB of French Wikipedia. Its inclusion lets the authors examine the extraction scores and estimated emissions of a compact encoder in the same framework. The multilingual choice, mBERT, is the base uncased multilingual BERT checkpoint. Its pretraining drew on Wikipedia in the 102 languages with the largest editions, including French. The comparison thus includes a multilingual starting point whose training material also contains French.
The authors select CamemBERT-bio and DrBERT as their biomedical encoders. CamemBERT-bio keeps the base CamemBERT checkpoint as its starting point and undergoes additional pretraining on a French biomedical collection. That collection draws on ISTEX, CLEAR, and E3C’s third, unannotated layer. In the downstream benchmark, the French E3C target annotations come from the first gold layer. These are separate stages with different uses for the text. One supplies material for learning contextual representations, and the other supplies the span and category examples used in the extraction experiment.
DrBERT uses a RoBERTa-based design and was trained from scratch on a medical corpus collected from the web. The version selected is DrBERT-4GB. Its contrast with CamemBERT-bio therefore includes the starting checkpoint and the biomedical materials used in pretraining. The benchmark can measure which resulting representation better supports extraction in NLstruct. The training histories also help define the scope of that comparison, since each checkpoint comes with its own combination of choices.
Establish what a dictionary can recover
The authors build the symbolic baseline from entities already marked in a corpus’s training and development splits. The resulting dictionary provides examples that the system matches against the test text. They implement this using brat’s annotation propagation tool and use brateval to calculate the baseline scores. The matcher tests the contribution of previously seen entity expressions using the available labeled text.
The baseline has a straightforward route to success. If an expression annotated during development appears in the test material and the transferred type and span agree with the reference, the system can receive credit without learning a contextual representation. Its coverage depends on what the development material contains and what the matching procedure can find. The same dependence can lead to missed mentions where test material uses different wording. Propagating a known string can also yield an incorrect annotation if its use in context differs from the development examples associated with it.
A high dictionary precision is therefore compatible with low recall. It can make relatively few predictions and get a large share of those predictions right. The trained extractor can gain by recognizing more mentions, provided enough of the additional spans and categories match the reference. The distinction is especially important on the QUAERO collections, where the paper finds that the dictionary produces some of the highest precision values even though its F-measure is substantially below that of the top extractors.
Count complete mentions and estimate emissions
The paper uses entity-level micro precision, recall, and F-measure. To calculate precision, divide the number of predicted mentions that agree with the reference by the total number of predicted mentions. Recall is the share of reference mentions recovered by the system. In each case, the match is evaluated at the level of an entity, so a prediction needs the appropriate span and type. F-measure combines precision and recall through their harmonic mean. It declines when one of the two measures is low, even when the other is strong. The paper specifies these measures in prose.
Micro averaging pools the mentions for the calculation. This makes the aggregate sensitive to how common each entity type is. Frequent types account for more of the decisions contributing to the final score. For a nested example, the complete procedure, the shorter procedure within it, the device, and the anatomical term each supply an annotation to recover. Recovering the outer span contributes a correct prediction for that mention, while the rest still contribute to the recall calculation.
To show how sensitive the scores are to variation in the test data, the authors report empirical bootstrap intervals at a 95% confidence level. They resample each test corpus with replacement 1,000 times and compute the metrics for every sample. Sampling with replacement means that a resample may include an item repeatedly while leaving out another item from the original set. Repeating the calculation gives a distribution of scores under this resampling procedure. These intervals accompany the trained systems’ point estimates and describe uncertainty associated with the test material.
The authors record an additional measurement using Carbontracker. They estimate the emissions associated with training and testing the recognition systems and express the result in grams of carbon dioxide equivalent. The calculation uses an average carbon intensity of 58.48 grams of carbon dioxide per kilowatt-hour for the authors’ location in France. Attaching that estimate to each extraction experiment allows comparisons on the same set of workloads. The paper discusses the cost of creating pretrained checkpoints separately, since that work is outside the training-and-testing runs summarized in the benchmark.
Experiments and results
What the test collections contain
The corpus statistics show why a result on one collection gives an incomplete picture of the task. DEFT has 31,752 training tokens and 7,584 training entity annotations. Its test set contains 20,360 tokens and 5,140 annotations. The French E3C experiment has 19,808 training tokens and 3,406 training annotations, with 4,671 tokens and 706 annotations in the test set. The overall size of the French E3C resource and the size of the gold material used for this recognition experiment describe different things. The latter determines the annotated examples available to the downstream extractor.
The leaflet and title collections differ in the relationship between the number of annotations and the number the authors count as unique. EMEA has 2,695 training annotations, of which 923 are listed as unique. In its test set, the corresponding figures are 2,204 and 658. MEDLINE has 2,994 training annotations, of which 2,296 are unique, and 3,103 test annotations, of which 2,390 are unique. These counts describe repetition within a split. A dictionary’s test recall also depends on which expressions recur across the boundary between its development material and the test set.
The fraction of annotations assigned to the outermost span layer varies as well. The first layer accounts for 65.13% of DEFT annotations, 74.69% of MEDLINE annotations, 85.73% of EMEA annotations, and 94.47% of French E3C annotations. The next layer accounts for 30.84% of the DEFT annotations and 23.75% of MEDLINE annotations. Inner spans are therefore a substantial part of what success means on DEFT and MEDLINE. In E3C, outermost mentions dominate the pooled metric, even though the reference can contain nested mentions.
The corpus characteristics differ together. A collection can have more overlap, more training annotations, or more repeated names than another collection, and the label inventories and genres can vary at the same time. The test scores indicate performance on each complete setup. The paper reads them alongside the corpus descriptions to identify patterns, particularly the role of training examples and the difference between broad and nested mentions.
DEFT rewards both coverage and precision
DEFT produces the highest F-measures among the collections for several of the trained extractors. CamemBERT-bio has a test precision of 0.75 and a recall of 0.77, giving it an F-measure of 0.76. The F-measure interval is [0.74-0.78]. Base CamemBERT and FlauBERT both reach 0.74 in test F-measure. The multilingual encoder reaches 0.73, DrBERT reaches 0.71, and the compact frALBERT reaches 0.67. Thus the best biomedical entry leads, while the other biomedical entry falls below the general French and multilingual entries in the middle of the comparison.
DEFT test set entity-level micro F-measure by system
CamemBERT-bio leads the compared systems, and the trained extractors recover substantially more than dictionary propagation.
The numbers
| System or setting | Micro F-measure |
|---|---|
| Dictionary propagation | 0.35 |
| frALBERT | 0.67 |
| DrBERT | 0.71 |
| mBERT | 0.73 |
| CamemBERT | 0.74 |
| FlauBERT | 0.74 |
| CamemBERT-bio (this paper) | 0.76 |
The dictionary baseline has a DEFT test precision of 0.38 and recall of 0.32, for an F-measure of 0.35. Both parts of the metric are low here. The best trained systems improve their ability to return correct spans while covering much more of the reference. This differs from the pattern on the two QUAERO collections, where the dictionary’s precision is high enough to compete with the trained systems on that measure alone.
The table also includes a DEFT F-measure of 0.73 from Copara and colleagues. CamemBERT-bio’s point estimate is higher, and mBERT matches the displayed earlier F-measure. The paper also notes that Copara and colleagues found CamemBERT-large ahead of multilingual BERT in their own work. That observation concerns a larger CamemBERT version than the benchmark uses. Within Bannour and colleagues’ DEFT experiment, the base general French checkpoints and mBERT cluster relatively close together. The CamemBERT-bio and CamemBERT F-measure intervals, [0.74-0.78] and [0.73-0.76], also overlap.
French E3C changes the ordering
The French E3C test results favor FlauBERT. Its point estimates are 0.54 precision, 0.53 recall, and 0.54 F-measure. The F-measure interval is [0.51-0.57]. The same metric is 0.52 for mBERT, frALBERT, and CamemBERT-bio. Base CamemBERT achieves 0.51 and DrBERT 0.49. Thus the best general French checkpoint in this setting sits ahead of the biomedical checkpoints. The reported intervals give a range of plausible scores under corpus resampling, including overlapping ranges for FlauBERT and CamemBERT-bio.
French E3C test set entity-level micro F-measure by system
FlauBERT has the highest point estimate, with several encoders grouped closely behind it.
The numbers
| System or setting | Micro F-measure |
|---|---|
| Dictionary propagation | 0.29 |
| DrBERT | 0.49 |
| CamemBERT | 0.51 |
| CamemBERT-bio | 0.52 |
| frALBERT | 0.52 |
| mBERT | 0.52 |
| FlauBERT (this paper) | 0.54 |
The E3C dictionary baseline reaches 0.24 precision and 0.37 recall, for an F-measure of 0.29. Among the trained systems, frALBERT has the highest recall point estimate, at 0.55, with a precision of 0.50. FlauBERT’s higher precision gives it the better overall F-measure. This is a useful distinction in a collection where the trained entries are close together. The top F-measure identifies the strongest combination of precision and recall under the paper’s metric, while recall on its own gives a different ordering.
E3C has the lowest test F-measures of the collections for the trained systems. The authors connect this pattern to the comparatively small supply of annotated training material, and they observe that categories with more examples tend to perform better. E3C is also the collection most dominated by outermost mentions. Its lower scores show that a small share of nested annotations can coexist with difficult extraction overall. The dataset-level comparison brings together several other differences, including the type inventory and the reference preparation, which bear on how much explanatory weight can be placed on any single characteristic.
On QUAERO, the earlier knowledge-based system remains ahead
On the MEDLINE test set, FlauBERT and CamemBERT-bio share the highest F-measure among the trained entries at 0.68. CamemBERT-bio reaches 0.70 recall and 0.66 precision, while FlauBERT reaches 0.69 recall and 0.67 precision. Their F-measure intervals are [0.66-0.70] and [0.66-0.69], respectively. Base CamemBERT and mBERT each have a test F-measure of 0.65. DrBERT reaches 0.64, and frALBERT achieves 0.52. The two leaders illustrate how slightly different balances of precision and recall can correspond to the same reported F-measure.
The MEDLINE dictionary baseline has test precision of 0.73, above that of the trained extractors, but it has recall of 0.30 and F-measure of 0.42. The trained leaders cover substantially more of the annotated material. This recall gain coexists with a stronger previously published result. The knowledge-based approach from Van Mulligen and colleagues is listed with MEDLINE test precision of 0.68, recall of 0.72, and F-measure of 0.70. Its point estimates place it above the authors’ trained systems on this title collection.
On the EMEA test set, CamemBERT-bio leads the trained extractors with an F-measure of 0.69 and an interval of [0.63-0.74]. Its precision is 0.70 and its recall is 0.68. FlauBERT follows with an F-measure of 0.68, helped by precision of 0.69 at recall of 0.66. mBERT achieves an F-measure of 0.67, DrBERT 0.66, base CamemBERT 0.65, and frALBERT 0.63. The trained systems are closer together on the leaflet set than on the title set, where frALBERT trails the leaders more clearly.
The EMEA dictionary baseline again has test precision of 0.73. Its recall increases to 0.43 on this collection, and its F-measure is 0.55. The knowledge-based approach has test precision of 0.72, recall of 0.79, and F-measure of 0.75. The most noticeable advantage of that earlier approach over the benchmark’s best EMEA entry is its ability to retrieve a greater share of the reference mentions while keeping precision high. The simple propagation baseline and the previously published system supply different levels of comparison. The first tests matches based on examples from the labeled corpus, while the second represents a stronger established result.
Across the test sets, CamemBERT-bio has higher F-measure than DrBERT in every comparison. A category-wide ranking is less uniform. FlauBERT leads among the trained systems on E3C and shares the top trained score on MEDLINE. On DEFT, both FlauBERT and base CamemBERT rank above DrBERT. The conclusion supported across all the collections is about the particular pair of biomedical checkpoints. The value of a biomedical starting point relative to the general-purpose alternatives varies with the checkpoint and collection.
The emissions comparison changes what counts as a strong result
The DEFT runs have the highest estimated emissions. The authors attribute part of this to the larger amount of text in that corpus. The frALBERT run is estimated at 4.5 grams of carbon dioxide equivalent on DEFT. DrBERT is estimated at 5.5 grams, base CamemBERT at 7.7 grams, and CamemBERT-bio at 8.7 grams. CamemBERT-bio leads the trained entries on F-measure, while the lowest estimate belongs to the compact encoder. The same test collection thus supplies separate rankings for recognition and estimated emissions.
On French E3C, frALBERT has an estimated training-and-testing footprint of 2.5 grams of carbon dioxide equivalent. Base CamemBERT, CamemBERT-bio, and DrBERT each have an estimate of 3.6 grams. FlauBERT reaches the highest F-measure with an estimated 4.1 grams, and mBERT has an estimate of 4.8 grams. CamemBERT-bio and frALBERT have the same reported F-measure on this collection. Their point estimates offer a concrete example of how an emissions measurement can distinguish settings with equal displayed extraction performance.
French E3C recognition runs by estimated training and testing emissions
The compact frALBERT encoder has the lowest estimated emissions for this workload.
The numbers
| System or setting | Grams of carbon dioxide equivalent |
|---|---|
| mBERT | 4.8 |
| FlauBERT | 4.1 |
| CamemBERT | 3.6 |
| CamemBERT-bio | 3.6 |
| DrBERT | 3.6 |
| frALBERT (this paper) | 2.5 |
For MEDLINE, frALBERT has estimated emissions of 1.1 grams of carbon dioxide equivalent. CamemBERT-bio and FlauBERT each have an estimate of 2.2 grams and share the best F-measure among the trained entries. The lower estimate for frALBERT comes with a lower test F-measure in this setting. On EMEA, frALBERT has an estimate of 2.4 grams, DrBERT 3 grams, and CamemBERT-bio 5.2 grams. The compact encoder again has the lowest estimate, while CamemBERT-bio has the strongest extraction result within the experimental systems.
The paper reports that the reduction associated with frALBERT ranges from 20% to 63%, depending on the corpus and comparison system. Its F-measure stays at least 10 points above the dictionary baseline across the collections, according to the authors’ conclusion. The extraction and emissions comparison is most favorable where the compact encoder remains close to the others, as on E3C. MEDLINE shows the other side of that choice. The lowest emissions estimate still belongs to frALBERT, but the gap in extraction performance is larger.
The paper also gives figures previously reported for pretraining. Touchent and colleagues estimated 0.84 kilograms of carbon dioxide equivalent for pretraining CamemBERT-bio. Labrak and colleagues reported 376.45 kilograms of carbon dioxide equivalent across their 7 DrBERT-based models. The figures describe different scopes, one for the CamemBERT-bio pretraining effort and one across a group of DrBERT-based models. The benchmark’s emissions table concerns the later recognition runs and uses grams. Those are the runs over which the authors make the direct frALBERT comparison.
What the ablations show
The paper reports no component-removal ablation. It instead substitutes pretrained encoders within the extraction framework and examines the resulting outputs by nesting depth, category, corpus, and estimated emissions. Each comparison isolates some choices more closely than others, which determines what it can establish about the performance differences.
Encoder substitution tests whole checkpoints
The closest comparison to a controlled intervention is replacing the contextual encoder while retaining the NLstruct extraction design. The same broad set of components handles characters, static word representations, tagging, and boundaries. For each corpus, the extractors target the same reference annotations. This lets the authors ask which candidate encoder supports the best recognition results under that design. The consistency of the CamemBERT-bio and DrBERT ordering is the clearest result of this substitution. It holds across the clinical cases, scientific titles, and leaflets represented in the experiment.
CamemBERT and CamemBERT-bio form a more specific comparison because the latter began with the base CamemBERT checkpoint. The adapted version has a higher F-measure than its general counterpart in each of the reported test sets. That pattern is consistent with a benefit from additional biomedical pretraining for this pair. Comparing CamemBERT-bio with DrBERT changes more of the training history. The authors suggest that continuing to train an existing French encoder on biomedical text may help. The experiment compares the finished checkpoints, which also reflect the different collections of biomedical text used to produce them.
FlauBERT’s results help qualify the interpretation. Its competitive scores show that biomedical pretraining is one route to strong extraction under the framework. A general French encoder wins on E3C and ties the strongest biomedical encoder on MEDLINE. At the same time, the paper’s broad description of the general entries as similar leaves room for important exceptions, especially frALBERT on MEDLINE. The comparison supports looking at the actual checkpoint and corpus, rather than using the pretraining category alone to predict the ranking.
Output depth shows that nesting survives extraction
The authors check whether the trained systems actually produce nested spans. They observe predicted annotations as deep as layer 3 or layer 4, depending on the system and collection. They also report that the proportions of predictions across layers resemble the proportions in the references. These observations establish that the system uses its capacity to output overlapping spans. They matter because the ability to represent nesting in a data format or library is only a prerequisite. The extractor has to produce such mentions in practice.
The authors give another piece of evidence from DEFT. The reported F-measures for the trained systems exceed .65, the ceiling the paper proposes for an extractor restricted to entities in layer 1. They interpret this as further evidence that the systems recover inner mentions. The output-depth observation shows that the systems produce the necessary form of prediction. The overall DEFT scores, read through the authors’ proposed comparison, suggest that this capacity contributes to recovery against a reference with substantial nesting.
The analysis stops short of attributing precision or recall to individual levels. The paper explains that predicted layers and reference layers are difficult to align. Consider an inner device mention whose outer procedure is omitted by the extractor. The device can still have the correct text span and category. Its depth among the remaining predicted spans can differ from the depth recorded in the complete reference. Similar depth distributions therefore describe the overall structure of the output, while the entity-level evaluation supplies the evidence about matching spans. A depth-specific error analysis would need to account for both.
Category support and corpus size offer explanations
The authors observe that performance tends to follow similar patterns across entity types. Categories can be easier when the training set supplies many marked instances or when their expressions occur in regular forms. Temporal entities are their example of a category with regular patterns. The distinction matters because common types may benefit from abundant examples, whereas a category with consistent wording may provide a recognizable pattern even with fewer distinct expressions. The paper reports the overall tendencies and leaves the full type-by-type scores unpublished.
E3C provides another observation about supervision. Its trained extractors tend to score below their counterparts on the other collections, even when their encoders are strong elsewhere. The authors suggest that the supply of labeled material for training the recognizer may matter more than the choice among the pretrained encoders. The comparison across datasets changes genre and annotation scheme along with training size, so it offers a plausible explanation instead of a measured effect of reducing the number of training examples.
The earlier E3C experiment using CamemBERT-bio helps frame a related question. Touchent and colleagues trained with semi-annotated material from E3C’s layer 2 and evaluated on the first layer, yielding a reported F-measure of 69.85. Bannour and colleagues use the first, gold layer for training and evaluation. The earlier result suggests that semi-annotated, or silver-standard, material may be useful as training supervision. Its reported value belongs to that earlier setup. The benchmark does not vary the amount or source of E3C supervision within a matched experiment.
The baseline separates gains in coverage from gains in exactness
The behavior of the dictionary adds a comparison that the encoder rankings alone would miss. On DEFT, the leading trained systems improve both precision and recall relative to the propagation baseline. On the QUAERO collections, the dictionary’s high precision makes the gain mainly a matter of covering more of the reference. A trained system can offer substantially better F-measure even while returning a larger share of predictions that count as errors. The paper’s separate precision and recall columns make that distinction visible.
The earlier knowledge-based system establishes that higher coverage on QUAERO was possible alongside strong precision. Its results prevent the gain over dictionary propagation from serving as evidence of an overall best result on either QUAERO collection. The benchmark demonstrates where the common extraction setup improves on a simple symbolic baseline, and the separate published comparison locates that improvement relative to older work on the same collections.
Limitations
Limits the authors state
The authors selected representative checkpoints from the available encoders. They identify camembert-large and flaubert-base-cased as examples of variants outside the experiment. In explaining the choice, they point to the additional carbon cost of a broader evaluation and to their goal of comparing general and domain-specific checkpoints previously studied in setups that were hard to compare. The ranking bears on the chosen versions. A ranking of the complete families would require evidence from more versions.
Availability also shaped the selection. The authors considered AliBERT but could not find a version available to them, and they report that they could not access the system from Le Clercq de Lannoy and colleagues. Those omissions narrow the comparison within biomedical French. The design tests a common setup for the checkpoints the researchers could obtain and integrate. It leaves the relative standing of the unavailable systems open.
The paper reports limited detail about performance by entity type and describes obstacles to evaluating each nesting level. Space constraints kept the type-by-type figures out of the results. Aligning layers across the predicted and reference outputs proved difficult because each set of spans has its own structure. The aggregate scores and output-depth observations support the claim that the systems can recover nested entities overall. They leave open how reliable a specific deep span is, or whether an individual type benefits more from a particular encoder than the aggregate indicates.
The authors describe the carbon figures as approximate. They use an average local electricity carbon intensity and note that Carbontracker does not account for the execution environment or energy production in the way needed for a full assessment. The estimates give a comparison under the conditions of these experiments. Applying the gram values to another setting would require information about that setting and how the workload is run. The authors’ separate pretraining figures also make clear that the reported task runs capture only part of the computation involved in producing and using a recognizer.
What the setup leaves open
The comparison of CamemBERT-bio and DrBERT supports a repeated ordering of point estimates. It leaves the cause of that ordering unresolved. The systems differ in whether training began from an existing French checkpoint and in the sources of biomedical text used during that training. The downstream extraction framework is held broadly constant, which makes the comparison of resulting checkpoints informative. Identifying which pretraining decision accounts for the gap would require a comparison in which the other pretraining choices were held constant.
The use of part of E3C in CamemBERT-bio’s pretraining deserves a similarly precise reading. The paper identifies that source as E3C’s unannotated third layer. It identifies the downstream benchmark’s reference material as coming from the gold first layer. The presence of material from the broader E3C resource in pretraining raises a question about domain familiarity, while the reported setup gives no standalone estimate of that source’s contribution. Keeping the layer distinction visible helps readers understand both the relationship between the resources and the limits of the comparison.
The confidence intervals describe test resampling. They show, for instance, that close rankings can occur alongside considerable overlap in the range of scores estimated for the individual systems. The paper does not report a paired interval for the difference between leading entries or an analysis of variability over repeated training runs. As a consequence, the repeated CamemBERT-bio advantage over DrBERT is a pattern across the benchmark’s point estimates. The uncertainty attached to the exact size of an encoder advantage is a separate question from the direction of the reported ordering.
The trained systems are evaluated on particular sources with established labeling conventions. A result on patient leaflets tells a reader about leaflet extraction in that setup. A result on indexed article titles concerns another kind of language, and clinical cases add another. The paper motivates the benchmark through the potential secondary use of clinical narratives. It measures entity recovery against corpus annotations, leaving the effect on an epidemiological workflow unmeasured. Questions such as whether an extraction error would change the set of cases counted in a study require a downstream evaluation with its own target.
Micro averaging also limits what can be learned from a single score. A corpus with many examples of a recognizable category can give that category substantial influence over the aggregate. When outer spans dominate the annotations, the pooled F-measure is more strongly shaped by performance on the kinds of mentions that appear often. An application interested mainly in a less common clinical category or in deeply nested anatomy terms would need the corresponding type and boundary errors to judge performance for that use. Those details cannot be inferred from the aggregate ranking.
E3C exemplifies the need to keep comparisons tied to a particular target. Its recognizers use the gold material and predict semantic subtypes obtained by refining a broad category. The other studies discussed by the authors can differ in training supervision or in the way they handle nested labels. Similarly, comparisons across the benchmark’s own corpora involve changes in genre, available supervision, repetition, and the type inventory. The observation that E3C had lower scores supports further investigation of annotated data availability. It does not furnish an estimate of how much the score would change if the amount of annotated training material alone were increased.
The emissions estimates offer evidence about the runs that produced the extraction results. The design associates frALBERT with the lowest estimate in every workload, but a full accounting would need to specify the scope of pretraining, downstream training, and subsequent use. The previously published pretraining totals cited by the authors cover different sets of work. They give context on the scale of pretraining while leaving an overall emissions ranking across encoder families unresolved. For the benchmark’s narrower question, the estimates can be read directly alongside F-measure, with the strength of the tradeoff depending on the corpus.
What came after
Later work building on this benchmark has yet to be documented. The follow-up questions left open by the paper include whether the checkpoint rankings persist with additional labeled training data, how accurately each system retrieves inner mentions, and whether the emissions differences persist across execution environments.
Cite
Cite as Nesrine Bannour, Christophe Servan, Aurélie Névéol and Xavier Tannier. 2024. A Benchmark Evaluation of Clinical Named Entity Recognition in French. Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024).
@inproceedings{bannour2024benchmark,
title = {{A Benchmark Evaluation of Clinical Named Entity Recognition in French}},
author = {Nesrine Bannour, Christophe Servan, Aurélie Névéol and Xavier Tannier},
booktitle = {Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
year = {2024},
doi = {10.63317/4hv3twentffn},
url = {https://doi.org/10.63317/4hv3twentffn}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bannour-2024-benchmark-evaluation-clinical-named-entity/