Elamur Research

Probing Pre-Trained Language Models for Disease Knowledge

Paper · 2021 · Israa Alghanmi, Luis Espinosa Anke and Steven Schockaert

Summary

A system can perform well on medical text without reliably connecting a patient’s symptoms, treatment, or test results to a disease. “Probing Pre-Trained Language Models for Disease Knowledge,” by Israa Alghanmi, Luis Espinosa-Anke, and Steven Schockaert, investigates that distinction. The authors ask whether strong results on medical inference benchmarks actually demonstrate medical knowledge, or whether easier linguistic cues and similarities between training and test examples explain part of the apparent success. Their contribution is DisKnE, a benchmark designed to make these alternative explanations harder to exploit.

The starting point is medical natural language inference: deciding whether a statement follows from a clinical passage. Existing benchmarks include many examples that can be resolved through terminology, such as recognizing an abbreviation or a synonymous expression. Those examples matter, but they do not test the same capability as inferring a disease from clinical evidence. The authors therefore separate terminological recognition from medical inference. Within medical inference, they distinguish evidence about symptoms, treatments, diagnostic tests, and procedures. This organization makes the assessment more informative than a single score across mixed kinds of examples.

DisKnE also changes how examples are constructed and divided. Its positive cases come from MedNLI and MEDIQA-NLI, after manual selection of statements attributing a disease to a patient. Negative cases are generated by substituting a medically similar disease. Hierarchical relationships in SNOMED CT exclude replacements that might preserve the original inference. For each target disease, the authors create a separate training and test arrangement that removes training examples mentioning that disease, including its listed synonyms and occurrences in the clinical passage. Finally, they reduce each hypothesis to the disease name. This last step removes surrounding wording that could otherwise reveal the label without requiring the clinical evidence.

The experiments compare BERT with biomedical and clinical variants. All struggle more with medical inference than with terminological recognition. There is no universal winner: the strongest choice depends on the evidence category and the experimental setting. SciBERT is particularly successful on procedures and diagnostic tests; BioBERT performs best on treatments; and ordinary BERT is unexpectedly competitive, including strong performance on symptoms. The findings support a cautious conclusion: specialization through pretraining does not guarantee uniformly better disease reasoning.

The controlled comparisons explain why the benchmark’s construction matters. When hypotheses retain their original wording, a system that ignores the clinical passage can sometimes match or exceed a system given the complete example. Replacing that wording with a disease name substantially weakens this shortcut. Choosing unrelated negative diseases at random also makes the task easier and changes the relative ranking of systems. DisKnE consequently contributes more than a difficult test: it shows how claims about knowledge depend on which evidence an evaluation actually requires a system to use.

Interesting ideas

Separate kinds of competence. A broad task can mix lexical recognition with inferences requiring relationships between concepts. DisKnE makes those demands visible through its distinction between terminology and medical evidence categories. The same principle applies to evaluation in other domains: a legal reader might recognize a statutory abbreviation while failing to connect facts to a legal condition, and a scientific reader might understand a term without understanding the process it describes. Categorizing the required knowledge helps locate the capability responsible for success.

Hold out the concept being tested. Randomly separating examples does not necessarily separate the knowledge they contain. The authors organize testing around individual diseases and remove mentions of each target from the corresponding training material. This creates a stronger test of what the system brings into task-specific training. Elsewhere, the held-out unit could be a relation, an object category, a technical process, or a rule family. The important design choice is to split according to the intended claim, rather than assuming that different sentences represent independent knowledge.

Audit aliases and both sides of an example. A concept can remain available through a synonym or through background text even when its preferred name disappears from the answer. DisKnE therefore checks disease synonyms and premise occurrences when constructing its splits. This is a reusable data-processing idea: leakage checks should follow conceptual identity across fields and surface forms. It applies to information extraction, dictionary evaluation, document classification, and any assessment where multiple expressions refer to the same underlying item.

Choose difficult alternatives with semantic safeguards. Similar negative candidates require a system to make a meaningful distinction rather than reject an obviously unrelated answer. Yet similarity alone does not establish that a replacement is wrong. The authors combine clinical concept embeddings with exclusions based on an explicit disease hierarchy. This pairing is useful whenever a challenge set is generated automatically: a broad statistical method proposes plausible confusions, while a structured relation filters substitutions that would fail to change the intended truth conditions.

Remove answer-side shortcuts and test the removal. Canonicalizing a hypothesis strips away phrasing that may correlate with its label. The hypothesis-only comparison then asks whether the remaining input still supports unintended prediction. These are complementary operations: changing the representation addresses a suspected shortcut, while a deliberately deprived baseline checks whether the intervention worked. The idea transfers to question answering, answer-option design, entailment tests, and retrieval evaluations in which wording or formatting may disclose what should require substantive evidence.

Report both category balance and example frequency. An average across diseases asks a different question from an average influenced by how many examples each disease contributes. Keeping both views helps reveal whether performance is broad or concentrated in frequently represented cases. DisKnE also reports results by evidence category and repeats training. Together, these choices discourage a single aggregate score from hiding uneven behavior. They are useful for any evaluation with imbalanced concepts, heterogeneous reasoning demands, or training instability.

Treat benchmark difficulty as an experimental variable. Replacing similarity-based negatives with randomly chosen alternatives changes both overall performance and the ranking of systems. That result shows that candidate construction is part of the measurement instrument. An engineer can reuse this idea by evaluating the same underlying positives under different distractor policies. The comparison helps distinguish broad topic recognition from the ability to resolve close alternatives, without confusing an easier candidate set with a more capable system.

Deep dive: Probing Pre-Trained Language Models for Disease Knowledge

How DisKnE tests disease knowledge in pre-trained language models by controlling disease overlap, misleading wording, and easy negative examples. · about 37 minutes to read

How Mova uses it

Mova is a small language system written in Rust. Its native path builds dependency structures, reads event frames, and maintains a world representation with reasons for its answers. The connections below concern evaluation and data design instead of a demonstrated medical application. The available evidence does not establish an implementation of DisKnE in Mova or a measured benefit from adopting its procedures. Each status mark describes a proposed correspondence with existing mechanisms; it is not an application receipt.

