Imagined speech – the silent, internal production of words without articulation or overt movement – is one of the most natural control paradigms for a brain–computer interface (BCI),yet among the hardest to decode from non-invasive electroencephalography(EEG). Hypergraphs are an attractive prior for EEG because they relate groups of sites rather than pairs, but two questions are left open by the literature: what the hypergraph should be built over, and whether learning its structure is what makes it work. This thesis answers both on the BCI Competition 2020 Track 3 corpus (15 subjects, five imagined English words, 64 channels at 256Hz). We introduce HyperSTNet, which places hyperedges not over electrodes but over a grid of nodes indexed by learned spatial component ×temporal segment, and learns a soft incidence matrix end-to-end. The model is measured at two scales. HyperSTNet-S, at 70 983 parameters, reaches 0.601 ±0.015 balanced accuracy on the official pooled split and on the ten held-out seeds, matching the best published result on this dataset (0.600, CSBrain) with a sixty-ninth of that model’s parameters: the result comes from the archi- tecture and not from the scale of it. HyperSTNet-L, at 159 415 parameters, adds spatial components and a second-order aggregation branch and reaches 0.655 ±0.013, a paired gain of 5.4 points (p < 0.001) that divides about evenly between the two additions, still with one to three orders of magnitude fewer parameters than the foundation-model base- lines (CBraMod, 4.0 M; LaBraM-Base, 5.8 M; CoMET-Large, 151 M). Under the subject- dependent protocol the two reach 0.684 and 0.753, with every one of the fifteen subjects decoded well above chance. Three findings follow. First, the axis determines whether a hypergraph helps at all: hyper- edges over channels alone reach 0.276 even after a dedicated hyperparameter search, and over temporal segments alone 0.543, against 0.611 for their product. Second, learned soft incidence collapses – the hyperedge prototypes become nearly collinear (mean |cos |= 0.983) and the participation entropy saturates at 0.997, so the hypergraph degenerates into an average over nodes; orthonormalising the prototypes and learning the softmax temperature restores selectivity at the cost of one scalar parameter, but only on the correct axis, which makes the remedy not sufficient. Third, in a capacity-matched abla-tion the hypergraph contributes structure rather than learning: a random frozen incidence matches the learned one (∆ =−0.0001, p= 0.97), while removing the hypergraph entirely costs 1.6 points (p = 0.004). Cross-subject transfer, finally, fails for both configurations ofthemodel(0.21 againstachancelevelof0.200), delimitingwherethecontributionholds.

