November 2022
Volume 11, Issue 11
Open Access
Artificial Intelligence  |   November 2022
Demographics Prediction and Heatmap Generation From OCT Images of Anterior Segment of the Eye: A Vision Transformer Model Study
Author Affiliations & Notes
  • Yun Jeong Lee
    Department of Ophthalmology, Seoul National University Hospital, Seoul National University College of Medicine, Seoul, Korea
  • Sooyeon Choe
    Department of Ophthalmology, Seoul National University Hospital, Seoul National University College of Medicine, Seoul, Korea
  • Seoyoung Wy
    Department of Ophthalmology, Seoul National University Hospital, Seoul National University College of Medicine, Seoul, Korea
  • Mirinae Jang
    Department of Ophthalmology, Seoul National University Hospital, Seoul National University College of Medicine, Seoul, Korea
  • Jin Wook Jeoung
    Department of Ophthalmology, Seoul National University Hospital, Seoul National University College of Medicine, Seoul, Korea
  • Hyuk Jin Choi
    Department of Ophthalmology, Seoul National University Hospital, Seoul National University College of Medicine, Seoul, Korea
    Department of Ophthalmology, Seoul National University Hospital Healthcare System Gangnam Center, Seoul National University College of Medicine, Seoul, Korea
  • Ki Ho Park
    Department of Ophthalmology, Seoul National University Hospital, Seoul National University College of Medicine, Seoul, Korea
  • Sukkyu Sun
    Biomedical Research Institute, Seoul National University Hospital, Seoul, Korea
  • Young Kook Kim
    Department of Ophthalmology, Seoul National University Hospital, Seoul National University College of Medicine, Seoul, Korea
  • Correspondence: Young Kook Kim, Department of Ophthalmology, Seoul National University Hospital, Seoul National University College of Medicine, 101 Daehak-ro, Jongno-gu, Seoul 03080, Korea. e-mail: md092@naver.com 
  • Sukkyu Sun, Biomedical Research Institute, Seoul National University Hospital, 101 Daehak-ro, Jongno-gu, Seoul 03080, Korea. e-mail: sukkyusun@melab.snu.ac.kr 
  • Footnotes
    *  SS and YKK contributed equally to this article.
Translational Vision Science & Technology November 2022, Vol.11, 7. doi:https://doi.org/10.1167/tvst.11.11.7
  • Views
  • PDF
  • Share
  • Tools
    • Alerts
      ×
      This feature is available to authenticated users only.
      Sign In or Create an Account ×
    • Get Citation

      Yun Jeong Lee, Sooyeon Choe, Seoyoung Wy, Mirinae Jang, Jin Wook Jeoung, Hyuk Jin Choi, Ki Ho Park, Sukkyu Sun, Young Kook Kim; Demographics Prediction and Heatmap Generation From OCT Images of Anterior Segment of the Eye: A Vision Transformer Model Study. Trans. Vis. Sci. Tech. 2022;11(11):7. https://doi.org/10.1167/tvst.11.11.7.

      Download citation file:


      © ARVO (1962-2015); The Authors (2016-present)

      ×
  • Supplements
Abstract

Purpose: To predict demographic characteristics from anterior segment optical coherence tomography (AS-OCT) images of eyes using a Vision Transformer (ViT) model.

Methods: A total of 2970 AS-OCT images were used to train, validate, and test a ViT to predict age and sex, and 2616 images were used for height, weight, and body mass index (BMI). The main outcome measure was the area under the receiver operating characteristic curve (AUC) of the ViT.

Results: The ViT achieved the largest AUC (0.910) for differentiating age ≤75 versus >75 years, followed by age ≤60 versus 60–75 versus >75 years (AUC, 0.844), and for discriminating sex (AUC, 0.665). The prediction abilities for the other demographic characteristics were lower: an AUC of 0.521 for classifying height ≤170 versus >170 cm in males and ≤155 versus >155 cm in females; 0.522 for weight <70 versus ≥70 kg in males and 0.503 for <55 versus ≥55 kg in females, and 0.517 for BMI <23 versus 23–25 versus ≥25 kg/m2. Heatmaps highlighted the area of the iridocorneal angle for its contribution to the prediction of age ≤75 versus >75 years.

Conclusions: Although the ViT demonstrated a good ability to classify age from AS-OCT images, it performed poorly for sex, height, weight, and BMI. The heatmap obtained of the prediction will provide clues to understanding the age-related anterior segment changes in eyes.

Translational Relevance: The ViT can determine age-related anterior segment structural changes using AS-OCT images, which will aid clinicians in the management of ocular diseases.

Introduction
Anterior-segment optical coherence tomography (AS-OCT) is an imaging modality that enables non-invasive, rapid, and high-resolution visualization of the anterior segment structures of the eye.1 On the strength of its technological breakthrough, AS-OCT is demonstrating its clinical utility for diagnosis, monitoring, and treatment of various ocular diseases.213 Given the premise that the diagnosis of diseases and determination of their progression are fundamentally based on differentiating abnormalities from the norm, it is vital to figure out natural changes and differences in anterior segment structures related to demographic characteristics. 
Previous AS-OCT imaging studies have revealed anatomic differences of anterior segment structures including the cornea, anterior chamber, iris, iridocorneal angle, and trabecular meshwork as they relate to demographic factors such as age, sex, height, or weight.1426 For example, the iris width has been reported to increase with age and to be significantly greater in males.16 Also, corneal diameter and vault have shown positive correlations with height,27 and anterior chamber depth has been significantly lower in obese subjects.28 
Recent studies using deep learning (DL) also have reported that the DL algorithm employed successfully predicted demographic characteristics including age and sex from OCT images (Supplementary Table).2932 In addition, Vision Transformer (ViT), which is an extended application of Transformer to computer vision, has shown its usefulness in ophthalmology, as well.33,34 
Notwithstanding the former efforts to relate anterior segment structural differences to demographic characteristics,1426 research focusing on diverse demographic variables is lacking, and the results that have been obtained are not validated. Furthermore, whereas there have been several studies predicting demographic characteristic from ocular images using DL, those utilizing AS-OCT images are lacking. Thus motivated, we aimed to validate and test DL models for prediction of demographic characteristics including age, sex, height, weight, and body mass index (BMI) from AS-OCT images of normal eyes and to identify the key structures contributory to such prediction. Our findings will help clinicians to understand how anterior segment structures differ according to demographic characteristics, which in turn will facilitate evaluation and management of ocular diseases in clinical practice. 
Methods
The protocol of this study was prospectively registered at the Open Science Framework (registration no. 10.17605/OSF.IO/FQ46X). The study followed the tenets of the Declaration of Helsinki and was approved by the Big Data Review Board of Seoul National University Hospital (SNUH; Institutional Review Board registration no. H-2104-085-1212). Informed consent was waived due to the retrospective nature of the study. 
Participants and Data Collection
From SUPREME, a clinical data warehouse of SNUH, a list of eligible participants who had undergone AS-OCT imaging (Visante; Carl Zeiss Meditec, Dublin, CA) from January 2008 to December 2020 at SNUH and for whom height and weight measurements taken within 6 months of (before or after) imaging were available was obtained. The AS-OCT images and demographic data on age, sex, height, weight, and BMI were extracted from an electronic medical record database of BESTCare (ezCaretech, Seoul, Korea), an SNUH hospital information system (Fig. 1). As for the demographic data, we obtained them through SUPREME, which matches each patient's data with an identification number. 
Figure 1.
 
Study flowchart. CDW, clinical data warehouse; EMR, electronic medical record; Grad-CAM, gradient-weighted class activation mapping.
Figure 1.
 
