Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Ophthalmol., 19 November 2025

Sec. Glaucoma

Volume 5 - 2025 | https://doi.org/10.3389/fopht.2025.1632827

This article is part of the Research TopicGlaucoma Progression- Novel Approaches for Detection and MonitoringView all articles

Predicting progressive vision loss in glaucoma patients using functional principal component analysis and electronic health records

  • 1Data Institute, University of San Francisco, San Francisco, CA, United States
  • 2Department of Mathematics and Statistics, University of San Francisco, San Francisco, CA, United States
  • 3Department of Ophthalmology, Byers Eye Institute, Stanford University, Palo Alto, CA, United States

Background: Glaucoma is a leading cause of irreversible blindness worldwide. Predicting a patient’s future clinical trajectory would help physicians personalize management. We present a novel approach for predicting patient visual field (VF) progression by combining Functional Principal Component Analysis (FPCA) with electronic health record (EHR) data.

Methods: We identified glaucoma patients using diagnosis codes who had >=3 VF tests. We developed a 2-stage modeling pipeline: 1) Patients were split 80:10:10 into train, validation, and test sets and classified as fast-progressors or slow-progressors. 2) FPCA was used to predict mean deviation (MD) trajectories over 10 years after the baseline year of VF exams, using the first 2 principal components. To make predictions, the model uses up to one year of baseline VF and EHR data as input, but can flexibly make predictions from as few as a single VF test.

Results: 15,764 VF tests belonging to 2,372 patients were included, of which 8.92% of eyes were fast progressors. On the held-out test set, predictions over 10 years of future MD trajectories using baseline VF and EHR clinical data yielded an R2 of 0.646 and an RMSE of 3.67 for fast-progressors, and an R2 of 0.728 and an RMSE of 3.09 for slow-progressors. Performance was higher when predicting over the near term (fast progressors: year 1 R2 0.920, RMSE 1.83; year 5 R2 0.515, RMSE 4.26; slow progressors: year 1 R2 0.918, RMSE 1.771; year 5 R2 0.717, RMSE 3.12).

Conclusion: A novel modeling approach combining FPCA with clinical data from EHR was able to model longitudinal clinical trajectories of glaucoma patients. This method is well-suited for modeling longitudinal healthcare data, handling sparse and irregular observation schedules with a varying number of inputs.

1 Introduction

Glaucoma is a chronic, progressive disease of the optic nerve and a leading cause of irreversible blindness worldwide (1). As glaucoma progresses, “blind spots” which are commonly asymptomatic in early stages can become large and debilitating. Treatment for glaucoma is aimed at slowing disease progression so patients maintain quality of life. Glaucoma is monitored through visual field (VF) testing which detects abnormal blind spots by presenting light stimuli of varying intensities in different locations while recording patient responses. Results are summarized using a global metric called mean deviation (MD), a measure of light sensitivity in decibels (dB) averaged over tested locations and compared to age-specific norms. Lower MD values indicate vision loss. While some patients remain stable for long periods, a small proportion are fast progressors who lose more than 1 dB/year of MD (25). Since VF tests are typically performed annually (6) and results can be noisy (7, 8), detecting progression is a difficult task requiring years of follow-up. If physicians could accurately predict a patient’s future VF trajectory, they could create more personalized treatment plans, particularly for slowing accelerated glaucoma progression.

Previous work has sought to predict VF mean deviation at specific future timepoints (9, 10) or classify patients as fast or slow progressors using initial test results (11, 12). While some efforts have yielded models with strong predictive power, limitations remain in their application to a clinical setting (13). Many previous approaches rely on a substantial number of baseline visual fields, requiring years of testing to make predictions (10, 1416). Additionally, many architectures are inflexible with regard to the required number or temporal spacing of VF tests (911, 15, 17), which means predictions cannot be updated easily as new data is gathered. Furthermore, most architecture designs predict outcomes at specific timepoints (e.g., 1, 2, 3, etc. years in the future) (16). These predictions require different models for each timepoint. Finally, it has been shown that clinical data can help inform VF progression prediction (15, 18). However, many models lack integration of clinical data now widely available via electronic health records (EHR) (19, 20).

The purpose of this study was to predict glaucoma patients’ future VF trajectories using a novel approach that combines EHR clinical data inputs with Functional Principal Component Analysis (FPCA). FPCA is a longitudinal technique that estimates a population-level mean trajectory and its major variations, leveraging shared information across subjects to predict individuals’ future trajectories. Our approach constructs a continuous curve to predict a patient’s MD value over 10 years, requiring only one baseline VF. We further integrate EHR data, including demographics, exam results, diagnoses, and medications, to enhance prediction accuracy. Combining FPCA with clinical data represents an innovative approach to modeling longitudinal outcomes and can potentially improve management of glaucoma and other chronic progressive diseases.

