Elamur Research

Supervised learning for the detection of negation and of its scope in French and Brazilian Portuguese biomedical corpora

Paper · 2020 · Clément Dalloux, Vincent Claveau, Natalia Grabar et al.

Summary

A clinical note can mention a condition because the patient has it, because a clinician ruled it out, or because the clinician is describing what is absent alongside a condition that is present. A system that simply records which conditions appear in the text loses those distinctions. Dalloux and colleagues study how to recover them from French and Brazilian Portuguese biomedical writing. They separate the task into finding the cue, the expression that signals negation, and finding its scope, the words affected by that particular cue. A cue equivalent to denies, for example, can apply to several coordinated symptoms. A cue meaning unresectable can describe a tumor that is present while denying that it can be removed.

The authors develop manually reviewed linguistic annotations for French trial protocols and clinical cases, and for Brazilian Portuguese trial protocols and hospital narratives. They use these annotations to train systems that assign labels to words in a sentence. A bidirectional recurrent network reads the sentence in both directions, allowing a word’s label to depend on a cue on either side of it. The experiments compare ways to represent the input words and ways to choose the output labels. One output uses a conditional random field, which can prefer a coherent sequence of labels over labels chosen independently at each position. The paper also describes an online application.

For cue detection, the recurrent network with a conditional random field beats a standalone conditional random field on all the new corpora. The scope results depend on how strictly a prediction is scored. On the French clinical cases, the best test F1 is 90.81 for individual scope tokens and 88.00 for complete scopes, with different configurations leading the two measures. The Brazilian trial protocols are the hardest collection. Their best test F1 is 78.20 for scope tokens and 54.24 for complete scopes. The authors identify inconsistent annotations and cues missing from the training examples as contributors to the difficulty. Across the collections, the conditional random field output more frequently helps with complete scopes, where a missed modifier or an extra word can invalidate a match.

Training on trial protocols and testing on clinical cases or narratives generally preserves more token-level performance than transfer in the reverse direction. Complete scopes are more sensitive to the change in genre. In a separate experiment on the English *SEM-2012 benchmark, the system is trained on English data and reaches 90.67 token F1 and 82.41 exact-scope F1 with word representations trained on Conan Doyle’s fiction. That result shows how the architecture fares on an established benchmark outside clinical writing. The biomedical experiments show what changes when the language, the kind of document, or the rules for marking a negation change.

Deep dive: Supervised learning for the detection of negation and of its scope in French and Brazilian Portuguese biomedical corpora

How supervised learning finds negation cues and identifies what they negate in French and Brazilian Portuguese clinical texts and trial protocols. · about 40 minutes to read

The problem and its context

A mention can carry several kinds of information

Information extraction turns pieces of a document into records that can be searched or compared. In biomedical writing, the presence of a medical term in a sentence is only part of what an extraction system needs to know. A symptom can be conspicuous because it prompted admission, or because its absence helped narrow a diagnosis. A protocol might refer to medication because it is required, prohibited, or allowed as an exception. An extracted term is easier to interpret when the system also records what the sentence says about it.

The paper discusses recruitment to clinical trials as a setting where that distinction matters. Eligibility may depend on a person’s other conditions, smoking status, use of medication, or pregnancy status. Clinical notes and trial protocols play different roles in the decision. A note records an observation or a statement about a patient. A protocol describes the conditions under which a person may join the trial. Negation has a role in both, even though the people writing the documents have different purposes.

The authors break the language problem at a useful point. The cue marks the presence of a negation. The scope identifies the stretch of language the cue affects. In a short denial of several symptoms, finding the denial verb answers the first question. Deciding whether it governs each item in a list answers the second. In a sentence that also reports examination findings, a scope can end before the affirmative material begins. A detector that recognizes the verb and extends its scope too far can change the interpretation of a finding the writer affirmed.

The difference also matters when the same condition appears in more than one grammatical role. A report can describe a tumor as present and discuss whether surgeons can remove it. In that construction, the property of being resectable is at issue. A label that treats the tumor name as an absent condition gives the wrong clinical interpretation even if the system identified the negative expression. The authors’ annotation rules give this boundary special attention.

French cues in context

French expresses negation with several resources. The paper discusses grammatical expressions such as ne … pas and ni … ni, lexical expressions such as absence de, and negative elements formed through morphology, including prefixes. A cue may therefore be a word, a piece of a word, or a construction whose pieces have other words between them. A system that expects an uninterrupted expression has to contend with constructions where the intervening words carry part of the meaning to be labeled.

Even a familiar cue can require interpretation. The word pas can be part of a negation or refer to a step. It has the latter meaning in the idiom for pacing that the authors illustrate. The problem in such a sentence arises before scope detection. The cue decision determines whether there is a negation of that kind to trace through the sentence at all. The paper also points to plus, whose reading can change with the rest of the construction. The surface form gives a candidate, and the surrounding language supplies evidence about its function.

Words that alter a negation create a different problem. The authors compare examples involving toujours. When treatment is described as feasible on some occasions but unavailable on others, pas toujours limits a claim about regularity. Treating feasibility itself as wholly denied would lose that distinction. In an example about a consensus that has yet to emerge, the corresponding adverb conveys persistence over time. The paper treats the relevant scope in that example as unchanged by the adverb. The same word can therefore have different consequences for annotation depending on what is asserted.

Exceptions present another boundary problem. In an example about the availability of curative treatment, an expression meaning apart from introduces the treatment that the denial leaves available. Extending the first cue through the exception would include the treatment the author deliberately set aside. Elsewhere, an exception expression can itself perform the negative work by excluding an item from a category. A fixed list of stop expressions would capture only part of what the authors describe, because the function can change with the construction.

Medical names add a separate reason to look beyond the cue’s spelling. The non in the name of non-Hodgkin lymphoma helps identify the disease being discussed. The corresponding element in a description of a tumor’s resectability can instead negate a property of that tumor. Similarly, a reference to non-small-cell cancer can assert that a patient has a particular cancer. This is the distinction between a term that names a concept and a statement made about a concept. The authors turn it into an explicit decision for their annotators.

Brazilian Portuguese cues across document genres

The Brazilian Portuguese examples include short cues such as não and sem, longer expressions built around absence, and verbs such as nega. The paper also describes prefixal forms, including examples corresponding to painless and afebrile. These constructions put the negative information in different positions. A denial verb can precede an entire list of symptoms, while a prefix sits inside the word that carries the relevant property. The token representation and the annotation need to accommodate both.

