English

Infusing clinical knowledge into tokenisers for language models

Computation and Language 2024-06-21 v1 Artificial Intelligence

Abstract

This study introduces a novel knowledge enhanced tokenisation mechanism, K-Tokeniser, for clinical text processing. Technically, at initialisation stage, K-Tokeniser populates global representations of tokens based on semantic types of domain concepts (such as drugs or diseases) from either a domain ontology like Unified Medical Language System or the training data of the task related corpus. At training or inference stage, sentence level localised context will be utilised for choosing the optimal global token representation to realise the semantic-based tokenisation. To avoid pretraining using the new tokeniser, an embedding initialisation approach is proposed to generate representations for new tokens. Using three transformer-based language models, a comprehensive set of experiments are conducted on four real-world datasets for evaluating K-Tokeniser in a wide range of clinical text analytics tasks including clinical concept and relation extraction, automated clinical coding, clinical phenotype identification, and clinical research article classification. Overall, our models demonstrate consistent improvements over their counterparts in all tasks. In particular, substantial improvements are observed in the automated clinical coding task with 13\% increase on Micro F1F_1 score. Furthermore, K-Tokeniser also shows significant capacities in facilitating quicker converge of language models. Specifically, using K-Tokeniser, the language models would only require 50\% of the training data to achieve the best performance of the baseline tokeniser using all training data in the concept extraction task and less than 20\% of the data for the automated coding task. It is worth mentioning that all these improvements require no pre-training process, making the approach generalisable.

Keywords

Cite

@article{arxiv.2406.14312,
  title  = {Infusing clinical knowledge into tokenisers for language models},
  author = {Abul Hasan and Jinge Wu and Quang Ngoc Nguyen and Salomé Andres and Imane Guellil and Huayu Zhang and Arlene Casey and Beatrice Alex and Bruce Guthrie and Honghan Wu},
  journal= {arXiv preprint arXiv:2406.14312},
  year   = {2024}
}

Comments

18 pages, 6 figures

R2 v1 2026-06-28T17:13:26.287Z