2 Methods

2.1 Data source and study population

Visual field (VF) and electronic health record (EHR) data were retrospectively collected from patients seen at the Byers Eye Institute at Stanford between 2009-2023. Figure 1 shows the cohort creation process and Table 1 shows cohort characteristics. All VF tests employed the Humphrey Field Analyzer (Carl Zeiss Meditec, Germany). VF tests administered using a non-white background color, the 10–2 test pattern, or belonging to patients under 18 were excluded. Only reliable tests with fixation and false negative rates below 33% were included, aligning with previous research (1114). For eyes tested using multiple strategies, (e.g. both SITA-Standard and SITA-Fast tests) the minority test strategy was discarded to ensure all compared tests were consistent. Patients must have a glaucoma-related encounter diagnosis, indicated by an International Classification of Diseases (ICD) code of H40-H42 or ICD9 code beginning with 365. Visual fields conducted on eyes subsequent to glaucoma surgery (Current Procedural Terminology codes in Supplementary Table 1) were excluded. Each eye must have at least three visual field tests using the same size and strategy. These criteria resulted in a final set of 15,764 visual fields from 2,372 patients. For evaluation, the cohort was split by patient in a 80:10:10 ratio, resulting in a training set of 12,611, a validation set of 1,577, and a test set of 1,576 visual fields.

Figure 1
Flowchart illustrating the selection process for visual field data. It starts with 77,247 fields, applying exclusion criteria like age and test strategy. After filtering for error rates, consistent test strategies, and diagnoses, it results in 15,764 fields for 2,372 patients, encompassing 8,520 right and 7,244 left eyes.

Figure 1. Flow diagram of cohort creation. Detailed cohort creation is depicted in the flow diagram, along with inclusion and exclusion criteria.

Table 1
www.frontiersin.org

Table 1. Cohort characteristics.

2.2 Visual field and EHR feature engineering

Visual field data included mean deviation, pattern standard deviation, and pointwise results from the threshold map (dB). The patient’s overall mean deviation slope was determined using subject-level linear regression models, using SciPy (V1.13.1) (21) and added as a feature to the dataset. 35 outlier eyes were removed using the Tukey Method (lower bound = Q1 - 1.5•IQR, upper bound = Q3 + 1.5•IQR). Eyes were labeled as fast progressors if mean deviation slope was worse than -1 dB/year.

Features available from EHR included demographic information, clinical eye examination information, ophthalmic and systemic diagnoses and medication usage. Only baseline information from on or before the date of a patient’s first VF test was included. Continuous features included patients’ best recorded visual acuity (VA), intraocular pressure (IOP), refraction spherical equivalent, optic nerve cup-to-disc ratio (CDR), central corneal thickness (CCT), and age at baseline. Demographic features (race/ethnicity, sex) and systemic and ocular medications and diagnoses were encoded as categorical variables. Missing data were handled as follows: missing race was considered “Other”; numerical features from the EHR were imputed with the mean. Simple imputation methods were used as all features had low missingness (<0.6%) except for the spherical equivalent (27%). In total, 431 input features were derived from baseline EHR data. Further feature engineering details are described in Appendix A.1.

2.3 Modeling approach

The modeling approach for predicting the value of future VF MD is summarized in Figure 2. We implemented a two-stage model where the output of one stage serves as input for the next, until the final model predicts MD for an individual at any time up to 10 years into the future.

Figure 2
Flowchart illustrating a model predicting visual field trajectories. Inputs include visual field tests and electronic health records. Stage 1 involves a logistic regression model, leading to Stage 2 using FPCA with fast and slow components. Outputs are two line graphs depicting predicted trajectories.

Figure 2. Overview of modeling approach for predicting future visual field using functional principal component analysis and electronic health record information. The proposed two-stage model architecture predicts the Mean Deviation (MD) value at a given timepoint. In Stage 1, a logistic regression model classifies patients into fast and slow progressors using electronic health record (EHR) data and visual fields data from a single visit. Stage 2 involves fitting Functional Principal Component Analysis (FPCA) models using all the Visual Field data. This gives an estimate of the trajectory over the next 10 years, for each progression category.

Stage 1: This stage classifies patients into fast/slow progressors using baseline EHR data and first-year VF data (56% of eyes had only one VF as baseline) enabling stratified modeling in subsequent stages. Several candidate models were evaluated (Table 2). Logistic regression performed best on the validation set and was chosen as the final Stage 1 model. To address the fast/slow progressor imbalance (8.92% (N = 364) of eyes were fast progressors) the loss function was weighted by the inverse proportion of class frequencies (w = 10.53). Additional experiments with resampling and feature selection techniques were explored to improve performance but ultimately not used in the final model (Appendix A.2, Supplementary Table 2). Hyperparameters were tuned using grid search and included the L2 regularization parameter C = 1.

Table 2
www.frontiersin.org

Table 2. Classification results for identification of fast progressors.

Stage 2: This stage predicts future MD using VF information, stratified for fast and slow progressors. We employed FPCA, which allows us to decompose irregularly and sparsely collected longitudinal VF data into a mean trajectory, a low-dimensional set of principal modes of variation (functional principal components, FPC), and a set of corresponding subject-specific FPC scores, which express how far an individual’s trajectory deviates from the mean in the direction of a given mode of variation (22). FPCA pools data across subjects over the time domain, harnessing this information to perform individual-level longitudinal predictions at arbitrary future timepoints (Appendix A.3). For fast and slow progressors, we individually predicted future MD trajectories up to 10 years using 1 year of VF exams with the R package fdapace (22, 23). Predictions were first discretized into 100 equispaced points along the timeline, then linear interpolation was used to estimate MD between points.

2.4 Evaluation

For Stage 1, we calculated the area under the receiver operating characteristic curve (AUROC), area under the precision-recall curve, sensitivity (recall), specificity, positive predictive value (precision), negative predictive value (NPV), and F1 score on the test set. The best model was determined using AUROC, and the classification threshold was chosen to maximize validation set F1 score. Feature importance for the highest-performing model, logistic regression, was determined using the magnitude of the coefficient and the effect size (β/standard error). For final FPCA model directly predicting MD (Stage 2), we calculated Root Mean Squared Error (RMSE) and R2 with 95% confidence intervals using non-parametric bootstrapping with 1,000 replicates on the test set, reporting the median values. RMSE approximately measures the average absolute error between predicted and actual MD values, with values closer to 0 indicating higher accuracy. R2 quantifies the proportion of variance in the dependent variable explained by the predictors, with values closer to 1 signifying strong predictive power. The FPCA mean functions and first 2 eigenfunctions were examined to provide insight into the FPCA predictions.

3 Results

3.1 Population characteristics

A total of 15,764 VF tests from 4,081 eyes of 2,372 patients were included. Population characteristics are summarized in Table 1. The mean age was 60.29 years and average baseline MD was -5.11 dB. A majority of patients were non-Hispanic White (36.07%) or Asian (40.00%), with approximately equal male and female patients (49.18% and 50.82%, respectively). The mean visual acuity was 0.13 logMAR units, and the mean maximum IOP was 21.57 mmHg. The median number of VF tests per eye was 4. The median time between first and last VF was 1,651 days with an IQR of 1,721 days (Q1 = 953 days, Q3 = 2674 days). 364 eyes were fast progressors (8.92%).

3.2 Stage 1: identification of fast progressors using EHR and baseline VF

Candidate models were trained to classify fast progressors based on baseline VF tests and EHR data, including demographics, clinical examination data (VA, IOP, CCT, spherical equivalent), and ocular and systemic medication usage and diagnoses. Model performance metrics are shown in Table 2, and Figure 3 depicts receiver operating and precision-recall curves. A confusion matrix is shown in Supplementary Figure 1. Logistic regression performed best, achieving a 0.77 (95% CI: 0.69–0.85) AUROC for identifying fast progressors. Evaluation of regression coefficients showed the top most important features included age, race, spherical equivalent (refraction), and others (Supplementary Table 3).

Figure 3
Left graph shows the Receiver Operating Characteristic (ROC) curves for TabNet (red), XGBoost (blue), SVC (green), and Logistic Regression (orange), with AUROC scores of 0.65, 0.70, 0.53, and 0.77, respectively. The right graph displays the Precision-Recall curves for the same models with AUPRC scores of 0.11, 0.20, 0.09, and 0.25, respectively.

Figure 3. Performance of Stage 1 model to classify fast and slow VF progressors. Receiver operating characteristic curves (left) and precision recall curves (right) across different machine learning models.

3.3 Stage 2: predicting future mean deviation using FPCA

FPCA was conducted using the training MD trajectories for both fast and slow progressors, estimating the population mean MD trajectory and first two eigenfunctions, which represent the dominant modes of variation in VF progression (Figure 4). The mean curve for fast progressors exhibits a steep decline, whereas it remains relatively constant for slow progressors. In both categories, the first eigenfunction is flat and represents constant individual-specific variation in MD which does not change over time. However, the second eigenfunction differs across groups; fast progressors with large second FPC scores exhibit higher frequency contrasts, indicating increased trajectory oscillation in comparison to similarly scoring slow progressors, who exhibit more gradual oscillation over the interval.

Figure 4
Graphs showing progression data over days. Left graph depicts mean deviation in decibels for fast and slow progressors. Middle and right graphs display eigenfunctions for fast and slow progressors, respectively, with two eigenfunctions each.

