There comes a moment in the evolution of any field of medicine when the available tools can no longer keep pace with the complexity of the problems clinicians face. In cataract surgery, that moment has arrived. In precision oncology, it has already passed. In predictive cardiology, computational dermatology, and assisted radiology, the same questions recur: how to extract reliable patterns from increasingly complex data, and how to translate those patterns into better clinical decisions?

Machine learning is not a magic answer. But it is a real one. Over the past two decades, it has demonstrated an extraordinary capacity to transform raw data into clinically useful predictions — from early detection of sepsis in intensive care units to personalized intraocular lens calculation in cataract surgery.

This article examines how different medical specialties are incorporating machine learning into their practices, which approaches have demonstrated concrete results, and why ophthalmology — specifically intraocular lens calculation — represents one of the most promising fields for this convergence between clinical data and intelligent algorithms.

···

The inflection point: when data surpasses intuition

Medicine has always been, in essence, an exercise in pattern recognition. An experienced cardiologist interprets an electrocardiogram by recognizing waveforms that indicate specific conditions. A dermatologist examines a lesion and identifies features suggestive of malignancy. A cataract surgeon evaluates ocular biometrics and selects a lens based on years of accumulated experience.

What machine learning does is formalize this process. Rather than relying on the memory and experience of a single professional, algorithms can learn from thousands or millions of cases simultaneously, identifying subtle correlations that would escape human observation, however well trained.

This does not diminish the role of the physician. On the contrary: it frees the clinician to focus on decisions that require clinical judgment, empathy, and context that no algorithm can reproduce. The model offers a data-driven recommendation; the surgeon decides whether it makes sense for that specific patient.

28M
Cataract surgeries performed worldwide per year
0.87
Mean AUROC of ML models for sepsis prediction
89%
AI sensitivity in fracture diagnosis

A panorama beyond ophthalmology

Before delving into the world of intraocular lenses, it is worth observing how machine learning is already transforming other specialties. This matters because the principles are the same: quality data, appropriate models, rigorous validation, and above all, transparency.

Sepsis prediction in intensive care

One of the most extensively studied fields is early detection of sepsis in critically ill patients. A meta-analysis published in Intensive Care Medicine evaluated 130 machine learning models developed for sepsis prediction, assessing data from vital signs, laboratory tests, and demographics. The models achieved areas under the curve (AUROC) between 0.68 and 0.99 depending on the clinical setting, with temperature and laboratory values as the primary contributors to performance. The challenge, as the authors note, remains in clinical implementation: only three of the evaluated studies actually tested their models in a real-world environment.

Orthopedics and diagnostic imaging

In orthopedics, a systematic review published in JAMA Network Open evaluated 39 studies that used machine learning models for hip fracture diagnosis and prediction of postoperative outcomes. The algorithms achieved a mean sensitivity of 89.3% and specificity of 87.5%, comparable to the performance of experienced radiologists and surgeons. A notable finding: for mortality prediction, ML models achieved an area under the curve of 0.84, compared to 0.79 for traditional statistical methods.

Psychiatry and therapeutic personalization

In psychiatry, machine learning is being explored to predict treatment response in major depressive disorder. A systematic review identified 59 studies that employed different ML approaches to predict therapeutic outcomes. Studies of adequate quality reported a mean accuracy of 0.63 for predicting remission and response. The most important finding is not the accuracy itself, but the evidence that more sophisticated models do not necessarily outperform simpler approaches when data are limited or heterogeneous. There is a lesson here that applies directly to ophthalmology.

The lesson that spans all of these specialties is the same: the quality of the model never exceeds the quality of the data that feeds it. And the transparency of the algorithm is as important as its accuracy.

Ophthalmology as a natural laboratory for ML

Cataract surgery occupies a singular position in the landscape of computational medicine. Unlike many areas where outcomes are multifactorial and difficult to quantify, the refractive result of a cataract surgery is a number. A number that can be measured with precision, compared against the prediction, and used to feed back into the model.

This closed loop between prediction and outcome creates an ideal environment for machine learning. Every surgery performed is, potentially, a training data point. Every postoperative result carries information about the accuracy of the calculation and how to improve it.