Idea: Separate terminology from inference. Where: Dataset Construction, Selecting Entailment Pairs, and Table 1. Area: evaluation and lexical semantics. Mova: частково є (the dictionary, prag frames, and world readers provide distinct mechanisms). Mova could classify assessment items according to whether they require an abbreviation or synonym link, a state transition, or a further knowledge connection. This would prevent successful dictionary lookup from being treated as evidence that a reader understands consequences. Why Mova: its transparent architecture can attach a declared knowledge requirement to each item and compare that requirement with the reason actually produced.

Idea: Classify the evidence supporting an answer. Where: Selecting Entailment Pairs and Table 1. Area: evaluation and semantic representation. Mova: частково є (prag frames retain roles and world retains states and changes). The medical categories suggest a broader scheme in which an answer is tested separately when supported by an observed condition, an action, a measurement, or an intervention. A Mova assessment could label these evidence routes before examining predictions. Why Mova: separate routes would show whether a failure belongs to parsing, representation, or a missing inference rule instead of hiding them inside a combined score.

Idea: Hold out target concepts. Where: Training-Test Splits and Figure 1. Area: evaluation and data partitioning. Mova: нове. A target-based split could withhold a concept from supervised examples while testing whether general rules still operate correctly on it. This proposal is narrower than claiming that Mova already has disease-disjoint evaluation: the digest documents held-out testing, but not this particular split construction. Why Mova: concept-based testing would help distinguish reusable logic from dependence on familiar combinations of words and answers. The transfer and its effect remain unmeasured.

Idea: Audit leakage through aliases. Where: Training-Test Splits. Area: data processing and lexicography. Mova: частково є (concept codes, senses, dictionary records, and provenance-aware source handling). When reserving a concept for assessment, Mova could also reserve the relevant abbreviations, synonyms, and alternative spellings. The audit should retain which alias caused an exclusion rather than silently discarding material. Why Mova: the free dictionary can otherwise make apparently different strings behave as the same training fact, so concept-aware exclusions would make claims about unfamiliar knowledge more credible.

Idea: Check leakage across every relevant field. Where: Training-Test Splits. Area: data processing. Mova: частково є (tools/dictindex excludes assessment material and performs exact school-source checks). DisKnE removes target-disease mentions from premises as well as hypotheses. Mova could generalize that discipline to lesson text, exercise explanations, answer options, retained graphs, and review packets when defining a particular assessment boundary. Why Mova: checking only the expected answer would miss knowledge carried elsewhere in the record. The exact scope would need a declared policy and a measured audit.

Idea: Reuse limited data through target-specific evaluations. Where: Training-Test Splits. Area: experimental design. Mova: нове. Instead of relying on a single partition of concepts, Mova could create a separate evaluation arrangement for each eligible target, following the paper’s response to limited disease data. Each arrangement would retain its own training identity and exclusions. Why Mova: this could make small, carefully reviewed corpora more useful while preserving the question of transfer to a withheld target. Its computational cost and statistical dependence would need explicit reporting.

Idea: Generate close negative alternatives. Where: Generating Examples. Area: evaluation and knowledge representation. Mova: частково є (compiled concept relations and explained statistical candidates exist, but this adversarial benchmark construction is not established). Mova could build negative examples from neighboring concepts or competing rule outcomes rather than unrelated answers. A substitution would remain a candidate until checked. Why Mova: close alternatives would test whether its logical module distinguishes the relation needed by an answer, rather than merely recognizing the subject area. There is no measured result for this proposed transfer.

Idea: Filter replacements using explicit relations. Where: Generating Examples. Area: ontology and logical validation. Mova: частково є (global and onto provide typed concepts and relations). The paper’s exclusion of disease ancestors and descendants suggests a general validation gate for substitutions. If replacing a concept preserves a valid inference through a broader or narrower class, the result should not automatically receive a negative label. Why Mova: explicit logical checks fit its rule-centered direction and could prevent an automated challenge generator from teaching or measuring against invalid negatives.

Idea: Control the familiarity of distractors. Where: Generating Examples. Area: evaluation design. Mova: нове. The authors restrict replacements to diseases already represented among positive hypotheses, avoiding unusual candidates that might be easy to reject. Mova could use an analogous eligibility rule for dictionary senses or school answer alternatives, with source coverage recorded separately from semantic similarity. Why Mova: distractors should challenge the intended distinction rather than expose an unsupported or conspicuously unfamiliar term. This is a proposed assessment policy, not an existing measured mechanism.

Idea: Use canonical answer representations for diagnosis. Where: Canonicalization. Area: semantic representation and evaluation. Mova: частково є (typed concept codes and frame roles already abstract away from some wording). Mova could compare a natural-language assessment with a version whose answer side contains only a concept identifier or canonical label. The comparison would isolate effects of answer phrasing. Why Mova: it would help determine whether a gain comes from its semantic rules or from regularities in the wording of assessment options. It would not replace testing on ordinary language.

Idea: Run an answer-only negative control. Where: Discussion, Dataset Artefacts, and Table 7. Area: evaluation. Mova: частково є (school reports include controls intended to score below the real pupil). A dedicated control could remove the story, passage, or question context and preserve only the candidate answer representation. Strong performance would prompt inspection of label frequencies and wording. Why Mova: a control that lacks necessary evidence can reveal an assessment shortcut even when the normal reader prints plausible reasons. The paper does not establish how this specific control would behave in Mova.

Idea: Test a normalization change instead of assuming success. Where: Canonicalization and Table 7. Area: controlled comparisons. Mova: частково є (regression gates and negative controls are established practices). Mova could run the same context-aware and context-deprived readers before and after a proposed normalization. This would distinguish a representation change that removes leakage from one that merely changes difficulty. Why Mova: its explicit representations make such paired comparisons practical, and the result would provide evidence about the intervention instead of relying on the appeal of a cleaner format.

Idea: Compare structured and random negatives. Where: Discussion, Adversarial Examples, and Table 8. Area: evaluation. Mova: нове. A Mova challenge set could retain the same positive cases while replacing close distractors with eligible random alternatives. Results would be reported as different conditions. Why Mova: the comparison would show whether the logical reader handles nearby meanings or mainly separates broad categories. A changed ranking between readers or rule configurations would be informative, but no such ranking is established by the digest.

