ORIGINAL RESEARCH article

Front. Comput. Neurosci., 23 September 2026

Volume 20 - 2026 | https://doi.org/10.3389/fncom.2026.1947069

A high-precision synchronization and centroid-based framework for single-trial decoding of perceived natural speech

  • 1. Department of Electrical and Electronics Engineering, Universidad del Norte, Barranquilla, Colombia

  • 2. Department of Mechatronics Engineering, Institución Universitaria de Barranquilla, Barranquilla, Colombia

Abstract

Decoding natural speech from EEG is constrained by low signal-to-noise ratios, commonly addressed through event-related potential (ERP) grand averaging. However, this approach acts as a low-pass filter, obscuring trial-to-trial variability and high-frequency neural dynamics. To overcome these limitations, we propose an open-box, FPGA-synchronized framework for single-trial EEG analysis of Spanish vowels (/a/, /i/, /u/). The proposed architecture enforces sub-millisecond hardware determinism, eliminating software-induced temporal jitter and enabling robust extraction of high-frequency oscillatory features, including the Gamma band, without relying on averaged ERPs. This synchronization framework facilitates the separation of early exogenous sensory responses from late endogenous cognitive processing, while comprehensive ablation studies were performed to evaluate the effect of software-induced jitter on decoding performance. Results showed that introducing simulated jitter degraded classification performance to theoretical chance levels (33.20%), confirming hardware synchronization as a strict prerequisite for reliable single-trial decoding. The framework was further validated using a Centroid-PCA-SVM pipeline operating on a 16-channel spatial subset. Using the full proposed architecture, a grand mean classification accuracy of 67.70% was achieved, substantially exceeding the theoretical chance level of 33.33%. The across-participant mean of the maximum fold accuracies reached 83.00%, with individual validation folds achieving up to 90.00%. In contrast, zero-calibration leave-one-subject-out (LOSO) generalization remained at chance level (33.08%; κpooled = −0.0036), indicating limited cross-participant transferability and highlighting the current need for participant-specific calibration or alignment. Overall, these findings demonstrate that hardware-deterministic EEG acquisition enables the recovery of robust trial-by-trial brain dynamics that are typically obscured by conventional averaging approaches. By combining precise synchronization with low-latency algorithmic inference, the proposed framework establishes a foundation for real-time neural decoding and represents a stepping stone for practical brain-computer interfaces and advanced clinical monitoring applications.

1 Introduction

The decoding of speech processes from Electroencephalography (EEG) has predominantly relied on the extraction of Event-Related Potentials (ERPs) via grand averaging across multiple trials. While it has been hypothesized that single-trial data harbor sufficient discriminative information to characterize the underlying neural response to stimuli, leveraging such information remains a significant methodological challenge. Transitioning from ensemble averaging to single-trial analysis represents a fundamental departure from established analytical conventions, yet it is a critical requirement for the advancement of real-time Brain-Computer Interfaces (BCI). Historically, the widespread adoption of averaging has been obligated by the characteristically low Signal-to-Noise Ratio (SNR) of non-invasive neural recordings ().

Traditionally, researchers have worked with averaged ERPs to overcome these SNR limitations, often using closed-box systems that are not under the researcher's direct control. While averaging effectively cancels out stochastic background activity, it operates under the assumption of stationarity in both phase and latency—an assumption that is increasingly questioned in modern neuroscience, especially given the non-linear nature of neural oscillations (Sen et al., 2023). From a signal processing perspective, ensemble averaging acts as a low-pass filter that privileges phase-locked (evoked) activity while systematically canceling non-phase-locked (induced) oscillations. A critical methodological artifact arises when a neural component exhibits temporal jitter τi across trials. In such cases, the resulting average suffers from latency jitter-induced attenuation, or the smearing effect (). For speech decoding, this blurring is particularly detrimental, as it masks fine-grained temporal dynamics and high-frequency components—specifically within the Gamma band (>30Hz)—which are essential for the encoding of phonological features (Silva et al., 2024; Tallon-Baudry and Bertrand, 1999).

Biophysically, the human brain does not generate identical responses to identical auditory stimuli. Trial-to-trial variability is not merely “noise” to be suppressed; it represents the dynamic state of neural networks, including attentional shifts and the refractory periods of the primary auditory cortex (; Ribeiro et al., 2024). By transitioning to Single-Trial Analysis, we move away from the static template-matching paradigm toward capturing the Neural Manifold—a high-dimensional representation where each trial constitutes a unique trajectory in the spatiotemporal feature space. This approach is vital for decoding Long Latency Responses (LLR), where endogenous processes (linguistic interpretation) introduce higher variance than early exogenous sensory captures. However, a fundamental obstacle in Single-Trial decoding is the temporal uncertainty introduced by software-based stimulus delivery, which typically ranges from 5 to 20 ms (). In an averaging scheme, this jitter is indistinguishable from neurogenic variability.

Brain-Computer Interfaces have traditionally relied on exogenous paradigms, such as Visual Evoked Potentials (VEPs) or P300 spellers, and endogenous tasks like Motor Imagery (MI). However, decoding speech from neural activity introduces a unique level of complexity. Unlike MI, which is localized in the motor cortex, or P300, which reflects a task-related oddball response, perceived speech involves a highly distributed network encompassing the primary auditory cortex, Wernicke's area, and the inferior frontal gyrus (Winkler et al., 2013; Wani, 2024). A critical distinction within this architecture is the separation of the neural response into two phases: exogenous components (early latencies such as N100 and P200 that reflect physical acoustic properties) (), and endogenous components or Long Latency Responses (occurring beyond 200 ms, modulated by linguistic expertise and phonological significance) (; ).

Recent studies have highlighted that the use of synthetic or “robotic” stimuli fails to activate the full linguistic manifold of the brain. To establish a rigorous phonological mapping and provide a canonical benchmarking paradigm, it is highly effective to utilize the fundamental vowel space. The cardinal vowels (/a/, /i/, /u/) constitute the vertices of the vowel triangle, effectively maximizing the Euclidean distance within the first and second formant (F1, F2) space, as illustrated in Figure 1.

Figure 1

; ).

Using these phonological extremes ensures that the underlying Neural Manifold exhibits distinct spatiotemporal trajectories, thereby facilitating the evaluation of Single-Trial classifiers in a high-dimensional feature space. To ensure statistical power and replicability in the characterization of single-trial dynamics (Silva et al., 2024), our framework implements a rigorous protocol of 100 trials per class per subject using Perceived Uttered Natural Stimuli from native speakers (Rojas et al., 2016; ; ). This data density establishes the stability of Class Centroids and enables direct benchmarking against existing open-access datasets ().

To address these interconnected challenges, this study proposes a high-precision, FPGA-synchronized framework for the single-trial decoding of perceived natural speech. By enforcing sub-millisecond hardware determinism, this architecture effectively eliminates software-induced jitter, preserving the structural precision of high-frequency oscillatory features without the need for trial averaging. We validate this temporal transparency by introducing a novel Centroid-PCA-SVM pipeline applied to a robust high-density setup with 64 active electrodes (BioSemi ActiveTwo) recorded at 2048 Hz.

Unlike approaches based on regulated recurrent neural network reservoirs () or frequency-band coupling models (), our framework simultaneously processes Perceived Uttered Natural Stimuli from native speakers while maintaining full temporal transparency. Instead of feeding raw data into deep neural networks—which may capitalize on temporal-autocorrelation features inherent to the stimuli and/or non-interpretable artifacts in jitter-prone datasets–our framework validates the neurophysiological integrity of each trial, isolating the exogenous sensory response from the endogenous linguistic processing.

Specifically, the contributions of this work are three-fold:

  • A hardware-synchronized, open-box acquisition framework: a hardware-deterministic acquisition architecture based on FPGA that achieves sub-millisecond synchronization, eliminating the confounding effects of temporal jitter on Single-Trial phase estimation.

  • An interpretable single-trial feature extraction methodology: a transparent feature engineering pipeline based on explicit feature (latency and phase) extraction post hard syncing, plus sub-band decomposition backed by a neuroscience and neurolinguistics criterion for electrode reduction and a distance-based method for class membership. This approach enables the identification of discriminative neural manifolds, all without the opacity typically associated with deep learning architectures.

  • Experimental validation and spatiotemporal mapping: we demonstrate that Perceived Uttered Natural Stimuli can be decoded with high precision (up to 90.00% for specific subjects, with a minimum of 40.00% and an average of 67.7%) using a high-resolution 2048 Hz dataset, while identifying a reduced subset of active channels that correspond to stable spatiotemporal windows of neural activity.

2 Materials and methods

2.1 Experimental design and participants

2.1.1 Participants and ethics

For stimuli response evaluation, a total of 20 healthy volunteers (14 males, 6 females; age range 18–31), all native Spanish speakers with no history of neurological or hearing impairments, participated in the study. This participant sample size (N = 20) was determined based on prior Single-Trial EEG speech-decoding literature to ensure sufficient statistical power to classify neural responses to phonetic stimuli. Overall, the 20 subjects corresponded to a sample size of 100 single trials per vowel per subject, except for Subject 3, who completed 50 trials per vowel before voluntarily withdrawing during the inter-session rest period. All participants provided written informed consent prior to the experiment.

