Abstract
Training robust computer vision models for eye-gaze estimation requires massive amounts of labeled data. While synthetic data is easily generated, it often lacks the realism and person-specific nuances found in actual human eyes. We present Seg2Eye, a generative model that synthesizes highly realistic, person-specific eye images by combining semantic segmentation masks for content with style codes derived from reference images. This approach allows for the generation of new images of a specific individual's eye in any gaze direction while maintaining their unique identity and appearance.
Introduction
The challenge of controlled generation in eye-gaze estimation lies in creating images that follow a specific geometric layout (e.g., "looking left") while perfectly mimicking the appearance of a specific individual. Existing style transfer methods often distort the eye's shape, while standard generative models struggle to maintain consistent identity across different gazes. To address this, researchers from ETH Zurich and NVIDIA developed Seg2Eye, a system that decouples geometry from texture to produce high-fidelity, identity-consistent synthetic data.
Methodology
The authors explored two distinct approaches to solve the problem of realistic eye generation:
1. The Refiner Network
This approach, which won the OpenEDS 2019 Challenge, utilizes a DeepLab v3+ architecture to learn a "residual map." This map acts as a delta added to a similar reference image to align it with a target segmentation mask. While numerically successful, this method often produced blurry results due to its optimization for pixel-wise similarity.
2. Seg2Eye: The Principled Approach
To achieve higher visual quality, the authors developed a novel GAN architecture merging the strengths of GauGAN (for content) and StyleGAN (for style).
- SPADE+Style Block: The core innovation is a normalization block that simultaneously injects content via Spatially Adaptive Normalization (SPADE) and style via Adaptive Instance Normalization (AdaIN).
- Latent Style Encoding: The model processes a few reference images through an encoder, aggregating latent codes using an element-wise maximum to create a robust "identity" code.
- Style Consistency Loss: A specialized loss function compares the latent style code and the Gram matrix (texture features) of the generated image against the original reference to ensure identity preservation.
Datasets
The study utilizes the OpenEDS (Open Eye Dataset), a large-scale collection of near-infrared (NIR) eye images captured via a VR headset. The dataset includes 12,759 images with manual semantic labels (pupil, iris, sclera) and a generative subset of over 250,000 unlabeled images from 152 participants.
Results and Discussion
Perception-Distortion Tradeoff
A key insight from the study is the tradeoff between pixel-wise accuracy and perceptual realism. While the Refiner Network achieved the best numerical scores in competition (a score of 25.23 vs. the 27.69 runner-up), the images were often "washed out." Seg2Eye, despite scoring lower on L2 metrics, produced significantly sharper and more believable images.
Identity and Style Control
By using SPADE to handle geometry and AdaIN for texture, the model effectively decouples content from style. This allows for smooth interpolation within the latent space. As shown in the figure below, the model can "walk" between different identities or states, generating anatomically plausible hybrids.
Conclusion
Seg2Eye demonstrates that hybrid normalization is key to generating person-specific synthetic data that is both geometrically accurate and visually realistic. Future work will focus on developing an interpretable latent space to allow direct manipulation of attributes like eye openness or eyelash density, and synthesizing entirely new, anatomically plausible identities to further diversify training sets for gaze estimation models.
Summary updated