The authors illustrate how coordination affects scope. A clinician may record a denial that governs several symptoms in a single sequence. Each item is relevant to the same cue, even when only the first item follows it immediately. A narrow rule based on the closest content word can stop before later conjuncts. A rule that extends automatically to the sentence boundary can absorb a subsequent phrase that supplies time or other context. Those two kinds of error can arise from the same cue.

Trial protocols supply examples of a different writing style. The authors describe recruitment criteria made up of short negative fragments, statements in which participants are asked to declare whether a condition applies, and entries requiring a negative test result. A fragment beginning with sem can express a whole criterion without a finite verb. A requirement concerning pregnancy can embed não in a declaration. A test can have a negative result even though the test itself is a necessary part of the protocol. Each construction makes different words available as evidence for where the negation applies.

These differences give the article a reason to keep language and document genre visible throughout the evaluation. The Portuguese sources include texts prepared to recruit participants and texts recording care. Their vocabulary overlaps, but their sentence structures serve different purposes. French likewise supplies a comparison between protocols and material about clinical cases. The authors can ask separately how a strategy behaves in a particular corpus and how far it carries over to another kind of writing in the same language.

What earlier corpora made possible

The paper describes an established body of work on English negation. Among the resources it discusses, some annotate textual spans. BioScope marks cues and scopes for negation and uncertainty in radiology material and scientific writing. Its annotations use identifiers for sentences and for cue–scope pairs. A researcher can use that pairing to recover which part of the sentence is associated with an individual expression. The corpus thereby supports evaluation of the cue and the affected material as related outputs.

The English *SEM-2012 collection provides another span-based task, drawn from Sherlock Holmes fiction. The paper gives its size as 5520 sentences, with 1227 sentences involving negation. Its annotation can represent interrupted cues and scopes, and it also records focus where relevant. Lexical and grammatical information accompanies the text. This is the benchmark the authors later use to compare scope labeling with earlier systems. Its literary material supplies an independent test of the architecture in a setting with its own annotation conventions.

Other cited corpora start with a medical concept and assign attributes to it. The i2b2/VA challenge, for instance, describes assertion categories for medical problems. These include distinctions among present, absent, possible, conditional, hypothetical, and having a different experiencer. MiPACQ attaches negation and status information to entities identified in clinical data. Such resources are suited to a question about the status of a recognized finding. A span corpus starts from the words carrying the negation and asks the system to locate the language affected by them. The tasks come together when the affected span has to be mapped back to an entity.

The paper’s account of French and Brazilian Portuguese begins from the scarcity of resources with comparable cue and scope labels. Earlier research had already examined clinical negation in French. The need the authors identify is for supervised training and evaluation material in their chosen languages and genres. An English corpus can offer an experimental comparison and an example of how to organize annotations. The cue vocabulary, writing practices, and conventions about medical concepts still need attention in the languages under study.

From matching expressions to labeling sequences

The authors describe NegEx as an early system built around regular expressions. Its patterns locate cues and identify medical terms within their reach. The paper notes adaptations to Swedish and French. NegFinder combines lexical recognition with a grammar-based parser, using the resulting analysis to find nearby concepts affected by a cue. Both illustrate what a system can achieve by explicitly specifying how an expression is expected to relate to nearby clinical language.

ConText extends the clinical question to include when a finding applies and whom it concerns. A mention may belong to the patient’s history or concern a different person, distinctions that survive even after its polarity has been resolved. Other rule systems consult grammatical relationships. The paper describes NegBio as using rules over a graph of universal dependencies. The graph helps express relationships between words that cannot be deduced from how close together they appear. This is the motivation for consulting structure in dependency parsing.

Earlier supervised systems combine learned decisions with varying degrees of linguistic structure. The authors describe Velldal and colleagues as starting from a closed set of cue candidates, then using a support vector machine to classify them with local word and lemma sequences. For scope they combine dependency-tree rules with a system that ranks constituent spans. The same family of work appears as a fallback in a later system when its primary semantic parser cannot analyze the sentence. The earlier study is Speculation and Negation.

The neural precedent comes from Fancellu and colleagues, who compare feed-forward processing with bidirectional recurrence for scope detection. In the recurrent design, a representation can carry information forward or backward through a sentence. The authors also discuss Li and Lu’s experiments with conditional random fields, including alternatives that represent segments or introduce latent structure. The new paper brings recurring components from this literature together with new supervision. It treats the cue and scope as word-labeling tasks and tests the resulting design across biomedical genres and on an established literary benchmark.

The method, step by step

Decide what the annotations should capture

The work starts with an annotation scheme that can be applied to each of the new biomedical corpora. Annotators mark a cue when it triggers negation in the sentence. For French and Brazilian Portuguese, an apparent cue inside a biomedical concept identified by a language-appropriate Unified Medical Language System identifier is excluded under the guidelines. This rule covers cases such as the negative-looking material in the name of non-small-cell lung cancer. A description that makes resectability the property at issue can still receive a cue annotation.

The associated scope records the words that convey what is negated, with attention to the focus of the statement. A clinical concept is included when the negation bears on that concept. In the authors’ autopsy example, the procedure is within the annotated scope because what the sentence denies is that the procedure took place. In their mesothelioma example, it is the ability to resect that is denied. The tumor name stays outside the scope. In a third example, the inclusion of toujours changes what is asserted about the feasibility of surgery and therefore changes how the scope is marked.

A sentence can contain several negations, so the annotations can identify cues separately and associate tokens with the appropriate cue. This matters in sentences where a reader has to keep track of two predicates or of an exception that changes the interpretation of an earlier phrase. The representation records which words are included instead of requiring every position between a start and an end to be included. Cue pieces can be separated by intervening material, and a scope can also contain gaps. Those cases motivate using a sequence of labels rather than treating scope as a single number of words after a cue.

The authors describe the data in a CoNLL-style format, with lexical and grammatical columns alongside cue and scope information. A row identifies a position in a sentence and gives the word as written. The auxiliary columns can hold the base or reduced form and the grammatical category. The negation columns allow a reader to see whether the word itself signals a negation and whether it belongs to an associated scope. A word in a predicted scope can thus be inspected alongside the cue that supplied the context for the task.

