Database Credentialed Access

TurkMedNLI: A Turkish Natural Language Inference Dataset for the Clinical Domain

ORCID iD for Iskender Ulgen Ogul,  , 

Published Nov. 26, 2026 · Version 1.0.0
When using this resource, please cite:

Ogul, I. U., Soygazi, F., & Ergenc Bostanoglu, B. (2026). TurkMedNLI: A Turkish Natural Language Inference Dataset for the Clinical Domain (version 1.0.0). PhysioNet. RRID:SCR_007345. https://doi.org/10.13026/q4m6-g967

Additionally, please cite the original publication:

Ogul, I.U., Soygazi, F., & Bostanoğlu, B.E. (2025). TurkMedNLI: a Turkish medical natural language inference dataset through large language model based translation. PeerJ Computer Science, 11. https://peerj.com/articles/cs-2662/

Please include the standard citation for PhysioNet:

Pollard, T., Moody, B. E., Lehman, L., Gow, B., Fernandes, C., Xie, C., Johnson, A., Mark, R. G., & Heldt, T. (2026). PhysioNet as a global platform for biomedical research. Nature Health. https://doi.org/10.1038/s44360-026-00096-z. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC13641116/

Abstract

We introduce TurkMedNLI, a Turkish adaptation of the Medical Natural Language Inference (MedNLI) dataset for clinical NLP in Turkish. Starting from the MedNLI premise–hypothesis pairs, we build a two-stage pipeline. Stage 1 identifies clinical abbreviations and provides their English and Turkish long forms as structured side information. These signals are then applied to generate a normalized sentence that resolves abbreviations and converts units in text (e.g., “HTN”→“hypertension”; °F→°C), producing entity-aware, disambiguated context aligned with each pair. Stage 2 uses a high-coverage multilingual MT model to translate both the original and the normalized English sentences into Turkish while preserving clinical terminology and formatting. The resulting resource comprises (i) parallel Turkish sentence pairs for medical natural language inference and (ii) abbreviation expansions that can serve as entity-centric features for downstream tasks.


Background

Natural language inference (NLI) is a core task for assessing an NLP system’s ability to reason over paired sentences (premise–hypothesis) under the labels entailment, contradiction, and neutral. While English benefits from large, expert-curated resources (e.g., MedNLI [@romanov2018, @shivade2017] for the clinical domain), constructing comparable datasets for other languages remains difficult because clinical text requires domain expertise, careful handling of protected health information, and sensitivity to domain-specific phenomena such as abbreviations and measurement units. As a result, multilingual clinical NLI resources lag behind open-domain counterparts, limiting the development and evaluation of models that must operate on clinical narratives.

MedNLI, built from de-identified patient histories from MIMIC-III [@johnson2016] and annotated by clinicians, established a foundation for clinical NLI in English, but direct translation does not fully resolve domain challenges: medical abbreviations are often ambiguous, units vary across locales, and terminology requires context-aware normalization to preserve meaning for inference. Recent language adaptations (e.g., Russian [@blinov2022], Vietnamese [@phan2023]) illustrate the use of translation-based pipelines coupled with quality control.

TurkMedNLI is a translated and extended version of MedNLI. The premise-hypothesis sentence pairs (sentence1 and sentence2), the unique record identifiers (pairID), and the gold inference labels (entailment, contradiction, and neutral) are inherited directly from MedNLI. The original English sentences were carried over. All remaining components are newly generated as part of this work. These include Turkish translations of both the original and normalized English sentences, English normalized variants in which clinical abbreviations are resolved and measurement units are converted in-text, Turkish translations of those normalized sentences, and structured abbreviation metadata providing English and Turkish long forms aligned to each sentence. Together, these extensions form a multilingual, abbreviation-aware resource that supports both training and evaluation of clinical NLI models in Turkish.


Methods

Machine Translation

Our project followed a two-stage process. First, we detect medical abbreviations in each English sentence, derive their English long forms and Turkish long forms, and use these signals to produce a normalized English sentence in which abbreviations are resolved and measurement units are converted in-text (e.g., °F→°C, lbs→kg). This step reduces ambiguity arising from clinical shorthand and brings quantities into Turkish-appropriate units before translation. In the second stage, we translate both the original sentences and the normalized sentences into Turkish, yielding parallel Turkish pairs. The abbreviation expansions (EN/TR) are released as machine-readable side metadata; unit conversion appears only inside the normalized text (not as a separate table).

