Keywords

History of the PEARL-DGS Formula

The Postoperative spherical Equivalent prediction using ARtificial Intelligence and Linear algorithms (PEARL) project aims to assess the potential of artificial intelligence (AI) techniques in the IOL calculation field, to determine the optimal architecture of those formulas, and to encourage open research in this field by publishing the experiments and the related code under an open-source license. It was initiated in 2017 in the Anterior Segment and Refractive Surgery Department at Rothschild Foundation by the authors of this chapter. It resulted in a succession of IOL calculation formulas known under the name “PEARL-DGS,” DGS representing the initials of the last names of the authors.

Description of the Current PEARL-DGS Formula

General Principles

The PEARL-DGS formula is a thick lens formula that uses AI techniques to predict the distance between the posterior corneal surface and the anterior IOL surface (“theoretical internal lens position,” TILP) [1] (Fig. 52.1). The TILP is an anatomical distance, independent of both the lens principal plane positions and the corneal thickness. The reference TILP (the target to predict) corresponds to the value leading to the real postoperative SE when entered in thick lens equations along with the other optical parameters of the eye and IOL. The formula uses various machine learning algorithms and ensemble methods to predict this value. The refractive index values used in the formula are those of the Atchison eye model [2], except for the corneal index, which was determined empirically during the formula development process. The sum-of-segments AL, approximated by the Cooke-modified AL (CMAL), replaces the AL in the formula. As the thin lens approximation is not used, the real geometric parameters of the considered IOL are ideally used during the development process; otherwise, the formula can be developed using theoretical IOL parameters (for example, biconvex symmetric geometry) and a study of the mean TILP prediction error along the IOL power range is proposed.

Fig. 52.1
An outline of the PEARL-D G S formula. A R C and W T M lead to the determination of the eye refractive index and T I L P, which are detected using the f 1 and f 4 parameters. These are used for the development of thick lens equations, emmetropizing corneal power, and predicted post-operative S E.

General outline of the PEARL-DGS formula prediction process. The PRC is deduced from the ARC (f1). AL and LT are used to calculate the CMAL (f2). The CMAL is corrected before being used as an input to predict the TILP (f3). The raw CMAL value is used in the optical part of the formula. The ARC and CCT are used in the optical part of the formula and also used as an input to predict the TILP. CD, AQD, and LT are only used to predict the TILP. The TILP is then predicted using 6 biometric parameters (f4). From Debellemanière et al.: The PEARL-DGS Formula: The Development of an Open-source Machine Learning-based Thick IOL Calculation Formula. Am J Ophthalmol. 2021 Dec;232:58–69

Sum-of-Segments AL Calculation

Sum-of-segments AL is obtained by computing the geometric length of each ocular segment [3] (calculated by dividing their optical path length by their own refractive index), rather than using the weighted-average refractive index of the whole eye as described by Haigis [4].

CMAL calculation allows to approximate the sum-of-segments AL in the absence of vitreous thickness value delivered by the biometer [5], which is the case in most clinical settings. CMAL is calculated using the equation CMAL = (1.23853 + 958.55 × AL − 54.67 × LT)/1000 (AL and LT in meters). Two hundred micrometers was added to this value to account for the retinal thickness, as suggested by Dr. David Cooke (personal communication, February 4, 2021).

In the formula, CMAL is calculated and replaces traditional AL; it is also calculated during the formula development process and the reference TILP is back-calculated using this value as the reference AL.

Optical Principles

The refractive index values of the Atchison eye model are used: naqueous is set to 1.3374, nvitreous to 1.336, and nIOL is equal to the real refractive of the IOL used in the formula development process. ncornea was set to 1.363. The process that led to the choice of this value is described later in this chapter. The formula is entirely based on thick lens equations (Eqs. 52.1–52.7) (Table 52.1).

Table 52.1 Fundamental paraxial optics equations. Signs in the equation respect the Cartesian sign convention: Distances to the left are negative, and distances to the right are positive

Posterior Corneal Radius Prediction

The PRC is inferred from the ARC using two linear regressions. Those regressions were determined using ARC and PRC values from 2052 rotating Scheimpflug camera system measurements (Pentacam, Oculus Optikgerate, Wetzlar, Germany) obtained on eyes with no history of corneal surgery. The mean PRC was calculated for each step of ARC values rounded to 0.05 mm. A threshold at 7.00 mm ARC was visually identified. Two linear regression algorithms were fitted on both sides of this threshold, which was then slightly modified to 6.97 mm to allow a perfect transition between the PRC values obtained around the threshold.

The linear regressions are presented in Fig. 52.2.

Fig. 52.2
A line graph depicts the posterior corneal radius of curvature versus the anterior corneal radius of curvature. It depicts an increasing trendline with data points passing through a vertical cutoff line plotted at 0.00697 meters. The mean posterior corneal radius value is denoted.

Mean PRC for each ARC step (ARC values are rounded up to 0.05 mm). A cut-off at 7.00 mm was visually defined, and two linear regressions were fitted. The cut-off was then refined to 6.97 mm. From Debellemanière et al.: The PEARL-DGS Formula: The Development of an Open-source Machine Learning-based Thick IOL Calculation Formula. Am J Ophthalmol. 2021 Dec;232:58–69

TILP Back-Calculation

The formula is based on the prediction of the TILP value, defined as the theoretical distance between the posterior corneal surface and the anterior IOL surface that leads to the real postoperative SE when entered in thick lens equations along with the other optical parameters of the eye and IOL. The calculation of the TILP must be performed for each eye of the training set, to obtain the reference value that will be used as the target to predict in the algorithms.

The formula allowing this back-calculation is described in Eq. (52.10). If the eye is not emmetropic, the postoperative refraction is added to the total corneal power, and the anterior corneal radius is re-calculated to fit the new total corneal power value (Eqs. 52.8 and 52.9). Equation (52.10) can then be applied (Table 52.2).

Table 52.2 Equations used in the formula (lengths are in meters)

TILP Prediction

The PEARL formula takes advantage of various algorithms such as gradient-boosted trees (XGBoost), support vector regression, neural networks (multi-layer perceptron regressor), and standard multiple regression to predict the TILP. The hyperparameters of each model were determined using fivefold cross-validation on the training set.

Predicted SE Calculation

Once the TILP is predicted, it is necessary to calculate the associated refraction at the spectacle plane. This can be done by first calculating the emmetropizing anterior corneal radius, i.e., the theoretical anterior corneal radius leading to emmetropia if the predicted TILP is used in thick lens equations along with the other optical parameters of the eye and IOL, using Eq. (52.11). The emmetropizing total corneal power can then be calculated using this value, using Eq. (52.2). The predicted postoperative SE at the corneal plane is then obtained by subtracting the real total corneal power from the emmetropizing total corneal power (Eq. 52.12). The resulting refraction converted to the spectacle plane is the predicted postoperative SE (Eq. 52.13) (Table 52.3).

Table 52.3 Equations used in the formula (lengths are in meters)

Corneal Index Optimization

The refractive index of the cornea varies from 1.337 to 1.432 in the literature [6]. In order to determine the optimal corneal index to use in the formula, a systematic approach was applied, using the eyes of the training set, for a range of corneal refractive index values ranging between 1.30 and 1.40 by 0.001 steps. For each step, reference TILP was back-calculated, a multiple regression was fitted to predict the resulting value from biometric parameters, the predicted TILP was calculated using the regression, the predicted postoperative SE was calculated, the prediction error was calculated, and the standard deviation (SD) of the mean prediction error (PE) was determined. The SD of the mean PE was plotted against the corneal refractive index value, and a concave upward curve was obtained. The refractive index value leading to the lowest SD was selected: in our case, this value was 1.363 (Fig. 52.3).

Fig. 52.3
A line graph of the standard deviation of the predictor error versus corneal refractive index plots a U-shaped curve. The line starts at (1.30, 0.374), declines to (1.36, 0.364), and then increases to (1.40, 0.366). Values are approximated.

SD of the prediction error as a function of the corneal refractive index value used to develop the formula. From Debellemanière et al.: The PEARL-DGS Formula: The Development of an Open-source Machine Learning-based Thick IOL Calculation Formula. Am J Ophthalmol. 2021 Dec;232:58–69

Extreme AL Adjustment in the Multiple Regression Algorithm

The mean reference TILP values and mean predicted TILP values predicted by the final multiple regression algorithm were calculated for each AL value rounded to the nearest 0.25 mm. The resulting graph is shown in Fig. 52.4. Systematic and increasing errors were identified for very short and very long eyes, after a given threshold, proportional to the distance to this threshold. The error thresholds were visually defined as 21.5 mm and 26 mm, for short and long eyes, respectively.

Fig. 52.4
Two scatter plots of the T I L P versus axial length are predicted without A L input correction and with A L input correction. The data points of back-calculated T I L P and predicted T I L P exhibit a distribution of data points towards an increasing trend.

Predicted TILP and back-calculated TILP are plotted against AL, without AL input correction (left) and with input correction (right). AL input correction in multiple regression allows to correct for the TILP prediction error that arises below 21.5 mm and beyond 25 mm. From Debellemanière et al.: The PEARL-DGS Formula: The Development of an Open-source Machine Learning-based Thick IOL Calculation Formula. Am J Ophthalmol. 2021 Dec;232:58–69