From annotated sentences to cue and scope predictions

The steps in order.

From annotated sentences to cue and scope predictionsStep 1: Mark cue expressions and their affected words1. Mark cue expressions and their affected wordsStep 2: Add lexical and grammatical annotations2. Add lexical and grammatical annotationsStep 3: Train a cue labeler on token sequences3. Train a cue labeler on token sequencesStep 4: Represent words, cue labels, and grammatical tags4. Represent words, cue labels, and grammatical tagsStep 5: Read the sentence in both directions5. Read the sentence in both directionsStep 6: Assign scope labels to sentence tokens6. Assign scope labels to sentence tokensStep 7: Score individual tokens and whole scopes7. Score individual tokens and whole scopes

Prepare the text and review the labels

The French annotation proceeded differently for the trial protocols and the clinical cases. ESSAI, the protocol collection, was marked manually. For CAS, the authors first generated candidate annotations with systems trained on ESSAI. Annotators then checked each sentence, correcting the labels and adding missing negations. Across the French work, one annotator covered both collections, with the other annotators each working on a single collection. Adjudication settled disagreements such as whether particular prefixed biomedical expressions should count as cues.

The Brazilian Portuguese protocols were distributed among students who ended up annotating separate portions. The paper attributes that arrangement to limited time. With different portions assigned to each annotator, there was no shared material from which to report inter-annotator agreement for this collection. It also lacked the adjudication process the authors used to resolve inconsistencies elsewhere. The hospital narratives involved students and a nurse, with the nurse and a physician participating in adjudication. These procedures become important when interpreting apparent errors on the protocols.

The researchers add linguistic features with tools appropriate to each language. For French, TreeTagger supplies grammatical categories and performs lemmatization, which relates an inflected form to its base form. For Brazilian Portuguese, RDRPOSTagger supplies Universal POS tags, and the Portuguese Snowball Stemmer in NLTK supplies stems. Stemming reduces a word form to a stem, which can differ from a dictionary headword. The two language pipelines therefore supply analogous reduced-form information through different procedures.

Part-of-speech tagging gives a category such as noun or verb to each position. These tags let the labeling system see grammatical similarities across expressions with different vocabulary. The observed word can preserve information a reduced form or category misses. In a sentence containing pas, for example, retaining the word gives the system its identity, while the context and grammatical features can help distinguish the negative use from a reference to a step.

Train the cue detector

The cue comparison starts with a standalone conditional random field, abbreviated CRF. It assigns labels to a sequence using features derived from the input together with information about how neighboring labels fit together. The cue detector receives the words, their reduced lexical representations, and their part-of-speech tags. A local feature window gives it access to nearby positions. The authors choose the window empirically for each corpus. For this standalone system, training uses limited-memory BFGS, or L-BFGS, to optimize the parameters.

The second detector uses a bidirectional long short-term memory network, or BiLSTM, followed by a CRF output layer. It starts from the same kinds of lexical and grammatical input. The difference is how the neighboring evidence is represented before the output labels are assigned. The standalone CRF receives explicit features from a limited window. The BiLSTM builds representations as it reads the sequence in both directions. Its output layer then uses those representations to choose the label sequence.

The cue comparison uses randomly initialized embeddings for the neural inputs. An embedding represents a discrete item, such as a particular word or tag, as a vector of values that training can adjust. For a cue detector, this lets the training examples shape which items end up represented similarly. The setup makes the cue experiment a comparison between two ways of learning from the annotated data without also substituting a pretrained lexical resource for the recurrent system.

The cue stage has to decide whether the text contains a negative use at a particular position. A frequent lexical cue can be straightforward in familiar surroundings. A discontinuous grammatical cue requires evidence from separated positions, and a word with an affirmative or idiomatic reading can require a decision about whether to label it at all. In the authors’ evaluation, the standalone CRF is used for cue detection. The scope comparisons use recurrent networks with different output layers.

Give the scope detector words and cues

The scope predictor receives a representation of the word, a representation of its cue information, and a representation of its grammatical class. The notation for its basic input is:

I(n, c, t)

I denotes the input instance. n is the vector for the word, c is the vector for its cue feature, and t is the vector for the part-of-speech tag. The parentheses group these components, and the commas separate them. The cue and tag vectors are initialized randomly and updated during training. The description of this input lists the word, cue, and grammatical tag as the components of the base scope system.

This representation makes cue finding and scope finding distinct learning problems. The scope learner sees where the cue information appears and learns patterns in the words around it. It can learn, for example, that a cue may govern a noun together with an adjective farther along in the sentence. Cue information can guide its decision without dictating the precise start and end of the answer. The experiment trains the scope systems using sentences that contain negation. Their training examples therefore concentrate on delimitating scopes in relevant sentences.

The authors compare random word vectors with pretrained word embeddings. Random values are initialized close to zero and learn from the labeled task. Pretrained vectors have already been shaped by patterns in other text, giving the system a starting representation before it sees the task annotations. In either case, the scope training updates the embedding weights. Pretraining changes what the learner starts with while leaving it free to adapt the input representation to the scope task.

The first pretrained option for the biomedical experiments is word2vec. The paper describes its continuous bag-of-words and Skip-Gram training objectives. In continuous bag-of-words, surrounding words provide the evidence for predicting the target. Skip-Gram uses a target word to predict surrounding words. These objectives can give similar starting representations to words that occur in similar contexts, even when the negation corpus contains comparatively few examples involving them.

The other option is fastText. Its word representations use character n-grams, short sequences drawn from the spelling of the word. Special boundary symbols help distinguish units near the beginning or end of a word. A rare form can then benefit from pieces it shares with better represented forms. This is relevant to the input in the paper because a prefix may help express negation. The character pieces are evidence for the learner. The annotation decision still takes account of context and the treatment of named biomedical concepts.

For French, the authors train word2vec and fastText using Skip-Gram and vectors of 100 dimensions. They use a window of five words on each side, a minimum count of five occurrences, and negative sampling. The input text includes French Wikipedia and biomedical material. Besides ESSAI and CAS, the biomedical sources include the French Medical Corpus from CRTT and the QUAERO medical corpus in French. Gensim is used to train the French vectors. The Brazilian Portuguese experiments use the pretrained vectors from NILC, which were also produced with Skip-Gram and have 100 dimensions.

