Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 9;25(1):1027.
doi: 10.1186/s12909-025-07592-y.

Enhancing medical students' diagnostic accuracy of infectious keratitis with AI-generated images

Affiliations

Enhancing medical students' diagnostic accuracy of infectious keratitis with AI-generated images

Wenjia Xie et al. BMC Med Educ. .

Abstract

Background: Developing students' ability to accurately diagnose various types of keratitis is challenging. This study aims to compare the effectiveness of teaching methods-real cases, artificial intelligence (AI)-generated images, and real medical images-on improving medical students' diagnostic accuracy of bacterial, fungal, and herpetic keratitis.

Methods: 97 consecutive fourth-year medical students who had completed basic ophthalmology educational courses were included. The students were divided into three groups: 30 students in the group (G1) using the real cases for teaching, 37 students in the group (G2) using AI-generated images for teaching, and 30 students in the group (G3) using real medical images for teaching. The G1 group had a 1-hour study session using five real cases of each type of infectious keratitis. The G2 group and the G3 group each experienced a 1-hour image reading sessions using 50 AI-generated or real medical images of each type of infectious keratitis. Diagnostic accuracy for three types of infectious keratitis was assessed via a 30-question test using real patient images, compared before and after teaching interventions.

Results: All teaching methods significantly improved mean overall diagnostic accuracy. The mean accuracy improved from 42.03 to 67.47% in the G1 group, from 42.68 to 71.27% in the G2 group, and from 46.50 to 74.23% in the G3 group, respectively. The mean accuracy improvement was highest in the G2 group (28.43%). There were no statistically significant differences in mean accuracy or accuracy improvement among the 3 groups.

Conclusions: AI-generated images significantly enhance the diagnostic accuracy for infectious keratitis in medical students, performing comparably to traditional case-based teaching and real patient images. This method may standardize and improve clinical ophthalmology training, particularly for conditions with limited educational resources.

Keywords: AI-Generated images; Artificial intelligence; Infectious keratitis; Medical education.

PubMed Disclaimer

Conflict of interest statement

Declarations. Ethics approval and consent to participate: Informed consent was obtained from all participants before the study, and the medical students in this study were informed of the course arrangement and tests in advance. No personally identifiable patient information was included in the teaching materials. All the experiments in this study were conducted in accordance to the Declaration of Helsinki. This study was approved by the institutional review board of Sir Run Run Shaw Hospital, Zhejiang University School of Medicine (Approval No.2024 − 0154). Clinical trial number: not applicable. Consent for publication: Not applicable. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
The framework of generative model. Legend: The model consists of a diffusion model used for image generation and two encoders used as generation conditions. In the process of generation, giving images and text as prompts can improve the stability of the generation process
Fig. 2
Fig. 2
Examples of artificial intelligent-generated infectious keratitis images. Legend: (A) bacterial keratitis, (B) fungal keratitis, (C) herpes simplex keratitis
Fig. 3
Fig. 3
Mean accuracies before and after different teaching methods. Legend: The mean (SD) accuracies significantly improved after teaching interventions in all groups (**P < 0.001, paired t-test)

Similar articles

References

    1. Sommer A, Taylor HR, Ravilla TD, West S, Lietman TM, Keenan JD, Chiang MF, Robin AL, Mills RP. Challenges of ophthalmic care in the developing world. JAMA Ophthalmol. 2014;132(5):640–4. 10.1001/jamaophthalmol.2014.84 - PMC - PubMed
    1. Ting D, Ho CS, Deshmukh R, Said DG, Dua HS. Infectious keratitis: an update on epidemiology, causative microorganisms, risk factors, and antimicrobial resistance. Eye (Lond). 2021;35(4):1084–101. 10.1038/s41433-020-01339-3 - PMC - PubMed
    1. Nguyen T, Ong J, Masalkhi M, Waisberg E, Zaman N, Sarker P, Aman S, Lin H, Luo M, Ambrosio R, et al. Artificial intelligence in corneal diseases: A narrative review. Cont Lens Anterior Eye. 2024;47(6):102284. 10.1016/j.clae.2024.102284 - PMC - PubMed
    1. Cabrera-Aguas M, Watson SL. Updates in diagnostic imaging for infectious keratitis: A review. Diagnostics (Basel). 2023;13(21):3358. 10.3390/diagnostics13213358 - PMC - PubMed
    1. Hu S, Sun Y, Li J, Xu P, Xu M, Zhou Y, Wang Y, Wang S, Ye J. Automatic diagnosis of infectious keratitis based on Slit lamp images analysis. J Pers Med. 2023;13(3):519. 10.3390/jpm13030519 - PMC - PubMed

LinkOut - more resources