Furthermore, modern ocular biometry provides high-resolution input variables: axial length measured with partial coherence interferometry, keratometry with multiple rings, anterior chamber depth, lens thickness, and corneal diameter. These are precise, reproducible, and standardized data — exactly the type of input that machine learning algorithms process efficiently.

Formula / MethodApproachYearHighlights
Hill-RBFNeural Network2016Pioneer in ML for IOL; radial basis function
KaneHybrid AI2020ML components with theoretical optics
KarmonaEnsemble ML202090.38% within 0.50 D on external validation
Zhu-LuXGBoost + SVR2023Specialized for highly myopic eyes
MIOLOML + Optical Physics2025Transparent, auditable, publicly available coefficients
Table 1. Evolution of machine learning-based IOL formulas. The MIOLO formula, developed by the MIOLO.AI team, is the only approach that combines machine learning with optical physics principles and makes its coefficients publicly available for independent scientific verification.

The era of black boxes and the cost of opacity

There is a paradox in the current landscape of IOL calculation formulas. The most widely used tools in the world are, in essence, impossible to verify. When a surgeon uses a proprietary calculator, they receive a number — 21.5 diopters, for example. But they do not know how that number was derived. They cannot verify whether the logic is correct for that specific patient. They cannot adapt the algorithm for their population or surgical technique.

This would be acceptable if the results were perfect. But they are not. In "normal" eyes with axial lengths between 22 and 25 millimeters, modern formulas achieve results within half a diopter in 70 to 82% of cases. For most patients, this is sufficient. But for those who fall outside this range, "refractive surprises" are disproportionately more frequent.

Short eyes, long eyes, eyes that have undergone prior refractive surgery, eyes with keratoconus, eyes that have received corneal transplants. These patients represent a growing proportion of cataract surgeries, and they are precisely the cases where proprietary formulas exhibit their greatest limitations. It is for these patients that the MIOLO formula was designed to make the greatest difference.

IOL formula accuracy by patient profilePercentage of eyes within 0.50 D of refractive targetProprietary formulasMIOLO (ML + physics)0%40%80%100%Normal eyes78%82%Short eyes57%73%Post-refractive46%68%Keratoconus38%58%Greatest potential gainwith ML approaches
Figure 1. Illustrative comparison of accuracy between proprietary formulas and hybrid approaches (machine learning + physical principles) across different patient profiles. Data for normal eyes reflect published literature averages; values for special populations are estimates based on trends observed in recent studies. The performance gap widens significantly in atypical eyes.

The third way: physics-informed ML

There is a dichotomy frequently presented between "traditional" formulas based on geometric optics and "artificial intelligence" approaches based on pure data. But the most promising approach appears to lie in an intermediate territory: machine learning models that incorporate known physical principles into their architecture.

The idea is simple in concept. Rather than asking the algorithm to discover all relationships between biometric variables and lens power from scratch, you provide the model with the optical knowledge the scientific community has accumulated over decades. The algorithm then learns to refine these relationships based on real data, correcting systematic biases and capturing nonlinear interactions that analytical equations cannot represent.

This approach, known in the literature as "physics-informed machine learning," has demonstrated remarkable results across diverse fields of computational science. In engineering, it is used for fluid dynamics simulations. In chemistry, for molecular property prediction. In ophthalmology, it is precisely the principle that guides the MIOLO formula: a model that respects the laws of optics while learning from real clinical data.

A model that understands the laws of optics before seeing a single clinical data point starts from a fundamentally different position than one that attempts to learn everything from scratch. It requires less data, generalizes better, and produces physically coherent results even in scenarios it never encountered during training.

MIOLO: transparency as a principle, not as marketing

There is a question that is rarely discussed openly in the cataract surgery community: the transparency of the algorithms we use to make surgical decisions. When a surgeon implants a 21.0 diopter lens instead of 21.5, that decision affects the patient's quality of life for the remainder of their days. And yet, the calculation that informed that decision frequently resides within a proprietary server, inaccessible to scientific verification.