The English experiments compare two fastText sources with random initialization. The original fastText resource has 1 million word vectors and draws on Wikipedia 2017, a web corpus, and news text, described together as 16B tokens. The authors train the other resource on Conan Doyle’s novels. For that collection they use Gensim, continuous bag-of-words, hierarchical softmax, and vectors of 100 dimensions for 100 epochs. They hypothesize that text closer to the benchmark’s genre will supply more helpful starting representations. Because the resources also differ in their training recipes, the comparison evaluates the resources as packages.

Read each sentence in both directions

The recurrent layer builds a representation of each word that incorporates information from the sequence. In the forward direction, the current position can carry evidence from words that precede it. In the backward direction, it can carry evidence from words that follow. This is relevant when a cue occurs after some of the affected words, as well as when the cue appears before them. The input includes the complete sentence for this labeling task, so both directions can inform decisions about each position.

The paper tests long short-term memory cells, known as LSTMs, and gated recurrent units, known as GRUs. Both control how information is retained as the network reads successive positions. The LSTM design distinguishes a cell state and a hidden state and uses separate gates to regulate different changes. The GRU combines the functions of the input and forget gates into an update gate. It also uses a simpler arrangement of the state information. The GRU design comes from the earlier RNN encoder–decoder paper.

The paper records the width of the embedding layer as:

k = 100

k is the embedding dimension. The equals sign assigns that dimension the value 100, which is the number of coordinates in an embedding vector. The recurrent architecture uses 400 output units per direction, with embedding dropout of 0.5 and recurrent dropout of 0.5. Dropout limits reliance on particular activations during training. The authors report that fifty epochs were ample for reaching their best validation F1 under the settings they tried. The systems were implemented with Keras and TensorFlow.

Turn the sentence representation into labels

With a softmax output, the system assigns a distribution over labels at a token using the representation produced by the recurrent layers. That representation already contains sentence context. The decisions at the output are nevertheless made at individual positions. With a CRF output, the system scores a proposed sequence of labels jointly. A label pattern can therefore be preferred or disfavored partly because of how adjacent labels work together, in addition to the evidence for any individual position.

That distinction offers a reason to evaluate both approaches. A softmax output may identify most of the affected words accurately even if there is some inconsistency at the edges. A CRF can favor a more coherent sequence, which could improve complete matches. The annotations also allow interruptions in a scope, so coherence does not amount to requiring that every negation cover one continuous stretch. The results test whether joint labeling helps under each corpus’s distribution of scope shapes.

The scope section describes a random split for each new corpus. The authors report a training allocation of 80%, with 20% for validation within the training procedure, and a test allocation of 20%. Validation supports choices made during development, and the test data provide the held-out comparisons. For the English benchmark, the authors use the *SEM-2012 data to compare with earlier English results. The transfer experiments change the source of the annotated training data by training on one corpus and testing on another in the same language.

Score partial and complete answers

Precision measures how many of the items the system labels are correct. Recall measures how many of the reference items it retrieves. F1 combines precision and recall through their harmonic mean:

F₁ = 2 × P × R ÷ (P + R)

F₁ denotes the combined score, with the subscript identifying the F1 measure. P denotes precision and R denotes recall. The equals sign gives the relationship, × marks multiplication, ÷ marks division, and + adds precision and recall. The parentheses group the denominator. The factor 2 is part of the harmonic mean of the two measures. The score falls when either precision or recall is low, so a system cannot get a high F1 simply by labeling every candidate or by predicting only a small set of obvious cases.

For scope, the unit being scored changes what counts as success. In token evaluation, identifying a noun in the reference scope earns credit even if the detector drops an associated adjective. In exact-scope evaluation, the answer for the negation needs to match the reference across the entire scope. An unnecessary prepositional phrase, a missing conjunct, or an incorrectly included comma can therefore separate a near miss from a complete match. The authors use the existing NegNN evaluation script from earlier work for the stricter evaluation.

Experiments and results

Four biomedical collections and a literary benchmark

ESSAI brings together French clinical trial protocols, mainly from the National Cancer Institute registry. The protocols typically give an overview of the trial and a more detailed account that includes recruitment criteria. Negation can occur in either part. The annotated collection contains more than a thousand sentences with a negation, and the authors put the proportion of such sentences at about 16%. This is a measure of how frequently negation occurs in the corpus, distinct from the accuracy of either detector.

CAS contains French clinical cases from journals and websites in several French-speaking settings. The cases cover a range of specialties and may describe real de-identified patients or fictional cases prepared for teaching. A case can move from the reason for admission to history, examination, treatment, and outcome. The negated statements in those parts serve different purposes, including recording symptoms that were absent and describing how a condition evolved. The annotated CAS collection has fewer sentences than ESSAI but a larger vocabulary, and about 21% of its sentences contain negation.

The Brazilian Portuguese protocol collection, abbreviated BRP, contains trial descriptions and eligibility criteria from the Brazilian registry. It is smaller than the other new collections in sentences, tokens, and negated sentences. The paper reports that about 20% of its sentences contain negation. The larger Brazilian Portuguese collection, abbreviated BRN, consists of hospital narratives. Its documents include discharge summaries, nursing notes, outpatient records, and other accounts of care. The material comes from three hospitals and covers several specialties. About 18% of its sentences contain negation.

The authors report different levels of annotation agreement depending on the task and the collection. Cohen’s kappa measures agreement with an adjustment for chance. For French cues, the paper gives 0.9001 on ESSAI and 0.9933 on CAS. For French scope annotations, the corresponding values are 0.8089 and 0.8461. The Brazilian hospital narratives have a kappa of 0.7414 computed across cue and scope tokens. That statistic combines the two kinds of label, so it answers a different question from either of the separate French measures. The Brazilian protocols have no agreement measurement.

These measurements help explain what the prediction scores are being asked to reproduce. The French adjudication addressed cases where annotators disagreed over negative elements inside biomedical concepts. For CAS, the authors also describe differences over subjects and punctuation near scope boundaries. In a test that requires every word to match, decisions at these positions count even when both annotators recognize the same denial. The source of the English comparison, *SEM-2012, supplies its own reference annotations independently of the new corpora.

Finding cues

