mlsanityData to 7 Oct 2026

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

arXiv 2104.10652 ↗First posted 28 Mar 2021cs.CL cs.LGcited by 13

Not on the map. Why?

Abstract (arXiv)

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)

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 13 of its 23 references that are in the map. First posted on arXiv 28 Mar 2021.

Builds on

13 of 23 references.

References · 13

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  4. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  5. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  6. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  7. 2019Publicly Available Clinical BERT Embeddingscited by 995
  8. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
  9. 2017A Structured Self-attentive Sentence Embeddingcited by 318
  10. 2018Explainable Prediction of Medical Codes from Clinical Textcited by 231
  11. 2018Joint Embedding of Words and Labels for Text Classificationcited by 69
  12. 2017Multi-Label Classification of Patient Notes a Case Study on ICD Code Assignmentcited by 37
1 more
  1. 2016Condensed Memory Networks for Clinical Diagnostic Inferencingcited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 6; 2023: 1; 2024: 3; 2025: 0; 2026: 1.

13 papers.

Sort: