James Gunasegaram
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
James Gunasegaram has a total of 21 co-authors. Here are the top co-authors by number of shared publications:
- Danli Shi
School of Optometry, The Hong Kong Polytechnic University, Hong Kong, China
2 shared publications - Fan Song
School of Optometry, Hong Kong Polytechnic University, Hong Kong, China (Hong Kong)
2 shared publications - Mingguang He
School of Optometry, The Hong Kong Polytechnic University, Hong Kong SAR, China
2 shared publications - Na Liu
Guangzhou Cadre and Talent Health Management Center, Guangzhou Eleventh People’s Hospital, Guangzhou, China
2 shared publications - Weiyi Zhang
School of Optometry, The Hong Kong Polytechnic University, Hong Kong, China
2 shared publications - Wenyong Huang
Nanchang University Second Affiliated Hospital
2 shared publications
Latest Publications
- Open Access
- 30 December 2024
- Published by JMIR Publications Inc. in Journal of Medical Internet Research
- Vol. 26 (1) , e54047
Slit Lamp Report Generation and Question Answering: Development and Validation of a Multimodal Transformer Model with Large Language Model Integration
Background: Large language models have shown remarkable efficacy in various medical research and clinical applications. However, their skills in medical image recognition and subsequent report generation or question answering (QA) remain limited. Objective: We aim to finetune a multimodal, transformer-based model for generating medical reports from slit lamp images and develop a QA system using Llama2. We term this entire process slit lamp–GPT. Methods: Our research used a dataset of 25,051 slit lamp images from 3409 participants, paired with their corresponding physician-created medical reports. We used these data, split into training, validation, and test sets, to finetune the Bootstrapping Language-Image Pre-training framework toward report generation. The generated text reports and human-posed questions were then input into Llama2 for subsequent QA. We evaluated performance using qualitative metrics (including BLEU [bilingual evaluation understudy], CIDEr [consensus-based image description evaluation], ROUGE-L [Recall-Oriented Understudy for Gisting Evaluation—Longest Common Subsequence], SPICE [Semantic Propositional Image Caption Evaluation], accuracy, sensitivity, specificity, precision, and F1-score) and the subjective assessments of two experienced ophthalmologists on a 1-3 scale (1 referring to high quality). Results: We identified 50 conditions related to diseases or postoperative complications through keyword matching in initial reports. The refined slit lamp–GPT model demonstrated BLEU scores (1-4) of 0.67, 0.66, 0.65, and 0.65, respectively, with a CIDEr score of 3.24, a ROUGE (Recall-Oriented Understudy for Gisting Evaluation) score of 0.61, and a Semantic Propositional Image Caption Evaluation score of 0.37. The most frequently identified conditions were cataracts (22.95%), age-related cataracts (22.03%), and conjunctival concretion (13.13%). Disease classification metrics demonstrated an overall accuracy of 0.82 and an F1-score of 0.64, with high accuracies (≥0.9) observed for intraocular lens, conjunctivitis, and chronic conjunctivitis, and high F1-scores (≥0.9) observed for cataract and age-related cataract. For both report generation and QA components, the two evaluating ophthalmologists reached substantial agreement, with κ scores between 0.71 and 0.84. In assessing 100 generated reports, they awarded scores of 1.36 for both completeness and correctness; 64% (64/100) were considered “entirely good,” and 93% (93/100) were “acceptable.” In the evaluation of 300 generated answers to questions, the scores were 1.33 for completeness, 1.14 for correctness, and 1.15 for possible harm, with 66.3% (199/300) rated as “entirely good” and 91.3% (274/300) as “acceptable.” Conclusions: This study introduces the slit lamp–GPT model for report generation and subsequent QA, highlighting the potential of large language models to assist ophthalmologists and patients.
- 30 December 2024
- Published by JMIR Publications Inc. in Journal of Medical Internet Research
- Vol. 26 (1) , e54047
Open AccessSlit Lamp Report Generation and Question Answering: Development and Validation of a Multimodal Transformer Model with Large Language Model Integration
Background: Large language models have shown remarkable efficacy in various medical research and clinical applications. However, their skills in medical image recognition and subsequent report generation or question answering (QA) remain limited. Objective: We aim to finetune a multimodal, transformer-based model for generating medical reports from slit lamp images and develop a QA system using Llama2. We term this entire process slit lamp–GPT. Methods: Our research used a dataset of 25,051 slit lamp images from 3409 participants, paired with their corresponding physician-created medical reports. We used these data, split into training, validation, and test sets, to finetune the Bootstrapping Language-Image Pre-training framework toward report generation. The generated text reports and human-posed questions were then input into Llama2 for subsequent QA. We evaluated performance using qualitative metrics (including BLEU [bilingual evaluation understudy], CIDEr [consensus-based image description evaluation], ROUGE-L [Recall-Oriented Understudy for Gisting Evaluation—Longest Common Subsequence], SPICE [Semantic Propositional Image Caption Evaluation], accuracy, sensitivity, specificity, precision, and F1-score) and the subjective assessments of two experienced ophthalmologists on a 1-3 scale (1 referring to high quality). Results: We identified 50 conditions related to diseases or postoperative complications through keyword matching in initial reports. The refined slit lamp–GPT model demonstrated BLEU scores (1-4) of 0.67, 0.66, 0.65, and 0.65, respectively, with a CIDEr score of 3.24, a ROUGE (Recall-Oriented Understudy for Gisting Evaluation) score of 0.61, and a Semantic Propositional Image Caption Evaluation score of 0.37. The most frequently identified conditions were cataracts (22.95%), age-related cataracts (22.03%), and conjunctival concretion (13.13%). Disease classification metrics demonstrated an overall accuracy of 0.82 and an F1-score of 0.64, with high accuracies (≥0.9) observed for intraocular lens, conjunctivitis, and chronic conjunctivitis, and high F1-scores (≥0.9) observed for cataract and age-related cataract. For both report generation and QA components, the two evaluating ophthalmologists reached substantial agreement, with κ scores between 0.71 and 0.84. In assessing 100 generated reports, they awarded scores of 1.36 for both completeness and correctness; 64% (64/100) were considered “entirely good,” and 93% (93/100) were “acceptable.” In the evaluation of 300 generated answers to questions, the scores were 1.33 for completeness, 1.14 for correctness, and 1.15 for possible harm, with 66.3% (199/300) rated as “entirely good” and 91.3% (274/300) as “acceptable.” Conclusions: This study introduces the slit lamp–GPT model for report generation and subsequent QA, highlighting the potential of large language models to assist ophthalmologists and patients.
- Open Access
- 27 October 2023
- Published by JMIR Publications Inc. in JMIR Preprints
Slit Lamp Report Generation and Question Answering: Development and Validation of a Multimodal Transformer Model with Large Language Model Integration (Preprint)
BACKGROUND Large language models have shown remarkable efficacy in various medical research and clinical applications. However, their skills in medical image recognition and subsequent report generation or question answering (QA) remain limited. OBJECTIVE We aim to finetune a multimodal, transformer-based model for generating medical reports from slit lamp images and develop a QA system using Llama2. We term this entire process slit lamp–GPT. METHODS Our research used a dataset of 25,051 slit lamp images from 3409 participants, paired with their corresponding physician-created medical reports. We used these data, split into training, validation, and test sets, to finetune the Bootstrapping Language-Image Pre-training framework toward report generation. The generated text reports and human-posed questions were then input into Llama2 for subsequent QA. We evaluated performance using qualitative metrics (including BLEU [bilingual evaluation understudy], CIDEr [consensus-based image description evaluation], ROUGE-L [Recall-Oriented Understudy for Gisting Evaluation—Longest Common Subsequence], SPICE [Semantic Propositional Image Caption Evaluation], accuracy, sensitivity, specificity, precision, and F1-score) and the subjective assessments of two experienced ophthalmologists on a 1-3 scale (1 referring to high quality). RESULTS We identified 50 conditions related to diseases or postoperative complications through keyword matching in initial reports. The refined slit lamp–GPT model demonstrated BLEU scores (1-4) of 0.67, 0.66, 0.65, and 0.65, respectively, with a CIDEr score of 3.24, a ROUGE (Recall-Oriented Understudy for Gisting Evaluation) score of 0.61, and a Semantic Propositional Image Caption Evaluation score of 0.37. The most frequently identified conditions were cataracts (22.95%), age-related cataracts (22.03%), and conjunctival concretion (13.13%). Disease classification metrics demonstrated an overall accuracy of 0.82 and an F1-score of 0.64, with high accuracies (≥0.9) observed for intraocular lens, conjunctivitis, and chronic conjunctivitis, and high F1-scores (≥0.9) observed for cataract and age-related cataract. For both report generation and QA components, the two evaluating ophthalmologists reached substantial agreement, with κ scores between 0.71 and 0.84. In assessing 100 generated reports, they awarded scores of 1.36 for both completeness and correctness; 64% (64/100) were considered “entirely good,” and 93% (93/100) were “acceptable.” In the evaluation of 300 generated answers to questions, the scores were 1.33 for completeness, 1.14 for correctness, and 1.15 for possible harm, with 66.3% (199/300) rated as “entirely good” and 91.3% (274/300) as “acceptable.” CONCLUSIONS This study introduces the slit lamp–GPT model for report generation and subsequent QA, highlighting the potential of large language models to assist ophthalmologists and patients.
- 27 October 2023
- Published by JMIR Publications Inc. in JMIR Preprints
Open AccessSlit Lamp Report Generation and Question Answering: Development and Validation of a Multimodal Transformer Model with Large Language Model Integration (Preprint)
BACKGROUND Large language models have shown remarkable efficacy in various medical research and clinical applications. However, their skills in medical image recognition and subsequent report generation or question answering (QA) remain limited. OBJECTIVE We aim to finetune a multimodal, transformer-based model for generating medical reports from slit lamp images and develop a QA system using Llama2. We term this entire process slit lamp–GPT. METHODS Our research used a dataset of 25,051 slit lamp images from 3409 participants, paired with their corresponding physician-created medical reports. We used these data, split into training, validation, and test sets, to finetune the Bootstrapping Language-Image Pre-training framework toward report generation. The generated text reports and human-posed questions were then input into Llama2 for subsequent QA. We evaluated performance using qualitative metrics (including BLEU [bilingual evaluation understudy], CIDEr [consensus-based image description evaluation], ROUGE-L [Recall-Oriented Understudy for Gisting Evaluation—Longest Common Subsequence], SPICE [Semantic Propositional Image Caption Evaluation], accuracy, sensitivity, specificity, precision, and F1-score) and the subjective assessments of two experienced ophthalmologists on a 1-3 scale (1 referring to high quality). RESULTS We identified 50 conditions related to diseases or postoperative complications through keyword matching in initial reports. The refined slit lamp–GPT model demonstrated BLEU scores (1-4) of 0.67, 0.66, 0.65, and 0.65, respectively, with a CIDEr score of 3.24, a ROUGE (Recall-Oriented Understudy for Gisting Evaluation) score of 0.61, and a Semantic Propositional Image Caption Evaluation score of 0.37. The most frequently identified conditions were cataracts (22.95%), age-related cataracts (22.03%), and conjunctival concretion (13.13%). Disease classification metrics demonstrated an overall accuracy of 0.82 and an F1-score of 0.64, with high accuracies (≥0.9) observed for intraocular lens, conjunctivitis, and chronic conjunctivitis, and high F1-scores (≥0.9) observed for cataract and age-related cataract. For both report generation and QA components, the two evaluating ophthalmologists reached substantial agreement, with κ scores between 0.71 and 0.84. In assessing 100 generated reports, they awarded scores of 1.36 for both completeness and correctness; 64% (64/100) were considered “entirely good,” and 93% (93/100) were “acceptable.” In the evaluation of 300 generated answers to questions, the scores were 1.33 for completeness, 1.14 for correctness, and 1.15 for possible harm, with 66.3% (199/300) rated as “entirely good” and 91.3% (274/300) as “acceptable.” CONCLUSIONS This study introduces the slit lamp–GPT model for report generation and subsequent QA, highlighting the potential of large language models to assist ophthalmologists and patients.
- 1 October 2023
- Published by Wolters Kluwer Health in Journal of Cataract & Refractive Surgery
- Vol. 49 (10) , 1082-1083
Comment on: Thoughts about the cortex
An abstract is unavailable. This article is available as a PDF only.
- 1 October 2023
- Published by Wolters Kluwer Health in Journal of Cataract & Refractive Surgery
- Vol. 49 (10) , 1082-1083
Comment on: Thoughts about the cortex
An abstract is unavailable. This article is available as a PDF only.
- Open Access
- 5 December 2021
- Published by Wiley in BJU International
- Vol. 129 (3) , 409-417
Online urological educational material for medical students: can search engines be trusted?
Objectives: To determine the credibility of online urological information that medical students are likely to encounter, determine possible discrepancies between the credibility of information pertaining to different areas within urology (especially those less relevant to patients), and assess trends in the sponsorship of online urological educational material. Materials and Methods: Health on the Net (HON) principles were used as a validated benchmark to assess the reliability of websites that appeared in the first 150 results of a search using the Google search engine. A variety of urological search terms were used, grouped into three broad categories with varying relevance to patients and medical students. Further analysis focussed on the sponsorship of assessed websites. Results: A total of 5400 websites were assessed for validation over a set of 36 search terms. Only 843/5400 (15.6%) of these were HONcode accredited, indicating a large proportion of unverified and potentially unreliable information. Search engine rankings usually favoured accredited websites ( P = 0.009), and accreditation peaked at 51.1% (184/360) in the first page of results, but sorting became weaker outside the highest search results. The percentage of accredited websites varied significantly between different subcategories of search terms such as conditions (18.3% [329/1800], P = 0.003) and procedures (13.5% [243/1800], P = 0.043). Governmental/educational and commercial sources supported the majority of websites assessed for sponsorship (21% [31/150] and 33% [49/150], respectively), and the former were more likely to rank highly in search results. Conclusion: Online urological information frequently lacks validation and is often of indeterminate credibility. There is a marked decrease in the proportion of accredited websites beyond the highest‐ranked results and when considering search categories more relevant to students and less relevant to patients. Students cannot necessarily rely on free online sources for accurate information and could benefit from the development of more rigorous novel tools and platforms.
- 5 December 2021
- Published by Wiley in BJU International
- Vol. 129 (3) , 409-417
Open AccessOnline urological educational material for medical students: can search engines be trusted?
Objectives: To determine the credibility of online urological information that medical students are likely to encounter, determine possible discrepancies between the credibility of information pertaining to different areas within urology (especially those less relevant to patients), and assess trends in the sponsorship of online urological educational material. Materials and Methods: Health on the Net (HON) principles were used as a validated benchmark to assess the reliability of websites that appeared in the first 150 results of a search using the Google search engine. A variety of urological search terms were used, grouped into three broad categories with varying relevance to patients and medical students. Further analysis focussed on the sponsorship of assessed websites. Results: A total of 5400 websites were assessed for validation over a set of 36 search terms. Only 843/5400 (15.6%) of these were HONcode accredited, indicating a large proportion of unverified and potentially unreliable information. Search engine rankings usually favoured accredited websites ( P = 0.009), and accreditation peaked at 51.1% (184/360) in the first page of results, but sorting became weaker outside the highest search results. The percentage of accredited websites varied significantly between different subcategories of search terms such as conditions (18.3% [329/1800], P = 0.003) and procedures (13.5% [243/1800], P = 0.043). Governmental/educational and commercial sources supported the majority of websites assessed for sponsorship (21% [31/150] and 33% [49/150], respectively), and the former were more likely to rank highly in search results. Conclusion: Online urological information frequently lacks validation and is often of indeterminate credibility. There is a marked decrease in the proportion of accredited websites beyond the highest‐ranked results and when considering search categories more relevant to students and less relevant to patients. Students cannot necessarily rely on free online sources for accurate information and could benefit from the development of more rigorous novel tools and platforms.