Skip to Content
DiagnosticsDiagnostics
  • Article
  • Open Access

28 September 2026

17 Pages

Lower Task-Estimated Visual Working Memory Capacity in Adults with Epilepsy: A Cross-Sectional Quantitative Assessment Using Eye Tracking

,
,
,
,
and
1
Department of Neurology, West China Hospital, Sichuan University, No. 28 Dianxin South Street, Chengdu 610041, China
2
Laboratory of Neuro-Diseases and Multimorbidity, West China Hospital, Sichuan University, Chengdu 610041, China
3
Engineering Research Center of Brain-Machine Interactive Neuromodulation Sichuan Provincial, Chengdu 610041, China
4
Sichuan Provincial Model Worker and Craftsman Innovation Studio, Chengdu 610041, China

Abstract

Background/Objectives: Cognitive dysfunction is clinically relevant in epilepsy, and objective task-based measures could complement neuropsychological assessment, but visual working memory across graded loads and task-embedded gaze remain incompletely characterized. We quantified task-estimated capacity and performance using gaze-triggered change localization. Methods: We analyzed data from 222 adults with epilepsy, including focal and generalized epilepsy, and 133 healthy controls. Participants identified the changed item in a test array by sustained gaze; set size (2–7) followed a staircase procedure. Outcomes were three task-performance measures, two capacity-related measures, and eight eye-movement measures. Repeated-measure outcomes were analyzed with mixed-effect models and the capacity-related measures by ordinary least squares, with Benjamini–Hochberg correction. Results: Adults with epilepsy had lower mean set size and K at set size 4 (K4), lower accuracy, longer response time, and greater final gaze-to-target distance than controls (all q < 0.05; absolute Cohen’s d, 0.20–0.45). K4 was 2.66 versus 3.03 items. Differences persisted after adjustment for educational attainment and were directionally similar in focal and generalized epilepsy. No interaction between group and set size survived correction for task performance; group differences did not vary detectably across the observed load range. No eye-movement group difference survived correction. Conclusions: In a relatively large adult cohort, task-estimated visual working memory capacity and task performance were lower in epilepsy, without broad corrected group differences in the selected array-level eye-movement measures. By combining graded load with gaze-based response registration, the study characterizes the magnitude, load dependence, timing, and spatial precision of visual working memory performance differences within a single task.

1. Introduction

Cognitive impairment is common in epilepsy and may be evident at diagnosis, before antiseizure treatment begins [1,2,3]. Its expression is heterogeneous, reflecting etiology, network dysfunction, interictal epileptiform activity, seizures, and treatment [4,5]. This burden is clinically important because seizure-focused assessment alone does not describe how cognition is affected. International recommendations define when neuropsychological assessment should be used in routine epilepsy care [6]. Neuropsychological testing remains the reference approach, while well-defined quantitative tasks may complement it by measuring specific cognitive operations under controlled demands.
Working memory is particularly suitable for such measurement because it supports temporary maintenance and use of information during goal-directed behavior [7,8,9]. Impairment has been reported in pediatric epilepsy [10], genetic generalized epilepsy [11,12], and mixed adult cohorts [13]. Visual working memory offers a tractable framework in which memory load is manipulated within a single task using change-detection or change-localization paradigms [14,15,16,17]. In healthy adults, estimates of the number of items retained typically fall in the range of approximately three to four [18,19,20]. Under explicit assumptions about guessing, fixed-load accuracy can be converted to an item-based K estimate [16,19,21], allowing capacity to be expressed on an interpretable task-derived scale.
Eye movements add a complementary dimension. Gaze influences how objects are sampled, while remembered information can guide subsequent gaze selection [22,23,24,25]. Eye position can also serve as the behavioral response [24,26,27]. With sustained-gaze response registration, the selected location becomes a spatial response measure and verbal or manual output is unnecessary.
Concurrent eye tracking has been used in memory tasks in temporal, mesial temporal, and frontal lobe epilepsy [28,29,30], and in facial emotion recognition in temporal lobe epilepsy [31]. Despite these applications, visual working memory capacity across graded loads remains incompletely characterized in larger adult cohorts spanning focal and generalized epilepsy. It is also unclear whether any performance difference changes with increasing load or is accompanied by broad changes in task-embedded gaze.
We used a gaze-triggered change-localization task with graded set sizes to quantify task-estimated visual working memory capacity and complementary measures of accuracy, response time, and spatial response precision. We also tested whether group differences varied with set size and characterized eye-movement measures during sample and test arrays. By placing these outcomes within one procedure, the study was designed to define the magnitude, load dependence, and gaze-related context of visual working memory performance differences in adults with epilepsy.

2. Materials and Methods

2.1. Study Participants

Adults with epilepsy were prospectively recruited at West China Hospital, Sichuan University, from November 2023 through August 2024. Eligibility required age 18–60 years and epilepsy meeting the 2014 International League Against Epilepsy practical clinical definition [32]. Exclusion criteria were a seizure within 72 h before assessment; another neurological disorder; cognitive impairment preventing task completion; major ocular disease likely to interfere with eye tracking; or a psychiatric or severe medical condition precluding safe participation. Healthy controls were recruited during the same period and frequency-matched on age, sex, and educational attainment. The same age criterion and the latter four exclusion criteria applied.
The study was approved by the Ethics Committee of West China Hospital, Sichuan University, on 1 November 2023 (No. 2023-2394). Participants provided written informed consent.

2.2. Demographic and Clinical Data

Data were collected using a standardized case-report form. Educational attainment was classified as primary school or below, secondary school, high school, or college or above. Clinical variables included epilepsy duration, epilepsy type, drug-resistant epilepsy, seizure frequency during the preceding 6 months, prior epilepsy surgery, and current antiseizure medication (ASM) regimen. Epilepsy type and drug resistance were defined according to ILAE criteria [33,34]. Seizure frequency was categorized as <1 or ≥1 seizure per month, and ASM regimen as ASM-free, monotherapy, or polytherapy.

2.3. Apparatus and Stimuli