The cue experiment compares the standalone CRF with the BiLSTM-CRF. On French protocols, the standalone system reaches 93.92 F1 and the recurrent system reaches 96.32. The recurrent system’s precision is 99.09 and its recall is 93.70 on that collection. On French clinical cases, the comparison is 97.21 F1 for the standalone CRF and 97.58 for the recurrent system. Here the recurrent system has higher recall, 98.17 compared with 97.37, while its precision is 96.99 compared with 97.05 for the standalone system.

On Brazilian hospital narratives, the standalone CRF reaches 89.49 cue F1 and the recurrent system reaches 92.63. Precision changes from 88.60 to 94.64, while recall is 90.41 for the standalone system and 90.71 for the recurrent one. This is a different performance profile from the French cases. On the Brazilian narratives, the gains are particularly visible in how often reported cues agree with the reference.

On Brazilian protocols, the cue F1 scores are 88.31 for the standalone CRF and 88.67 for the BiLSTM-CRF. The recurrent system’s precision is 90.73, with recall of 86.71. The authors identify an absence expression, falta de, that the systems missed because examples of it were missing from the training material. They attribute much of the corpus-wide difficulty to disagreements that remained unresolved. An expression can be missed according to the scorer because an annotator marked a use inconsistently, and a linguistically plausible cue can count as an extra prediction if the corresponding reference label was omitted.

Comparing all four corpora gives a consistent ranking in cue F1. The BiLSTM-CRF leads each comparison against the standalone CRF, even with its input embeddings initialized randomly. The size and source of its advantage differ across collections. The paper reports separate precision and recall because two detectors with similar F1 can have different practical error profiles. This matters in a cue stage, where marking an unnecessary trigger and overlooking a real trigger can create different downstream problems.

Scope within each biomedical corpus

The main scope comparison varies word-vector initialization and the output layer of the bidirectional LSTM. The starting vectors are random, word2vec, or fastText. The output is softmax or a CRF. The authors additionally test bidirectional GRU configurations on ESSAI. These experiments ask how accurately the systems find the affected words given cue information, first as individual tokens and then as complete scopes.

On ESSAI’s test data, the BiLSTM with softmax and random initialization produces 84.50 scope-token F1. The best exact-scope F1 is 76.51, obtained with a BiLSTM-CRF initialized with word2vec. For the same word2vec initialization, the softmax system records 72.27 exact-scope F1. These results put the decision over output layers in concrete terms. The leading token and complete-scope scores come from different configurations.

The French clinical cases yield the highest biomedical exact-scope score in the paper. With word2vec inputs and softmax, the BiLSTM reaches 90.81 token F1. With fastText inputs and a CRF output, it reaches 90.80 token F1 and 88.00 exact-scope F1. In this case the token results give little indication of how the configurations rank when a whole scope has to match. The word2vec and softmax system reaches 86.10 on that stricter measure.

Exact-scope F1 on the CAS French clinical-case test set

FastText with a CRF output gives the strongest complete-scope result on the clinical cases.

Exact-scope F1 on the CAS French clinical-case test setBiLSTM with softmax and random initialization: 84.54BiLSTM with softmax and randominitialization84.54BiLSTM with softmax and word2vec: 86.10BiLSTM with softmax and word2vec86.10BiLSTM with softmax and fastText: 83.74BiLSTM with softmax and fastText83.74BiLSTM with CRF and random initialization: 81.27BiLSTM with CRF and randominitialization81.27BiLSTM with CRF and word2vec: 86.49BiLSTM with CRF and word2vec86.49BiLSTM with CRF and fastText (this paper): 88.00BiLSTM with CRF and fastText (thispaper)88.00
The numbers
System or settingF1
BiLSTM with softmax and random initialization84.54
BiLSTM with softmax and word2vec86.10
BiLSTM with softmax and fastText83.74
BiLSTM with CRF and random initialization81.27
BiLSTM with CRF and word2vec86.49
BiLSTM with CRF and fastText (this paper)88.00

BRP gives the lowest scope performance among the new collections. There, the best token score is 78.20 F1 for the BiLSTM with fastText and softmax. The next token result is 74.87 for word2vec with a CRF output. The best complete-scope result comes from word2vec with softmax, at 54.24 F1. FastText with softmax records 53.41 exact-scope F1. The order depends on whether the scoring rewards identifying individual parts of a scope or requires the answer to match at every position.

Scope-token F1 on the Brazilian clinical-protocol test set

FastText helps most with a softmax output on these protocols, and the ranking changes when the output is a CRF.

Scope-token F1 on the Brazilian clinical-protocol test setBiLSTM with softmax and random initialization: 72.54BiLSTM with softmax and randominitialization72.54BiLSTM with softmax and word2vec: 74.35BiLSTM with softmax and word2vec74.35BiLSTM with softmax and fastText (this paper): 78.20BiLSTM with softmax and fastText (thispaper)78.20BiLSTM with CRF and random initialization: 72.24BiLSTM with CRF and randominitialization72.24BiLSTM with CRF and word2vec: 74.87BiLSTM with CRF and word2vec74.87BiLSTM with CRF and fastText: 71.02BiLSTM with CRF and fastText71.02
The numbers
System or settingF1
BiLSTM with softmax and random initialization72.54
BiLSTM with softmax and word2vec74.35
BiLSTM with softmax and fastText (this paper)78.20
BiLSTM with CRF and random initialization72.24
BiLSTM with CRF and word2vec74.87
BiLSTM with CRF and fastText71.02

The hospital narratives in BRN give a different picture. The BiLSTM-CRF with fastText reaches 84.78 scope-token F1. It records 83.25 exact-scope F1, shared with the CRF variant that uses word2vec. The two CRF entries report the same exact-scope precision and recall, 98.82 and 71.92, even though the token results differ. A system can recover additional correct words without turning the associated predictions into additional full matches. The equality here illustrates how results at the two levels can diverge.

The broad comparison favors clinical cases and narratives over the protocols within each language. The authors suggest that negation in the clinical material more frequently follows stable patterns and involves fewer gaps or discontinuities. That interpretation is consistent with an easier boundary-labeling task on these corpora. The explanation is also entangled with differences in data size, annotation procedures, and the kinds of negative statements each source contains. In particular, the low results for BRP coincide with unresolved annotation discrepancies.

Transfer between document genres

