MiOLO.AI Blog • 2025
The Future of IOL Calculation: Why We Need to Rethink Traditional Formulas
A reflection on current limitations and the path toward a truly universal approach
The Problem Every Surgeon Knows
You complete a technically flawless cataract surgery. Impeccable biometry, uneventful phacoemulsification, perfectly centered lens. Three weeks later, the patient returns for the postoperative visit, and the refraction shows an unexpected result.
If you've been operating for a few years, you know this happens more often than we'd like to admit — especially with certain patient profiles.
The uncomfortable truth is that, despite decades of evolution in intraocular lens calculation formulas, we still face significant limitations. Third and fourth-generation formulas have considerably improved accuracy in "normal" eyes, but we continue to struggle with cases that deviate from average.
And here's the crucial point: these "outlier" cases represent an increasingly larger portion of our patients.
The Evolution of Formulas — and Their Limits
There's no doubt we've come a long way since first-generation formulas. The progression from early regression formulas through increasingly sophisticated approaches has represented real gains in precision.
Each new formula brought important refinements:
- Better prediction of effective lens position (ELP)
- Incorporation of additional variables like ACD, LT, and WTW
- Optimization of specific constants for different IOL models
- Adjustments for extreme axial lengths
Modern formulas have become references for their versatility, and some have already introduced artificial intelligence and pattern recognition elements.
But they all share a fundamental limitation: they were developed and optimized predominantly for virgin eyes.
The Challenge of "Special" Eyes
Consider the profile of patients arriving at your office today for cataract surgery:
Post-refractive surgery: With the LASIK and PRK boom over the past two decades, an increasing proportion of cataract patients have a history of prior corneal surgery. The problem of estimating true corneal power is well documented — but current solutions still depend on historical data that is frequently unavailable or imprecise.
Keratoconus: Patients with keratoconus are living longer and naturally developing cataracts. Corneal irregularity, high astigmatism, and variable progression make IOL calculation particularly challenging. Conventional formulas simply weren't trained for this scenario.
Post-corneal transplant: Whether penetrating or lamellar transplants, these eyes present unique biometric characteristics. The donor-recipient interface, sutures (present or removed), and variable healing introduce error sources that traditional formulas cannot adequately model.
Extreme eyes: Very short (< 20mm) or very long (> 26mm) remain difficult territory, despite specific adjustments in some formulas.
The ophthalmology community's response has been to develop specific calculators for each scenario — clinical history methods for post-refractive, empirical adjustments for keratoconus, ad-hoc corrections for axial length extremes.
The result? A fragmented ecosystem of partial solutions.
The Technical Foundation: Why Machine Learning Changes the Paradigm
Artificial intelligence and machine learning are not new to IOL calculation. Hill-RBF already uses pattern recognition, and the Kane Formula incorporates AI elements in its structure.
However, most current ML applications in ophthalmology follow a similar pattern: train models on large datasets of predominantly normal eyes and hope they generalize to atypical cases.
This approach has an important conceptual flaw.
A model trained on thousands of eyes with axial length between 22 and 25mm won't necessarily learn the relevant patterns for a 19mm post-PRK eye with forme fruste keratoconus. It simply hasn't seen enough cases of that type during training.
Understanding the Technical Architecture
To appreciate why a new approach is needed, it helps to understand how machine learning models actually work in this context.
Traditional formulas vs. machine learning: Classical IOL formulas use predetermined mathematical relationships and empirically derived constants. Machine learning, by contrast, can discover relationships directly from data without imposing a priori assumptions about functional form.
Learning from data: In conventional formulas, the variables (AL, K, ACD) enter the equation in predefined ways. Modern ML architectures can learn optimal representations of input features, potentially capturing nonlinear interactions that rigid formulas miss. For instance, the relationship between axial length and corneal power may not be constant across the entire range — ML models can learn these conditional dependencies automatically.
Ensemble methods and uncertainty quantification: Rather than relying on a single formula, ensemble approaches combine multiple models to produce more robust predictions. These methods can aggregate diverse models, each capturing different aspects of the underlying pattern. Critically, they also enable estimation of prediction uncertainty — telling you not just "21.5D" but "21.5D ± 0.3D with 95% confidence."
Generalization: A key challenge in medical ML is ensuring models generalize well — performing on new patients as well as training data. Careful model design and validation help ensure that learned patterns genuinely generalize rather than memorizing noise. When data for specific subpopulations is scarce, techniques exist to adapt models pretrained on larger datasets for specialized tasks.
The Real Promise
The true promise of machine learning for IOL calculation lies in a fundamentally different approach:
- Intentionally diverse datasets — not just large in volume, but specifically enriched with "difficult" cases
- Subpopulation modeling — recognizing that post-refractive, keratoconic, and post-transplant eyes may follow distinct patterns
- Continuous learning — models that evolve as new outcome data is incorporated
- Real-world validation — not just statistical accuracy on retrospective datasets, but prospective clinical performance
The Vision of a Truly Universal Formula
Imagine a single calculation tool that could:
- Automatically identify the eye "type" based on biometric parameters
- Apply the most appropriate model for that specific profile
- Provide not just an IOL power, but an uncertainty estimate
- Learn from each operated case, continuously refining its predictions
This is not science fiction. The technical elements to build such a system already exist. What's missing is the combination of:
Adequate data: Extensive datasets that include significant proportions of post-refractive eyes, keratoconus at different stages, post-transplant with different techniques, and the full range of axial lengths.
Appropriate architecture: ML models designed specifically for the ophthalmological problem, not generic adaptations from other fields.
Rigorous validation: Prospective testing in diverse populations, with clinically relevant metrics.
Feedback infrastructure: Systems that allow surgeons to report outcomes simply, feeding the learning cycle.
The Role of Synthetic Data
A practical challenge in building datasets for "special" cases is the relative scarcity of these patients at any individual center. A surgeon may operate dozens of cataracts per week, but how many post-LASIK eyes with AL < 22mm will they see in a year?
A promising approach is generating anatomically plausible synthetic data. This isn't about inventing random numbers, but creating virtual cases that respect known correlations between biometric parameters.
For example, we know that:
- Longer eyes tend to have flatter corneas
- Keratoconus produces myopia through increased corneal curvature, not axial elongation
- Post-myopic LASIK results in corneas flatter than expected for that axial length
Generative models can create synthetic populations that respect these relationships, allowing algorithms to be trained on scenarios that would be impossible to collect in sufficient quantity in clinical practice.
Naturally, synthetic data doesn't replace validation on real cases. But it can be a powerful tool for exploring the space of possibilities and identifying patterns that would otherwise remain hidden.
The Importance of SIA in the Equation
Any discussion about precision in cataract surgery must include surgically induced astigmatism (SIA). It's pointless to perfectly calculate spherical power if the incision introduces 0.75D of unexpected cylinder.
The problem is that many surgeons don't systematically measure their SIA. Without this information, it's impossible to:
- Adequately plan incision location
- Decide between toric IOL and relaxing incisions
- Objectively evaluate your own technique over time
Alpins vector analysis provides a robust methodology for quantifying SIA, but its practical application stumbles on calculation complexity. Simplifying this process is essential for more surgeons to incorporate this analysis into their routine.
What We're Building
The MIOLO.AI project was born from this vision: to create tools that help surgeons achieve better refractive outcomes in all types of patients.
Our current work involves:
Extensive and diverse datasets: We're compiling biometrics from normal eyes, post-refractive, keratoconus at different stages (Amsler-Krumeich 1-4), and post-penetrating keratoplasty. The goal is to have sufficient representation of each subpopulation to train specific models.
Validation against established references: Before proposing any innovation, it's fundamental to demonstrate equivalence with the best existing formulas in conventional scenarios. Our tests demonstrate high accuracy and consistency in normal axial length eyes.
Extreme case modeling: We're developing and testing specific adjustments for very short and very long eyes, where traditional formulas show known systematic bias.
Simplified SIA calculator: A tool based on Alpins methodology, but with an intuitive interface that allows calculating and storing your induced astigmatism in seconds.
What's Coming Next
The road toward a truly universal formula is long, and we're already walking it.
We're not ready to reveal everything yet — some developments are still in validation phase, and others represent genuine innovations that we're protecting until proper publication. What we can say is that our preliminary results in challenging subpopulations have exceeded our own expectations.
In the coming months, we'll share more about:
- Specific strategies for particularly difficult scenarios
- Validation data from our ongoing multicenter efforts
- New features in our calculation platform
The goal isn't to replace the surgeon's clinical judgment, but to provide an additional tool — especially in those cases where conventional formulas are known to have limitations.
Stay tuned.
A Final Reflection
The history of IOL calculation is a story 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's a magical technology, but because it allows modeling complexities that traditional approaches cannot capture.
The challenge is to do this in a scientifically rigorous manner, with adequate validation and transparency about limitations. Exaggerated promises serve no one.
What we can state with confidence is that there's significant room for improvement, especially 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's what we're doing.
Be Part of This Journey
If you're interested in this topic, I invite you to:
Try our tools:
- The SIA Calculator allows you to record and analyze your surgically induced astigmatism simply and quickly
- The Miolo Standard Calculator offers IOL calculations with our machine learning-based approach, allowing comparisons with your usual formulas
Follow our progress:
In upcoming articles, we'll address in detail topics that matter to modern cataract surgeons. Subscribe to be notified when new content is published.
Contribute data:
If you're interested in participating in our validation efforts, get in touch. The more diverse our datasets, the better the resulting models will be.
Bruno L. Miolo, MD, MSc
Ophthalmologist | Surgeon | Software engineering - AI
Developer of the MIOLO.AI project
Disclaimer: Miolo is a formula under continuous development and refinement. While our results have been genuinely encouraging — with accuracy metrics comparable to established references in normal eyes and promising performance in challenging cases — this remains an evolving tool. We recommend using it as a complementary resource alongside your usual formulas, particularly as validation data continues to accumulate. The formula is protected under a registered license.
