# Early Detection of Cystoid Macular Edema in Retinitis Pigmentosa Using Longitudinal Deep Learning Analysis of OCT Scans

**Authors:** Farhang Hosseini, Farkhondeh Asadi, Reza Rabiei, Arash Roshanpoor, Hamideh Sabbaghi, Mehrnoosh Eslami, Rayan Ebnali Harari

PMC · DOI: 10.3390/diagnostics16010046 · Diagnostics · 2025-12-23

## TL;DR

This study uses deep learning on OCT scans to detect early signs of CME in retinitis pigmentosa patients, improving early intervention possibilities.

## Contribution

The first use of longitudinal OCT data for AI-driven CME prediction in retinitis pigmentosa patients.

## Key findings

- ResNet-34 achieved 98.68% accuracy in detecting CME from longitudinal OCT data.
- The model showed high specificity (99.45%) and F1-score (98.36%).
- Longitudinal data improved detection of subtle disease progression.

## Abstract

Background/Objectives: Retinitis pigmentosa (RP) is a progressive hereditary retinal disorder that frequently leads to vision loss, with cystoid macular edema (CME) occurring in approximately 10–50% of affected patients. Early detection of CME is crucial for timely intervention, yet most existing studies lack longitudinal data capable of capturing subtle disease progression. Methods: We propose a deep learning–based framework utilizing longitudinal optical coherence tomography (OCT) imaging for early detection of CME in patients with RP. A total of 2280 longitudinal OCT images were preprocessed using denoising and data augmentation techniques. Multiple pre-trained deep learning architectures were evaluated using a patient-wise data split to ensure robust performance assessment. Results: Among the evaluated models, ResNet-34 achieved the best performance, with an accuracy of 98.68%, specificity of 99.45%, and an F1-score of 98.36%. Conclusions: These results demonstrate the potential of longitudinal OCT–based artificial intelligence as a reliable, non-invasive screening tool for early CME detection in RP. To the best of our knowledge, this study is the first to leverage longitudinal OCT data for AI-driven CME prediction in this patient population.

## Linked entities

- **Diseases:** Retinitis pigmentosa (MONDO:0008377), cystoid macular edema (MONDO:0007935)

## Full-text entities

- **Diseases:** RP (MESH:D012174), vision loss (MESH:D014786), hereditary retinal disorder (MESH:D057130), CME (MESH:D008269)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12785400/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12785400/full.md

## References

60 references — full list in the complete paper: https://tomesphere.com/paper/PMC12785400/full.md

---
Source: https://tomesphere.com/paper/PMC12785400