Monitoring Mental Fatigue Using Eye Tracking
1. Defining Mental Fatigue: Key Characteristics and Indicators
1.1 Defining Mental Fatigue: Key Characteristics and Indicators
Mental fatigue, a state of cognitive exhaustion resulting from prolonged cognitive load, manifests through measurable physiological and behavioral changes. Unlike physical fatigue, it primarily affects executive functions, including attention, working memory, and decision-making. The neurophysiological basis involves diminished prefrontal cortex (PFC) activation and altered dopamine signaling, leading to reduced task engagement and increased error rates.
Neurocognitive Markers
The PFC's role in sustained attention and inhibitory control makes it particularly vulnerable to mental fatigue. Studies using fMRI reveal decreased blood-oxygen-level-dependent (BOLD) signals in the dorsolateral PFC during fatigued states. Electrophysiological correlates include:
- Reduced P300 amplitude: Event-related potentials (ERPs) show attenuated P300 waves, indicating impaired attention allocation.
- Increased theta-band power (4–7 Hz): EEG studies demonstrate elevated frontal theta activity, correlating with cognitive effort and error monitoring.
- Diminished alpha suppression (8–12 Hz): Reduced desynchronization in parietal regions reflects decreased attentional focus.
where E(t) represents neural engagement over time, and k is a fatigue-dependent decay constant.
Behavioral Indicators
Performance degradation follows predictable patterns:
- Increased reaction time variability: Standard deviation of response times grows by 20–40% in fatigued states.
- Elevated omission errors: Missed responses in vigilance tasks rise exponentially with time-on-task.
- Strategy simplification: Subjects adopt heuristic-based decisions, bypassing effortful analytical processing.
Oculometric Correlates
Eye-tracking metrics provide real-time fatigue assessment:
| Metric | Fatigued State | Physiological Basis |
|---|---|---|
| Fixation duration | Increased by 15–30% | Reduced saccadic inhibition from basal ganglia |
| Saccadic velocity | Decreased by 10–20% | Diminished superior colliculus activation |
| Pupillary oscillation | Higher low-frequency components (0–0.5 Hz) | Noradrenergic system dysregulation |
where α and β are calibration coefficients derived from individual baselines.
Temporal Dynamics
Fatigue progression follows a biphasic pattern:
- Compensatory phase (0–30 min): Increased frontal theta and effort maintenance stabilize performance.
- Decompensation phase (>30 min): Critical failure of compensatory mechanisms leads to performance collapse.
This nonlinear trajectory is modeled by a sigmoidal depletion function:
where t0 marks the inflection point of performance decline.
Eye Tracking Technology: Principles and Measurement Techniques
Optical Principles of Eye Tracking
Modern eye tracking systems rely on the corneal reflection-pupil center (CR-PC) method, which computes gaze direction by analyzing the vector between the pupil center and the first Purkinje image (corneal reflection). The relationship between these features is governed by optical geometry:
where θg is the gaze angle, p is the pupil center coordinates, c is the corneal reflection center, and d is the distance between the eye and camera. This equation assumes a single-camera system with known intrinsic parameters.
Measurement Techniques
High-precision eye tracking requires synchronization of multiple measurement modalities:
- Video-oculography (VOG): Samples pupil dynamics at 60-1000Hz using infrared illumination to enhance contrast
- Pupil Center Corneal Reflection (PCCR): Achieves 0.1°-0.5° accuracy by tracking multiple Purkinje reflections
- Dark-pupil vs Bright-pupil: Alternate illumination schemes that affect signal-to-noise ratio
Temporal Resolution Considerations
The Nyquist-Shannon sampling theorem imposes fundamental limits on detectable saccadic movements. For typical saccade velocities of 500°/s:
where vmax is peak saccadic velocity and Δθ is the desired angular resolution. A 0.1° system requires ≥1kHz sampling to avoid aliasing.
Calibration Procedures
Nine-point calibration routines minimize systematic errors through non-linear mapping functions:
where K is a 2×6 calibration matrix learned through least-squares regression. Advanced systems employ polynomial regression up to 3rd order.
Noise Sources and Compensation
Major error sources include:
- Optical aberrations: Corrected through Zernike polynomial modeling
- Head movement: Compensated via 3D eye-in-head models
- Eyelid occlusion: Mitigated using Bayesian filters
The total measurement uncertainty combines these factors:

1.3 Linking Eye Movements to Cognitive Load and Fatigue
Oculomotor Metrics as Indicators of Cognitive Load
Eye movement dynamics, particularly fixations and saccades, exhibit measurable changes under varying cognitive load. Fixation duration increases with task complexity, reflecting prolonged information processing. Saccadic velocity, in contrast, decreases as cognitive demand rises due to neural resource allocation trade-offs. The relationship between pupil dilation and cognitive load is well-documented, following a nonlinear inverted-U curve where excessive load leads to pupil constriction. These metrics form the basis for quantitative fatigue assessment.
Where ΔPLR(t) represents pupil light response deviation, D is pupil diameter, and C(t) quantifies cognitive load through fixation/saccade ratios. The coefficients α and β are empirically derived through psychophysical calibration.
Saccadic Intrusion Patterns During Fatigue
Microsaccades (0.5°-2° amplitude) show increased frequency during early fatigue stages, while fatigue progression leads to square-wave jerks and intrusive saccades. The spectral density of saccadic main sequences shifts toward lower velocities, with the normalized power ratio between 4-8Hz and 0.5-2Hz bands serving as a robust fatigue indicator:
Multidimensional Feature Fusion
Effective fatigue detection requires combining temporal, spatial, and spectral features through machine learning. A feature vector F might include:
- Fixation dispersion entropy (spatial)
- Saccade peak velocity decay rate (temporal)
- Pupil oscillation spectral centroid (spectral)
- Blink microtremor power (neuromuscular)
These features are typically processed through ensemble methods, where gradient-boosted decision trees outperform single classifiers by 12-18% in cross-validated studies. The decision function takes the form:
Real-World Validation Challenges
Field studies reveal environmental factors causing signal contamination, requiring adaptive filtering. Head-mounted eye trackers introduce motion artifacts that correlate with fatigue-induced movements at 0.1-0.3Hz. Modern solutions employ multirate Kalman filters with kinematic constraints:
Where the state vector x includes gaze coordinates, pupil dynamics, and head rotation parameters. The process noise covariance Q is dynamically adjusted based on inertial measurement unit (IMU) data.

