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.
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