Eye position was recorded at 1000 Hz with an infrared eye tracker (EM-2000 series, Chengdu Jasmines BioTech Inc., Chengdu, China). Stimuli were presented on a 27-inch, 100-Hz LCD monitor (27B2H2, AOC; TPV Electronics (Fujian) Co., Ltd., Fuqing, China; 1920 × 1080 pixels) at a viewing distance of 57 cm. Nine-point calibration and validation preceded testing. On each trial, 2–7 distinct shapes were sampled from eight geometric forms (circle, square, triangle, five-pointed star, heart, diamond, crescent, and cross). Each shape subtended approximately 2° and occupied an equally spaced position on the circumference of an imaginary circle of 10° radius centered on the screen.

2.4. Task and Procedure

Participants identified the changed item between a sample array and a subsequent test array (Figure 1). Each trial began with a central fixation cross and was terminated if fixation was not acquired within 2000 ms. After fixation was maintained for 500 ms, a sample array of 2–7 shapes was presented for 0.7 s per item (1400–4900 ms) with unrestricted viewing.
Figure 1. Trial sequence of the visual working memory task. Panels show successive stages of one trial. The test array and response panels are two moments within the same continuously visible display rather than two separate displays. The dashed circle marks the area of interest of the selected item and was not visible to participants. The example illustrates a set size of 6. The task and its timing are described in Section 2.4.
After a 1000 ms retention interval, the test array appeared at the same locations with one item replaced by a shape that had not appeared in the sample array. A response was registered, with auditory confirmation, after gaze remained for 900 ms within a 4–radius area of interest centered on one item; these areas did not overlap at any set size. The test array remained visible for at most 0.7 s per item plus 2 s (3400–6900 ms), and the trial ended if no response was registered within this interval. Set size began at 2, increased by one after three consecutive correct responses, and decreased by one after a single incorrect response, within a range of 2–7. The task comprised a single session of 40 trials.

2.5. Outcome Measures

2.5.1. Task-Performance Measures

At each available set size, accuracy was the proportion of scorable trials in which the gaze-triggered response was registered within the area of interest of the changed item. Response time was measured from test-array onset to the onset of the 900 ms gaze period that registered the response; the 900 ms period itself was excluded. Final gaze-to-target distance was the Euclidean distance, in degrees of visual angle, between the final response-related gaze position and the center of the changed item. These three measures were treated as complementary task-performance measures, with no primary–secondary hierarchy assigned among them.

2.5.2. Mean Set Size and K Estimates

Mean set size was each participant’s arithmetic mean across available set sizes. Because every participant began at set size 2 with a contiguous range, it equals (2 + highest set size reached)/2 and takes one of six values between 2.0 and 4.5. Mean set size was treated as a capacity-related measure rather than a continuous item-capacity estimate. Under the random-guessing change-localization formulation of Zhao et al. [16], the changed item is assumed to be represented in memory with probability K/N and, when represented, to be identified correctly. If the changed item is not represented, the participant is assumed to guess uniformly among the N locations, with a 1/N probability of a correct response. Expected accuracy is A_N = K/N + (1 − K/N)(1/N). Solving for K gives K = (N2A_N − N)/(N − 1). K at set size 4 (K4) was calculated as K4 = (16 × A4 − 4)/3, where A4 denotes accuracy at set size 4, using the change-localization formulation of Zhao et al. [16]. K4 was treated as an item-based, task-derived capacity estimate; because it is a deterministic, chance-corrected transformation of accuracy at set size 4, it was not treated as evidence independent of accuracy. K4 was used for group-level comparisons and was not used to classify individual participants. Negative values were retained in the primary analysis; sensitivity analyses floored negative K4 values at zero and examined K at set size 5, K5 = (25 × A5 − 5)/4.

2.5.3. Eye-Movement Measures

Four exploratory measures were derived for each array. Saccades were identified using a velocity-based detection procedure. Candidate saccades were identified when absolute velocity exceeded 15°/s for more than 10 ms. For each candidate event, a segment-specific velocity threshold based on the presaccadic mean ± 2.58 SD was used to refine saccade onset and offset. Candidate detection did not use an amplitude or acceleration criterion; events with an amplitude below 1° were subsequently excluded from analysis [35]. Fixation intervals were defined as valid periods between detected saccades within the array period. For the test array, the final interval ended at response confirmation. Intervals lasting at least 40 ms were retained. No dispersion-based spatial threshold was used to identify fixation events.
Fixation count was the number of valid fixation intervals within the array period, and mean fixation duration was the arithmetic mean of the same intervals. Sample-array fixation rate was fixation count divided by sample-array duration. For trials with a registered response, test-array eye-movement measures were derived over the whole test-array period, from test-array onset through response confirmation, which included the 900 ms response-registration period and the terminal fixation interval. Because test-array duration depended on response timing, test-array fixation count was modeled with centered response time as a covariate rather than converted to a rate.
The 4–radius area of interest and the 900 ms sustained-gaze requirement defined response registration and were not used to identify fixation events. Convex hull area was the area (deg2) of the convex hull formed by fixations in that array. Percentage of stimuli fixated was the number of distinct stimuli receiving at least one fixation divided by the number presented, multiplied by 100.

2.6. Data Preprocessing

Participants were excluded when they were unable to complete the protocol or when their recordings were not suitable for reliable session-level eye-tracking analysis. A recording was considered unsuitable when acceptable nine-point calibration and validation could not be obtained after repeated attempts, when tracking was persistently lost, when a technical recording failure occurred, or when head or body position changed markedly during testing. No task-performance metric, including accuracy, response time, or the highest set size reached, was used as a participant-level exclusion criterion.
Within retained sessions, missing segments shorter than 50 ms were interpolated. The remaining invalid gaze samples, including those lost during blinks, were excluded from eye-movement coding within the affected task segment. An array segment was treated as invalid when continuous invalid gaze exceeded 200 ms or when invalid or missing samples exceeded 30% of that array period; either condition was sufficient. Trial inclusion was outcome-specific and required usable data from the relevant sample- or test-array segment; trials without a reliably determined gaze-triggered response were excluded from response-dependent outcomes.