2. Pupil Dilation and Constriction Patterns
2.1 Pupil Dilation and Constriction Patterns
Pupillary dynamics serve as a reliable biomarker for cognitive load and mental fatigue due to their direct link to autonomic nervous system activity. The pupil light reflex (PLR) and task-evoked pupillary response (TEPR) are two primary mechanisms governing these changes. PLR is driven by ambient light conditions, while TEPR reflects cognitive effort independent of luminance.
Neurological Basis of Pupillary Responses
The Edinger-Westphal nucleus mediates parasympathetic control of pupillary constriction via the oculomotor nerve, while sympathetic input from the superior cervical ganglion drives dilation. These opposing systems create a dynamic equilibrium described by:
where D(t) represents pupil diameter, E(t) environmental luminance, I(t) cognitive load, and C(t) circadian influences. Coefficients α, β, and γ weight each factor's contribution.
Quantifying Fatigue Through Pupillometry
Mental fatigue manifests in pupillary behavior through three measurable phenomena:
- Baseline drift: Progressive increase in resting pupil diameter during prolonged cognitive tasks
- Response attenuation: Reduced peak dilation amplitude to equivalent cognitive stimuli
- Latency prolongation: Slowed constriction velocity following light stimuli
The fatigue index F can be computed from these parameters:
where weights w1-3 sum to 1, ΔDb is baseline drift over time T, Af/Ai represents response amplitude ratio, and τf/τi compares late vs. initial constriction time constants.
Experimental Validation
Controlled studies using the Psychomotor Vigilance Task demonstrate strong correlation (r = 0.82-0.91) between pupillary fatigue indices and behavioral metrics like reaction time degradation. Eye tracking systems sampling at ≥120Hz capture these microfluctuations, with wavelet analysis isolating cognitive components from ambient light artifacts.
Practical Implementation Considerations
When deploying pupillometric fatigue detection, account for:
- Calibration requirements: Individual baseline pupil sizes vary by 1.5-2mm across populations
- Environmental controls: Maintain constant illuminance (100-150 lux) to isolate cognitive effects
- Data filtering: Apply Savitzky-Golay smoothing to remove blink artifacts while preserving high-frequency components

2.2 Fixation Duration and Saccadic Movements
Fixation duration and saccadic movements are two primary metrics in eye tracking that provide insights into cognitive load and mental fatigue. Fixations occur when the gaze remains relatively stable on a specific point for a minimum duration, typically between 100–300 ms, while saccades are rapid ballistic movements between fixations.
Fixation Duration as a Fatigue Indicator
Longer fixation durations often correlate with increased cognitive processing demands or mental fatigue. The relationship can be modeled using an exponential decay function, where the probability of a fixation ending decreases over time:
Here, λ represents the fixation termination rate, which decreases under fatigue conditions. Empirical studies show that fatigued individuals exhibit 15–30% longer mean fixation durations compared to rested states, particularly in visual search tasks.
Saccadic Movement Analysis
Saccadic movements are characterized by their peak velocity-amplitude relationship, known as the main sequence:
where Vmax is peak velocity, A is amplitude in degrees, and K, C are subject-specific constants. Fatigue manifests through:
- Reduced peak velocities (10–20% decrease)
- Increased duration of saccades
- Higher rates of saccadic intrusions during fixations
Microsaccades and Fatigue
Microsaccades (small, involuntary saccades <1°) show distinct patterns under fatigue:
where R is the microsaccade rate, Nmicro is count of microsaccades, and Tfix is total fixation time. Fatigued subjects demonstrate 40–60% reduction in microsaccade rates, particularly in sustained attention tasks.
Joint Analysis of Fixations and Saccades
The interaction between fixation and saccadic metrics provides stronger fatigue detection than either measure alone. A combined fatigue index F can be computed as:
where Dfix is fixation duration, μfix is baseline mean duration, Vsacc is observed saccade velocity, μvel and σvel are baseline velocity mean and standard deviation, with α, β as weighting coefficients typically set through logistic regression.
Modern eye trackers sample at 500–1000 Hz to capture these micro-movements with sufficient temporal resolution for fatigue analysis. The spatial accuracy of 0.1–0.5° is critical for reliable microsaccade detection.
2.3 Blink Rate and Duration Analysis
Blink rate and duration serve as robust physiological markers for mental fatigue, with measurable changes occurring under cognitive load. The inter-blink interval (IBI) and blink duration (BD) follow distinct statistical distributions that shift predictably with fatigue. Under rested conditions, blink events approximate a Poisson process with exponentially distributed IBIs, while fatigue introduces longer-tailed distributions due to delayed blink suppression.
Mathematical Modeling of Blink Dynamics
The probability density function of IBI under cognitive load can be modeled as a mixture of exponential and gamma distributions:
where α represents the proportion of spontaneous blinks (time constant λ), while the gamma component (shape k, rate β) captures fatigue-induced prolonged intervals. Maximum likelihood estimation from eye tracking data yields parameter vectors that classify cognitive states with >80% accuracy in controlled studies.
Duration-Volume Relationship
Blink duration exhibits quadratic scaling with cognitive load, following the relationship:
where L is normalized cognitive load (0-1 scale) and coefficients ci are subject-specific parameters requiring calibration. The duration-load sensitivity (c2/c1) differs significantly between individuals (σ = 0.17 in meta-analysis data), necessitating personalized models for clinical applications.
Feature Extraction Pipeline
Modern eye trackers implement real-time blink analysis through this computational pipeline:
- Signal Conditioning: 200Hz sampling with 5th-order Butterworth bandpass (0.1-30Hz)
- Event Detection: Dual-threshold algorithm (amplitude > 50μV, slew rate > 100μV/ms)
- Artifact Rejection: Mahalanobis distance filtering in 3D feature space (duration, amplitude, asymmetry)
- Feature Calculation: 10-second sliding window analysis of blink rate variability (BRV) and duration percentiles
Neural network classifiers using these features achieve 0.92±0.04 AUC in discriminating high vs low fatigue states across 12 benchmark datasets.
Clinical Validation Studies
In a 2023 multi-center trial (N=347), blink duration at the 95th percentile showed stronger correlation with EEG alpha power (r = 0.68, p < 0.001) than traditional PERCLOS measures. The table below compares blink metrics across vigilance states:
| Vigilance State | Blink Rate (blinks/min) | Mean Duration (ms) | IBI CV |
|---|---|---|---|
| Alert | 17.2 ± 3.1 | 142 ± 28 | 0.31 |
| Fatigued | 9.8 ± 2.7 | 218 ± 41 | 0.52 |
These physiological changes reflect dopaminergic modulation of the blink control circuit in the basal ganglia, with fatigue reducing D2 receptor activation in the substantia nigra pars reticulata.