Idea: Preserve a binary unsupported category when needed. Where: Dataset Construction. Area: task definition and logic. Mova: частково є (gaps and failures are explicit outcomes in its readers and configured operational paths). The paper avoids forcing generated negatives into a distinction between contradiction and neutrality. Mova could similarly keep “not established by this evidence” separate from a stronger claim of falsity when building an assessment. Why Mova: logical modules should not convert insufficient support into a contradiction merely to fit a label inventory. The exact label semantics would need to be declared for each task.

Idea: Verify assertion status before selecting positives. Where: Selecting Entailment Pairs. Area: pragmatics and data admission. Mova: вже є (Frame::evid, hearsay handling, and asserted() gates distinguish reported content from admitted assertions). The authors manually exclude hypotheses that do not actually attribute the disease to the patient, including negated cases. Mova’s existing assertion controls offer a related safeguard for candidate extraction. Why Mova: finding a concept name does not establish that the text asserts the corresponding fact. Applying those controls to a DisKnE-style selector would still require validation.

Idea: Combine automatic discovery with reviewed selection. Where: Selecting Entailment Pairs. Area: data preparation. Mova: вже є (tools/enrich prepares bounded proposals, followed by teacher review and Rust validation). MetaMap identifies potential disease-bearing examples, while manual work decides whether they meet the benchmark’s meaning requirements. Mova can follow the same division of labor for new corpora: automatic extraction narrows the review set without deciding admission by itself. Why Mova: its current proposal-and-gate architecture already supports this separation, which keeps convenience in retrieval from becoming unwarranted confidence in labels.

Idea: Keep source identifiers through transformations. Where: Selecting Entailment Pairs and Generating Examples. Area: provenance and concept identity. Mova: вже є (tools/dictindex retains source credits and stable posting identities; reviewed artifacts have source fingerprints). The disease CUI links a textual mention to a concept used during replacement and exclusion. Mova can similarly retain the source occurrence, concept identity, and transformation record for generated assessment items. Why Mova: an auditable chain would let a reviewer inspect whether a failure arose from concept mapping, substitution, or the reader itself.

Idea: Repair local grammar after substitutions. Where: Training-Test Splits. Area: morphology and data processing. Mova: частково є (en::morph includes an indefinite-article mechanism based on pronunciation evidence). The paper adjusts an adjacent indefinite article when changing a disease name. Mova could use its existing article mechanism when producing English contrast items, while recording the semantic substitution separately from the grammatical repair. Why Mova: unintended grammatical defects can become shortcuts in generated negatives. The paper’s spelling-based adjustment and Mova’s documented sound-based rule are related mechanisms with different stated scopes.

Idea: Report disease-like concept slices. Where: Evaluation Protocol and Tables 2–6. Area: evaluation and diagnostics. Mova: частково є (course reports, traces, and parser diagnostics expose narrower results). Mova could report performance by target concept as well as by course or benchmark. Eligibility rules would need to be stated, especially where only a few positive examples exist. Why Mova: a strong course average can hide a concept family that its rules consistently mishandle. This proposal concerns diagnostic organization and does not imply that the digest establishes complete concept-level reporting.

Idea: Separate macro and frequency-weighted reporting. Where: Evaluation Protocol and Tables 2–8. Area: statistics. Mova: нове. For a suitable concept-based assessment, Mova could publish an average that treats eligible concepts equally alongside a frequency-sensitive view. Both would identify their weighting unit. Why Mova: its dictionary and school sources are unevenly distributed, so aggregate success may reflect common material more strongly than broad coverage. The paper motivates keeping these perspectives distinct; the usefulness of any particular weighting scheme for Mova remains unverified.

Idea: State which class a score measures. Where: Evaluation Protocol. Area: statistics and task semantics. Mova: частково є (its benchmarks name their metrics and retain counted decisions). DisKnE uses F1 for positive disease assertions rather than an unspecified overall success rate. Mova could make the evaluated outcome equally explicit for gap detection, knowledge admission, and contradiction tests. Why Mova: a score is interpretable only when readers know whether it rewards accepting valid facts, rejecting invalid ones, or both. This would sharpen reporting without requiring a neural component.

Idea: Measure variation across training runs. Where: Training Details and Tables 2–8. Area: reproducibility and statistics. Mova: частково є (deterministic repeated runs are required, and some learned components already have controlled evaluation). The paper reports variation across training runs. For Mova, identical reruns and sensitivity to deliberately changed training conditions should remain separate questions. Why Mova: deterministic execution establishes reproducibility for one configuration, while controlled variation can reveal whether a learned setting depends heavily on the chosen training arrangement. No transfer result is supplied.

Idea: Keep comparison conditions aligned. Where: Training Details. Area: experimental control. Mova: частково є (fixed seeds, held-out comparisons, and regression gates are documented). The authors use common fine-tuning settings across the compared systems. Mova could apply the same discipline when comparing lexical rules, statistical scorers, or alternative readers: identical data boundaries and evaluation inputs, with intentional exceptions recorded. Why Mova: this makes a difference in outcome easier to attribute to the changed mechanism rather than an unnoticed change in the experiment.

Idea: Inspect residual answer-frequency shortcuts. Where: Discussion, Dataset Artefacts. Area: statistics and evaluation. Mova: нове. Even after canonicalization, the paper’s hypothesis-only system retains some performance, which the authors attribute to preferences for common diseases. Mova could inspect whether answer frequencies explain success in controls after more obvious wording cues have been removed. Why Mova: canonical concepts can still have unequal label distributions. A clean representation does not on its own establish that an assessment requires reasoning.

Idea: Treat system rankings as conditional. Where: Results and Discussion, Adversarial Examples. Area: evaluation and routing. Mova: частково є (layers supports explicit domain routing with logged coverage, while automatic general composition remains direction). The paper shows that the preferred system depends on category and distractor policy. Mova could compare reader configurations by declared task conditions before selecting one operationally. Why Mova: a logical module benefits from knowing where a method is supported rather than inheriting a blanket reputation. The paper does not validate Mova’s routing thresholds or composition.