Figure 4. Functional principal component analysis of visual field trajectories. Mean function of both the progression categories (left), first 2 eigenfunctions (middle) which explain 99.5% of the variance for the fast progressors, and first 2 eigenfunctions (right) which explain 99.9% of the variance for the slow progressors. The increased hump in the mean function of the fast progressors is because of a single patient having multiple VF tests around day 3000.

The fraction of variation explained by each principal component is useful in understanding the relative importance of each mode of variation. For fast progressors, deviations from the mean trajectory in the direction of the first eigenfunction account for 98.5% of variation in observations, while the second eigenfunction explains only an additional 1% of variation. Similarly, for slow progressors, deviations from the mean trajectory in the direction of the first eigenfunction explain 98% of total variation, while the second eigenfunction accounts for 1.9%.

After training the FPCA model, we used the test set to evaluate the model’s ability to predict the next 10 years of MD trajectories, given one year of baseline VF inputs. Figures 5A, B provide examples of FPCA trajectory predictions compared with actual future MD values. Figures 5C, D display a scatterplot of MD predictions vs actual values for the entire test set of fast and slow progressors, respectively. The FPCA model had an overall RMSE = 3.091, R2 = 0.728 for slow progressors and an overall RMSE = 3.665, R2 = 0.646 for fast progressors.

Figure 5
Graph A shows FPCA predicted trajectories for fast progressors with declining mean deviation over time. Graph B illustrates predicted trajectories for slow progressors, showing a more stable mean deviation. Graph C is a scatter plot comparing actual versus predicted MD for fast progressors, showing deviation from the diagonal line. Graph D is a similar scatter plot for slow progressors, with their data points mostly clustering closer to the line. Each graph includes a legend explaining symbols used for actual and future/actual MD.

Figure 5. Predicted VF trajectories compared to actual observed VF MD. The figure illustrates example predicted trajectories for Fast progressors (A) and Slow progressors (B) over a 10-year period. Using one year of test data (indicated by dotted circles), trajectories (indicated by the continuous line) were fitted for each patient employing Functional Principal Component Analysis (FPCA). The crosses represent ground truth future MD values, serving as a comparison to validate the predicted trajectories. (C, D) show scatterplots for the actual vs predicted MD values for fast and slow progressors. The points on each plot are distinguished by color, representing different prediction time horizons.

Short-term predictions were more accurate than long-term predictions. When the model was evaluated across different future time horizons, predictions over nearer time periods (e.g. 0–1 years, 1–2 years) had higher R² values (Table 3). For fast progressors, R² remains robust in the initial years but dips below 0.5 after the fifth year. For slow progressors, R² remains fairly consistent beyond the fifth year.

Table 3
www.frontiersin.org

Table 3. RMSE and R2 score metrics for the final model’s prediction on the test set for each year-long time interval for future prediction, separated by fast & slow progressor classification.

Overall model performance of the pipeline stratified by race/ethnicity is presented in Supplementary Table 4. Across race/ethnicity groups, overall R2 varied from 0.708 to 0.774 and overall RMSE varied from 2.655-4.749.

4 Discussion

In this study, we present a novel approach to predicting glaucoma patients’ future visual field loss using a multistage architecture which applies functional principal component analysis to visual field data while fusing clinical information from EHR. FPCA allows us to use the entire sample of longitudinal VF tests to better inform individual patients’ future MD trajectories. Using one year of VF data, our model predicts MD over the next 10 years, surpassing prior benchmarks (9, 10). Such models can eventually form the basis of decision support tools that enable clinicians to better personalize glaucoma therapies to prevent irreversible vision loss.

Our work stands out for its innovative use of FPCA to directly predict future VF MD trajectories. In addition, our approach combines clinical information from the EHR with FPCA modeling on VF MD, which constitutes a novel method of fusing data modalities to improve FPCA modeling results. Our method outperforms previous studies which achieved overall RMSE between 4.31 and 4.58 (18, 24). Additionally, our modeling approach addresses key limitations of prior efforts. Our approach only requires one baseline VF for prediction, compared to the several years of baseline data required of many prior models, which can be impractical for clinical use. Moreover, in practice our model allows for dynamic updates with each new assessment, thus accommodating varying amounts of input data without requiring full model retraining. With each new VF test, updated FPCA scores can be determined to produce a new, up-to-date progression prediction.

Our approach to modeling VF progression by combining FPCA with EHR clinical data has broader implications for health informatics beyond ophthalmology. Few prior studies have adopted FPCA for health-related applications (e.g. modeling child growth patterns in underdeveloped countries, assessing the impact of different rehabilitation protocols after stroke, and modeling the progression of Parkinson’s disease) (2527). Our study adds to this small body of literature and highlights FPCA’s versatility in analyzing longitudinal data, especially in cases when data is sparse, a common challenge in many areas of healthcare. In addition, our approach incorporates the unique strategy of conducting FPCA separately for different patient phenotypes, fast and slow progressors. Implementing stratified FPCA could be valuable to researchers studying heterogeneous populations in other medical fields, allowing for more tailored and accurate modeling of patient subgroups. Finally, our approach of incorporating EHR clinical data into an FPCA pipeline with EHR clinical data provides a framework for assimilating complex types of patient data to yield more accurate predictions.

