Skip to main content
QUICK REVIEW

[Paper Review] Interpretable Medical Diagnostics with Structured Data Extraction by Large Language Models

Aleksa Bisercic, Mladen Nikolić|arXiv (Cornell University)|Jun 8, 2023
Topic ModelingComputer Science7 citations
TL;DR

This paper proposes TEMED-LLM, a novel method that leverages large language models (LLMs) to extract structured tabular data from unstructured medical reports using domain-specific reasoning guidelines and a feedback loop for validation and correction. The approach achieves superior diagnostic performance over state-of-the-art text classifiers while enabling interpretable predictions via tabular ML models like decision trees and logistic regression.

ABSTRACT

Tabular data is often hidden in text, particularly in medical diagnostic reports. Traditional machine learning (ML) models designed to work with tabular data, cannot effectively process information in such form. On the other hand, large language models (LLMs) which excel at textual tasks, are probably not the best tool for modeling tabular data. Therefore, we propose a novel, simple, and effective methodology for extracting structured tabular data from textual medical reports, called TEMED-LLM. Drawing upon the reasoning capabilities of LLMs, TEMED-LLM goes beyond traditional extraction techniques, accurately inferring tabular features, even when their names are not explicitly mentioned in the text. This is achieved by combining domain-specific reasoning guidelines with a proposed data validation and reasoning correction feedback loop. By applying interpretable ML models such as decision trees and logistic regression over the extracted and validated data, we obtain end-to-end interpretable predictions. We demonstrate that our approach significantly outperforms state-of-the-art text classification models in medical diagnostics. Given its predictive performance, simplicity, and interpretability, TEMED-LLM underscores the potential of leveraging LLMs to improve the performance and trustworthiness of ML models in medical applications.

Motivation & Objective

  • To address the challenge of extracting structured tabular features from unstructured medical reports containing clinical notes and diagnostic summaries.
  • To overcome limitations of traditional text-based ML models in handling ambiguous, context-dependent, and jargon-laden medical language.
  • To develop a method that combines LLM reasoning with data validation to improve extraction accuracy and reliability.
  • To enable end-to-end interpretable medical diagnostics by applying interpretable tabular models on LLM-extracted data.
  • To demonstrate that LLM-based data extraction outperforms state-of-the-art text classification models in medical diagnostic tasks.

Proposed method

  • TEMED-LLM uses large language models (LLMs) to extract tabular features from textual medical reports based on predefined feature schemas.
  • The method incorporates domain-specific reasoning guidelines to guide LLMs in inferring features even when feature names are not explicitly mentioned.
  • A novel data validation and reasoning correction feedback loop is introduced to iteratively improve extraction quality and detect inconsistencies.
  • Extracted tabular data is processed using interpretable machine learning models such as decision trees and logistic regression for transparent, human-readable predictions.
  • The pipeline integrates LLMs for structured data extraction with classical tabular ML models to ensure both high performance and interpretability.
  • Hyperparameters for both text classifiers and tabular models were tuned via grid search, with models trained using standard NLP and ML libraries.

Experimental results

Research questions

  • RQ1Can LLMs effectively extract structured tabular features from unstructured medical reports, even when feature names are not explicitly stated?
  • RQ2Does the integration of reasoning guidelines and a feedback loop significantly improve the accuracy and reliability of tabular data extraction from clinical text?
  • RQ3How does the performance of LLM-based extraction compare to state-of-the-art text classification models in medical diagnostic tasks?
  • RQ4To what extent does the use of interpretable tabular models on LLM-extracted data enhance model transparency and clinical trustworthiness?
  • RQ5Can the proposed methodology generalize across diverse medical diagnostic tasks and real-world electronic health records?

Key findings

  • TEMED-LLM significantly outperforms state-of-the-art text classification models, including BioBERT, RoBERTa, and XLM-RoBERTa, on multiple medical diagnostic tasks.
  • The use of domain-specific reasoning guidelines and a feedback loop for validation and correction improved extraction quality, enabling accurate inference of tabular features even in the absence of explicit feature names.
  • Decision trees trained on LLM-extracted data achieved comparable performance to those trained on ground-truth tabular data, as shown in Figure 3, demonstrating high fidelity of the extraction process.
  • Logistic regression and XGBoost models applied to extracted data yielded interpretable predictions with clear feature importance, enhancing clinical trust and model transparency.
  • The method demonstrated strong performance on both public datasets and real electronic health records collected from clinicians, confirming its practical applicability.
  • The end-to-end pipeline combining LLM-based extraction with interpretable tabular modeling achieved high predictive performance while maintaining model interpretability, a key advantage over black-box NLP models.

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.