Skip to main content
QUICK REVIEW

[Paper Review] Large language models are good medical coders, if provided with tools

Keith Kwan|arXiv (Cornell University)|Jul 6, 2024
Machine Learning in HealthcareComputer Science5 citations
TL;DR

The study introduces a two-stage Retrieve-Rank system that achieves 100% exact-match ICD-10-CM coding on 100 single-term conditions, outperforming a vanilla GPT-3.5-turbo LLM which achieves 6%.

ABSTRACT

This study presents a novel two-stage Retrieve-Rank system for automated ICD-10-CM medical coding, comparing its performance against a Vanilla Large Language Model (LLM) approach. Evaluating both systems on a dataset of 100 single-term medical conditions, the Retrieve-Rank system achieved 100% accuracy in predicting correct ICD-10-CM codes, significantly outperforming the Vanilla LLM (GPT-3.5-turbo), which achieved only 6% accuracy. Our analysis demonstrates the Retrieve-Rank system's superior precision in handling various medical terms across different specialties. While these results are promising, we acknowledge the limitations of using simplified inputs and the need for further testing on more complex, realistic medical cases. This research contributes to the ongoing effort to improve the efficiency and accuracy of medical coding, highlighting the importance of retrieval-based approaches.

Motivation & Objective

  • Motivate improved automated ICD-10-CM coding through retrieval-augmented generation.
  • Evaluate whether tool-assisted retrieval can overcome limitations of direct LLM coding.
  • Compare a Retrieve-Rank system against a vanilla LLM baseline on a controlled dataset of single-term conditions.
  • Assess limitations and generalizability of the approach to more complex medical coding tasks.

Proposed method

  • Use ColBERT-V2 to retrieve top-k ICD-10-CM code candidates for a given single-term condition.
  • Apply GPT-3.5-turbo to rerank retrieved candidates and select the final code.
  • Train an ICD-10-CM data index from CDC ICD-10-CM data and build a RAG system using Ragatouille.
  • Normalize ICD-10-CM codes (remove periods, uppercase) for consistent evaluation.
  • Evaluate top-one accuracy by comparing the predicted code to the true code on 100 sampled entries.

Experimental results

Research questions

  • RQ1Can a retrieval-augmented system outperform a vanilla LLM in ICD-10-CM code prediction for single-term inputs?
  • RQ2What accuracy can be achieved with a two-stage Retrieve-Rank approach on a controlled ICD-10-CM coding task?
  • RQ3How does the Retrieve-Rank system handle specificity in anatomical location and encounter details across diverse medical domains?

Key findings

  • The Retrieve-Rank system achieves 100% exact-match accuracy on 100 samples.
  • The Vanilla LLM (GPT-3.5-turbo) achieves 6% accuracy on the same task.
  • Retrieve-Rank consistently captures precise anatomical details and encounter types that the Vanilla LLM often misses.
  • The approach demonstrates high precision across orthopedics, ophthalmology, cardiology, and oncology cases in the dataset.
  • The study notes the small sample size and calls for testing on larger, more diverse datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.