pith. sign in

arxiv: 2605.21319 · v1 · pith:TVTK4DI4new · submitted 2026-05-20 · 📡 eess.SP

Optimal Time Window and Frequency Bandwidth Parameter Combination for Subject-Specific Motor Imagery EEG Classification

Pith reviewed 2026-05-21 03:41 UTC · model grok-4.3

classification 📡 eess.SP
keywords motor imageryEEG classificationtime windowfrequency bandcommon spatial patternslinear discriminant analysisparameter optimizationbrain-computer interface
0
0 comments X

The pith

Motor imagery EEG classification reaches peak accuracy with a 0-4 second time window paired with the 4-12 Hz frequency band across subjects.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper tests how post-cue time windows and frequency bands jointly affect classification accuracy for motor imagery signals in EEG. Subject-specific models are built for each combination using common spatial pattern features and linear discriminant analysis on data from 109 people. Repeated measures ANOVA then identifies which pairs differ significantly in performance. The comparison across five time windows and 23 bands points to one combination that stands out on average. This indicates that tuning both the temporal and spectral scales together can improve results even when signals differ between individuals.

Core claim

Training subject-specific CSP-LDA classifiers on every pairing of five time windows and twenty-three frequency bandwidths produces measurable differences in accuracy. Statistical comparison shows the (0, 4) s window with the (4, 12) Hz band yields the highest average performance across the full cohort, although several other pairs reach comparable levels for individual subjects.

What carries the argument

Grid search over discrete time-window and frequency-band options, with subject-specific CSP feature extraction and LDA classification, followed by repeated-measures ANOVA on the resulting accuracy values.

If this is right

  • The (0, 4) s window combined with the (4, 12) Hz band can be used as a default starting point for motor-imagery classification pipelines.
  • Subject-specific training benefits from joint optimization of temporal and spectral parameters rather than fixing one while varying the other.
  • Statistically significant accuracy gaps exist between particular time windows and between particular bandwidths, so targeted selection matters.
  • Multiple parameter combinations can deliver near-optimal accuracy for some subjects, reducing the need for exhaustive search in practice.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The same grid-search plus ANOVA procedure could be applied to other EEG tasks such as steady-state visual evoked potentials to locate their own preferred scales.
  • Replacing the fixed grid with a continuous or adaptive search might locate even better parameter values for each subject.
  • Embedding this optimization step into online brain-computer interface calibration could shorten setup time while raising final performance.

Load-bearing premise

The chosen five time windows and twenty-three frequency bands adequately represent the space of useful parameters and the ANOVA correctly handles the large number of comparisons across subjects and pairs.

What would settle it

Apply the same grid of time windows and frequency bands to an independent EEG dataset from new subjects and test whether the (0, 4) s and (4, 12) Hz pair again produces the highest mean accuracy.

Figures

Figures reproduced from arXiv: 2605.21319 by Liisa A. Kivioja, Matthew A. McCartney, Shirley Coyle, Sonal S. Baberwal.

