Papers
Topics
Authors
Recent
Search
2000 character limit reached

Segmented Harmonic Loss: Handling Class-Imbalanced Multi-Label Clinical Data for Medical Coding with Large Language Models

Published 6 Oct 2023 in cs.CL and cs.AI | (2310.04595v1)

Abstract: The precipitous rise and adoption of LLMs have shattered expectations with the fastest adoption rate of any consumer-facing technology in history. Healthcare, a field that traditionally uses NLP techniques, was bound to be affected by this meteoric rise. In this paper, we gauge the extent of the impact by evaluating the performance of LLMs for the task of medical coding on real-life noisy data. We conducted several experiments on MIMIC III and IV datasets with encoder-based LLMs, such as BERT. Furthermore, we developed Segmented Harmonic Loss, a new loss function to address the extreme class imbalance that we found to prevail in most medical data in a multi-label scenario by segmenting and decoupling co-occurring classes of the dataset with a new segmentation algorithm. We also devised a technique based on embedding similarity to tackle noisy data. Our experimental results show that when trained with the proposed loss, the LLMs achieve significant performance gains even on noisy long-tailed datasets, outperforming the F1 score of the state-of-the-art by over ten percentage points.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (39)
  1. Train with mixed precision. https://docs.nvidia.com/deeplearning/performance/mixed-precision-training/index.html, Feb 2023.
  2. WHO calls for safe and ethical ai for health. https://www.who.int/news/item/16-05-2023-who-calls-for-safe-and-ethical-ai-for-health, May 2023.
  3. xTuring - build and control your own LLMs. https://xturing.stochastic.ai/, 2023.
  4. Tiago Bianchi. Alphabet: Global annual revenue by segment 2022. https://www.statista.com/statistics/633651/alphabet-annual-global-revenue-by-segment/, Feb 2023.
  5. End to end learning for self-driving cars. 04 2016.
  6. Don Clark. How nvidia built a competitive moat around a.i. chips. https://www.nytimes.com/2023/08/21/technology/nvidia-ai-chips-gpu.html, Aug 2023.
  7. Class-balanced loss based on effective number of samples. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9260–9269, 2019.
  8. Open sourcing bert: State-of-the-art pre-training for natural language processing. https://ai.googleblog.com/2018/11/open-sourcing-bert-state-of-art-pre.html, Nov 2018.
  9. BERT: pre-training of deep bidirectional transformers for language understanding. In Jill Burstein, Christy Doran, and Thamar Solorio, editors, Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4171–4186. Association for Computational Linguistics, 2019.
  10. Chowdhery et al. Palm: Scaling language modeling with pathways. ArXiv, abs/2204.02311, 2022.
  11. Singhal et al. Large language models encode clinical knowledge. Nature, 620(7972):172–180, 2023.
  12. Touvron et al. Llama 2: Open foundation and fine-tuned chat models, 2023.
  13. ICD - ICD-9-CM - international classification of diseases, ninth revision, clinical modification. https://www.cdc.gov/nchs/icd/icd9cm.htm, Nov 2021.
  14. Health insurance portability and accountability act of 1996 (hipaa). https://www.cdc.gov/phlp/publications/topic/hipaa.html, Jun 2022.
  15. Estimating gpu memory consumption of deep learning models. pages 1342–1352, 11 2020.
  16. Domain-specific language model pretraining for biomedical natural language processing, 2020.
  17. Lora: Low-rank adaptation of large language models, 2021.
  18. Krystal Hu. ChatGPT sets record for fastest-growing user base - analyst note. https://www.reuters.com/technology/chatgpt-sets-record-fastest-growing-user-base-analyst-note-2023-02-01/, Feb 2023.
  19. Hillel Italie. “game of thrones” creator and other authors sue chatgpt-maker openai for copyright infringement. https://apnews.com/article/openai-lawsuit-authors-grisham-george-rr-martin-37f9073ab67ab25b7e6b2975b2a63bfe, Sep 2023.
  20. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2704–2713, 2018.
  21. MIMIC-IV. https://physionet.org/content/mimiciv/1.0/, 2021.
  22. Mimic-iv, a freely accessible electronic health record dataset. Scientific Data, 10:1, 01 2023.
  23. Read, attend, and code: Pushing the limits of medical codes prediction from clinical notes by machines, 2021.
  24. Focal loss for dense object detection. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 2999–3007, 2017.
  25. Effective convolutional attention network for multi-label clinical document classification. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 5941–5953, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics.
  26. Decoupled weight decay regularization. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019.
  27. Research ltd and Markets. AI in medical coding market size, share and trends analysis report by component (in-house, outsourced), by region (north america, europe, APAC, latin america, MEA), and segment forecasts, 2023 - 2030. https://www.researchandmarkets.com/reports/5853844/.
  28. Explainable prediction of medical codes from clinical text. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 1101–1111, New Orleans, Louisiana, June 2018. Association for Computational Linguistics.
  29. Pandu Nayak. Understanding searches better than ever before. https://blog.google/products/search/search-language-understanding-bert/, Oct 2019.
  30. U.S. National Library of Medicine. National center for biotechnology information. https://pubmed.ncbi.nlm.nih.gov/.
  31. The transformational role of gpu computing and deep learning in drug discovery. Nature Machine Intelligence, 4:211–221, 03 2022.
  32. Google SearchLiaison [@searchliaison]. BERT, our new way for google search to better understand language, is now rolling out to over 70 languages worldwide. [Tweet]. https://twitter.com/dasaptaerwin/status/465577518565580801, Feb 2023.
  33. Multi-label borderline oversampling technique. Pattern Recognition, 145:109953, 2024.
  34. Attention is all you need. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017.
  35. A label attention model for ICD coding from clinical text. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence. International Joint Conferences on Artificial Intelligence Organization, jul 2020.
  36. GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model. https://github.com/kingoflolz/mesh-transformer-jax, May 2021.
  37. Optimized glycemic control of type 2 diabetes with reinforcement learning: a proof-of-concept trial. Nature Medicine, 09 2023.
  38. Knowledge injected prompt based fine-tuning for multi-label few-shot icd coding, 2022.
  39. Automatic ICD coding exploiting discourse structure and reconciled code embeddings. In Proceedings of the 29th International Conference on Computational Linguistics, pages 2883–2891, 2022.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.