Leveraging Fine-Tuned Large Language Models for Interpretable Pancreatic Cystic Lesion Feature Extraction and Risk Categorization

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Rasromani, Ebrahim, Kang, Stella K., Xu, Yanqi, Liu, Beisong, Luhadia, Garvit, Chui, Wan Fung, Pasadyn, Felicia L., Hung, Yu Chih, An, Julie Y., Mathieu, Edwin, Gu, Zehui, Fernandez-Granda, Carlos, Javed, Ammar A., Sacks, Greg D., Gonda, Tamas, Huang, Chenchan, Shen, Yiqiu
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912502896394240
author Rasromani, Ebrahim
Kang, Stella K.
Xu, Yanqi
Liu, Beisong
Luhadia, Garvit
Chui, Wan Fung
Pasadyn, Felicia L.
Hung, Yu Chih
An, Julie Y.
Mathieu, Edwin
Gu, Zehui
Fernandez-Granda, Carlos
Javed, Ammar A.
Sacks, Greg D.
Gonda, Tamas
Huang, Chenchan
Shen, Yiqiu
author_facet Rasromani, Ebrahim
Kang, Stella K.
Xu, Yanqi
Liu, Beisong
Luhadia, Garvit
Chui, Wan Fung
Pasadyn, Felicia L.
Hung, Yu Chih
An, Julie Y.
Mathieu, Edwin
Gu, Zehui
Fernandez-Granda, Carlos
Javed, Ammar A.
Sacks, Greg D.
Gonda, Tamas
Huang, Chenchan
Shen, Yiqiu
contents Background: Manual extraction of pancreatic cystic lesion (PCL) features from radiology reports is labor-intensive, limiting large-scale studies needed to advance PCL research. Purpose: To develop and evaluate large language models (LLMs) that automatically extract PCL features from MRI/CT reports and assign risk categories based on guidelines. Materials and Methods: We curated a training dataset of 6,000 abdominal MRI/CT reports (2005-2024) from 5,134 patients that described PCLs. Labels were generated by GPT-4o using chain-of-thought (CoT) prompting to extract PCL and main pancreatic duct features. Two open-source LLMs were fine-tuned using QLoRA on GPT-4o-generated CoT data. Features were mapped to risk categories per institutional guideline based on the 2017 ACR White Paper. Evaluation was performed on 285 held-out human-annotated reports. Model outputs for 100 cases were independently reviewed by three radiologists. Feature extraction was evaluated using exact match accuracy, risk categorization with macro-averaged F1 score, and radiologist-model agreement with Fleiss' Kappa. Results: CoT fine-tuning improved feature extraction accuracy for LLaMA (80% to 97%) and DeepSeek (79% to 98%), matching GPT-4o (97%). Risk categorization F1 scores also improved (LLaMA: 0.95; DeepSeek: 0.94), closely matching GPT-4o (0.97), with no statistically significant differences. Radiologist inter-reader agreement was high (Fleiss' Kappa = 0.888) and showed no statistically significant difference with the addition of DeepSeek-FT-CoT (Fleiss' Kappa = 0.893) or GPT-CoT (Fleiss' Kappa = 0.897), indicating that both models achieved agreement levels on par with radiologists. Conclusion: Fine-tuned open-source LLMs with CoT supervision enable accurate, interpretable, and efficient phenotyping for large-scale PCL research, achieving performance comparable to GPT-4o.
format Preprint
id arxiv_https___arxiv_org_abs_2507_19973
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Leveraging Fine-Tuned Large Language Models for Interpretable Pancreatic Cystic Lesion Feature Extraction and Risk Categorization
Rasromani, Ebrahim
Kang, Stella K.
Xu, Yanqi
Liu, Beisong
Luhadia, Garvit
Chui, Wan Fung
Pasadyn, Felicia L.
Hung, Yu Chih
An, Julie Y.
Mathieu, Edwin
Gu, Zehui
Fernandez-Granda, Carlos
Javed, Ammar A.
Sacks, Greg D.
Gonda, Tamas
Huang, Chenchan
Shen, Yiqiu
Artificial Intelligence
Computation and Language
Information Retrieval
Background: Manual extraction of pancreatic cystic lesion (PCL) features from radiology reports is labor-intensive, limiting large-scale studies needed to advance PCL research. Purpose: To develop and evaluate large language models (LLMs) that automatically extract PCL features from MRI/CT reports and assign risk categories based on guidelines. Materials and Methods: We curated a training dataset of 6,000 abdominal MRI/CT reports (2005-2024) from 5,134 patients that described PCLs. Labels were generated by GPT-4o using chain-of-thought (CoT) prompting to extract PCL and main pancreatic duct features. Two open-source LLMs were fine-tuned using QLoRA on GPT-4o-generated CoT data. Features were mapped to risk categories per institutional guideline based on the 2017 ACR White Paper. Evaluation was performed on 285 held-out human-annotated reports. Model outputs for 100 cases were independently reviewed by three radiologists. Feature extraction was evaluated using exact match accuracy, risk categorization with macro-averaged F1 score, and radiologist-model agreement with Fleiss' Kappa. Results: CoT fine-tuning improved feature extraction accuracy for LLaMA (80% to 97%) and DeepSeek (79% to 98%), matching GPT-4o (97%). Risk categorization F1 scores also improved (LLaMA: 0.95; DeepSeek: 0.94), closely matching GPT-4o (0.97), with no statistically significant differences. Radiologist inter-reader agreement was high (Fleiss' Kappa = 0.888) and showed no statistically significant difference with the addition of DeepSeek-FT-CoT (Fleiss' Kappa = 0.893) or GPT-CoT (Fleiss' Kappa = 0.897), indicating that both models achieved agreement levels on par with radiologists. Conclusion: Fine-tuned open-source LLMs with CoT supervision enable accurate, interpretable, and efficient phenotyping for large-scale PCL research, achieving performance comparable to GPT-4o.
title Leveraging Fine-Tuned Large Language Models for Interpretable Pancreatic Cystic Lesion Feature Extraction and Risk Categorization
topic Artificial Intelligence
Computation and Language
Information Retrieval
url https://arxiv.org/abs/2507.19973