A correction factor was applied to the CMAL value used as an input in the TILP predicting algorithm. This correction factor was defined as the absolute value of the difference between the chosen upper/lower threshold and the AL of the considered eye, multiplied by a weight. This correction factor was added to the CMAL value used as an input in the algorithm if its AL was below the lower AL threshold or beyond the upper AL threshold. The optimal weight to apply to short and long eyes was systematically determined for both AL categories. The CMAL value used in the optical part of the equation was never modified (Table 52.4).

Table 52.4 Modified CMAL calculation, to adapt the CMAL value used as an input in the multiple regression algorithm to the AL

Formula Development for IOLs with Unknown Geometry

If a large dataset is available for an IOL of unknown geometry, we propose to apply the following four-step methodology:

  • create a theoretical parameter table for the considered IOL, using the real refractive index of the IOL, a refractive index of 1.336 for the medium surrounding the lens (as required by the ISO 11979-2 norm) [7], and a symmetric biconvex shape

  • follow the aforementioned formula development process

  • calculate the mean TILP prediction error for each IOL power step and look for a pattern of TILP prediction error

  • manually account for this error in the TILP prediction function, depending on the IOL power for which the prediction is made.

Prediction for IOLs with Unknown Geometry and No Available Data

To allow a SE prediction for IOLs with no data available, the adjusted SRK/T A constant for each IOL model of a large dataset comprising 28 IOL models was calculated. The predicted TILP was calculated. For each IOL model, this value was shifted by an equal amount for each eye until the mean prediction error was equal to zero for this model. A linear regression was fitted to predict the TILP shift associated with a given SRK/T A constant.

Performances of the PEARL Formula

In the main PEARL-DGS article [1], two test sets of 677 and 262 eyes were analyzed. The PEARL-DGS formula yielded the lowest SD on the first set (± 0.382 D), followed by K6 and Olsen (± 0.394 D), EVO 2.0 (±0.398 D), RBF 3.0, and BUII (± 0.402 D), as well as the lowest SD on the second set (± 0.269 D), followed by Olsen (± 0.272 D), K6 (± 0.276 D), EVO 2.0 (± 0.277 D), and BUII (± 0.301 D).

Independent peer-reviewed studies evaluated and compared the PEARL-DGS formula along with other fourth-generation IOL calculation formulas. In three of seven studies, PEARL-DGS ranked first with a median absolute error (MedAE) varying between 0.190 and 0.310 and a percentage of eyes with a postoperative refractive error of <0.5 diopter, varying between 74% and 87.1%. In a cohort of short axial eye length, Wendelstein et al. [8] showed that PEARL-DGS, Okulix, Kane, or Castrop formulas had the lowest MAE (0.260, 0.300, 0.300, and 0.270, respectively). Evaluating the refractive result of 171 eyes, Rocha de Lossada [8, 9] found that Barrett and PEARL-DGS performed best for medium eyes (MAE = 0.237 and 0.263, respectively; % eyes <0.5 D = 89.34 and 86.89%, respectively).

Table 52.5 presents and compares the performance of PEARL-DGS and new-generation IOL calculation formulas.

Table 52.5 Performance comparison of PEARL-DGS and IOL calculation formulas

Perspectives

The accuracy of the postoperative refraction calculation depends on the accuracy of the parameters entered in the equation (biometric measurements, IOL geometrical parameters, refractive indices), on the accuracy of the physical lens position prediction, and on how closely the physical model used in the formula approximates the reality. It is therefore interesting to increase the accuracy of the biometric measurements, increase the number of biometric parameters that are measured or known with certainty rather than predicted or assumed, increase the accuracy of the physical models used to perform the calculation, and increase the accuracy of the IOL postoperative physical position.

The PEARL-DGS formula toolbox can be used without modification to back-calculate the TILP value using measured posterior corneal radius and refractive index values, which could increase its performance. Similarly, we advocate for the disclosure of IOL radius of curvatures, thicknesses, and refractive indices by IOL manufacturers.

Our method can also be used without modification to replace the CMAL sum-of-segments AL approximation by an exact, measured sum-of-segments AL value. This more precise way of measuring the AL should logically become the norm. One of the main obstacles for the wide adoption of those kinds of innovations is that earlier formulas will perform differently when used with differently measured biometric parameters. Developing a proven, reproducible, and open-source formula-building process could allow researchers to permanently adapt a given formula to new innovations in biometric measurements and newly disclosed IOL parameters.

The advent of OCT in biometry opens new perspectives in the measurement of the anterior segment preoperatively. OCT imaging is unique in its potential ability to both find new biometric parameters (e.g., equatorial lens position [10]) and to directly use anterior segment images in deep learning algorithms, thus opening the door to the use of other powerful AI tools to predict the postoperative lens position.