Baseline pipeline: We used LLaMA-3.1 [@grattafiori2024] with supervised fine-tuning (SFT) on the MeDAL [@wen2020] dataset to identify abbreviations and generate English long forms. A non-fine-tuned LLaMA model then created the normalized English sentences by replacing abbreviations and converting units. Translation to Turkish for both original and normalized sentences was performed with NLLB [@nllbteam2022]. Quality was assessed by three physicians from different specialties and by machine evaluation using BioBERTurk [@turkmen2023] for NLI. Machine evaluation using BioBERTurk trained on baseline pipeline data yielded a training accuracy of 77.63%, with test accuracies of 75.59% on the original and 76.23% on the normalized dataset. While the pipeline proved sound, LLaMA lacked sufficient medical knowledge without SFT and still missed some domain-specific edge cases.

Enhanced pipeline (current release): We re-engineered the pipeline around GPT-OSS-20B [@openai2025], which demonstrated strong medical knowledge in its HealthBench results. The model is prompted (no SFT) to (i) detect abbreviations, (ii) output long forms in English and Turkish, and (iii) produce the normalized English sentence that resolves abbreviations and converts units while preserving clinical structure. For translation, we switched to MADLAD-400-10B [@kudugunta2023] to render both the original and normalized English sentences into Turkish. We initially attempted SFT on GPT-OSS-20B, but being a reasoning-centric model, SFT degraded edge-case behavior. Replacing SFT with chain-of-thought + few-shot, role-based prompts and deterministic decoding markedly improved consistency. Quality assurance for this pipeline followed a two-stage automated-then-targeted strategy, described in the Quality Assurance section below.

Human Evaluation Protocol

Human validation of the translation pipeline was conducted by three medical residents who are bilingual in both English and Turkish. They represent three distinct clinical specializations: ophthalmology, internal medicine, and public health. This deliberate multispecialty composition is important because medical abbreviations and terminology can vary significantly in meaning and usage across different clinical subfields, which necessitates a review that incorporates diverse medical expertise. To determine a statistically satisfying sampling size, we have used the Raosoft sample size calculation methodology, which was applied at a 95% confidence level with a 2% margin of error, yielding a required sample of 2052 sentence pairs. This evaluation therefore covered a statistically representative subset of the full dataset. These examples were selected with a stratified emphasis on records containing medical abbreviations, ensuring comprehensive coverage of the abbreviation handling and normalization, as abbreviation handling is the most clinically sensitive aspect of the pipeline. The 2052 sampled records were partitioned into three non-overlapping subsets, with each reviewer assigned an independent subset of approximately 684 sentence pairs. Reviewers assessed each assigned record across five quality dimensions using a 10-point Likert scale;

Mean human evaluation scores per reviewer across five quality dimensions
Evaluation Dimension Evaluator-1 Evaluator-2 Evaluator-3
Accuracy of abbreviation identification 9.82 9.75 9.44
Quality of English abbreviation expansion 8.81 8.91 8.92
Quality of Turkish translation of expanded abbreviations 8.25 7.93 9.20
Quality of normalized sentence construction 8.98 9.07 9.02
Quality of Turkish translation of normalized sentences 7.07 7.49 7.77

This five-dimensional framework was designed to evaluate each discrete processing stage of the pipeline independently. Given the size of the dataset and the practical constraints of medical expert availability, the 2052 sampled records were distributed across reviewers as non-overlapping subsets, with each resident assessing approximately 684 unique sentence pairs. As a result, standard inter-rater agreement measures could not be computed; this decision was made for prioritization of broader dataset coverage. As presented in the table above, mean scores remained notably consistent across all three reviewers despite each assessing an entirely independent subset of records. Abbreviation identification and normalized sentence construction received the strongest ratings, while the Turkish translation of normalized sentences was the comparatively weakest dimension, reflecting the inherently greater linguistic complexity of this stage. This observation directly motivated the translation model upgrade to MADLAD-400-10B in the enhanced pipeline.

Quality Assurance for the Enhanced Pipeline