In our pipeline, FPCA modeling was performed separately for fast and slow progressors; thus, our pipeline incorporated an initial stage which classified patients as fast or slow progressors based on baseline data from the EHR. We prioritized making this classification based on as little baseline data as possible, to maximize the potential applicability of the entire prediction pipeline. The primary purpose of the Stage 1 model was to enhance the FPCA predictions; it was not intended to stand alone in predicting fast vs slow VF progression. Nevertheless, our results (0.77 AUROC, 0.70 balanced accuracy, and 0.36 F1 score) were still somewhat comparable to prior models predicting fast progression requiring far more baseline data, such as in work by Saeedi et al. (11) (0.86 F1 score with logistic regression requiring >= 5 baseline visual field tests), Dixit et al. (15) (0.94 AUC, using a convolutional LSTM requiring >= 4 baseline tests) and Hussain et al. (12) (0.83 AUC and 0.76 F1 score with a deep learning model, requiring 3 baseline tests and OCT imaging. Our Stage 1 model requires only one baseline VF while flexibly using more if available without having to average them: 56% of eyes in our database used only a single VF to make an initial classification, in contrast to the prior studies that leveraged multiple tests and imaging. Minimizing the time needed to collect baseline data for input into models is essential for producing more timely predictions to inform treatment plans before irreversible damage occurs. Although we explored various strategies to improve the Stage 1 model, including SMOTE, LASSO, and others, none significantly enhanced performance. Further methods to improve classification given a small amount of baseline input is a prime area of work for future studies. Additionally, our population had a high degree of imbalance, with a lower proportion of fast progressors (8.92%) than in other studies (12.5% fast progressors (2)), which may have posed additional modeling challenges in our case. Despite this, a crucial advantage of our approach is that since FPCA can naturally incorporate additional VF data as it becomes available, there is the potential for patients to be dynamically reclassified as fast or slow progressors as more data is collected. This flexibility avoids the rigid requirements of methods that rely on a fixed number of baseline inputs (11, 12, 15). Finally, although precision of fast progression prediction remains limited in this work, the threshold of positive prediction can be adjusted according to specific needs and tolerance for false positives in different clinical or research contexts. In most cases, the cost of failing to identify a fast progressor and modeling them as such may be more detrimental than the reverse.

Major challenges in predicting visual field progression are two-fold: predicting over the long horizon and predicting for the minority of patients who are fast progressors. Because fast progressors are a minority of all glaucoma patients, presenting results averaged over all patients risks over-inflating results, which is another reason we have presented results stratified by progression status to maintain maximum flexibility, even where others in prior research have not systematically done so (9). In addition, predicting over long time horizons naturally poses additional challenges, especially for fast progressors whose fields are by definition not stable. Most prior research has focused on predicting over shorter time horizons, such as within 2 years, or grouped predictions together (16, 28). Studies which include longer horizon predictions showed performance for overall populations, which may be skewed towards stable non- and slow-progressors (9). Our results clearly show that modeling likely holds most value for fast progressors only over the first few years. More work is needed for more accurate longer-horizon predictions for fast progressors; however, in clinical practice even apparently stable patients are seen at regular intervals (at least yearly). Thus, in practice, clinicians have more opportunities to update the prognosis with additional data and to intervene if necessary, more frequently than every 3+ years, so the immediate prognosis may be more valuable than a longer-term prognosis. Nevertheless, future studies aimed at predicting visual field progression should always stratify by progression status and by time horizon of the prediction, in order to maximize transparency and evaluation of how models perform under the most challenging circumstances.

Several other limitations remain which provide direction for future research. The cohort was derived from a single center, which may limit generalizability. External validation could help assess our model’s robustness across different populations and clinical settings. Future studies could leverage multicenter registries such as the Sight Outcomes Research Collaborative (SOURCE) to evaluate our approach in an independent population. These larger populations could also enable more granular subgroup-specific FPCA modeling. In the current study, we prioritized FPCA modeling stratified by fast vs slow progression status, but larger sample sizes could also explore FPCA modeling for demographic subgroups as well as formal evaluation of bias and fairness across demographic subpopulations. Ensuring that the model performs well and is equitable across demographics is crucial for clinical acceptance and ethical application. In addition, while our study focused on FPCA as a more flexible modeling alternative to the standard linear-based models for VF trajectories, FPCA assumes smooth deviations from a population mean, which could underfit rare or abrupt patterns in fast progressors. Though FPCA remains a more flexible and interpretable alternative to the clinical standard of linear regression (29, 30), more flexible model architectures could also be explored, such as deep sequence and Bayesian functional models, though deep sequence models reduce interpretability while Bayesian approaches require carefully specified priors. Additionally, our model does not include data from imaging modalities such as fundus photography, nor does it incorporate free-text data from clinical notes, which has been shown to improve predictions (15). These modalities were excluded due to inconsistent availability across patients in our dataset, and to maintain generalizability; however, we acknowledge that their inclusion in future work could enhance model performance and provide richer clinical context upon which to base predictions. Moreover, for future work, FPCA adjusted by covariates (31, 32) can be explored as an alternative to adjusting FPCA for EHR covariates in staged modeling, as well as methods to improve incorporation of time-varying covariates into predictions, as patients’ longitudinal clinical trajectories are complex with many clinical covariates changing over time.

5 Conclusion

In conclusion, we have developed a novel method of predicting visual field progression in glaucoma patients using a two-stage model architecture to predict MD trajectories up to ten years in the future. This model fuses clinical data from EHR with baseline VF results and has strong predictive power. Our approach can produce predictions using as little as one visual field but can also incorporate data from multiple VF tests. Our unique longitudinal modeling approach may be applicable for a wide variety of prediction problems across many medical domains. Eventually, models predicting future visual field loss may form the basis of clinical decision support to help physicians personalize therapies for glaucoma patients to avoid vision loss.

Data availability statement

The datasets presented in this article are not readily available because Datasets in this study were derived from electronic health records of patients, which contain protected health information and thus cannot be shared without appropriate data use agreements. Please contact the corresponding author for details. Requests to access the datasets should be directed to Sophia Wang, c3l3YW5nQHN0YW5mb3JkLmVkdQ==.

Ethics statement

The studies involving humans were approved by Stanford Institutional Review Board. The studies were conducted in accordance with the local legislation and institutional requirements. The ethics committee/institutional review board waived the requirement of written informed consent for participation from the participants or the participants’ legal guardians/next of kin because This was a retrospective review of electronic health records and too many patients were included to make written consent feasible.

Author contributions

RD: Conceptualization, Writing – original draft, Investigation, Visualization, Formal analysis, Methodology, Writing – review & editing, Data curation. MS: Writing – original draft, Visualization, Data curation, Formal analysis, Conceptualization, Writing – review & editing, Methodology, Investigation. CC: Project administration, Conceptualization, Investigation, Writing – review & editing, Supervision. SW: Resources, Funding acquisition, Data curation, Conceptualization, Project administration, Writing – review & editing, Methodology, Investigation, Supervision.

Funding

The author(s) declare financial support was received for the research and/or publication of this article. This work was supported by the following grants: National Eye Institute 1K23EY03263501(SYW); Career Development Award from Research to Prevent Blindness (SYW); American Glaucoma Society Young Clinician Scientist Award (SYW); unrestricted departmental grant from Research to Prevent Blindness (SYW); departmental grant National Eye Institute P30-EY026877 (SYW); National Eye Institute R01EY036893 (SYW). The sponsors or funding organizations had no role in the design or conduct of this research.

Conflict of interest

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

Generative AI statement

The author(s) declare that no Generative AI was used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fopht.2025.1632827/full#supplementary-material

References

1. Allison K, Patel D, and Alabi O. Epidemiology of glaucoma: the past, present, and predictions for the future. Cureus. (2020) 12(11):e11686. doi: 10.7759/cureus.11686

PubMed Abstract | Crossref Full Text | Google Scholar

2. Jackson AB, Martin KR, Coote MA, Medeiros FA, Girkin CA, Fazio MA, et al. Fast progressors in glaucoma. Ophthalmology. (2023) 130:462–8. doi: 10.1016/j.ophtha.2023.01.008

PubMed Abstract | Crossref Full Text | Google Scholar

3. Heijl A, Bengtsson B, Hyman L, and Leske MC. Natural history of open-angle glaucoma. Ophthalmology. (2009) 116:2271–6. doi: 10.1016/j.ophtha.2009.06.042

PubMed Abstract | Crossref Full Text | Google Scholar

4. Chauhan BC, Malik R, Shuba LM, Rafuse PE, Nicolela MT, and Artes PH. Rates of glaucomatous visual field change in a large clinical population. Investig Opthalmology Vis Sci. (2014) 55:4135. doi: 10.1167/iovs.14-14643

PubMed Abstract | Crossref Full Text | Google Scholar

5. Heijl A, Buchholz P, Norrgren G, and Bengtsson B. Rates of visual field progression in clinical glaucoma care. Acta Ophthalmol (Copenh). (2013) 91:406–12. doi: 10.1111/j.1755-3768.2012.02492.x

PubMed Abstract | Crossref Full Text | Google Scholar

6. Stagg BC, Stein JD, Medeiros FA, Horns J, Hartnett ME, Kawamoto K, et al. The frequency of visual field testing in a US nationwide cohort of individuals with open-angle glaucoma. Ophthalmol Glaucoma. (2022) 5:587–93. doi: 10.1016/j.ogla.2022.05.002

PubMed Abstract | Crossref Full Text | Google Scholar

7. Bentley SA, LeBlanc RP, Nicolela MT, and Chauhan BC. Validity, reliability, and repeatability of the useful field of view test in persons with normal vision and patients with glaucoma. Investig Opthalmology Vis Sci. (2012) 53:6763. doi: 10.1167/iovs.12-9718

PubMed Abstract | Crossref Full Text | Google Scholar

8. Birt CM, Shin DH, Samudrala V, Hughes BA, Kim C, and Lee D. Analysis of reliability indices from humphrey visual field tests in an urban glaucoma population. Ophthalmology. (1997) 104:1126–30. doi: 10.1016/S0161-6420(97)30173-0

PubMed Abstract | Crossref Full Text | Google Scholar

9. Wen JC, Lee CS, Keane PA, Xiao S, Rokem AS, Chen PP, et al. Forecasting future Humphrey Visual Fields using deep learning. PloS One. (2019) 14:e0214875. doi: 10.1371/journal.pone.0214875

PubMed Abstract | Crossref Full Text | Google Scholar

10. Park K, Kim J, and Lee J. Visual field prediction using recurrent neural network. Sci Rep. (2019) 9:8385. doi: 10.1038/s41598-019-44852-6

PubMed Abstract | Crossref Full Text | Google Scholar

11. Saeedi O, Boland MV, D’Acunto L, Swamy R, Hegde V, Gupta S, et al. Development and comparison of machine learning algorithms to determine visual field progression. Transl Vis Sci Technol. (2021) 10:27. doi: 10.1167/tvst.10.7.27

PubMed Abstract | Crossref Full Text | Google Scholar

12. Hussain S, Chua J, Wong D, Lo J, Kadziauskiene A, Asoklis R, et al. Predicting glaucoma progression using deep learning framework guided by generative algorithm. Sci Rep. (2023) 13:19960. doi: 10.1038/s41598-023-46253-2

PubMed Abstract | Crossref Full Text | Google Scholar

13. Xie F, Yuan H, Ning Y, Ong MEH, Feng M, Hsu W, et al. Deep learning for temporal data representation in electronic health records: A systematic review of challenges and methodologies. J BioMed Inform. (2022) 126:103980. doi: 10.1016/j.jbi.2021.103980

PubMed Abstract | Crossref Full Text | Google Scholar

14. Taketani Y, Murata H, Fujino Y, Mayama C, and Asaoka R. How many visual fields are required to precisely predict future test results in glaucoma patients when using different trend analyses? Investig Opthalmology Vis Sci. (2015) 56:4076. doi: 10.1167/iovs.14-16341

PubMed Abstract | Crossref Full Text | Google Scholar

15. Dixit A, Yohannan J, and Boland MV. Assessing glaucoma progression using machine learning trained on longitudinal visual field and clinical data. Ophthalmology. (2021) 128:1016–26. doi: 10.1016/j.ophtha.2020.12.020

PubMed Abstract | Crossref Full Text | Google Scholar

16. Garcia GGP, Lavieri MS, Andrews C, Liu X, Van Oyen MP, Kass MA, et al. Accuracy of kalman filtering in forecasting visual field and intraocular pressure trajectory in patients with ocular hypertension. JAMA Ophthalmol. (2019) 137:1416. doi: 10.1001/jamaophthalmol.2019.4190

PubMed Abstract | Crossref Full Text | Google Scholar

17. Parashar D and Agrawal DK. Classification of glaucoma stages using image empirical mode decomposition from fundus images. J Digit Imaging. (2022) 35:1283–92. doi: 10.1007/s10278-022-00648-1

PubMed Abstract | Crossref Full Text | Google Scholar

18. Wang SY, Tseng B, and Hernandez-Boussard T. Deep learning approaches for predicting glaucoma progression using electronic health records and natural language processing. Ophthalmol Sci. (2022) 2:100127. doi: 10.1016/j.xops.2022.100127

PubMed Abstract | Crossref Full Text | Google Scholar

19. Wang M, Shen LQ, Pasquale LR, Petrakos P, Formica S, Boland MV, et al. An artificial intelligence approach to detect visual field progression in glaucoma based on spatial pattern analysis. Invest Ophthalmol Vis Sci. (2019) 60:365–75. doi: 10.1167/iovs.18-25568

PubMed Abstract | Crossref Full Text | Google Scholar

20. Asaoka R, Murata H, Iwase A, and Araie M. Detecting preperimetric glaucoma with standard automated perimetry using a deep learning classifier. Ophthalmology. (2016) 123:1974–80. doi: 10.1016/j.ophtha.2016.05.029

PubMed Abstract | Crossref Full Text | Google Scholar

21. Virtanen P, Gommers R, Oliphant TE, Haberland M, Reddy T, Cournapeau D, et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat Methods. (2020) 17:261–72. doi: 10.1038/s41592-019-0686-2

PubMed Abstract | Crossref Full Text | Google Scholar

22. Yao F, Müller HG, and Wang JL. Functional data analysis for sparse longitudinal data. J Am Stat Assoc. (2005) 100:577–90. doi: 10.1198/016214504000001745

Crossref Full Text | Google Scholar

23. Zhou Y, Chen H, Iao S, Kundu P, Zhou H, Bhattacharjee S, et al. 2024. fdapace: Functional Data Analysis and Empirical Dynamics [software]. R package version 0.6.0. Available from: https://CRAN.R-project.org/package=fdapace.

Google Scholar

24. Pham QTM, Han JC, Park DY, and Shin J. Multimodal deep learning model of predicting future visual field for glaucoma patients. IEEE Access. (2023) 11:19049–58. doi: 10.1109/ACCESS.2023.3248065

Crossref Full Text | Google Scholar

25. Karuppusami R, Antonisamy B, and Premkumar PS. Functional principal component analysis for identifying the child growth pattern using longitudinal birth cohort data. BMC Med Res Methodol. (2022) 22:76. doi: 10.1186/s12874-022-01566-0

PubMed Abstract | Crossref Full Text | Google Scholar

26. Sánchez-Sánchez M, Belda-Lois JM, Mena-del Horno S, Viosca-Herrero E, Gisbert-Morant B, Igual-Camacho C, et al. Functional principal component analysis as a new methodology for the analysis of the impact of two rehabilitation protocols in functional recovery after stroke. J NeuroEngineering Rehabil. (2014) 11:134. doi: 10.1186/1743-0003-11-134

PubMed Abstract | Crossref Full Text | Google Scholar

27. Ren X, Lin J, Stebbins GT, Goetz CG, and Luo S. Prognostic modeling of parkinson’s disease progression using early longitudinal patterns of change. Mov Disord. (2021) 36:2853–61. doi: 10.1002/mds.28730

PubMed Abstract | Crossref Full Text | Google Scholar

28. Abbasi A, Gowrisankaran S, Lin WC, Song X, Antony BJ, Wollstein G, et al. A hybrid deep learning based approach for visual field test forecasting. Ophthalmol Sci. (2025) (100803):100803. doi: 10.1016/j.xops.2025.100803

PubMed Abstract | Crossref Full Text | Google Scholar

29. Abu SL, Poleon S, and Racette L. The usefulness of assessing glaucoma progression with postprocessed visual field data. Transl Vis Sci Technol. (2022) 11:5. doi: 10.1167/tvst.11.5.5

PubMed Abstract | Crossref Full Text | Google Scholar

30. Bengtsson B, Patella VM, and Heijl A. Prediction of glaucomatous visual field loss by extrapolation of linear trends. Arch Ophthalmol. (2009) 127:1610–5. doi: 10.1001/archophthalmol.2009.297

PubMed Abstract | Crossref Full Text | Google Scholar

31. Jiang C-R and Wang J-L. Covariate adjusted functional principal components analysis for longitudinal data. Ann Statist. (2010) 38:1194–226. doi: 10.1214/09-AOS742

Crossref Full Text | Google Scholar

32. Fei D, He S, Jones DE, and Huang JZ. Functional PCA with covariate-dependent mean and covariance structure. Technometrics. (2022) 64:335–455. doi: 10.1080/00401706.2021.2008502

Crossref Full Text | Google Scholar

Keywords: visual field, electronic health record, glaucoma, machine learning, longitudinal data analysis, functional principal component analysis

Citation: Donnipadu RK, Sivolella M, Carroll C and Wang SY (2025) Predicting progressive vision loss in glaucoma patients using functional principal component analysis and electronic health records. Front. Ophthalmol. 5:1632827. doi: 10.3389/fopht.2025.1632827

Received: 21 May 2025; Accepted: 31 October 2025;
Published: 19 November 2025.

Edited by:

Ari Leshno, Sheba Medical Center, Israel

Reviewed by:

Mukhit Kulmaganbetov, Centre for Eye and Vision Research Limited (CEVR), Hong Kong SAR, China
Mousa Moradi, Harvard University, United States

Copyright © 2025 Donnipadu, Sivolella, Carroll and Wang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Sophia Y. Wang, c3l3YW5nQHN0YW5mb3JkLmVkdQ==

These authors have contributed equally to this work

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.