ChatOCT: Embedded Clinical Decision Support Systems for Optical Coherence Tomography in Offline and Resource-Limited Settings
- PMID: 40332685
- DOI: 10.1007/s10916-025-02188-x
ChatOCT: Embedded Clinical Decision Support Systems for Optical Coherence Tomography in Offline and Resource-Limited Settings
Abstract
Optical Coherence Tomography (OCT) is a critical imaging modality for diagnosing ocular and systemic conditions, yet its accessibility is hindered by the need for specialized expertise and high computational demands. To address these challenges, we introduce ChatOCT, an offline-capable, domain-adaptive clinical decision support system (CDSS) that integrates structured expert Q&A generation, OCT-specific knowledge injection, and activation-aware model compression. Unlike existing systems, ChatOCT functions without internet access, making it suitable for low-resource environments. ChatOCT is built upon LLaMA-2-7B, incorporating domain-specific knowledge from PubMed and OCT News through a two-stage training process: (1) knowledge injection for OCT-specific expertise and (2) Q&A instruction tuning for structured, interactive diagnostic reasoning. To ensure feasibility in offline environments, we apply activation-aware weight quantization, reducing GPU memory usage to ~ 4.74 GB, enabling deployment on standard OCT hardware. A novel expert answer generation framework mitigates hallucinations by structuring responses in a multi-step process, ensuring accuracy and interpretability. ChatOCT outperforms state-of-the-art baselines such as LLaMA-2, PMC-LLaMA-13B, and ChatDoctor by 10-15 points in coherence, relevance, and clinical utility, while reducing GPU memory requirements by 79%, while maintaining real-time responsiveness (~ 20 ms inference time). Expert ophthalmologists rated ChatOCT's outputs as clinically actionable and aligned with real-world decision-making needs, confirming its potential to assist frontline healthcare providers. ChatOCT represents an innovative offline clinical decision support system for optical coherence tomography (OCT) that runs entirely on local embedded hardware, enabling real-time analysis in resource-limited settings without internet connectivity. By offering a scalable, generalizable pipeline that integrates knowledge injection, instruction tuning, and model compression, ChatOCT provides a blueprint for next-generation, resource-efficient clinical AI solutions across multiple medical domains.
Keywords: Clinical decision support systems; Edge computing; Large language models; Optical coherence tomography.
© 2025. The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature.
Conflict of interest statement
Declarations. Human Ethics and Consent to Participate Declarations: Not applicable. Competing interests: The authors declare no competing interests. Disclosures: All the authors have nothing to disclose and declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Similar articles
-
Enhancing the performance of neurosurgery medical question-answering systems using a multi-task knowledge graph-augmented answer generation model.Front Neurosci. 2025 May 20;19:1606038. doi: 10.3389/fnins.2025.1606038. eCollection 2025. Front Neurosci. 2025. PMID: 40463593 Free PMC article.
-
OptimCLM: Optimizing clinical language models for predicting patient outcomes via knowledge distillation, pruning and quantization.Int J Med Inform. 2025 Mar;195:105764. doi: 10.1016/j.ijmedinf.2024.105764. Epub 2024 Dec 18. Int J Med Inform. 2025. PMID: 39708669
-
High-Performance, Low-Cost Optical Coherence Tomography System Using a Jetson Orin Nano for Real-Time Control and Image Processing.Transl Vis Sci Technol. 2025 Mar 3;14(3):24. doi: 10.1167/tvst.14.3.24. Transl Vis Sci Technol. 2025. PMID: 40136290 Free PMC article.
-
Ultra high-resolution anterior segment optical coherence tomography in the diagnosis and management of ocular surface squamous neoplasia.Ocul Surf. 2014 Jan;12(1):46-58. doi: 10.1016/j.jtos.2013.11.001. Epub 2013 Nov 9. Ocul Surf. 2014. PMID: 24439046 Free PMC article. Review.
-
Automated Segmentation and Quantification of Drusen in Fundus and Optical Coherence Tomography Images for Detection of ARMD.J Digit Imaging. 2018 Aug;31(4):464-476. doi: 10.1007/s10278-017-0038-7. J Digit Imaging. 2018. PMID: 29204763 Free PMC article. Review.
References
-
- Zeng, X., Zhang, X., Li, C., Wang, X., Jerwick, J., Xu, T., Ning, Y., Wang, Y., Zhang, L., Zhang, Z., and others, 2018, “Ultrahigh-Resolution Optical Coherence Microscopy Accurately Classifies Precancerous and Cancerous Human Cervix Free of Labeling,” Theranostics, 8(11), p. 3099. - DOI - PubMed - PMC
-
- Zhou, M., Hamad, M., Weiss, J., Eslami, A., Huang, K., Maier, M., Lohmann, C. P., Navab, N., Knoll, A., and Nasseri, M. A., 2018, “Towards Robotic Eye Surgery: Marker-Free, Online Hand-Eye Calibration Using Optical Coherence Tomography Images,” IEEE Robot. Autom. Lett., 3(4), pp. 3944–3951. - DOI
-
- Lo, W. C., Uribe-Patarroyo, N., Hoebel, K., Beaudette, K., Villiger, M., Nishioka, N. S., Vakoc, B. J., and Bouma, B. E., 2019, “Balloon Catheter-Based Radiofrequency Ablation Monitoring in Porcine Esophagus Using Optical Coherence Tomography,” Biomed. Opt. Express, 10(4), pp. 2067–2089. - DOI - PubMed - PMC
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources