TY - JOUR AU - Samani, Afshin AB - Introduction Fatigue is often reported by computer users [1,2] and associated with the development of musculoskeletal and psychological disorders [2,3] and compromised performance resulting in accidents [4]. However, fatigue development is sometimes inevitable due to inflexible work regulations and schedules [2]. Two important issues among all should be addressed in work-related fatigue [2]. First, the regular work-rest schedules may ignore inter-individual differences in the manifestation of fatigue patterns [5,6]. Second, fatigue progression in its early stages may not necessarily lead to a significant loss of performance and thus not easily detectable from performance measures [7,8]. The development of fatigue during computer work in response to a mentally demanding task is aimed to be investigated in the proposed study, which may deal more with mental rather than physical demands of computer work. However, it has been recommended not to use adjectives (e.g. mental, cognitive) describing the locus of “fatigue” to acknowledge different underlying factors of fatigability [9]. In addition, this form of fatigue may also be referred to as acute fatigue as provoked by fast-paced or tight-scheduled work, but the manifestation of fatigue may be beyond task demands [9]. Sleep-deprived and chronic forms of fatigue should be discriminated from acute fatigue as the latter could be regulated by micro-breaks whereas the former is unlikely to be respondent to such interventions [10]. Implementing micro-breaks, i.e. short pauses without major interruption, at work is suggested to mitigate fatigue and preserve the performance in a safe level [11,12]. In addition, micro-breaks have been reported to improve mental focus [13]. It is plausible that micro-breaks can reduce discomfort especially during computer work (e.g. [14]), however, the cognitive impacts of micro-breaks require further investigations [15]. Optimal design of micro-breaks for an individual requires monitoring fatigue status and acquisition of objective information associated with fatigue [16–19]. The objective information should be provided in an unobtrusive manner to avoid any disturbance to work [16–19]. Fatigue detection has been approached by different techniques and modalities including electroencephalography [20–22], surface electromyography [23,24], mechanomyography [25,26], functional near infra-red spectroscopy [27,28], cardiac dynamics [29,30], functional magnetic resonance imaging [31,32], and eye tracking [33,34], or combinations of different modalities [35,36]. Although the findings are promising and competitive with each other in experimental situations for precise detection of fatigue, they are subject to technical limitations to apply in real-life settings. This study is focused on eye tracking, as it is technically progressing and can provide less obtrusiveness compared with the mentioned psychophysiological measurements, which is suitable for real-life settings [37]. Oculometrics are believed to be an enriched source of cognitive information and can be achieved by eye tracking [38–42]. The oculometrics may represent the underlying neural mechanism in the control and regulation of the eye movements during fatigue development [43]. Recent findings have shown that the development of fatigue may manifest earlier in the oculometrics than in physical and cognitive performance in various tasks including computer work [38,44]. Thus, oculometrics are promising biomarkers for early detection of fatigue. An effective design of micro-breaks requires appropriate choices for the period, frequency, and the activity during the micro-breaks [45,46]. These parameters are dependent on the tasks and individuals [47]. Specifically, the frequency of micro-breaks may be determined individually based on oculometrics as sensitive metrics to fatigue development. Thus, this study aimed at the development of a biofeedback system based on oculometrics to provide personalized information on when to apply micro-breaks. A biofeedback system is commonly comprised of an acquisition system to record physiological data from an individual, a processing unit to interpret the data, and an interface, e.g. a computer screen, to deliver information in real-time according to the processed data to the individual. The underlying idea of biofeedback is to provide cognitive interventions to enhance self-awareness to improve health and performance [48,49]. There are different applications for biofeedback [48,49], e.g. decrease of the muscular load during computer work [16,17], adjustment of the mental load of computer games using physiological signals including pupil diameter changes [50], mental training in competitive sports [51], and counteracting stress and anxiety [52–54]. The proposed biofeedback system in this study was designed to alert participants to take micro-breaks during computer work based on oculometrics in a statistical model describing fatigue states. Of note, counteracting fatigue within this framework of cognitive intervention is favorable from the consumption of psychoactive drugs, e.g. caffeine in association with health risks [55]. We hypothesized that the oculometrics-based biofeedback system would impede fatigue development without compromising the performance of computer work. Methods and materials Participants Twenty participants, 10 females and 10 males, aged 26 (SD 3) years old with the height of 1.72 (SD.10) m, and the body mass of 69 (SD 15) kg were recruited. All participants had normal or corrected-to-normal vision (self-reported and examined by Snellen chart). The participants were familiar with computer work and used their right hand as their dominant side for computer mouse. Participants were asked to abstain from alcohol for 24 h, and caffeine, smoking and drugs for 12 h prior to experimental sessions. The participants reported at least 6 h (mean 7.6 ± 0.8 h) of night sleep before the experimental session. The Fatigue Assessment Scale (FAS) [56] and the Visual Fatigue Scale (VFS) [57] were administered respectively to exclude participants suffering from chronic fatigue and eye strain. No participant was found with chronic fatigue and eye strain. Written informed consent was obtained from each participant. The experiment was approved by The North Denmark Region Committee on Health Research Ethics, project number N-20160023 and conducted in accordance with the Declaration of Helsinki. Experimental approach A counterbalanced-measures design was employed to investigate the effectiveness of biofeedback-triggered micro-breaks in comparison with self-triggered micro-breaks. To do this, two experimental sessions were conducted in two counterbalanced sessions (days) with one-week inter-session interval. Computer task. In both experimental sessions, participants were asked to perform a cyclic computer task [38] for approx. 31–35 min (Fig 1). The task [58] developed on MATLAB R2018a (The MathWorks, Natick, MA) was displayed on a 19-in screen (1280×1024 pixels, refresh rate: 120Hz) located approx. 58 cm in front of a sitting participant subtending 27°×22° of visual angle. The task involved 180 cycles each taking approx. 10 s (corresponding to methods times measurement (MTM-100) [59,60]). Each cycle began by memorizing a random pattern of connected points with different shapes presented on a computer screen. The order of connecting points was determined by a textual cue displayed under the pattern, indicating the starting point. It was followed by a washout period, where no pattern was displayed, and the participants were instructed to keep their gaze on a cross in the center of the screen. The cycle continued by the presentation of the doubled-size replica of the pattern without connecting lines. To redraw the lines and replicate the presented pattern, participants were required to click on a sequence of the pattern points as targets. Once the allocated time to replicate the pattern passed, a new cycle with a different pattern was presented. In this design, the perceived level of fatigue based on Karolinska Sleepiness Scale (KSS) [61], was indicated by the participants after each 20 cycles, i.e. segment, in five seconds (KSS pause). The KSS can be rated from one (extremely alert) to 10 (extremely sleepy, can’t wait to sleep). Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 1. The task timeline in the manual and automatic sessions (see micro-breaks). A schematic view of the exercise and screen information during a micro-break, and the experiment set-up. [The individual in this manuscript has given written informed consent (as outlined in PLOS consent form) to publish these case details]. https://doi.org/10.1371/journal.pone.0213704.g001 Micro-breaks. Each experimental session involved either self-triggered or the biofeedback-triggered micro-breaks, respectively termed as manual and automatic sessions. In the manual sessions, the participants were instructed to press the right click button asking for a micro-break, whenever through the task they felt fatigued equivalent to KSS≥5. When a micro-break was triggered by a right click (or more), the task execution was interrupted after the earliest upcoming KSS pause (Fig 1). In the automatic sessions, the biofeedback system triggered the micro-break based on its prediction of KSS (explained further in the subsequent section) being ≥5 [62,63]. In this study, the micro-break consisted of a 25-s interruption of the task, while the participant took an active pause. During the micro-break, a down counter of the seconds from 25 to zero was displayed on the computer screen (Fig 1). The green color has been shown to have restorative effects on attention and cognition [64,65]. The micro-breaks involved four repetitions of seated bilateral shoulder rotations with an elastic band where the shoulders were abducted horizontally up to 45° while keeping the elbows fixed around 90°. During the micro-break, the participants were also instructed to perform mindful breathing based on [66,67] where the participants were guided to become aware of their breathing. Besides the benefits of active pauses [68] especially during computer work [69], mindful breathing is associated with oxygenation and reduced mental load and stress to counteract sustained attention [70,71]. The breathing rate was at the participants discretion, due to the diversity and individuality in breathing patterns [72]. Familiarization and task engagement. The participants were instructed to perform the computer task and micro-breaks in four days prior to the first session. In addition, anthropometric measures, visual acuity, and general health and fatigue questionnaires were collected. Afterwards, the participants performed the computer task for 10-min. The participants received a brief overview of the experimental procedure also in the beginning of both sessions and performed the computer task for 5-min as an additional training before commencing the experimental protocol to reduce the learning effect. The participants were not informed about the principle of functioning of the biofeedback system. It was further explained that their choices of KSS had no effect on their performance or the biofeedback system. To evaluate the perceived workload from the tasks, the questionnaire of National Aeronautics and Space Administration Task Load Index (NASA-TLX) [73] was administered after the task termination, as it provides information on different dimensions of workload of a task [74,75]. The participants were informed that their performance was measured and compared with other participants to maintain motivation, and achieving high performance makes them candidates to win a monetary reward (100 Danish Kroner). The development of a statistical model for fatigue detection To implement the biofeedback system, a statistical model of fatigue was developed based on previously collected oculometrics dataset (OLDSET) during an identical computer task [38]. The OLDSET consisted of the oculometrics extracted from gaze positions and pupil dilations, and KSS ratings from 38 participants in 40-min samples of an identical computer task without micro-breaks as described in [38]. The state of fatigue for each segment was assigned based on the KSS scores obtained after each segment. The KSS scores were dichotomized based on a threshold value of five, corresponding to being “neither alert nor sleepy”, as a transition point between alertness and fatigue. Thus, the segments with the KSS value of ≥5 were assigned to the class of fatigued and the KSS scores of <5 were assigned to the class of alert. This dichotomization criterion has been used in previous studies, e.g. [62]. It is suggested as a critical value in the association between ocular metrics and sleepiness [63]. With this dichotomization criterion, 45% of the collected segments (205 out of 456) across the entire subject pool in the OLDSET were labeled as fatigued. Thirty-four features including oculometrics, sex, and age were used in setting up the classifier (Table 1). A series of viable classification models were examined as outlined in Table 2. A feature subset consisting of five features, i.e. Blink Frequency (BF), Percentage of the duration of closed eyes to opened eyes (PERCLOS), Saccade Frequency (SF), Saccade Peak Velocity Amplitude Relationship (SVA), and Pupil Diameter Interquartile Range (PDIR), was chosen using sequential floating forward feature selection [76]. The feature selection helps to choose a combination of features that best explain the separability of the two classes [76]. The classification criterion was the Youden’s J statistic or Youden’s index [77], where P and N are the number of instances (segments) with respectively positive (fatigued) and negative (alert) labels, and TP, TN are respectively the number of true positive (correctly detected fatigue) and true negative (correctly detected alert) instances. Here, and are respectively True Positive Rate (TPR), and True Negative Rate (TNR). The Youden’s index was computed using leave-one-person-out (LOPO) approach on a random forest model (Table 2) [78]. Different classifiers as outlined in Table 2 were examined using the selected feature subset as input and the class labels of fatigued or alert as output. In the LOPO approach, the classifier was trained using the data from all the participants except one, and it was tested using the excluded participant. This approach was performed for all the 38 participants to compute the average of classification performance across the entire participant pool. Finally, the ensemble of Decision Trees (DT Ensemble) was chosen based on its superior classification performance in terms of accuracy ACC = (TP + TN)/(P + N) (66±21%), TPR (61±29%), and TNR (70±22%) in comparison with the classifiers listed in Table 3, i.e. linear discriminant analysis, decision tree, k-nearest neighbors, support vector machines, Naïve Bayes, feed-forward neural networks, subtractive clustering-based Fuzzy classifier, Fuzzy c-means classifier, logistic regression classifier, and random forest. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 1. The feature set. https://doi.org/10.1371/journal.pone.0213704.t001 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 2. The details of the classification models. https://doi.org/10.1371/journal.pone.0213704.t002 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. The performance of the models to classify the state of fatigued (KSS≥5) (Positive class) from alert (Negative class). https://doi.org/10.1371/journal.pone.0213704.t003 The classification model with the best performance (DT Ensemble) was picked to form the core of the biofeedback system. The DT Ensemble with the configuration outlined in Table 2 was trained with the whole dataset consisting of 456 samples (38 participants × 12 segments) to make a statistical model to predict the class label of each segment of the biofeedback system. The permutation test [96] was conducted on the OLDSET to further examine the classification accuracy of the DT Ensemble against the chance level accuracy obtained from 100 randomly permuted class labels. The sensitivity to the dichotomization criterion for the KSS was also performed on the OLDSET. The classification performance of the DT ensemble was significantly higher than chance level as assessed by the permutation test for the OLDSET (α = 0.01). Changing the dichotomization criterion of KSS scores to ≥6 as fatigued for the DT Ensemble model did not lead to better classification performances than the criterion of five in the OLDSET. The receiver operating characteristics (ROC) of the training and test sets, and the confusion matrix for the DT Ensemble model are depicted in Fig 2, where the area under the ROC curves for the training (0.89) and test (0.64) sets as well as the results from the confusion matrix supported the usability of the model in the biofeedback system. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 2. The receiver operating characteristics (ROC) curve with the False Positive Rate (FPR) on the x-axis and the True Positive Rate (TPR) on the y-axis, depicted for the training and test sets, as well as the confusion matrix for the DT Ensemble model. The ROC curve is illustrated by computing the TPR and FPR averaged across the participants for varying values of the posterior probability threshold in [0 1] for the training and test sets. The confusion matrix was computed for the chosen KSS threshold of 5. https://doi.org/10.1371/journal.pone.0213704.g002 During the computer task in the current study, the feature set was obtained across 20 consecutive cycles within a segment and the core of the biofeedback system classified the segment into either the fatigued or the alert class. The section titled “Oculometrics” outlines the performed analysis to obtain the oculometrics as features. If the segment was classified as fatigued, the biofeedback system triggered the micro-break command following the KSS pause after that specific segment. If the segment was classified into the alert class, no feedback was given. The architecture of the biofeedback system is depicted in Fig 3. The approaches from feature selection to model evaluation in the development of the statistical model to predict fatigue is summarized in Fig 3, and thereby the two mechanisms to trigger the micro-breaks in the automatic and manual sessions are illustrated. All aspects of the biofeedback system were implemented in MATLAB R2018a (The Mathworks, Natick, MA). Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 3. The architecture of the biofeedback system including the approaches to develop the statistical model to detect fatigue, and to trigger the micro-breaks. This architecture provides the flowchart of the main steps to develop the fatigue detection model, from the feature selection to the model evaluation and the deployment of the DT-Ensemble model in the biofeedback framework wherein the data were streaming from the eye tracker in real-time and the selected features were extracted in the end of each task segment and were fed into the deployed DT-Ensemble model to trigger the micro-break if fatigue was detected in the automatic sessions (light blue path), whereas the triggering of the micro-break was only based on the decision of the participant in the manual sessions (red path). https://doi.org/10.1371/journal.pone.0213704.g003 Data acquisition and processing A video-based monocular eye-tracker (Eye-Trac 7, Applied Science Laboratories, Bedford, MA, USA) coupled with a head tracker (Visualeyez II system set up with two VZ4000 trackers, Phoenix Technologies Inc., Canada) was utilized to measure the eye movements, pupil diameter, and point of gaze at a sampling frequency of 360 Hz. The coupling of the eye-tracker and the head-tracker was done using built-in software to integrate eye and head positioning data and to compensate for head movements allowing free head movements during the experiment. As reported by the manufacturer, spatial precision of the eye-tracker is lower than 0.5° of visual angle. The spatial accuracy is less than 2° in the periphery of the visual field. The calibration of the eye-tracker was performed before starting the task with 9-point calibration protocol and examined before the task execution and after the task termination on the calibration points. The measured accuracy was on average 0.7 ± 0.4° across participants and did not significantly change across time (p> 0.6). The experiments were conducted in a noise- and illumination- and temperature- controlled indoor room to rule out environmental confounding factors. Oculometrics. Among all the features outlined in Table 1, the oculometrics were extracted from each segment. Saccades, blinks, and fixations were first identified for each segment using the algorithm of [97] as applied in [38]. Briefly, the algorithm initiated by the computation of visual angle between consecutive samples of point-of-gaze, followed by its derivatives to the angular velocity and acceleration using a 19-samples-length second-order Savitsky-Golay filter [97]. It applied data-driven thresholds on the angular velocity to detect saccadic samples. Zero-valued samples of pupil diameter, corresponding to closed eyes or missing pupil image provided by the built-in software of the eye-tracker, constituted blink samples, and the rest of the samples were assigned to fixations. Pupil diameter (including linearly interpolated zero-valued samples) were filtered using a zero-phase low-pass third-order Butterworth to remove noise and artefacts [98]. Additional constraints were imposed to exclude invalid ocular events [38]. The data during the micro-breaks and KSS pauses were not included in the computation of oculometrics. The frequency of blinks (BF), saccades (SF), and fixations (FF) were computed respectively as the number of blinks, saccades, and fixations during each segment divided by the duration of the segment. The mean duration of blinks (BD), fixations (FD), and saccades (SCD) were computed across each segment. Pupillary responses were characterized using the mean, coefficient of variation, interquartile range, instantaneous phase [83] of pupil diameter, respectively indicated by PD, PCV, PDIR, and PH. The number of closed-eyes samples (zero-valued pupil diameter) to opened-eyes samples was computed as PERCLOS. Blinks were further characterized by the frequency of blinks coincided by gaze shifts >2° (BGF) [79,99] and their ratio to the number of all blinks (BGR). The mean of inter-blink interval (IBI), the frequency of blinks occurring with IBI<700 ms (DBF), the number of long blinks >200 ms [80] to the segment duration (LBF), and the ratio of long blinks to all blinks (LBR). Saccades were further quantified in terms of the mean value of their peak velocity (SPV), amplitude (SA), curvature [59] (SCR), peak amplitude of saccadic acceleration (SPA) and deceleration (SPD) profiles, inter-saccadic intervals (ISI) excluding ISI>250 ms, and the slope of the line regressing peak velocity of saccades to their amplitude (SVA) and duration (SDA). Similarly, fixations were further characterized as the ratio of long fixations (>0.9 s) [34] to all fixations (LFR). Gaze dispersion was characterized using the mean value of gaze-point displacements and distances between two successive fixations respectively computed as Euclidean distance between the center of gaze points of two successive fixations (FFdisp), the summation of Euclidean distances between successive gaze-points from the onset to offset of saccades connecting the two successive fixations (FFdist), and the ratio of the FFdisp to FFdist for the same two successive fixations (FFdisp/dist). The successive fixations exceeding over feasible saccade duration of >100 ms in this study were excluded [100]. In addition, overall dispersion (OD) was quantified as the averaged Euclidean distance between fixation centers and center of fixations. The center of fixations, gaze points and fixation centers were obtained using the mean value of their corresponding coordinates. The dynamics of visual perception were also quantified using the kappa coefficient of ambient and focal attention (KPA) as defined in [85]. The mean of time intervals (<700 ms) between a blink and its successive saccade was also extracted as a feature in association with blink perturbation effects on saccades [101]. The selected features of SF, SVA, BF, PDIR and PERCLOS were computed in the biofeedback system in the same way as they were computed from the OLDSET. To inspect the effect of the biofeedback system, the mean of the overall performance (OP) [38] across segments was computed. It represents how accurate and fast the pattern replication was done. Theoretically, the OP is a positive value with zero for the lowest performance (no click on the targets). Statistical analysis The statistical analysis was performed in SPSS 25. The classification performance of the deployed model (DT Ensemble) in the biofeedback system was reported in terms of the ACC, Sensitivity (TPR), and Specificity (TNR). The classification performance (ACC) was compared between the manual and automatic sessions using repeated measures analysis of variance (RM-ANOVA) and the interaction effect of the time of the day (morning or afternoon) on ACC was also considered. RM-ANOVA was also performed on the outcome variables (OP, KSS and oculometrics) with the time spent doing the task, Time-on-Task (TOT) (nine segments), and the automatic and the manual modes as within-subject factors (significance level p = 0.05). Post-hoc comparisons between the segments were included in pairs indicated by Bonferroni correction. The Huynh-Feldt correction was applied if the assumption of sphericity was not met. The measure of effect size, partial eta-squared, , was also reported. The perceived workload (NASA-TLX scores) and the number of micro-breaks was compared between the automatic and manual sessions using paired t-test with the effect size in terms of Cohen’s dz [102], to further evaluate the effectiveness of the biofeedback system. The normality of the variables was assessed using Shapiro–Wilk test. The KSS scores were transformed to normal distribution using square root transformation. Due to the counter-balanced order of the sessions, half of the first sessions were conducted in the manual mode (without biofeedback) and the rest half were conducted in the automatic mode (with biofeedback). The learning effect was analysed using RM-ANOVA to compare the OP across the first and second sessions. Sex-related differences in the OP, and the NASA-TLX scores, and the ACC were also reported. The Spearman’s rank-order correlation was computed between every pair of the following variables in the manual and automatic sessions. The variables were the mean and standard deviation of the OP, the relative change of the KSS scores as (KSSlast segment − KSSfirst segment)/KSSfirst segment, the number of micro-breaks, and the total and the weighted subscale scores of the NASA-TLX. Participants Twenty participants, 10 females and 10 males, aged 26 (SD 3) years old with the height of 1.72 (SD.10) m, and the body mass of 69 (SD 15) kg were recruited. All participants had normal or corrected-to-normal vision (self-reported and examined by Snellen chart). The participants were familiar with computer work and used their right hand as their dominant side for computer mouse. Participants were asked to abstain from alcohol for 24 h, and caffeine, smoking and drugs for 12 h prior to experimental sessions. The participants reported at least 6 h (mean 7.6 ± 0.8 h) of night sleep before the experimental session. The Fatigue Assessment Scale (FAS) [56] and the Visual Fatigue Scale (VFS) [57] were administered respectively to exclude participants suffering from chronic fatigue and eye strain. No participant was found with chronic fatigue and eye strain. Written informed consent was obtained from each participant. The experiment was approved by The North Denmark Region Committee on Health Research Ethics, project number N-20160023 and conducted in accordance with the Declaration of Helsinki. Experimental approach A counterbalanced-measures design was employed to investigate the effectiveness of biofeedback-triggered micro-breaks in comparison with self-triggered micro-breaks. To do this, two experimental sessions were conducted in two counterbalanced sessions (days) with one-week inter-session interval. Computer task. In both experimental sessions, participants were asked to perform a cyclic computer task [38] for approx. 31–35 min (Fig 1). The task [58] developed on MATLAB R2018a (The MathWorks, Natick, MA) was displayed on a 19-in screen (1280×1024 pixels, refresh rate: 120Hz) located approx. 58 cm in front of a sitting participant subtending 27°×22° of visual angle. The task involved 180 cycles each taking approx. 10 s (corresponding to methods times measurement (MTM-100) [59,60]). Each cycle began by memorizing a random pattern of connected points with different shapes presented on a computer screen. The order of connecting points was determined by a textual cue displayed under the pattern, indicating the starting point. It was followed by a washout period, where no pattern was displayed, and the participants were instructed to keep their gaze on a cross in the center of the screen. The cycle continued by the presentation of the doubled-size replica of the pattern without connecting lines. To redraw the lines and replicate the presented pattern, participants were required to click on a sequence of the pattern points as targets. Once the allocated time to replicate the pattern passed, a new cycle with a different pattern was presented. In this design, the perceived level of fatigue based on Karolinska Sleepiness Scale (KSS) [61], was indicated by the participants after each 20 cycles, i.e. segment, in five seconds (KSS pause). The KSS can be rated from one (extremely alert) to 10 (extremely sleepy, can’t wait to sleep). Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 1. The task timeline in the manual and automatic sessions (see micro-breaks). A schematic view of the exercise and screen information during a micro-break, and the experiment set-up. [The individual in this manuscript has given written informed consent (as outlined in PLOS consent form) to publish these case details]. https://doi.org/10.1371/journal.pone.0213704.g001 Micro-breaks. Each experimental session involved either self-triggered or the biofeedback-triggered micro-breaks, respectively termed as manual and automatic sessions. In the manual sessions, the participants were instructed to press the right click button asking for a micro-break, whenever through the task they felt fatigued equivalent to KSS≥5. When a micro-break was triggered by a right click (or more), the task execution was interrupted after the earliest upcoming KSS pause (Fig 1). In the automatic sessions, the biofeedback system triggered the micro-break based on its prediction of KSS (explained further in the subsequent section) being ≥5 [62,63]. In this study, the micro-break consisted of a 25-s interruption of the task, while the participant took an active pause. During the micro-break, a down counter of the seconds from 25 to zero was displayed on the computer screen (Fig 1). The green color has been shown to have restorative effects on attention and cognition [64,65]. The micro-breaks involved four repetitions of seated bilateral shoulder rotations with an elastic band where the shoulders were abducted horizontally up to 45° while keeping the elbows fixed around 90°. During the micro-break, the participants were also instructed to perform mindful breathing based on [66,67] where the participants were guided to become aware of their breathing. Besides the benefits of active pauses [68] especially during computer work [69], mindful breathing is associated with oxygenation and reduced mental load and stress to counteract sustained attention [70,71]. The breathing rate was at the participants discretion, due to the diversity and individuality in breathing patterns [72]. Familiarization and task engagement. The participants were instructed to perform the computer task and micro-breaks in four days prior to the first session. In addition, anthropometric measures, visual acuity, and general health and fatigue questionnaires were collected. Afterwards, the participants performed the computer task for 10-min. The participants received a brief overview of the experimental procedure also in the beginning of both sessions and performed the computer task for 5-min as an additional training before commencing the experimental protocol to reduce the learning effect. The participants were not informed about the principle of functioning of the biofeedback system. It was further explained that their choices of KSS had no effect on their performance or the biofeedback system. To evaluate the perceived workload from the tasks, the questionnaire of National Aeronautics and Space Administration Task Load Index (NASA-TLX) [73] was administered after the task termination, as it provides information on different dimensions of workload of a task [74,75]. The participants were informed that their performance was measured and compared with other participants to maintain motivation, and achieving high performance makes them candidates to win a monetary reward (100 Danish Kroner). Computer task. In both experimental sessions, participants were asked to perform a cyclic computer task [38] for approx. 31–35 min (Fig 1). The task [58] developed on MATLAB R2018a (The MathWorks, Natick, MA) was displayed on a 19-in screen (1280×1024 pixels, refresh rate: 120Hz) located approx. 58 cm in front of a sitting participant subtending 27°×22° of visual angle. The task involved 180 cycles each taking approx. 10 s (corresponding to methods times measurement (MTM-100) [59,60]). Each cycle began by memorizing a random pattern of connected points with different shapes presented on a computer screen. The order of connecting points was determined by a textual cue displayed under the pattern, indicating the starting point. It was followed by a washout period, where no pattern was displayed, and the participants were instructed to keep their gaze on a cross in the center of the screen. The cycle continued by the presentation of the doubled-size replica of the pattern without connecting lines. To redraw the lines and replicate the presented pattern, participants were required to click on a sequence of the pattern points as targets. Once the allocated time to replicate the pattern passed, a new cycle with a different pattern was presented. In this design, the perceived level of fatigue based on Karolinska Sleepiness Scale (KSS) [61], was indicated by the participants after each 20 cycles, i.e. segment, in five seconds (KSS pause). The KSS can be rated from one (extremely alert) to 10 (extremely sleepy, can’t wait to sleep). Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 1. The task timeline in the manual and automatic sessions (see micro-breaks). A schematic view of the exercise and screen information during a micro-break, and the experiment set-up. [The individual in this manuscript has given written informed consent (as outlined in PLOS consent form) to publish these case details]. https://doi.org/10.1371/journal.pone.0213704.g001 Micro-breaks. Each experimental session involved either self-triggered or the biofeedback-triggered micro-breaks, respectively termed as manual and automatic sessions. In the manual sessions, the participants were instructed to press the right click button asking for a micro-break, whenever through the task they felt fatigued equivalent to KSS≥5. When a micro-break was triggered by a right click (or more), the task execution was interrupted after the earliest upcoming KSS pause (Fig 1). In the automatic sessions, the biofeedback system triggered the micro-break based on its prediction of KSS (explained further in the subsequent section) being ≥5 [62,63]. In this study, the micro-break consisted of a 25-s interruption of the task, while the participant took an active pause. During the micro-break, a down counter of the seconds from 25 to zero was displayed on the computer screen (Fig 1). The green color has been shown to have restorative effects on attention and cognition [64,65]. The micro-breaks involved four repetitions of seated bilateral shoulder rotations with an elastic band where the shoulders were abducted horizontally up to 45° while keeping the elbows fixed around 90°. During the micro-break, the participants were also instructed to perform mindful breathing based on [66,67] where the participants were guided to become aware of their breathing. Besides the benefits of active pauses [68] especially during computer work [69], mindful breathing is associated with oxygenation and reduced mental load and stress to counteract sustained attention [70,71]. The breathing rate was at the participants discretion, due to the diversity and individuality in breathing patterns [72]. Familiarization and task engagement. The participants were instructed to perform the computer task and micro-breaks in four days prior to the first session. In addition, anthropometric measures, visual acuity, and general health and fatigue questionnaires were collected. Afterwards, the participants performed the computer task for 10-min. The participants received a brief overview of the experimental procedure also in the beginning of both sessions and performed the computer task for 5-min as an additional training before commencing the experimental protocol to reduce the learning effect. The participants were not informed about the principle of functioning of the biofeedback system. It was further explained that their choices of KSS had no effect on their performance or the biofeedback system. To evaluate the perceived workload from the tasks, the questionnaire of National Aeronautics and Space Administration Task Load Index (NASA-TLX) [73] was administered after the task termination, as it provides information on different dimensions of workload of a task [74,75]. The participants were informed that their performance was measured and compared with other participants to maintain motivation, and achieving high performance makes them candidates to win a monetary reward (100 Danish Kroner). The development of a statistical model for fatigue detection To implement the biofeedback system, a statistical model of fatigue was developed based on previously collected oculometrics dataset (OLDSET) during an identical computer task [38]. The OLDSET consisted of the oculometrics extracted from gaze positions and pupil dilations, and KSS ratings from 38 participants in 40-min samples of an identical computer task without micro-breaks as described in [38]. The state of fatigue for each segment was assigned based on the KSS scores obtained after each segment. The KSS scores were dichotomized based on a threshold value of five, corresponding to being “neither alert nor sleepy”, as a transition point between alertness and fatigue. Thus, the segments with the KSS value of ≥5 were assigned to the class of fatigued and the KSS scores of <5 were assigned to the class of alert. This dichotomization criterion has been used in previous studies, e.g. [62]. It is suggested as a critical value in the association between ocular metrics and sleepiness [63]. With this dichotomization criterion, 45% of the collected segments (205 out of 456) across the entire subject pool in the OLDSET were labeled as fatigued. Thirty-four features including oculometrics, sex, and age were used in setting up the classifier (Table 1). A series of viable classification models were examined as outlined in Table 2. A feature subset consisting of five features, i.e. Blink Frequency (BF), Percentage of the duration of closed eyes to opened eyes (PERCLOS), Saccade Frequency (SF), Saccade Peak Velocity Amplitude Relationship (SVA), and Pupil Diameter Interquartile Range (PDIR), was chosen using sequential floating forward feature selection [76]. The feature selection helps to choose a combination of features that best explain the separability of the two classes [76]. The classification criterion was the Youden’s J statistic or Youden’s index [77], where P and N are the number of instances (segments) with respectively positive (fatigued) and negative (alert) labels, and TP, TN are respectively the number of true positive (correctly detected fatigue) and true negative (correctly detected alert) instances. Here, and are respectively True Positive Rate (TPR), and True Negative Rate (TNR). The Youden’s index was computed using leave-one-person-out (LOPO) approach on a random forest model (Table 2) [78]. Different classifiers as outlined in Table 2 were examined using the selected feature subset as input and the class labels of fatigued or alert as output. In the LOPO approach, the classifier was trained using the data from all the participants except one, and it was tested using the excluded participant. This approach was performed for all the 38 participants to compute the average of classification performance across the entire participant pool. Finally, the ensemble of Decision Trees (DT Ensemble) was chosen based on its superior classification performance in terms of accuracy ACC = (TP + TN)/(P + N) (66±21%), TPR (61±29%), and TNR (70±22%) in comparison with the classifiers listed in Table 3, i.e. linear discriminant analysis, decision tree, k-nearest neighbors, support vector machines, Naïve Bayes, feed-forward neural networks, subtractive clustering-based Fuzzy classifier, Fuzzy c-means classifier, logistic regression classifier, and random forest. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 1. The feature set. https://doi.org/10.1371/journal.pone.0213704.t001 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 2. The details of the classification models. https://doi.org/10.1371/journal.pone.0213704.t002 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. The performance of the models to classify the state of fatigued (KSS≥5) (Positive class) from alert (Negative class). https://doi.org/10.1371/journal.pone.0213704.t003 The classification model with the best performance (DT Ensemble) was picked to form the core of the biofeedback system. The DT Ensemble with the configuration outlined in Table 2 was trained with the whole dataset consisting of 456 samples (38 participants × 12 segments) to make a statistical model to predict the class label of each segment of the biofeedback system. The permutation test [96] was conducted on the OLDSET to further examine the classification accuracy of the DT Ensemble against the chance level accuracy obtained from 100 randomly permuted class labels. The sensitivity to the dichotomization criterion for the KSS was also performed on the OLDSET. The classification performance of the DT ensemble was significantly higher than chance level as assessed by the permutation test for the OLDSET (α = 0.01). Changing the dichotomization criterion of KSS scores to ≥6 as fatigued for the DT Ensemble model did not lead to better classification performances than the criterion of five in the OLDSET. The receiver operating characteristics (ROC) of the training and test sets, and the confusion matrix for the DT Ensemble model are depicted in Fig 2, where the area under the ROC curves for the training (0.89) and test (0.64) sets as well as the results from the confusion matrix supported the usability of the model in the biofeedback system. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 2. The receiver operating characteristics (ROC) curve with the False Positive Rate (FPR) on the x-axis and the True Positive Rate (TPR) on the y-axis, depicted for the training and test sets, as well as the confusion matrix for the DT Ensemble model. The ROC curve is illustrated by computing the TPR and FPR averaged across the participants for varying values of the posterior probability threshold in [0 1] for the training and test sets. The confusion matrix was computed for the chosen KSS threshold of 5. https://doi.org/10.1371/journal.pone.0213704.g002 During the computer task in the current study, the feature set was obtained across 20 consecutive cycles within a segment and the core of the biofeedback system classified the segment into either the fatigued or the alert class. The section titled “Oculometrics” outlines the performed analysis to obtain the oculometrics as features. If the segment was classified as fatigued, the biofeedback system triggered the micro-break command following the KSS pause after that specific segment. If the segment was classified into the alert class, no feedback was given. The architecture of the biofeedback system is depicted in Fig 3. The approaches from feature selection to model evaluation in the development of the statistical model to predict fatigue is summarized in Fig 3, and thereby the two mechanisms to trigger the micro-breaks in the automatic and manual sessions are illustrated. All aspects of the biofeedback system were implemented in MATLAB R2018a (The Mathworks, Natick, MA). Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 3. The architecture of the biofeedback system including the approaches to develop the statistical model to detect fatigue, and to trigger the micro-breaks. This architecture provides the flowchart of the main steps to develop the fatigue detection model, from the feature selection to the model evaluation and the deployment of the DT-Ensemble model in the biofeedback framework wherein the data were streaming from the eye tracker in real-time and the selected features were extracted in the end of each task segment and were fed into the deployed DT-Ensemble model to trigger the micro-break if fatigue was detected in the automatic sessions (light blue path), whereas the triggering of the micro-break was only based on the decision of the participant in the manual sessions (red path). https://doi.org/10.1371/journal.pone.0213704.g003 Data acquisition and processing A video-based monocular eye-tracker (Eye-Trac 7, Applied Science Laboratories, Bedford, MA, USA) coupled with a head tracker (Visualeyez II system set up with two VZ4000 trackers, Phoenix Technologies Inc., Canada) was utilized to measure the eye movements, pupil diameter, and point of gaze at a sampling frequency of 360 Hz. The coupling of the eye-tracker and the head-tracker was done using built-in software to integrate eye and head positioning data and to compensate for head movements allowing free head movements during the experiment. As reported by the manufacturer, spatial precision of the eye-tracker is lower than 0.5° of visual angle. The spatial accuracy is less than 2° in the periphery of the visual field. The calibration of the eye-tracker was performed before starting the task with 9-point calibration protocol and examined before the task execution and after the task termination on the calibration points. The measured accuracy was on average 0.7 ± 0.4° across participants and did not significantly change across time (p> 0.6). The experiments were conducted in a noise- and illumination- and temperature- controlled indoor room to rule out environmental confounding factors. Oculometrics. Among all the features outlined in Table 1, the oculometrics were extracted from each segment. Saccades, blinks, and fixations were first identified for each segment using the algorithm of [97] as applied in [38]. Briefly, the algorithm initiated by the computation of visual angle between consecutive samples of point-of-gaze, followed by its derivatives to the angular velocity and acceleration using a 19-samples-length second-order Savitsky-Golay filter [97]. It applied data-driven thresholds on the angular velocity to detect saccadic samples. Zero-valued samples of pupil diameter, corresponding to closed eyes or missing pupil image provided by the built-in software of the eye-tracker, constituted blink samples, and the rest of the samples were assigned to fixations. Pupil diameter (including linearly interpolated zero-valued samples) were filtered using a zero-phase low-pass third-order Butterworth to remove noise and artefacts [98]. Additional constraints were imposed to exclude invalid ocular events [38]. The data during the micro-breaks and KSS pauses were not included in the computation of oculometrics. The frequency of blinks (BF), saccades (SF), and fixations (FF) were computed respectively as the number of blinks, saccades, and fixations during each segment divided by the duration of the segment. The mean duration of blinks (BD), fixations (FD), and saccades (SCD) were computed across each segment. Pupillary responses were characterized using the mean, coefficient of variation, interquartile range, instantaneous phase [83] of pupil diameter, respectively indicated by PD, PCV, PDIR, and PH. The number of closed-eyes samples (zero-valued pupil diameter) to opened-eyes samples was computed as PERCLOS. Blinks were further characterized by the frequency of blinks coincided by gaze shifts >2° (BGF) [79,99] and their ratio to the number of all blinks (BGR). The mean of inter-blink interval (IBI), the frequency of blinks occurring with IBI<700 ms (DBF), the number of long blinks >200 ms [80] to the segment duration (LBF), and the ratio of long blinks to all blinks (LBR). Saccades were further quantified in terms of the mean value of their peak velocity (SPV), amplitude (SA), curvature [59] (SCR), peak amplitude of saccadic acceleration (SPA) and deceleration (SPD) profiles, inter-saccadic intervals (ISI) excluding ISI>250 ms, and the slope of the line regressing peak velocity of saccades to their amplitude (SVA) and duration (SDA). Similarly, fixations were further characterized as the ratio of long fixations (>0.9 s) [34] to all fixations (LFR). Gaze dispersion was characterized using the mean value of gaze-point displacements and distances between two successive fixations respectively computed as Euclidean distance between the center of gaze points of two successive fixations (FFdisp), the summation of Euclidean distances between successive gaze-points from the onset to offset of saccades connecting the two successive fixations (FFdist), and the ratio of the FFdisp to FFdist for the same two successive fixations (FFdisp/dist). The successive fixations exceeding over feasible saccade duration of >100 ms in this study were excluded [100]. In addition, overall dispersion (OD) was quantified as the averaged Euclidean distance between fixation centers and center of fixations. The center of fixations, gaze points and fixation centers were obtained using the mean value of their corresponding coordinates. The dynamics of visual perception were also quantified using the kappa coefficient of ambient and focal attention (KPA) as defined in [85]. The mean of time intervals (<700 ms) between a blink and its successive saccade was also extracted as a feature in association with blink perturbation effects on saccades [101]. The selected features of SF, SVA, BF, PDIR and PERCLOS were computed in the biofeedback system in the same way as they were computed from the OLDSET. To inspect the effect of the biofeedback system, the mean of the overall performance (OP) [38] across segments was computed. It represents how accurate and fast the pattern replication was done. Theoretically, the OP is a positive value with zero for the lowest performance (no click on the targets). Oculometrics. Among all the features outlined in Table 1, the oculometrics were extracted from each segment. Saccades, blinks, and fixations were first identified for each segment using the algorithm of [97] as applied in [38]. Briefly, the algorithm initiated by the computation of visual angle between consecutive samples of point-of-gaze, followed by its derivatives to the angular velocity and acceleration using a 19-samples-length second-order Savitsky-Golay filter [97]. It applied data-driven thresholds on the angular velocity to detect saccadic samples. Zero-valued samples of pupil diameter, corresponding to closed eyes or missing pupil image provided by the built-in software of the eye-tracker, constituted blink samples, and the rest of the samples were assigned to fixations. Pupil diameter (including linearly interpolated zero-valued samples) were filtered using a zero-phase low-pass third-order Butterworth to remove noise and artefacts [98]. Additional constraints were imposed to exclude invalid ocular events [38]. The data during the micro-breaks and KSS pauses were not included in the computation of oculometrics. The frequency of blinks (BF), saccades (SF), and fixations (FF) were computed respectively as the number of blinks, saccades, and fixations during each segment divided by the duration of the segment. The mean duration of blinks (BD), fixations (FD), and saccades (SCD) were computed across each segment. Pupillary responses were characterized using the mean, coefficient of variation, interquartile range, instantaneous phase [83] of pupil diameter, respectively indicated by PD, PCV, PDIR, and PH. The number of closed-eyes samples (zero-valued pupil diameter) to opened-eyes samples was computed as PERCLOS. Blinks were further characterized by the frequency of blinks coincided by gaze shifts >2° (BGF) [79,99] and their ratio to the number of all blinks (BGR). The mean of inter-blink interval (IBI), the frequency of blinks occurring with IBI<700 ms (DBF), the number of long blinks >200 ms [80] to the segment duration (LBF), and the ratio of long blinks to all blinks (LBR). Saccades were further quantified in terms of the mean value of their peak velocity (SPV), amplitude (SA), curvature [59] (SCR), peak amplitude of saccadic acceleration (SPA) and deceleration (SPD) profiles, inter-saccadic intervals (ISI) excluding ISI>250 ms, and the slope of the line regressing peak velocity of saccades to their amplitude (SVA) and duration (SDA). Similarly, fixations were further characterized as the ratio of long fixations (>0.9 s) [34] to all fixations (LFR). Gaze dispersion was characterized using the mean value of gaze-point displacements and distances between two successive fixations respectively computed as Euclidean distance between the center of gaze points of two successive fixations (FFdisp), the summation of Euclidean distances between successive gaze-points from the onset to offset of saccades connecting the two successive fixations (FFdist), and the ratio of the FFdisp to FFdist for the same two successive fixations (FFdisp/dist). The successive fixations exceeding over feasible saccade duration of >100 ms in this study were excluded [100]. In addition, overall dispersion (OD) was quantified as the averaged Euclidean distance between fixation centers and center of fixations. The center of fixations, gaze points and fixation centers were obtained using the mean value of their corresponding coordinates. The dynamics of visual perception were also quantified using the kappa coefficient of ambient and focal attention (KPA) as defined in [85]. The mean of time intervals (<700 ms) between a blink and its successive saccade was also extracted as a feature in association with blink perturbation effects on saccades [101]. The selected features of SF, SVA, BF, PDIR and PERCLOS were computed in the biofeedback system in the same way as they were computed from the OLDSET. To inspect the effect of the biofeedback system, the mean of the overall performance (OP) [38] across segments was computed. It represents how accurate and fast the pattern replication was done. Theoretically, the OP is a positive value with zero for the lowest performance (no click on the targets). Statistical analysis The statistical analysis was performed in SPSS 25. The classification performance of the deployed model (DT Ensemble) in the biofeedback system was reported in terms of the ACC, Sensitivity (TPR), and Specificity (TNR). The classification performance (ACC) was compared between the manual and automatic sessions using repeated measures analysis of variance (RM-ANOVA) and the interaction effect of the time of the day (morning or afternoon) on ACC was also considered. RM-ANOVA was also performed on the outcome variables (OP, KSS and oculometrics) with the time spent doing the task, Time-on-Task (TOT) (nine segments), and the automatic and the manual modes as within-subject factors (significance level p = 0.05). Post-hoc comparisons between the segments were included in pairs indicated by Bonferroni correction. The Huynh-Feldt correction was applied if the assumption of sphericity was not met. The measure of effect size, partial eta-squared, , was also reported. The perceived workload (NASA-TLX scores) and the number of micro-breaks was compared between the automatic and manual sessions using paired t-test with the effect size in terms of Cohen’s dz [102], to further evaluate the effectiveness of the biofeedback system. The normality of the variables was assessed using Shapiro–Wilk test. The KSS scores were transformed to normal distribution using square root transformation. Due to the counter-balanced order of the sessions, half of the first sessions were conducted in the manual mode (without biofeedback) and the rest half were conducted in the automatic mode (with biofeedback). The learning effect was analysed using RM-ANOVA to compare the OP across the first and second sessions. Sex-related differences in the OP, and the NASA-TLX scores, and the ACC were also reported. The Spearman’s rank-order correlation was computed between every pair of the following variables in the manual and automatic sessions. The variables were the mean and standard deviation of the OP, the relative change of the KSS scores as (KSSlast segment − KSSfirst segment)/KSSfirst segment, the number of micro-breaks, and the total and the weighted subscale scores of the NASA-TLX. Results In the automatic sessions, the model (DT Ensemble) predicted fatigue with the following classification performance (Mean ± SD): ACC (69±16%), Sensitivity (59±35%), and Specificity (74±22%). The segments with fatigue label constituted 55 segments in total of 180 segments. Fig 4 demonstrated the classification performance (ACC) of the model in both sessions for each participant. There was neither a significant difference in the classification performance between the automatic and manual sessions, nor an interaction of the time of the day on the ACC. The ACC was approx. 10% higher on average in the male participants than in the female participants. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 4. (a) Classification performance (ACC) of the DT Ensemble model for the male and female participants in the manual (without BF) and automatic (with BF) sessions, where BF stands for Biofeedback, (b) The ACC, Mean ± SD, in different time of the day (Morning and Afternoon). https://doi.org/10.1371/journal.pone.0213704.g004 The OP in the presence of the biofeedback did not significantly change, F(1,18) = 1.3, p = .262, , (Fig 5a). The OP increased significantly as TOT increased, F(8,152) = 4.7, p < .001, . Pairwise comparisons revealed that the OP was significantly higher in segments eight and nine compared with two, five, and six, Fig 5a. In addition, there was no learning effect on the OP across the first and second sessions (Fig 5b). Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 5. Comparison of the overall performance (OP) across the automatic (with biofeedback) and manual (without biofeedback) sessions to assess the effect of micro-breaks, with the indicated segments with significant difference in the OP (p < 0.05) (a), and across the first and second sessions to inspect whether there is a learning effect (b). The points and error bars respectively represent the mean and standard deviation values across the participants for each segment. https://doi.org/10.1371/journal.pone.0213704.g005 The participants reported significantly lower workload in the automatic (55±11) than the manual sessions (65±8) in terms of the total NASA-TLX scores, t(19) = 3.86, p = 0.01, with the Cohen’s dz = 0.89 corresponding to a large effect size according to [103]. This improvement was more pronounced in mental and temporal subscales than the other workload subscales as demonstrated in Fig 6. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 6. The weighted scores of the NASA-TLX subscales in the automatic sessions (with biofeedback) and manual sessions (without biofeedback), where the subscales range from 0 to 33 indicating low to high levels. The subscales are Mental Demand (MD), Temporal Demand (TD), Performance (PF), Effort (EF), Frustration (FR), and Physical Demand (PD). https://doi.org/10.1371/journal.pone.0213704.g006 To have an insight on the individual and sex-related differences in the perceived workload, the total NASA-TLX scores as well as the scores for all NASA-TLX subscales were depicted for each participant in Fig 7. In 60% of female and 70% of male participants, the total scores of NASA-TLX were lower in the automatic sessions than in the manual sessions. The total scores were almost equal for the manual and automatic sessions for the participants number 11 and 15 (both females). In 70% of female and 60% of male participants, the mental demand was lower in the automatic sessions than in the manual sessions. 60% of female and 70% of male participants found the task less temporally demanding in the automatic sessions. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 7. The obtained ratings of total task load index (TLX) and NASA-TLX subscales, i.e. Mental Demand (MD), Physical Demand (PD), Temporal Demand (TD), Performance (PF), Effort (EF), and Frustration (FR). The participants are separated by their sex on the x-axis to males (1–10) and females (11–20). The NASA-TLX scores are depicted separately for the automatic and manual sessions. https://doi.org/10.1371/journal.pone.0213704.g007 The KSS scores significantly increased in both of the manual and automatic sessions as the segments increased F(5.8,109.6) = 15.6, p < .001, , Fig 8. No significant change in the KSS scores was found between the automatic and manual sessions. However, a tendency of biofeedback×TOT interaction was found, F(5.9,113.6) = 1.7, p = .129, . Pairwise comparisons showed that in the manual sessions, the KSS was lower in the first segment than in the segments 5–9, similarly between the segments 2–3 and 7–9, but in the automatic sessions, the significant difference was between the segments 1 and 2 being lower than both segments of 8 and 9. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Subjective ratings of fatigue (KSS scores) in the automatic (with biofeedback) and manual (without biofeedback) tasks. The segments with significantly different KSS scores are indicated by the red color for the manual sessions and black color for the automatic sessions (p < 0.05). The points and error bars respectively represent the mean and standard deviation values across the participants for each segment. https://doi.org/10.1371/journal.pone.0213704.g008 The OP in automatic and manual sessions for each participant is illustrated in Fig 9. The participants are separated by their sex in Fig 9 to represent sex-related differences on the individual level. The occurrences of micro-breaks at the end of each segment is also indicated by “1” (and “0” for no micro-break) in Fig 9. More variations within the female participants can be observed in the OP than the male participants in both sessions. The standard deviation of the OP across segments averaged across the females were 0.061 whereas it was 0.056 for the males. In addition, the OP was higher in the 58% and 48% of the first segment following the micro-breaks compared with the segment prior to the micro-breaks, respectively for the male and female participants. There was no significant difference between the number of micro-breaks in the automatic sessions (2.9±1.9) from the number of micro-breaks in the manual sessions (2.5±2.3), p = .55. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. A representation of the overall performance (OP) of each participant (Y-axis) in the manual and automatic sessions. The presence and absence of micro-breaks are indicated respectively by “1” and “0” at the end of each segment (X-axis). The OP is color coded with the color bar indicated on the right side of the graph with blue for lower and green for higher task performance. https://doi.org/10.1371/journal.pone.0213704.g009 The correlation analysis revealed that there are statistically significant relationships between a number of outcome variables in the manual sessions. The relative change of the KSS scores were positively correlated with the number of micro-breaks, rs = .47, p = .039. The mean and the standard deviation of the OP tended to be negatively correlated, rs = −.43, p = .060. In the automatic sessions, there was a marginal correlation between the standard deviation of the OP and the number of micro-breaks, rs = .42, p = .068. The number of the micro-breaks tended to positively correlate with the relative change of the KSS scores, rs = .058, p = .043. Similar to the manual sessions, the mean and the standard deviation of the OP were negatively correlated, rs = −.47, p = .037. No significant correlation was found between the total and weighted subscale scores of the NASA-TLX in the manual and automatic session with any of the mean and standard deviation of the OP and the range of the KSS scores. Fig 10 is illustrated to show the changes in the recruited oculometrics in the model to predict fatigue. The BF tended to increase with TOT, F(5.0,95.1) = 2.2, p = .058, . The PERCLOS increased significantly as TOT increased, F(8,152) = 2.3, p = .022, . The SF decreased significantly as TOT increased, F(4.9,94.6) = 3.4, p = .007, . Pairwise comparisons revealed that the SF decreased significantly from segment 5 to 9. The SVA fluctuated significantly through TOT, F(8,152) = 2.2, p = .027, . The change between segments 1 and 2 was significant in SVA. No significant effect of TOT on PDIR was observed. Neither any significant effect of biofeedback nor biofeedback×TOT interaction was found in any of the oculometrics. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 10. The changes through TOT in the oculometrics, i.e. Blink Frequency (BF), Percentage of the duration of closed eyes to opened eyes (PERCLOS), Saccade Peak Velocity Amplitude Relationship (SVA), Saccade Frequency (SF), Pupil Diameter Interquartile Range (PDIR) used in the deployed model in the automatic (with biofeedback) sessions and manual (without biofeedback) sessions. The points and error bars respectively represent the mean and standard deviation values across the participants for each segment. The segments with significant differences according to the pairwise comparisons are marked by “*”, (p < 0.05). https://doi.org/10.1371/journal.pone.0213704.g010 Discussion This study provided a novel framework to investigate the application of a biofeedback system to reduce fatigue development in its early stages during computer work. The proposed biofeedback system deployed a statistical model of fatigue, which used quantitative features extracted from eye movements and pupillary responses, i.e. SF, PERCLOS, PDIR, BF, and SVA. The accuracy of the statistical model was promising considering the subjectivity of KSS scores. As hypothesized, the biofeedback system with the embedded micro-breaks, effectively counteracted fatigue development reflected in delayed trending towards fatigue (Fig 8) and decreased perceived workload (Figs 6 and 7). The involved oculometrics (SF, PERCLOS, PDIR, BF, and SVA) have been previously reported to be reliable and sensitive to fatigue progression as well as mental load [33,34,38,59,104,105]. The PERCLOS and BF are reported to increase with fatigue [34,106], which is in line with the current results. The decrease in SF and increase in BF along-side with TOT were also in agreement with previous findings [107]. Saccadic main sequence and the range of pupil diameter decreases and increased, respectively with TOT [38,108], but the SVA and PDIR did not change monotonically with TOT, most likely because of the presence of micro-breaks. To the best of our knowledge, this was the first study to deploy a statistical model of fatigue in a biofeedback system to trigger objective micro-breaks, and thereby to elaborate self-awareness of fatigue. A few studies have contributed in noninvasive fatigue detection. In [109], mental fatigue was detected offline using 31 statistical features from saccades, fixations, blinks, and pupillary responses exhibiting 77.1% accuracy with 10-fold cross validation via an SVM classifier. Our biofeedback system reached approx. 70% of accuracy (with an estimated misclassification rate of 0.30 in 10-fold cross-validation of the model) using the five features (versus 31 in [109]), which may facilitate real-time applications. Nine 30-s data samples collected from each participant before and after two 17-min cognitive tasks, were used to detect mental fatigue in [109]. A numerical rating scale has been used as a subjective rating of fatigue in [109], however, the samples recorded before and after the cognitive tasks have been respectively labeled as non-fatigued and fatigued, regardless of individual differences in fatigue perception as opposed to the current study. A recent study using wearable electroencephalography has classified fatigue from alertness using an SVM classifier, based on KSS threshold of five, with the accuracy of about 65% in a 10-fold cross validation [110]. In [111], fatigue, subjectively labeled using a different rating scale, has been classified via a feedforward neural network using nine features extracted from computer user interactions with mouse and keyboard achieving an accuracy of 81% in a hold-out cross validation. The classification model proposed in [111], has been validated using the same group of individuals as opposed to the present study. Moreover, the features have been extracted over the period of one hour [111], which is much longer than a segment (≈200 s) to trigger micro-breaks questioning the practical use of such approach. A general limitation in the study of fatigue is the inaccuracies of subjective ratings (KSS scores). Although it is still one of the most commonly used methods to acquire fatigue level [112], it could be affected by factors such as experimental design [113] and individual’s emotional state [114,115]. One may suggest the OP as an alternative to the KSS. However, the OP cannot necessarily be translated into fatigue levels in early detection of fatigue, Fig 5a. Additionally, the task performance may consistently change with TOT [7]. This is the main point of the studies investigating the maintenance of homeostasis in response to perceived fatigue via psychophysiological measures, e.g. heart rate variability [116]. Another important issue to consider is the effect of circadian rhythms on the accuracy of the fatigue state estimation [117]. Circadian rhythm is a source of variability in oculometrics [118,119] and cognition [120], which makes the prediction of fatigue quite challenging. The non-significant difference between the classification accuracy of the DT Ensemble model for the half of the participants who did the tasks in the morning (9:00–12:00) and the rest of the participants who did the tasks in the afternoon (13:00–15:00) gave support to the robustness of the model against circadian variations, (cf. Fig 4b). An efficient and effective design for micro-breaks is quite challenging especially due to the complex interferences between physical and mental demands of a task [121,122]. Interestingly, reduced perceived workload was observed in the sessions where the micro-breaks were triggered by the biofeedback system compared with the manual sessions. More specifically, mental and temporal demands contributed more than the other subscales to the perceived workload in both manual and automatic sessions. The slight improvements of the OP, Fig 5a, and delayed inclination to fatigue, Fig 8, were observed through using the biofeedback system. Even though the improvement in the performance was statistically insignificant, one may conceive that in a long run the improvement may be of importance for the prevention of musculoskeletal disorders [16,17,123]. The relationships between the OP, perceived fatigue, and the number of micro-breaks in the manual and automatic sessions revealed some aspects of the two approaches to take micro-breaks. The positive correlation of the number of the micro-breaks with the relative change of the KSS scores, and the standard deviation of the OP, may imply that the frequency of the micro-breaks was reflected in the variations in the performance and the perceived fatigue in the automatic session. The correlation of the number of micro-breaks and the relative change of the KSS scores were stronger in the manual sessions than the tendency in the automatic sessions, which may imply that the relative change in the perception of fatigue was less dependent to the number of micro-breaks in the automatic session. The negative correlation between the mean and standard deviation of the OP implies that as performance increases its variation is restrained. The lack of correlation of the number of the micro-breaks, the mean and standard deviation of the OP, and the range of the KSS scores the NASA-TLX scores suggests that none of these variables had any significant impact on the perceived workload of the participants. This finding indicates that the perceived workload cannot be reduced by just increasing the number of micro-breaks, giving support to the necessity of an intelligent approach to implement the micro-breaks [17]. The difference between the male and female participants were assessed on individual level in terms of their perceived workload (Fig 7), the accuracy of the model (Fig 4), and the effect of occurrences of micro-breaks on the OP (Fig 9). As mentioned in the results, the females on average exhibited similar OP to males, but at the individual level, the OP fluctuated more among females. The females perceived the task more demanding than the males in line with the higher prevalence of neck-shoulder complaints reported in females [124,125]. The performance of the statistical model to predict fatigue was higher for the males than females. Different factors may contribute to the sex-related differences, e.g. hormonal variations due to the menstrual cycle of the females [126]. Of note, the stages of the menstrual cycle were not assessed in the present study. Even though menstrual cycle may contribute to differences in fatigability among females, It is noteworthy however that this has not yet well established and contradicting results can be found in the literature regarding the menstrual cycle, e.g. [126,127]. The population size and design of the current study do not allow a thorough substantiation of the matter. Some issues have important impacts on the design and assessment of the micro-breaks. The activities during micro-breaks should not demand for the same mental resources that a task might require [128]. Considering the multiple resource model [129], targeting the same mental resources may decline performance. Accordingly, in comparison with the task demands, the micro-breaks intuitively required little physical and mental demands as well as low vigilance to attend to down-counter displayed on the screen. The measurement of respiration rate to assess the breathings [71] was avoided to approach ecological validity for computer work as a limitation of this study. The quality of the mindful breathing could be assessed based on unobtrusive measurement of the respiration rate [130] or self-assessments of mindfulness [131]. In practice, to avoid too frequent and invalid micro-breaks, interactive micro-breaks [47] and model adaptation is suggested to study through the presented framework. In comparison with [132], the simplicity and effectiveness of the proposed micro-break as well as the unconstrained technique of eye tracking potentially meet constraints of out-of-lab settings. Conclusion In line with our hypothesis, this study shows for the first time that the integration of oculometrics-based biofeedback in the design of micro-breaks is effective in fatigue mitigation during computer work. The effectiveness of the oculometrics-based biofeedback was evidenced by the decreased perception of workload and further by the postponed inclination to fatigue using the biofeedback system compared with self-triggered micro-breaks. In sum, the use of oculometrics as objective indices of fatigue in a biofeedback system may be a viable approach to impede fatigue development. TI - An oculometrics-based biofeedback system to impede fatigue development during computer work: A proof-of-concept study JF - PLoS ONE DO - 10.1371/journal.pone.0213704 DA - 2019-05-31 UR - https://www.deepdyve.com/lp/public-library-of-science-plos-journal/an-oculometrics-based-biofeedback-system-to-impede-fatigue-development-MxGePh6ahk SP - e0213704 VL - 14 IS - 5 DP - DeepDyve ER -