2.7. Statistical Analysis

Analyses used Python 3.9.6 (statsmodels 0.14.5; SciPy 1.13.1) and MedCalc 20 (MedCalc Software Ltd., Ostend, Belgium). Age was summarized as median (interquartile range) and compared using the Mann–Whitney U test. Sex and four-level educational attainment were compared using chi-square tests, with Yates correction for sex; college-or-above education was compared using Fisher’s exact test.
For outcomes measured across set sizes, observed values were summarized as group means ± SD of each participant’s average across available set sizes; mean set size and K4 were summarized directly at the participant level. Cohen’s d was calculated from unrounded participant-level values using the pooled SD and reported as an absolute magnitude. Group was coded as controls = 0 and epilepsy = 1, and set size was centered at 4. The group coefficient estimated the epilepsy–control difference at set size 4. The set-size coefficient estimated the slope in controls, and the interaction estimated the between-group difference in slopes. All tests were two-sided.

2.7.1. Models

Accuracy, response time, final gaze-to-target distance, and the eight eye-movement measures were analyzed using linear mixed-effect models with a participant random intercept: Outcome~Group × (Size − 4) + (1 | participant). Because set size was determined by the staircase procedure, each participant contributed observations only at the set sizes reached. Models were fitted by restricted maximum likelihood to all available participant-by-set-size observations, with Wald tests and 95% confidence intervals; the test-array fixation-count model additionally included centered response time. Mean set size and K4 were analyzed by ordinary least-squares regression with classical standard errors, with HC3 robust standard errors used in sensitivity analyses. Principal group-comparison models were also refitted with four-level educational attainment as a categorical covariate to assess robustness to residual imbalance in educational attainment within the analytic sample.

2.7.2. Multiplicity and Sensitivity Analyses

Benjamini–Hochberg correction was applied separately to the following five families: task-performance group effects (three tests), task-performance interactions (three), mean set size and K4 (two), eye-movement group effects (eight), and eye-movement interactions (eight). The families reflected distinct inferential questions defined by outcome domain (task performance, capacity-related measures, or eye movements) and, for repeated-measure outcomes, by effect type (group effect or group × set-size interaction). Set-size slopes were not corrected. Statistical significance was defined as q < 0.05 when correction applied and p < 0.05 otherwise; unadjusted p values from sensitivity analyses were interpreted descriptively. Detected interactions were examined after excluding set size 7, set sizes 6–7, and set size 2.

2.7.3. Overlap-Sample Analyses

Of the 355 participants included in the present study, 291 (198 with epilepsy and 93 controls) had also completed a saccadic task battery reported separately in a larger cohort of 890 participants [36]. The visual working memory task and the saccadic task battery were completed during the same testing session. The previous report examined prosaccade, antisaccade, memory-guided saccade, and double-step saccade outcomes and did not include the present visual working memory task or any of the capacity-related, task-performance, or array-level eye-movement outcomes reported here. Two previously reported prosaccade measures were used in the present study only as covariates in sensitivity analyses.
In this overlap subset, each model was refitted without covariates, with educational attainment, and, where applicable, with educational attainment plus the corresponding saccadic measure. Prosaccade latency was added to the response-time model and prosaccade spatial error to the final gaze-to-target-distance model; no saccadic covariate was specified for mean set size, K4, or accuracy. Because this subset was nested within the main sample, these analyses were treated as sensitivity analyses, and uncorrected p values were interpreted descriptively.

2.7.4. Subgroup Analyses

Epilepsy-type analyses compared controls, focal epilepsy, and generalized epilepsy; participants with unknown epilepsy type were excluded because their epilepsy could not be classified as focal or generalized. The primary models were refitted with a three-level group variable, and pairwise contrasts were estimated from each model. Benjamini–Hochberg correction was applied separately within each outcome across the three pairwise contrasts. Drug-resistant status was examined within focal epilepsy, and the five drug-resistance comparisons constituted a separate Benjamini–Hochberg family. Subgroup analyses were exploratory and were not adjusted for educational attainment.

2.7.5. Additional Analyses

Three additional analyses are reported in Supplementary Table S5. First, as a sensitivity analysis, the five base-model group effects for the core outcomes (accuracy, response time, final gaze-to-target distance, mean set size, and K4) were treated as a single Benjamini–Hochberg family. Second, as a restricted-range sensitivity analysis, the three task-performance models were refitted to set sizes 2–6; the resulting group and group × set-size p values were interpreted descriptively without additional multiplicity correction. Third, associations of clinical factors with the five core outcomes were examined within the epilepsy group. Seizure frequency, epilepsy duration in 5-year increments, drug-resistant status, and current ASM regimen were each entered in a separate model. Repeated-measure outcomes were analyzed with mixed-effect models including a participant random intercept and centered set size, without a clinical factor × set-size interaction, and mean set size and K4 were analyzed by ordinary least squares. Current ASM regimen was tested with a two-degree-of-freedom omnibus Wald test. These 20 tests formed one Benjamini–Hochberg family. The clinical-factor analyses were exploratory, used available cases without imputation, and were not adjusted for educational attainment.

3. Results

3.1. Participants and Clinical Characteristics

Of 388 participants assessed for eligibility (248 with epilepsy, 140 controls), 20 were excluded before testing (15 with epilepsy, five controls) because they did not meet the eligibility criteria or withdrew consent. A further 13 (11 with epilepsy, two controls) were excluded after testing because they were unable to complete the protocol or their eye-tracking recordings were not of sufficient quality. The analytic sample comprised 355 participants: 222 with epilepsy and 133 controls.
Demographic characteristics of the two groups and clinical characteristics of the epilepsy group are shown in Table 1. The groups did not differ in sex distribution, age, or the overall four-level distribution of educational attainment. The proportion of participants with college-level education or above was lower in the epilepsy group (Table 1).
Table 1. Demographic characteristics of the study sample and clinical characteristics of participants with epilepsy.

