Anonymization of Portuguese Clinical Notes Using Large Language Models and Quantum-Enhanced Hybrid Architectures: Comparative Evaluation Study
Journal of Medical Internet Research · 14.09.2026 · 28 · e91513-e91513
DOI: 10.2196/91513 ↗Kurz gefasst
Vergleichsstudie in der Zeitschrift Journal of Medical Internet Research, online erschienen am 14.09.2026. Verfasst von Samer Rahmeh und 6 weiteren Autor:innen. Beteiligte Einrichtung: Quantum Solutions Architecture Dept, Q.Enterprises AG (Dynex), Baar, Zug, Switzerland. Hauptthemen laut MEDLINE: Large Language Models, Electronic Health Records, Data Anonymization. Die Arbeit nennt 49 Literaturangaben. Der Volltext ist frei in PubMed Central verfügbar.
Abstract (Originalsprache)
Background
The widespread adoption of electronic health records (EHRs) has generated large-scale repositories of highly sensitive clinical information, emphasizing the need for robust anonymization strategies to enable secondary use for research while safeguarding patient privacy. Conventional rule-based and machine learning approaches for deidentifying medical text face limitations with the linguistic complexity, variability, and context dependence inherent to clinical documentation. Recent advances in large language models (LLMs), combined with emerging quantum computing paradigms, present novel opportunities to enhance the accuracy, scalability, and resilience of health care data anonymization.
Objective
This study aims to evaluate the efficacy of LLM-based and quantum-enhanced hybrid architectures for medical text anonymization, assessing the effectiveness and computational efficiency across multiple entity types in Portuguese clinical notes.
Methods
We constructed a gold-standard corpus of 1000 Portuguese outpatient clinical notes, manually annotated by 5 trained researchers for 5 protected-entity categories: patient names, dates, identifiers, organizations, and geographic locations. Four anonymization strategies were evaluated: 2 stand-alone LLMs (Llama-3.1-8B-instruct and Llama-3.3-70B-instruct) and 2 quantum-enhanced hybrid models (Dynex-QML with 8B and 70B base models) incorporating quantum optimization via Quadratic Unconstrained Binary Optimization (QUBO) formulations. The quantum-enhanced approach transforms the final attention layer of the LLM into a global constraint satisfaction problem solved via neuromorphic quantum annealing. Model performance was measured on a held-out test set of 500 notes using precision, recall, and F 1 -score metrics. Computational efficiency was quantified through end-to-end processing time.
Results
The quantum-enhanced Dynex-QML-70B model achieved the highest overall performance with a macro –F 1 -score of 0.855 (95% CI 0.823‐0.880), outperforming the stand-alone Llama-3.3-70B (0.726, 95% CI 0.704‐0.747), Dynex-QML-8B (0.733, 95% CI 0.709‐0.756), and Llama-3.1-8B (0.602, 95% CI 0.588‐0.615). Compared with Llama 3.3 70B, Dynex-QML (Llama 70B) improved macro –F 1 -score by 0.128 (95% CI 0.091‐0.163; empirical 2-sided bootstrap P
Schlagwörter
MeSH-Schlagwörter (MEDLINE)
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Quantum Solutions Architecture Dept, Q.Enterprises AG (Dynex), Baar, Zug, Switzerland.
- Instituto do Coração, Hospital das Clínicas HCFMUSP, Faculdade de Medicina, Universidade de São Paulo, Av. Dr. Enéas de Carvalho Aguiar, 44, Sao Paulo, São Paulo, 05403-000, Brazil, +551126615441.
Zitieren
APA
Rahmeh, S., Dias, F. M., Moreno, R. A., Rebelo, M. F. S., Herrmann, D., Krieger, J. E., & Gutierrez, M. A. (2026). Anonymization of Portuguese Clinical Notes Using Large Language Models and Quantum-Enhanced Hybrid Architectures: Comparative Evaluation Study. Journal of Medical Internet Research, 28, e91513-e91513. https://doi.org/10.2196/91513
Vancouver
Rahmeh S, Dias FM, Moreno RA, Rebelo MFS, Herrmann D, Krieger JE, et al. Anonymization of Portuguese Clinical Notes Using Large Language Models and Quantum-Enhanced Hybrid Architectures: Comparative Evaluation Study. Journal of Medical Internet Research. 2026;28:e91513-e91513. doi:10.2196/91513
BibTeX
@article{Rahmeh2026,
author = {Rahmeh, Samer and Dias, Felipe Meneguitti and Moreno, Ramon Alfredo and Rebelo, Marina De Fatima De Sa and Herrmann, Daniela and Krieger, Jose Eduardo and Gutierrez, Marco Antonio},
title = {Anonymization of Portuguese Clinical Notes Using Large Language Models and Quantum-Enhanced Hybrid Architectures: Comparative Evaluation Study},
journal = {Journal of Medical Internet Research},
year = {2026},
volume = {28},
pages = {e91513--e91513},
doi = {10.2196/91513}
}
EUVIMED