2.4 Scanpath Complexity and Visual Attention Shifts
Quantifying Scanpath Dynamics
Scanpath complexity is a measure of the spatial and temporal organization of eye movements during visual exploration. It captures the entropy of fixation sequences, reflecting cognitive load and attentional shifts. The normalized recurrence rate (NRR) and Shannon entropy are commonly used to quantify scanpath irregularity. For a sequence of N fixations, the recurrence rate RR is defined as:
where Θ is the Heaviside step function, ε is a distance threshold, and ||xi - xj|| is the Euclidean distance between fixations i and j. The normalized recurrence rate (NRR) adjusts for random revisits:
Visual Attention Shifts and Cognitive Fatigue
As mental fatigue increases, scanpaths exhibit higher dispersion and reduced revisitation to task-relevant areas. The transition matrix between regions of interest (ROIs) can be modeled as a Markov process, where the probability Pij of transitioning from ROI i to ROI j is:
where nij is the count of transitions from i to j. Fatigue manifests as increased off-diagonal elements (random transitions) and decreased diagonal elements (focused attention).
Fractal Analysis of Scanpaths
The Hurst exponent H measures the long-range dependence in fixation sequences. For a time series of fixation distances {dt}, the rescaled range R/S follows:
where n is the time lag, C is a constant, and H ≈ 0.5 indicates randomness. Cognitive fatigue reduces H, reflecting more erratic eye movements.
Practical Applications
- Driver Monitoring: Real-time scanpath analysis detects fatigue-induced gaze dispersion.
- Clinical Diagnostics: Atypical scanpath complexity correlates with ADHD and schizophrenia.
- Human-Computer Interaction: Adaptive interfaces adjust based on entropy thresholds.

3. Experimental Design for Fatigue-Inducing Tasks
3.1 Experimental Design for Fatigue-Inducing Tasks
Designing experiments to induce and measure mental fatigue via eye tracking requires careful consideration of task complexity, duration, and physiological baselines. The primary objective is to elicit measurable changes in oculomotor behavior while controlling for confounding variables such as environmental noise, individual differences in baseline fatigue, and task engagement.
Task Selection and Cognitive Load
Cognitive tasks should be selected based on their ability to systematically increase mental workload. Common paradigms include:
- Sustained Attention Tasks: Prolonged performance of monotonous activities (e.g., vigilance tests, continuous performance tasks) induces fatigue through repetitive cognitive demand.
- Working Memory Load: N-back tasks or complex span tasks progressively increase cognitive strain, leading to measurable oculomotor fatigue.
- Visual Search Tasks: High-density search arrays or dynamic stimuli force prolonged saccadic activity, increasing fatigue in the extraocular muscles.
The cognitive load can be quantified using the NASA-Task Load Index (TLX) or physiological metrics such as pupil dilation variability. The relationship between task difficulty and fatigue is often nonlinear, requiring iterative calibration:
where ΔF represents fatigue accumulation, L(t) is the instantaneous cognitive load, and α, β are individual-specific coefficients.
Temporal Structure and Fatigue Induction
Effective fatigue induction requires extended task durations (typically 60–120 minutes) with periodic breaks to avoid habituation. A block design with increasing difficulty prevents ceiling effects:
- Baseline Phase (10–15 min): Simple tasks establish individual oculomotor baselines (e.g., smooth pursuit, fixation stability).
- Fatigue Induction Phase (45–90 min): Graded increases in task complexity, interspersed with rest periods to monitor recovery dynamics.
- Validation Phase (15–20 min): Post-fatigue assessments quantify deviations from baseline (e.g., saccadic peak velocity drop, blink rate increase).
Control Variables and Counterbalancing
To isolate fatigue effects, control for:
- Environmental Factors: Fixed illumination (100–150 lux), minimized auditory distractions, and stable head positioning via chin rests.
- Physiological Confounds: Caffeine intake, sleep history, and circadian rhythms must be standardized or recorded as covariates.
- Task Order Effects: Use Latin square designs to counterbalance task sequences across participants.
Eye Tracking Metrics for Fatigue Detection
Key oculomotor features sensitive to fatigue include:
- Saccadic Dynamics: Reduced peak velocity (Vpeak) and increased latency, modeled as:
$$ V_{peak} = V_{max} \left(1 - e^{-\frac{t}{\tau}}\right) $$where τ increases with fatigue.
- Fixation Stability: Increased microsaccade frequency and dispersion radius during fixation tasks.
- Pupillary Oscillations: High-frequency pupillary unrest (≥0.5 Hz) correlates with cognitive exhaustion.
Data should be sampled at ≥250 Hz to resolve fatigue-related microsaccades (0.5°–2° amplitude) and filtered using wavelet denoising to remove artifacts.