3.2. Capacity-Related Measures and Task Performance Across Set Sizes

Group means at each set size are shown in Figure 2. In the two groups, accuracy decreased and response time and final gaze-to-target distance increased as set size increased. Across most set sizes, accuracy was lower in the epilepsy group, and response time and final gaze-to-target distance were higher. The separation between the groups did not widen visibly as set size increased. At the upper set sizes, group means were based on progressively fewer participants and had correspondingly wide confidence intervals. At set size 7, where the fewest participants contributed, the response-time means did not follow the ordering seen at the lower set sizes (Figure 2B).
Figure 2. Task-performance outcomes across set sizes in people with epilepsy (PWE) and healthy controls (HCs). Panels show (A) accuracy, expressed as proportion correct; (B) response time; and (C) final gaze-to-target distance. Points represent observed group means, and error bars represent 95% confidence intervals. PWEs are orange squares with dashed lines; HCs are blue circles with solid lines. Sample sizes decrease at the upper set sizes and differ between panel (A) and panels (B,C). PWE/HC sample sizes at set sizes 2–7 were 222/133, 221/133, 209/130, 179/124, 113/91, and 47/49 for accuracy, and 222/133, 219/132, 204/130, 160/119, 93/77, and 30/37 for response time and final gaze-to-target distance. Model-based results are reported in Table 2.
At set size 4, the epilepsy group had lower accuracy, longer response time, and greater final gaze-to-target distance than controls. All three differences persisted after adjustment for educational attainment, while none of the group × set-size interactions were statistically significant. Model estimates, control-group set-size slopes, and effect-size magnitudes are reported in Table 2.
Table 2. Group comparisons for task-performance outcomes across set sizes.
When the five core base-model group effects were corrected as a single Benjamini–Hochberg family, all five remained statistically significant (all q ≤ 0.003; Supplementary Table S5, Panel A). Restricting the three task-performance models to set sizes 2–6 left the group differences in the same direction and larger in absolute magnitude, while the group × set-size terms continued to provide no clear evidence of differential slopes (Supplementary Table S5, Panel B). The restricted-range p values were unadjusted and interpreted descriptively.
Mean set size and K4 were lower in the epilepsy group than in controls, and these estimates persisted after adjustment for educational attainment (Table 3). HC3 robust standard errors were examined as a sensitivity analysis of variance estimation. Flooring negative K4 values at zero left the K4 group difference in the same direction, and the K estimate at set size 5 was also directionally concordant (Supplementary Table S1).
Table 3. Group comparisons for mean set size and K at set size 4.
In the 291-participant overlap subset, all five estimates were in the same direction as in the full sample, before and after adjustment for educational attainment. Further adjustment for prosaccade latency attenuated the response-time estimate, and further adjustment for prosaccade spatial error attenuated the final gaze-to-target distance estimate; neither changed direction. These were sensitivity analyses in a nested subset, and their p values were unadjusted (Supplementary Table S2).

3.3. Analyses by Epilepsy Type and Drug-Resistant Status

Participants with epilepsy of unknown type were excluded from the epilepsy-type analyses (Table 1), and these exploratory subgroup analyses were not adjusted for educational attainment.
Compared with controls, participants with focal epilepsy had a lower mean set size (β = −0.263; 95% CI, −0.391 to −0.134) and lower K4 (−0.297; −0.540 to −0.054), lower accuracy, longer response time, and greater final gaze-to-target distance (all q < 0.05). Participants with generalized epilepsy showed the same pattern for mean set size (−0.243; −0.435 to −0.052), K4 (−0.653; −1.014 to −0.292), accuracy, and final gaze-to-target distance (all q < 0.05); the response-time estimate was positive but imprecise (59.96 ms; −23.51 to 143.43) and did not survive correction.
Estimates relative to controls were directionally similar in focal and generalized epilepsy. In these unadjusted exploratory analyses, none of the direct focal-versus-generalized contrasts survived Benjamini–Hochberg correction, and none of the five comparisons between participants with and without drug-resistant epilepsy within focal epilepsy survived correction. Full estimates are reported in Supplementary Table S3.
Within the epilepsy group, none of the 20 exploratory associations of seizure frequency, epilepsy duration, drug-resistant status, or current antiseizure medication regimen with the five core outcomes survived Benjamini–Hochberg correction (Supplementary Table S5, Panel C).

3.4. Eye-Movement Measures During the Sample and Test Arrays

At set size 4, none of the eight group contrasts for the eye-movement measures survived Benjamini–Hochberg correction. The smallest unadjusted p values were obtained for sample-array mean fixation duration and sample-array fixation rate (Table 4).
Table 4. Group comparisons and group × set-size interactions for eye-movement measures during the sample and test arrays.
One group × set-size interaction survived correction: the percentage of test-array stimuli fixated decreased more steeply with set size in the epilepsy group. The corresponding group contrast at set size 4 was not significant (Table 4). In restricted set-size ranges, the interaction estimate remained negative but became less precise; these p values were unadjusted (Supplementary Table S4).

4. Discussion