Given the resource constraints associated with repeated clinical expert engagement, an equivalent human evaluation was not conducted for the enhanced pipeline. Instead, quality assurance followed a two-stage automated-then-targeted strategy designed to reduce expert workloads while scaling to future, larger datasets.

In the first stage, automated abbreviation consistency checks verified that the number of detected abbreviations matched the number of expanded forms in both English and Turkish. For example, if two abbreviations (e.g., Cr|HR) were detected but the model produced three expansions, the record was flagged as structurally inconsistent. This validation identified 285 records, which were corrected under physician supervision.

In the second stage, after applying the consistency corrections, the full dataset was evaluated using MedGemma 1.5 4B [@sellergren2025], a medical domain model selected for its clinical knowledge and computational efficiency. MedGemma assessed whether (i) abbreviation identifications were clinically accurate, (ii) the English and Turkish long forms were correct, (iii) expanded abbreviations were properly incorporated into the normalized sentences, and (iv) the translated Turkish sentences were consistent with the abbreviation expansion fields. This last check specifically targeted cross-field mismatches where an abbreviation was correctly expanded in the metadata but the corresponding Turkish translation used a different medical term (e.g., "Cr" correctly expanded as "creatinine" but rendered as "CRP" in the Turkish sentence). This semantic review flagged 928 records, which were reviewed and corrected under physician supervision.

Translation quality was assessed indirectly through downstream NLI performance, as no existing model can reliably perform bilingual clinical quality assessment. Training BioBERTurk [@turkmen2023] on the enhanced pipeline data yielded a training accuracy of 79.01%, with test accuracies of 76.88% on the original and 78.00% on the normalized dataset, representing an ~1.3–1.8% accuracy improvement over the baseline. This gain indicates that the revised translations better preserve the semantic relationships required for clinical inference.


Data Description

There are five files in the dataset:

  1. README.txt: An overview of the dataset, file list, and record structure description.
  2. tur_mli_train_v1.jsonl: The training split (11,232 records).
  3. tur_mli_dev_v1.jsonl - The development/validation split (1,395 records).
  4. tur_mli_test_v1.jsonl - The test split (1,422 records).
  5. license.txt - The license file.

All JSONL files share the same record structure. Each record contains the following fields:

Record Structure:

  • sentence1: Original English premise (inherited from MedNLI).
  • sentence1_tr: Direct Turkish translation of sentence1, no abbreviation disambiguation applied.
  • sentence1_abbreviations: A bracket-enclosed string listing abbreviations detected in sentence1 (e.g., "[Cr, HTN]"). Set to null when no abbreviations are present.
  • sentence1_abbreviations_expanded: A bracket-enclosed string with the English long form for each abbreviation in sentence1_abbreviations, in the same order. Set to null when no abbreviations are present.
  • sentence1_abbreviations_expanded_tr: A bracket-enclosed string with the Turkish long form for each abbreviation in sentence1_abbreviations, in the same order. Set to null when no abbreviations are present.
  • sentence1_normalized: English normalized premise with abbreviations resolved and measurement units converted in-text.
  • sentence1_normalized_tr: Turkish translation of sentence1_normalized.
  • pairID: Unique record identifier (inherited from MedNLI).
  • gold_label: One of entailment | contradiction | neutral (inherited from MedNLI).
  • sentence2: Original English hypothesis (inherited from MedNLI).
  • sentence2_tr: Direct Turkish translation of sentence2, no abbreviation disambiguation applied.
  • sentence2_abbreviations: A bracket-enclosed string listing abbreviations detected in sentence2 (e.g., "[Cr, HTN]"). Set to null when no abbreviations are present.
  • sentence2_abbreviations_expanded: A bracket-enclosed string with the English long form for each abbreviation in sentence2_abbreviations, in the same order. Set to null when no abbreviations are present.
  • sentence2_abbreviations_expanded_tr: A bracket-enclosed string with the Turkish long form for each abbreviation in sentence2_abbreviations, in the same order. Set to null when no abbreviations are present.
  • sentence2_normalized: English normalized hypothesis with abbreviations resolved and measurement units converted in-text.
  • sentence2_normalized_tr: Turkish translation of sentence2_normalized.

Note: When a sentence contains no abbreviations, the three abbreviation fields for that sentence are null and the normalized sentence reflects only unit and metric conversions from the original.

