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
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.
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
- 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
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.
Referee Report
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)
- [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)
- [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.
- [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
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
-
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
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
free parameters (2)
- time-window grid
- frequency-band grid
axioms (2)
- domain assumption EEG signals within each chosen time window are sufficiently stationary for CSP feature extraction.
- domain assumption Subject-specific training sets are large enough to avoid severe overfitting when parameters are optimized per person.
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclear?
unclearRelation 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.leanLogicNat induction unclear?
unclearRelation 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
-
[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)
work page 2010
-
[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]
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)
work page 2007
-
[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)
work page 2021
-
[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
work page 2000
-
[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)
work page 2024
-
[7]
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
work page doi:10.1016/j 2016
-
[8]
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)
work page 2025
-
[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)
work page 2021
-
[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)
work page 2014
-
[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)
work page 2023
-
[12]
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]
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
work page 2025
-
[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
work page 2019
-
[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)
work page 2003
-
[16]
Neuroscience Letters239, 65–68 (1997)
Pfurtscheller, G., Neuper, C.: Motor imagery activates primary sensorimotor area in humans. Neuroscience Letters239, 65–68 (1997)
work page 1997
-
[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)
work page 1999
-
[18]
Pfurtscheller, G., Scherer, R., Neuper, C.: Eeg-based brain-computer interface. (2006)
work page 2006
-
[19]
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)
work page 2024
-
[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]
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)
work page 2004
-
[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)
work page 2020
-
[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)
work page 2024
-
[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)
work page 2013
-
[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)
work page 2019
-
[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)
work page 2021
-
[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]
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]
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)
work page 2087
-
[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...
work page 2015
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.