This study identified consistently poorer visual working memory task performance in adults with epilepsy than in healthy controls. The difference was expressed across capacity-related, temporal, and spatial response measures. Its magnitude did not change detectably across the observed set-size range. No broad corrected group differences were detected in the selected array-level eye-movement summaries. Using a graded-load, gaze-triggered change-localization task, the study provides a more specific account of how visual working memory performance differs across memory load. It also locates that difference within response timing, spatial response precision, and concurrent gaze behavior.
Working-memory impairment has been reported in pediatric epilepsy, genetic generalized epilepsy, and adult cohorts [10,11,12,13]. Previous eye-tracking studies have identified memory, attention, and oculomotor abnormalities in syndrome-specific epilepsy cohorts [29,37,38]. Earlier work has largely established whether these domains are affected; the present study asks how visual working memory performance differences are expressed across graded memory load. It brings capacity estimation, load dependence, response time, spatial response precision, and task-embedded gaze into the same experimental framework. The present group differences were small to moderate in magnitude (Table 2 and Table 3). Direct numerical comparison of effect magnitude across studies is inappropriate because studies differ in age range, task structure, response modality, and outcome definition.
Xiao et al. [29] and Zhang et al. [30] examined mesial temporal and frontal lobe epilepsy, respectively, in syndrome-specific cohorts. Their short-term memory games progressed from one to four targets, with mouse selection among 12 candidate items during retrieval and area-of-interest gaze measures recorded during encoding and retrieval. Eye movements were recorded alongside the behavioral response rather than serving as the response itself. Each study administered concurrent standardized memory measures and reported associations between memory-game or eye-tracking measures and memory-scale scores. In each study, the epilepsy group took longer to complete the memory game than controls. This direction is consistent with the longer response time observed here, but the endpoints are not equivalent. Completion time in the earlier paradigms included retrieval and manual selection of multiple targets, whereas response time in the present task ended at the onset of gaze-based response registration in a change-localization trial. The present study examined a larger cohort that included focal and generalized epilepsy and used an adaptive staircase across set sizes 2–7, without a concurrent standardized memory battery. A single accuracy score cannot distinguish a load-specific breakdown from a general shift in task efficiency. It also cannot show whether poorer performance is accompanied by broader changes in visual sampling.
The set-size analysis helps distinguish these possibilities. A deficit restricted to high loads would predict increasing group separation as set size rises. The observed pattern was more consistent with a broadly lower level of performance across the task’s operating range than with a discrete high-load breakdown. This interpretation is bounded by the staircase design. Participants contributed data only at loads they reached, fewer observations were available at upper set sizes, and the models tested linear rather than nonlinear interaction. Response-time means at set size 7, the most sparsely sampled load, did not follow the ordering seen at the lower set sizes. Restricting the task-performance models to set sizes 2–6 left the three group differences in the same direction and larger in absolute magnitude, while the group × set-size terms continued to provide no clear evidence of differential slopes. Task disengagement, rushed responding, and cognitive overload were not measured directly, so this descriptive pattern cannot be attributed to any of these mechanisms. The nonsignificant interactions indicate no detected effect modification across the observed range; they do not establish equivalent responses to increasing load [39].
The capacity-related measures should be interpreted as different representations of the same task system rather than independent demonstrations of separate deficits. K4 is a deterministic, chance-corrected transformation of accuracy at set size 4 [16,40]. Mean set size reflects the range reached under a staircase governed by response correctness [41]. It takes one of six discrete values determined by the highest set size reached under the staircase. Because the task was administered once, test–retest reliability of this measure was not assessed, limiting its interpretation for individual-level or longitudinal use. Their convergence with accuracy strengthens the description of the performance difference without multiplying the evidence. K4 remains useful because it expresses fixed-load performance in item units. The control estimate was of the same order as values reported in healthy adults using change-detection and change-localization paradigms [14,15,16,17]. This consistency supports the task’s interpretability but does not establish a normative threshold. Accuracy, response time, and final gaze-to-target distance are complementary response-level measures rather than isolated cognitive processes [42,43]. Lower accuracy together with longer response time is not the pattern expected from a simple speed–accuracy trade-off [44]. These measures provide quantitative group-level characterization of visual working memory performance; their value for identifying impairment in individual patients was not evaluated.
Adjustment for educational attainment did not materially alter the principal pattern, making educational imbalance alone a less likely explanation for the group differences. Partial attenuation after adjustment for the corresponding prosaccade measures suggests that response timing and spatial response precision share some variation with basic oculomotor performance. This relationship is informative because the gaze-triggered task combines cognitive and oculomotor demands, but it neither establishes independence from oculomotor function nor identifies mediation. The gaze-triggered response also has methodological value because it converts spatial selection into an explicit quantitative endpoint. In conventional categorical response paradigms, performance is typically represented by whether the correct item was selected. Gaze-triggered registration additionally provides a continuous spatial endpoint relative to the target. Final gaze-to-target distance is partly coupled to response correctness [40,45]. It also arises from a multistage process involving test-array inspection, memory comparison, visual search, decision formation, and response selection [26,42]. It should be interpreted as a spatial property of the memory-dependent response, not as an independent measure of basic saccadic precision [26,46]. Eye tracking adds temporal and spatial response information within the same task rather than replacing established neuropsychological assessment.
The array-level eye-movement findings further constrain interpretation. None of the selected sample- or test-array summaries showed a corrected group difference at set size 4. Test-array fixation count was descriptively higher and mean fixation duration descriptively shorter in PWE than in HC, but neither pattern was supported by the corrected group contrasts. These test-array summaries included the terminal response-related fixation during the 900 ms response-registration period and combined pre-response visual sampling with response registration rather than isolating visual search. The descriptive pattern should not be interpreted as evidence of fragmented visual search, increased distractibility, or compensation. The principal performance differences were not accompanied by a broad shift in these global measures of visual sampling. This does not establish equivalent eye movements. More specific abnormalities may still occur in fixation sequence, item prioritization, revisits, transitions, or information acquired per fixation [22,24,37].
Dedicated saccadic paradigms have detected abnormalities of initiation, inhibition, and spatial control in focal epilepsy [46] and in our previously reported larger cohort [36]. The contrast is compatible with task specificity. Oculomotor abnormalities may be more readily detected when eye-movement control is directly probed, whereas broad gaze summaries embedded within a memory task may be less sensitive. This is consistent with evidence that different eye-movement paradigms recruit different combinations of cognitive and oculomotor processes [47]. The single corrected interaction for the percentage of test-array stimuli fixated was less precise in restricted-range analyses and should remain hypothesis-generating.
Estimates relative to controls were directionally similar in focal and generalized epilepsy, consistent with reports that cognitive difficulties can span major epilepsy types [13,48,49]. The similar direction of estimates suggests that the observed group-level pattern may not be confined to one major epilepsy type. Direct focal-versus-generalized contrasts were imprecise and do not establish equivalence. The same caution applies to drug-resistant status. Treatment resistance does not directly index seizure burden, structural pathology, interictal activity, medication exposure, or network integrity. The absence of corrected differences by this classification should not be interpreted as absence of clinically relevant heterogeneity. The exploratory clinical-factor findings do not exclude contributions from seizure frequency, epilepsy duration, drug-resistant status, or current ASM regimen to task performance. The categorical ASM analysis did not evaluate individual drugs, doses, or cumulative exposure. These within-epilepsy analyses cannot determine whether treatment or other clinical characteristics account for the epilepsy–control differences.