A sample record from the training set is shown below:

{
"sentence1":"No history of blood clots or DVTs, has never had chest pain prior to one week ago.",
"sentence1_tr":"Kan pıhtısı veya DVT geçmişi yok, bir hafta öncesine kadar hiç göğüs ağrısı olmadı.",
"sentence1_abbreviations":"[DVTs]",
"sentence1_abbreviations_expanded":"[deep vein thrombosis]",
"sentence1_abbreviations_expanded_tr":"[derin ven trombozları]",
"sentence1_normalized":"No history of blood clots or deep vein thromboses (DVTs), has never had chest pain prior to one week ago.",
"sentence1_normalized_tr":"Kan pıhtısı veya derin ven trombozları (DVTs) öyküsü yok, bir hafta öncesine kadar hiç göğüs ağrısı olmadı.",
"pairID":"1892c19a-66c7-11e7-be8f-f45c89b91419",
"gold_label":"entailment",
"sentence2":" Patient has angina",
"sentence2_tr":"Hastada anjina var.",
"sentence2_abbreviations":null,
"sentence2_abbreviations_expanded":null,
"sentence2_abbreviations_expanded_tr":null,
"sentence2_normalized":"Patient has angina",
"sentence2_normalized_tr":"Hastada anjina var."
}

Usage Notes

TurkMedNLI is intended for training and evaluating natural language inference models in the Turkish clinical domain. The training split can be used for supervised fine-tuning, while the development and test splits support model selection and benchmarking. The original English sentences and their normalized variants are also retained, enabling cross-lingual and bilingual NLI experiments. The abbreviation metadata can serve as auxiliary features for entity-aware or terminology-grounded models.

Premise–hypothesis pairs and gold labels (entailment / contradiction / neutral) are inherited from MedNLI (derived from de-identified MIMIC-III v1.4 clinical notes). TurkMedNLI provides Turkish counterparts plus abbreviation expansions and normalized variants. The dataset is distributed in JSON Lines (JSONL) and follows the MedNLI/SNLI-style record structure.

Limitations

As with other translated clinical NLI resources, a few limitations should be considered. TurkMedNLI's premises come from MIMIC-III notes on intensive care patients at a single US hospital, and its hypotheses were written by clinicians for MedNLI. The text therefore primarily reflects US clinical documentation and may differ from Turkish clinical practice. To our knowledge, no publicly available translation model specialized for English–Turkish clinical text exists, so the pipeline uses general-purpose multilingual models, and some subtle medical nuances may not be fully captured. Finally, although human validation was performed on a statistically significant sample to ensure high quality, the full dataset is machine-generated and may contain minor semantic inconsistencies in highly complex edge cases.


Release Notes

Version 1.0.0: Initial release on PhysioNet. This dataset was developed through an iterative pipeline process prior to publication. The released version uses GPT-OSS-20B for abbreviation detection, EN/TR long-form mapping, and English normalization, and MADLAD-400-10B for translation. Only the final version is released to ensure downstream task quality for medical NLI research.


Ethics

TurkMedNLI is derived from MedNLI and inherits its underlying data from MIMIC-III, a de-identified critical care database. This dataset follows the same access policies, data use agreement, and license that govern MedNLI and MIMIC-III. Users must hold a credentialed PhysioNet account and agree to the applicable data use agreement before accessing the data. No new patient data were collected or introduced in the creation of TurkMedNLI. All newly generated content, including Turkish translations, normalized text, and abbreviation metadata, was produced computationally from the already de-identified source sentences. No protected health information is present in or added to this dataset.


Acknowledgements

Special thanks go to Dr. Gonca Bakır-İnci, an ophthalmology resident; Dr. Tarık İnci, an internal medicine resident; and Dr. İrem Şevik, a public health resident. In addition to our doctors generous contribution, this work would not have been possible without open source community effort which provided SOTA models and datasets.


Conflicts of Interest

The authors have no conflicts of interest to declare.