Idea: Keep clinical data access distinct from reproducibility claims. Where: the code-availability note following the contributions. Area: licensing and data governance. Mova: вже є (tools/sources and dictionary indexing preserve source and license distinctions). The authors release reconstruction and experiment code while noting that underlying resources require appropriate access and licensing. Mova should retain that distinction for any adaptation. Why Mova: publicly described procedures do not make every input eligible for a free dictionary or distributable corpus. Existing source gates provide relevant infrastructure, not permission to import these resources.

Idea: Publish safe examples without treating them as evaluation data. Where: the note accompanying Table 1. Area: documentation and privacy. Mova: частково є (source-bound examples and provenance records are documented, but this particular privacy workflow is not established). The paper illustrates categories with synthetic clinical examples for data-protection reasons. Mova could likewise distinguish explanatory examples from the actual records used to obtain a score. Why Mova: readers need concrete illustrations, while evidence claims must remain tied to the real assessment and its access conditions.

Idea: Preserve the distinction between recognition and explanation. Where: Results and Conclusion. Area: reasoning and interpretability. Mova: частково є (world returns reasons and global exposes supporting rules). DisKnE measures whether an inference is accepted, not whether a valid clinical derivation is produced. Mova could pair a classification result with a separate check of the rule or knowledge link offered as justification. Why Mova: its transparency makes this additional assessment possible, but a readable reason should itself be checked rather than counted as proof that the answer was reached correctly.

The problem and its context

Why medical benchmark success needs interpretation

The paper begins from the strong performance of pretrained systems across general and specialized language tasks. Its concern is not whether those systems are useful. It is what their benchmark results establish about the knowledge they possess. A medical inference task appears, at first, to provide a demanding test: deciding whether a diagnosis follows from a clinical description seems to require knowledge of diseases and their manifestations.

That appearance can be misleading when a dataset contains several kinds of examples. Consider the difference between recognizing that a clinical abbreviation denotes a disease and connecting a pattern of symptoms to that disease. Both can be expressed as inference pairs, but they require different resources. The former may be resolved by a lexical association. The latter requires a relationship between clinical observations and a diagnostic concept.

The paper cites an accuracy of 98% on MEDIQA-NLI from earlier work. That result provides motivation for inspection, instead of a number directly comparable with DisKnE. The datasets, label structures, and evaluation conditions differ. The authors’ question is whether such strong medical NLI results warrant a broad conclusion about medical reasoning.

Their inspection of MedNLI identifies several obstacles. Disease reasoning is not the dominant requirement in many examples. The same diseases can occur during task-specific training and testing, making it difficult to separate pre-existing knowledge from knowledge acquired through the benchmark. Finally, hypothesis wording can support prediction even when the clinical premise is absent.

These are different threats to interpretation. A dataset might contain genuine medical reasoning examples yet allow leakage across its split. A concept-disjoint split might still contain wording artifacts. Removing artifacts would not help identify disease reasoning if most remaining examples tested only terminology. DisKnE addresses the threats together because none of the changes alone answers the full question.

Knowledge probing before DisKnE

The authors place their work within research on what language models encode. Earlier probing work includes completion tasks, where a system fills a missing expression, and evaluations of linguistic properties represented in sentences. The appeal of these approaches is that task-specific learning can be reduced or avoided.

Language Models as Knowledge Bases? represents the use of manually designed prompts to recover relational information. How Can We Know What Language Models Know? and AutoPrompt belong to the later prompt-construction approaches discussed by the authors. In this context, the common issue is how the chosen interface affects access to stored information.

The paper also discusses approaches that permit limited task-specific learning. It describes oLMpics as considering both tasks without fine-tuning and settings with a small training set. Another cited biomedical study freezes transformer layers so that training uses the pretrained system as a fixed feature source. These alternatives show that there is no single uncontested procedure for isolating pretraining knowledge.

DisKnE takes a different route. It permits fine-tuning but removes the target disease from the corresponding training examples. The intention is to teach the classification task without directly teaching the disease being tested. This is a practical compromise between unconstrained task adaptation and a completely training-free probe.

The compromise matters when interpreting the conclusions. DisKnE is not a direct readout of every fact stored in the pretrained parameters. It measures performance after a particular adaptation procedure under a particular exclusion policy. Its evidence is stronger about disease knowledge than an ordinary overlapping split, while remaining conditional on the chosen task.

Why pre-training sources might matter

The compared systems differ mainly in the text used during pretraining. The paper describes BioBERT as continuing from BERT using biomedical literature. ClinicalBERT continues from BioBERT using clinical notes. SciBERT is trained from scratch on scientific articles.

These sources offer different kinds of language and evidence. Clinical notes describe patients and their care. Scientific papers discuss biomedical findings, interventions, and measurements. Encyclopedic text may present diseases through their characteristic symptoms. The authors use these differences to motivate category-specific evaluation.

Their interpretation is deliberately finer than “medical text is always better for medical tasks.” A source may be well matched to one relation and less useful for another. Recognizing disease terminology may also require less specialized exposure than distinguishing diagnoses from procedures or laboratory evidence.

The study therefore treats pretraining provenance as a possible explanation for complementary strengths. It does not experimentally isolate each corpus while holding every other training choice constant. The comparison is between available pretrained systems, not a controlled reconstruction of their complete learning histories.

Benchmark artifacts and adversarial testing

The paper connects its design to research on shortcuts in natural language inference. Hypothesis Only Baselines in Natural Language Inference and Annotation Artifacts in Natural Language Inference Data show why a system’s access to the expected evidence cannot be assumed merely from the task description.

The authors also describe earlier stress tests that alter words using lexical resources. Such tests can produce closely matched sentences whose semantic relationship changes after a targeted substitution. DisKnE adopts a related strategy for disease concepts, using medical resources to construct substitutions.

A different approach, represented by Adversarial NLI, asks human annotators to construct cases that defeat a strong system. DisKnE does not use that iterative human-versus-system procedure. Its difficulty comes from a defined concept-selection policy, supplemented by hierarchical exclusions.

This distinction explains what “adversarial” means in the study. The negative examples are chosen to be confusable with the true disease. They are not simply arbitrary false statements, and they are not selected by observing every compared system’s mistakes.

The method, step by step

Define the decision before constructing the data

