CARDIA-TR: Faithful, Guideline-Grounded Explanation of Machine Learning Decisions for Coronary Heart Disease Using Retrieval-Augmented Large Language Models in Turkish
Background/Objectives: Machine Learning (ML) models can estimate coronary heart disease risk from structured patient data, but they offer little guideline-based justification for their predictions. Explanations produced by large language models (LLMs) may also contain post hoc rationales when they are not tied to the model’s actual reasoning. We developed CARDIA-TR, a framework in which an ML model makes the diagnostic decision for suspected stable coronary heart disease and an LLM explains it using Turkish and international cardiology guidelines. Methods: Six classifiers were evaluated on the UCI Cleveland dataset (n = 303) with 10 × 5 repeated nested cross-validation, together with a leakage audit of a widely shared version of the dataset. Eight open-source LLMs answered 150 clinical questions using retrieval-augmented generation over 52 guideline documents. Their answers were assessed with automatic metrics, blinded physician ratings, and two LLM judges whose agreement with physician ratings was measured. For 303 patients, the LLMs explained ML decisions based on exact feature contributions and could flag guideline-discordant feature use. A physician scored 80 of these explanations. Results: Logistic regression performed best (ROC-AUC 0.911). Confirming earlier reports, 723 duplicate rows in a widely shared 1025-row version of the dataset explained reported accuracies of up to 100%. Lexical overlap with the sources did not reflect clinical accuracy. Qwen3.6-27B and Gemma-4-26B-A4B received the highest judge and physician scores (physician 1.68 and 1.70 out of 2), but in the physician evaluation they did not differ significantly from Turkish-Gemma-9B. The physician rated all 80 faithful explanations as fully correct, including those for wrong ML predictions. The newer models detected guideline-discordant use of chest pain type caused by referral bias without false alarms (F1 0.986 and 0.935), also when the referral information was removed from the prompt. Conclusions: In this internally validated, referral-based cohort, an LLM explanation layer anchored to the ML model’s reasoning could justify decisions and audit their consistency with clinical guidelines. External validation is needed.
Authors
- Aytuğ Boyacı (ORCID: https://orcid.org/0000-0003-1016-3439)
- Mustafa Ulaş (ORCID: https://orcid.org/0000-0002-0096-9693)
- KEREMCAN KARAKAYA
- Eyüp Dikmen (ORCID: https://orcid.org/0009-0001-9463-8886)
Institutions
- Milli Savunma Üniversitesi (TR)
Publication Details
- Journal
- Diagnostics
- Published
- 2026-11-26
- DOI
- https://doi.org/10.3390/diagnostics16233986
- Primary Topic
- Explainable Artificial Intelligence (XAI)
- Type
- article
- Field-Weighted Citation Impact
- 0.00