NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

NLNDE at CANTEMIST: Neural Sequence Labeling and Parsing Approaches for Clinical Concept Extraction

Lukas Lange, Xiang Dai, Heike Adel, Jannik StrötgenarXiv 2020

TL;DR

The paper introduces the NLNDE system for the CANTEMIST shared task, designed to extract, normalize, and rank tumor morphology mentions in Spanish clinical text. By framing clinical entity extraction as a dependency parsing problem using a biaffine classifier and combining it with robust string-matching heuristics, the system achieves state-of-the-art performance across all three subtasks.

What Problem Does This Paper Address?

Electronic Health Records (EHRs) contain a wealth of clinical knowledge, but much of it is locked away in unstructured free text. Automatically extracting this data can improve clinical decision support and personalized care. However, natural language processing (NLP) in the medical domain is notoriously difficult due to complex terminology, long multi-token entities, and language-specific constraints.

The authors address these challenges within the context of the CANcer TEx Mining Shared Task (CANTEMIST). The task focuses on Spanish EHRs and is split into three sequential objectives:

  1. Extraction: Identifying tumor morphology mentions (Named Entity Recognition).
  2. Normalization: Mapping those mentions to specific ICD-O-3 codes.
  3. ICD Coding: Ranking the assigned codes by their importance within the document.

An example of this pipeline is illustrated below:

Figure 1: Sample sentence with normalized and ranked extractions.

Methods

The authors design a modular pipeline architecture to handle the three subtasks sequentially.

Figure 2: Overview of the NLNDE system architecture. S1, S2 and S3 are system variants in our different submissions.
  • Task 1 (Named Entity Recognition): The authors experiment with two distinct architectures. The first is a traditional sequence labeling model (BiLSTM-CRF) utilizing a rich mix of concatenated embeddings (FLAIR, fastText, BPEmb, and domain-specific SciELO embeddings) paired with custom tokenization rules. The second is a Biaffine Classifier that treats entity extraction as a dependency parsing task. It scores all possible token spans to identify entity boundaries, which naturally accommodates nested mentions and long-distance dependencies.
  • Task 2 (Normalization): Due to a large label set and limited training examples per code, deep learning models were prone to overfitting. Instead, the authors implement a strict-to-lax string matching pipeline: exact string matching $\rightarrow$ case-insensitive matching $\rightarrow$ Levenshtein distance to find the closest training instance.
  • Task 3 (ICD Coding): A straightforward frequency-based ranking function sorts the codes based on how often they appear in the document, using global training set frequency as a tie-breaker.

Datasets

  • CANTEMIST Shared Task Dataset: The primary corpus of Spanish clinical narratives annotated for tumor morphology and mapped to Spanish ICD-O-3 codes (eCIE-O-3.1).
  • External Corpora for Embeddings: Spanish Wikipedia and Common Crawl were used for general language embeddings, while the SciELO online archive provided the domain-specific clinical text required to pre-train medical fastText embeddings.

Key Insights and Ideas

  • Parsing Outperforms Labeling for Long Entities: Framing NER as a parsing task via a biaffine classifier significantly outperformed the standard BiLSTM-CRF sequence labeler. Clinical tumor mentions are often long and descriptive; the biaffine attention mechanism is inherently better at capturing these long-distance token dependencies.
  • Simplicity Wins in Low-Data Regimes: For the normalization task, a deterministic string-matching and distance heuristic outperformed complex neural network approaches. When many target codes appear only once or never in the training data, leveraging lexical similarity against known instances is highly effective.
  • Clinical Tokenization Requires Custom Rules: Standard tokenizers (like SpaCy) frequently missegment clinical text due to specialized punctuation usage (e.g., hyphens in staging codes like "T2N1M0"). Introducing custom splitting rules for prefixes, suffixes, and infixes yielded a consistent performance boost across all metrics.

Key Results

The best-performing system configuration (S4, a Biaffine model trained on a combination of the training and development sets) achieved top-tier results across all three tracks:

  • Task 1 (Extraction): $85.3\ F_1$ score
  • Task 2 (Normalization): $76.7\ F_1$ score
  • Task 3 (ICD Coding): $77.0$ Mean Average Precision (MAP)

Analysis showed that while both the BiLSTM-CRF and Biaffine models performed similarly on short, single-token entities, the Biaffine classifier achieved up to a 20-point precision advantage on multi-token entities consisting of 6 or more tokens.

Limitations and Future Work

  • The Long-Entity Performance Drop: Despite the biaffine model's success with longer phrases, both architectures still show a sharp decline in performance as entity length scales past 10 tokens. This is primarily due to the sparsity of long phrases in the training data.
  • Future Directions: The authors note that future work should focus specifically on optimizing extraction models to handle these complex, multi-token clinical descriptions more robustly.

Summary updated

BibTeX
@misc{lange2020nlnde,
  author = {Lukas Lange and Xiang Dai and Heike Adel and Jannik Strötgen},
  title = {{NLNDE at CANTEMIST: Neural Sequence Labeling and Parsing Approaches for Clinical Concept Extraction}},
  year = {2020},
  eprint = {2010.12322},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.12322},
}
Figure