The standard NLI formulation distinguishes entailment, contradiction, and neutrality. DisKnE instead asks a binary question: does the clinical evidence support the candidate disease attribution?

This choice follows from the available material. The authors find few suitable original negatives in which the hypothesis attributes a disease to the patient. They also explain that naturally occurring contradictions are difficult to obtain for their disease-centered purpose. A binary task avoids pretending that every generated replacement can be cleanly assigned to a more detailed negative category.

The distinction between “unsupported” and “false” remains important. Replacing a diagnosis may produce a statement that does not follow from the passage without producing a statement explicitly contradicted by it. DisKnE groups these cases on the negative side of its decision.

Constructing and evaluating DisKnE

The steps in order.

Constructing and evaluating DisKnEStep 1: Collect source entailment examples1. Collect source entailment examplesStep 2: Identify disease concepts automatically2. Identify disease concepts automaticallyStep 3: Review assertions and label evidence categories3. Review assertions and label evidence categoriesStep 4: Generate similar disease replacements4. Generate similar disease replacementsStep 5: Exclude target diseases from training5. Exclude target diseases from trainingStep 6: Reduce hypotheses to disease names6. Reduce hypotheses to disease namesStep 7: Fine-tune and evaluate by category7. Fine-tune and evaluate by category

Find candidate disease assertions

The source pool consists of entailment examples from MedNLI and MEDIQA-NLI. Starting with positives gives the authors clinical passages paired with statements already labeled as following from them.

They apply MetaMap to identify hypotheses containing disease names. MetaMap also supplies a UMLS Concept Unique Identifier, or CUI, for the disease. This identifier is important because the later procedures operate on disease concepts, not merely on matching strings.

Automatic identification does not finish selection. A hypothesis may mention a disease while denying that the patient has it. It may also refer to disease information without asserting the attribution required by the benchmark. The authors manually remove cases that do not express the relevant patient–disease relation.

This step separates entity recognition from proposition interpretation. Detecting the name of a disease answers which concept appears in a sentence. Selecting a positive example additionally requires deciding what the sentence says about that concept and the patient.

Label the knowledge requirement

The selected examples are manually categorized. At the broadest level, the authors distinguish terminology from medical knowledge.

A terminological example already names the disease in the clinical passage. Recognizing the hypothesis may require expanding an abbreviation, identifying a synonym, or understanding a rephrasing. The paper’s illustrative cases include the relationship between urinary tract infection and its abbreviation, and between elevated blood pressure terminology and hypertension.

Medical examples require a further connection. In the symptoms category, the clinical evidence describes signs or experiences associated with a disease. In the treatment category, medication or another treatment provides the evidence. The tests category covers laboratory findings and diagnostic investigations. The procedures category concerns operations or therapeutic interventions.

The distinction between tests and procedures is useful for reading the results. A diagnostic observation and a therapeutic intervention may both appear in a patient record, but their relationship to a disease is different. Grouping them would obscure whether a system handles one kind of association better than the other.

The examples accompanying the category descriptions are synthetic illustrations. The authors explicitly connect this choice to data protection. Those illustrations explain the intended categories; they should not be treated as disclosed patient records or as a complete account of the evaluation distribution.

Construct plausible negative candidates

Let the disease in a positive hypothesis be X. The authors seek alternative diseases that resemble X closely enough to form challenging replacements.

Similarity comes from cui2vec, a set of clinical concept embeddings. The paper describes its underlying information as combining insurance records, clinical notes, and biomedical journal material. The embeddings provide a way to rank concepts by relatedness.

The candidate pool is restricted to diseases occurring in other positive hypotheses. This prevents the generator from selecting obscure diseases that could be rejected primarily because they look unfamiliar in the task. It also keeps negative candidates connected to the benchmark’s disease inventory.

Similarity alone is not sufficient. If a replacement is a broader category containing the original disease, the passage may still support it. A narrower related disease can also create problems for the intended label. The authors therefore exclude ancestors and descendants of X according to SNOMED CT.

The selected alternatives are written as:

neg(X) = {Y₁, …, Yₙ}

Here, X is the disease in the original positive example. Each Y is an eligible replacement disease, and neg(X) is the associated replacement set. The paper selects n = 10 candidates according to similarity after applying the eligibility restrictions.

For each replacement, the premise stays fixed while the disease in the hypothesis changes. This makes the clinical evidence constant across the positive and its generated negatives. The intended challenge is to distinguish the supported diagnosis from related alternatives, rather than identify a general medical topic.

The resulting collection contains 4133 examples in the medical-knowledge group and 2639 in the terminological group. These are totals after the negative-generation process; they are not counts of original positive assertions alone.

Build a separate split for each disease

A single division into training diseases and test diseases would leave relatively little material. The authors instead define an evaluation arrangement for each target X.

They use E for the complete set of selected positive examples. The subset targeting X is:

Eₓ = {e ∈ E : the hypothesis of e attributes X}

Eₓ contains the positives whose disease attribution concerns X. The expression specifies membership in that subset; it does not introduce a separate scoring rule.

The corresponding test material contains those positives and their substituted negatives:

Testₓ = Eₓ ∪ {eₓ→ᵧ : e ∈ Eₓ, Y ∈ neg(X)}

Testₓ is the test set associated with target X. The notation eₓ→ᵧ means the example obtained by replacing X with candidate Y in the hypothesis of e. The union combines original positives with generated alternatives.

The associated training material excludes examples mentioning X. Crucially, the check covers both the premise and the hypothesis. The authors also search for the disease’s synonyms listed in UMLS. A target is therefore not protected merely by removing its preferred label from one field.

This construction aims to prevent the classifier from learning the target disease directly from task-specific training examples. It does not claim that the disease was absent from the original pretraining corpora. On the contrary, knowledge acquired before task fine-tuning is what the benchmark seeks to evaluate.

The paper’s split illustration explains this target-centered organization. A disease acts as the unit of exclusion, and each disease receives its corresponding evaluation setting. The procedure differs from assigning all examples to a single permanent training or test partition.

The authors also repair an adjacent indefinite article when replacing disease names. Their rule changes the article according to whether the new disease begins with a vowel or consonant. This is a small implementation detail with a clear purpose: generated examples should not acquire an obvious local grammatical cue merely because the disease changed.

