Semi-Supervised Learning for Eye Image Segmentation

Aayush Kumar Chaudhary, Prashnna K. Gyawali, Linwei Wang, Jeff B. PelzETRA Short Papers 2021

Abstract

Recent advances in appearance-based models have shown improved eye tracking performance in difficult scenarios like occlusion due to eyelashes, eyelids or camera placement, and environmental reflections on the cornea and glasses. The key reason for the improvement is the accurate and robust identification of eye parts (pupil, iris, and sclera regions). The improved accuracy often comes at the cost of labeling an enormous dataset, which is complex and time-consuming. This work presents two semi-supervised learning frameworks to identify eye-parts by taking advantage of unlabeled images where labeled datasets are scarce. With these frameworks, leveraging the domain-specific augmentation and novel spatially varying transformations for image segmentation, we show improved performance on various test cases. For instance, for a model trained on just 48 labeled images, these frameworks achieved an improvement of 0.38% and 0.65% in segmentation performance over the baseline model, which is trained only with the labeled dataset.

Introduction

High-fidelity gaze tracking is a cornerstone for the next generation of AR/VR interfaces. Achieving this requires precise segmentation of the eye's anatomical features—the pupil, iris, and sclera. While deep learning has made these models more robust against challenges like reflections and varying camera angles, they remain highly "data-hungry." Manually annotating eye images is a tedious, expensive process prone to human bias. This paper introduces two semi-supervised learning (SSL) frameworks designed to achieve high-accuracy segmentation while significantly reducing the human effort required for model training.

Methodology

The core challenge in applying standard SSL "consistency" techniques to segmentation is spatial variance. While a rotated image of an object retains its class label in classification, a rotated segmentation mask must be spatially aligned with the input to be valid. The authors propose two frameworks to address this:

  1. $SSL_D$ (Domain-Specific Augmentation): This method utilizes consistency regularization by applying augmentations that do not alter pixel positions, such as CLAHE or Gamma correction. These mimic real-world lighting and pigmentation variations.
  2. $SSL_{SS}$ (Self-Supervised Learning): This approach enables the use of spatially varying transformations (e.g., rotation, translation). By applying an inverse transformation to the network's output, the prediction is brought back into original spatial alignment, allowing for a consistency loss calculation.
Overview of the SSL frameworks: (a) $SSL_D$ with domain-specific augmentations, (b) $SSL_{SS}$ with spatially varying transformations and inverse mapping, and (c) the general training scheme combining supervised and unsupervised losses.

Both frameworks employ a combined loss function: a supervised loss (Cross-entropy + Boundary-aware + Surface loss) for labeled data and an L2 consistency loss for unlabeled data.

Experimental Evaluation

The frameworks were evaluated using the OpenEDS-2019 dataset, comprising 8,916 training images from 94 participants. A key finding was that subject diversity is more critical than raw volume; training on a few images from multiple subjects is far more effective than training on many images from a single subject, as it helps the model generalize to inherent variations in eye shape and skin tone.

Key Results

The SSL frameworks demonstrated significant performance gains, particularly in low-data regimes. As shown in the figure below, the performance gap between the semi-supervised models and the supervised baseline ($S_L$) is most pronounced when labeled data is extremely scarce.

Mean Intersection over Union (mIoU) scores for the supervised baseline ($S_L$) versus the $SSL_D$ and $SSL_{SS}$ frameworks as the number of labeled images increases.

With only 4 labeled images, $SSL_{SS}$ improved the mIoU from 88.28% to 92.54%. For 48 labeled images, the frameworks achieved improvements of 0.38% to 0.65% over the baseline. As the labeled dataset grows beyond 188 images, the benefits of SSL begin to diminish as the supervised model gains sufficient information to converge independently.

Conclusion and Future Work

This research highlights the potential of SSL to mitigate the data bottleneck in eye tracking. By accounting for spatial variance through inverse transformations, $SSL_{SS}$ allows for powerful geometric augmentations in a semi-supervised context. Future work will explore active learning to optimize image selection for labeling and incorporate temporal information from video streams to further enhance tracking robustness.

Summary updated

BibTeX
@inproceedings{chaudhary2021semi,
  author = {Aayush Kumar Chaudhary and Prashnna K. Gyawali and Linwei Wang and Jeff B. Pelz},
  title = {{Semi-Supervised Learning for Eye Image Segmentation}},
  booktitle = {ETRA Short Papers},
  year = {2021},
  url = {https://openreview.net/forum?id=SOdWjiXJIeq},
}
Figure