Study flowchart. CDW, clinical data warehouse; EMR, electronic medical record; Grad-CAM, gradient-weighted class activation mapping.
For inclusion in the study, participants were required to be 40 years of age or older and to have an open-angle on gonioscopic examinations. The exclusion criteria were as follows: history of prior ocular surgery, laser treatment, or trauma; any ocular or systemic diseases that could affect anterior segment structures, including corneal disease (e.g., corneal opacity, corneal dystrophy, keratoconus), iridocorneal angle abnormality (e.g., angle-closure glaucoma), or ocular inflammatory disease (e.g., uveitis); any medications that could affect anterior segment structures; any systemic diseases or therapies affecting height (e.g., Marfan syndrome) or weight (e.g., metabolic disease, cancer); or AS-OCT images of poor quality or with artifacts. Participants were then independently assessed by two investigators (YJL and SC) for final eligibility. Discrepancies were resolved through discussion and consensus or, if needed, adjudication by a third investigator (YKK). 
AS-OCT Imaging
All of the participants underwent Visante AS-OCT imaging by an experienced examiner at the Department of Ophthalmology, SNUH. Seated, they were asked to fixate on the internal fixation light in the primary gaze position under darkroom conditions. Cross-sectional AS-OCT scanning was performed for each eye along the horizontal axis (nasal–temporal angles at 0°–180°) using the standard anterior segment single-scan protocol entailing 256 A-scans per line obtained at an image acquisition speed of 2000 A-scans per second, an axial resolution of 18 µm, a transverse resolution of 60 µm, and in-scan dimensions of 16 × 6 mm. 
Image Datasets and Preprocessing
Among the 3866 eligible AS-OCT images from 1322 participants, a total of 2970 images from 1030 were used to predict age and sex, and 2616 images from 857 were used to predict height, weight, and BMI. A total of 896 images of 292 participants were excluded: 808 images of 259 due to poor quality or artifacts, 44 images of 22 due to history of prior ocular surgery, and 44 images of 11 due to corneal disease. As for analysis of height, weight, or BMI, a total of 354 images of 173 participants were further excluded due to their missing data (Fig. 1). To estimate the number of images required to train a DL model, we referred to earlier studies3537 that utilized medical images, including AS-OCT images, for DL. 
For image preprocessing, each of the horizontal AS-OCT images was split in half along the vertical midline and rescaled to 384 × 384 pixels using bicubic interpolation. The entire datasets were randomly shuffled and apportioned into training, validation, and test datasets at a ratio of 8:1:1 to ensure that no images from the same participant ended up in two or more of those datasets. The training dataset was used to train the DL model, the validation dataset to determine when to end the training, and the test dataset to evaluate the performance of the DL model. For data augmentation to improve the performance of the DL model, the right side of the split images in the training dataset were flipped horizontally to align with the left-side images. We applied only flipping, because other geometric transformation techniques such as rotation did not improve the consistency of the configuration of the images. 
DL Model Development
We used a ViT model, ViT-B/16, to predict the demographic variables. The ViT, as recently applied for image classification, has achieved state-of-the-art, best accuracy among models classified with ImageNet.38 The model was pretrained with ImageNet-21k and fine-tuned with ImageNet-1k (available at https://github.com/lukemelas/PyTorch-Pretrained-ViT). 
A schematic of the ViT model is provided in Figure 2. Images of 384 × 384 pixels were fed into the network as multiple 16 × 16 pixel patches (576 patches in total) flattened to one-dimensional vectors to serve as inputs to the encoder. A total of 768 (16 × 16 × 3) one-dimensional vectors were converted to 768-dimension embedding vectors through linear projection (i.e., patch embeddings). The other vectors were classification tokens, which act as one-dimensional representation vectors for images. To retain positional information, position embeddings were added to the patch embeddings. The encoder consists of alternating layers of multi-head self-attention and multi-layer perceptron blocks to which LayerNorm and residual connections are applied before and after each block, respectively.38 In multi-head self-attention, 768 vectors were multiplied by weight matrices of Wq, Wk, and Wv to obtain query (Q), key (K), and value (V), respectively. A dot product value of Q and K was normalized using a softmax function, and a final attention value was obtained by multiplying the softmax of QT · K by V. The output of the encoder was then passed through the multi-layer perceptron head, and the scores were obtained for each class. 
Figure 2.
 
Schematic of ViT model.
Figure 2.
 
Schematic of ViT model.
For each of the demographic variables, we used the following cut-offs: ≤75 and >75, ≤60, 60–75, and >75 years for age; ≤170 and >170 cm for male height; ≤155 and >155 cm for female height; <70 and ≥70 kg for male weight; <55 and ≥55 kg for female weight; and <23, 23–25, and ≥25 kg/m2 for BMI. As for the cut-off values for age, we referred to the definitions of “older age” used by the United Nations39 and by the Japan Gerontological Society and the Japan Geriatrics Society.40 Regarding height and weight, we referred to the average data of the adult Korean population as provided by the National Health Insurance Service of Korea.41 For BMI, we referred to the Asia-Pacific guidelines issued by the World Health Organization42 and the guidelines of the Korean Society for the Study of Obesity.43 
Visual Explanation of DL Model Decisions
To highlight the regions in the images that had contributed to the prediction of the trained DL model, heatmaps were generated using gradient-weighted class activation mapping (Grad-CAM),44 which was extracted from the first LayerNorm of the last block of the Transformer encoder. 
External Validation
To validate the performance of the DL model, we used external datasets from the SNUH Healthcare System Gangnam Center, an independent and remote external center for regular check-ups. A total of 174 AS-OCT images from 69 participants were used for prediction of age. 
Statistical Analyses and Performance Evaluation
To evaluate the performance of the ViT model, the area under the receiver operating characteristic (ROC) curve (AUC), sensitivity, and specificity were calculated with 95% confidence intervals (CIs) for each of the demographic variables. The sensitivity and specificity were computed by thresholding the output value of the designed network after normalization (0–1) by the softmax function. The data were analyzed using R 3.3.3 (R Foundation for Statistical Computing, Vienna, Austria) and Python 3.7 (Python Software Foundation, Wilmington, DE). In the analyses, P < 0.05 was considered statistically significant. 
Results
The demographic data on the participants are shown in Table 1. A total of 2970 AS-OCT images from 1030 participants were used to train, validate, and test the ViT model for prediction of age and sex, and 2616 images from 857 participants likewise for prediction of height, weight, and BMI. The mean age was 70.5 ± 14.5 years, and a total of 592 females (57.5%) were included among the participants. The mean height was 159.1 ± 9.9 cm: 167.1 ± 5.9 cm for males and 153.8 ± 8.3 cm for females. The mean weight was 61.6 ± 11.2 kg: 68.0 ± 11.1 kg for males and 57.7 ± 9.1 kg for females. Histograms that present the number of participants in each group of demographic characteristics are provided in Supplementary Figure S1
Table 1.
 
Demographics of Participants
Table 1.
 
Demographics of Participants
Table 2 presents the performance of the ViT model for prediction of demographic characteristics. For differentiating age ≤75 versus >75 years, the model achieved an AUC of 0.910 (95% CI, 0.875–0.944), a sensitivity of 0.914 (95% CI, 0.767–0.967), and a specificity of 0.773 (95% CI, 0.671–0.898). For classifying age into the three groups of ≤60 versus 60–75 versus >75 years, the model obtained an AUC of 0.844 (95% CI, 0.794–0.890), a sensitivity of 0.747 (95% CI, 0.674–0.877), and a specificity of 0.866 (95% CI, 0.701–0.945). For differentiating sex, an AUC of 0.665 (95% CI, 0.600–0.730), a sensitivity of 0.736 (95% CI, 0.449–0.949), and a specificity of 0.563 (95% CI, 0.295–0.821) were obtained. 
Table 2.
 
Performance of DL Algorithm for Prediction of Demographic Characteristics
Table 2.
 
Performance of DL Algorithm for Prediction of Demographic Characteristics
Further analysis for height revealed that, for classifying height ≤170 versus >170 cm in males, the AUC was 0.521 (95% CI, 0.403–0.639) with a sensitivity of 0.765 (95% CI, 0.118–1.000) and a specificity of 0.443 (95% CI, 0.129–1.000). For classifying height ≤155 versus >155 cm in females, the AUC was 0.521 (95% CI, 0.436–0.605) with a sensitivity of 0.702 (95% CI, 0.362–0.968) and a specificity of 0.789 (95% CI, 0.456–0.789). Regarding weight, specifically for discriminating weight <70 versus ≥70 kg in males, the ViT model showed an AUC of 0.522 (95% CI, 0.407–0.638), a sensitivity of 0.479 (95% CI, 0.188–0.979), and a specificity of 0.741 (95% CI, 0.111–0.926); For discriminating weight <55 versus ≥55 kg in females, the model showed an AUC of 0.503 (95% CI, 0.408–0.599), a sensitivity of 0.773 (95% CI, 0.125–0.932), and a specificity of 0.371 (95% CI, 0.145–0.936). Also, for classifying BMI into the three groups of <23 versus 23–25 versus ≥25 kg/m2, an AUC of 0.517 (95% CI, 0.489–0.595), a sensitivity of 0.582 (95% CI, 0.144–0.892), and a specificity of 0.533 (95% CI, 0.188–0.931) were obtained. The ROC curves of the ViT model for prediction of age and sex are plotted in Figure 3 and for height, weight, and BMI in Figure 4
Figure 3.
 
ROC curves of DL model for prediction of age and sex. (A) ROC curves for prediction of age ≤75 versus >75 years (red), ≤60 versus 60–75 versus >75 years (blue), and sex (green). (B) ROC curves for prediction of age ≤60 versus 60–75 versus >75 years (red) and for each class (dotted black).
Figure 3.
 
ROC curves of DL model for prediction of age and sex. (A) ROC curves for prediction of age ≤75 versus >75 years (red), ≤60 versus 60–75 versus >75 years (blue), and sex (green). (B) ROC curves for prediction of age ≤60 versus 60–75 versus >75 years (red) and for each class (dotted black).
Figure 4.
 
ROC curves of DL model for prediction of height, weight, and BMI. (A) ROC curves for prediction of height ≤170 versus >170 cm in males (solid green), height ≤155 versus >155 cm in females (dotted green), weight <70 versus ≥70 kg in males (solid blue), weight <55 versus ≥55 kg in females (dotted blue), and BMI <23 versus 23–25 versus ≥25 kg/m2 (red). (B) ROC curves for prediction of BMI <23 versus 23–25 versus ≥25 kg/m2 (red) and for each class (dotted black).
Figure 4.
 
ROC curves of DL model for prediction of height, weight, and BMI. (A) ROC curves for prediction of height ≤170 versus >170 cm in males (solid green), height ≤155 versus >155 cm in females (dotted green), weight <70 versus ≥70 kg in males (solid blue), weight <55 versus ≥55 kg in females (dotted blue), and BMI <23 versus 23–25 versus ≥25 kg/m2 (red). (B) ROC curves for prediction of BMI <23 versus 23–25 versus ≥25 kg/m2 (red) and for each class (dotted black).
In the final stage, heatmaps, examples of which are presented in Figure 5, were generated with Grad-CAM to highlight the regions of the images that had contributed to the decisions of the trained ViT model. With respect to prediction of age ≤75 versus >75 years, the heatmaps indicated that the area of iridocorneal angle including the limbus and iris had been the main contributor to the determinations of the model. 
Figure 5.
 
Examples of heatmaps for prediction of age ≤75 versus >75 years by trained DL model. The heatmaps of participants of differing ages, including an 86-year-old male (A), a 75-year-old female (B), and a 73-year-old female (C), revealed that the area of iridocorneal angle including the limbus and iris was mainly highlighted, being the main contributor to the determinations of the model redundant.
Figure 5.
 
Examples of heatmaps for prediction of age ≤75 versus >75 years by trained DL model. The heatmaps of participants of differing ages, including an 86-year-old male (A), a 75-year-old female (B), and a 73-year-old female (C), revealed that the area of iridocorneal angle including the limbus and iris was mainly highlighted, being the main contributor to the determinations of the model redundant.
For external validation, 174 AS-OCT images from 69 participants were used to predict age. The mean age was 61.0 ± 14.4 years, and 34 females (49.3%) were included. For differentiating age ≤75 versus >75 years, the model achieved an AUC of 0.904 (95% CI, 0.852–0.956), a sensitivity of 0.688 (95% CI, 0.500–0.828), and a specificity of 0.482 (95% CI, 0.109–0.791). For classifying of age into the three groups of ≤60 versus 60–75 versus >75 years, the model obtained an AUC of 0.772 (95% CI, 0.696–0.838), a sensitivity of 0.434 (95% CI, 0.139–0.562), and a specificity of 0.332 (95% CI, 0.177–0.484) (Table 3). The ROC curves are provided in Figure 6
Table 3.
 
Performance of DL Algorithm for Prediction of Age With External Datasets
Table 3.
 
Performance of DL Algorithm for Prediction of Age With External Datasets
Figure 6.
 
ROC curves of DL model for prediction of age with external datasets. (A) ROC curve for prediction of age ≤75 versus >75 years (red). (B) ROC curves for prediction of age ≤60 versus 60–75 versus >75 years (red) and for each class (dotted black).
Figure 6.
 
ROC curves of DL model for prediction of age with external datasets. (A) ROC curve for prediction of age ≤75 versus >75 years (red). (B) ROC curves for prediction of age ≤60 versus 60–75 versus >75 years (red) and for each class (dotted black).
Discussion
In the present study, we developed a ViT model to predict demographic characteristics from AS-OCT images. Our results reveal that the ViT model can predict age category accurately and that the area of the iridocorneal angle is the key structure related to aging. To our best knowledge, this is the first large-scale study that has utilized AS-OCT images, in their entirety, for prediction of diverse demographic variables and that has applied DL methods to the prediction. 
Our results are in line with previous studies that have revealed the relationship between age and anterior segment structures, including the iridocorneal angle, limbus, and iris, in normal eyes.15,16,21,22,24,45 As for iridocorneal angle–associated structures, angular measurements such as iridocorneal angle, scleral spur angle, angle-opening distance, and trabecular–iris space area have been reported to decrease with age.21,22 Several studies also have revealed age-related changes in the trabecular meshwork or its interface shadow,15,45 as well as ciliary muscle thickness and location.22 With regard to the limbus, the study by Yang et al.24 reported that the nasal and temporal limbal epithelia became thinner with aging, and that of Xie et al.22 showed that central corneal thickness had no significant relationship with age, findings that further support the results of our study. 
Changes in iris morphology, in which iris width increases with aging while volume and thickness remain unaffected, also have been reported.16 Although other factors such as corneal diameter, anterior chamber depth or width, and lens thickness or vault also have been reported to be associated with age,22,27 our results indicate that they had not been the main anatomies contributing to age prediction. As for the study by Ma et al.,46 which to our knowledge is the only one to have developed predictive models of aging with AS-OCT using machine learning, their results are problematic in terms of their representativeness for normal eyes, because they did not exclude diseases (other than corneal pathologies) possibly affecting anterior segment structures. Few studies have investigated the association of anterior segment structures with sex, height, weight, or BMI, and their results remain inconclusive.1517,20,23,27,28,45 
We found that our DL model was able to predict age accurately from AS-OCT images, whereas it performed poorly for sex, height, weight, and BMI. Although several earlier studies using OCT images reported that a DL model accurately predicted demographic characteristics of age or sex,2932 there are several limitations that should be noted (Supplementary Table). First, whereas Shigueoka et al.29 reported that a DL algorithm was able to accurately predict age from whole peripapillary OCT, with high correlation between predicted and true chronological ages, their patient-to-patient results were highly variable. Second, notwithstanding the report by Hassan et al.30 that accurate prediction for age and acceptable performance for sex had been obtained using DL, their results also were highly variable by patient. Third, Munk et al.31 concluded that age and sex could be classified from OCT using DL-based methods for a broad spectrum of patients irrespective of underlying disease or image quality. For age prediction, however, they used a combination of methods whereby the network outputs age bins that are normalized using a softmax activation w and multiplied by the lower edge of the bins, dx, which could cause overfitting and result in a DL model vulnerable to domain shift. Finally, although Chueh et al.32 reported that age and sex could be identified from macular OCT with good accuracy using DL, they did not separate a test dataset when applying 10-fold cross-validation, which could have exaggerated the performance of the DL model. Moreover, all of these studies utilized OCT images in their analyses, which limits the direct comparability of their results with our AS-OCT–based ones. 
In light of the indecisive results from earlier studies, our findings certainly will provide important, well-founded clues to determining the relationships between certain demographic variables and anterior segment structures. Of note, the finding that age can be predicted from AS-OCT images suggests that anterior segment structures could potentially play a role as biomarkers for aging. Moreover, combining the advantages of DL with those of AS-OCT imaging, as demonstrated in our study, will help to enhance the clinical utilization of AS-OCT, an increasingly potent imaging modality for evaluation of ocular diseases. Also, it is of value that our DL model demonstrated its potential clinical usefulness by distinguishing age-related structural changes on imaging, a task that is challenging for practitioners using the naked eye (Supplementary Fig. S2). 
The strength of our study is its utilization of DL techniques enabling automated and fast analysis of big image data obtained from a large population. The limitation of the current study is that, in our attempt to predict demographic values quantitatively with a regression model, the network converged to the class mean value. This might be attributable to the fact that multiple classes are required for regression,47 because the performance of the DL model becomes poorer as the number of classes increases due to fewer samples.31 Also, although the heatmaps indicated the area of iridocorneal angle as the main contributor to the age differentiation of the model, there have been difficulties in understanding why and how it produced its outputs. This is due to a “black box problem” associated with the DL model which refers to the difficulty of inspecting its internal state. As for external validation, the DL model showed poorer performance overall with the external datasets than with the internal ones. This might have been due to changes in the distribution of the data (i.e., the domain shift), which could have negatively affected the performance of the model.48 Additional studies are required to further evaluate its external validity. Also, future studies comparing ethnic and racial differences would further expand our knowledge of normal anterior segment structures. Moreover, additional, longitudinal studies monitoring structural changes and exploring molecular changes would better elucidate the effects of aging on anterior segment structures. 
In conclusion, the ViT model could predict age category accurately from AS-OCT images, and the area of the iridocorneal angle was the key structure related to aging. Our findings will help clinicians to better understand age-related anterior segment structural changes in normal eyes, which should ultimately aid in the evaluation and management of ocular diseases in clinical practice. Additionally, our study suggests that anterior segment structures could potentially serve as biomarkers for aging. 
Acknowledgments
Disclosure: Y.J. Lee, None; S. Choe, None; S. Wy, None; M. Jang, None; J.W. Jeoung, None; H.J. Choi, None; K.H. Park, None; S. Sun, None; Y.K. Kim, None 
References
Ang M, Baskaran M, Werkmeister RM, et al. Anterior segment optical coherence tomography. Prog Retin Eye Res. 2018; 66: 132–156. [CrossRef] [PubMed]
Abou Shousha M, Karp CL, Perez VL, et al. Diagnosis and management of conjunctival and corneal intraepithelial neoplasia using ultra high-resolution optical coherence tomography. Ophthalmology. 2011; 118(8): 1531–1537. [CrossRef] [PubMed]
Vajzovic LM, Karp CL, Haft P, et al. Ultra high-resolution anterior segment optical coherence tomography in the evaluation of anterior corneal dystrophies and degenerations. Ophthalmology. 2011; 118(7): 1291–1296. [PubMed]
Gumus K, Crockett CH, Pflugfelder SC. Anterior segment optical coherence tomography: a diagnostic instrument for conjunctivochalasis. Am J Ophthalmol. 2010; 150(6): 798–806. [CrossRef] [PubMed]
Nanji AA, Sayyad FE, Galor A, Dubovy S, Karp CL. High-resolution optical coherence tomography as an adjunctive tool in the diagnosis of corneal and conjunctival pathology. Ocul Surf. 2015; 13(3): 226–235. [CrossRef] [PubMed]
Nolan WP, See JL, Chew PTK, et al. Detection of primary angle closure using anterior segment optical coherence tomography in Asian eyes. Ophthalmology. 2007; 114(1): 33–39. [CrossRef] [PubMed]
Doors M, Tahzib NG, Eggink FA, Berendschot TTJM, Webers CAB, Nuijts RMMA. Use of anterior segment optical coherence tomography to study corneal changes after collagen cross-linking. Am J Ophthalmol. 2009; 148(6): 844–851. [CrossRef] [PubMed]
Nolan WP, See JL, Aung T, et al. Changes in angle configuration after phacoemulsification measured by anterior segment optical coherence tomography. J Glaucoma. 2008; 17(6): 455–459. [CrossRef] [PubMed]
Qian CX, Hassanaly S, Harissi-Dagher M. Anterior segment optical coherence tomography in the long-term follow-up and detection of glaucoma in Boston type I keratoprosthesis. Ophthalmology. 2015; 122(2): 317–325. [CrossRef] [PubMed]
Tarnawska D, Wylegala E. Monitoring cornea and graft morphometric dynamics after Descemet stripping and endothelial keratoplasty with anterior segment optical coherence tomography. Cornea. 2010; 29(3): 272–277. [CrossRef] [PubMed]
Ramakrishnan R, Mitra A, Kader MA, Das S. To study the efficacy of laser peripheral iridoplasty in the treatment of eyes with primary angle closure and plateau iris syndrome, unresponsive to laser peripheral iridotomy, using anterior-segment OCT as a tool. J Glaucoma. 2016; 25(5): 440–446. [CrossRef] [PubMed]
Singh M, Chew PTK, Friedman DS, et al. Imaging of trabeculectomy blebs using anterior segment optical coherence tomography. Ophthalmology. 2007; 114(1): 47–53. [CrossRef] [PubMed]
Kang EM, Ryu IH, Lee G, et al. Development of a web-based ensemble machine learning application to select the optimal size of posterior chamber phakic intraocular lens. Transl Vis Sci Technol. 2021; 10(6): 5. [CrossRef] [PubMed]
Cheon MH, Sung KR, Choi EH, et al. Effect of age on anterior chamber angle configuration in Asians determined by anterior segment optical coherence tomography; clinic-based study. Acta Ophthalmol. 2010; 88(6): e205–e210. [CrossRef] [PubMed]
Gold ME, Kansara S, Nagi KS, et al. Age-related changes in trabecular meshwork imaging. Biomed Res Int. 2013; 2013: 295204. [CrossRef] [PubMed]
Invernizzi A, Giardini P, Cigada M, Viola F, Staurenghi G. Three-dimensional morphometric analysis of the iris by swept-source anterior segment optical coherence tomography in a Caucasian population. Invest Ophthalmol Vis Sci. 2015; 56(8): 4796–4801. [CrossRef] [PubMed]
Jonuscheit S, Doughty MJ, Martin R, Rio-Cristobal A. Relationship between corneal thickness and radius to body height. Optom Vis Sci. 2017; 94(3): 380–386. [CrossRef] [PubMed]
Kim BJ, Ryu IH, Kim SW. Age-related differences in corneal epithelial thickness measurements with anterior segment optical coherence tomography. Jpn J Ophthalmol. 2016; 60(5): 357–364. [CrossRef] [PubMed]
Li Q, Zong Y, Wen H, et al. Measurement of iris thickness at different regions in healthy Chinese adults. J Ophthalmol. 2021; 2021: 2653564. [PubMed]
Peterson JR, Blieden LS, Chuang AZ, et al. Establishing age-adjusted reference ranges for iris-related parameters in open angle eyes with anterior segment optical coherence tomography. PLoS One. 2016; 11(1): e0147760. [CrossRef] [PubMed]
Rigi M, Blieden LS, Nguyen D, et al. Trabecular-iris circumference volume in open angle eyes using swept-source Fourier domain anterior segment optical coherence tomography. J Ophthalmol. 2014; 2014: 590978. [PubMed]
Xie X, Corradetti G, Song A, et al. Age- and refraction-related changes in anterior segment anatomical structures measured by swept-source anterior segment OCT. PLoS One. 2020; 15(10): e0240110. [CrossRef] [PubMed]
Xu L, Cao WF, Wang YX, Chen CX, Jonas JB. Anterior chamber depth and chamber angle and their associations with ocular and general parameters: the Beijing Eye Study. Am J Ophthalmol. 2008; 145(5): 929–936. [CrossRef] [PubMed]
Yang Y, Hong J, Deng SX, Xu J. Age-related changes in human corneal epithelial thickness measured with anterior segment optical coherence tomography. Invest Ophthalmol Vis Sci. 2014; 55(8): 5032–5038. [CrossRef] [PubMed]
Yuen LH, He M, Aung T, Htoon HM, Tan DT, Mehta JS. Biometry of the cornea and anterior chamber in Chinese eyes: an anterior segment optical coherence tomography study. Invest Ophthalmol Vis Sci. 2010; 51(7): 3433–3440. [CrossRef] [PubMed]
Sihota R, Vashisht P, Sharma A, Chakraborty S, Gupta V, Pandey RM. Anterior segment optical coherence tomography characteristics in an Asian population. J Glaucoma. 2012; 21(3): 180–185. [CrossRef] [PubMed]
Qin B, Tang M, Li Y, Zhang X, Chu R, Huang D. Anterior segment dimensions in Asian and Caucasian eyes measured by optical coherence tomography. Ophthalmic Surg Lasers Imaging. 2012; 43(2): 135–142. [CrossRef] [PubMed]
Gunes A, Uzun F, Karaca EE, Kalayci M. Evaluation of anterior segment parameters in obesity. Korean J Ophthalmol. 2015; 29(4): 220–225. [CrossRef] [PubMed]
Shigueoka LS, Mariottoni EB, Thompson AC, Jammal AA, Costa VP, Medeiros FA. Predicting age from optical coherence tomography scans with deep learning. Transl Vis Sci Technol. 2021; 10(1): 12. [CrossRef] [PubMed]
Hassan ON, Menten MJ, Bogunovic H, Schmidt-Erfurth U, Lotery A, Rueckert D. Deep learning prediction of age and sex from optical coherence tomography. In: 2021 IEEE 18th International Symposium on Biomedical Imaging (ISBI). Piscataway, NJ: Institute of Electrical and Electronics Engineers; 2021: 238–242.
Munk MR, Kurmann T, Marquez-Neila P, Zinkernagel MS, Wolf S, Sznitman R. Assessment of patient specific information in the wild on fundus photography and optical coherence tomography. Sci Rep. 2021; 11(1): 8621. [CrossRef] [PubMed]
Chueh KM, Hsieh YT, Chen HH, Ma IH, Huang SL. Identification of sex and age from macular optical coherence tomography and feature analysis using deep learning. Am J Ophthalmol. 2022; 235: 221–228. [CrossRef] [PubMed]
Wu J, Hu R, Xiao Z, Chen J, Liu J. Vision Transformer-based recognition of diabetic retinopathy grade. Med Phys. 2021; 48(12): 7850–7863. [CrossRef] [PubMed]
Sun R, Li YH, Zhang TZ, Mao ZD, Wu F, Zhang YD. Lesion-aware transformers for diabetic retinopathy grading. In: Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway, NJ: Institute of Electrical and Electronics Engineers; 2021: 10938–10947.
Cho J, Lee K, Shin E, Choy G, Do S. How much data is needed to train a medical image deep learning system to achieve necessary high accuracy? arXiv. 2015, https://doi.org/10.48550/arXiv.1511.06348.
Wanichwecharungruang B, Kaothanthong N, Pattanapongpaiboon W, et al. Deep learning for anterior segment optical coherence tomography to predict the presence of plateau iris. Transl Vis Sci Technol. 2021; 10(1): 7. [CrossRef] [PubMed]
Treder M, Lauermann JL, Alnawaiseh M, Eter N. Using deep learning in automated detection of graft detachment in Descemet membrane endothelial keratoplasty: a pilot study. Cornea. 2019; 38(2): 157–161. [CrossRef] [PubMed]
Dosovitskiy A, Beyer L, Kolesnikov A, et al. An image is worth 16x16 words: transformers for image recognition at scale. arXiv. 2020, https://doi.org/10.48550/arXiv.2010.11929.
United Nations. World Population Ageing 2019 Highlights. New York: United Nations; 2019.
Ouchi Y, Rakugi H, Arai H, et al. Redefining the elderly as aged 75 years and older: proposal from the Joint Committee of Japan Gerontological Society and the Japan Geriatrics Society. Geriatr Gerontol Int. 2017; 17(7): 1045–1047. [CrossRef] [PubMed]
Korea National Health Insurance Service. National health screening statistics 2020. Available at: https://kosis.kr/statHtml/statHtml.do?orgId=350&tblId=DT_35007_N130, https://kosis.kr/statHtml/statHtml.do?orgId=350&tblId=DT_35007_N132. Accessed July 10, 2022.
World Health Organization. The Asia-Pacific Perspective: Redefining Obesity and Its Treatment. Geneva: World Health Organization; 2000.
Kim BY, Kang SM, Kang JH, et al. 2020 Korean Society for the Study of Obesity Guidelines for the Management of Obesity in Korea. J Obes Metab Syndr. 2021; 30(2): 81–92. [CrossRef] [PubMed]
Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D. Grad-cam: visual explanations from deep networks via gradient-based localization. In: Proceedings of the 2017 IEEE International Conference on Computer Vision. Piscataway, NJ: Institute of Electrical and Electronics Engineers; 2017;618–626.
Choi W, Bae HW, Cho H, Kim EW, Kim CY, Seong GJ. Evaluation of the relationship between age and trabecular meshwork height to predict the risk of glaucoma. Sci Rep. 2020; 10(1): 7115. [CrossRef] [PubMed]
Ma J, Xu X, Li M, et al. Predictive models of aging of the human eye based on ocular anterior segment morphology. J Biomed Inform. 2021; 120: 103855. [CrossRef] [PubMed]
Weiss SM, Indurkhya N. Rule-based machine learning methods for functional prediction. J Artif Intell Res. 1995; 3: 383–403. [CrossRef]
Roland T, Bock C, Tschoellitsch T, et al. Domain shifts in machine learning based Covid-19 diagnosis from blood tests. J Med Syst. 2022; 46(5): 23. [CrossRef] [PubMed]
Figure 1.
 
Study flowchart. CDW, clinical data warehouse; EMR, electronic medical record; Grad-CAM, gradient-weighted class activation mapping.
Figure 1.
 
Study flowchart. CDW, clinical data warehouse; EMR, electronic medical record; Grad-CAM, gradient-weighted class activation mapping.
Figure 2.
 
Schematic of ViT model.
Figure 2.
 
Schematic of ViT model.
Figure 3.
 
ROC curves of DL model for prediction of age and sex. (A) ROC curves for prediction of age ≤75 versus >75 years (red), ≤60 versus 60–75 versus >75 years (blue), and sex (green). (B) ROC curves for prediction of age ≤60 versus 60–75 versus >75 years (red) and for each class (dotted black).
Figure 3.
 
ROC curves of DL model for prediction of age and sex. (A) ROC curves for prediction of age ≤75 versus >75 years (red), ≤60 versus 60–75 versus >75 years (blue), and sex (green). (B) ROC curves for prediction of age ≤60 versus 60–75 versus >75 years (red) and for each class (dotted black).
Figure 4.
 
ROC curves of DL model for prediction of height, weight, and BMI. (A) ROC curves for prediction of height ≤170 versus >170 cm in males (solid green), height ≤155 versus >155 cm in females (dotted green), weight <70 versus ≥70 kg in males (solid blue), weight <55 versus ≥55 kg in females (dotted blue), and BMI <23 versus 23–25 versus ≥25 kg/m2 (red). (B) ROC curves for prediction of BMI <23 versus 23–25 versus ≥25 kg/m2 (red) and for each class (dotted black).
Figure 4.
 
ROC curves of DL model for prediction of height, weight, and BMI. (A) ROC curves for prediction of height ≤170 versus >170 cm in males (solid green), height ≤155 versus >155 cm in females (dotted green), weight <70 versus ≥70 kg in males (solid blue), weight <55 versus ≥55 kg in females (dotted blue), and BMI <23 versus 23–25 versus ≥25 kg/m2 (red). (B) ROC curves for prediction of BMI <23 versus 23–25 versus ≥25 kg/m2 (red) and for each class (dotted black).
Figure 5.
 
Examples of heatmaps for prediction of age ≤75 versus >75 years by trained DL model. The heatmaps of participants of differing ages, including an 86-year-old male (A), a 75-year-old female (B), and a 73-year-old female (C), revealed that the area of iridocorneal angle including the limbus and iris was mainly highlighted, being the main contributor to the determinations of the model redundant.
Figure 5.
 
Examples of heatmaps for prediction of age ≤75 versus >75 years by trained DL model. The heatmaps of participants of differing ages, including an 86-year-old male (A), a 75-year-old female (B), and a 73-year-old female (C), revealed that the area of iridocorneal angle including the limbus and iris was mainly highlighted, being the main contributor to the determinations of the model redundant.
Figure 6.
 
ROC curves of DL model for prediction of age with external datasets. (A) ROC curve for prediction of age ≤75 versus >75 years (red). (B) ROC curves for prediction of age ≤60 versus 60–75 versus >75 years (red) and for each class (dotted black).
Figure 6.
 
ROC curves of DL model for prediction of age with external datasets. (A) ROC curve for prediction of age ≤75 versus >75 years (red). (B) ROC curves for prediction of age ≤60 versus 60–75 versus >75 years (red) and for each class (dotted black).
Table 1.
 
Demographics of Participants
Table 1.
 
Demographics of Participants
Table 2.
 
Performance of DL Algorithm for Prediction of Demographic Characteristics
Table 2.
 
Performance of DL Algorithm for Prediction of Demographic Characteristics
Table 3.
 
Performance of DL Algorithm for Prediction of Age With External Datasets
Table 3.
 
Performance of DL Algorithm for Prediction of Age With External Datasets
×
×

This PDF is available to Subscribers Only

Sign in or purchase a subscription to access this content. ×

You must be signed into an individual account to use this feature.

×