Canonicalize the hypothesis

The authors observe that diseases are associated with different ways of expressing an attribution. A particular disease may commonly occur in a hypothesis with additional framing language, while another appears as a short diagnostic label.

If those forms correlate with the constructed labels, a classifier can exploit them without interpreting the clinical passage. Restricting the source material to entailment examples does not automatically remove the association.

DisKnE replaces each hypothesis with the disease name alone. The clinical premise remains available, but the answer side no longer carries the original sentence frame.

This is an evaluation intervention, not a claim that ordinary clinical inference should always use fragmentary hypotheses. It intentionally reduces linguistic variation to make the target relation easier to inspect. The later hypothesis-only experiment tests whether the intervention weakens the suspected shortcut.

Fine-tune under common conditions

The experiment compares BERT with BioBERT, ClinicalBERT, and SciBERT. The ordinary BERT version is base-cased. The BioBERT version uses additional exposure to PubMed and PMC. ClinicalBERT is initialized from BioBERT and then trained on notes from MIMIC-III.

The SciBERT version is cased and was trained from scratch. The paper describes its source collection as roughly 1.14M scientific papers, with 82% belonging to biomedicine. Full article text is used in that pretraining description.

Fine-tuning settings are held consistent across the compared systems. The learning rate is 2e-5, the batch size is 8, and training permits at most 8 epochs with early stopping. A validation portion contains 10% of the training data.

These shared settings make the comparison easier to interpret, although they do not establish that every system receives its individually optimal configuration. The study is primarily an assessment of available pretrained representations under a common procedure.

Evaluate the positive class by disease and category

The reported metric is F1 for positive disease attributions. F1 combines the reliability of positive predictions with the ability to recover positive examples. The paper does not present a separate mathematical derivation of the metric.

Results are reported for diseases with at least two positive examples in the relevant category. For a category-specific result, the authors use the target disease’s split and restrict the test material to that category.

The tables provide disease-level results and aggregate views. They distinguish macro averages from weighted averages, and they report variation over three runs. These details matter because the benchmark contains uneven disease coverage and categories with different demands.

The authors make available code for reconstructing DisKnE and reproducing the experiments. Access to the underlying clinical datasets and UMLS remains subject to their licensing and access requirements. Releasing the procedure therefore does not mean that every underlying input is openly redistributable.

Experiments and results

What the main comparison establishes

The broadest result is the separation between terminology and medical inference. Systems perform substantially better when the passage and candidate diagnosis are connected by abbreviation, synonymy, or rephrasing than when a disease must be inferred from clinical evidence.

This supports the paper’s motivation. A medical-language evaluation can reward useful linguistic competence without establishing equally strong disease reasoning. DisKnE makes that difference visible by assigning examples to categories before summarizing performance.

The authors suggest that the masked-language pretraining objective may be poorly matched to learning some forms of medical knowledge. That is an interpretation of the pattern, not an isolated causal experiment on the objective. The study does not replace the objective while keeping all other training conditions fixed.

A related finding is that biomedical pretraining does not produce an equally large advantage in every category. Ordinary BERT remains competitive on terminology. Specialized exposure may still help other tasks, but the terminological results do not support a blanket claim that domain-specific text is required for every aspect of medical-language understanding.

Symptoms do not produce the expected universal winner

For symptoms, the authors highlight an unexpected result: ordinary BERT performs strongly and achieves the best overall performance in their discussion of the main setting. ClinicalBERT is stronger than the other biomedical alternatives in this category.

The interpretation depends on the aggregate view. The paper suggests that ClinicalBERT is better at distinguishing less frequent diseases, whereas BERT’s encyclopedic exposure may help on more common ones. This is a proposed explanation for the observed distribution of strengths.

The authors reason that encyclopedic descriptions frequently organize disease information around symptoms. Scientific articles can place greater emphasis on treatment, procedures, and diagnostic investigations. That account is plausible within the paper’s discussion, but the experiment does not trace particular successful predictions to particular pretraining documents.

The result consequently argues against selecting a system solely because its name or source domain sounds closest to medicine. The relevant question is which relation the task asks it to recover.

Treatments, tests, and procedures reveal complementary strengths

BioBERT obtains the strongest treatment results, while the biomedical systems remain relatively close to one another. Ordinary BERT is notably weaker in this category. The authors connect that pattern to the kinds of treatment information available in biomedical literature.

SciBERT leads the tests category and is especially strong on procedures. For procedures, its macro-average positive-class F1 is 62 ±3.9. The corresponding ClinicalBERT macro average is 49 ±3.2. Both values describe the main DisKnE setting and are averaged over three runs.

These results are important because earlier biomedical evaluations discussed by the paper had frequently favored ClinicalBERT. DisKnE changes the picture by asking for more specific distinctions. A system that is effective on a broad clinical benchmark need not lead every medical-knowledge category.

The authors nonetheless stop short of recommending SciBERT for all purposes. Their discussion emphasizes uneven strengths. The benchmark is valuable precisely because it replaces a single reputation-based choice with evidence about the kind of reasoning being tested.

A direct view of hypothesis wording

The paper’s clearest controlled comparisons use ClinicalBERT. They vary whether the system sees a complete premise–hypothesis pair or only the hypothesis, and whether that hypothesis retains its original wording or is reduced to a disease name.

The following chart shows the symptoms category. All entries are macro-average F1 percentages. The plotted numbers are the reported means; the paper also provides variation across three runs.

ClinicalBERT on symptoms, macro positive-class F1

Canonical disease names sharply weaken the hypothesis-only setting.

ClinicalBERT on symptoms, macro positive-class F1Full wording, premise available (this paper): 48Full wording, premise available (thispaper)48Disease name, premise available: 46Disease name, premise available46Full wording, hypothesis only: 47Full wording, hypothesis only47Disease name, hypothesis only: 23Disease name, hypothesis only23
The numbers
System or settingF1 %
Full wording, premise available (this paper)48
Disease name, premise available46
Full wording, hypothesis only47
Disease name, hypothesis only23

With the original hypothesis wording, removing the clinical passage barely changes the mean score in this category. That is difficult to reconcile with an interpretation in which performance chiefly demonstrates using symptoms to identify a disease.