Limitations

Several limitations define the scope of inference. The study was cross-sectional and single-center, and residual confounding by education and clinical factors remains possible. Antiseizure medication exposure was available only as broad regimen categories. No concurrent standardized neuropsychological battery was administered, so convergent validity and incremental clinical value relative to established neuropsychological assessment could not be assessed. No non-memory control condition was included, so the observed epilepsy–control differences cannot be attributed specifically to memory storage rather than to contributions from encoding, visual search, decision, or response-selection processes. Because the replacement shape was globally novel, the task cannot determine whether participants relied on position-specific comparison, global novelty detection, or a combination of these strategies. The staircase procedure yielded progressively fewer observations at higher set sizes, limiting tests of nonlinear load effects. Eye-movement measures were global summaries and may miss sequence- or item-level abnormalities. The overlap analyses were sensitivity analyses within the main cohort rather than independent replication, and subgroup estimates were less precise. Participants with unknown epilepsy type were excluded only from the epilepsy-type comparisons, so those estimates apply to participants classified as having focal or generalized epilepsy and do not encompass the full clinical heterogeneity of the overall epilepsy cohort. Test–retest reliability of the task-derived measures was not assessed, limiting their interpretation for individual-level or repeated assessment. Future work should establish test–retest reliability, compare the task with standardized neuropsychological measures and everyday cognitive function, and assess sensitivity to longitudinal clinical change.

5. Conclusions

Adults with epilepsy showed lower task-estimated visual working memory capacity and poorer task performance than healthy controls, without broad corrected group differences in the selected array-level eye-movement measures. The gaze-triggered task provides capacity-related measures together with response timing and spatial response precision within a single experimental framework.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/diagnostics16193156/s1, Table S1: Sensitivity analyses for mean set size and K estimates; Table S2: Analyses in the 291-participant overlap sample; Table S3: Analyses by epilepsy type and drug-resistant status; Table S4: Sensitivity analyses for the group × set-size interaction in the percentage of test-array stimuli fixated; Table S5: Additional sensitivity and exploratory analyses.

Author Contributions

Conceptualization, L.C.; methodology, Y.L.; formal analysis, Y.L.; investigation, X.X. and L.J.; data curation, Y.L., R.Y. and X.X.; validation, X.X.; visualization, L.J.; writing—original draft preparation, Y.L.; writing—review and editing, M.Z.; supervision, M.Z. and L.C.; project administration, Y.L.; funding acquisition, L.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Sichuan Science and Technology Program (2024ZDZX0018).

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and approved by the Ethics Committee of West China Hospital, Sichuan University, on 1 November 2023 (No. 2023-2394).

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available because they contain clinical information from which individual participants could potentially be identified.

Acknowledgments