Il parlato immaginato – la produzione interna e silenziosa di parole, senza articolazione né movimento – è uno dei paradigmi di controllo più naturali per un’interfaccia cervello– computer (BCI), ma anche tra i più difficili da decodificare dall’elettroencefalografia (EEG) non invasiva. Gli ipergrafi sono un prior attraente per l’EEG perché mettono in relazione gruppi di siti anziché coppie, ma la letteratura lascia aperte due domande: su quale asse vada costruito l’ipergrafo, e se sia davvero l’apprendimento della sua struttura a farlo funzionare. Questa tesi risponde a entrambe sul corpus BCI Competition 2020 Track 3 (15 soggetti, cinque parole inglesi immaginate, 64 canali a 256Hz). Proponiamo HyperSTNet, che colloca gli iperarchi non sugli elettrodi ma su una griglia di nodi indicizzati da componente spaziale appresa ×segmento temporale, e apprende end- to-end una matrice di incidenza soft. Il modello è misurato a due scale. HyperSTNet- S, con 70 983 parametri, raggiunge una balanced accuracy di 0,601 ±0,015 sullo split ufficiale aggregato e sui dieci semi trattenuti, pari al miglior risultato pubblicato su questo dataset (0,600, CSBrain) con un sessantanovesimo dei suoi parametri: il risultato viene dall’architettura, non dalla sua taglia. HyperSTNet-L, con 159 415 parametri, aggiunge componentispazialieunramodiaggregazionedisecondoordineeraggiunge0,655±0,013, con un guadagno appaiato di 5,4 punti (p < 0,001) che si divide quasi equamente fra le due aggiunte, sempre con uno o tre ordini di grandezza di parametri in meno rispetto ai modelli fondazionali di riferimento (CBraMod, 4,0 M; LaBraM-Base, 5,8 M; CoMET- Large, 151 M). Nel protocollo subject-dependent i due raggiungono 0,684 e 0,753, con tutti e quindici i soggetti decodificati ben sopra il caso. Ne seguono tre risultati. Primo, è l’asse a determinare se l’ipergrafo serva: iperarchi sui soli canali raggiungono 0,276 anche dopo una ricerca di iperparametri dedicata, e sui soli segmenti temporali 0,543, contro 0,611 del loro prodotto. Secondo, l’incidenza soft appresa collassa – i prototipi degli iperarchi diventano quasi collineari (coseno medio |cos |= 0,983) e l’entropia di partecipazione satura a 0,997, così che l’ipergrafo degenera in una media sui nodi; ortonormalizzare i prototipi e apprendere la temperatura del soft- max restituisce selettività al costo di un solo parametro scalare, ma solo sull’asse corretto, il che rende il rimedio non sufficiente. Terzo, in un’ablation a capacità pari l’ipergrafo con-tribuisce struttura, non apprendimento: un’incidenza casuale e congelata pareggia quella appresa (∆ =−0,0001, p= 0,97), mentre rimuovere del tutto l’ipergrafo costa 1,6 punti (p= 0,004). Il trasferimento cross-soggetto, infine, fallisce per entrambe le configurazioni del modello (0,21 contro un livello di caso di 0,200), delimitando l’ambito in cui il con- tributo vale.

HyperSTNet : a space–time hypergraph network for imagined speech decoding from EEG

Uras, Daniele
2025/2026

Abstract

Imagined speech – the silent, internal production of words without articulation or overt movement – is one of the most natural control paradigms for a brain–computer interface (BCI),yet among the hardest to decode from non-invasive electroencephalography(EEG). Hypergraphs are an attractive prior for EEG because they relate groups of sites rather than pairs, but two questions are left open by the literature: what the hypergraph should be built over, and whether learning its structure is what makes it work. This thesis answers both on the BCI Competition 2020 Track 3 corpus (15 subjects, five imagined English words, 64 channels at 256Hz). We introduce HyperSTNet, which places hyperedges not over electrodes but over a grid of nodes indexed by learned spatial component ×temporal segment, and learns a soft incidence matrix end-to-end. The model is measured at two scales. HyperSTNet-S, at 70 983 parameters, reaches 0.601 ±0.015 balanced accuracy on the official pooled split and on the ten held-out seeds, matching the best published result on this dataset (0.600, CSBrain) with a sixty-ninth of that model’s parameters: the result comes from the archi- tecture and not from the scale of it. HyperSTNet-L, at 159 415 parameters, adds spatial components and a second-order aggregation branch and reaches 0.655 ±0.013, a paired gain of 5.4 points (p < 0.001) that divides about evenly between the two additions, still with one to three orders of magnitude fewer parameters than the foundation-model base- lines (CBraMod, 4.0 M; LaBraM-Base, 5.8 M; CoMET-Large, 151 M). Under the subject- dependent protocol the two reach 0.684 and 0.753, with every one of the fifteen subjects decoded well above chance. Three findings follow. First, the axis determines whether a hypergraph helps at all: hyper- edges over channels alone reach 0.276 even after a dedicated hyperparameter search, and over temporal segments alone 0.543, against 0.611 for their product. Second, learned soft incidence collapses – the hyperedge prototypes become nearly collinear (mean |cos |= 0.983) and the participation entropy saturates at 0.997, so the hypergraph degenerates into an average over nodes; orthonormalising the prototypes and learning the softmax temperature restores selectivity at the cost of one scalar parameter, but only on the correct axis, which makes the remedy not sufficient. Third, in a capacity-matched abla-tion the hypergraph contributes structure rather than learning: a random frozen incidence matches the learned one (∆ =−0.0001, p= 0.97), while removing the hypergraph entirely costs 1.6 points (p = 0.004). Cross-subject transfer, finally, fails for both configurations ofthemodel(0.21 againstachancelevelof0.200), delimitingwherethecontributionholds.
ING - Scuola di Ingegneria Industriale e dell'Informazione
21-ott-2026
2025/2026
Il parlato immaginato – la produzione interna e silenziosa di parole, senza articolazione né movimento – è uno dei paradigmi di controllo più naturali per un’interfaccia cervello– computer (BCI), ma anche tra i più difficili da decodificare dall’elettroencefalografia (EEG) non invasiva. Gli ipergrafi sono un prior attraente per l’EEG perché mettono in relazione gruppi di siti anziché coppie, ma la letteratura lascia aperte due domande: su quale asse vada costruito l’ipergrafo, e se sia davvero l’apprendimento della sua struttura a farlo funzionare. Questa tesi risponde a entrambe sul corpus BCI Competition 2020 Track 3 (15 soggetti, cinque parole inglesi immaginate, 64 canali a 256Hz). Proponiamo HyperSTNet, che colloca gli iperarchi non sugli elettrodi ma su una griglia di nodi indicizzati da componente spaziale appresa ×segmento temporale, e apprende end- to-end una matrice di incidenza soft. Il modello è misurato a due scale. HyperSTNet- S, con 70 983 parametri, raggiunge una balanced accuracy di 0,601 ±0,015 sullo split ufficiale aggregato e sui dieci semi trattenuti, pari al miglior risultato pubblicato su questo dataset (0,600, CSBrain) con un sessantanovesimo dei suoi parametri: il risultato viene dall’architettura, non dalla sua taglia. HyperSTNet-L, con 159 415 parametri, aggiunge componentispazialieunramodiaggregazionedisecondoordineeraggiunge0,655±0,013, con un guadagno appaiato di 5,4 punti (p < 0,001) che si divide quasi equamente fra le due aggiunte, sempre con uno o tre ordini di grandezza di parametri in meno rispetto ai modelli fondazionali di riferimento (CBraMod, 4,0 M; LaBraM-Base, 5,8 M; CoMET- Large, 151 M). Nel protocollo subject-dependent i due raggiungono 0,684 e 0,753, con tutti e quindici i soggetti decodificati ben sopra il caso. Ne seguono tre risultati. Primo, è l’asse a determinare se l’ipergrafo serva: iperarchi sui soli canali raggiungono 0,276 anche dopo una ricerca di iperparametri dedicata, e sui soli segmenti temporali 0,543, contro 0,611 del loro prodotto. Secondo, l’incidenza soft appresa collassa – i prototipi degli iperarchi diventano quasi collineari (coseno medio |cos |= 0,983) e l’entropia di partecipazione satura a 0,997, così che l’ipergrafo degenera in una media sui nodi; ortonormalizzare i prototipi e apprendere la temperatura del soft- max restituisce selettività al costo di un solo parametro scalare, ma solo sull’asse corretto, il che rende il rimedio non sufficiente. Terzo, in un’ablation a capacità pari l’ipergrafo con-tribuisce struttura, non apprendimento: un’incidenza casuale e congelata pareggia quella appresa (∆ =−0,0001, p= 0,97), mentre rimuovere del tutto l’ipergrafo costa 1,6 punti (p= 0,004). Il trasferimento cross-soggetto, infine, fallisce per entrambe le configurazioni del modello (0,21 contro un livello di caso di 0,200), delimitando l’ambito in cui il con- tributo vale.
File allegati
File Dimensione Formato  
2026_10_Uras_Tesi.pdf

accessibile in internet solo dagli utenti autorizzati

Descrizione: Testo Tesi
Dimensione 2.57 MB
Formato Adobe PDF
2.57 MB Adobe PDF   Visualizza/Apri
2026_10_Uras_Executive_Summary.pdf

accessibile in internet solo dagli utenti autorizzati

Descrizione: Testo Executive Summary
Dimensione 532.41 kB
Formato Adobe PDF
532.41 kB Adobe PDF   Visualizza/Apri

I documenti in POLITesi sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10589/266680