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 May 7;49(1):59.
doi: 10.1007/s10916-025-02188-x.

ChatOCT: Embedded Clinical Decision Support Systems for Optical Coherence Tomography in Offline and Resource-Limited Settings

Affiliations

ChatOCT: Embedded Clinical Decision Support Systems for Optical Coherence Tomography in Offline and Resource-Limited Settings

Chang Liu et al. J Med Syst. .

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.

PubMed Disclaimer

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

References

    1. Leitgeb, R. A., Bouma, B., Grieve, K., Hendon, C., Podoleanu, A., Wojtkowski, M., and Yasuno, Y., 2023, “30 Years of Optical Coherence Tomography: Introduction to the Feature Issue,” Biomed. Opt. Express, 14(10), pp. 5484–5487. - DOI - PubMed - PMC
    1. 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
    1. 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
    1. 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
    1. Betzler, B. K., Chen, H., Cheng, C.-Y., Lee, C. S., Ning, G., Song, S. J., Lee, A. Y., Kawasaki, R., van Wijngaarden, P., Grzybowski, A., and others, 2023, “Large Language Models and Their Impact in Ophthalmology,” Lancet Digit. Health, 5(12), pp. e917–e924. - DOI - PubMed - PMC

MeSH terms

LinkOut - more resources