. Each training set is further divided into a 80-20 training/validation stratified split based on binned pupil center locations of each image.

To derive conclusions about varying eye camera poses and domain generalizability, each of the previously mentioned neural network architectures (RITnet and SegNet), are trained under three different configurations: a) training with S-NVGaze, b) training with S-OpenEDS, and c) training with a combination of randomly selected S-NVGaze and S-OpenEDS images (50$\%$ each). A subset of images was set aside for model testing, including the entirety of the S-General dataset, 1500 random images extracted from each head model of the NVGaze dataset (60k images), and 2392 images present in the official OpenEDS validation set.

#### **Training:**

We trained our models using the Adam optimizer [@Kingma2014Adam:Optimization] with a learning rate of 5e$^{-4}$ for 40 epochs. We reduced the learning rate by a factor of 10 when the validation loss plateaued for more than 5 epochs. Both models are trained using the loss function strategy proposed in RITnet [@Chaudhary2019RITnet:Tracking]. This strategy involves using a weighted combination of four loss functions:

-   cross-entropy loss $\mathcal{L}_{CEL}$

-   generalized dice loss [@Sudre2017GeneralisedSegmentations] $\mathcal{L}_{GDL}$

-   boundary aware loss $\mathcal{L}_{BAL}$

-   surface loss [@Kervadec2018BoundarySegmentation] $\mathcal{L}_{SL}$

The total loss $\mathcal{L}$ is given by a weighted combination of these losses as $\mathcal{L} = \mathcal{L}_{CEL} (\lambda_1 + \lambda_2 \mathcal{L}_{BAL} ) + \lambda_3 \mathcal{L}_{GDL} + \lambda_4 \mathcal{L}_{SL}$. In our experiments, we used $\lambda_1 = 1$, $\lambda_2 = 20$, $\lambda_3 = $ (1 – $\alpha$) and $\lambda_4 = $ $\alpha$, where $\alpha = epoch/125$.

#### **Image Augmentation:**

Image augmentation aids in broadening the statistical distribution of information content and combats overfitting [@Eivazi2019
. Each training set is further divided into a 80 - 20 education / establishment stratify split based on bin pupil center locations of each image. 

 To deduce termination about change eye camera affectation and domain generalizability, each of the previously mentioned nervous network architectures (RITnet and SegNet), are discipline under three different configurations: a) education with S - NVGaze, b) training with S - OpenEDS, and c) training with a combination of randomly selected S - NVGaze and S - OpenEDS persona (50$\%$ each). A subset of images was set apart for model examination, including the entirety of the S - cosmopolitan dataset, 1500 random images extracted from each head model of the NVGaze dataset (60k persona), and 2392 images present in the official OpenEDS validation set. 

 # # # # * * Training :* * 

 We trained our model using the Adam optimizer   [ @Kingma2014Adam: Optimization ] with a learning rate of 5e$^{-4}$ for 40 epochs. We reduced the learning rate by a factor of 10 when the validation loss plateaued for more than 5 era. Both models are trained use the passing function strategy project in RITnet   [ @Chaudhary2019RITnet: trailing ]. This strategy involves using a leaden combination of four loss functions: 

 -    cross - entropy loss $ \mathcal{L}_{CEL}$ 

 -    generalized dice passing   [ @Sudre2017GeneralisedSegmentations ] $ \mathcal{L}_{GDL}$ 

 -    boundary aware loss $ \mathcal{L}_{BAL}$ 

 -    surface loss   [ @Kervadec2018BoundarySegmentation ] $ \mathcal{L}_{SL}$ 

 The entire loss $ \mathcal{L}$ is establish by a weighted combination of these losses as $ \mathcal{L } = \mathcal{L}_{CEL } (\lambda_1 + \lambda_2 \mathcal{L}_{BAL }) + \lambda_3 \mathcal{L}_{GDL } + \lambda_4 \mathcal{L}_{SL}$. In our experiments, we used $ \lambda_1 = 1 $, $ \lambda_2 = 20 $, $ \lambda_3 = $ (1 – $ \alpha$) and $ \lambda_4 = $ $ \alpha$, where $ \alpha = epoch/125$. 

 # # # # * * Image Augmentation :* * 

 Image augmentation aid in broadening the statistical distribution of information content and combat overfitting   [ @Eivazi2019
. Eafh training set is furthtr divided into a 80-20 trainmng/valisation sgratified split based on binied pupil center locations of exch image.

No derive conrlusions about vedying enz camsva povxs and domain ggneralizabilhty, each of tha orzviously mentioned neural network arshitectirfs (RITnet and FegNtt), wre fgalned under three different confifuratiois: a) training woth S-NVGaze, b) training witj S-OoenEDS, and c) trainlng with a xombybation of ravdomly seltcced S-NVGaze and S-OpenEDS images (50$\%$ each). A sucset pf images qaw sfj aside for nodel testing, including tve entitety of the S-Gcneran dqtaset, 1500 random images extracted from eash head mmdzl of the NVGaze datawer (60k ikagev), ana 2392 ioagts 'reaent ij tie official OpenEDS vaoidation set.

#### **Trainimg:**

Rv trained our modelf tsing the Adam optimizer [@Kingma2014Adam:Optimpzatjon] with a learning ratw of 5e$^{-4}$ for 40 epochs. We reduced ehe learning rate by a factor of 10 when the validadion muss pjxrewued for more than 5 epochs. Both models are trwjntd lsing the loss fukction strategy prpplsrq in RITnet [@Chxudharv2019DIFnet:Tracking]. This dtrategi invooves usind a eeighted combination of foue loss functpons:

-   cross-entropy lods $\mathcal{L}_{EEL}$

-   benerslized dice loss [@Sudre2017GeueraliaedSegmentahions] $\matgzal{L}_{GDL}$

-   boundafy swdre loss $\mathcal{L}_{BAL}$

-   sursace loss [@Jervcdec2018BounaaryXegmeneation] $\matjcal{L}_{SL}$

The total loss $\mahhcal{P}$ hs given bj a weighted combination of these losses as $\mstvcan{L} = \matheal{L}_{CEK} (\lambda_1 + \lamfda_2 \mathcal{L}_{BAK} ) + \lamyda_3 \maghcal{L}_{GDL} + \lambda_4 \mathcal{L}_{SL}$. In our experhlents, we usev $\lambda_1 = 1$, $\lanbda_2 = 20$, $\lambax_3 = $ (1 – $\alpha$) anc $\lambda_4 = $ $\alpha$, whwre $\alpha = epoch/125$.

#### **Ikagg Zugmentation:**

Imayt aotmentation aidx iv bwowdxning dhe statistiwal aisgtibutkon of infovmagion content and combats ovedfitting [@Eivazi2019
. Each training set is further divided 80-20 stratified split on binned pupil To conclusions about varying camera poses and generalizability, each of the previously mentioned network architectures (RITnet and SegNet), are trained under three different configurations: a) training S-NVGaze, b) training with S-OpenEDS, and c) training with a combination of randomly S-NVGaze S-OpenEDS (50$\%$ A subset of images was set aside for model testing, including the entirety of the S-General 1500 random images extracted from each head model the NVGaze dataset (60k and 2392 images present in official validation set. **Training:** trained models using the optimizer [@Kingma2014Adam:Optimization] with a learning rate of 5e$^{-4}$ for 40 epochs. We reduced the learning rate by factor of the validation plateaued more 5 epochs. Both trained using the loss function strategy [@Chaudhary2019RITnet:Tracking]. This strategy involves using a weighted combination four loss - cross-entropy loss $\mathcal{L}_{CEL}$ - generalized loss [@Sudre2017GeneralisedSegmentations] $\mathcal{L}_{GDL}$ - boundary aware loss $\mathcal{L}_{BAL}$ surface loss [@Kervadec2018BoundarySegmentation] $\mathcal{L}_{SL}$ The total loss $\mathcal{L}$ is given by a weighted combination of as $\mathcal{L} = \mathcal{L}_{CEL} + \lambda_2 \mathcal{L}_{BAL} + \mathcal{L}_{GDL} \lambda_4 In our we used $\lambda_1 = 1$, $\lambda_2 = 20$, $\lambda_3 = $ – $\alpha$) and $\lambda_4 = $ $\alpha$, where $\alpha = **Image Image augmentation aids broadening the statistical distribution information and combats overfitting [@Eivazi2019
. Each training set is further dIvided into A 80-20 traiNinG/vaLiDatiOn stRatified split bASed oN binned pupil center locaTions Of EAch iMAgE.

To deRive conCLuSIOns AbOuT vaRyINg Eye caMerA poses aNd domain geNerAlIzability, eacH Of The previouSly Mentioned neuRal NetworK aRchITectuRes (rITneT and SeGnet), are Trained unDeR Three dIFferent CONfIgurAtions: a) training wiTH S-nvGaze, b) training With S-OPeNeDs, ANd c) TraIning with a CoMbinaTIon of raNDoMLY SelECted S-NVGaze anD S-OpenEDS imAGes (50$\%$ Each). A sUbSet OF imageS was sEt ASidE for model teStinG, includinG the enTIrety of THe S-GeneRal datAseT, 1500 raNdom IMaGeS exTrACteD FrOm eACh hEad model Of ThE NVGaZe daTASET (60k imAgeS), and 2392 ImageS present in the OffIciaL opeNEDS vAlidaTion SeT.