To test transfer, the authors train the BiLSTM-CRF with randomly initialized word representations on one corpus and test on the other corpus in the same language. ESSAI training followed by CAS testing gives 76.54 scope-token F1 and 53.03 exact-scope F1. In the reverse direction, CAS training followed by ESSAI testing gives 66.12 scope-token F1 and 43.99 exact-scope F1. The direction that starts from protocols gives the higher scores in this pair of experiments, with a different target corpus in each direction.

The Brazilian Portuguese comparison follows the same directional pattern. Training on BRP and testing on BRN gives 73.01 scope-token F1 and 73.30 exact-scope F1. Training on BRN and testing on BRP gives 60.40 and 40.45 for the respective measures. For that latter direction, the token precision is 77.37 and recall is 49.53. Relative to its own predictions, the system can be fairly precise while leaving a substantial portion of the reference tokens unlabeled.

In both languages, a learner trained on the protocols can recover a useful proportion of the affected words in clinical writing. The whole-scope scores show that transfer is sensitive to the target material. The Brazilian protocol-to-narrative direction is an interesting exception to the broader drop in exact-scope scores observed in the transfer analysis. Its exact-scope F1 of 73.30 on narratives exceeds the best within-protocol exact-scope F1 of 54.24 on protocols. These scores refer to different targets. The comparison indicates how much the choice of evaluation corpus matters, alongside any difference in what the training source teaches.

Comparison with earlier English systems

The English evaluation uses *SEM-2012 to put the scope detector alongside published systems. The authors include earlier sequence labeling, constituent ranking, deep parsing, and structured scope extraction approaches in the comparison. The table reports 88.72 token F1 and 77.70 exact-scope F1 for Fancellu and colleagues’ system with word2vec. The entry for Packard and colleagues gives 88.20 token F1 and 78.70 exact-scope F1. The semi-Markov entry for Li and Lu gives 89.40 token F1 and 81.70 exact-scope F1.

With the same BiLSTM-CRF architecture across the authors’ English entries, random initialization reaches 89.47 F1 for scope tokens and 81.88 for exact scopes. The original fastText vectors yield 89.11 and 78.06. The Conan Doyle fastText vectors yield 90.67 and 82.41. On this benchmark, choosing the word-vector resource affects the ranking even with the recurrent architecture and output layer held fixed.

Exact-scope F1 on the English *SEM-2012 benchmark

The BiLSTM-CRF with Conan Doyle vectors leads the displayed scope comparisons.

Exact-scope F1 on the English *SEM-2012 benchmarkPackard and colleagues: 78.70Packard and colleagues78.70Fancellu and colleagues with word2vec: 77.70Fancellu and colleagues with word2vec77.70Li and Lu semi-Markov system: 81.70Li and Lu semi-Markov system81.70BiLSTM-CRF with random initialization: 81.88BiLSTM-CRF with random initialization81.88BiLSTM-CRF with original fastText: 78.06BiLSTM-CRF with original fastText78.06BiLSTM-CRF with Conan Doyle fastText (this paper): 82.41BiLSTM-CRF with Conan Doyle fastText(this paper)82.41
The numbers
System or settingF1
Packard and colleagues78.70
Fancellu and colleagues with word2vec77.70
Li and Lu semi-Markov system81.70
BiLSTM-CRF with random initialization81.88
BiLSTM-CRF with original fastText78.06
BiLSTM-CRF with Conan Doyle fastText (this paper)82.41

For the Conan Doyle configuration, the English token precision and recall are 94.38 and 87.25, respectively. Under exact-scope scoring, the reported precision is 99.46 and recall is 70.34. The gap between the precision and recall values is important when reading the complete-match F1. The benchmark gives evidence that the approach can produce strong results when trained and evaluated in literary English. The training and test procedure is different from the experiments that move directly between biomedical genres.

What the ablations show

The preferred output depends on the scoring unit

The most informative comparisons change the word initialization and sequence output while keeping the rest of the scope setup stable. They show why an evaluation limited to token F1 can hide a difference relevant to extracting a clinical statement. A system that labels the head noun of a phrase while missing its modifier can reach a good token score, especially across a collection with many other correct words. Whether the output recovers modifiers and boundaries consistently becomes visible when each complete scope has to match.

For example, on ESSAI with word2vec, the softmax system has 83.61 token F1 and the CRF system has 83.48. Exact-scope F1 favors the CRF at 76.51, with softmax at 72.27. The higher complete-scope result occurs alongside a slightly lower token score. With this initialization, the useful effect of joint output decisions is therefore visible in how correct token decisions are distributed across negation instances. It is possible to improve the number of scopes that are entirely right without improving the aggregate balance of token precision and recall.

CAS supplies another comparison that keeps the word representations fixed. With fastText, switching from a softmax output to a CRF moves test token F1 from 90.08 to 90.80 and exact-scope F1 from 83.74 to 88.00. Across all the CAS settings, however, the randomly initialized softmax system leads the randomly initialized CRF on exact F1. The finding supports evaluation of the output layer together with the input representation. The output choice that works well with pretrained vectors need not have the same effect when the word vectors start from random values.

BRP makes that dependence especially clear. With fastText, softmax leads the CRF for both scoring units. The protocol annotations include disagreements about prefixes and their apparent scopes. A joint output layer can learn which label sequences are common, but the examples determine what counts as a common sequence. An inconsistent reference pattern can weaken the value of a sequence preference. The comparison reports how these particular configurations behave under those conditions. It does not isolate the effect of correcting the underlying labels.

Pretrained vectors help unevenly

The variants with random embeddings give a useful point of comparison because they show what can be learned from the negation annotations themselves. In the biomedical task, the authors find that pretrained word representations usually improve F1, and that the token scores for many combinations remain close within a corpus. The strongest protocol result in Brazilian Portuguese benefits from fastText. On the Brazilian narratives with softmax, random initialization gives 83.32 token F1, compared with 82.60 for fastText and 82.17 for word2vec. In those same softmax settings, fastText leads the complete-scope measure at 82.08.

The character-based representation has a plausible advantage for words containing negative prefixes. It can represent shared pieces of words whose full forms differ. The experiments change the whole embedding resource, including the contextual information and vocabulary it supplies. They do not independently remove prefix information while retaining every other property. A score increase for fastText therefore provides evidence for the resource in that configuration. It does not measure how much of the increase comes from its handling of negating morphology.

