Skip to main navigation Skip to search Skip to main content

TransICD: Transformer Based Code-Wise Attention Model for Explainable ICD Coding

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

International Classification of Disease (ICD) coding procedure which refers to tagging medical notes with diagnosis codes has been shown to be effective and crucial to the billing system in medical sector. Currently, ICD codes are assigned to a clinical note manually which is likely to cause many errors. Moreover, training skilled coders also requires time and human resources. Therefore, automating the ICD code determination process is an important task. With the advancement of artificial intelligence theory and computational hardware, machine learning approach has emerged as a suitable solution to automate this process. In this project, we apply a transformer-based architecture to capture the interdependence among the tokens of a document and then use a code-wise attention mechanism to learn code-specific representations of the entire document. Finally, they are fed to separate dense layers for corresponding code prediction. Furthermore, to handle the imbalance in the code frequency of clinical datasets, we employ a label distribution aware margin (LDAM) loss function. The experimental results on the MIMIC-III dataset show that our proposed model outperforms other baselines by a significant margin. In particular, our best setting achieves a micro-AUC score of 0.923 compared to 0.868 of bidirectional recurrent neural networks. We also show that by using the code-wise attention mechanism, the model can provide more insights about its prediction, and thus it can support clinicians to make reliable decisions. Our code is available online (https://github.com/biplob1ly/TransICD ).

Original languageEnglish
Title of host publicationArtificial Intelligence in Medicine - 19th International Conference on Artificial Intelligence in Medicine, AIME 2021, Proceedings
EditorsAllan Tucker, Pedro Henriques Abreu, Jaime Cardoso, Pedro Pereira Rodrigues, David Riaño
PublisherSpringer Science and Business Media Deutschland GmbH
Pages469-478
Number of pages10
ISBN (Print)9783030772109
DOIs
StatePublished - 2021
Event19th International Conference on Artificial Intelligence in Medicine, AIME 2021 - Virtual, Online
Duration: Jun 15 2021 → Jun 18 2021

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume12721 LNAI
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference19th International Conference on Artificial Intelligence in Medicine, AIME 2021
CityVirtual, Online
Period06/15/21 → 06/18/21

Keywords

  • ICD
  • Multi-label classification
  • Transformer-based model

Fingerprint

Dive into the research topics of 'TransICD: Transformer Based Code-Wise Attention Model for Explainable ICD Coding'. Together they form a unique fingerprint.

Cite this