Keratoconus Classifier for Smartphone-based Corneal Topographer

Siddhartha Gairola, Pallavi Joshi, Anand Balasubramaniam, Kaushik Murali, Nipun Kwatra, Mohit Jain

Introduction

Keratoconus is a progressive eye disease characterized by the thinning and bulging of the cornea into a conical shape. If left untreated, it leads to significant vision impairment and potential blindness. The condition is particularly prevalent in the Global South; for instance, studies indicate a prevalence as high as 1 in 44 individuals in certain regions of India.

While the gold standard for diagnosis is corneal topography—a technique that generates detailed curvature heatmaps of the eye—the technology remains inaccessible to many. Traditional topographers are bulky, expensive, and require specialized technicians to operate and ophthalmologists to interpret. Smartphone-based alternatives like SmartKC have emerged to reduce hardware costs, yet they face a "specialist bottleneck": the resulting heatmaps still require expert analysis, which is often unavailable in rural or underserved areas. This paper presents an automated deep learning-based classifier designed to bridge this gap by providing high-accuracy Keratoconus detection directly from smartphone-captured data.

Methodology

Dual-Head CNN Architecture

The researchers developed a specialized deep learning architecture to handle the complexities of corneal topography. The model utilizes a dual-head Convolutional Neural Network (CNN) with a shared ResNet34 backbone. This backbone branches into two distinct classification heads:

  1. Axial Head: Processes axial curvature heatmaps.
  2. Tangential Head: Processes tangential curvature heatmaps.

Because Keratoconus can manifest differently across different curvature perspectives, this dual-head approach ensures that subtle deformations captured in one view but missed by another are accounted for. The final diagnosis follows a "worst-case" fusion logic: if either head identifies Keratoconus, the system flags the patient for the disease.

Two-Stage Transfer Learning

A significant challenge in medical AI is the scarcity of labeled data. The SmartKC dataset consists of only 114 samples, which is insufficient for training a deep CNN from scratch. To overcome this, the authors implemented a two-stage transfer learning strategy:

  • Stage 1: The model is pre-trained on ImageNet and then fine-tuned on a large retrospective dataset (2,110 samples) from a professional-grade medical device (Optikon Keratron).
  • Stage 2: The model is further fine-tuned on the small subset of actual SmartKC smartphone data. This allows the model to adapt to the specific visual characteristics and noise profiles of smartphone-captured images.

Domain-Specific Augmentation

Unlike clinical topographers that use fixed chin-rests to ensure stability, smartphones are handheld. This introduces variability in zoom, rotation, and translation. To make the model robust against this "shaky" data, the authors applied domain-specific augmentations—including scaling, rotation, and "mixup" techniques—to the high-quality medical data during the first stage of training. This effectively taught the model to maintain accuracy even when the input data was less than perfect.

Datasets

The study utilized two primary data sources:

  1. Keratron-data: A source dataset of 2,110 samples (1,637 healthy, 473 Keratoconus) from professional Optikon Keratron devices, used to bootstrap the model's understanding of corneal pathology.
  2. SmartKC-data: A target dataset of 114 eye samples (68 healthy, 46 Keratoconus) collected via the SmartKC device at Sankara Eye Hospital, Bengaluru.

Results and Discussion

The proposed system demonstrated high diagnostic performance, significantly outperforming traditional machine learning baselines and standard CNN approaches.

Metric Value
Sensitivity (Se) 91.3%
Specificity (Sp) 94.2%
Accuracy 93.1%

In comparison, a standard Support Vector Machine (SVM) using quantitative metrics achieved only 80.4% sensitivity, while a CNN trained without the two-stage transfer learning strategy reached a mere 65.2% sensitivity. These results highlight that the transition from medical-grade data to smartphone data is the critical factor in achieving clinical-grade performance on mobile devices. Furthermore, the model's inference time is approximately 0.3 seconds on a standard GPU, making it highly suitable for real-time screening applications.

Conclusion

This research demonstrates that deep learning can effectively mitigate the lack of specialist access in the Global South by automating the diagnosis of Keratoconus. By leveraging existing clinical data through a two-stage transfer learning process and accounting for the hardware limitations of handheld devices, the SmartKC classifier provides a low-cost, high-accuracy screening tool.

While the current study is limited by a small target dataset, future work will focus on validating the system in mass screening camps across schools and villages. Expanding the dataset to include diverse populations and various smartphone models will be essential to ensuring the system's robustness and generalizability in real-world clinical settings.

Summary updated

BibTeX
@inproceedings{gairola2022keratoconus,
  author = {Siddhartha Gairola and Pallavi Joshi and Anand Balasubramaniam and Kaushik Murali and Nipun Kwatra and Mohit Jain},
  title = {{Keratoconus Classifier for Smartphone-based Corneal Topographer}},
  booktitle = {EMBC},
  year = {2022},
  url = {https://openreview.net/forum?id=agaDYwmuLq},
}
Figure