The study protocol was strictly conducted in accordance with the Declaration of Helsinki and was formally approved by the Institutional Ethics Review Board (Internal Act No. 273, July 28, 2022).

For stimuli recording, 5 healthy Spanish native speakers (3 males, 2 females) volunteered. There was no overlap between the voice recording volunteers and the subjects for stimulus-response assessment.

2.1.2 Stimuli: natural vowel corpus and robustness

Speech decoding from EEG is typically done either by decoding synthetic formants or by decoding real speakers. Both approaches are based on the sounds located at the vocalic map corner as the starting point for stimulus selection due to the easy representation of these stimuli and how it is assumed that the brain processes this kind of stimuli, as those vowels are unequivocally different (distant) from each other, thus creating an adequate condition for discrimination.

Also, according to the vocalic map, the phonemes at the corners of the map show similar distributions across languages; this allows comparisons between speech decoders for languages with similar vowel maps, in this case, Cantonese, Korean, English, and Spanish. Thus, the main phonemes used as starting points to discriminate perceived speech are based on its first two frequency components (formants), regardless of the language of the study. For the Spanish case, the sounds /a/, /i/, or /u/ meet these requirements or their equivalents in Cantonese, Korean, or English, as is shown in Figure 1, allowing us to establish similarities, at least in the first stage of the hearing process.

The English language quadrant in Figure 1 includes examples of words with different meanings, but that sound similar to a non-native speaker—an exogenous response; due to the fact that, cognitively, the speech decoding of these sounds is entirely an endogenous process to native speakers, they are easily distinguishable.

Many studies suggest that participants' exposure to synthetic phonemes' pure components (formants) allows for discrimination in different languages when EEG signals are used (; ) with a significant performance over 75% applying a one-vs-one classification over the three sound classes discussed above. Since the auditory cortex has a specific structure for processing the frequency of sounds perceived through the ear (), these detection rates are based on the activation or deactivation of these substructures; hence, a process highly related to a physiological response rather than a cognitive one: the exogenous process itself, discussed previously. In other words, multiple participants' brain activity will be the same when the stimuli are drawn from languages with similar vocalic maps, because the brain's response is exogenous, regardless of the participant's language.

In contrast, decoding EEG responses elicited by natural speech is generally less stable than decoding responses to isolated synthetic formants (; ; ). Across the broader single-trial literature, results remain highly heterogeneous, and reliable decoding is not consistently reproduced across participants, datasets, or validation protocols, even when reservoir networks, multilayer perceptrons, ensemble classifiers, and attention-based architectures are employed (; ; Wang et al., 2026; ). This difficulty may arise because natural speech does not evoke an easily isolated activation or deactivation pattern within the auditory cortex. Nevertheless, perceived-stimulus information is present in distributed activity involving higher-order linguistic interpretation, reasoning, and memory access. These responses recruit multiple brain regions, emerge at longer latencies, and are therefore primarily associated with endogenous processing (Paulesu et al., 2000).

Recent studies nevertheless show a notable trend toward increasingly sophisticated methods for decoding perceived speech from EEG, combining spatiotemporal and frequency-domain features, time–frequency decomposition, neural networks, ensemble methods, and attention mechanisms (; ; Wang et al., 2026; ). However, greater model complexity alone has not produced uniformly robust single-trial decoding, because outcomes remain sensitive to low signal-to-noise ratios, temporal alignment, inter-subject variability, class definitions, and validation design. Although Spanish-language datasets remain limited, studies conducted in languages with comparable vowel maps can provide descriptive reference points when the stimuli occupy similar positions in formant space and are presented to native speakers. Across these languages, auditory processing can be broadly characterized by an early, rapid response associated mainly with exogenous processing, followed by a later and more distributed response associated with endogenous linguistic and cognitive processing.

Accordingly, classifiers developed in languages other than Spanish can provide contextual reference values when they use comparable vowel classes and experimental conditions. Such comparisons should remain descriptive rather than be interpreted as direct benchmarks, because the reported outcomes depend on the dataset, cohort, class definitions, preprocessing, and validation protocol. Linguistic comparability is also strengthened when participants perceive stimuli in their native language, preserving the relationship between the acoustic token and its phonological interpretation (Paulesu et al., 2000). This consideration is particularly relevant because Spanish-language EEG datasets and validated single-trial speech classifiers remain scarce.

To evaluate our framework's robustness in ecological scenarios, we used a Natural Vowel Corpus rather than synthetic or MIDI-generated sounds, as is common in the literature. The stimuli consisted of the Spanish corner vowels (/a/, /i/, /u/), which are optimal for phonetic decoding due to their extreme positions in the F1-F2 formant space and their acoustic stationarity ().

The stimuli were recorded from 5 native speakers (3 males, 2 females)—who were entirely independent of the experimental cohort used for EEG data acquisition–to avoid speaker-specific and self-recognition bias. Vowels were extracted from natural continuous speech (e.g., the phrase “letter /a/”) using high-fidelity recording equipment (100 Hz–10 kHz frequency response, -38 dB sensitivity) and post-processed for normalization. Each trial consisted of a non-semantic cue sound, a 1-s rest period, and the target vowel sound, as presented in Figure 2.

Figure 2

To prevent anticipatory errors, habituation, and adaptation to a specific acoustic fingerprint, the experimental sequence was highly controlled. The inter-stimulus interval (ISI) and the trial order—including the random selection of which of the 5 native speakers' voices was presented for any given vowel trial—were randomized using the Mersenne Twister algorithm. Each subject completed a total of 340 trials (100 per vowel class, 20 white noise, and 20 silence), distributed across two recording sessions. The inclusion of this natural variability (intonation, duration, vocal timbre, and alternating speakers) ensures that the Single-Trial features captured by our FPGA-based system are representative of real-world generalized speech processing, rather than over-fitted to idealized, repetitive synthetic waveforms.

2.1.3 FPGA-based hard synchronization

While software-triggered markers (e.g., Psychtoolbox, parallel-port pulses) are widely used in ERP experiments, they typically introduce 5 to 30 ms of non-deterministic latency jitter due to Operating System (OS) background scheduling and audio buffer delays. This variability critically undermines the temporal integrity required for single-trial analysis without grand averaging (Sanfins et al., 2018; ). Specifically, such temporal jitter severely misaligns the phase of high-frequency EEG responses across trials; for instance, a 40 Hz Gamma oscillation has a period of 25 ms, meaning that a 10 ms timing error results in substantial phase cancellation.

To overcome this limitation and preserve high-frequency phase dynamics, we implemented a custom hardware-based synchronization unit on an Intel Cyclone IV EP4CE115 FPGA at the Register-Transfer Level (RTL), following the architecture detailed in . An analysis of the synthesized VHDL top-entity indicates that the internal logical latency is restricted to two 50 MHz clock cycles (40 ns) for threshold detection and state-machine triggering. Consequently, the maximum temporal jitter of the system is strictly bounded by the 48 kHz sampling period of the integrated audio codec, equating to a deterministic resolution of .

The operational flow consists of three core stages:

  • Acoustic onset detection: an internal digital comparator and filtering stage identify the exact moment of stimulus onset by detecting when the audio signal crosses a predefined voltage threshold within the 40 ns logical window.

  • Deterministic timestamping: upon detection, the FPGA simultaneously routes the audio stream to the subject and generates a high-priority TTL pulse. This marker is embedded directly into the EEG bitstream, ensuring strict temporal alignment between the neural signal and the stimulus event.

  • Experiment flow control: the system utilizes physical push-buttons and an internal trial-counter register to automate the sequence of vowels (/a/, /i/, /u/), maintaining synchronization accuracy strictly within the < 21 μs hardware bound.

By enforcing this hardware-guaranteed determinism, the synchronization framework ensures that every single-trial epoch is temporally faithful to the acoustic stimulus. Eliminating OS-induced delays and bounding jitter to the microsecond scale preserves the trial-to-trial phase alignments of the recorded signals. This temporal precision is necessary for the subsequent extraction of phase-locked high-frequency oscillatory features, including the Gamma band, without relying on the low-pass filtering effects inherent to traditional grand averaging techniques.

2.1.4 Data acquisition and recording setup

As presented in Figure 2, EEG data were acquired using a Biosemi Active Two system with 64 active electrodes arranged according to the international 10-20 system. Additionally, 8 external (EXG) channels were used: 7 for monitoring ocular (EOG) and cardiac (ECG) artifacts, and the 8th as a reference electrode placed on the earlobe. Signals were digitized at a high sampling rate of 2,048 Hz, providing the temporal resolution necessary to capture the phase-locked endogenous responses described previously.

To prevent anticipatory errors and habituation, the inter-stimulus interval (ISI) and trial order were randomized using the Mersenne Twister algorithm. Each subject completed a total of 340 trials (100 per vowel class, 20 white noise, and 20 silence), distributed across two recording sessions. To mitigate the effects of mental fatigue and ensure optimal cognitive engagement, a self-paced rest period was implemented between sessions. While participants were encouraged to resume only when fully ready to ensure comfort, the average rest duration was approximately 5 min. To monitor sustained attention and cognitive workload throughout the recording, a randomized behavioral validation task was integrated into the protocol. Specifically, an interactive dialog box appeared at unpredictable intervals, requiring the subject to identify the last stimulus heard. The stochastic nature of these queries introduced a “gamification” element, as participants were unaware of which trials would be evaluated, thereby enforcing continuous focus on the acoustic stimuli to ensure task accuracy.