Figure 1
Figure 1. Figure 1: Visualisation of motor imagery “Task 2” protocol used in PhysioNet dataset 2.2 Pipeline A pre-existing and frequently used pipeline from MNE has been adopted and modified for this study. This pipeline uses CSP for feature extraction followed by an LDA classifier to separate left-hand from right-hand MI EEG signals [13] [PITH_FULL_IMAGE:figures/full_fig_p003_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: Flowchart of machine learning pipeline iterating through different combi￾nations of bandwidth and windows for each participant: X10 CV - 10 fold Cross Validation. of bandwidth frequencies across a wide range, potentially catering for individual variability. In addition to the sliding window bandwidth, six other bandwidths that are typically reported in the field of MI were investigated including 4 - 12 Hz … view at source ↗
Figure 3
Figure 3. Figure 3: Heatmap of Bandwidth (x-axis) vs Time Window (y-axis) for all com￾binations averaged across all participants. Pink: Literature derived bandwidths, Green: Sliding Window bandwidths 3.2 Statistical Significance: ANOVA The results of every combination for each participant were extracted from the pipeline as CSV files and used for statistical testing [PITH_FULL_IMAGE:figures/full_fig_p006_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: MI EEG classification model accuracies obtained from varying time win￾dows (seconds after cue). Results show significant differences after the Bonferroni correction. The repeated measures ANOVA found statistically significant interactions within and between the time window and frequency bandwidth variables in terms of measured accuracy ( [PITH_FULL_IMAGE:figures/full_fig_p007_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: MI EEG classification model accuracies obtained from varying fre￾quency bandwidths across combinations of (A) alpha, alpha and beta, theta-alpha, broadband bandwidths and early alpha-specific bandwidths, and (B) beta, alpha and beta, late-beta, broadband bandwidths and late beta-specific bandwidths. The colour differentiates between broad bandwidth (pink gradient) derived from liter￾ature and specific band… view at source ↗
Figure 6
Figure 6. Figure 6: MI EEG classification model accuracies obtained from the optimal com￾binations of chosen time windows (x-axis) and frequency bandwidths (y-axis) for each subject. The accuracies follow scaling from a heatmap (red denoting higher accuracies and yellow denoting lower accuracies). The frequency band ranges occurring most prevalently (N >= 10) for the optimal time window and frequency band combinations are for… view at source ↗
Figure 4
Figure 4. Figure 4: MI EEG classification model Cohen’s Kappa obtained from varying [PITH_FULL_IMAGE:figures/full_fig_p015_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: MI EEG classification model Cohen’s Kappa obtained from varying [PITH_FULL_IMAGE:figures/full_fig_p016_5.png] view at source ↗
Figure 6
Figure 6. Figure 6: MI EEG classification model Cohen’s Kappa obtained from combina [PITH_FULL_IMAGE:figures/full_fig_p017_6.png] view at source ↗
read the original abstract

Motor-imagery (MI) EEG can be classified using supervised machine learning techniques such as Linear Discriminant Analysis applied to features extracted by Common Spatial Patterns. Performance of these models varies widely, possibly due to MI studies commonly utilising differing post-cue time windows and frequency bands to one another. This study aims to assess how the simultaneous optimisation of both these parameters impact MI classification performance. This is done by iteratively training and testing a series of subject-specific models on different combinations of frequency bandwidth and time window options across 109 subjects. This is followed by a statistical analysis using repeated measures ANOVA to uncover significant differences between different bandwidths and time windows in terms of accuracy across the patient cohort. The resulting visualisations and statistical tests show that there are, indeed, significant differences between both specific time windows and specific bandwidths in terms of accuracy. While the comparison of classification accuracies across 23 frequency bandwidths during five different time windows demonstrates an optimal temporal and spectral scale combination of (0, 4) s at the range of (4, 12) Hz across all subjects, the subjects demonstrate similar accuracies for other parameter combinations. These findings highlight the efficacy of personalised models to detect optimal temporal and spectral parameter combinations to best classify MI EEG signals that inherently vary across subjects.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

1 major / 2 minor

Summary. The paper evaluates the effect of varying time windows (5 options) and frequency bandwidths (23 options) on subject-specific motor-imagery EEG classification accuracy using CSP+LDA models trained and tested on 109 subjects. Accuracies are compared via repeated-measures ANOVA, leading to the claim that the combination of (0,4) s time window and (4,12) Hz band is optimal across the cohort, with significant differences among specific parameter choices.

Significance. If the statistical claims hold after proper multiplicity control, the result would offer practical guidance for parameter selection in MI-BCI pipelines and reinforce the value of subject-specific tuning over generic settings. The large cohort size and direct empirical evaluation on held-out data are strengths.

major comments (1)
  1. [Statistical analysis section] Statistical analysis (methods/results): With 5 time windows × 23 bands = 115 combinations evaluated, the repeated-measures ANOVA and any post-hoc contrasts used to declare one specific pair optimal require explicit multiple-comparison correction (Bonferroni, Tukey, or FDR). The abstract and reader's summary give no indication that such correction was applied; without it, the reported significance for the (0,4)s/(4,12)Hz combination may be inflated and does not yet robustly support the central optimality claim.
minor comments (2)
  1. [Abstract and Methods] Abstract and methods: Cross-validation procedure, outlier handling, and exact ANOVA model specification (including interaction terms) are not described; these details are needed to assess whether the accuracy estimates are unbiased.
  2. [Results] Results: The statement that subjects show 'similar accuracies for other parameter combinations' should be quantified (e.g., mean and range of accuracies for the top 5 combinations) to clarify how distinctly superior the reported optimum is.

Simulated Author's Rebuttal

1 responses · 0 unresolved

We thank the referee for the constructive comments on our manuscript. The point regarding multiple-comparison correction is well taken, and we have revised the statistical analysis to address it directly.

read point-by-point responses
  1. Referee: [Statistical analysis section] Statistical analysis (methods/results): With 5 time windows × 23 bands = 115 combinations evaluated, the repeated-measures ANOVA and any post-hoc contrasts used to declare one specific pair optimal require explicit multiple-comparison correction (Bonferroni, Tukey, or FDR). The abstract and reader's summary give no indication that such correction was applied; without it, the reported significance for the (0,4)s/(4,12)Hz combination may be inflated and does not yet robustly support the central optimality claim.

    Authors: We agree that evaluating 115 parameter combinations requires explicit control for multiple comparisons to support claims of optimality. Our original repeated-measures ANOVA tested main effects and interactions of time window and frequency band as factors. Post-hoc comparisons were used to highlight the best-performing pair, but we did not apply or report a correction such as Bonferroni in the submitted version. In the revision we will re-run the post-hoc tests with Bonferroni correction across the family of comparisons, update the Methods to describe the procedure, report the corrected p-values in the Results, and revise the Abstract to state that multiple-comparison correction was applied. This change directly strengthens the statistical foundation of the optimality claim without altering the overall experimental design or cohort size. revision: yes

Circularity Check

0 steps flagged

No significant circularity; purely empirical grid search on held-out accuracies

full rationale

The paper conducts an exhaustive empirical evaluation: subject-specific CSP+LDA models are trained and tested on held-out data for each of the 5×23 parameter combinations across 109 subjects. Accuracies are measured directly rather than derived from any fitted quantity or prior result. Repeated-measures ANOVA is then applied to the observed accuracies to detect differences. No derivation chain exists that reduces a claimed prediction or optimal value back to its own inputs by construction, and no load-bearing self-citations or ansatzes are invoked. The central finding is therefore an observation from direct measurement, not a tautological restatement of fitted inputs.

Axiom & Free-Parameter Ledger

2 free parameters · 2 axioms · 0 invented entities

The work rests on standard EEG signal-processing assumptions and on the authors' choice of a finite discrete grid of time and frequency parameters; no new physical entities are postulated.

free parameters (2)
  • time-window grid
    Five discrete post-cue intervals were selected for testing; the choice of which intervals to include is an author decision not derived from data.
  • frequency-band grid
    23 bandwidths were tested; the specific cut-offs and widths constitute free choices.
axioms (2)
  • domain assumption EEG signals within each chosen time window are sufficiently stationary for CSP feature extraction.
    Standard assumption invoked when applying CSP to short EEG segments.
  • domain assumption Subject-specific training sets are large enough to avoid severe overfitting when parameters are optimized per person.
    Implicit in the claim that personalized models reliably detect optimal parameters.

pith-pipeline@v0.9.0 · 5772 in / 1409 out tokens · 54066 ms · 2026-05-21T03:41:28.920632+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Lean theorems connected to this paper

Citations machine-checked in the Pith Canon. Every link opens the source theorem in the public Lean library.

  • IndisputableMonolith/Cost/FunctionalEquation.lean washburn_uniqueness_aczel unclear
    ?
    unclear

    Relation between the paper passage and the cited Recognition theorem.

    The comparison of classification accuracies across 23 frequency bandwidths during five different time windows demonstrates an optimal temporal and spectral scale combination of (0, 4) s at the range of (4, 12) Hz across all subjects, with significant differences between specific time windows and bandwidths.

  • IndisputableMonolith/Foundation/ArithmeticFromLogic.lean LogicNat induction unclear
    ?
    unclear

    Relation between the paper passage and the cited Recognition theorem.

    Repeated measures ANOVA was used to statistically compare both the accuracy between time window options and the accuracy between frequency band options across participants, following the Bonferroni correction of the p-value.

What do these tags mean?
matches
The paper's claim is directly supported by a theorem in the formal canon.
supports
The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
extends
The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
uses
The paper appears to rely on the theorem as machinery.
contradicts
The paper's claim conflicts with a theorem or certificate in the canon.
unclear
Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.

Reference graph

Works this paper leans on

30 extracted references · 30 canonical work pages

  1. [1]

    Allison, B.Z., Neuper, C.: Could anyone use a bci? In: Brain-computer interfaces: Applying our minds to human-computer interaction, pp. 35–54. Springer (2010)

  2. [2]

    Sensors22(19), 7596 (2022).https://doi.org/10.3390/s22197596

    Antony, M.J., Sankaralingam, B.P., Mahendran, R.K., Gardezi, A.A., Shafiq, M., Choi, J.G., Hamam, H.: Classification of eeg using adaptive svm classifier with CSP and online recursive independent component analysis. Sensors22(19), 7596 (2022).https://doi.org/10.3390/s22197596

  3. [3]

    IEEE Signal Processing Maga- zine25(1), 41–56 (2007)

    Blankertz, B., Tomioka, R., Lemm, S., Kawanabe, M., Muller, K.R.: Optimizing spatial filters for robust EEG single-trial analysis. IEEE Signal Processing Maga- zine25(1), 41–56 (2007)

  4. [4]

    Biomedical Signal Processing and Control68, 102574 (2021)

    Gaur, P., McCreadie, K., Pachori, R.B., Wang, H., Prasad, G.: An automatic sub- ject specific channel selection method for enhancing motor imagery classification in EEG-BCI using correlation. Biomedical Signal Processing and Control68, 102574 (2021)

  5. [5]

    Circulation101(23), e215–e220 (2000), rRID:SCR_007345

    Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P.C., Mark, R., Stan- ley, H.E.: Physiobank, physiotoolkit, and physionet: Components of a new research resource for complex physiologic signals. Circulation101(23), e215–e220 (2000), rRID:SCR_007345

  6. [6]

    Case Studies in Chemical and Environmental Engineering9, 100552 (2024)

    Hayati, R., Munawar, A.A., Lukitaningsih, E., Earlia, N., Karma, T., Idroes, R.: Combination of PCA with LDA and SVM classifiers: a model for determining the geographical origin of coconut in the coastal plantation, aceh province, indonesia. Case Studies in Chemical and Environmental Engineering9, 100552 (2024)

  7. [7]

    Masset, R

    Hidalgo, M.J., Fechner, D.C., Marchevsky, E.J., Pellerano, R.G.: Determining the geographical origin of fruits by multielement analysis and advanced chemometric techniques. Food Chemistry210, 228–234 (2016).https://doi.org/10.1016/j. foodchem.2016.04.120

  8. [8]

    IEEE Access (2025)

    Jridi, A., Belwafi, K., Djemal, R., Carlos, V., Mejri, S.: Explainable ai-driven eeg channel selection for accurate and interpretable epilepsy diagnosis. IEEE Access (2025)

  9. [9]

    Frontiers in Neuroscience15, 663101 (2021)

    Kang, J.H., Youn, J., Kim, S.H., Kim, J.: Effects of frontal theta rhythms in a prior resting state on the subsequent motor imagery brain-computer interface performance. Frontiers in Neuroscience15, 663101 (2021)

  10. [10]

    In: Guide to Brain-Computer Music Interfacing, pp

    Lotte, F.: A tutorial on EEG signal-processing techniques for mental-state recogni- tion in brain–computer interfaces. In: Guide to Brain-Computer Music Interfacing, pp. 133–161. Springer (2014)

  11. [11]

    Interna- tional Journal of Imaging Systems and Technology33(2), 670–679 (2023)

    Meng, M., Dong, Z., Gao, Y., She, Q.: Optimal channel and frequency band-based feature selection for motor imagery electroencephalogram classification. Interna- tional Journal of Imaging Systems and Technology33(2), 670–679 (2023)

  12. [12]

    IEEE Transactions on Neural Systems and Rehabilitation Engineering29, 699–707 (2021).https://doi.org/10.1109/TNSRE.2021.3071140

    Miao, Y., Jin, J., Daly, I., Zuo, C., Wang, X., Cichocki, A., Jung, T.P.: Learning common time-frequency-spatial patterns for motor imagery classification. IEEE Transactions on Neural Systems and Rehabilitation Engineering29, 699–707 (2021).https://doi.org/10.1109/TNSRE.2021.3071140

  13. [13]

    https://mne.tools/stable/auto_examples/decoding/decoding_csp_eeg.html (2025), accessed: 2025-10-03

    MNE-Python Developers: Decoding EEG with common spatial patterns (CSP). https://mne.tools/stable/auto_examples/decoding/decoding_csp_eeg.html (2025), accessed: 2025-10-03

  14. [14]

    Sensors19(6), 1423 (2019) 14 Matthew A

    Padfield, N., Zabalza, J., Zhao, H., Masero, V., Ren, J.: EEG-based brain-computer interfaces using motor-imagery: Techniques and challenges. Sensors19(6), 1423 (2019) 14 Matthew A. McCartney & Liisa A. Kivioja et. al

  15. [15]

    Journal of Machine Learning Research4(Dec), 1261–1269 (2003)

    Parra, L., Sajda, P.: Blind source separation via generalized eigenvalue decompo- sition. Journal of Machine Learning Research4(Dec), 1261–1269 (2003)

  16. [16]

    Neuroscience Letters239, 65–68 (1997)

    Pfurtscheller, G., Neuper, C.: Motor imagery activates primary sensorimotor area in humans. Neuroscience Letters239, 65–68 (1997)

  17. [17]

    Clinical Neurophysiology110(11), 1842– 1857 (1999)

    Pfurtscheller, G., Lopes da Silva, F.H.: Event-related EEG/MEG synchronization and desynchronization: basic principles. Clinical Neurophysiology110(11), 1842– 1857 (1999)

  18. [18]

    Pfurtscheller, G., Scherer, R., Neuper, C.: Eeg-based brain-computer interface. (2006)

  19. [19]

    In: ESANN 2024 – European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning

    Riascos, J., Molinas, M., Lotte, F.: Machine learning methods for BCI: challenges, pitfalls and promises. In: ESANN 2024 – European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning. ESANN (Oct 2024)

  20. [20]

    Identification of Sleep Patterns via Clustering of Hypnodensities,

    Rimbert, S., Trocellier, D., Lotte, F.: Impact of the baseline temporal selection on the ERD/ERS analysis for motor imagery-based BCI. In: 2023 45th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC). pp. 1–4. IEEE, Sydney, Australia (2023).https://doi.org/10.1109/ EMBC40787.2023.10340748

  21. [21]

    IEEE Trans- actions on Biomedical Engineering51(6), 1034–1043 (2004)

    Schalk, G., McFarland, D.J., Hinterberger, T., Birbaumer, N., Wolpaw, J.R.: BCI2000: A general-purpose brain-computer interface (bci) system. IEEE Trans- actions on Biomedical Engineering51(6), 1034–1043 (2004)

  22. [22]

    Knowledge-Based Systems194, 105596 (2020)

    Sengupta, S., Basak, S., Saikia, P., Paul, S., Tsalavoutis, V., Atiah, F., Ravi, V., Peters, A.: A review of deep learning with special emphasis on architectures, ap- plications and recent trends. Knowledge-Based Systems194, 105596 (2020)

  23. [23]

    Data in Brief54, 110181 (2024)

    Shuqfa, Z., Lakas, A., Belkacem, A.N.: Increasing accessibility to a large brain– computer interface dataset: Curation of physionet eeg motor movement/imagery dataset for decoding and classification. Data in Brief54, 110181 (2024)

  24. [24]

    Journal of Neural Engineering10(3), 031001 (2013)

    Thomas, E., Dyson, M., Clerc, M.: An analysis of performance evaluation for motor-imagery based BCI. Journal of Neural Engineering10(3), 031001 (2013)

  25. [25]

    Science and engineering ethics25(4), 1217–1233 (2019)

    Thompson, M.C.: Critiquing the concept of bci illiteracy. Science and engineering ethics25(4), 1217–1233 (2019)

  26. [26]

    Journal of Neural Engi- neering18(1), 016026 (2021)

    Tidare, J., Leon, M., Astrand, E.: Time-resolved estimation of strength of motor imagery representation by multivariate EEG decoding. Journal of Neural Engi- neering18(1), 016026 (2021)

  27. [27]

    EEG synthe tic data generation using probabilistic diffusion models,

    Tosato, G., Dalbagno, C.M., Fumagalli, F.: Eeg synthetic data generation using probabilistic diffusion models. arXiv preprint arXiv:2303.06068 (2023)

  28. [28]

    arXiv preprint arXiv:2506.05059 (2025)

    Xu, S., Negri, M.M., Roth, V.: Nimo: a nonlinear interpretable model. arXiv preprint arXiv:2506.05059 (2025)

  29. [29]

    Scientific Reports10(1), 2087 (2020)

    Zapała, D., Zabielska-Mendyk, E., Augustynowicz, P., Cudo, A., Jaśkiewicz, M., Szewczyk, M., Francuz, P.: The effects of handedness on sensorimotor rhythm desynchronization and motor-imagery BCI control. Scientific Reports10(1), 2087 (2020)

  30. [30]

    Zhang, Y., Zhou, G., Jin, J., Wang, X., Cichocki, A.: Optimizing spatial patterns with sparse filter bands for motor-imagery based brain–computer interface. Journal of Neuroscience Methods255, 85–91 (2015) Optimal Time Window and Frequency Bandwidth for MI Classification 15 Supplementary Figures Figure 4.2 MI EEG classification model Cohen’s Kappa obtaine...