Systematic comparison of GPT models for the analysis of pathology reports in a low-resource language: A case study for Turkish


Dilbaz O. F., Ozates M. N., Bolat B., Gunduz-Demir C., Kulac I.

American Journal of Clinical Pathology, cilt.164, sa.5, ss.721-729, 2025 (SCI-Expanded, Scopus)

  • Yayın Türü: Makale / Tam Makale
  • Cilt numarası: 164 Sayı: 5
  • Basım Tarihi: 2025
  • Doi Numarası: 10.1093/ajcp/aqaf091
  • Dergi Adı: American Journal of Clinical Pathology
  • Derginin Tarandığı İndeksler: Science Citation Index Expanded (SCI-EXPANDED), Scopus, BIOSIS, CINAHL, EMBASE
  • Sayfa Sayıları: ss.721-729
  • Anahtar Kelimeler: LLM, GPT-4o, pathology, data extraction
  • Sağlık Bilimleri Üniversitesi Adresli: Evet

Özet

Objective Large language models (LLMs) can process text for various applications, including surgical pathology reports, but studies primarily focus on English. Their performance has not been systematically studied for a low-resource language. To analyze the performance of various LLMs, 759 Turkish pathology reports from 5 different procedures were selected. Methods We used 10 examples from every procedure to optimize prompts for OpenAI’s GPT-3.5 Turbo, GPT-4o mini, and GPT-4o. The rest was used to test generalizability. Results The GPT-4o model performed superior in processing Turkish reports (12%-25% over GPT-3.5 Turbo, 3%-16% over GPT-4o mini). English-translated versions of the reports have been demonstrated to enhance accuracy, especially for GPT-3.5 Turbo and GPT-4o mini. GPT4-o showed comparable results for Turkish and English. A 12% to 22% performance gap was observed between GPT-4o and GPT-3.5 Turbo for English-translated reports. Domain-related tips in prompts increased accuracy. Results of larger test sets were parallel for all models with the validation set. The GPT-4o model yielded the most accurate results, while the GPT-4o mini model demonstrated intermediate performance. The GPT-3.5 Turbo model exhibited the least accuracy. Conclusions To our knowledge, for the first time in the literature, we have demonstrated the performance of GPT models in Turkish surgical pathology reports, and results indicate that data extracted by GPT-4o are almost ready for direct application.