Interactive Span Recommendation for Biomedical Text

Louis Blankemeier, Theodore Zhao, Robert Tinn, Sid Kiblawi, Yu Gu, Akshay Chaudhari, Hoifung Poon, Sheng Zhang, Mu Wei, Joseph Preston

Abstract

Developing machine learning models for the biomedical domain is often hindered by the scarcity of high-quality labeled data. KRISS-Search is an interactive tool designed to mitigate this "labeling bottleneck" by enabling domain experts to find and recommend text spans with minimal effort. By combining a specialized medical embedding space with an active learning loop, KRISS-Search outperforms standard models like PubMedBERT by over 50% in search precision and significantly enhances performance in few-shot Named Entity Recognition (NER).

The Labeling Bottleneck in Biomedicine

High-quality labeled data is the lifeblood of medical AI, yet it remains notoriously difficult to acquire. While programmatic labeling—using code-based heuristics—offers a potential solution, it typically requires medical experts to possess programming proficiency to write complex rules. There is a clear need for tools that allow experts to identify semantically similar concepts across massive datasets without the need for code.

Existing entity linking tools are often too rigid for specialized research. While they can identify standard mentions of a disease like "hypertension," they lack the flexibility to adapt on the fly to specific user needs, such as identifying "hypertension treatments" or "hypertension comorbidities."

The KRISS-Search Framework

KRISS-Search addresses these challenges through a dual-mode architecture that leverages both unsupervised retrieval and human-in-the-loop refinement.

The KRISS-Search workflow: (a) embedding the corpus, (b) selecting spans, (c) unsupervised recommendations, (d) supervised active learning, and (e) user feedback loop.

This mode utilizes a modified version of KRISSBERT, a model pre-trained using contrastive learning on the Unified Medical Language System (UMLS) ontology. To ensure real-time performance, the researchers moved away from encoding every possible text span individually. Instead, they aggregate the embeddings of individual tokens within a span, allowing the system to process entire documents in a single pass.

To refine results, the supervised mode introduces an active learning component. Users provide a small number of "positive" and "negative" examples. The system then trains a lightweight classifier on top of the embeddings. Using "least confidence" sampling, the system identifies and presents the most ambiguous spans for user labeling, rapidly narrowing down the target concept.

Technical Innovations

  • Subjective Granularity: The system recognizes that "similarity" is goal-dependent. Through active learning, the model learns the specific level of granularity a user requires—for instance, distinguishing between "all drugs" and "only beta-blockers."
  • Efficiency via Aggregation: By aggregating token embeddings rather than using computationally expensive entity markers, the researchers reduced inference time by a factor of $N$ (the maximum span length), making real-time search over large corpora feasible.
  • Ontology-Driven Pre-training: By leveraging the hierarchical structure of the UMLS during pre-training, the model gains a superior understanding of medical relationships compared to general-purpose language models.

Evaluation and Key Results

The system was evaluated using the n2c2 (2019) discharge summary dataset and the BLURB NER benchmark, which includes five standard medical datasets (BC5-chem, BC5-disease, NCBI-disease, BC2GM, and JNLPBA).

Recall performance of KRISS-Search compared to PubMedBERT and BERT across an increasing number of nearest neighbors.
  • Search Superiority: In unsupervised mode, KRISS-Search achieved a >50% improvement in Area Under the Precision-Recall Curve (AUPRC) compared to PubMedBERT.
  • Few-Shot NER Excellence: On the BLURB benchmark, supervised KRISS-Search outperformed PubMedBERT by an average of 5.6 F1 points in few-shot scenarios.
  • Rapid Adaptation: Simulated feedback loops demonstrated that the model could reach an F1 score of 0.68 with very few labels, proving its ability to adapt quickly to specific search criteria.

Limitations and Future Directions

Despite its successes, KRISS-Search faces some hurdles. The use of a fixed maximum span length for efficiency means the model may miss long, multi-word descriptions. Additionally, the system requires the entire corpus to be embedded and stored upfront, creating computational overhead. Future research will explore integrating KRISS-Search into broader programmatic labeling workflows to further reduce the annotation burden on medical experts.

Summary updated

BibTeX
@inproceedings{blankemeier2023interactive,
  author = {Louis Blankemeier and Theodore Zhao and Robert Tinn and Sid Kiblawi and Yu Gu and Akshay Chaudhari and Hoifung Poon and Sheng Zhang and Mu Wei and Joseph Preston},
  title = {{Interactive Span Recommendation for Biomedical Text}},
  booktitle = {ClinicalNLP @ ACL},
  year = {2023},
  doi = {10.18653/v1/2023.clinicalnlp-1.40},
}
Figure