Automated Data Harmonization in Clinical Research: Natural Language Processing Approach.
Pubmed ID: 40874791
Pubmed Central ID: PMC12391522
Journal: JMIR formative research
Publication Date: Aug. 27, 2025
MeSH Terms: Humans, Biomedical Research, Data Mining, Neural Networks, Computer, Natural Language Processing
Grants: N01 HC025195, N01 HC095159, UL1 TR001079, UL1 RR024156, P30 DK063491, N01 HC095161, N01 HC095164, N01 HC095166, N01 HC095160, N01 HC095169, N01 HC095165, N01 HC095168, UL1 TR000040, N01 HC095163, N01 HC095162, HHSN268201700004I, UL1 TR001881, UL1 TR001420, HHSN268201500001I, HHSN268201500001C, HHSN268201500003I, HHSN268201700001I, HHSN268201700003I, HHSN268201700005I, HHSN268201700002I, HHSN268201500003C, HHSN268201700002C, HHSN268201700005C, HHSN268201700001C, HHSN268201700003C, HHSN268201700004C, R61 NS120246, R33 NS120246
Authors: Zhao J, Hall J, Wojdyla D, Henao R, Pencina M, Mallya P, Hong C, Schibler T, Manchanda V
Cite As: Mallya P, Henao R, Hong C, Wojdyla D, Schibler T, Manchanda V, Pencina M, Hall J, Zhao J. Automated Data Harmonization in Clinical Research: Natural Language Processing Approach. JMIR Form Res 2025 Aug 27;9:e75608.
Studies:
Abstract
BACKGROUND: Integrating data is essential for advancing clinical and epidemiological research. However, because datasets often describe variables (eg, demographic and health conditions) in diverse ways, the process of integrating and harmonizing variables from research studies remains a major bottleneck. OBJECTIVE: The objective was to assess a natural language processing-based method to automate variable harmonization to achieve a scalable approach to integration of multiple datasets. METHODS: We developed a fully connected neural network (FCN) method, enhanced with contrastive learning, using domain-specific embeddings from the Bidirectional Encoder Representations from Transformers for Biomedical Text Mining language representation model, using 3 cardiovascular datasets: the Atherosclerosis Risk in Communities study, the Framingham Heart Study, and the Multi-Ethnic Study of Atherosclerosis. We used metadata variable descriptions and curated harmonized concepts as ground truth. We framed the problem as a paired sentence classification task. The accuracy of this method was compared with a logistic regression baseline method. To assess the generalizability of the trained models, we also evaluated their performance by separating the 3 datasets when preparing the training and validation sets. RESULTS: The newly developed FCN achieved a top-5 accuracy of 98.95% (95% CI 98.31%-99.47%) and an area under the receiver operating characteristic (AUC) of 0.99 (95% CI 0.98-0.99), outperforming the standard logistic regression model, which exhibited a top-5 accuracy of 22.23% (95% CI 19.91%-24.87%) and an AUC of 0.82 (95% CI 0.81-0.83). The contrastive learning enhancement also outperformed the logistic regression model, although slightly below the base FCN model, exhibiting a top-5 accuracy of 89.88% (95% CI 87.88%-91.68%) and an AUC of 0.98 (95% CI 0.97-0.98). CONCLUSIONS: This novel approach provides a scalable solution for harmonizing metadata across large-scale cohort studies. The proposed method significantly enhances the performance over the baseline method by using learned representations to categorize harmonized concepts more accurately for cohorts in cardiovascular disease and stroke.