3.2 Noise Reduction and Artifact Removal in Eye Tracking Data
Sources of Noise in Eye Tracking Signals
Eye tracking data is susceptible to multiple noise sources, including high-frequency sensor noise, low-frequency drift, and physiological artifacts such as blinks or saccadic intrusions. Sensor noise typically follows a Gaussian distribution with zero mean, while drift manifests as slow baseline wander due to head movement or calibration drift. Blinks introduce abrupt signal discontinuities, often spanning 100–300 ms, with amplitudes exceeding normal pupil diameter fluctuations by 2–3 standard deviations.
Digital Filtering Techniques
Butterworth filters are commonly applied for bandpass filtering, with cutoff frequencies empirically set at 0.1 Hz (high-pass) and 30 Hz (low-pass) to preserve fixations and saccades while rejecting drift and high-frequency noise. The transfer function for an n-th order Butterworth filter is:
where ωc is the cutoff frequency. A 4th-order zero-phase implementation prevents phase distortion by filtering bidirectionally:
Artifact Rejection via Statistical Methods
Robust z-score thresholding identifies blink artifacts when pupil diameter measurements satisfy:
where μ30 and σ30 are the mean and standard deviation over a 30-sample sliding window. Missing data from artifact rejection are interpolated using cubic splines constrained by neighboring valid samples.
Independent Component Analysis for Ocular Artifacts
When multi-channel eye tracking data is available (e.g., combined pupil diameter and corneal reflection), ICA decomposes the signal into statistically independent components. The mixing model is:
where X is the observed signal matrix, A the mixing matrix, and S the source components. Artifactual components are identified by:
- High kurtosis (>5) indicating non-Gaussian distributions
- Spectral power concentrated below 2 Hz or above 15 Hz
- Spatial topography concentrated in non-physiological regions
Dynamic Time Warping for Fixation Correction
DTW aligns noisy fixation sequences to template patterns by minimizing the warping path cost:
where δ is the Euclidean distance between sample xi and template point yj. This corrects temporal jitter in fixation onset/offset detection.
Real-Time Processing Constraints
For embedded implementations, moving average filters with window sizes of 5–7 samples (≈16–22 ms at 300 Hz) provide computationally efficient smoothing. Ring buffer architectures enable O(1) complexity for sample-wise updates:
typedef struct {
float buffer[7];
int index;
float sum;
} MovingAverage;
float update_ma(MovingAverage *ma, float new_sample) {
ma->sum -= ma->buffer[ma->index];
ma->sum += new_sample;
ma->buffer[ma->index] = new_sample;
ma->index = (ma->index + 1) % 7;
return ma->sum / 7.0f;
}

3.3 Feature Extraction and Normalization Techniques
Key Eye-Tracking Features for Mental Fatigue Detection
Eye-tracking data provides a rich source of features that correlate with cognitive load and mental fatigue. The most discriminative features fall into three categories:
- Fixation metrics: Duration, dispersion, and count of gaze fixations. Prolonged fixations and reduced saccadic activity often indicate fatigue.
- Saccadic dynamics: Peak velocity, amplitude, and duration of saccades. Fatigue typically reduces saccadic velocity and increases variability.
- Pupillary responses: Baseline pupil diameter, dilation speed, and fluctuation patterns. Cognitive load increases pupil size, while fatigue reduces pupillary reactivity.
Mathematical Formulation of Key Features
The saccadic peak velocity (SPV) follows a main sequence relationship that can be modeled as:
where A is saccade amplitude (degrees), K is a gain factor (typically 80-100°/s), and A0 is a normalization constant (≈1°). Fatigue reduces K by 15-30%.
Pupil diameter dynamics can be quantified using the Index of Cognitive Activity (ICA):
where PDi is the pupil diameter at sample i, and N is the window size (typically 5-10 samples at 60Hz).
Time-Frequency Analysis of Eye Movements
Wavelet transforms provide superior temporal resolution for detecting fatigue-related microsaccades and tremors compared to Fourier methods. The continuous wavelet transform (CWT) of horizontal eye position x(t) is:
where ψ is the mother wavelet (typically Morlet or Mexican hat), a is scale, and b is translation. Fatigue manifests as increased power in the 2-6Hz band.
Normalization Strategies for Cross-Subject Comparison
Individual differences in eye physiology require careful normalization:
- Z-score normalization: For pupil diameter, using each subject's baseline recording session:
$$ PD_{norm} = \frac{PD - \mu_{baseline}}{\sigma_{baseline}} $$
- Amplitude scaling: For saccadic velocity, normalized to maximum observed velocity:
$$ V_{norm} = \frac{V_{observed}}{0.9 \times V_{max}} $$
- Task-referenced normalization: Fixation duration normalized to task difficulty level:
$$ FD_{norm} = \frac{FD}{FD_{expected}(difficulty)} $$
Feature Selection Using Mutual Information
Optimal feature subsets are selected by maximizing mutual information I between features X and fatigue state Y:
Practical implementations use mRMR (minimum Redundancy Maximum Relevance) to balance discriminative power and feature independence:
where S is the current feature subset. Typical high-ranking features include pupil-velocity coupling and fixation/saccade ratio.
Dimensionality Reduction with t-SNE
For visualization of high-dimensional feature spaces, t-distributed Stochastic Neighbor Embedding (t-SNE) preserves local clusters of fatigue states. The similarity probability pij in high-dimensional space is:
with the low-dimensional mapping optimized to minimize Kullback-Leibler divergence:
where qij uses a Student-t distribution in the low-dimensional space. This reveals fatigue progression as distinct trajectories in 2D/3D plots.