The English experiments make the choice of training source particularly visible. The Conan Doyle vectors improve over random initialization for both reported scope measures. The original fastText vectors score below random initialization on both. The better-matched fiction is one explanation the authors offer for the first result. The two pretrained resources also use different settings and training material, and the paper does not put corpus size, genre, and training objective under independent controls. The observed difference is between the available sets of representations.

What the recurrent-cell comparison isolates

The comparison with GRUs is narrower than the comparison between softmax and CRF outputs. ESSAI includes the GRU variants with random word initialization. With softmax, the BiGRU reaches 83.82 scope-token F1 and 69.01 exact-scope F1. Its CRF counterpart gives 83.76 token F1 and 72.67 exact-scope F1. As in the LSTM runs, a CRF can give a better complete-scope result while the aggregate token score changes little.

For the randomly initialized LSTM on ESSAI, the corresponding softmax scores are 84.50 token F1 and 71.47 exact-scope F1. The randomly initialized BiLSTM-CRF gives 84.09 token F1 and 74.62 exact-scope F1. With either output, the LSTM leads the analogous GRU in these runs. The pattern reinforces the authors’ choice of LSTM for their main system. It says more about this corpus and configuration than about the performance of the two cell families everywhere a sentence has to be labeled.

The authors suggest that the separate forget gate in the LSTM is useful for scope detection. That is an architectural interpretation of the comparison. Moving from LSTM to GRU changes how states and gates are organized together, so the reported comparison measures the effect of the cell as a whole. A separate intervention on the forget gate would be needed to measure its individual contribution. The paper also motivates bidirectionality from the possibility that affected words precede the cue. The results compare bidirectional variants and leave the advantage over a single direction unquantified.

Training source and amount of annotation

The transfer comparisons vary the source of labeled examples while retaining the BiLSTM-CRF design with random word initialization. In both languages, the direction from protocols to clinical material performs better on the reported token measure than the direction from clinical material to protocols. The authors read this as evidence that protocols contain a wider range of negation structures. An example of what that would mean is a protocol-trained system encountering a familiar pattern in a note after seeing several ways to express a negative criterion during training.

The scores also reflect what the target asks the system to do. Protocol-to-case and case-to-protocol tests use different targets and different training collections. The experiment does not hold the target constant while varying only the diversity of the source examples. In Brazilian Portuguese, the inconsistency of some protocol annotations supplies a further reason to distinguish the difficulty of the target from the range of structures the source contains. The controlled feature of the comparison is the shared architecture. Several properties of the data change with the direction of transfer.

In a learning-curve analysis, the authors vary the number of labeled training instances for the BiLSTM-CRF without pretrained word representations. They report that 300–350 examples on average suffice to obtain relatively good results in their setting. On the French protocols and Brazilian narratives, increasing the training material to 650 instances gives an improvement of roughly 1.5 points in the plotted result. The curve for the Brazilian protocols suggests that there is still room to improve by adding labeled material.

These curves describe how the systems respond to more examples drawn from the corpora in the experiment. The benefit of additional examples depends on what they contribute. More instances of an already frequent construction can make little difference to coverage of an uncommon cue or an unusual scope pattern. The authors’ inspection of individual failures gives concrete instances of such gaps. The curves establish the observed response to more training data, while the manual inspection identifies kinds of examples that are sparse in that data.

Errors at the edges of a scope

The authors manually inspect a large portion of the sentences with a scope prediction error. One French example has sans followed by the expression for renal failure. The system labels the noun for failure but omits the adjective for renal. The authors observe that many reference scopes associated with sans are short, frequently containing a single token. A plausible learned tendency to stop early could explain why the detector overlooks a modifier there. The effect is a missed token in recall and a failed complete match for that instance.

Prepositional attachment produces errors in either direction. A phrase introduced by French de or Portuguese da may complete the affected expression, or it may supply information outside the negation. A Brazilian narrative in the analysis denies intervening problems and mentions the time since the previous consultation. The predicted scope takes in part of that timing information. Other examples omit a phrase that the reference treats as part of the affected material. The cue can be clear while the decision about an attached phrase remains difficult.

The position of a cue in training can also be misleading. The discussion notes that aucun frequently appears early in examples, including sentences with several negations. In another arrangement, a sentence reports what special stains failed to reveal. The prediction extends into material identifying those stains and labels parts of the predicate around the actual finding. The earlier position patterns give the learner statistical evidence about typical scopes. The particular sentence requires deciding which words form the statement about an absent finding.

A French example with repeated instances of ne … pas shows the difficulty within a single sentence. The affected material in one instance can precede where the learner typically expects it. The other instance can have a shorter scope than the recurring pattern would suggest. The system may miss words in one part and add words in the other. A sentence containing a correctly recognized cue can thus contribute both precision and recall errors. The authors also describe rare cue forms for which examples were too sparse to support reliable learning of associated scope patterns.

The Brazilian Portuguese error analysis highlights coordinated noun phrases and long lists. In an eligibility criterion that denies diagnoses across a series of conditions, the prediction can leave out entire items and capture only part of a multiword item. In a shorter expression about neurological or orthopedic disease, the modifier concerning diagnosis has to be interpreted together with the coordinated expressions. The same reference can expose errors involving a local noun phrase boundary and a more distant relationship across coordination. Token and exact-scope scores capture different consequences of those decisions.

When inspecting predictions reveals a reference error

Some disagreements lead the authors to question the annotation. In a French smoking example, the system excludes a comma that had accidentally been included in the reference scope. This lowers the scores even though the system’s treatment of the comma is consistent with the authors’ intended annotation. In another case, a French construction meaning only receives scope material because a piece of the construction was interpreted as a negation. The surrounding sentence also contains a genuine negation, which makes recognizing the function of each expression important.

In the Brazilian protocols, the authors find words annotated as belonging to scopes around anti- even where the cue information signals no cue for that prefix. They also describe genuine cues omitted from parts of the reference. Taken together, these cases show why the same numerical error category can cover a missed linguistic relationship or a discrepancy in the data. The manual analysis supplies reasons to expect both. It does not provide a corrected test set or a new performance score after adjudication.

The English inspection shows familiar problems with prepositional phrases and with main-clause material erroneously drawn into a negated subordinate construction. The authors also report individual examples that their system handles better than a rerun of the Fancellu system. They qualify that comparison because the original word2vec resource used by the earlier system was unavailable to them. The inspected sentences show how predictions differ in the rerun. The published benchmark numbers remain the comparison for the earlier configuration as originally reported.