The resulting dataset contains 340 single trials, with 100 per vowel per subject, plus the single trials corresponding to the response to the noise and silence samples. All trials were time-stamped via HardSyncing, and to the best of our knowledge, this represents the first single-trial dataset with hard synchronization stamps based on the subject's real sound perception, recorded from natural sounds uttered by native speakers, and with a large amount of single-trial samples per sound.

2.2 Signal preprocessing and biophysical artifact mitigation

Prior to hardware mapping and architectural synthesis, the continuous recorded raw EEG telemetry was preprocessed offline to maximize the physiological signal-to-noise ratio (SNR) and isolate true cortical speech-endogenous features. To prevent the injection of boundary discontinuities and filter-induced edge artifacts that inherently corrupt single-trial classification, all physiological and environmental artifact mitigation steps were executed systematically within the continuous time-series domain before any epoch segmentation.

Ocular, myogenic, and cardiac contamination were attenuated via an unsupervised, robust linear regression framework. To capture comprehensive noise dynamics, eight specialized external reference electrodes were employed: four dedicated to electrooculographic (EOG) and electromyographic (EMG) interference, three to cardiac activity (ECG), and one placed on the right earlobe acting as the system's structural reference for consistent baseline stability. Specifically, two EOG electrodes were positioned superior and inferior to the right orbit, and two EMG electrodes were placed immediately caudal to the left and right sphenoid processes to capture localized activity from the temporalis and masseter muscles.

Let Yraw(c, t) represent the continuous voltage amplitude of a cortical EEG channel c at time t, and let denote the seven-dimensional vector of concurrent noise profiles recorded from the EOG, EMG, and ECG reference channels. The artifact-free neural signal Ycorrected(c, t) was estimated by isolating and subtracting the linear projection of the noise space, as presented in Equation 1:

where βc represents the vector of channel-specific transfer coefficients calculated via ordinary least squares (OLS) minimization over the continuous unsegmented recording. Given the approximately linear coupling of these physiological potentials at the scalp level, this OLS approach provides an efficient noise-cancellation baseline. Because this regression matrix estimation is mathematically unsupervised and blind to phonemic class labels, it inherently preserves the absolute independence of the downstream validation boundaries. This structural attenuation effectively isolates true cortical potentials from ocular vectors, involuntary acoustic-myogenic tension, and cardiac transients that natively couple to natural speech perception.

Following continuous artifact subtraction, the corrected signal was bandpass filtered within an extended neuromodulatory spectrum (1.5–60 Hz). This upper cutoff boundary was selected to ensure the complete retention of high-frequency cortical oscillations while inherently attenuating standard electrical power-line interference (≥60 Hz). The filtering pipeline was parameterized using the fdesign object specifying a 4th-order digital Butterworth response, implemented via its butter method. To enforce a strict zero-phase distortion profile across all channels, the filter coefficients were applied bi-directionally (forward and backward) using the filtfilt function, preventing group delay artifacts and preserving the strict temporal alignments essential for high-precision single-trial decoding.

2.3 Sub-band decomposition and frequency analysis

Traditional ERP analysis often fails to capture the non-stationary dynamics of single-trial EEG due to the low Signal-to-Noise Ratio (SNR) of individual epochs. To address this, we adopt a multi-scale sub-band analysis framework, decomposing the signal into α (8–13 Hz), β (14–30 Hz), and γ (31–60 Hz) bands. This spectral characterization resolves previous definitional inconsistencies by aligning the upper boundary of the Gamma band with the global 60 Hz preprocessing filter. This allows for the identification of high-frequency features that remain robust even in the absence of consistent time-domain peaks in single trials ().

The selection of these specific bands is grounded in their distinct functional roles during auditory perception:

  • Alpha (α): associated with cortical inhibition and the modulation of attentional resources toward the auditory stimulus.

  • Beta (β): linked to active linguistic processing and the maintenance of the cognitive set during phonological identification.

  • Gamma (γ): critical for perceptual binding and high-level attention. Our results indicate that γ activity is paramount for distinguishing between semantic (vowels) and non-semantic (noise) content, particularly in fronto-temporal regions. The extraction of these dynamics is directly facilitated by the jitter-free environment provided by our FPGA synchronization.

By integrating this sub-band decomposition with spatial information, we observed differential neural activation patterns correlated with the temporal evolution of the response. As illustrated in Figure 3, brain activity significantly diverges between stimulus types at two critical latencies. The 100 ms mark corresponds to the N100 component, an exogenous response triggered by the abrupt onset of acoustic energy, temporally anchored by our FPGA-based trigger. Subsequently, the 175–200 ms window aligns with the P2 component, which exhibits high sensitivity to voice signals and endogenous semantic categorization (Winkler et al., 2013).

Figure 3

This dual-domain approach (spectral-temporal) ensures that the feature vector provided to the classifier contains both the physical properties of the sound and the subsequent cognitive recognition of the vowel.

2.4 Centroid-based correlation algorithm

A significant barrier in single-trial EEG decoding is the presence of non-task-related physiological noise and environmental artifacts, which often mask the low-amplitude endogenous components associated with phonetic processing (; ). To mitigate this without resorting to traditional cross-subject ERP grand averaging—which inherently obliterates individual trial-by-trial variability and acts as an unintentional low-pass filter—we implemented an intra-subject Centroid-Based Correlation Algorithm.

It is crucial to structurally distinguish this algorithm from standard ERP grand averaging. Traditional grand averaging computes the mean of EEG epochs across multiple subjects and trials to yield a single, smoothed waveform for final analysis. This conventional approach effectively destroys single-trial phase dynamics and precludes real-time decoding. In contrast, our proposed algorithm strictly isolates the training and testing domains. The computed centroid (Ck) serves exclusively as an intra-subject, class-specific matched filter derived solely from the training set, enabling the validation phase to remain strictly on un-averaged, single-trial data.

For each vowel class k ∈ {/a/, /i/, /u/}, the centroid Ck is computed within each specific frequency sub-band (α, β, γ). Mathematically, it is defined as the mean vector of all temporally synchronized trials within the training partition, and described in Equation 2:

where Xi is the voltage-time vector of an individual training trial and ntrain denotes the total number of epochs for that class in the training subset.

Because the underlying framework enforces a high-precision, hardware-driven clock synchronization, the temporal alignment across trials is preserved at a microsecond level. Under this strict phase-locking condition, the linear summation in the time domain avoids the classic phase-cancellation artifacts observed in software-triggered ERPs. Instead, components with consistent phase relationships relative to the stimulus onset undergo constructive interference. Consequently, the resulting centroid vector Ck retains high-frequency oscillatory fidelity and implicitly encodes both the time-varying amplitude profiles and the dominant phase distribution of the specific phonemic class.

During feature extraction, an unseen, un-averaged single test trial is projected into a correlation space using these high-fidelity training centroids. Conversely, non-phase-locked background noise and stochastic oscillatory components undergo destructive interference during this projection, thereby enhancing the class-specific signal-to-noise ratio (SNR) while strictly preserving the unique transient dynamics necessary for true single-trial discrimination.

2.5 Spatiotemporal feature vector formulation

Building upon the robust class-specific centroids (Ck) established through coherent phase-filtering, the subsequent step quantifies the spatio-temporal similarity between any unclassified single-trial observation and these derived templates across all frequency bands of interest.

Let represent the matrix of the i-th single-trial epoch filtered in the frequency band b ∈ {α, β, γ}. For this trial, a spatial Pearson correlation matrix is computed against each of the three class centroids , as presented in Equation 3:

This operation yields a set of correlation matrices that capture the degree of topographical and morphological alignment between the incoming trial and the expected evoked responses of each vowel class across the alpha, beta, and gamma rhythms.

To transform these multidimensional correlation structures into a format compatible with linear classification architectures, we apply a vectorization operator vec(·), which flattens each matrix into a one-dimensional column vector. Consequently, the comprehensive high-dimensional feature vector for the i-th trial is formed by the sequential concatenation of the vectorized correlation matrices for all classes k and frequency bands b, as described in Equation 4:

Finally, to mitigate the curse of dimensionality and eliminate potential collinearity among the concatenated spatial features, Principal Component Analysis (PCA) is applied to the full training matrix composed of all fi vectors. The eigenspace is truncated to retain only the subset of principal components that cumulatively explain at least 95% of the total variance, projecting both the training and testing datasets into an optimal lower-dimensional manifold prior to classification.

2.6 Electrode selection and dimensionality reduction

To optimize the signal-to-noise ratio (SNR) and minimize the computational overhead for real-time applications, the overall dimensionality of the system was managed through a dual-stage strategy: an initial physiological spatial filtration, followed by the previously defined statistical compression (PCA).

Traditional 64-channel setups capture significant volume conduction and redundant information that typically leads to overfitting in single-trial classification. Therefore, the first stage involved a spatial reduction based on the observed Event-Related Desynchronization (ERD) in the α band and Event-Related Synchronization (ERS) in the β and γ bands. By integrating the spatial power distribution across trials, we identified a consistent pattern of electrode behavior associated with semantic vowel processing (see Figure 4). Electrodes were classified as “Top Performers” if they consistently exhibited minimum power in the α band (indicating attentional engagement) and peak power in the β and γ bands (reflecting endogenous phonological decoding).

