[Paper Review] Context Variance Evaluation of Pretrained Language Models for Prompt-based Biomedical Knowledge Probing
This paper proposes context variance prompting and a novel rank-change-based metric, Understand-Confuse-Misunderstand (UCM), to improve the reliability and fairness of evaluating pretrained language models (PLMs) on biomedical knowledge probing. By injecting diverse, real-world biomedical contexts from MIMIC-III, PMC, and a new LMC-EHRs dataset, the method reduces biases in prompt-based evaluation and better captures model understanding, especially for rare relations and large-N-M relations, with 12 PLMs showing improved stability and detectable comprehension beyond mere copying.
Pretrained language models (PLMs) have motivated research on what kinds of knowledge these models learn. Fill-in-the-blanks problem (e.g., cloze tests) is a natural approach for gauging such knowledge. BioLAMA generates prompts for biomedical factual knowledge triples and uses the Top-k accuracy metric to evaluate different PLMs' knowledge. However, existing research has shown that such prompt-based knowledge probing methods can only probe a lower bound of knowledge. Many factors like prompt-based probing biases make the LAMA benchmark unreliable and unstable. This problem is more prominent in BioLAMA. The severe long-tailed distribution in vocabulary and large-N-M relation make the performance gap between LAMA and BioLAMA remain notable. To address these, we introduced context variance into the prompt generation and proposed a new rank-change-based evaluation metric. Different from the previous known-unknown evaluation criteria, we proposed the concept of "Misunderstand" in LAMA for the first time. Through experiments on 12 PLMs, we showed that our context variance prompts and Understand-Confuse-Misunderstand (UCM) metric make BioLAMA more friendly to large-N-M relations and rare relations. We also conducted a set of control experiments to disentangle "understand" from just "read and copy".
Motivation & Objective
- To address the instability and bias in existing prompt-based knowledge probing methods, particularly in the biomedical domain.
- To mitigate three major biases in BioLAMA: Prompt Preference Bias (PPB), Instance Verbalization Bias (IVB), and Sample Disparity Bias (SDB).
- To improve evaluation fairness for rare relations and large-N-M relations, which suffer from long-tailed vocabulary distributions and high ambiguity in PLM predictions.
- To develop a new evaluation metric that distinguishes true understanding from mere context copying, moving beyond Top-k accuracy.
- To empirically validate that PLMs, especially biomedical-specific ones, demonstrate genuine knowledge understanding rather than simple memorization or copying.
Proposed method
- Inject context variance by generating synthetic prompts using real biomedical text from three sources: MIMIC-III (EHRs), PMC (published articles), and a new LMC-EHRs dataset not seen by any evaluated PLMs.
- Construct context segments around target entities (S, O_t), correct alternatives (O_cor), and incorrect entities (O_incor), then progressively add them to the prompt to observe ranking shifts at the [MASK] token.
- Define the UCM metric based on rank changes: classify model behavior as 'Understand' if O_t consistently ranks highly across varied contexts, 'Confuse' if it ranks low, and 'Misunderstand' if it favors incorrect or alternative entities.
- Use UMLS concept mapping to standardize entity verbalization and reduce Instance Verbalization Bias (IVB).
- Apply control experiments where O_t is replaced with a negative target; observe opposite ranking behavior to disentangle understanding from copying.
- Use statistical analysis of rank changes across thousands of context-varied prompts to determine whether a PLM truly understands a fact or merely copies from context.
Experimental results
Research questions
- RQ1Can context variance in prompts improve the reliability of knowledge probing for biomedical PLMs, especially in cases of rare relations and large-N-M relations?
- RQ2Does the proposed UCM metric better distinguish true understanding from context-dependent copying compared to Top-k accuracy?
- RQ3To what extent do context variance prompts mitigate Prompt Preference Bias (PPB), Instance Verbalization Bias (IVB), and Sample Disparity Bias (SDB)?
- RQ4Do biomedical PLMs demonstrate genuine understanding of factual knowledge, or do they merely copy from the input context?
- RQ5How do different PLMs behave under context variance, and does this behavior vary systematically across relation types and entity frequencies?
Key findings
- The UCM metric successfully identifies 'Misunderstand' behavior—where models favor incorrect or alternative entities—revealing limitations in prior Top-k ACC evaluations.
- Context variance prompts significantly improve evaluation stability and fairness, especially for rare relations and large-N-M relations, reducing the performance gap between LAMA and BioLAMA.
- Control experiments show that PLMs, particularly biomedical-specific models like BioBERT, exhibit consistent ranking shifts when O_t is replaced with a negative target, indicating true understanding beyond copying.
- The UCM metric reveals that PLMs are more likely to 'Understand' facts when context is varied, especially when the target entity is rare or part of a large-N-M relation.
- The method effectively mitigates PPB, IVB, and SDB by using diverse, real-world contexts and standardized entity mapping, leading to more reliable and comparable evaluations across PLMs.
- Empirical results on 12 PLMs demonstrate that context variance and UCM lead to more robust and interpretable knowledge probing, especially in complex biomedical scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.