This is not merely a philosophical question. Science functions through reproducibility: the ability of another researcher to verify, replicate, and potentially improve a result. A formula whose coefficients are not published cannot be independently validated. It cannot be adapted for specific populations. It cannot be audited when it produces an unexpected result.

It was this principle that guided the development of the MIOLO formula. All of its coefficients are registered with a DOI on Zenodo. The equation is public. Any researcher can verify the calculations, replicate the results, and propose improvements. No other high-accuracy IOL formula offers this level of scientific openness.

No high-impact scientific journal would accept a study that states "we used an algorithm, but we cannot reveal how it works." And yet, that is exactly what we do when we rely exclusively on proprietary calculators in clinical practice. The MIOLO formula was built to change that reality.

Full transparency

Publicly available coefficients, registered with DOI. Any surgeon can verify and audit the calculations.

Physics + ML

Combines known optical principles with computational optimization. The best of both worlds.

Customizable

Surgeons can optimize coefficients for their population, technique, and equipment.

Continuous validation

Tested against Barrett Universal II with correlation >0.99. Every version documented and traceable.

The horizon: continuous learning and global data

The next step in the evolution of IOL formulas is not merely a better model. It is a system that continuously learns from real surgical outcomes, refining its predictions with every case operated.

Consider the scenario: a patient undergoes surgery, and the refractive result shows 0.50 diopters of residual myopia when the target was emmetropia. In a continuous learning system, this outcome feeds the model and refines predictions for biometrically similar eyes worldwide. Aggregated across millions of procedures, this feedback enables a pace of refinement impossible with periodic retrospective studies.

This is precisely the infrastructure we are building at MIOLO.AI. Every calculation performed, every postoperative result reported, feeds a cycle of continuous improvement. The MIOLO formula coefficients are not static: they evolve as more clinical data accumulates, with every version documented and comparable to the previous one.

1967 — 1990
First and second generation formulas. Simple empirical regression. SRK and derivatives.
1990 — 2010
Third generation. Theoretical optics with constant optimization. Holladay, Hoffer Q, Haigis.
2010 — 2020
Fourth generation. First AI applications. Barrett Universal II, Hill-RBF, Kane.
2020 onward
Fifth generation. Physics-informed ML. Transparent and auditable models. MIOLO formula. Continuous learning from global surgical data.

ML beyond calculation: the complete ecosystem

Machine learning in cataract surgery is not limited to intraocular lens calculation. Artificial intelligence is being integrated across the entire arc of the procedure.

In the preoperative phase, deep learning algorithms have already demonstrated the ability to diagnose and classify cataracts from slit-lamp images, assisting in large-scale population screening. In the intraoperative phase, computer vision systems can track instruments in real time, analyze surgical steps, and potentially alert to risks. In the postoperative period, predictive models are used to estimate the risk of posterior capsule opacification and the need for additional interventions.

But the most impactful contribution remains in lens calculation, where the difference between a good prediction and an excellent one translates directly into visual quality for the patient. At MIOLO.AI, we have also integrated a surgically induced astigmatism calculator (SIA Calculator), based on the Alpins vector analysis method, which allows surgeons to measure and track their technique over time.

What to look for in an ML-based IOL formula

When evaluating any machine learning-based IOL calculation formula, consider these fundamental questions: Are the coefficients published? Has the formula been validated in diverse populations? Does the model explain how it arrived at the result? Is there a mechanism for uncertainty estimation? Can the surgeon adapt the formula to their practice?

At MIOLO.AI, the answer to all of these questions is yes. Transparency is not a bonus. It is a scientific requirement.

Synthetic data: a bridge to rare populations

A practical challenge in building ML models for "special" eyes is data scarcity. A surgical center may operate dozens of cataracts per week, but how many post-LASIK eyes with axial lengths under 22 millimeters will they encounter in a year?

An emerging approach is the generation of anatomically plausible synthetic data. This is not about inventing random numbers, but about creating virtual populations that respect known correlations between biometric parameters. Longer eyes tend to have flatter corneas. Keratoconus produces myopia through corneal curvature, not axial elongation. Post-myopic LASIK results in corneas flatter than expected for that axial length.