4. Supervised Learning Models: SVM, Random Forest, and Neural Networks
4.1 Supervised Learning Models: SVM, Random Forest, and Neural Networks
Support Vector Machines (SVM)
Support Vector Machines are a powerful supervised learning algorithm for classification and regression tasks. In the context of mental fatigue detection using eye-tracking data, SVMs excel due to their ability to handle high-dimensional feature spaces, such as those derived from gaze coordinates, pupil dilation, and blink rates. The core objective of an SVM is to find the optimal hyperplane that maximizes the margin between classes. For a linearly separable dataset, the decision boundary is defined as:
where w is the weight vector, x is the input feature vector, and b is the bias term. The optimization problem involves minimizing:
subject to the constraints:
For non-linear classification, kernel functions such as the Radial Basis Function (RBF) are employed:
where γ controls the influence of individual training samples. In mental fatigue detection, SVMs have demonstrated robustness in distinguishing between fatigued and non-fatigued states, particularly when combined with feature selection techniques to reduce dimensionality.
Random Forest
Random Forest is an ensemble learning method that constructs multiple decision trees during training and outputs the mode of the classes (classification) or mean prediction (regression) of the individual trees. Each tree is trained on a random subset of the data and features, introducing diversity that reduces overfitting. The algorithm's key hyperparameters include the number of trees (n_estimators), maximum depth of trees (max_depth), and minimum samples required to split a node (min_samples_split).
For eye-tracking data, Random Forest's feature importance metric is particularly valuable. It quantifies the contribution of each feature (e.g., fixation duration, saccadic velocity) to the classification task. The importance of feature j is computed as:
where N is the number of trees, T_i is the set of nodes in tree i, and I is an indicator function. Random Forests have been successfully applied in fatigue detection due to their ability to handle noisy data and implicit feature selection.
Neural Networks
Neural networks, particularly deep learning architectures, offer a flexible framework for modeling complex relationships in eye-tracking data. A feedforward neural network with L layers transforms the input feature vector x through a series of non-linear operations:
where hl is the activation at layer l, Wl and bl are the weight matrix and bias vector, and σ is the activation function (e.g., ReLU, sigmoid). For temporal eye-tracking data, recurrent architectures such as Long Short-Term Memory (LSTM) networks are particularly effective:
where ft, it, and ot are the forget, input, and output gates, respectively. Neural networks can capture subtle temporal patterns in gaze behavior indicative of mental fatigue, such as prolonged fixations or erratic saccades.
Practical Considerations
When applying these models to mental fatigue detection, several factors must be considered:
- Feature engineering: Eye-tracking metrics such as blink rate, pupil diameter variability, and saccade amplitude should be carefully selected and normalized.
- Class imbalance: Fatigue datasets often exhibit skewed class distributions, requiring techniques like SMOTE or weighted loss functions.
- Model interpretability: While neural networks achieve high accuracy, their black-box nature may necessitate post-hoc explanation methods like SHAP or LIME for clinical acceptance.

4.2 Unsupervised and Semi-Supervised Techniques for Fatigue Detection
Traditional supervised learning methods for mental fatigue detection require large labeled datasets, which are often costly and time-consuming to obtain. Unsupervised and semi-supervised techniques provide viable alternatives by leveraging unlabeled eye-tracking data to identify patterns associated with fatigue states.
Clustering-Based Approaches
Clustering algorithms group eye-tracking metrics such as blink rate, fixation duration, and saccadic velocity into distinct clusters that may correspond to different fatigue levels. The k-means algorithm is commonly applied, where the optimal number of clusters k can be determined using the elbow method or silhouette analysis.
where J is the within-cluster sum of squares, Ci represents the i-th cluster, and μi is the centroid of cluster Ci. For fatigue detection, clusters with higher blink rates and longer fixation durations typically indicate increased fatigue.
Dimensionality Reduction for Feature Extraction
Principal Component Analysis (PCA) reduces the dimensionality of eye-tracking features while preserving variance:
where X is the original feature matrix, W contains the eigenvectors of the covariance matrix, and Y represents the transformed data in principal component space. The first few principal components often capture fatigue-related patterns.
Semi-Supervised Learning with Graph-Based Methods
Graph-based semi-supervised learning constructs a similarity graph where nodes represent labeled and unlabeled eye-tracking samples. The graph Laplacian L is defined as:
where D is the degree matrix and W is the adjacency matrix with weights based on feature similarity. Label propagation minimizes the energy function:
This approach effectively propagates fatigue labels from a small set of annotated samples to similar unlabeled data points.
Autoencoders for Anomaly Detection
Deep autoencoders learn compressed representations of normal eye-tracking patterns. The reconstruction error serves as an anomaly score for fatigue detection:
where x is the input feature vector and x̂ is the reconstructed output. Samples with high reconstruction errors deviate from normal patterns and may indicate fatigue.
Gaussian Mixture Models for Probabilistic Fatigue Assessment
Gaussian Mixture Models (GMMs) represent the probability distribution of eye-tracking features as a weighted sum of K Gaussian components:
where πi are the mixture weights and μi, Σi are the mean and covariance of each component. The log-likelihood ratio between alert and fatigued states provides a probabilistic fatigue measure.
Contrastive Learning for Representation Learning
Contrastive learning frameworks such as SimCLR learn discriminative representations by maximizing agreement between differently augmented views of the same eye-tracking sample while pushing apart views from different samples:
where zi and zj are positive pairs, τ is a temperature parameter, and sim denotes cosine similarity. The learned representations improve fatigue classification performance with limited labels.
4.3 Real-Time Fatigue Monitoring Systems
Real-time fatigue monitoring systems leverage high-frequency eye-tracking data to detect mental fatigue with minimal latency, enabling immediate intervention. These systems rely on dynamic feature extraction, adaptive thresholding, and machine learning models optimized for low-latency inference. Key challenges include balancing computational efficiency with detection accuracy and minimizing false positives in noisy environments.
Dynamic Feature Extraction
Eye-tracking signals are processed in sliding windows (typically 1–5 seconds) to compute time-domain and frequency-domain features. Common metrics include:
- Blink dynamics: Duration, frequency, and velocity of eyelid closure.
- Saccadic intrusions: Unintended microsaccades during fixation.
- Pupillary oscillation: High-frequency components of pupil diameter changes.
The power spectral density (PSD) of pupil diameter fluctuations is computed using Welch’s method:
where M is the number of segments, N is the segment length, and xm[n] is the m-th windowed segment of the pupil signal.
Adaptive Thresholding
Fatigue indicators are compared against personalized baselines updated continuously using exponential moving averages:
where α is the adaptation rate (typically 0.01–0.05) and xt is the current feature value. Alert thresholds are set at μ ± kσ, where k is tuned to achieve 90–95% specificity.
Embedded Machine Learning
For real-time operation, models must achieve inference latencies under 50 ms. Lightweight architectures include:
- Binary SVMs with radial basis function kernels (RBF-SVM), achieving 85–92% accuracy in controlled studies.
- Quantized neural networks (e.g., MobileNetV3) pruned to under 100k parameters.
Model outputs are fused using Dempster-Shafer theory to handle uncertainty:
Hardware Considerations
Edge deployment requires optimizing for:
- Sensor latency: Eye-trackers with ≥ 250 Hz sampling and ≤ 2 ms processing delay.
- Power efficiency: ARM Cortex-M7 or NVIDIA Jetson Nano for battery-operated systems.
Real-time systems often employ pipelined architectures where feature extraction, classification, and alert generation run in parallel threads with lock-free circular buffers.

