Detection of cancer recurrence from Thai-English electronic medical records using sentence embeddings.
Clinical Snapshot
PICO Framework
| P — Population | Adult patients with breast, colorectal, cervical, and head and neck cancers documented in Thai cancer hospital electronic medical records (EMRs), with mixed Thai-English clinical text |
| I — Intervention | Sentence-BERT (SBERT) models — monolingual and bilingual — and a fine-tuned PubMedBERT model (MetBERT) applied to EMR documents for automated detection of cancer recurrence |
| C — Comparator | Fine-tuned PubMedBERT (MetBERT) as benchmark; implicit comparator is manual cancer registry abstraction (no formal human-annotator reference standard described as a separate comparator arm) |
| O — Outcomes | Area under the precision-recall curve (AUPRC) for three binary classification tasks: locoregional vs. no recurrence; distant vs. no recurrence; locoregional vs. distant recurrence — assessed in development and external validation datasets |
Bottom Line
This multicentre study from Thailand develops and externally validates sentence embedding NLP models for automated detection of cancer recurrence in mixed Thai-English EMRs — a genuine and underserved clinical informatics challenge. The external validation design across two independent hospitals is a methodological strength. However, the clinical utility of these models is substantially limited by very low AUPRC values for the most clinically important tasks (recurrence vs. no recurrence: 9%–32%), driven by extreme class imbalance at ~1% prevalence. The best-performing task — distinguishing locoregional from distant recurrence — achieves AUPRC 88%–95%, but this is only relevant once recurrence has already been identified. Critically, the study does not report sensitivity, specificity, or likelihood ratios at defined operating thresholds, making it impossible to assess clinical utility in practice. No decision curve analysis or comparison with current registry abstraction accuracy is provided. The bilingual-SBERT model demonstrates superior robustness on external validation, which is pragmatically important. For Australian clinicians and informaticists, the methodological framework is instructive, but direct adoption is not warranted without local validation, threshold definition, and regulatory assessment as a Software as a Medical Device.
Key Findings
P Value: Not reported in abstract
Effect Size: Development dataset — MetBERT: locoregional vs. no recurrence AUPRC 11.1%; distant vs. no recurrence AUPRC (monolingual-SBERT best) 32.0%; locoregional vs. distant recurrence AUPRC 91.7%. External validation — MetBERT: locoregional vs. no recurrence AUPRC 9.30%–21.50%; bilingual-SBERT: distant vs. no recurrence AUPRC 17.55%–24.39%; MetBERT: locoregional vs. distant recurrence AUPRC 88.30%–94.70%; bilingual-SBERT: locoregional vs. distant recurrence AUPRC 85.25%–91.80%
Primary Outcome: Area under the precision-recall curve (AUPRC) for three cancer recurrence classification tasks in development and external validation datasets
Nnt Or Sensitivity: Sensitivity and specificity at defined operating thresholds not reported; AUPRC used as summary metric. For locoregional vs. distant recurrence (the best-performing task), AUPRC 88.30%–94.70% (MetBERT) suggests reasonable discriminative ability. For recurrence vs. no recurrence tasks, AUPRC 9%–32% indicates poor-to-modest performance in the context of ~1% prevalence
Confidence Interval: Not reported; inter-site ranges presented instead of formal 95% confidence intervals
Clinical Application
Technically feasible as a registry screening tool in institutions with structured EMR systems and NLP infrastructure. Bilingual-SBERT offers a computationally lighter alternative to MetBERT with competitive external validation performance. Text-length constraints of transformer models require document segmentation strategies. Clinical integration would require defined operating thresholds, human-in-the-loop review, and prospective validation before deployment. Direct applicability to Australian clinical practice is limited. Australian EMRs are predominantly English-language, removing the bilingual challenge that motivates this study. However, the methodological framework is relevant to: (1) Aboriginal and Torres Strait Islander health services where mixed-language or non-standard documentation occurs; (2) cancer registry automation within state-based registries (e.g., AIHW, state cancer registries); (3) RACGP and Cancer Australia interest in automated surveillance tools for cancer recurrence monitoring. The TGA would classify such a tool as a Software as a Medical Device (SaMD) requiring conformity assessment if used for clinical decision support. PBS implications are indirect. Australian cancer registries (e.g., Victorian Cancer Registry) may find the registry workflow automation concept relevant, though local validation on Australian EMR data would be mandatory before adoption. Patients with breast, colorectal, cervical, or head and neck cancer documented in mixed Thai-English EMR systems at Thai cancer hospitals; intended application is cancer registry workflow automation rather than individual patient clinical decision support
Abstract
OBJECTIVE: This study developed and validated monolingual and bilingual sentence-bidirectional encoder representations from transformers (SBERT) models for detecting cancer recurrence within Thai-English electronic medical records (EMRs) from Thai cancer hospitals. METHOD: A multicentre dataset of 32 436 documents from 1250 patients was used for model development. External validation involved an independent dataset of 9244 documents from 384 patients across two Thai cancer hospitals. Performance was benchmarked against a fine-tuned PubMedBERT (MetBERT). RESULTS: The development dataset included breast (43.9%), colorectal (12.1%), cervical (28.0%) and head and neck (16.0%) cancers. MetBERT achieved the highest area under the precision-recall curve (AUPRC) for locoregional versus no recurrence (11.1%) and locoregional versus distant recurrence (91.7%), while monolingual-SBERT excelled at distant versus no recurrence (32.0%). External validation demonstrated MetBERT superiority for locoregional versus no recurrence (9.30%-21.50%). For distant versus no recurrence, bilingual-SBERT performed best with AUPRC 17.55%-24.39%. While MetBERT led in distinguishing locoregional versus distant recurrence (88.30%-94.70%), bilingual-SBERT demonstrated robust external validation performance (AUPRC 85.25%-91.80%). DISCUSSION: Low AUPRC values (9%-32%) reflect the extreme class imbalance in real-world data (~1% recurrence prevalence). Despite this, fine-tuned MetBERT achieved highest performance, while bilingual-SBERT demonstrated superior robustness during external validation. This validates sentence embedding models for handling mixed Thai-English medical records in multilingual clinical environments. CONCLUSION: Sentence embedding frameworks provide a practical, generalisable solution for detecting cancer recurrence within multilingual EMRs. Despite text-length constraints, these models are suitable for clinical integration as a screening tool for cancer registry workflows.
References
- 1.Sangariyavanich, E., Ponthongmak, W., Theera-Ampornpunt, N., Tangchitnob, N., McKay, G. J., & Thakkinstian, A. (2026). Detection of cancer recurrence from Thai-English electronic medical records using sentence embeddings. BMJ Health & Care Informatics. https://doi.org/10.1136/bmjhci-2025-101997
Related Research
Physics in medicine and biology
Deep learning-based dose prediction to enhance planning efficiency in cervical brachytherapy with hybrid applicators
3 July 2026
Biomedical physics & engineering express
RADIANT: A fully configurable radiotherapy dose prediction framework
30 May 2026
Blood
Brentuximab vedotin and nivolumab in combination with chemotherapy for nonbulky, early-stage classical Hodgkin lymphoma
10 Apr 2026
This content is for educational purposes for healthcare professionals only and does not constitute clinical advice. Clinical decisions should be based on individual patient assessment, current guidelines, and appropriate specialist consultation. Editorial Standards · Privacy Policy · Terms of Service