Syntactic methods for negation detection in radiology reports in Spanish
Paper · 2016 · Viviana Cotik, Vanesa Stricker, Jorge Vivaldi et al.
Summary
A radiology report may mention a finding to say that the examination did not detect it. A search that returns every mention will bring back reports in which the finding was absent along with reports in which it was present. Looking for a word such as the Spanish no or sin helps only if the system can tell which finding that word applies to. A sentence can describe an observed condition and deny an associated change. The study asks how to make that distinction in Spanish ultrasound reports, where sentences are often short and may contain abbreviations, misspellings, or missing punctuation. It addresses one stage of information extraction.
The authors start with reports in which possible findings have already been marked using a Spanish translation of the RadLex radiology vocabulary. They compare a dictionary baseline with an adaptation of NegEx and several kinds of handwritten syntactic rules. The baseline treats any recognized negation in the same sentence as evidence against the finding. NegEx uses phrases and a limited word window. The other approaches look at patterns of word categories, phrase groups, or grammatical connections between words. The latter two approaches try to determine which finding a cue governs by reading the structure of the sentence. A simpler version of that idea is to follow word order and selected grammatical categories, as the authors do with part-of-speech tagging.
On the test set of 1000 sentences, the Spanish NegEx adaptation and the part-of-speech rules both reach 0.92 F1 for identifying negated findings. The constituent rules reach 0.90 and have the highest precision, 0.91. The rules that follow grammatical connections between words reach 0.81 F1, while the dictionary baseline reaches 0.75. The tie on F1 conceals a small difference in the reported recall: NegEx reaches 0.98 and the word-category rules reach 0.97. The experiment therefore gives different answers to which method misses the fewest negations and which method makes the fewest incorrect negation calls.
The authors suggest that short sentences help explain why a limited window or a sequence of word categories can compete with a fuller structural analysis. They also identify two ways structure can fail in practice. Missing punctuation can prevent a constituent rule from matching, and a dependency parser trained on more general writing can struggle to recover the connections in a complex clinical sentence. The scores describe classification of already marked findings under a protocol that groups probable findings with affirmed ones and replaces doubtful cases. They establish how the methods compare for that task, with those reports and annotation choices.
Deep dive: Syntactic methods for negation detection in radiology reports in Spanish
A study of Spanish ultrasound reports compares NegEx and syntactic rules for deciding which clinical findings a sentence says are absent. · about 35 minutes to read
The problem and its context
A term can appear without an assertion of presence
Finding a clinical term in narrative text answers a question about the wording of a report. A clinician, researcher, or search user may have a different question about what the radiologist actually observed. If a term appears in a denial, an index built from terms alone can retrieve the report for the wrong reason. The paper places automatic recognition of relevant terms at the beginning of a workflow for indexing and searching medical narratives. The next step is to determine the status of those mentions, a distinction with practical consequences for information retrieval.
The paper calls a relevant medical condition or observation a finding. A trigger is an expression that signals negation. The scope of the trigger is the part of the sentence whose interpretation it affects. Consider the kinds of constructions the authors describe. In one, the radiologist reports that enlarged lymph nodes were not detected. The negative wording applies to the lymph-node finding. In another, the report describes a dilation and says its diameter did not change after urination. The denial concerns the change in diameter. Treating the dilation as absent would reverse what the report conveys about the marked finding.
This distinction produces a computational problem even with a reliable list of triggers. A trigger and a finding can be close together and still belong to different parts of the sentence. Conversely, one cue can affect more than one finding. A list joined by the Spanish ni, meaning “nor,” can continue a denial begun earlier in the sentence. The second item then needs to be interpreted in relation to the first item and the original cue. The author of a report can express a single denial over a list without repeating the same wording for each finding.
The paper also distinguishes negation from hedging. A hedge expresses uncertainty about whether an observation holds. A probable finding has a different interpretation from one the radiologist explicitly reports as absent. Historical and unclear mentions introduce additional cases in the annotation procedure. The experimental question is narrower than a complete interpretation of certainty, time, and presence. It asks whether a marked finding is negated under the study’s labeling protocol. That choice matters because an output of Affirmed can cover a probable finding as well as one reported as present.
What earlier methods looked for
In the earlier work discussed by the authors, NegEx provided a way to move from trigger recognition to an estimate of scope. It used regular expressions to recognize phrases and rules to determine whether a phrase affected a nearby clinical term. This made it possible to distinguish explicit denials without requiring a complete grammatical analysis. The paper describes a radiology search engine based on a modification of NegEx, as well as ConText, which changed how trigger scope was defined and applied the approach to different kinds of medical reports.
The paper situates its adaptation among work that brought NegEx to languages including Swedish, French, Dutch, and Spanish. The earlier Spanish work addressed clinical documents and radiology reports. This history matters for the design of the experiment. NegEx was already a plausible approach for Spanish clinical text, so a meaningful test of syntax required comparing against an adaptation of it as well as against bare dictionary lookup. It also meant that translating a trigger list was only part of the work. The authors still had to decide which trigger expressions belonged in the Spanish inventory and how to handle their scope.
Earlier syntactic approaches give the study several points of comparison. Huang and Lowe wrote grammar rules using part-of-speech categories for radiology reports. A study by Uzuner and colleagues compared an extension of NegEx with a learned approach that used lexical and syntactic information across discharge summaries and radiology reports. The paper describes Sohn and colleagues deriving negation rules from paths between words in a grammatical analysis. Mehrabi and colleagues applied grammatical connections to a more specific problem, reducing NegEx false positives. These are two distinct uses of dependency parsing.
The paper also reviews methods that learn from examples. Cruz Díaz and colleagues compared learning techniques with an approach based on regular expressions. Morante and Daelemans used learning techniques to identify negation scope in biomedical text. Rokach and colleagues derived expressions and patterns from annotated clinical documents for a learning procedure. These studies illustrate that an expression or pattern can serve as a rule someone writes by hand or as evidence selected from examples. The Spanish radiology study uses the former route for its syntactic rules. Earlier investigations also used machine learning.
Shared tasks had already treated scope as a problem that could be evaluated in its own right. One concerned hedges and the text they affect, another clinical negation and uncertainty, and another the scope and focus of negation. The papers on hedging and negation help place the radiology study within that wider set of questions. Here the operational endpoint is a decision about a preselected finding. The shared tasks cited include the CoNLL shared task on hedges and their scope and the *SEM shared task on negation scope and focus.
Why the report style matters
The ultrasound reports used in the study are brief and unstructured. A radiologist may write an anatomical label followed by a short description, or compress an observation into a fragment. The authors describe spelling mistakes, nonstandard abbreviations, and sentences without expected punctuation. For a person accustomed to the report style, the intended grouping may be clear. An automatic sentence splitter or parser has to infer the same grouping from the available text.
That has different implications for each approach. A short sentence limits how far apart a trigger and a finding can be, which makes proximity a plausible clue. Yet a sentence may also contain several compact observations separated only by a colon or by punctuation that has been omitted. In that situation, a few words of distance can span distinct observations. A phrase or dependency analysis could in principle recover the distinction. Its contribution depends on the analyzer producing a representation that suits the report’s style.
Spanish adds a resource problem as the authors describe it. They had to create their own annotated material for the comparison, and they had fewer resources suited to parsing Spanish in this particular domain. The preferred radiology vocabulary also had to be translated. As a consequence, the study compares more than abstract ideas about how to represent scope. It compares implementations whose behavior also depends on the available vocabulary, the quality of the grammatical analysis, and which examples enter the study.
The method, step by step
Mark the finding before deciding its status
The methods begin with a marked occurrence of a finding in a sentence. This is an important division of labor. The system that recognizes findings selects a term of interest. The negation method then evaluates the wording around it. A sentence can contain medical vocabulary outside the marked span, and that vocabulary can be essential to interpreting the sentence. The negation stage uses it as context for the marked finding.
To select findings, the authors use an existing procedure based on pathological terms in RadLex. They discuss other medical vocabularies, including ICD-10 and SNOMED CT, and choose RadLex because it was developed specifically for radiology. Spanish entries were available for the other inventories mentioned in the paper, whereas RadLex was available in English and German. The project uses a Spanish translation made from English. This gives the finding detector a domain-specific inventory while making the choice and boundaries of its terms dependent on translation.
A typical case discussed in the paper begins with an anatomical or regional label and follows it with a phrase containing sin. A mention of abnormalities within that phrase can be marked as a finding, and the downstream negation detector decides its status from the phrasing. A different sentence can express the same status using no before a verb of detection. The findings pipeline puts these constructions into a common form for evaluation by supplying a target span in each case.
The authors apply sentence segmentation after marking the reports. They use NLTK to split the text, then draw examples from sentences that contain a marked finding. For the test material, they check for duplicates or near-duplicates, repair segmentation problems, and replace examples in which the automatic tag selected something the annotators did not regard as a finding. The repair step matters because the containing sentence defines the scope of the input available to every method. The study uses sentence segmentation as a boundary for subsequent analysis.
From ultrasound reports to finding-level negation decisions
The steps in order.
Build rules from an analysis set
The authors distinguish the analysis material used to discover patterns from the test material used to compare systems. They inspect examples of negation, select recurring constructions, and express those constructions as rules over the relevant representation. For one method, the representation is a sequence of words and word categories. For the other syntactic methods, it is a phrase tree or a set of grammatical links between words. The learning in this part of the study consists of human examination and rule writing. The grammatical analyzers themselves are existing components used to supply the representations.
A shared assumption across the methods is that the sentence containing the finding provides the context for the decision. The methods differ over how to use that context. The dictionary baseline treats the sentence as a single search region. NegEx looks for cue phrases and limits how far they can apply. The sequence rules look for a prescribed order in the sentence. The phrase and dependency rules look for a prescribed arrangement in the analysis of that sentence. This progression changes what it means for a cue and a finding to be associated.
Dictionary lookup asks whether a cue is anywhere in the sentence
The radiology expert provides a list of expressions commonly used to negate findings in reports. The baseline checks each sentence containing a tagged finding against that list. If a cue occurs anywhere in the sentence, the baseline returns Negated. If there is no match, it returns Affirmed. The rule accepts either order of occurrence, so it will flag a sentence with a recognized cue before the target and one with a recognized cue after it.
That flexibility comes with a specific failure mode. The presence of both an observation and an unrelated denial is sufficient to trigger a negative output. In the paper’s example about a dilation and lack of change, sin is a legitimate negation cue. The cue recognizer therefore succeeds. The scope decision fails because the method has no way to assign the cue to the description of change. This is the question the more selective rules try to answer.
The baseline also clarifies what an improvement must accomplish. An elaborate treatment of the report is unnecessary when a sentence contains one marked observation and an unambiguous denial of it. A method earns its advantage when it can preserve the correct decisions in such cases while distinguishing co-occurrences in which the trigger points elsewhere. The test evaluates that behavior as a change in the counts of missed and incorrectly predicted negations.
NegEx uses phrases, direction, and boundaries
NegEx looks for conventional expressions used to deny a finding and evaluates their location relative to the target. The authors describe an operative window of 6 words in their discussion of the radiology results. The window puts a bound on the relation between a cue and a candidate finding. It is a local approximation of scope, supplemented by rules that address how a cue is used and when its effect should end.
The adaptation distinguishes genuine negation triggers from pseudo-negation phrases, expressions that resemble a cue but should not be counted as one in that use. It also labels termination and conjunction terms. A termination term supplies evidence that the negation has run its course before another part of the sentence begins. Conjunction terms matter because a conjunction can link material within the denial or help mark a boundary. The method thus uses the kind of matched phrase as well as its distance from the finding.
To build the Spanish inventory, the authors translate the NegEx trigger list automatically. The translations are reviewed by two people outside the radiology specialty, who correct or remove unsatisfactory items. They also generate additional forms needed in Spanish, including masculine and feminine forms. The paper reports 210 translated triggers. That inventory provides the translation-only condition in the test comparison.
The expanded inventory also draws from sequences in the source collection and from expressions supplied by the radiologist. The authors consider sequences of adjacent words, specifically bigrams and trigrams beginning with no. They inspect the selected sequences and discard ones that do not function as triggers, leaving 94 expressions from this procedure. The paper also describes a list of 350 triggers associated with the domain expert in its account of building the expanded set. The combined procedure draws on translated expressions, recurring local wording, and expert input. A bigram or trigram is a short sequence used here as a candidate n-gram.
The authors add some scope-ending triggers and change the handling of ni. In an observation that denies one item and follows it with another item joined by ni, the continuation can bring the later finding within the denial. Recognizing the conjunction as a trigger in that construction helps NegEx recover a negation that could otherwise be missed at the second target. This change concerns how the algorithm interprets coordination, in addition to what strings its lexicon recognizes.
The paper separates two questions that are easy to conflate. One is whether a good Spanish cue list can be obtained from a translation. The other is whether rules originally used with a different inventory handle the Spanish constructions the authors encounter. Translation, vocabulary expansion, scope endings, and coordination each act at a different point. The reported experiments compare some resulting configurations, with the rest of the changes explained as design decisions.
Part-of-speech rules match a sequence
FreeLing supplies a category tag for each word in the part-of-speech method. A tag can distinguish a verb from other words and can encode more specific information about the form. A pattern then refers to selected tags, literal words, and the already marked finding. The examples used for developing these patterns were inspected in a small set of sentences. The authors use FreeLing for this analysis.
One family of patterns captures denials in which no is followed by a verb and then by a finding. The paper writes the pattern as a chain of elements with space for intervening words.
no + … + verb + … + <finding>
The element no is the Spanish negative word, which the tagger can identify with its negation tag. The + signs put the elements in the displayed order. Each … allows zero or more intervening words. The element verb stands for a word tagged as a verb. The angle brackets in <finding> identify the span already marked as the finding.
A sentence denying detection of enlarged lymph nodes illustrates the match. The tagger recognizes no, treats the intervening se as a separate word, and identifies the form of the verb for detection. The marked lymph-node term follows. The pattern is therefore reusable across different findings and verb forms. Its conditions concern the categories and order of the relevant elements, while the gaps let other words intervene.
The pattern inventory also includes a simpler sequence from no to a finding and another from sin to a finding. Those patterns cover cases in which a verb requirement would be too restrictive, such as a report fragment that describes the absence of abnormalities. For sin, the method looks for the word itself because FreeLing identifies it as a preposition. The relevant information is its identity in context, rather than a special tag shared with no.
Other patterns extend the basic forms to a second finding joined with ni. There is a coordination version beginning with sin, one beginning with no, and one beginning with no and including a verb before the first finding. Like sin, ni is matched by its spelling. Its tag identifies it as a conjunction and thus does not supply the specific distinction the negation rule needs. The coordinated patterns make the relation between the findings explicit in the rule inventory.
The gaps in these rules operate differently from the NegEx window. A pattern permits intervening material as long as the sequence still meets the rule. The rule tracks ordering and categories, with the sentence supplying the outer boundary. It can recognize a familiar construction without specifying every word. It can also match a permitted sequence even when the relevant words belong to different grammatical groups. That is the kind of ambiguity the phrase and dependency approaches are designed to address.
Constituent rules inspect the groups of words
The constituent method uses shallow parsing to identify groups such as noun phrases, prepositional phrases, and verb groups. A constituent is a unit of the grammatical analysis composed of related material. Here the method looks for the group that contains the finding and checks how it is situated relative to a negation element. The paper implements that check through parsing.
For this method, the authors replace the tagged span with the placeholder finding before obtaining a shallow parse from FreeLing. They represent the resulting tree as an array and inspect it for the shapes their rules specify. The placeholder gives the rule a consistent point to locate. The parser still has to link it to the right surrounding material, and the rule still depends on the labels and group boundaries the parser assigns.
For a denial with no, a verb, and a finding, one rule checks for a sentence node with ordered children corresponding to negation, a verb group, and a noun phrase. The noun phrase must contain a nested nominal group and a word-level node leading to the placeholder. The check is therefore more specific than asking whether a verb appears somewhere between no and the target. It asks whether the expected groups occur as parts of the same sentence structure and whether the target lies inside the expected group.
The paper illustrates other shapes as well. A phrase with sin places the finding inside a prepositional construction. A shorter denial links no and a noun phrase without the verb group. In a coordinated denial, the structure contains separate nominal groups for the findings, with a coordination element between them. A further rule recognizes the order in which a finding appears before a colon and no follows. That last rule accommodates a short reporting format in which the label comes first and the status follows it.
The constituent patterns encode analyzer-specific categories. For example, S denotes a sentence, neg locates a negation element, grup-verb identifies a verb group, and sn identifies a noun phrase. The branches leading into the marked finding include nominal and word-level categories. The substantive checks use both the order of groups and the way they are nested. If punctuation or a fragment leads the parser to choose a different structure, a rule may fail even when the denial is evident to a reader.
Phrase grouping changes what the authors must write by hand. A rule can refer to a nominal group as a unit, rather than describing all the words that could occur inside it. This saves detail in the pattern itself. The complexity lies in getting a group that corresponds to the report’s intended construction and in providing rules for the different shapes that occur.
Dependency rules follow grammatical links
The dependency approach analyzes connections between words. A word can depend on another word, and a label on the connection describes the grammatical relation. The path between a cue and a target can then supply information about their relationship even when the number of intervening words varies. The authors use MATE to obtain the dependency trees.
To construct the rules, they parse a small set of sentences containing the familiar cues no, sin, and ni. They locate the negation expressions automatically and extract the path in the tree from a cue to the previously tagged finding. They inspect those paths, retain patterns they judge to indicate negation, and test the resulting rules on the separate test material. The path extraction is automatic. The interpretation and selection of the patterns are manual.
The first example in the paper concerns a denial of detection. The cue and finding are connected through a word on which the finding depends. The structural evidence comes from their attachment through that word. In the sin example, the finding depends on sin itself. This accommodates a fragment about a region with no abnormalities, even though its organization differs from a sentence with a verb of detection.
A third pattern concerns an anatomical term followed by no and a description, illustrated with a bile duct described as undilated. A fourth concerns a verbal denial with a coordinated pair of findings, of the kind used to deny collections and free fluid together. The shared aim is to characterize relations that are indicative of denial, whether the report uses a full verbal sentence, a prepositional phrase, a short anatomical description, or a coordinated list.
For NegEx, the distance between the cue and target is an explicit condition. For the part-of-speech rules, the order of selected elements is an explicit condition. A dependency path makes the attachment itself part of the evidence. The approach can only use the links returned by the parser, so the comparison tests the combination of the parser and the rules derived from its output. An unrecognized pattern can originate in either component.
Turn the annotations into the test decision
The human annotation begins with a richer choice than the systems’ final binary output. Annotators mark an observation as Affirmed when they can infer presence and Negated when it is reported as absent. Probable covers likely findings stated with uncertainty. Doubt covers cases such as references to the past or cases where the annotator cannot decide whether the finding is present. The paper uses this annotation procedure to define the reference decisions. This is the role of linguistic annotation.
For evaluation, probable findings are counted with affirmed findings because physicians are interested in retrieving them. Doubt cases are replaced with other annotated sentences. Consequently, the binary label Affirmed combines definite and probable observations for scoring purposes. The method is evaluated on its ability to identify denials among the examples retained under that definition.
The authors annotate in stages so that they can review the criteria as they encounter difficult cases. Some sentences are assigned to more than one person to measure agreement. Where annotators differ, the radiology expert’s judgment typically prevails. Where the criteria themselves leave a case unclear, the annotators revisit them and make a decision on that basis. These decisions define how a prediction will be counted in the test, particularly when ordinary language permits more than one interpretation of the observation.
Experiments and results
What went into the comparison
The starting collection contains about 85,600 Spanish ultrasound reports from a public hospital. The reports are approximately five lines each. The paper describes unstructured wording and imperfect punctuation, along with spelling and abbreviation problems. The starting collection supplies the pool from which sentences are selected. The experimental units are marked sentences, and each collection used in the experiment is much smaller than the full report archive.
The analysis set contains 979 sentences and the test set contains 1000 sentences. Both originate in sentences selected because the initial procedure found a radiology term. Test construction includes manual review for repeated or very similar examples, sentence boundary correction, and replacement where the marked term fails the annotators’ criterion for a finding. The test therefore represents reviewed finding-bearing sentences sampled from the reports. Whole reports, unmarked observations, and unreviewed candidate terms fall outside that comparison.
Two non-specialists annotate the analysis set. The test annotations involve two computer science specialists outside medicine and linguistics and one radiology expert. For agreement on the test material, each non-specialist shares a set of 100 sentences with the expert. Cohen’s κ is 0.97 for annotators A1 and A3 and 0.96 for A2 and A3. Cohen’s κ summarizes agreement while allowing for agreement expected by chance. The authors say the analysis set produced similar agreement. The reported overlaps provide the basis for their observation that non-specialists can apply the criteria consistently with the expert on this material.
How a decision is counted
The positive class is a negated finding. A true positive is a finding that the annotators mark as negated and the method correctly identifies as such. A false positive is a negation prediction for a finding on the affirmed side of the reference labels. A false negative is a denial the method misses, and a true negative is an affirmed reference case for which the method also returns Affirmed. These definitions matter because the word positive in the metrics refers to detecting a denial.
The paper reports precision, recall, F1, and accuracy. Its definitions of precision and recall can be expressed directly with the counts in its results.
Precision = TP ÷ (TP + FP)
Precision is the share of predicted negations that are correct. TP means true positives, and FP means false positives. The parentheses group all predicted negations into the denominator. The + sign adds the two counts, ÷ divides the correct count by that total, and = states the resulting measure.
Recall = TP ÷ (TP + FN)
Recall is the share of actual negations that are found. TP is the true-positive count, and FN is the false-negative count. The parentheses group all annotated negations into the denominator. Here + adds the two counts, ÷ divides the recovered count by that total, and = states the resulting measure.
Accuracy = (TP + TN) ÷ (TP + FP + FN + TN)
Accuracy is the share of all test decisions that are correct. TP counts correctly predicted negations, TN counts correctly predicted affirmed cases, FP counts incorrect negation predictions, and FN counts missed denials. The first parentheses group the correct predictions and the second group all predictions. The + signs add the applicable counts, ÷ divides the correct total by the full total, and = states the resulting measure.
F1 summarizes precision and recall together. In this study it expresses performance on the negated class, whereas accuracy credits correct decisions on both classes. The test contains more affirmed than negated cases, as the confusion counts show. Thus a pair of methods can share the same printed accuracy and differ in how reliably they find denials or how frequently they label an affirmed finding as absent.
Results on the Spanish ultrasound sentences
The dictionary baseline reaches 0.87 accuracy, 0.65 precision, 0.89 recall, and 0.75 F1 on the 1000 test sentences. It correctly detects 201 denials and incorrectly assigns negation to 107 cases. It misses 24 denials and correctly returns Affirmed on 668 cases. The baseline identifies many true negations. Its largest error count comes from treating a cue elsewhere in the sentence as sufficient reason to negate the finding.
Negation F1 by method on the Spanish ultrasound test set
Adapted NegEx and the word-category rules share the highest reported F1.
The numbers
| System or setting | F1 |
|---|---|
| Dictionary lookup baseline | 0.75 |
| Dependency tree rules | 0.81 |
| Constituent tree rules | 0.90 |
| Part-of-speech rules (this paper) | 0.92 |
| Adapted NegEx with combined triggers | 0.92 |
The main NegEx row uses the combined trigger inventory. It reaches 0.96 accuracy, 0.88 precision, 0.98 recall, and 0.92 F1. The method detects 220 true negations, predicts negation incorrectly in 31 cases, misses 5 denials, and correctly classifies 744 affirmed cases. This is the highest recall among the methods in the main comparison. It shows that the improvement over the baseline includes finding additional real denials as well as eliminating many incorrect calls.
The part-of-speech rules also reach 0.96 accuracy and 0.88 precision. Their recall is 0.97 and F1 is 0.92. They detect 219 true negations, produce 31 false positives, miss 6 denials, and correctly classify 744 affirmed cases. The same totals for false positives and true negatives show that the methods make the same number of errors on affirmed cases. The aggregate counts leave open whether they make those errors on the same sentences.
The constituent rules attain 0.96 accuracy, 0.91 precision, 0.89 recall, and 0.90 F1. They have 200 true positives, 19 false positives, 25 false negatives, and 756 true negatives. This is the highest precision in the main comparison. The rules are more selective about treating a cue as governing the finding, as reflected in the small false-positive count. The missed denials show the other side of that selectivity. The figures give a reader two ways to characterize the method, depending on whether incorrect denial assignments or missed denials matter more in a downstream task.
Negation precision by method on the Spanish ultrasound test set
The constituent rules give the most precise negation predictions.
The numbers
| System or setting | precision |
|---|---|
| Dictionary lookup baseline | 0.65 |
| Dependency tree rules | 0.77 |
| Part-of-speech rules | 0.88 |
| Adapted NegEx with combined triggers | 0.88 |
| Constituent tree rules (this paper) | 0.91 |
The dependency rules obtain 0.91 accuracy, 0.77 precision, 0.86 recall, and 0.81 F1. The method has 194 true positives, 61 false positives, 31 false negatives, and 714 true negatives. Its F1 exceeds the baseline’s even though its recall is lower. It makes fewer incorrect negation predictions on affirmed cases, which contributes to its better precision and F1. Among the syntactic approaches, the dependency implementation produces the lowest F1 on this test.
The main comparison therefore gives different rankings for different metrics. The baseline and constituent rules share a reported recall of 0.89, while their precision differs substantially. The constituent rules, part-of-speech rules, and adapted NegEx share 0.96 accuracy, while the constituent approach has higher precision and NegEx higher recall. The count-level reporting makes these distinctions visible, including the difference in missed negations between NegEx and the part-of-speech rules beneath their shared printed F1.
A second Spanish dataset
The authors also assess a version of their NegEx adaptation with a reduced trigger set using the Spanish medical dataset of Costumero and colleagues. This comparison asks whether a compact trigger inventory can be useful beyond the ultrasound reports used to develop and test the radiology rules. On that dataset, the adaptation reaches 0.73 F1. The implementation from Costumero and colleagues reaches 0.74 F1, and the earlier implementation from Stricker and colleagues reaches 0.67 F1.
NegEx F1 on the Spanish medical dataset of Costumero and colleagues
The reduced-trigger adaptation scores close to Costumero and colleagues’ implementation.
The numbers
| System or setting | F1 |
|---|---|
| Stricker and colleagues' NegEx | 0.67 |
| Cotik and colleagues' reduced-trigger NegEx (this paper) | 0.73 |
| Costumero and colleagues' NegEx | 0.74 |
The comparison on the second dataset concerns variants of NegEx. It gives evidence about a specific adaptation under another set of clinical-text conditions. It leaves the ranking among NegEx, word-category rules, and tree rules on the second corpus undetermined. Similarly, the authors discuss published scores for part-of-speech rules and dependency methods on English medical materials, while cautioning that the corpora and languages differ. Their strongest comparative evidence comes from running the methods side by side on the same annotated Spanish ultrasound sentences.
What the ablations show
The trigger inventory comparison
The paper compares trigger inventories and examines specific errors, although it does not report a systematic ablation that removes each rule or pipeline component in turn. The closest component comparison is between NegEx using translated triggers and the main NegEx setting using the combined inventory. The combined setting brings in expressions found in the reports and expressions suggested by the radiologist. The paper gives 0.92 F1 for that condition and reports 0.91 F1 for the translated-trigger condition.
The translated-trigger result has an internal inconsistency. The paper prints 81 true positives, 76 false positives, 144 false negatives, and 699 true negatives alongside the reported 0.91 F1. Those counts are incompatible with that F1 under the paper’s definition of negation as the positive class. They describe a condition that missed more negations than it correctly identified and made almost as many incorrect negation calls as correct ones. The printed F1 and the counts therefore cannot jointly support a conclusion about how closely the translation-only setting approached the combined inventory.
The discussion separately describes a very reduced trigger set as reaching 0.91 F1 on the ultrasound test, compared with 0.92 for the main NegEx setting. It also reports the reduced setting’s 0.73 F1 on the external Spanish medical dataset. The paper gives the reduced setting a transfer rationale. It discusses the translated-only setting in terms of how the local trigger inventory was built. The results leave the separate contributions of translated, mined, and expert-supplied terms unresolved.
Even with a consistent aggregate comparison, the combined inventory would address several changes together. Sequences mined from the reports may capture local wording. Expert suggestions may cover clinical phrasings that are infrequent in the selection of report sequences. Corrected translations contribute expressions inherited from NegEx. The study supplies no separate test score for each of these sources. It supports discussion of why the sources were combined more directly than assignment of a measured gain to any one source.
Coordination tests whether denial extends to the next finding
The coordination example in the discussion gives an interpretable reason to extend NegEx. When a sentence denies detection of one finding and joins a second finding with ni, the later item can share the denial. A rule that uses only the first cue and a local search window can have trouble with the later item. The authors describe a small code change that lets their NegEx adaptation account for that construction. The part-of-speech and tree rules also include patterns that can recognize coordinated denials.
This example identifies a distinct source of recall errors. The finding to evaluate can be grammatically included in the first denial even when its own phrase contains no repetition of the original verb and cue. The later cue ni helps by signaling a continuation. To work as intended, the rule must interpret it as part of a coordinated structure that includes the later target. Widening a window alone would also expose more unrelated findings to the initial cue.
The paper says that more complex denials are sometimes incorrectly parsed by the dependency approach. A recognizable coordination pattern therefore demonstrates coverage of a construction, while successful recognition on a given sentence still depends on the parsing stage. There are no separate test totals for coordinated findings with the change enabled and disabled. The example establishes the behavior the authors added and illustrates why it matters. The amount by which it changes overall recall remains open.
Some errors arise because the denial concerns a modifier
A second example distinguishes the presence of an entity or substance from a statement about visibility. The report describes a pancreas that cannot be seen because of abundant gas. The cue no applies to visibility. The marked item discussed by the authors is gas, which the report invokes to explain the limited view. A system that marks gas as absent confuses the scope of the denial with nearby material describing its cause.
This case expands the lesson of the baseline’s error on the dilation. A sentence can contain a valid cue and a valid finding, and the nearby clause can still say something that affirms the finding or is consistent with its presence. In the dilation case, the cue concerns a change associated with the finding. In the visibility case, it concerns what the examination could show, while another finding explains that circumstance. Recognizing the cue correctly is a separate accomplishment from identifying the observation it modifies.
The cases also explain why word distance is an imperfect substitute for interpretation. In a compact report, a target can occur only a few words from a denial of a modifier, a measurement change, or a property. A constituent analysis might put the target in a separate group, and a dependency analysis might give a path that differs from a direct denial. Such representations are useful only if the parser recovers the construction and the rule inventory distinguishes the relevant patterns.
The paper gives qualitative examples of this problem. It provides no count of modifier-related errors by method. The examples justify an interpretation of the failure and show what a more discriminating scope analysis would need to capture. The main confusion counts pool these errors with all other incorrect assignments of negation and affirmation.
Sentence length and punctuation offer different explanations
The authors expected the tree methods to benefit from working with syntactic organization. The test instead puts NegEx and the part-of-speech rules at the top by F1, with constituent rules close behind. They suggest that short sentences help the linear methods. They report an average of 14 words and a longest sentence of 74 words. A window of 6 words can capture a substantial part of the relevant wording in a short report sentence, especially when the writer uses a recurring way of expressing absence.
That explanation concerns the signal available to a rule. Punctuation has a different role because it helps determine what representation the analyzer supplies. The authors report cases in which the constituent method fails when punctuation is missing. A missing boundary can change how the parser groups wording around a cue or a finding. In that case the rule may be appropriate for the intended construction, yet the expected tree arrangement never appears.
For dependency parsing, the authors point to the training material behind MATE. It came from a general-language resource that included medical documents among other material. The authors note that medical text itself spans several types of documents, and that the material differs from radiology reports. A parser trained on those examples can bring useful grammatical knowledge to the task while remaining vulnerable to abbreviated report constructions. The dependency results thus reflect how well the available parser produces the paths on which the rules rely.
Sentence length, punctuation, and parser training provide different hypotheses for the ordering of the methods. The study gives an overall distribution summary for sentence length and examples of parser difficulties. It does not report performance broken down by length band, a paired test with punctuation restored, or a comparison after training the same parser on radiology reports. The explanations are consistent with the observed outcomes. The evidence establishes the ordering of the complete implementations on the test, while the proposed reasons remain partly unresolved.
The operating trade-off appears in the error counts
The constituent rules make 19 false-positive negation calls, compared with 31 for NegEx and 31 for the part-of-speech rules. They also miss 25 denials, compared with 5 for NegEx and 6 for the part-of-speech rules. These are different practical behaviors behind a shared reported accuracy of 0.96. When an affirmed observation is incorrectly negated, a search or extraction procedure might omit a relevant case. When a denial is missed, it might retain a mention that describes absence.
The dependency method makes 61 false-positive calls compared with the baseline’s 107, but it misses 31 denials while the baseline misses 24. This shows why the authors’ statement that all alternatives outperform the baseline is best read in terms of the overall F1 comparison. For the dependency approach, a reduction in incorrect negation predictions accompanies a decrease in recall. The direction of improvement depends on the measure.
These comparisons also put the authors’ interest in a hybrid into context. A stricter phrase rule and a more inclusive local rule have different aggregate error profiles. A hybrid could benefit if their errors are complementary and if it can recognize when to rely on each. Totals alone cannot determine either condition. Shared scores, or even similar confusion counts, give no information about which individual sentences the methods classify differently. That requires inspecting agreement and disagreement at the level of specific predictions.
Limitations
Limits identified by the authors
The authors describe shortages of Spanish data and grammatical resources, especially resources tailored to radiology. They created and annotated material for the study because an established reference set suitable for this task was unavailable to them. They identify corpus annotation as expensive and note the difficulty of obtaining specialists. Their agreement results are encouraging for the particular report type, where short descriptions and recurring formulations may make the categories easier to apply consistently. The claim concerns this task and its annotation conditions.
The authors also identify problems with the locally translated RadLex inventory. A translation can place words in an order that does not match actual usage or select an interpretation that is wrong for a medical context. Terminology can be used differently in Spanish and English. These issues arise before the negation rules are applied. A missing candidate gives the rules nothing to classify, and an incorrect span can give them the wrong target. Careful scope rules depend on an adequate finding inventory and recognizer.
Their discussion treats grammatical conformity as another constraint. The tree rules rely on the analyzer recovering the intended structure, while the predictors based on local wording can frequently work with incomplete sentences. Missing punctuation, typographical errors, and shorthand can all affect the analyses. The authors suggest examining more complex sentences to determine when full structure becomes more valuable. The evaluation mostly reflects the sentence style that motivated the study.
The authors further note that NegEx gives only a partial treatment of scope, because its word window limits where it looks for applicable cues. The word-category method also depends on the particular sequences represented in the rules. A small analysis set makes it difficult to anticipate the range of forms in which a denial can appear. The constituent method can condense a group of words into one unit for rule writing, but that advantage remains tied to the expected shape being present in the output of the analyzer.
Comparing to earlier work imposes a further limitation the authors point out. A score from another language, corpus, or clinical genre reflects its own annotation and writing conventions. Apparent proximity between published F1 scores is descriptive under those conditions. The experiment on the dataset of Costumero and colleagues supplies a more direct comparison among NegEx variants on the same data, with narrower coverage of the methods considered here.
Limits visible in the evaluation design
The ultrasound comparison measures negation conditional on finding selection. Sentences enter the candidate pool after a translated RadLex procedure marks a term. Test preparation then removes examples whose marked spans the annotators do not regard as findings. That design provides suitable inputs for a comparison of scope rules. It means the scores cannot serve as estimates of accuracy for an end-to-end system beginning with an arbitrary clinical report. A system used that way would also have to account for terms the recognizer missed and terms it tagged incorrectly.
The corrections made during test construction narrow the interpretation further. Repairing a tokenizer’s failure to separate sentences gives all methods a more reliable local context. In a raw report pipeline, failing to split neighboring observations can put an unrelated cue in the same input as the finding. The dictionary baseline explicitly depends on that boundary, and the other methods can also be affected. The study measures performance after the authors review those boundaries in the test material.
The binary labels are appropriate to a particular retrieval objective. Grouping probable findings with affirmed ones keeps uncertain observations available for retrieval. Replacing doubtful cases yields a dataset that concentrates on decisions the annotation scheme can resolve for this experiment. The resulting score cannot tell a reader how well the system distinguishes definite presence from likelihood, or how it would behave if unclear and historical examples remained in the test. Those are separate tasks even though they begin with the same marked terms.
The explicit sentence boundary also limits the context available to the rules. A status expressed elsewhere in a report, or clarified only by an adjacent sentence, lies outside the input considered by each method. The approach can succeed where the operative cue and its target are contained within the same sentence. The study offers no measurement for linking a finding to a denial or qualification across sentence boundaries.
The test results come from one collection of ultrasound reports from one public hospital. The paper’s manual review for repetitive examples reduces one source of duplication within the test. It does not provide an independent radiology evaluation at another hospital or on other examination types. Differences in abbreviations, findings, or report layouts could affect both the candidate detector and the rules for assigning status. The additional Spanish dataset broadens the evidence for a reduced NegEx configuration, with transfer of the syntactic rules still untested in that comparison.
The agreement scores also have a specific scope. Each reported κ comes from an overlap of 100 test sentences between the expert and one non-specialist. The protocol permits review of the criteria and ordinarily privileges the expert’s decision in disagreements. The high scores show that those annotators had substantial agreement on the overlapping examples under the study’s procedure. They cannot establish that any non-specialist could independently annotate new medical genres with the same reliability.
Finally, the headline F1 values are aggregate estimates from a single reported split, with no uncertainty estimates or significance tests for differences between the approaches. The identical printed F1 for NegEx and the part-of-speech rules leaves room for differences in both the sentences they get right and their behavior on another sample. The near performance of the constituent method likewise depends on which metric matters for the intended use. The most defensible interpretation is a comparison on this reviewed benchmark, where individual methods show measurable precision and recall tradeoffs and the tree representations yield different outcomes.
What came after
The paper’s documented continuation consists of the authors’ plans for improving the dependency patterns, comparing combinations of the existing methods, and extending the status categories and report types under study. It contains no completed follow-up results for those projects. A later citing study is unavailable to establish which of those proposals was subsequently adopted or what it achieved.
The authors were examining improvements to the dependency patterns and considering a voting procedure. Under the proposed vote, the output label would be determined by whichever decision most methods returned. The rationale is tied to the comparison of representations. A method that misses a construction because it expects a particular parse may encounter a cue sequence handled by a linear rule. A local rule that makes an incorrect assignment may be checked by methods that expect a more specific phrase structure. A vote can help only where there is enough useful disagreement. Closely related methods could make the same error and reinforce it.
A proposed hybrid would use the strengths of NegEx and the syntactic approaches more selectively. The constituent results show a point of departure because the method makes relatively few incorrect negation predictions, while NegEx recovers more denials on the ultrasound test. A combination would have to decide how to act when those kinds of evidence conflict. The paper frames this as work to be evaluated, with better F1 as its aim. The error counts motivate the proposal but do not demonstrate that a hybrid attains that aim.
The authors also plan to address hedges and to use the methods with other Spanish medical reports. The hedge proposal returns to a distinction already present in the annotations. The study recognized probable findings but combined them with affirmed observations when scoring negation. A dedicated treatment of hedging would have to preserve uncertainty as an outcome and establish which finding an uncertainty cue affects. Testing other report types would address a separate question about how strongly the results depend on the short, noisy ultrasound sentences and their recurring wording. The paper leaves both questions for future evaluation.
Cite
Cite as Viviana Cotik, Vanesa Stricker, Jorge Vivaldi and Horacio Rodriguez. 2016. Syntactic methods for negation detection in radiology reports in Spanish. Proceedings of the 15th Workshop on Biomedical Natural Language Processing.
@inproceedings{cotik2016syntactic,
title = {{Syntactic methods for negation detection in radiology reports in Spanish}},
author = {Viviana Cotik, Vanesa Stricker, Jorge Vivaldi and Horacio Rodriguez},
booktitle = {Proceedings of the 15th Workshop on Biomedical Natural Language Processing},
year = {2016},
doi = {10.18653/v1/w16-2921},
url = {https://doi.org/10.18653/v1/w16-2921}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/cotik-2016-syntactic-methods-negation-detection-radiology/