After canonicalization, the premise-aware setting remains much stronger than the hypothesis-only version. The intervention does not make the task easy, but it makes success more dependent on the evidence the task was intended to assess.

The treatment category presents an even more striking shortcut pattern.

ClinicalBERT on treatments, macro positive-class F1

Original hypothesis wording lets the deprived baseline outperform the premise-aware setting.

ClinicalBERT on treatments, macro positive-class F1Full wording, premise available: 64Full wording, premise available64Disease name, premise available: 60Disease name, premise available60Full wording, hypothesis only (this paper): 65Full wording, hypothesis only (thispaper)65Disease name, hypothesis only: 29Disease name, hypothesis only29
The numbers
System or settingF1 %
Full wording, premise available64
Disease name, premise available60
Full wording, hypothesis only (this paper)65
Disease name, hypothesis only29

The strongest plotted treatment result belongs to the hypothesis-only setting with original wording. It should not be celebrated as superior treatment reasoning: that setting cannot inspect the treatment evidence.

Instead, it demonstrates that the construction contains answer-side information useful for predicting the label. The comparison is an example of why a deliberately incomplete baseline can be more revealing than another sophisticated full-input system.

Terminological recognition behaves differently

The terminological category shows a clearer dependence on the premise even before canonicalization. This is consistent with its task structure: matching an abbreviation or synonym generally requires relating the candidate disease to the passage.

ClinicalBERT on terminology, macro positive-class F1

The premise remains valuable, and canonicalization preserves strong terminological performance.

ClinicalBERT on terminology, macro positive-class F1Full wording, premise available: 71Full wording, premise available71Disease name, premise available (this paper): 73Disease name, premise available (thispaper)73Full wording, hypothesis only: 39Full wording, hypothesis only39Disease name, hypothesis only: 25Disease name, hypothesis only25
The numbers
System or settingF1 %
Full wording, premise available71
Disease name, premise available (this paper)73
Full wording, hypothesis only39
Disease name, hypothesis only25

The result helps distinguish artifact removal from indiscriminate removal of useful information. Reducing the hypothesis does not erase the terminological task. The full-input system can still relate the disease label to a different expression in the premise.

The chart also shows why the hypothesis-only problem cannot be described with a single statement applying equally to every category. Original wording is especially damaging as an interpretive confound in the medical categories, while terminology already shows a substantial full-input advantage.

Why the reporting choices matter

The charts use macro averages, which summarize performance across diseases. The paper also reports weighted averages. These perspectives can differ because diseases contribute unequal amounts of evaluation material.

Disease-level tables provide another layer of detail. They show that the systems’ competence is uneven, instead of a uniform amount of medical knowledge applied everywhere. However, a disease-level F1 value should be read alongside the limited support permitted by the eligibility rule.

The repeated runs indicate training variation under the reported procedure. They do not represent independent samples of all possible clinical records or a confidence interval for clinical deployment. The paper’s numerical results belong to its constructed classification benchmark.

Finally, positive-class F1 should not be confused with the earlier MEDIQA-NLI accuracy mentioned in the introduction. The metric, example construction, labels, and split policy have changed. The comparison supports a qualitative warning about interpreting benchmark success; it does not supply a directly calculated deterioration from one interchangeable test to another.

What the ablations show

Canonicalization tests an identified shortcut

The paper offers controlled dataset comparisons instead of a detailed dissection of internal architecture. Its most important intervention changes the hypothesis representation while retaining the benchmark’s basic disease-centered purpose.

Without canonicalization, the full wording can encode associations between a disease and a particular sentence frame. A hypothesis-only system can exploit those associations. Because the clinical passage is unavailable, its performance exposes information that should not be sufficient under the intended reasoning task.

The comparison is especially informative because the authors originally tried to reduce artifacts by keeping source entailments and generating their own negatives. That design removes the original contrast between independently written positive and negative hypotheses, but it does not remove all label-correlated phrasing.

The remaining problem arises because a positive statement’s wording can be characteristic of its original disease. After replacing that disease with a similar alternative, the wording stays in place. It can therefore help distinguish an original pairing from a corrupted pairing.

Canonicalization attacks that mechanism by removing the surrounding expression. The answer side becomes a concept label instead of a sentence with potentially diagnostic framing. The hypothesis-only scores decrease substantially across the reported categories.

The full-input scores also change. That is expected because representation changes can remove information useful to both intended and unintended strategies. The key observation is the changed relationship between full-input and deprived-input performance, not a requirement that the intervention improve every score.

Residual performance does not mean all shortcuts disappear

The canonicalized hypothesis-only setting still performs above a trivial level in many cases. The authors attribute this to disease frequency: the classifier can learn to favor common diseases over rare ones.

The paper gives 0.167 as the F1 of an uninformed classifier that accepts every candidate. That reference helps explain why a non-zero F1 is not sufficient evidence of clinical reasoning.

The residual baseline also limits the strongest possible interpretation of canonicalization. Removing phrasing addresses a specific artifact, but it does not make the label distribution uniform or prove that every remaining successful decision depends on the premise.

This is a useful methodological distinction. An intervention can substantially improve an evaluation while leaving other confounds. The right conclusion is that the identified shortcut is weakened, not that the benchmark has become a perfect measurement of an otherwise hidden capacity.

Random negatives test the role of close alternatives

The other major intervention changes how negative diseases are selected. The main benchmark uses clinically similar alternatives. The comparison chooses diseases randomly while retaining the candidate-pool restriction and the exclusions based on SNOMED CT ancestry.

This preserves important aspects of the setup. The easier condition is not made easier by introducing wholly unrestricted labels or by abandoning the hierarchy safeguard. It changes the confusability of the candidate while keeping the broad generation strategy recognizable.

Results generally increase with random alternatives. This supports the authors’ view that similar diseases make the intended distinction more demanding. Rejecting an unrelated disease can require less precise knowledge than separating conditions sharing clinical associations.

More revealingly, the intervention changes the ranking of systems. ClinicalBERT becomes relatively stronger and leads the symptoms category in this setting. Ordinary BERT more clearly trails the biomedical systems overall, with the procedures category providing the exception described by the authors.