We thank all participants who made this study possible.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Thijs, R.D.; Surges, R.; O’Brien, T.J.; Sander, J.W. Epilepsy in adults. Lancet 2019, 393, 689–701. [Google Scholar] [CrossRef] [Scilit]
  2. Pugh, R.; Vaughan, D.N.; Jackson, G.D.; Ponsford, J.; Tailby, C. Cognitive and psychological dysfunction is present after a first seizure, prior to epilepsy diagnosis and treatment at a First Seizure Clinic. Epilepsia Open 2024, 9, 717–726. [Google Scholar] [CrossRef] [Scilit]
  3. Witt, J.A.; Helmstaedter, C. Should cognition be screened in new-onset epilepsies? A study in 247 untreated patients. J. Neurol. 2012, 259, 1727–1731. [Google Scholar] [CrossRef] [Scilit]
  4. Khalife, M.R.; Scott, R.C.; Hernan, A.E. Mechanisms for Cognitive Impairment in Epilepsy: Moving Beyond Seizures. Front. Neurol. 2022, 13, 878991. [Google Scholar] [CrossRef] [Scilit]
  5. Holmes, G.L.; Lenck-Santini, P.P. Role of interictal epileptiform abnormalities in cognitive impairment. Epilepsy Behav. 2006, 8, 504–515. [Google Scholar] [CrossRef] [Scilit]
  6. Wilson, S.J.; Baxendale, S.; Barr, W.; Hamed, S.; Langfitt, J.; Samson, S.; Watanabe, M.; Baker, G.A.; Helmstaedter, C.; Hermann, B.P.; et al. Indications and expectations for neuropsychological assessment in routine epilepsy care: Report of the ILAE Neuropsychology Task Force, Diagnostic Methods Commission, 2013–2017. Epilepsia 2015, 56, 674–681. [Google Scholar] [CrossRef] [Scilit]
  7. Baddeley, A. Working memory: Theories, models, and controversies. Annu. Rev. Psychol. 2012, 63, 1–29. [Google Scholar] [CrossRef] [Scilit]
  8. Dorman, D.B.; Sampson, A.L.; Sacre, P.; Stuphorn, V.; Niebur, E.; Sarma, S.V. Decomposing Executive Function into Distinct Processes Underlying Human Decision Making. In Proceedings of the 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC); IEEE: Piscataway, NJ, USA, 2022; Volume 2022, pp. 807–811. [Google Scholar] [CrossRef] [Scilit]
  9. Lee, B.; Kim, J.S.; Chung, C.K. Parietal and medial temporal lobe interactions in working memory goal-directed behavior. Cortex 2022, 150, 126–136. [Google Scholar] [CrossRef] [Scilit]
  10. Poole, B.J.; Phillips, N.L.; Stewart, E.; Harris, I.M.; Lah, S. Working Memory in Pediatric Epilepsy: A Systematic Review and Meta-Analysis. Neuropsychol. Rev. 2021, 31, 569–609. [Google Scholar] [CrossRef] [Scilit]
  11. Ratcliffe, C.; Wandschneider, B.; Baxendale, S.; Thompson, P.; Koepp, M.J.; Caciagli, L. Cognitive Function in Genetic Generalized Epilepsies: Insights From Neuropsychology and Neuroimaging. Front. Neurol. 2020, 11, 144. [Google Scholar] [CrossRef] [Scilit]
  12. Loughman, A.; Bowden, S.C.; D’Souza, W.J. A comprehensive assessment of cognitive function in the common genetic generalized epilepsy syndromes. Eur. J. Neurol. 2017, 24, 453–460. [Google Scholar] [CrossRef] [Scilit]
  13. Gauffin, H.; Landtblom, A.M.; Vigren, P.; Frick, A.; Engström, M.; McAllister, A.; Karlsson, T. Similar Profile and Magnitude of Cognitive Impairments in Focal and Generalized Epilepsy: A Pilot Study. Front. Neurol. 2021, 12, 746381. [Google Scholar] [CrossRef] [Scilit]
  14. Luck, S.J.; Vogel, E.K. The capacity of visual working memory for features and conjunctions. Nature 1997, 390, 279–281. [Google Scholar] [CrossRef] [Scilit]
  15. Luck, S.J.; Vogel, E.K. Visual working memory capacity: From psychophysics and neurobiology to individual differences. Trends Cogn. Sci. 2013, 17, 391–400. [Google Scholar] [CrossRef] [Scilit]
  16. Zhao, C.; Vogel, E.; Awh, E. Change localization: A highly reliable and sensitive measure of capacity in visual working memory. Atten. Percept. Psychophys. 2023, 85, 1681–1694. [Google Scholar] [CrossRef] [Scilit]
  17. Feldmann-Wustefeld, T. Neural measures of working memory in a bilateral change detection task. Psychophysiology 2021, 58, e13683. [Google Scholar] [CrossRef] [Scilit]
  18. Vogel, E.K.; Machizawa, M.G. Neural activity predicts individual differences in visual working memory capacity. Nature 2004, 428, 748–751. [Google Scholar] [CrossRef] [Scilit]
  19. Dai, M.; Li, Y.; Gan, S.; Du, F. The reliability of estimating visual working memory capacity. Sci. Rep. 2019, 9, 1155. [Google Scholar] [CrossRef] [Scilit]
  20. Cowan, N. The Magical Mystery Four: How is Working Memory Capacity Limited, and Why? Curr. Dir. Psychol. Sci. 2010, 19, 51–57. [Google Scholar] [CrossRef] [Scilit]
  21. Pailian, H.; Simons, D.J.; Wetherhold, J.; Halberda, J. Using the flicker task to estimate visual working memory storage capacity. Atten. Percept. Psychophys. 2020, 82, 1271–1289. [Google Scholar] [CrossRef] [Scilit]
  22. Jonikaitis, D.; Moore, T. The interdependence of attention, working memory and gaze control: Behavior and neural circuitry. Curr. Opin. Psychol. 2019, 29, 126–134. [Google Scholar] [CrossRef] [Scilit]
  23. van Ede, F. Visual working memory and action: Functional links and bi-directional influences. Vis. Cogn. 2020, 28, 401–413. [Google Scholar] [CrossRef] [Scilit]
  24. van Ede, F.; Chekroud, S.R.; Nobre, A.C. Human gaze tracks attentional focusing in memorized visual space. Nat. Hum. Behav. 2019, 3, 462–470. [Google Scholar] [CrossRef] [Scilit]
  25. Zelinsky, G.J.; Loschky, L.C. Eye movements serialize memory for objects in scenes. Percept. Psychophys. 2005, 67, 676–690. [Google Scholar] [CrossRef] [Scilit][Green Version]
  26. Sahan, M.I.; Siugzdaite, R.; Mathot, S.; Fias, W. Attention-based rehearsal: Eye movements reveal how visuospatial information is maintained in working memory. J. Exp. Psychol. Learn Mem. Cogn. 2024, 50, 687–698. [Google Scholar] [CrossRef] [Scilit]
  27. Bullock, T.; Pickett, K.; Salimian, A.; Gregory, C.; MacLean, M.H.; Giesbrecht, B. Eye movements disrupt EEG alpha-band coding of behaviorally relevant and irrelevant spatial locations held in working memory. J. Neurophysiol. 2023, 129, 1191–1211. [Google Scholar] [CrossRef] [Scilit]
  28. Leeman-Markowski, B.A.; Martin, S.P.; Hardstone, R.; Tam, D.M.; Devinsky, O.; Meador, K.J. Novelty preference assessed by eye tracking: A sensitive measure of impaired recognition memory in epilepsy. Epilepsy Behav. 2024, 155, 109749. [Google Scholar] [CrossRef] [Scilit]
  29. Xiao, L.; Zhu, G.; Huang, K.; Wen, S.; Feng, L.; Li, B.; Xiao, B.; Liu, D.; Wang, Q. Memory characteristics in mesial temporal lobe epilepsy: Insights from an eye tracking memory game and neuropsychological assessments. CNS Neurosci. Ther. 2023, 29, 2621–2633. [Google Scholar] [CrossRef] [Scilit]
  30. Zhang, Q.; Sun, W.; Huang, K.; Qin, L.; Wen, S.; Long, X.; Wang, Q.; Feng, L. Frontal lobe epilepsy: An eye tracking study of memory and attention. Front. Neurosci. 2023, 17, 1298468. [Google Scholar] [CrossRef] [Scilit]
  31. Huang, K.; Tian, Z.; Zhang, Q.; Yang, H.; Wen, S.; Feng, J.; Tang, W.; Wang, Q.; Feng, L. Reduced eye gaze fixation during emotion recognition among patients with temporal lobe epilepsy. J. Neurol. 2024, 271, 2560–2572. [Google Scholar] [CrossRef] [Scilit]
  32. Fisher, R.S.; Acevedo, C.; Arzimanoglou, A.; Bogacz, A.; Cross, J.H.; Elger, C.E.; Engel, J., Jr.; Forsgren, L.; French, J.A.; Glynn, M.; et al. ILAE official report: A practical clinical definition of epilepsy. Epilepsia 2014, 55, 475–482. [Google Scholar] [CrossRef] [Scilit]
  33. Scheffer, I.E.; Berkovic, S.; Capovilla, G.; Connolly, M.B.; French, J.; Guilhoto, L.; Hirsch, E.; Jain, S.; Mathern, G.W.; Moshé, S.L.; et al. ILAE classification of the epilepsies: Position paper of the ILAE Commission for Classification and Terminology. Epilepsia 2017, 58, 512–521. [Google Scholar] [CrossRef] [Scilit]
  34. Kwan, P.; Arzimanoglou, A.; Berg, A.T.; Brodie, M.J.; Allen Hauser, W.; Mathern, G.; Moshé, S.L.; Perucca, E.; Wiebe, S.; French, J. Definition of drug resistant epilepsy: Consensus proposal by the ad hoc Task Force of the ILAE Commission on Therapeutic Strategies. Epilepsia 2010, 51, 1069–1077. [Google Scholar] [CrossRef] [Scilit]
  35. Peng, A.; Lai, W.; Liu, Z.; Wang, M.; Chen, S.; Zhao, X.; Zhu, Y.; Chen, L. Antisaccadic eye movements in middle-aged individuals with a family history of Alzheimer’s disease. Front. Hum. Neurosci. 2023, 17, 1143690. [Google Scholar] [CrossRef] [Scilit]
  36. Li, Y.; Fu, Y.; Yang, R.; Jin, L.; Qin, H.; Zhao, X.; Zhang, M.; Chen, L. Interictal multitask saccadic eye movement profiling as an epilepsy-associated behavioral marker: A prospective cohort study. Eur. J. Med. Res. 2026, 31, 1123. [Google Scholar] [CrossRef] [Scilit]
  37. Wen, S.; Zhang, H.; Huang, K.; Wei, X.; Yang, K.; Wang, Q.; Feng, L. Impaired orienting function detected through eye movements in patients with temporal lobe epilepsy. Front. Neurosci. 2023, 17, 1290959. [Google Scholar] [CrossRef] [Scilit]
  38. Tian, Z.; Huang, S.; Hu, B.; Feng, L.; Wang, Q. Lateralized neural and oculomotor alterations in temporal lobe epilepsy: A combined eye-tracking and event-related potential study. Seizure 2026, 138, 20–28. [Google Scholar] [CrossRef] [Scilit]
  39. Altman, D.G.; Bland, J.M. Interaction revisited: The difference between two estimates. BMJ 2003, 326, 219. [Google Scholar] [CrossRef] [Scilit]
  40. Rouder, J.N.; Morey, R.D.; Morey, C.C.; Cowan, N. How to measure working memory capacity in the change detection paradigm. Psychon. Bull. Rev. 2011, 18, 324–330. [Google Scholar] [CrossRef] [Scilit]
  41. Kyllingsbaek, S.; Bundesen, C. Changing change detection: Improving the reliability of measures of visual short-term memory capacity. Psychon. Bull. Rev. 2009, 16, 1000–1010. [Google Scholar] [CrossRef] [Scilit]
  42. Mustafa, S.A.; Jansen, A.; Steininger, M.; Müllers, J.; Surges, R.; von Wrede, R.; Krüger, B.; Helmstaedter, C. Eyes on cognition: Exploring oculomotor correlates of cognitive function in patients with epilepsy. Epilepsy Behav. 2025, 173, 110562. [Google Scholar] [CrossRef] [Scilit]
  43. Fukuda, K.; Vogel, E.K. Visual short-term memory capacity predicts the “bandwidth” of visual long-term memory encoding. Mem. Cogn. 2019, 47, 1481–1497. [Google Scholar] [CrossRef] [Scilit]
  44. Harun, R.; Jun, E.; Park, H.H.; Ganupuru, P.; Goldring, A.B.; Hanks, T.D. Timescales of Evidence Evaluation for Decision Making and Associated Confidence Judgments Are Adapted to Task Demands. Front. Neurosci. 2020, 14, 826. [Google Scholar] [CrossRef] [Scilit]
  45. Williams, J.R.; Robinson, M.M.; Schurgin, M.W.; Wixted, J.T.; Brady, T.F. You cannot “count” how many items people remember in visual working memory: The importance of signal detection-based measures for understanding change detection performance. J. Exp. Psychol. Hum. Percept. Perform. 2022, 48, 1390–1409. [Google Scholar] [CrossRef] [Scilit]
  46. Au Yong, H.M.; Clough, M.; Perucca, P.; Malpas, C.B.; Kwan, P.; O’Brien, T.J.; Fielding, J. Ocular motility as a measure of cerebral dysfunction in adults with focal epilepsy. Epilepsy Behav. 2023, 141, 109140. [Google Scholar] [CrossRef] [Scilit]
  47. Wang, Y.L.; Kapoor, M.; Fielding, J.; Reddel, S.; Zhu, C.; Clough, M.; Botrous, M.; Monif, M.; van der Walt, A. Saccadic eye movements in neurological disease: Cognitive mechanisms and clinical applications. J. Neurol. 2025, 272, 539. [Google Scholar] [CrossRef] [Scilit]
  48. Novak, A.; Vizjak, K.; Rakusa, M. Cognitive Impairment in People with Epilepsy. J. Clin. Med. 2022, 11, 267. [Google Scholar] [CrossRef] [Scilit]
  49. Ng, R.; Hodges, E. Neurocognitive Profiles of Pediatric Patients with ESES, Generalized Epilepsy, or Focal Epilepsy. Epilepsy Res. 2020, 167, 106351. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.