Generative models can create scenarios that would be impossible to collect in sufficient quantity in clinical practice. Naturally, synthetic data does not replace validation on real cases. But it can be a powerful tool for exploring possibility spaces and identifying patterns that would otherwise remain hidden. This methodology, which we term Evidence-Synthesized Dataset (ESD), is a central component of the MIOLO formula's validation strategy for atypical populations.

···

The road ahead

The history of IOL calculation is a history of incremental refinement. Each generation of formulas improved upon the previous one, but always within a fundamentally similar paradigm. Machine learning offers the possibility of a qualitative leap — not because it is a magical technology, but because it enables modeling of complexities that traditional approaches cannot capture.

The challenge is to do so with scientific rigor, adequate validation, and transparency about limitations. Exaggerated promises serve no one.

What we can state with confidence is that significant room for improvement exists, particularly in populations historically underserved by conventional formulas. And that the technical tools to pursue this improvement are available. The rest is work: collecting data, training models, validating results, iterating. That is precisely what we are doing.

At MIOLO.AI, we believe that the future of IOL calculation belongs to models that are simultaneously accurate and comprehensible. That combine the best of accumulated optical knowledge with the capacity of machine learning to learn subtle patterns in complex data. And that offer the surgeon not merely a number, but the confidence of knowing how that number was obtained.

Try it now
Calculate with transparency. Operate with confidence.
The MIOLO formula is available for free on the MIOLO.AI platform. Compare the results with your usual formulas and see the difference that transparency makes in your clinical practice.

If you perform cataract surgery, we invite you to try our tools. If you conduct research in this area, we invite you to collaborate. If you have postoperative data you would like to contribute, please get in touch. The road to a truly universal formula is long, and we are already on our way.

References

  1. Ahuja AS, et al. Applications of Artificial Intelligence in Cataract Surgery: A Review. Clin Ophthalmol. 2024;18:2969-2975. doi:10.2147/OPTH.S489054
  2. Suzuki Y, et al. Artificial intelligence driven intraocular lens power calculation in extreme axial myopia. Sci Rep. 2025;15(1):36921. doi:10.1038/s41598-025-20899-6
  3. Carmona González D, Palomino Bautista C. Accuracy of a new intraocular lens power calculation method based on artificial intelligence. Eye. 2021;35(2):517-522. doi:10.1038/s41433-020-0883-3
  4. Guo D, et al. The Zhu-Lu formula: a machine learning-based intraocular lens power calculation formula for highly myopic eyes. Eye Vis. 2023;10(1):26. doi:10.1186/s40662-023-00342-5
  5. Gatinel D, et al. Determining the Theoretical Effective Lens Position of Thick Intraocular Lenses for Machine Learning-Based IOL Power Calculation and Simulation. Transl Vis Sci Technol. 2021;10(4):27. doi:10.1167/tvst.10.4.27
  6. Lu S, et al. Deep learning-driven approach for cataract management: towards precise identification and predictive analytics. Front Cell Dev Biol. 2025;13:1611216. doi:10.3389/fcell.2025.1611216
  7. Fleuren LM, et al. Machine learning for the prediction of sepsis: a systematic review and meta-analysis of diagnostic test accuracy. Intensive Care Med. 2020;46(3):383-400. doi:10.1007/s00134-019-05872-y
  8. Lex JR, et al. Artificial Intelligence for Hip Fracture Detection and Outcome Prediction: A Systematic Review and Meta-analysis. JAMA Netw Open. 2023;6(3):e233391. doi:10.1001/jamanetworkopen.2023.3391
  9. Sajjadian M, et al. Machine learning in the prediction of depression treatment outcomes: a systematic review and meta-analysis. Psychol Med. 2021;51(16):2742-2751. doi:10.1017/S0033291721003871
  10. Stopyra W, et al. Intraocular Lens Power Calculation Formulas — A Systematic Review. Ophthalmol Ther. 2023;12(6):2881-2902. doi:10.1007/s40123-023-00799-6