References

  1. @romanov2018 Romanov, A., & Shivade, C. (2018). Lessons from Natural Language Inference in the Clinical Domain. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, 1586–1596. https://doi.org/10.18653/v1/D18-1187
  2. @shivade2017 Shivade, C. (2017). MedNLI — A Natural Language Inference Dataset For The Clinical Domain [Dataset]. physionet.org. https://doi.org/10.13026/C2RS98
  3. @johnson2016 Johnson, A. E. W., Pollard, T. J., Shen, L., Lehman, L.-w. H., Feng, M., Ghassemi, M., Moody, B., Szolovits, P., Anthony Celi, L., & Mark, R. G. (2016). MIMIC-III, a freely accessible critical care database. Scientific Data, 3(1). https://doi.org/10.1038/sdata.2016.35
  4. @blinov2022 Blinov, P., Nesterov, A., Zubkova, G., Reshetnikova, A., Kokh, V., & Shivade, C. (2022). RuMedNLI: A Russian Natural Language Inference Dataset For The Clinical Domain (Version 1.0.0) [Dataset]. PhysioNet. https://doi.org/10.13026/gxzd-cf80
  5. @phan2023 Phan, L., Dang, T., Tran, H., Trinh, T. H., Phan, V., Chau, L. D., & Luong, M.-T. (2023). Enriching Biomedical Knowledge for Low-resource Language Through Large-scale Translation. Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, 3131–3142. https://doi.org/10.18653/v1/2023.eacl-main.228
  6. @grattafiori2024 Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., Yang, A., Fan, A., Goyal, A., Hartshorn, A., Yang, A., Mitra, A., Sravankumar, A., Korenev, A., Hinsvark, A., … Ma, Z. (2024). The Llama 3 Herd of Models (Version 3). arXiv. https://doi.org/10.48550/arXiv.2407.21783
  7. @wen2020 Wen, Z., Lu, X. H., & Reddy, S. (2020). MeDAL: Medical Abbreviation Disambiguation Dataset for Natural Language Understanding Pretraining. Proceedings of the 3rd Clinical Natural Language Processing Workshop, 130–135. https://doi.org/10.18653/v1/2020.clinicalnlp-1.15
  8. @nllbteam2022 NLLB Team, Costa-jussà, M. R., Cross, J., Çelebi, O., Elbayad, M., Heafield, K., Heffernan, K., Kalbassi, E., Lam, J., Licht, D., Maillard, J., Sun, A., Wang, S., Wenzek, G., Youngblood, A., Akula, B., Barrault, L., Gonzalez, G. M., Hansanti, P., … Wang, J. (2022). No Language Left Behind: Scaling Human-Centered Machine Translation (Version 3). arXiv. https://doi.org/10.48550/arXiv.2207.04672
  9. @turkmen2023 Türkmen, H., Dikenelli, O., Eraslan, C., Çallı, M. C., & Özbek, S. S. (2023). BioBERTurk: Exploring Turkish Biomedical Language Model Development Strategies in Low-Resource Setting. Journal of Healthcare Informatics Research, 7(4), 433–446. https://doi.org/10.1007/s41666-023-00140-7
  10. @openai2025 OpenAI, : Agarwal, S., Ahmad, L., Ai, J., Altman, S., Applebaum, A., Arbus, E., Arora, R. K., Bai, Y., Baker, B., Bao, H., Barak, B., Bennett, A., Bertao, T., Brett, N., Brevdo, E., Brockman, G., Bubeck, S., … Zhao, S. (2025). gpt-oss-120b & gpt-oss-20b Model Card (Version 1). arXiv. https://doi.org/10.48550/arXiv.2508.10925
  11. @kudugunta2023 Kudugunta, S., Caswell, I., Zhang, B., Garcia, X., Choquette-Choo, C. A., Lee, K., Xin, D., Kusupati, A., Stella, R., Bapna, A., & Firat, O. (2023). MADLAD-400: A Multilingual And Document-Level Large Audited Dataset (Version 1). arXiv. https://doi.org/10.48550/arXiv.2309.04662
  12. @sellergren2025 Sellergren, A., Kazemzadeh, S., Jaroensri, T., Kiraly, A., Traverse, M., Kohlberger, T., Xu, S., Jamil, F., Hughes, C., Lau, C., Chen, J., Mahvar, F., Yatziv, L., Chen, T., Sterling, B., Baby, S. A., Baby, S. M., Lai, J., Schmidgall, S., … Yang, L. (2025). MedGemma Technical Report (Version 4). arXiv. https://doi.org/10.48550/arXiv.2507.05201

Files