Figure 4

This neurophysiologically driven procedure reduced the input space from 64 to 16 optimized channels (a 75% reduction in spatial dimensionality). The selected electrodes—AF8, F8, AF7, F7, Fp2, Fp1, FpZ, FT7, FT8, T8, P10, T7, TP8, Iz, P9, and TP7—are strategically localized in regions critical for auditory processing and language comprehension, as shown in Figure 5. Notably, this subset captures activity from the auditory cortex and the lateral prefrontal cortex, areas previously linked to superior cognitive activities and semantic categorization (; ).

Figure 5

The integration of this spatial optimization with the centroid-based feature formulation establishes the structural prerequisite for the final PCA stage. As introduced in Section 2.5, PCA is applied to the vectorized correlation matrices (fi) rather than the raw EEG epochs. This specific architectural sequence is mathematically critical to the pipeline's success: applying PCA directly to raw, high-density single-trial EEG primarily generates principal components that maximize background physiological stochasticity (noise). In contrast, by restricting the spatial domain to the 16 optimized channels and subsequently applying PCA strictly to the centroid-projected feature vectors, the algorithm effectively compresses the preserved phase-locked phonological variance. This sequential combination guarantees the elimination of redundant collinearities without modeling random noise.

Refining the feature extraction through this optimized spatial subset highlights subtle latency variations and phase shifts that are typically masked in traditional ERP averaging. As illustrated in the Phase Spectrum analysis (Figure 6), the use of the Discrete Fourier Transform (DFT) over the window of interest reveals class-specific local maxima. These phase-based features, strictly preserved by the FPGA synchronization, provide high discriminative power for Single-Trial decoding, capturing the endogenous neural dynamics that differentiate between the phonemes /a/, /i/, and /u/.

Figure 6

3 Results

To validate the proposed framework, it is critical to assess the discriminative power of the class features obtained using our methodology. These feature vectors could represent a paradigm shift in the use of single-trial EEG for common BCI applications by successfully bypassing the traditional reliance on grand-averaged responses. Figure 7 illustrates the overall system schema, detailing the training and testing pipelines of the classifier within our proposed framework.

Figure 7

To rigorously evaluate the framework's efficacy, we benchmarked the extracted features against standard decoding pipelines. Specifically, we implemented a single-trial Spanish vowel speech decoder, designed to test whether our sub-band centroid-based feature space captures sufficient neural information to perform robust classification in the complete absence of ensemble averaging.

To independently assess the contribution of each module of our pipeline, ablation studies were performed and the results are presented in Section 3.3

3.1 Spatiotemporal feature mapping

The neurophysiological validity of the framework is grounded in the mapping of spatiotemporal characteristics across different frequency bands. Principal Component Analysis (PCA) was employed to visualize how the framework organizes noisy trials into discriminable clusters.

3.1.1 Sub-band dynamics and electrode optimization

The response to semantic stimuli was characterized by a distinct spectral signature across three sub-bands:

  • Alpha (α, 8–13 Hz): consistent Event-Related Desynchronization (ERD) was observed, indicating the allocation of attentional resources toward the auditory stimulus.

  • Beta (β, 14–30 Hz) and Gamma (γ, ≥31 Hz): these bands exhibited Event-Related Synchronization (ERS) linked to endogenous linguistic processing and phonological identification.

By applying a criterion of minimum Alpha power and maximum Beta/Gamma power, the input dimensionality was reduced by 75% (from 64 to 16 optimized electrodes). The selected subset (including FT7, FT8, T7, T8, and Iz) aligns with the primary auditory cortex and lateral prefrontal regions, areas traditionally involved in semantic categorization and superior cognitive activities. This targeted electrode selection further explains why the baseline approach—which did not employ such frequency-band optimization—failed to extract discriminable information from the synchronized signals.

3.1.2 Neural manifold and cluster organization

To address the challenges of low SNR in single trials, the system utilized Feature Vector Seeds derived from the Pearson correlation (r) between individual trials and class centroids (Ck).

The PCA projection (Figure 8) confirms that while raw signals exhibit total overlap—consistent with the poor performance observed in the baseline evaluation—the correlated feature vectors reveal well-defined clusters for each phoneme. This transformation effectively captures the trajectory of the “Neural Manifold” within the 100–300 ms window. The first three principal components were used for graphical presentation, proving that the discriminative information for vowels is not stochastic but resides in stable spatiotemporal windows corresponding to Long Latency Responses (LLR). The contrast between the overlapping raw data clusters and the well-separated final feature vectors provides visual corroboration of the quantitative improvement observed when comparing the baseline (35.80%) and proposed (67.70%) mean accuracies.

Figure 8

3.2 Feature space isolation and leakage-free cross-validation

To evaluate the generalization performance of the proposed Centroid-Based Correlation Algorithm and the downstream SVM classifier, a rigorous K-fold cross-validation (K = 5) scheme was implemented on a per-subject basis to characterize intra-individual decoding stability. In every fold, 80% of the participant's EEG trials were allocated to training and the remaining 20% were reserved for testing. To maintain strict separation between these partitions and minimize the risk of data leakage, all dimensionality-reduction parameters and class centroids were computed exclusively from the training folds for each participant.

Let Xtrain represent the matrix containing the single-trial segments from the K − 1 folds allocated for training, and let Xtest denote the completely unseen trials from the remaining single fold reserved for testing. The spatial optimization via Principal Component Analysis (PCA) was parameterized exclusively on the training matrix using Singular Value Decomposition (SVD), which is described in Equation 5:

where μtrain is the empirical row-mean vector calculated solely from Xtrain, and V represents the orthogonal matrix of principal component coefficients (coeff).

The optimal number of latent dimensions d (num_comp) was dynamically selected in each cross-validation iteration to satisfy a strict cumulative variance threshold, calculated as presented in Equation 6:

where λi represents the percentage of variance explained by the i-th eigenvalue. The low-dimensional training feature space was then mapped as presented in Equation 7:

The class centroids defining the core reference patterns of the Centroid-Based Correlation Algorithm were computed exclusively over the coordinates of Xtrain, pca for each vowel class.

To guarantee that no predictive priors or empirical distributions from the testing set contaminated the training phase, the test partition Xtest was treated as completely blind out-of-sample data, as shown in Equations 8 and 9, where the projection of the test trials into the pre-established latent space was performed strictly using the training-derived transformation matrices:

By projecting Xtest through μtrain and V1:d rather than re-estimating the coefficients or the mean globally, the validation boundaries remain independent of the held-out EEG epochs. This conservative protocol substantially reduces the possibility that the performance gap between the baseline (35.80%) and proposed (67.70%) methods arises from feature-transformation or centroid leakage.

Regarding acoustic-stimulus allocation, the five native speakers who recorded the auditory tokens were entirely distinct from the 20 participants whose EEG responses were analyzed, thereby avoiding speaker–participant identity overlap. Because the five stimulus voices were randomly interspersed throughout the recording sessions, tokens produced by the same speaker could appear in both the training and testing folds. Nevertheless, these partitions contained mutually exclusive EEG epochs, and the classifier received neurophysiological responses rather than audio waveforms as input.

Accordingly, this design minimizes epoch-level leakage and evaluates generalization to unseen EEG trials from a calibrated participant while retaining the same pool of stimulus speakers. It should not be interpreted as speaker-independent or token-independent generalization to previously unheard voices or recordings. A future validation in which stimulus speakers or individual audio tokens are held out would provide a stricter test of whether the decoded representation is invariant to speaker identity and token-specific acoustics.

3.3 Ablation Study: quantifying the isolated contributions of each module

To rigorously isolate and quantify the specific performance gains provided by each technical component of our architecture, we consolidated our evaluations into a comprehensive ablation study. The evaluation follows a systematic, step-by-step progression across five distinct configurations to prove that each module plays an irreplaceable role in single-trial decoding.

3.3.1 Performance metrics and pooled Cohen's kappa