The comparison therefore says more than “hard negatives lower scores.” It shows that evaluation construction influences which pretraining background appears most useful. A system may be good at rejecting broad mismatches while less successful at resolving nearby disease concepts.

Category analysis is diagnostic, not a causal corpus ablation

The evidence-category breakdown is another important analysis. It reveals that symptoms, treatments, tests, and procedures are not interchangeable tests of a single undifferentiated capability.

However, comparing pretrained systems does not isolate the effect of an individual corpus. Differences in their learning histories accompany differences in source material. The paper’s corpus-based explanations should therefore be read as interpretations consistent with the results.

Similarly, the study does not directly establish that a particular pretraining objective causes a specific medical inference failure. It identifies a mismatch between broad benchmark success and performance on a more controlled disease task.

The strongest conclusions concern evaluation design: target overlap matters, answer wording can support shortcuts, and negative-selection policy changes both difficulty and relative performance. Those findings are supported by concrete interventions in the assessment itself.

Limitations

Limits explicitly recognized by the authors

The authors frame DisKnE as an assessment of disease-centered knowledge, not a complete medical-language benchmark. Its categories cover selected relationships between clinical evidence and diagnoses. Other medical tasks may require different knowledge and different forms of reasoning.

The benchmark uses a binary decision because suitable natural negatives, especially contradictions, are scarce for the intended construction. This makes the task feasible, but it sets aside distinctions that a broader clinical inference system might need to preserve.

The target-specific splitting strategy responds to limited data. A single partition by disease would leave a small evaluation resource, so the authors reuse the available pool through separate disease-centered arrangements. That choice is part of the design rather than evidence of broad disease coverage.

The paper also acknowledges that hypothesis-only performance remains nontrivial after canonicalization. Its explanation is a preference for frequent diseases. The authors consequently do not demonstrate that every possible shortcut has disappeared.

Their conclusions about system choice are qualified. Though SciBERT is consistently strong in the reported analysis, the paper does not turn that observation into a universal recommendation. Different categories and the random-negative condition favor different systems.

Reconstruction also depends on access to external resources. The experiment code is available, but clinical datasets and UMLS have their own requirements. The paper’s reproducibility claim must be understood together with those conditions.

Limits a careful reader should retain

A generated negative is an assumption about support, not necessarily a clinically impossible diagnosis. Excluding hierarchical relatives helps prevent obvious label errors, but similarity and hierarchy do not establish that every replacement is incompatible with every patient description.

A passage can support more than one disease, and a brief clinical description can leave several possibilities open. The construction is designed to create useful contrasts, but the paper does not establish an exhaustive clinical adjudication of every automatically generated negative.

The positive examples also inherit their starting point from existing entailment datasets. Manual selection and categorization make them more relevant to disease knowledge, but they do not create a representative sample of real diagnostic practice.

The disease inventory is constrained by what occurs in the selected hypotheses. Requiring a minimum amount of positive support further shapes the reported subset. Performance on that subset cannot establish competence across the complete range of diseases.

Removing a disease and its known synonyms from fine-tuning data is stronger than ordinary sentence-level separation. It still does not remove every indirect association through related concepts. The benchmark controls direct target exposure according to its procedure; it does not make the surrounding medical knowledge independent.

Canonicalization improves the ability to diagnose artifacts, but it changes the input. A bare disease label omits uncertainty, temporal framing, and other language that can matter in natural clinical statements. The resulting task should be interpreted as a controlled probe instead of a complete replacement for ordinary NLI.

The fine-tuning procedure also remains part of the measurement. A low result may reflect difficulty learning the task interface, using the available evidence, or expressing information through the classifier. It does not prove that every relevant association is absent from the pretrained representation.

Conversely, a correct classification does not reveal the reasoning route. The system may use a clinically meaningful relationship, a broad association, or an unintended regularity. DisKnE reduces several alternative explanations, but the study does not supply validated clinical derivations for individual predictions.

The reported variation across training runs measures sensitivity within the experiment. It does not cover every source of uncertainty, such as category annotation, concept linking, replacement validity, or choice of source population.

Finally, the findings concern benchmark behavior. They do not establish clinical safety, diagnostic reliability, or readiness to make decisions about patients. Those claims would require evidence beyond accepting or rejecting candidate disease labels in the constructed dataset.

What came after

The identified later citation is Cross-Lingual Consistency of Factual Knowledge in Multilingual Language Models, published in 2023. Its subject extends knowledge evaluation toward consistency across languages: whether factual information expressed through different linguistic settings yields compatible behavior.

The connection is methodological. DisKnE questions whether success under one benchmark representation establishes the intended knowledge. A cross-lingual consistency investigation asks a related question about the stability of factual behavior when the language of expression changes.

These concerns share an important distinction between a knowledge claim and the conditions under which a system demonstrates it. In DisKnE, those conditions include disease overlap, hypothesis phrasing, and the closeness of negative alternatives. In the later work’s stated subject, language is a central condition.

The citation alone does not establish that the later study adopted DisKnE’s disease categories, reproduced its target-specific splits, or used its negative-generation procedure. Nor does it establish a later numerical result about medical knowledge. The available description supports a connection in research concerns, while leaving the exact methodological inheritance unspecified.

DisKnE’s lasting methodological value is therefore best expressed through the evidence it actually supplies. It shows that a convincing knowledge evaluation needs to identify the knowledge relation, control opportunities to learn the target during adaptation, and test whether the answer can be predicted without the evidence that should justify it. Its controlled comparisons make those requirements concrete, while its uneven results preserve the distinction between broad benchmark success and dependable competence on the particular inference being tested.

Cite

Cite as Israa Alghanmi, Luis Espinosa Anke and Steven Schockaert. 2021. Probing Pre-Trained Language Models for Disease Knowledge. Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2021.findings-acl.266

@inproceedings{alghanmi2021probing,
  title = {{Probing Pre-Trained Language Models for Disease Knowledge}},
  author = {Israa Alghanmi, Luis Espinosa Anke and Steven Schockaert},
  booktitle = {Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021},
  year = {2021},
  doi = {10.18653/v1/2021.findings-acl.266},
  url = {https://doi.org/10.18653/v1/2021.findings-acl.266}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/alghanmi-2021-probing-pre-trained-language-models/