{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,9]],"date-time":"2026-07-09T16:02:39Z","timestamp":1783612959341,"version":"3.55.0"},"reference-count":17,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,3,12]],"date-time":"2025-03-12T00:00:00Z","timestamp":1741737600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Artif. Intell."],"abstract":"<jats:sec><jats:title>Introduction<\/jats:title><jats:p>The integration of artificial intelligence (AI) into ophthalmic diagnostics has the potential to significantly enhance diagnostic accuracy and interpretability, thereby supporting clinical decision-making. However, a major challenge in AI-driven medical applications is the lack of transparency, which limits clinicians\u2019 trust in automated recommendations. This study investigates the application of machine learning techniques by integrating knowledge graphs with contrastive learning and utilizing \u201cclinical profile\u201d prompts to refine the performance of the ophthalmology-specific large language model, MeEYE, which is built on the CHATGLM3-6B architecture. This approach aims to improve the model\u2019s ability to capture clinically relevant features while enhancing both the accuracy and explainability of diagnostic predictions.<\/jats:p><\/jats:sec><jats:sec><jats:title>Methods<\/jats:title><jats:p>This study employs a novel methodological framework that incorporates domain-specific knowledge through knowledge graphs and enhances feature representation using contrastive learning. The MeEYE model is fine-tuned with structured clinical knowledge, enabling it to better distinguish subtle yet significant ophthalmic features. Additionally, \u201cclinical profile\u201d prompts are incorporated to further improve contextual understanding and diagnostic precision. The proposed method is evaluated through comprehensive performance benchmarking, including quantitative assessments and clinical case studies, to ensure its efficacy in real-world ophthalmic diagnosis.<\/jats:p><\/jats:sec><jats:sec><jats:title>Results<\/jats:title><jats:p>The experimental findings demonstrate that integrating knowledge graphs and contrastive learning into the MeEYE model significantly improves both diagnostic accuracy and model interpretability. Comparative analyses against baseline models reveal that the proposed approach enhances the identification of ophthalmic conditions with higher precision and clarity. Furthermore, the model\u2019s ability to generate transparent and clinically relevant AI recommendations is substantiated through rigorous evaluation, highlighting its potential for real-world clinical implementation.<\/jats:p><\/jats:sec><jats:sec><jats:title>Discussion<\/jats:title><jats:p>The results underscore the importance of explainable AI in medical diagnostics, particularly in ophthalmology, where model transparency is critical for clinical acceptance and utility. By incorporating domain-specific knowledge with advanced machine learning techniques, the proposed approach not only enhances model performance but also ensures that AI-generated insights are interpretable and reliable for clinical decision-making. These findings suggest that integrating structured medical knowledge with machine learning frameworks can address key challenges in AI-driven diagnostics, ultimately contributing to improved patient outcomes. Future research should explore the adaptability of this approach across various medical domains to further advance AI-assisted diagnostic systems.<\/jats:p><\/jats:sec>","DOI":"10.3389\/frai.2025.1527010","type":"journal-article","created":{"date-parts":[[2025,3,12]],"date-time":"2025-03-12T08:08:40Z","timestamp":1741766920000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":19,"title":["Applied machine learning in intelligent systems: knowledge graph-enhanced ophthalmic contrastive learning with \u201cclinical profile\u201d prompts"],"prefix":"10.3389","volume":"8","author":[{"given":"Mini","family":"Han Wang","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jiazheng","family":"Cui","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Simon Ming-Yuen","family":"Lee","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhiyuan","family":"Lin","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Peijin","family":"Zeng","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xinyue","family":"Li","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Haoyang","family":"Liu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yunxiao","family":"Liu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yang","family":"Xu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yapeng","family":"Wang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jos\u00e9 Lopes Camilo Da Costa","family":"Alves","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Guanghui","family":"Hou","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Junbin","family":"Fang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiangrong","family":"Yu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kelvin Kam-Lung","family":"Chong","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yi","family":"Pan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,3,12]]},"reference":[{"key":"ref1","author":"Benoit","year":"2023"},{"key":"ref2","doi-asserted-by":"publisher","first-page":"868","DOI":"10.1007\/s10439-023-03172-7","article-title":"Role of chat gpt in public health","volume":"51","author":"Biswas","year":"2023","journal-title":"Ann. Biomed. Eng."},{"key":"ref3","doi-asserted-by":"publisher","first-page":"542","DOI":"10.1038\/s42256-023-00654-0","article-title":"Knowledge graph-enhanced molecular contrastive learning with functional prompt","volume":"5","author":"Fang","year":"2023","journal-title":"Nat. Mach. Intell."},{"key":"ref4","doi-asserted-by":"publisher","first-page":"889","DOI":"10.1136\/bjophthalmol-2022-321141","article-title":"889 new meaning for NLP: the trials and tribulations of natural language processing with GPT-3 in ophthalmology","volume":"106","author":"Nath","year":"2022","journal-title":"Br. J. Ophthalmol."},{"key":"ref5","doi-asserted-by":"publisher","first-page":"137","DOI":"10.1007\/s10796-022-10295-0","article-title":"Knowledge graph and deep learning-based text-to-graph QL model for intelligent medical consultation chatbot","volume":"26","author":"Ni","year":"2024","journal-title":"Inf. Syst. Front."},{"key":"ref6","doi-asserted-by":"publisher","first-page":"18562","DOI":"10.1038\/s41598-023-45837-2","article-title":"Comparative performance of humans versus GPT-4.0 and GPT-3.5 in the self-assessment program of American Academy of ophthalmology","volume":"13","author":"Taloni","year":"2023","journal-title":"Sci. Rep."},{"key":"ref7","doi-asserted-by":"publisher","first-page":"100394","DOI":"10.1016\/j.xops.2023.100394","article-title":"Generative artificial intelligence through chat GPT and other large language models in ophthalmology: clinical applications and challenges","volume":"3","author":"Tan","year":"2023","journal-title":"Ophthalmol. Sci."},{"key":"ref8","author":"Wang","year":"2023"},{"key":"ref9","author":"Wang","year":"2024"},{"key":"ref10","doi-asserted-by":"publisher","first-page":"2697","DOI":"10.3390\/electronics12122697","article-title":"An explainable artificial intelligence-based robustness optimization approach for age-related macular degeneration detection based on medical IOT systems","volume":"12","author":"Wang","year":"2023","journal-title":"Electronics"},{"key":"ref11","doi-asserted-by":"publisher","first-page":"445","DOI":"10.26599\/BDMA.2023.9020024","article-title":"AI-based advanced approaches and dry eye disease detection based on multi-source evidence: cases, applications, issues, and future directions","volume":"7","author":"Wang","year":"2024","journal-title":"Big Data Min. Anal."},{"key":"ref12","author":"Wang","year":"2021"},{"key":"ref13","first-page":"521","article-title":"News topic Classification Base on fine-tuning of ChatGLM3-6B using NEFTune and LORA","author":"Yang","year":"2024"},{"key":"ref14","doi-asserted-by":"publisher","first-page":"694","DOI":"10.1016\/j.jhep.2024.01.014","article-title":"Clinical profiles and mortality rates are similar for metabolic dysfunction-associated steatotic liver disease and non-alcoholic fatty liver disease","volume":"80","author":"Younossi","year":"2024","journal-title":"J. Hepatol."},{"key":"ref15","doi-asserted-by":"publisher","first-page":"120","DOI":"10.3390\/bioengineering11020120","article-title":"Exploring diagnostic precision and triage proficiency: a comparative study of GPT-4 and bard in addressing common ophthalmic complaints","volume":"11","author":"Zandi","year":"2024","journal-title":"Bioengineering"},{"key":"ref16","doi-asserted-by":"publisher","first-page":"13115","DOI":"10.1111\/hel.13115","article-title":"Artificial intelligence-generated patient education materials for Helicobacter pylori infection: a comparative analysis","volume":"29","author":"Zeng","year":"2024","journal-title":"Helicobacter"},{"key":"ref17","doi-asserted-by":"publisher","first-page":"305","DOI":"10.1016\/j.aej.2024.02.011","article-title":"A knowledge graph and BiLSTM-CRF-enabled intelligent adaptive learning model and its potential application","volume":"91","author":"Zhu","year":"2024","journal-title":"Alex. Eng. J."}],"container-title":["Frontiers in Artificial Intelligence"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1527010\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,3,17]],"date-time":"2025-03-17T11:36:55Z","timestamp":1742211415000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1527010\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,3,12]]},"references-count":17,"alternative-id":["10.3389\/frai.2025.1527010"],"URL":"https:\/\/doi.org\/10.3389\/frai.2025.1527010","relation":{},"ISSN":["2624-8212"],"issn-type":[{"value":"2624-8212","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,3,12]]},"article-number":"1527010"}}