Academic Journal

Clinical note comparison and data retrieval via embedding vectors: model selection, metrics, and convergence.

Bibliographic Details
Title: Clinical note comparison and data retrieval via embedding vectors: model selection, metrics, and convergence.
Authors: Dahlberg A; Clinicum, Faculty of Medicine, University of Helsinki, Helsinki, Finland; Harjun terveys, Lahti, Finland. Electronic address: alexandra.dahlberg@helsinki.fi., Tapiola O; Clinicum, Faculty of Medicine, University of Helsinki, Helsinki, Finland., Luisto R; Faculty of Information Technology, University of Jyväskylä, Finland; Digital Workforce Services Plc, Helsinki, Finland., Puranen T; Clinicum, Faculty of Medicine, University of Helsinki, Helsinki, Finland., Sanmark E; Clinicum, Faculty of Medicine, University of Helsinki, Helsinki, Finland; Heart and Lung Center, Helsinki University Hospital, Helsinki, Finland., Vartiainen V; Clinicum, Faculty of Medicine, University of Helsinki, Helsinki, Finland; Heart and Lung Center, Helsinki University Hospital, Helsinki, Finland.
Source: International journal of medical informatics [Int J Med Inform] 2026 Oct; Vol. 219, pp. 106563. Date of Electronic Publication: 2026 Jun 23.
Publication Type: Journal Article; Comparative Study
Language: English
Journal Info: Publisher: Elsevier Science Ireland Ltd Country of Publication: Ireland NLM ID: 9711057 Publication Model: Print-Electronic Cited Medium: Internet ISSN: 1872-8243 (Electronic) Linking ISSN: 13865056 NLM ISO Abbreviation: Int J Med Inform Subsets: MEDLINE
Imprint Name(s): Original Publication: Shannon, Co. Clare, Ireland : Elsevier Science Ireland Ltd., c1997-
MeSH Terms: Information Storage and Retrieval*/methods , Semantics* , Natural Language Processing* , Electronic Health Records*, Humans ; Generative Artificial Intelligence ; Artificial Intelligence ; Finland
Abstract: Background: Embedding models are an integral part of generative AI architectures, transforming text into embedding vectors that represent semantic content in numerical form. Despite their central role, their performance in clinical settings remains underexplored. We evaluated embedding models across two tasks: semantic difference detection in clinical notes, and data retrieval from patient records.
Methods: Eight models were applied to synthetic discharge summaries in English, Swedish, and Finnish. Semantic sensitivity was assessed by introducing controlled perturbations (deletion, modification, and paraphrasing) at three levels of severity; cosine similarity, L1 and Euclidean distances were computed between the vectors of the original and perturbed texts. Partial vectors were compared to explore dimensionality reduction. Two models with the biggest contrast in semantic difference detection were evaluated on retrieval of relevant information from real Finnish vascular surgery records.
Results: Embedding vectors captured semantic differences in clinical notes: content deletion and modification produced larger increases in vector distance than paraphrasing. On average, models detected the direction of semantic change correctly, but case-level performance varied considerably. Qwen3-Embedding-8B produced no case-level (directional) errors whereas multilingual-E5-large produced them the most (12.2%). In retrieval this contrast transferred only partially and was task-dependent: sufficiency scores favoured Qwen3-Embedding-8B for the vascular-diagnosis question (2.25 vs 1.15 out of 5) but were comparable for the antithrombotic-medication question (3.25 vs 3.17 out of 5). For some models, as few as 0.6-1.2% of dimensions sufficed to replicate full-vector accuracy; principal component analysis and coordinate-level analysis did not account for this finding.
Conclusions: Our results show that the choice of embedding model is important: performance differences between models can be large enough to determine whether clinically relevant information reaches the end user, and model weaknesses can be both task-specific and context-dependent.
(Copyright © 2026 The Author(s). Published by Elsevier B.V. All rights reserved.)
Competing Interests: Declaration of competing interest The authors declare the following financial interests/personal relationships which may be considered as potential competing interests: Alexandra Dahlberg reports financial support was provided by Research Council of Finland. Olli Tapiola reports financial support was provided by Research Council of Finland. Rami Luisto reports financial support was provided by Research Council of Finland. Tuukka Puranen reports financial support was provided by Research Council of Finland. Enni Sanmark reports financial support was provided by Research Council of Finland. Ville Vartiainen reports financial support was provided by Research Council of Finland. Alexandra Dahlberg reports financial support was provided by Business Finland. Olli Tapiola reports financial support was provided by Business Finland. Rami Luisto reports financial support was provided by Business Finland. Tuukka Puranen reports financial support was provided by Business Finland. Enni Sanmark reports financial support was provided by Business Finland. Ville Vartiainen reports financial support was provided by Business Finland. Alexandra Dahlberg reports financial support was provided by Finska Läkaresällskapet. Alexandra Dahlberg reports financial support was provided by Frans Wilhelm och Waldermar von Frenckells understödsfond. Alexandra Dahlberg reports financial support was provided by Finnish Medical Association. Enni Sanmark reports financial support was provided by Finska Läkaresällskapet. Enni Sanmark reports financial support was provided by Finnish Medical Association. Enni Sanmark reports financial support was provided by Liv och Hälsa Medical Support Association. Alexandra Dahlberg reports a relationship with Harjun terveys that includes: employment. Rami Luisto reports a relationship with Digital Workforce Plc that includes: employment. Rami Luisto reports a relationship with QuTwo Ltd that includes: employment. Rami Luisto reports a relationship with IatroData Ltd that includes: employment. Ville Vartiainen reports a relationship with Orion Pharma that includes: speaking and lecture fees. If there are other authors, they declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Contributed Indexing: Keywords: Artificial Intelligence; Clinical Documentation; Dimensionality Reduction; Embedding Models; Natural Language Processing; Semantic Similarity
Entry Date(s): Date Created: 20260625 Date Completed: 20260716 Latest Revision: 20260716
Update Code: 20260717
DOI: 10.1016/j.ijmedinf.2026.106563
PMID: 42349271
Database: MEDLINE
Be the first to leave a comment!
You must be logged in first