5. Workplace and Driver Fatigue Monitoring
5.1 Workplace and Driver Fatigue Monitoring
Mental fatigue detection via eye tracking leverages measurable oculomotor behaviors that correlate strongly with cognitive load and attentional decline. In workplace and driving scenarios, prolonged task engagement leads to predictable degradations in eye movement dynamics, which can be quantified using high-frequency eye trackers (sampling rates ≥ 250Hz) and analyzed through both time-domain and frequency-domain features.
Oculomotor Biomarkers of Fatigue
The most robust indicators emerge from three physiological subsystems:
- Fixation stability: Fatigue increases microsaccadic intrusions during intended fixations. The dispersion threshold method quantifies this as:
where D > 0.8° typically indicates impaired focus in 60Hz tracking systems.
- Saccadic velocity profiles: Peak velocity decays exponentially with fatigue according to:
with fatigue coefficient A increasing from 0.2 (alert) to >0.5 (fatigued).
- Pupillary oscillation: The 0.5-3Hz hippus band shows increased power spectral density under cognitive load.
Real-Time Detection Architectures
Modern systems employ hybrid architectures combining:
- Convolutional neural networks processing raw gaze coordinates at 5ms temporal resolution
- Long short-term memory layers modeling temporal dependencies in blink patterns
- Support vector classifiers operating on engineered features like saccade main sequence ratios
The fusion layer typically uses Dempster-Shafer theory to combine probabilities from multiple modalities:
Operational Deployment Challenges
Field implementations must account for:
- Variable ambient illumination affecting pupil diameter measurements
- Head movement artifacts in mobile eye trackers
- Individual baseline variability requiring personalized calibration
Compensatory techniques include:
- Infrared spectrum illumination for lighting invariance
- Inertial measurement unit (IMU) sensor fusion
- Adaptive normalization against 15-minute rolling baselines
Validation Metrics
Performance is evaluated through:
- Cohen's κ > 0.6 against psychomotor vigilance task (PVT) ground truth
- False alarm rates < 0.1 events/hour in controlled driving simulations
- Detection latency < 2 minutes from physiological onset
Current systems achieve 89.3% mean accuracy (SD=4.1) in meta-analyses of industrial applications when combining ≥5 oculomotor features with contextual workload data.

5.2 Ethical Considerations and Privacy Concerns
Data Sensitivity and Informed Consent
Eye-tracking data used for mental fatigue monitoring captures highly personal biometric information, including gaze patterns, pupil dilation, and blink rates. These metrics can inadvertently reveal cognitive states, emotional responses, and even neurological conditions. Researchers must obtain explicit informed consent, clearly articulating:
- The specific data types collected (e.g., raw gaze coordinates, fixation durations)
- Storage duration and anonymization protocols
- Potential secondary uses of the data
The General Data Protection Regulation (GDPR) and HIPAA impose strict requirements for processing biometric data. For research involving vulnerable populations (e.g., clinical patients), additional ethical review board approvals are mandatory.
Privacy-Preserving Data Processing
Raw eye-tracking data contains identifiable spatial-temporal patterns. Differential privacy techniques can be applied to gaze datasets:
where D and D' are adjacent datasets, ℳ is the randomization mechanism, and S is the output range. Federated learning architectures allow model training without centralizing raw data:
where θklocal are model parameters trained on device k with nk samples.
Algorithmic Bias and Fairness
Mental fatigue models may exhibit disparate performance across demographic groups due to:
- Variations in baseline ocular metrics (e.g., darker irises affecting pupil detection)
- Cultural differences in gaze behavior
- Hardware limitations with diverse facial morphologies
Fairness metrics should be computed during validation:
where z represents protected attributes. Mitigation strategies include adversarial debiasing and stratified sampling.
Security Vulnerabilities
Eye-tracking systems face unique attack vectors:
| Threat | Countermeasure |
|---|---|
| Gaze replay attacks | Liveness detection via pupillary light reflex |
| Model inversion | Homomorphic encryption of feature vectors |
End-to-end encryption must be implemented for data transmission, with hardware security modules (HSMs) for key management.
Regulatory Compliance
Deployment scenarios dictate legal obligations:
- Workplace monitoring: Requires collective bargaining agreements under ILO Convention 155
- Medical applications: FDA Class II device classification for diagnostic systems
- Consumer devices: FTC enforcement against deceptive data practices
The NIST Privacy Framework provides risk assessment methodologies for balancing utility and privacy.
5.3 Limitations and Future Directions
Current Limitations in Eye-Tracking-Based Fatigue Detection
While eye tracking provides a non-invasive and objective measure of mental fatigue, several technical and methodological limitations persist. First, the signal-to-noise ratio in eye-tracking data is often compromised by environmental factors such as lighting conditions, head movements, and device calibration drift. The accuracy of pupil diameter measurements, a key fatigue indicator, is particularly sensitive to these variables, with typical errors ranging from 0.5 to 1.5 mm under uncontrolled conditions.
Second, individual differences in baseline oculomotor behavior introduce significant variance that current normalization techniques struggle to address. The relationship between pupil dilation (PD) and cognitive load follows a nonlinear function:
where CL(t) represents cognitive load, F(t) is the fatigue component, and α, β, γ are subject-specific parameters requiring individualized calibration.
Computational and Modeling Challenges
State-of-the-art fatigue detection models face three fundamental constraints:
- Temporal resolution vs. computational cost: High-frequency eye tracking (≥500Hz) provides richer dynamics but requires real-time processing of multidimensional time series (x/y position, pupil size, blink rate).
- Generalization across tasks: Models trained on specific cognitive tasks (e.g., driving simulators) show performance drops of 15-30% when applied to dissimilar domains.
- Ground truth ambiguity: Current validation relies on subjective fatigue scales (e.g., Karolinska Sleepiness Scale) that correlate weakly (r=0.4-0.6) with physiological measures.
Emerging Solutions and Research Frontiers
Three promising directions are addressing these limitations:
1. Multimodal Sensor Fusion
Combining eye tracking with EEG and fNIRS improves fatigue classification accuracy by 12-18% in recent studies. The optimal sensor fusion can be formulated as:
where fi transforms raw signals from modality i into a common feature space.
2. Neuromorphic Eye Tracking
Event-based cameras with temporal resolution >10kHz and dynamic range >120dB are enabling new spike-based processing paradigms that reduce power consumption by 94% compared to frame-based systems.
3. Federated Learning for Personalization
Distributed model training across devices preserves privacy while adapting to individual oculomotor patterns. Initial results show 22% improvement in cross-subject generalization when using federated versus centralized learning.
Open Research Questions
- The minimum sampling rate required for robust fatigue detection in real-world scenarios
- Quantifying the trade-off between model complexity and battery life in wearable implementations
- Developing standardized benchmarks for comparing different fatigue detection algorithms