To ensure a robust and unbiased performance assessment across all ablation tiers, both single-trial classification accuracy and chance-corrected agreement (Cohen's κ) were computed from out-of-fold predictions. Accuracy was first calculated for each participant and configuration and was then summarized across subjects as the mean ± standard deviation (SD). For the cohort-level agreement statistic, the subject-level confusion matrices were summed within each configuration to obtain a single pooled confusion matrix N = [nij], where rows denote the true vowel labels and columns denote the predicted labels. Thus, κpooled was calculated from all pooled test decisions rather than as the arithmetic mean of the individual-subject κ values.

Let be the total number of pooled test decisions for the K = 3 target classes (/a/, /i/, /u/), and define the cell and marginal proportions as described in 10.

The observed and chance-expected agreements are calculated using Equation 11.

and the pooled coefficient is therefore calculated as described in Equation 12

following the definition of Cohen's kappa ().

The standard error was obtained from the non-null large-sample variance estimator of Fleiss, Cohen, and Everitt (). For the pooled proportions defined above, its components are described in Equations 13–15.

yielding Equation 16.

When required, the two-sided 95% confidence interval was calculated as κpooled ± 1.96SE and truncated to the admissible interval [−1, 1]. This dual-metric evaluation—across-subject mean accuracy with SD alongside κpooled with SE—accounts for the chance agreement implied by the empirical class marginals and provides a consistent basis for comparing the architectural tiers below.

3.3.2 Group 1: the critical necessity of hardware synchronization (software jitter baseline)

To address the fundamental premise of our framework–that sub-millisecond hardware determinism is strictly required for single-trial high-frequency decoding–we first established a baseline evaluating the impact of traditional software-based synchronization. To mimic the latency variability inherent to standard USB-based triggers and non-real-time operating systems, a synthetic temporal jitter (±30 ms) was artificially introduced into the data prior to the feature extraction pipeline.

As detailed in Table 1, the introduction of this temporal jitter completely degrades the system's decoding capability, even when utilizing the full Centroid-PCA architecture. The global mean accuracy collapsed to 33.20% (κ = −0.001), which is statistically indistinguishable from the theoretical chance level (33.33% for a 3-class paradigm). This severe phase misalignment obliterates the phase-locked high-frequency spatial patterns, rendering the algorithm unable to extract discriminative features. These baseline results decisively prove that algorithmic refinement alone is insufficient if the structural precision of the signal is compromised; sub-millisecond hardware synchronization is a mandatory prerequisite.

Table 1

SubjectAccuracyKappa (κ)
10.271−0.094
20.3480.023
30.300−0.050
40.3980.098
50.3550.033
60.3530.029
70.3440.016
80.3530.030
90.3620.043
100.288−0.069
110.318−0.024
120.312−0.033
130.327−0.010
140.3730.059
150.3500.025
160.312−0.033
170.3450.018
180.3420.013
190.322−0.018
200.265−0.103
Summary0.332±0.034−0.001 (0.007)

Ablation group 1: baseline decoding performance under simulated software-induced temporal jitter (±30 ms).

Accuracy is reported as a proportion and individual values are rounded to three decimal places. In the final row, accuracy is summarized as the across-subject mean ± standard deviation (SD), whereas Cohen's κ is reported as the pooled estimate with its standard error in parentheses, κpooled (SE). This ablation applies simulated software-induced temporal jitter (±30 ms) to the full classification pipeline. The resulting mean accuracy (0.332) and pooled κ (−0.001) indicate performance at the theoretical chance level (0.333) and no agreement beyond chance.

3.3.3 Group 2: hardware synchronization alone is insufficient (broadband raw EEG)

Having established the critical necessity of hardware-level synchronization, we next evaluated whether this precise temporal alignment alone is sufficient for single-trial decoding. To test this, we processed the fully FPGA-synchronized broadband EEG dataset using a standard classification pipeline, bypassing our specific sub-band and Centroid-Based Correlation algorithms entirely.

As shown in Table 2, while hardware determinism guarantees phase integrity, applying traditional classification approaches to raw synchronized data still fails to decode speech dynamics on a single-trial basis. The global mean accuracy only reached 35.80% (κ = 0.035 for 16 channels and 35.7% for 64 channels), remaining near chance levels. This reveals that the low signal-to-noise ratio inherent to un-averaged single trials masks discriminable neural representations, motivating the need for advanced feature-space refinement.

Table 2

Subject16CH RAW ALL64CH RAW ALL
AccuracyKappa (κ)AccuracyKappa (κ)
10.3570.0350.325−0.013
20.3450.0180.3340.001
30.4600.1900.4550.183
40.3650.0480.3810.071
50.3670.0500.3550.033
60.3400.0100.3550.033
70.3860.0790.4040.106
80.3490.0240.4030.105
90.3640.0460.3690.054
100.4030.1050.3900.085
110.3480.0210.3330.000
120.3490.0240.3670.050
130.311−0.0340.3420.013
140.3500.0250.3340.001
150.3790.0690.325−0.013
160.317−0.0250.3530.030
170.321−0.0190.299−0.051
180.3430.0150.305−0.043
190.3700.0550.3670.050
200.3580.0360.3340.001
Summary0.359±0.0330.035 (0.007)0.357±0.0370.031 (0.007)

Ablation group 2: decoding performance on FPGA-synchronized broadband EEG without subband decomposition, centroid, or PCA processing.

Accuracy is reported as a proportion and individual values are rounded to three decimal places. In the final row, accuracy is summarized as the across-subject mean ± standard deviation (SD), whereas Cohen's κ is reported as the corresponding pooled estimate with its standard error in parentheses, κpooled (SE). This ablation compares 16- and 64-channel FPGA-synchronized broadband EEG without subband decomposition, centroid construction, or PCA. The mean accuracies (0.359 and 0.357) and small pooled κ values (0.035 and 0.031) indicate performance only marginally above the 0.333 chance level.

3.3.4 Group 3: spectral isolation without spatial-temporal mapping (sub-bands only)

Progressing to the third tier, we evaluated whether isolating frequency bands (Alpha, Beta, and Gamma) on FPGA-synchronized data without computing centroids or PCA could achieve single-trial separability.

As shown in Table 3, Group 3 decoding performance remained close to chance across all individually analyzed frequency bands. Alpha-band configurations achieved 36.6%–36.8% accuracy (κpooled = 0.045–0.050), Beta-band configurations achieved 34.4%–35.0% (κpooled = 0.014–0.025), and Gamma-band configurations fell slightly below chance at 32.5%–32.9% (κpooled ≤ −0.008). Overall, isolating individual frequency bands was insufficient without an effective spatiotemporal feature-mapping stage.

Table 3

Subject16CH RAW ALPHA64CH RAW ALPHA16CH RAW BETA64CH RAW BETA16CH RAW GAMMA64CH RAW GAMMA
AccuracyKappa (κ)AccuracyKappa (κ)AccuracyKappa (κ)AccuracyKappa (κ)AccuracyKappa (κ)AccuracyKappa (κ)
10.328−0.0090.317−0.0250.3530.0290.3550.0330.3570.0350.328−0.009
20.3610.0410.306−0.0410.3700.0550.3580.0380.297−0.0550.285−0.073
30.4320.1480.4630.1950.3600.0400.3930.0900.3650.0480.3980.098
40.3890.0840.3650.0480.3740.0610.3880.0810.3470.0200.320−0.020
50.3780.0660.3470.0200.3600.0400.3600.0400.3420.0130.330−0.005
60.311−0.0340.3440.0160.3770.0650.313−0.0300.322−0.0170.3340.001
70.4030.1050.3720.0580.3780.0680.3830.0750.3590.0390.3420.013
80.3530.0300.3620.0430.3440.0160.3900.0850.325−0.0130.303−0.046
90.3600.0400.3850.0780.3460.0190.303−0.0460.310−0.0350.319−0.021
100.5110.2660.4890.2340.328−0.0090.301−0.0490.323−0.0160.317−0.025
110.3450.0180.3490.0240.3430.0140.3430.0140.3330.0000.318−0.022
120.3360.0040.3580.0380.319−0.0210.3600.0400.322−0.0180.332−0.003
130.3460.0190.4000.1000.3570.0350.311−0.0340.299−0.0510.328−0.008
140.3790.0690.301−0.0490.3430.0150.318−0.0240.308−0.0390.3470.020
150.3810.0710.3550.0330.309−0.0360.328−0.0090.3770.0650.3390.009
160.273−0.0910.3590.0390.3730.0590.3490.0240.319−0.0210.3500.025
170.3880.0810.3680.0510.3400.0100.305−0.0430.3390.0090.286−0.071
180.3970.0950.3730.0600.3640.0460.314−0.0290.320−0.0200.3380.006
190.3380.0060.305−0.0430.3350.0030.3890.0840.309−0.0360.295−0.058
200.3600.0400.3950.0930.333−0.0010.325−0.0130.308−0.0390.287−0.070
Summary0.368±0.0490.050 (0.007)0.366±0.0470.045 (0.007)0.350±0.0200.025 (0.007)0.344±0.0330.014 (0.007)0.329±0.023-0.008 (0.007)0.325±0.027-0.016 (0.007)

Ablation group 3: decoding performance on FPGA-synchronized EEG using separate frequency bands without centroid or PCA processing.

Accuracy is reported as a proportion and individual values are rounded to three decimal places. In the final row, accuracy is summarized as the across-subject mean ± standard deviation (SD), whereas Cohen's κ is reported as the corresponding pooled estimate with its standard error in parentheses, κpooled (SE).

This ablation evaluates the Alpha, Beta, and Gamma bands separately for 16- and 64-channel FPGA-synchronized EEG, without centroid construction or PCA.

Mean accuracies range from 0.325 to 0.368, with pooled κ values from −0.016 to 0.050, indicating that no individual band provides robust decoding under this configuration.

3.3.5 Group 4: partial modular combinations (PCA-only and centroid-only)

To test whether partial combinations of our algorithmic modules could bridge the performance gap, Group 4 evaluated sub-band data paired strictly with either PCA alone or the Centroid-Based Correlation algorithm alone (without combining both in sequence).

As detailed in Table 4, sub-bands paired with PCA-only yielded mean accuracies of 35.10% (16 channels) and 34.40% (64 channels), while sub-bands paired with the centroid-only configuration yielded 34.00% (16 channels) and a degenerate chance-level performance of 33.30% (κpooled = 0.000) in the 64-channel uncompressed space due to distance concentration and feature redundancy. These findings explicitly demonstrate that partial module combinations fail independently.

Table 4

SubjectFPGA + Subband + PCAFPGA + Subband + Centroid
16CH64CH16CH64CH
AccuracyKappa (κ)AccuracyKappa (κ)AccuracyKappa (κ)AccuracyKappa (κ)
10.3370.0050.317−0.0250.320−0.0200.3330.000
20.308−0.0390.324−0.0140.291−0.0640.3330.000
30.3980.0980.4080.1130.330−0.0050.3330.000
40.3600.0400.3700.0550.3510.0260.3330.000
50.3750.0630.4060.1090.319−0.0210.3330.000
60.319−0.0210.3520.0280.327−0.0100.3330.000
70.3810.0710.3930.0890.3350.0030.3330.000
80.3660.0490.3340.0010.3830.0750.3330.000
90.3430.0140.3490.0240.3800.0700.3330.000
100.4420.1630.3960.0940.3690.0540.3330.000
110.3480.0230.329−0.0060.4040.1060.3330.000
120.3710.0560.3340.0010.3540.0310.3330.000
130.3480.0210.328−0.0090.318−0.0230.3330.000
140.303−0.0460.288−0.0680.3580.0380.3330.000
150.329−0.0060.3370.0050.3370.0050.3330.000
160.327−0.0100.304−0.0440.291−0.0640.3330.000
170.298−0.0540.3430.0150.308−0.0380.3330.000
180.3480.0230.328−0.0090.3390.0090.3330.000
190.3360.0040.306−0.0410.318−0.0230.3330.000
200.3840.0760.331−0.0040.3720.0580.3330.000
Summary0.351±0.0350.025 (0.007)0.344±0.0340.013 (0.007)0.340±0.0310.011 (0.007)0.333±0.0000.000 (0.007)

Ablation group 4: decoding performance with PCA-only vs. centroid-only feature processing on FPGA-synchronized subband EEG.

Accuracy is reported as a proportion and individual values are rounded to three decimal places. In the final row, accuracy is summarized as the across-subject mean ± standard deviation (SD), whereas Cohen's κ is reported as the corresponding pooled estimate with its standard error in parentheses, κpooled (SE). This ablation compares PCA-only and centroid-only feature processing after subband decomposition for 16- and 64-channel FPGA-synchronized EEG. For 64CH, centroid without PCA, all subjects yielded an accuracy of 0.333 and κ = 0, indicating degenerate classification at the theoretical chance level rather than a predicted class probability. This pattern is consistent with classifier collapse in an uncompressed, high-dimensional centroid space; dimensionality-related effects such as redundancy, distance concentration, or poor conditioning may contribute, although this table alone does not establish the sole cause.

3.3.6 Group 5: full-framework and spatial optimization synergy, and ablation study summary

Finally, Group 5, As detailed in Table 5, represents our complete proposed framework, combining FPGA sub-millisecond synchronization, sub-band decomposition, the Centroid-Based Correlation Algorithm, and PCA dimensionality reduction.

Table 5

SubjectFPGA + Subband + Centroid + PCA
16CH SELECTED64CH ALL
AccuracyKappa (κ)AccuracyKappa (κ)
10.7000.5500.4220.133
20.6670.5000.3880.081
30.7330.6000.4440.167
40.7000.5500.4000.100
50.6670.5000.4270.140
60.7000.5500.4270.140
70.6670.5000.4000.100
80.6670.5000.4110.116
90.6670.5000.4140.121
100.6670.5000.4170.125
110.6670.5000.4140.121
120.7000.5500.4190.128
130.7170.5750.4230.135
140.6670.5000.4000.100
150.6670.5000.4070.111
160.6670.5000.3970.095
170.6670.5000.3940.092
180.6330.4500.4150.122
190.6670.5000.4060.109
200.6670.5000.4140.121
Summary0.677±0.0230.514 (0.013)0.412±0.0130.118 (0.019)

Ablation group 5: full-framework decoding performance using 16 selected vs. all 64 electrodes.

Accuracy is reported as a proportion and individual values are rounded to three decimal places. In the final row, accuracy is summarized as the across-subject mean ± standard deviation (SD), whereas Cohen's κ is reported as the corresponding pooled estimate with its standard error in parentheses, κpooled (SE).

This table evaluates the complete FPGA + subband + centroid + PCA framework using either 16 neurophysiologically selected channels or all 64 channels.

The higher accuracy and pooled κ obtained with the selected subset indicate better decoding under this configuration; however, this comparison alone does not determine whether the gain arises primarily from reduced dimensionality, lower noise, or greater spatial relevance.

When evaluated across all 64 electrodes, the full framework achieves an accuracy of 41.20% (κpooled = 0.118). However, when integrated with our neurophysiologically driven 16-channel spatial optimization subset, the synergistic effect of these modules elevates the global mean accuracy to a more robust 67.70% (κpooled = 0.514 and Δ+34.5pp) (Table 6, Group 5). This systematic ablation explicitly demonstrates that optimal single-trial decoding relies entirely on the non-linear synergy between microsecond-bounded hardware synchronization, multi-scale spectral decomposition, centroid template correlation, and targeted spatial filtering, as demonstrated by the impact of the Full Framework on the 16 electrode configuration whose performance clearly stands out in the heat map (bright yellow on Table 6).

Table 6

ComponentChannelsAccuracyκGain
MeanSDPooledSE(pp)
Baseline160.3320.034−0.0010.007–
+ FPGA Sync160.3590.0330.0350.007↑2.7
+ Alpha band160.3680.0490.0500.007↑3.6
+ Beta band160.3500.0200.0250.007↑1.8
+ Gamma band160.3290.023−0.0080.007↓0.3
+ Subbands + PCA160.3510.0350.0250.007↑1.9
+ Subbands + Centroid160.3400.0310.0110.007↑0.8
Full Framework160.6770.0230.5140.013↑34.5

Ablation matrix: component-wise performance contribution—heatmap representation.

Rows represent alternative ablation configurations rather than a strictly cumulative sequence.

Gain is the absolute accuracy difference from the baseline. The numerical percentage-point values provide the quantitative comparison.

FPGA synchronization is applied to all configurations except the baseline.

In bold, results for the framework proposed in this paper.

Gain: Higher Lower

As for the number of electrodes, when all 64 electrodes are used with the full framework, accuracy decreases to 41.2% (Δ+8.0pp), demonstrating electrode selection as an adequate tool for avoiding unnecessary noise and to provide targeted detection.

Concerning frequency-band contribution (Group 3) it can be observed that the Alpha band (Alpha band only) provides the best individual performance among the bands analyzed, yielding improvements of up to +3.6pp (36.8% accuracy). In contrast, the Gamma band performs slightly below the software-jitter baseline (−0.3 to −0.7pp).

It is also very noticeable the effect of FPGA Synchronization and Raw Data (Groups 1 and 2) as moving from the software-jitter baseline (Group 1: 33.2%) to raw EEG synchronized by the FPGA (Group 2: approximately 35.7%–35.9%) provides a consistent initial improvement of approximately 2.5 to 2.7 pp, highlighting the importance of temporal stability during acquisition.

On the other hand, the results also point at the effects of Processing Isolation (Group 4), that is, using subbands with PCA or the centroid method in isolation (Group 4) yields moderate and consistent improvements (+0.1 to +1.9pp), confirming that individual components alone do not explain the exponential increase achieved by integrating the full framework in Group 5.

3.4 Classification performance

The discriminative capacity of the spatio-temporal features obtained using our framework was assessed using a One-vs-One classification scheme for the three Spanish corner vowels (/a/, /i/, /u/). For this three-class problem, the One-vs-One strategy trains three independent binary classifiers (i.e., /a/ vs. /i/, /a/ vs. /u/, and /i/ vs. /u/) and determines the final class assignment through a majority voting mechanism, ensuring robust pairwise decision boundaries while preventing class-imbalance issues. To rigorously evaluate this architecture, a 5-fold cross-validation with 10 repetitions was employed, with each iteration allocating 80% of the data for training and 20% for testing. The theoretical chance level for this experimental paradigm is 33.3%.

As shown in Table 7, our proposed method—powered by the synergy of FPGA sub-millisecond synchronization, sub-band decomposition, and the Centroid-Based Correlation Algorithm coupled with a Support Vector Machine (SVM) equipped with a Radial Basis Function (RBF) kernel—achieved a grand mean accuracy of 67.70% with κpooled = 0.514 (SE = 0.013) across all subjects. It is important to clarify our evaluation terminology: while the classifier strictly operates on un-averaged, individual single-trial features, the reported accuracy metrics represent the percentage of correctly classified trials over the total number of test trials for a given subject.

Table 7

StudyLanguageFeature extraction and classifierComputational costMin.MeanMax.
KoreanMEMD + LDAHigh65.09%69.67%74.00%
CantoneseMDS + FLDHigh66.00%76.00%86.00%
EnglishCSP + SVMMid50.50%57.95%66.90%
EnglishEcho State NetworkHigh67.70%83.20%90.40%
GermanMI + MLPMid41.38%76.79%98.44%
Wang et al. (2026)MandarinEEG-Conformer (Song et al., 2023)High—50.00%—
EnglishRandom ForestMid11.42%21.47%28.75%
Baseline (hardware only)SpanishStandard ClassifierLow30.50%35.90%46.50%
Proposed methodSpanishCentroids + PCA + SVMLow49.20%67.70%83.00%

Descriptive comparison of single-trial vowel-classification performance and qualitative computational cost.

Accuracy values are reported as presented in the cited studies and reflect study-specific datasets, class definitions, sample sizes, validation schemes, and aggregation procedures; consequently, the comparison is descriptive rather than a controlled benchmark.

For the proposed method, Min. and Max. are the across-participant means of each participant's minimum and maximum fold accuracy, respectively; the absolute best fold reached 90.00%.

The corresponding definitions may differ in the cited studies. Computational cost is a qualitative relative category based on the online-inference operations described in the text; it does not represent directly measured runtime, FLOPs, memory use, or energy consumption. An em dash indicates that the corresponding value was not reported.

In bold, results for the framework proposed in this paper, hardware only and full framework.

Individual performance exhibited natural inter-subject variance. According to the subject-level analysis in Section 3.5, mean accuracies for the participant-specific models ranged from 63.33% to 73.33%. Across participants, the averages of the minimum and maximum fold accuracies were 49.20% and 83.00%, respectively, while the absolute peak observed in an individual validation fold was 90.00%. These quantities describe different levels of aggregation and should not be interpreted interchangeably.

The computational cost categorized in Table 7 is operationally evaluated based on the algorithmic complexity and operational latency required during the single-trial online inference phase. Methods classified as High Cost involve recursive iterative sifting processes (e.g., MEMD), non-linear state-space updates (e.g., ESN), or deep hybrid architectures that utilize multi-head self-attention mechanisms, such as the EEG-Conformer (Wang et al., 2026; Song et al., 2023), which require substantial GPU resources for real-time processing. Mid Cost frameworks typically necessitate matrix-wide spatial decompositions (e.g., CSP) or ensemble-based and shallow neural architectures like Random Forest and Multilayer Perceptrons (MLP) (; ), which require fewer resources than deep learning but still involve significant feature optimization stages. Conversely, our proposed Centroids+PCA+SVM pipeline operates at a Low Cost, reducing online processing to non-iterative Pearson correlations and linear projections.

The strategic choice of an RBF kernel empowered the classifier to map non-linearly separable neural oscillations into a higher-dimensional feature space. This approach is particularly robust compared to the findings of , whose recent leakage-audited benchmark reported near-chance accuracies (21.47%) for 5-vowel perception, highlighting the extreme difficulty of cross-subject generalization in controlled auditory tasks. Unlike contemporary deep learning models, such as those validated by Wang et al. (2026) on Mandarin tonal-vowels or on German phonemes, our Centroid-PCA-SVM-RBF pipeline provides a highly efficient and interpretable solution. While achieved 76.79% accuracy using MI-based feature selection, our method achieves comparable performance with significantly reduced spatial resolution (16 out of 64 electrodes) and lower algorithmic latency, validated on a Spanish linguistic substrate.

3.5 Statistical significance, chance-corrected agreement, and generalization

3.5.1 Within-subject significance and binomial validation

The cohort comprised 20 participants, with 300 trials per participant (100 trials per class), except for Subject 3, who completed 150 trials before voluntarily withdrawing during the inter-session rest period. Statistical significance was evaluated for the subject-specific, within-subject classifiers. Under the null hypothesis of random guessing in the balanced three-class problem, the number of correct decisions follows X~Binomial(n, p0) with p0 = 1/3. For a one-sided exact binomial test at α = 0.05, the critical accuracy was defined aby Equation 17.

This yields kcrit = 115 correct decisions for n = 300, corresponding to Acrit = 0.3833, and kcrit = 61 for Subject 3 (n = 150), corresponding to Acrit = 0.4067. The inferential comparison therefore concerns each participant's aggregate out-of-fold performance. The minimum and maximum fold accuracies reported below characterize cross-validation variability and are not compared with the n = 300 threshold. A single five-fold test partition contains approximately 60 trials (30 for Subject 3), and repeated partitions are not independent additional observations.

As summarized in Table 8, subject-level mean accuracies ranged from 63.33% to 73.33%, and all exceeded their corresponding exact binomial boundaries (p < 0.0001). These results support above-chance decoding for every participant under subject-specific training and testing. By contrast, the hardware-synchronized broadband baseline had a cohort mean of only 35.90% (As reported in Tables 2, 7), and most participant-level baseline accuracies did not exceed the n = 300 exact-binomial benchmark.

Table 8

MetricS1S2S3S4S5S6S7S8S9S10S11S12S13S14S15S16S17S18S19S20Acc: Mean ±SD κpooled(SE)
Trials300300150300300300300300300300300300300300300300300300300300–
Acc. Min.0.470.430.470.570.500.430.500.570.400.500.470.470.500.470.470.500.500.530.530.570.492 ± 0.046
κMin.0.200.150.200.350.250.150.250.350.100.250.200.200.250.200.200.250.250.300.300.350.239 (0.014)
Acc. Mean0.700.670.730.700.670.700.670.670.670.670.670.700.720.670.670.670.670.630.670.670.678 ± 0.023
κMean0.550.500.600.550.500.550.500.500.500.500.500.550.580.500.500.500.500.450.500.500.514 (0.013)
Acc. Max0.900.830.870.830.800.830.900.830.800.800.870.800.830.830.800.800.770.800.830.870.830 ± 0.036
κMax.0.850.750.800.750.700.750.850.750.700.700.800.700.750.750.700.700.650.700.750.800.744 (0.010)

Within-subject classification performance and chance-corrected agreement summarized across participants.

This table summarizes subject-specific within-subject models; it does not evaluate transfer to unseen participants. Metrics are proportions (e.g., 0.90 = 90%).

Accuracy summaries are the across-participant mean ± standard deviation (SD), whereas Cohen's κ summaries are the pooled estimate κpooled with its standard error (SE). Min. and Max. denote the lowest and highest observed cross-validation-fold values for each participant and are descriptive measures of fold variability.

The theoretical chance level is 0.333.

Statistical significance: The one-sided exact-binomial boundary is 0.383 for n = 300 and 0.407 for Subject 3 (n = 150).

All subject-level mean accuracies exceed the applicable boundary (p < 0.0001).

3.5.2 Across-participant summary of within-subject decoding: chance-corrected agreement

Table 8 aggregates the results of participant-specific classifiers and must therefore be distinguished from cross-subject generalization. At the mean operating point, the pooled chance-corrected agreement was κpooled = 0.514 (SE = 0.013), indicating consistently positive agreement beyond that expected from the empirical class marginals. The maximum observed fold-level value was κ = 0.850; like the corresponding maximum accuracy, this value describes the best observed validation fold rather than the expected performance for a new participant.

The pooled agreement associated with the per-participant minimum folds remained positive at κpooled = 0.239 (SE = 0.014), although these minima are descriptive and are not independent inferential replicates. Relative to the software-jitter baseline (κpooled = −0.001), the complete framework produced a marked increase in chance-corrected agreement. Together with leakage-free cross-validation, this result supports the presence of discriminative within-subject neural structure without implying zero-shot transfer across participants.

3.5.3 Cross-subject generalization and inter-subject phase dynamics

To evaluate zero-calibration generalization to unseen participants, a Leave-One-Subject-Out (LOSO) cross-validation scheme was implemented across all 20 subjects. In contrast to the subject-specific results above, the LOSO analysis yielded a global mean accuracy of 33.08%, effectively matching the 33.33% chance level. The pooled chance-corrected agreement was κpooled = −0.0036 (SE = 0.0142), with an approximate 95% confidence interval of [−0.0314, 0.0242]. Because this interval includes zero, the cohort-level LOSO result provides no evidence of agreement beyond chance. This concise global result is reported in text rather than in an additional table.

The decline is consistent with inter-subject phase cancellation, a well-documented limitation in zero-calibration EEG decoding. Recent literature, confirms that severe domain shifts and neural heterogeneity typically degrade cross-subject transfer to near-chance levels. Although the FPGA architecture preserves trial-to-trial timing within each participant, differences in cortical geometry, volume conduction, electrode-to-source mapping, and oscillatory phase can reduce the coherence of a centroid constructed across participants. Consequently, fine-grained Beta- and Gamma-band dynamics that are informative within an individual may be attenuated in an unaligned multi-subject feature space.

At the participant level, held-out Subjects 4, 16, 17, and 20 repeatedly achieved accuracies between 36.00% and 38.67% and showed slight positive agreement. These localized deviations are best interpreted as exploratory evidence of heterogeneity in cross-subject transferability; they do not overturn the near-zero pooled κ or establish reliable donor–recipient compatibility. Future work should test subject clustering, donor selection, spatial or phase alignment, and neural-manifold alignment within a prospectively defined cross-subject protocol.

4 Discussion

The empirical findings demonstrate that the proposed centroid-based framework decodes perceived natural speech from non-invasive EEG on a Single-Trial basis when models are calibrated within each participant, achieving a global mean accuracy of 67.70% and κpooled = 0.514 (SE = 0.013). The absolute peak observed in an individual validation fold was 90.00% (κ = 0.850). In contrast, LOSO evaluation remained at chance, showing that the current framework supports personalized decoding but not zero-calibration transfer to unseen participants. This distinction defines both the principal contribution and the present generalization boundary of the study.

While the global within-subject mean demonstrates the utility of the architecture, participant-level mean accuracies ranged from 63.33% to 73.33%, and fold-level accuracies ranged from 40.00% to 90.00%. This variability warrants explicit contextualization. Anatomically, individual differences in cortical folding, particularly the orientation of the superior temporal gyrus relative to the scalp, can alter the spatial projection and signal-to-noise ratio of auditory responses. Cognitively, fluctuations in sustained attention and vigilance can also affect phase consistency. Rather than masking this biological variability through aggressive smoothing, the open-box framework preserves participant-specific physiological structure. Importantly, every participant's aggregate within-subject mean exceeded the applicable exact-binomial boundary, although this does not imply that every individual fold was independently significant.

Unlike conventional approaches that isolate Event-Related Potentials (ERPs) by collapsing multi-trial data into a static ensemble average, our architecture actively leverages trial-to-trial variability. Traditional ensemble averaging operates under the restrictive assumption that task-related neural components are strictly phase-locked, treating non-phase-locked dynamics and latency jitter as stochastic noise to be attenuated. However, in the context of high-order cognitive processes such as speech perception, this low-pass filtering effect masks crucial time-varying and non-stationary neural architectures. By combining high-precision FPGA hardware synchronization with a sub-band centroid correlation scheme, our framework successfully isolates both the exogenous sensory responses and the fine-grained endogenous cognitive modulations of phonetic content on an epoch-by-epoch basis.

A critical point of discussion is the comparison between our mean classification performance (67.70%) and the higher accuracies frequently reported by contemporary deep learning models (e.g., recurrent reservoir networks or deep convolutional topologies achieving >80%). While our numerical mean is lower, this is a deliberate, necessary, and advantageous trade-off for neuroprosthetic design. Opaque, high-dimensional neural networks evaluated on jitter-prone or loosely synchronized data are highly susceptible to the “Clever Hans” effect—unintentionally classifying non-task-related physiological artifacts, spatial electrode leakage, temporal drift, or stochastic autocorrelations rather than actual language processing. Conversely, our framework delivers a physiologically grounded metric of real phonetic discrimination. As validated by the rigorous intra-fold template isolation implemented during cross-validation, the calculation of class centroids was restricted strictly to the training partition, eliminating any risk of data leakage or “double-dipping” statistical biases. Consequently, our within-subject performance reflects generalization to unseen trials from a calibrated participant, rather than generalization to an unseen participant. Furthermore, as summarized in the low computational cost profiles, our framework bypasses the massive matrix operations and power-hungry optimization cycles typical of deep learning architectures, rendering it uniquely viable for deployment in low-power, real-time BCI edge-computing and wearable devices.

The neurophysiological validity of our framework is heavily reinforced by the spatial optimization that compressed the electrode grid to a 16-channel subset without compromising decoding accuracy. These specific channels—concentrated primarily around the frontotemporal (FT7, FT8), temporal (T7, T8), and occipitoparietal (Iz) configurations—map directly onto the primary and secondary auditory cortices, the superior temporal gyrus (STG), and lateral prefrontal regions involved in speech processing. This spatial alignment demonstrates that our high-precision hardware-driven clock synchronization successfully isolated the exact biological generators of acoustic and phonemic processing, permitting a 75% dimensionality reduction that directly mitigates clinical and computational overhead.

From an acoustic-phonetic perspective, the separability of the vowels /a/, /i/, and /u/ within the decomposed sub-bands (α, β, andγ) is highly coherent with speech science. In human perception, these corner vowels are defined by distinct acoustic formants: /a/ features a high F1 frequency, /i/ exhibits a prominent F2 frequency, and /u/ is characterized by low F1 and F2 formants. Our findings imply that the human auditory cortex mirrors these acoustic distances through localized phase-locked and non-phase-locked high-frequency oscillations. Notably, the sub-millisecond deterministic alignment provided by our FPGA sync was the sole enabling factor that allowed the linear summation in the time domain to act as a phase-sensitive coherent filter. Under this condition, trials sharing consistent phoneme-specific phase relationships underwent constructive interference within the centroid Ck, preserving the transient Gamma-band dynamics. Conversely, stochastic background noise experienced destructive interference.

The ability to operate effectively using 300 trials per subject (and 150 trials for Subject 3 due to early withdrawal) carries implications for clinical transition. Traditional multi-trial BCIs impose cognitive and physical demands on vulnerable populations, such as individuals with Locked-In Syndrome or Amyotrophic Lateral Sclerosis. Every participant's aggregate within-subject mean exceeded the applicable exact-binomial threshold, supporting reliable personalized decoding at the participant level. However, the chance-level LOSO result shows that participant-specific calibration or an explicit alignment stage remains necessary before the framework can support cross-subject clinical deployment. Future work should also evaluate speaker-held-out and token-held-out validation schemes, in which the EEG trials elicited by specific stimulus speakers or individual audio recordings are reserved exclusively for testing. Such validation would establish whether the decoded neural representation is invariant to speaker identity and token-specific acoustic characteristics, rather than being limited to unseen EEG trials drawn from the same pool of stimulus voices.

In summary, the core technological breakthrough of this work demonstrates that single-trial neural variability is not a stochastic confound to be eliminated, but rather a structured manifold rich in discriminative cognitive information when captured with hardware-level temporal determinism. By striking an optimal balance between high physiological interpretability, computational efficiency, and steady decoding performance, this open-box paradigm overcomes key limitations of both classical grand-averaging and black-box deep learning models.

While the successful classification of the canonical corner vowels (/a/, /i/, /u/) establishes a crucial neurophysiological baseline by validating the system's sensitivity to extreme formant boundaries, we acknowledge this as a foundational proof-of-concept rather than a complete linguistic solution. Future work will focus on enhancing the front-end signal-to-noise ratio (SNR) through online adaptive filtering to further protect baseline validation boundaries under noisy clinical environments. Building upon this foundation, subsequent efforts will scale this framework from isolated static phonemes to the continuous, unconstrained decoding of natural, fluid running speech, serving as a transparent and adaptive stepping stone toward next-generation non-invasive neuroprosthetic devices.

Statements

Data availability statement

The dataset presented in this study can be found in online repository. The name of the repository and accession numbe can be found below: https://dx.doi.org/10.21227/bee6-a870.

Ethics statement

The studies involving humans were approved by Comité de Ética en investigación de la División Ciencias de la Salud de la Universidad del Norte. The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.

Author contributions

CO: Software, Conceptualization, Investigation, Writing – original draft, Resources, Visualization, Funding acquisition, Formal analysis, Validation, Writing – review & editing, Methodology, Data curation, Supervision, Project administration. NS: Resources, Investigation, Visualization, Conceptualization, Funding acquisition, Validation, Methodology, Formal analysis, Supervision, Writing – review & editing, Project administration, Data curation, Writing – original draft.

Funding

The author(s) declared that financial support was received for this work and/or its publication. This work was supported by Grant 785 of the Ministry of Science and Technology of the Colombian government and by the Dirección de Gestión y Desarrollo Académico at Universidad del Norte through its Ph.D. scholarship program.

Acknowledgments

The authors would like to express their sincere gratitude to all the volunteers whose participation was essential to the data collection process. We also thank the Institución Universitaria de Barranquilla for its institutional support and for providing the flexibility required to conduct this research.

The authors further acknowledge the valuable scientific discussions and insights shared by Dr. Potts and colleagues from the Cognition, Neuroscience, and Social Psychology (CNS) Lab and the Electrical Engineering Laboratory at the University of South Florida (USF) during the 2022 research visit. These exchanges significantly contributed to the conceptual development and structuring of the proposed framework.

We also extend our heartfelt appreciation to Jaime Fernando Delgado Saa for his early guidance, encouragement, and foundational support during the initial stages of this research. Finally, the authors gratefully acknowledge the support and laboratory facilities provided by the Business School and the Electronics and Electrical Engineering Laboratories at Universidad del Norte (UNINORTE), which were instrumental in the execution of this work."

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that Generative AI was used in the creation of this manuscript. Generative AI was used exclusively to improve the English language, grammar, and readability of the manuscript. No AI-generated content was used for the scientific development, analysis, interpretation of results, or conclusions of this work. The author(s) carefully reviewed and verified all AI-assisted edits and take full responsibility for the accuracy, originality, and integrity of the final manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Summary

Keywords

Brain-Computer Interface (BCI), FPGA synchronization, neural manifold, neuroprosthetics, phoneme decoding, single-trial EEG, Support Vector Machine (SVM)

Citation

Olivares CY and Schettini N (2026) A high-precision synchronization and centroid-based framework for single-trial decoding of perceived natural speech. Front. Comput. Neurosci. 20:1947069. doi: 10.3389/fncom.2026.1947069

Received

24 July 2026

Revised

27 August 2026

Accepted

31 August 2026

Published

23 September 2026

Volume

20 - 2026

Edited by

Jing Jin, East China University of Science and Technology, China

Reviewed by

Jia Li, East China University of Science and Technology, China

Sufan Ma, East China University of Science and Technology, China

Updates

Copyright

*Correspondence: Cristian Y. Olivares,

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics