[KongchangAI]
· 2 min read· 1,159 words

DarijaEEG: The First Moroccan Darija EEG Speech Corpus and Decoding Benchmark

DarijaEEG: The First Moroccan Darija EEG Speech Corpus and Decoding Benchmark

The first Moroccan Darija EEG corpus of imagined speech and a reproducible benchmark are released, with articulated speech decodable while imagined speech remains at the resolution limit.

The paper releases DarijaEEG, to the authors' knowledge the first EEG corpus of imagined and articulated speech in Moroccan Darija. A single native speaker produced 64-channel EEG across eight sessions on different dates for fifteen care-related words under both imagined and articulated conditions, totaling about 3,600 trials, with synchronized audio released open-source in XDF and BIDS formats. The accompanying benchmark predefines leave-one-session-out splits and reports detectability boundaries, providing reference results for ten representations and two convolutional networks along with multiple control conditions. Results show cross-session articulated decoding reaches 30.5% balanced accuracy (chance 6.7%), while imagined speech reaches only 7.6% (p=0.056), at the corpus resolution limit; imagination still elicits theta-to-beta desynchronization, strongest in left central mu, but lacks the low-gamma enhancement seen under articulation. Three seemingly positive imagined results did not survive controls, highlighting the value of predefined evaluation protocols.

Decoding imagined speech in brain-computer interfaces (BCIs) has long been constrained by two bottlenecks: corpora are almost entirely concentrated in Indo-European languages, and most data come from single-session recordings, making results difficult to reproduce or validate across sessions. A new paper releases DarijaEEG—to the authors' knowledge, the first EEG corpus of imagined and articulated speech in Moroccan Darija—along with a reproducible decoding benchmark.

DarijaEEG paper source page

Corpus Design: Multi-Session, Dual-Condition, Synchronized Audio

The core contribution of DarijaEEG lies in the rigor and openness of its data collection. A single native speaker performed experiments on fifteen care-related words under both imagined and articulated conditions, with each condition repeated fifteen times per session across eight sessions on different dates. The result is 64-channel EEG data comprising 1797 imagined trials and 1796 articulated trials, accompanied by synchronized audio and released in both XDF and BIDS standard formats.

This multi-session design directly addresses a field-wide pain point: single-session EEG data makes it easy for decoders to learn time- or environment-related artifacts rather than genuine speech intent. Recordings from eight independent dates provide a stricter testbed for cross-session generalization.

Imagined speech and articulated speech are two paradigms in BCI speech decoding. Articulated speech requires subjects to actually speak the words, so the EEG contains substantial EMG and motor cortex signals related to vocal organ movement, making decoding relatively easier; imagined speech requires subjects to merely vocalize internally without producing any observable motor output, so the EEG signals are weaker in amplitude and more easily drowned out by noise. For this reason, decoding accuracy for articulated speech is typically significantly higher than for imagined speech, but only imagined speech truly fulfills the clinical vision of "communication without external movement"—which is why the field has long focused on imagined speech.

Balanced accuracy is a commonly used evaluation metric in multi-class decoding, defined as the arithmetic mean of per-class recall. When class samples are imbalanced, ordinary accuracy can be inflated by being dominated by the majority class, whereas balanced accuracy weights each class equally, making it better suited to measuring whether a decoder truly distinguishes all target words. In this paper, the fifteen words correspond to a chance level of about 6.7% (1/15), which is precisely the opportunity level under balanced accuracy.

Benchmark Methodology: Predefined Splits and Detectability Boundaries

The other half of the paper's value lies in its reproducible evaluation protocol. The benchmark predefines leave-one-session-out and sub-block splits, and reports balanced accuracy alongside the detectability boundary implied by sample size. The authors also provide reference results for ten representations and two convolutional networks, using nested pipeline selection with control conditions at the temporal, spectral, and electrode levels.

In other words, this is not a leaderboard that only reports the "best score," but a framework that factors the cost of pipeline selection into evaluation. This is especially critical for imagined speech research, since high-dimensional features and repeated configuration searches can easily produce false positives.

Leave-one-session-out cross-validation is an evaluation strategy that splits training and test sets by session rather than by trial: each time, data from seven sessions are used for training and the held-out eighth session is used for testing, rotating until every session has been tested once. Compared with random trial shuffling, it prevents artifacts such as temporal drift, electrode impedance changes, or subject state within the same session from leaking between training and testing, so the resulting accuracy better reflects the decoder's true generalization to new recordings—though it is also typically lower.

Nested pipeline selection refers to completing hyperparameter and representation selection within cross-validation inside the training data, with final performance evaluated on an outer loop. If one instead repeatedly tries a large number of configurations on all data and picks the best result, multiple comparisons significantly inflate the false-positive rate—precisely why this paper emphasizes "factoring the cost of pipeline selection into evaluation," and the methodological root cause of why three seemingly positive imagined speech results did not survive controls.

Main Results: Articulated Speech Is Decodable, Imagined Speech Remains at the Limit

In terms of data quality, event timing stability reaches 1.1 milliseconds, and the visual responses elicited by written cues remain consistent across the eight days. This provides a trustworthy foundation for cross-session comparisons.

The decoding results show a clear dissociation. Cross-session articulated speech decoding reaches 30.5% balanced accuracy against a chance level of 6.7%, indicating that articulation-related EEG patterns possess considerable cross-session separability. Imagined speech reaches 7.6% under nested selection (p = 0.056), which the authors interpret as being at the resolution limit of the corpus itself; after correcting for the configurations searched, no representation or network performed above chance.

Interestingly, despite limited decoding performance, the imagination process still produced desynchronization from theta to beta bands, strongest in the mu rhythm over left central electrodes, and was not accompanied by the low-gamma enhancement seen under articulation. This suggests that imagination and articulation share some neural mechanisms, but with distinguishable activation patterns.

The benchmark's control conditions also revealed an important phenomenon: three seemingly positive imagined speech results did not survive controls. This directly demonstrates the value of a predefined evaluation protocol—it can separate genuine decoding gains from pipeline selection and artifacts.

The mu rhythm is a spontaneous rhythm in the 8–13 Hz band over sensorimotor cortex, closely related to motor preparation and execution; when subjects imagine or execute movements, this rhythm shows a power decrease known as event-related desynchronization (ERD). Desynchronization in theta (4–8 Hz) and beta (13–30 Hz) bands also commonly accompanies motor imagery. The observation here that imagined speech elicits theta-to-beta desynchronization, strongest in mu over left central electrodes, indicates that the imagination process indeed engages cortical regions related to speech motor planning.

Low-gamma enhancement typically refers to power increases above 30 Hz, often related to actual muscle activity of vocal organs and auditory feedback under articulation conditions. The absence of this enhancement under imagination suggests that although the two conditions share some motor planning mechanisms, imagination does not trigger downstream activation related to actual vocalization—offering clues for distinguishing the neural signatures of "thinking" versus "speaking."

What It Means for the Field

The significance of DarijaEEG is not just a new corpus. It provides a common starting point for imagined speech research in non-Indo-European languages: multi-session data, predefined splits, reference results, code that can recompute every number, and an evaluation protocol that distinguishes genuine gains from artifacts.

For researchers, this work conveys a pragmatic signal: at a stage where imagined speech decoding has yet to break through the resolution bottleneck, establishing reproducible benchmarks has more long-term value than chasing high accuracy on single sessions. Darija, as a previously uncovered language, also opens a gateway for cross-linguistic EEG decoding comparisons.

Of course, the single-subject, small-vocabulary design limits the generalizability of the conclusions, and the authors position it as a starting point rather than an endpoint. If future work can extend to more subjects and richer vocabulary sets, the value of this benchmark framework will be further amplified.

#DarijaEEG#Moroccan Darija#EEG speech corpus#imagined speech decoding#brain-computer interface#neural decoding benchmark
Share:

Related articles