Adapting coreference resolution models to specialized domains like medicine is notoriously difficult due to technical jargon and limited annotated data. This research introduces two novel loss functions—retrofitting and scaffolding—that integrate external medical knowledge directly into neural span representations, significantly improving precision on complex, domain-specific terms.
The Problem: The "Wordpiece Trap"
Coreference resolution—the task of determining which mentions in a text refer to the same entity—has reached high performance on general datasets. However, clinical text presents a "low-resource" challenge filled with acronyms and medical terminology.
Standard models like SpanBERT use "wordpiece tokenization," which breaks unknown words into smaller fragments. In medicine, this can be misleading: unrelated terms like euthymia and dementia might both be broken down to include the suffix "##ia," tricking the model into assuming they are semantically similar based on character patterns rather than medical meaning. To overcome this without massive labeled datasets, the authors propose grounding the model in structured knowledge.
Methodology
The authors modify a standard end-to-end neural coreference system by introducing a multi-task learning objective with three components:
- Coreference Loss (CL): The standard objective that trains the model to link mentions to their correct antecedents.
- Retrofitting Loss (RL): This forces the model’s internal geometry to respect external knowledge. If a medical lexicon (like UMLS) indicates two terms belong to the same concept, the RL encourages their vector representations to be closer together.
- Scaffolding Loss (SL): An auxiliary task where the model predicts the broad category of a span (e.g., "Problem," "Treatment," or "Test"). This forces the span representation to capture the global meaning of the medical term, even if it has been fragmented by the tokenizer.
Experimental Setup
The model was pre-trained on OntoNotes (general domain) and adapted to the i2b2/VA clinical corpus. To simulate a low-data scenario, the authors used only 200 training examples. Ground truth for the retrofitting and scaffolding losses was provided by the UMLS (Unified Medical Language System) Metathesaurus.
Key Results
The combined model (CL + RL + SL) improved precision by 2.23% and the overall F1-score by 0.8% over a strong SpanBERT baseline. The most significant gains occurred on spans that were highly subdivided by the tokenizer (3.4+ wordpieces), proving the model successfully recovers meaning from fragmented technical terms.
Key Insights and Discussion
- Latent Geometry: PCA visualizations show that the proposed model creates a much more organized latent space. While baseline vectors appear disorganized, the new model's vectors cluster clearly by medical concept (e.g., Problem vs. Treatment).
- Precision vs. Recall: While precision improved significantly, recall remained largely flat. This suggests that the incompleteness of current medical lexicons may be a bottleneck; the model becomes more accurate on known terms but still struggles to find all coreferent links for terms absent from the knowledge base.
- Future Work: The authors suggest exploring more complex distance functions for retrofitting and investigating methods to improve recall for mentions that do not appear in external knowledge bases.
Summary updated