Medical Specialty Classification Using Large Language Models (LLMs)

This study evaluates the performance of Large Language Model (LLM)-based classifiers, including BERT, Bio-BERT, and Distil-BERT, in comparison to traditional Machine Learning algorithms to classify the medical transcription reports into various specialties. While LLMs are increasingly utilized in healthcare applications, Naive Bayes demonstrated the highest performance, achieving an accuracy of 86.16% and an F1-score of 84.52%, outperforming all other models. Machine Learning approaches, such as Random Forest and Multi-Layer Perceptron, also exhibited strong performance, whereas BERT-based models achieved lower accuracy, around 63%. However, LLM-based models performed better in certain specialties, such as Surgery, while Machine Learning models demonstrated superior performance in areas such as Allergy/Immunology, Cardiovascular/Pulmonary, and General Medicine. Our results show that LLM-based models might offer ad-vantages in classifying certain medical specialties (e.g., Surgery) due to the benefits of pre-trained LLM models on domain-specific knowledge bases and/or their better semantic understanding with fewer data points.

Authors

Institutions

Publication Details

Journal
Proceedings of the ... International Florida Artificial Intelligence Research Society Conference
Published
2025-05-14
DOI
https://doi.org/10.32473/flairs.38.1.138953
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Medical Specialty Classification Using Large Language Models (LLMs)

Surya Kathirvel, Lenin Mookiah
Proceedings of the ... International Florida Artificial Intelligence Research Society Conference
Artificial Intelligence in Healthcare
article

Medical Specialty Classification Using Large Language Models (LLMs)

Surya Kathirvel, Lenin Mookiah
article en

Abstract

This study evaluates the performance of Large Language Model (LLM)-based classifiers, including BERT, Bio-BERT, and Distil-BERT, in comparison to traditional Machine Learning algorithms to classify the medical transcription reports into various specialties. While LLMs are increasingly utilized in healthcare applications, Naive Bayes demonstrated the highest performance, achieving an accuracy of 86.16% and an F1-score of 84.52%, outperforming all other models. Machine Learning approaches, such as Random Forest and Multi-Layer Perceptron, also exhibited strong performance, whereas BERT-based models achieved lower accuracy, around 63%. However, LLM-based models performed better in certain specialties, such as Surgery, while Machine Learning models demonstrated superior performance in areas such as Allergy/Immunology, Cardiovascular/Pulmonary, and General Medicine. Our results show that LLM-based models might offer ad-vantages in classifying certain medical specialties (e.g., Surgery) due to the benefits of pre-trained LLM models on domain-specific knowledge bases and/or their better semantic understanding with fewer data points.

Proceedings of the ... International Florida Artificial Intelligence Research Society ConferenceVol. 38
Oldham Council (GB)
Openalex Percentile: Top 70%
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.