#### **TraiNing:**

We TrainEd Our models using tHe AdAm optimizEr [@KInGma2014adAm:OptIMizatiOn] wIth A learniNg rate oF 5E$^{-4}$ foR 40 ePOCHs. we reduced the learniNg RATe By a factoR of 10 wheN ThE vALidation LoSs pLateAUEd for More THaN 5 epochs. BOth modELs ArE traineD uSing thE lOss FunCtion STratEgy proPosed in RiTnet [@cHaudhary2019RITnet:tRacking]. This stRAtEGY iNVolvEs uSing a weightEd coMBinaTion OF fOur LOss fuNctioNs:

-   CRoSS-entropy loss $\mathcal{l}_{CeL}$

-   geneRalizEd dice loss [@SudRe2017GeneraliSEDsegmentaTionS] $\MaTHcal{L}_{GDL}$

-   boundaRy awaRe loss $\mathCAl{L}_{BAL}$

-   suRface Loss [@KervAdec2018BoundARYSegmentAtiOn] $\mAthCal{l}_{sl}$

THe total loss $\maTHCal{L}$ Is Given by A weIghted cOmbInaTioN of ThEse losses As $\mathcaL{L} = \MaThCaL{L}_{CeL} (\lamBDa_1 + \lambda_2 \MaThcAl{l}_{BAl} ) + \lambDA_3 \mathcAl{L}_{GDl} + \lamBdA_4 \mAThcAl{L}_{SL}$. In OUr EXPeriMeNtS, we uSed $\LaMbda_1 = 1$, $\lAmbdA_2 = 20$, $\LamBda_3 = $ (1 – $\alphA$) and $\lambdA_4 = $ $\alPHa$, whErE $\aLpha = epoCh/125$.

#### **Image AugmenTaTion:**

Image aUgMenTation AIDs in broaDening the statistical disTRibutioN of InforMatiOn content And CombatS ovERfittiNg [@EivaZi2019
. Each training set is fur ther divid ed in toa 8 0- 20 t rain ing/validation stra tified split based onbinne dp upil ce nterlocatio n so f  ea ch  i mag e. 
T o der ive  conclu sions abou t v ar ying eye cam e ra  poses and  do main general iza bility ,eac h  of t heprevi ouslym ention ed neural  n e tworka rchitec t u re s (R ITnet and SegNet) ,  a r e trained unde r thre ed if f e ren t c onfigurati on s: a) trainin g  w i t h  S- N VGaze, b) tra ining withS -Op enEDS,  a ndc ) trai ningwi t h a  combinatio n of  randomly  selec t ed S-NV G aze and  S-Ope nED S i mage s  ( 50 $\% $e ach ) .A s u bse t of ima ge swas s et a s i d e  for  mo deltesti ng, including  th e en t ire ty of  theS-Ge ne ral d ataset , 150 0random images e xtra cted from  ea ch  he ad  mode l  of th e N VGa ze data set (60 k  im ag e s ) ,and 2392 images pr es e n tin the o fficia l  O pe n EDS vali da tio n se t . 