Limitations

Limits identified by the authors

The authors identify Brazilian trial protocols as the clearest weak point. The annotators did not mark shared portions from which an agreement coefficient could be obtained, and disagreements were left unresolved. The analyses identify inconsistent treatment of anti-, omitted cues, and scopes that appear in the reference without a corresponding marked cue. This affects interpretation of both precision and recall. A learner may encounter different treatments of comparable expressions during training and then be judged against another inconsistent treatment in the test material.

The conclusion treats preparation and dissemination of the corpora as ongoing work. The authors plan to add material and complete agreement work for the trial collections. They describe further correction of automatically proposed annotations in CAS before broader distribution. The Brazilian hospital narratives present a different barrier because the records concern real patients. The account of an accessible online application concerns the detector. The discussion of the datasets distinguishes their prospective release conditions and the remaining review work.

The authors treat uncertainty as a possible extension. Detecting a phrase that qualifies certainty and determining how much of the sentence it affects resemble the cue and scope problems studied here. The experiments evaluate negation. They also suggest that richer contextual representations and grammatical analyses might improve scope prediction, referring to BERT, ELMo, and syntactic parsing. These are proposed directions. The reported comparisons concern the recurrent systems and word-vector resources described in the method.

The authors also flag a limit on their qualitative reproduction of the earlier English system. Without the original word2vec resource, the examples produced by running its code may differ from those of its published best setting. The error comparison is still informative about what the two runs do in particular sentences. Its terms are narrower than a replication conducted with identical resources.

Limits of the experimental design

The paper provides separate cue and scope results. Scope labeling uses cue information and trains on sentences containing negation. A complete practical pipeline would need to account for what happens when the first stage misses a cue, invents one, or splits one expression incorrectly. A scope score measured in the cue-conditioned task cannot by itself tell a reader how frequently the joint cue and scope output is correct when the input consists of arbitrary clinical sentences. The paper’s cue results supply separate evidence about one source of downstream error.

The scope scheme is tailored to the authors’ clinical purpose. Treating a multiword disease name as a single clinical concept and limiting scope to material that conveys the focus of negation are choices about the task definition. Under another guideline, a semantic or syntactic analysis could bracket a broader construction. Success against these references shows how well the system reproduces the annotated boundaries. The article evaluates token sequences, leaving the consequences for final eligibility decisions or patient-level extraction outside the measured task.

The French vector training includes raw text from ESSAI and CAS, and the CAS annotation process uses predictions from systems trained on ESSAI as a starting point for human review. These are distinct kinds of prior exposure. Seeing text in unsupervised embedding training is different from seeing its cue and scope labels. Human review of preannotations is different from accepting the automatic output. For interpreting the experiments, both details matter. Agreement in CAS arose after annotators worked from candidate labels, while agreement in ESSAI followed direct manual annotation. The protocol-to-CAS transfer likewise takes place against a reference whose preparation had a connection to ESSAI.

The random within-corpus division supports held-out comparisons for the setup reported. The article describes the procedure at the corpus level and supplies no separate estimate for a split by hospital, document source, or recruitment protocol. Such groupings could reveal whether performance survives a change in institutions or in repeated styles of documentation. The transfer experiments do change genres, but each language supplies a particular direction between particular collections. They cannot establish how every other hospital, registry, or type of case report would behave.

The English result addresses architectural reuse with English training. It does not test whether a system trained on French can label Portuguese, or whether clinical training transfers directly into literature. Likewise, the biomedical transfer experiments stay within a language. Together these tests support reuse of a common approach with suitable data, along with a limited degree of transfer between the specific biomedical sources. Language transfer and general-to-clinical transfer under a fixed trained system are separate empirical questions.

Several comparisons establish performance rankings without identifying a single cause. The LSTM and GRU have different arrangements of their gates and states. The English embedding resources differ in training text and recipe. The protocol and narrative collections differ in annotation and document style as well as the diversity proposed by the authors. The paper supplies direct comparisons and plausible explanations, but it does not measure the effect of changing each of those properties independently. In particular, small differences between F1 values give precise rankings for the reported runs. The comparisons do not quantify how stable those rankings would be across repeated splits or random initializations.

What came after

The later French study asks whether biomedical specialization remains worthwhile and examines domain-adaptive language modelling with a new French health corpus. This brings the question of domain fit to a different unit of analysis. Dalloux and colleagues give a negation detector word representations drawn in part from biomedical material and measure performance on cue and scope labels. The later study’s stated subject is specialization using a health corpus. Its citation connects the broader question of adaptation to earlier work that made French biomedical language an explicit experimental setting. The citation does not establish reuse of ESSAI, CAS, or the negation architecture. Is Biomedical Specialization Still Worth It?

The later Brazilian Portuguese study moves from annotated clinical narratives towards an ontology, a structured account of concepts and their relationships. The relationship to negation arises at the point where a mention in a narrative is used to support a structured statement. A symptom mentioned in order to deny it carries different evidence from a symptom reported as present. Dalloux and colleagues study how to identify the words responsible for that difference. The later work addresses the broader task of structuring Brazilian Portuguese clinical data. Its citation establishes a connection to the earlier annotation study, while the role of the earlier labels, corpora, or detector in the ontology work remains unspecified. From Annotated Clinical Narratives to Ontology

Cite

Cite as Clément Dalloux, Vincent Claveau, Natalia Grabar, Lucas Emanuel Silva e Oliveira, Claudia Maria Cabral Moro, Yohan Bonescki Gumiel and Déborah Ribeiro Carvalho. 2020. Supervised learning for the detection of negation and of its scope in French and Brazilian Portuguese biomedical corpora. Natural Language Engineering.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1017/s1351324920000352

@article{dalloux2020supervised,
  title = {{Supervised learning for the detection of negation and of its scope in French and Brazilian Portuguese biomedical corpora}},
  author = {Clément Dalloux, Vincent Claveau, Natalia Grabar, Lucas Emanuel Silva e Oliveira, Claudia Maria Cabral Moro, Yohan Bonescki Gumiel and Déborah Ribeiro Carvalho},
  journal = {Natural Language Engineering},
  year = {2020},
  doi = {10.1017/s1351324920000352},
  url = {https://doi.org/10.1017/s1351324920000352}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/dalloux-2020-supervised-learning-detection-negation-its/