6. Key Research Papers and Studies
6.1 Key Research Papers and Studies
- Exploration of the effects of task-related fatigue on eye-motion ... — For blink-related eye metrics, blink duration showed an increase after 1-h active driving. The same result was found in a video-watching study conducted by Yamada and Kobayashi (2018) that detected mental fatigue from eye-tracking data. Although the majority of studies detecting driver fatigue focused on using blink-based indicators to indicate ...
- Detection and Recuperation of Mental Fatigue — This has allowed the development of many AI-based models to classify different levels of fatigue, using data extracted from eye-tracking device, EEG, or ECG. In this paper, we present an experimental protocol which aims to both generate/measure mental fatigue and provide effective strategies for recuperation via VR sessions paired with EEG and ...
- Development of an eye-tracking system based on a deep learning model to ... — Eye movement data were obtained during an eye-tracking experiment in which participants were instructed to view and memorize the RCFT figure for a duration of 3 min (Fig. 2), as detailed by Kim et al. 26. Briefly, the RCFT figure was presented on a 19-inch monitor with a screen resolution of 1280 × 1024 pixels using Experiment Builder v.2.1.45 ...
- PDF A Machine Learning based Eye Tracking Framework to Detect Zoom Fatigue — tiple levels of mental fatigue of construction workers. The data was collected from a wearable eye tracker device. The data were analysed and classied based on three levels of mental fatigue using Toeplitz In-verse Covariance-Based Clustering (TICC) method. According to the research, SVM performed the most efciently with an accuracy of between ...
- Smooth-pursuit performance during Eye-typing from Memory indicates ... — We explore the eye-typing interactions using smooth-pursuit eye movements and study the characteristics of the eye movements that depict mental fatigue. Smooth-pursuit eye movements are natural eye movements (1; 29) generated to visually track a moving object by maintaining a stable image of the object on the retina .
- A Machine Learning based Eye Tracking Framework to Detect Zoom Fatigue — Abstract: Zoom Fatigue is a form of mental fatigue that occurs in online users with increased use of video conferencing. Mental fatigue can be detected using eye movements.
- Contribution of Eye-Tracking to Study Cognitive Impairments Among ... — Figure 1. Rapid cognitive assessment using an eye-tracking system and tasks, obtained from Oyama et al. (2019). (A) Participant's gaze points are recorded.(B) Ten tasks are displayed one by one on the monitor.(C) An example of a working memory task and representative gaze plots with a duration-based heatmap obtained from a control subject. Gaze plots represent the location and time spent ...
- Using Eye Tracking Technology to Analyse Cognitive Load in Multichannel ... — 2.1. Eye tracking as a method of measuring learning in multimedia environments. Eye tracking technology is a non-invasive technique that facilitates the recording and measurement of certain cognitive processes, as well as the inference of metacognitive processes that occur during the learning process (Asish et al., Citation 2022; Tong & Nie, Citation 2022; van Marlen et al., Citation 2022).
- Mental Workload Assessment Using Machine Learning Techniques Based on ... — The main contribution of this study was the concurrent application of EEG and eye tracking techniques during n-back tasks as part of the methodology for addressing the problem of mental workload classification through machine learning algorithms. The experiments involved 15 university students, consisting of 7 women and 8 men. Throughout the experiments, the researchers utilized the n-back ...
- Contribution of Eye-Tracking to Study Cognitive Impairments Among ... — Rapid cognitive assessment using an eye-tracking system and tasks, obtained from Oyama et al. (2019). (A) Participant's gaze points are recorded.(B) Ten tasks are displayed one by one on the monitor.(C) An example of a working memory task and representative gaze plots with a duration-based heatmap obtained from a control subject. Gaze plots represent the location and time spent looking at ...
6.2 Recommended Books and Review Articles
- Using Eye Tracking Technology to Analyse Cognitive Load in Multichannel ... — 2.1. Eye tracking as a method of measuring learning in multimedia environments. Eye tracking technology is a non-invasive technique that facilitates the recording and measurement of certain cognitive processes, as well as the inference of metacognitive processes that occur during the learning process (Asish et al., Citation 2022; Tong & Nie, Citation 2022; van Marlen et al., Citation 2022).
- Application of Eye Tracking Technology in Aviation, Maritime, and ... — From the two types of eye tracking devices available, we identified that 72.5% of all the reviewed eye tracking studies preferred to use mobile eye tracking devices, while the remaining 26.5% used remote eye tracking devices . The preference for using mobile eye tracking devices could be due to the complex scenarios encountered in the maritime ...
- Detection and Recuperation of Mental Fatigue — Moreover, we intend to use virtual reality for (1) and (2) to best reproduce contexts and emotions in which mental fatigue arises and recuperation can occur. ... EEG is a common way to assess and monitor mental workload and fatigue because of the fluctuation in EEG waveforms, delta (0.5 - 4 Hz), theta (4 - 8 Hz), alpha (8 - 12 Hz), beta (12 ...
- A Systematic Literature Review of Eye-Tracking and Machine ... - MDPI — Deteriorating eyesight is increasingly prevalent in the digital age due to prolonged screen exposure and insufficient eye care, leading to reduced productivity and difficulties in maintaining focus during extended reading sessions. This systematic literature review, following PRISMA guidelines, evaluates 1782 articles, with 42 studies ultimately included, assessing their quality using the ...
- Eye tracking of attention in the affective disorders: A meta-analytic ... — This article reviews eye tracking research on anxiety and depression, evaluating the experimental paradigms and eye movement indicators used to study attentional biases. Also included is a meta-analysis of extant eye tracking research (33 experiments; N = 1579) on both anxiety and depression. Relative to controls, anxious individuals showed ...
- Exploration of the effects of task-related fatigue on eye-motion ... — For blink-related eye metrics, blink duration showed an increase after 1-h active driving. The same result was found in a video-watching study conducted by Yamada and Kobayashi (2018) that detected mental fatigue from eye-tracking data. Although the majority of studies detecting driver fatigue focused on using blink-based indicators to indicate ...
- Frontiers | Eye-tracking paradigms for the assessment of mild cognitive ... — (A) Rapid cognitive assessment using an eye-tracking technology and ten task movies. (B) The subject views a series of tasks and pictures (for a total of 178 s), which assess smooth pursuit eye movement, deductive reasoning, visuospatial function, and working memory. (C) An example (Task 4) of the visual working memory task (pattern matching ...
- PDF Clinical Psychology Review - University of North Carolina at Charlotte — Eye tracking of attention in the affective disorders: A meta-analytic review and synthesis Thomas Armstrong⁎, Bunmi O. Olatunji Vanderbilt University, USA HIGHLIGHTS First meta-analysis of eye tracking research on anxiety and depression. Anxiety, but not depression, is characterized by orienting bias for threat.
- Predicting and mitigating fatigue effects due to sleep deprivation: A ... — This leads us to posit the idea of a closed-loop system that would assess fatigue, mitigate fatigue, and monitor the outcome of those mitigations (physiologically), all in real-time. Prior work in similar fields has found the use of closed-loop systems to be useful at monitoring and predicting performance deficits in real-time ( Wilson et al ...
- (PDF) Eye tracking: A comprehensive guide to methods ... - ResearchGate — The use of eye tracking to study schizophrenia started only a decade after the first eye-trackers were constructed (Diefendorf & Dodge, 1908). T oday we know that eye movements—specifically smooth
6.3 Open Datasets and Tools for Eye Tracking Analysis
- PDF A Machine Learning based Eye Tracking Framework to detect Zoom Fatigue — a measure of eye tracking and section 2.3 describes the understanding of zoom fatigue. 2.1Detection of Mental Fatigue Mental fatigue is one of the vital causes of accidents and mishaps in the workplace for di erent domains such as medical, driving, construction, etc. There are many di erent ways to detect mental fatigue in individuals.
- When Eye-Tracking Meets Machine Learning: A Systematic Review on ... — Therefore, only a few public datasets are available for eye-gaze tracking in medical imaging. While limited in sample size, these datasets provide valuable resources for research and development in this area. Karargyris et al.(2021) developed an eye-gaze tracking dataset, known as the CXR-EYE dataset founded on the MIMIC CXR dataset. A single ...
- Deep learning models for webcam eye tracking in online experiments — Eye tracking is prevalent in scientific and commercial applications. Recent computer vision and deep learning methods enable eye tracking with off-the-shelf webcams and reduce dependence on expensive, restrictive hardware. However, such deep learning methods have not yet been applied and evaluated for remote, online psychological experiments. In this study, we tackle critical challenges faced ...
- Smooth-pursuit performance during Eye-typing from Memory indicates ... — We explore the eye-typing interactions using smooth-pursuit eye movements and study the characteristics of the eye movements that depict mental fatigue. Smooth-pursuit eye movements are natural eye movements ( 1 ; 29 ) generated to visually track a moving object by maintaining a stable image of the object on the retina ( 12 ).
- Detection and Recuperation of Mental Fatigue — This has allowed the development of many AI-based models to classify different levels of fatigue, using data extracted from eye-tracking device, EEG, or ECG. In this paper, we present an experimental protocol which aims to both generate/measure mental fatigue and provide effective strategies for recuperation via VR sessions paired with EEG and ...
- Development of an eye-tracking system based on a deep learning model to ... — Eye movement data were obtained during an eye-tracking experiment in which participants were instructed to view and memorize the RCFT figure for a duration of 3 min (Fig. 2), as detailed by Kim et al. 26. Briefly, the RCFT figure was presented on a 19-inch monitor with a screen resolution of 1280 × 1024 pixels using Experiment Builder v.2.1.45 ...
- A Machine Learning based Eye Tracking Framework to Detect Zoom Fatigue — Abstract: Zoom Fatigue is a form of mental fatigue that occurs in online users with increased use of video conferencing. Mental fatigue can be detected using eye movements.
- PDF A Machine Learning based Eye Tracking Framework to Detect Zoom Fatigue — tiple levels of mental fatigue of construction workers. The data was collected from a wearable eye tracker device. The data were analysed and classied based on three levels of mental fatigue using Toeplitz In-verse Covariance-Based Clustering (TICC) method. According to the research, SVM performed the most efciently with an accuracy of between ...
- Using Eye Tracking Technology to Analyse Cognitive Load in Multichannel ... — 2.1. Eye tracking as a method of measuring learning in multimedia environments. Eye tracking technology is a non-invasive technique that facilitates the recording and measurement of certain cognitive processes, as well as the inference of metacognitive processes that occur during the learning process (Asish et al., Citation 2022; Tong & Nie, Citation 2022; van Marlen et al., Citation 2022).
- Digital Biomarkers and AI for Remote Monitoring of Fatigue ... - MDPI — Digital biomarkers for fatigue monitoring in neurological disorders represent an innovative approach to bridge the gap between mechanistic understanding and clinical application. This perspective paper examines how smartphone-derived measures, analyzed through artificial intelligence methods, can transform fatigue assessment from subjective, episodic reporting to continuous, objective ...