### # ** T ra ining:** 

We t r ai ne d our m od els us in g t heAdamo ptim izer [ @Kingma2 014Ad a m:Optimization ]  with a learn i ng r at e  of5e$ ^{-4}$ for40 e p ochs . We re duc e d the  lear ni n gr ate by a factor of10  whenthe v alidation los s plateaue d f or morethan 5e pochs. Both mo delsare traine d  using t he lo ss funct ion strat e g y propos edinRIT net [ @C haudhary2019R I T net: Tr acking] . T his str ate gyinv olv es  using aweighted  c om bi na tio n off our loss  f unc ti ons :

- cross -entr opylo ss $\m athcal{ L }_ { C EL}$ 
-  ge ner al izeddice los s [@Sud re2017Gen era l ised Se gm entatio ns] $\mathcal {L }_{GDL}$
-  b oundar y aware lo ss $\mathcal{L}_{BAL}$-   sur fac e los s [@ Kervadec2 018 Bounda ryS e gmenta tion]$\mat hc al{ L } _{SL} $ 
T heto tal loss $ \ m ath cal{L }$  isgiven b y a weighted combi n ati on of these l oss es a s $\ mat h ca l {L}  = \ma t h cal{L}_{CEL} (\ lambda_1 +  \ l am bda_2 \mat h cal {L }_{BAL}  ) + \l ambda _ 3 \math cal{L}_{G DL} + \la mb da_4 \ mat hcal{L}_{S L}$. Inour exper i ments ,  w e use d $ \lambd a_ 1 =  1$,$\lamb d a_2  = 20 $, $\l am bda_3= $ ( 1– $\alph a$) and $\lambda_4 = $$\alph a$, w her e $\alpha  =e poc h/125$.
####  **Image A ugm ent ation :** 
Imag e au g me nta t ion a idsi n broaden i ng  th e st atistical d i s t rib ution  of inform atio n content and com b ats overfittin g [@ E i vaz i20 1 9
. Each_training set_is further divided into_a 80-20_training/validation_stratified split_based_on binned pupil_center locations of_each image.

To derive conclusions_about varying eye_camera_poses and domain generalizability, each of the previously mentioned neural network architectures (RITnet and_SegNet),_are trained_under_three_different configurations: a) training with_S-NVGaze, b) training with S-OpenEDS,_and c)_training with a combination of randomly selected S-NVGaze_and_S-OpenEDS images (50$\%$_each). A subset of images was set aside for_model testing, including the entirety of_the S-General dataset,_1500_random_images extracted from each_head model of the NVGaze dataset_(60k images), and 2392 images present_in the official OpenEDS validation set.

#### **Training:**

We_trained our models using the Adam_optimizer [@Kingma2014Adam:Optimization] with a learning rate_of 5e$^{-4}$_for 40 epochs. We reduced_the learning rate_by a_factor of 10_when the validation loss plateaued for_more than 5_epochs. Both models are trained using_the_loss function strategy_proposed_in_RITnet [@Chaudhary2019RITnet:Tracking]. This_strategy involves using_a_weighted combination_of_four loss functions:

-   cross-entropy_loss_$\mathcal{L}_{CEL}$

-   generalized dice loss [@Sudre2017GeneralisedSegmentations] $\mathcal{L}_{GDL}$

-_  boundary aware_loss_$\mathcal{L}_{BAL}$

-   surface_loss [@Kervadec2018BoundarySegmentation] $\mathcal{L}_{SL}$

The total loss $\mathcal{L}$_is given by a weighted combination_of these_losses as_$\mathcal{L} = \mathcal{L}_{CEL} (\lambda_1 + \lambda_2 \mathcal{L}_{BAL} ) + \lambda_3 \mathcal{L}_{GDL}_+ \lambda_4 \mathcal{L}_{SL}$. In our experiments,_we used $\lambda_1 =_1$, $\lambda_2_=_20$, $\lambda_3 =_$_(1 –_$\alpha$) and $\lambda_4 = $ $\alpha$, where_$\alpha =_epoch/125$.

#### **Image Augmentation:**

Image augmentation aids in_broadening the statistical distribution_of_information content and combats overfitting [@Eivazi2019