KO
|
EN
gitlite — search
Search
#python
#javascript
#c
#php
#ruby
#hacktoberfest
#java
#blog
#shell
#css
#ios
#wordpress
EEG-to-Text-Decoding
★ 31
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
gal-osnma-sim
:
a Galileo OSNMA simulator
vllm-cn
:
演示 vllm 对中文大语言模型的神奇效果
2023-co-kirikiri
:
🐘 함께 목표를 달성해가는 로드맵 기반 모임 플랫폼, 코끼리끼리! 🐘
ai-starter-guide
:
AI Starter Guide: this book explains one topic at a time, like a big glossary, easy wiki, quick encyclopedia, or summary notes.
Ultimate-Vocal-Removergui-
:
Ultimate Vocal Removergui汉化版
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
EEG-to-Text-Decoding
?
Download (.md)
--- <div align="center"> <a href="https://github.com/hamzaamrani/EEG-to-Text-Decoding/blob/main/overview.png"> <img src="overview.png" alt="Overview"> </a> <h3 align="center">Deep Representation Learning for Open Vocabulary Electroencephalography-to-Text Decoding</h3> <p align="center"> <h> <b>Hamza Amrani</b>, Daniela Micucci, Paolo Napoletano</h> <br /> <a href="mailto:hamza.amrani@unimib.it">hamza.amrani@unimib.it</a>, <a href="mailto:daniela.micucci@unimib.it">daniela.micucci@unimib.it</a>, <a href="mailto:paolo.napoletano@unimib.it">paolo.napoletano@unimib.it</a> </p> </div> <div align="center"> [](https://arxiv.org/abs/2312.09430) <!-- ARXIV [](https://arxiv.org) --> </div> <!-- ABSTRACT --> ## Abstract Previous research has demonstrated the potential of using pre-trained language models for decoding open vocabulary Electroencephalography (EEG) signals captured through a non-invasive Brain-Computer Interface (BCI). However, the impact of embedding EEG signals in the context of language models and the effect of subjectivity, remain unexplored, leading to uncertainty about the best approach to enhance decoding performance. Additionally, current evaluation metrics used to assess decoding effectiveness are predominantly syntactic and do not provide insights into the comprehensibility of the decoded output for human understanding. We present an end-to-end architecture for non-invasive brain recordings that brings modern representational learning approaches to neuroscience. Our proposal introduces the following innovations: 1) an end-to-end deep learning architecture for open vocabulary EEG decoding, incorporating a subject-dependent representation learning module for raw EEG encoding, a BART language model, and a GPT-4 sentence refinement module; 2) a more comprehensive sentence-level evaluation metric based on the BERTScore; 3) an ablation study that analyses the contributions of each module within our proposal, providing valuable insights for future research. We evaluate our approach on two publicly available datasets, ZuCo v1.0 and v2.0, comprising EEG recordings of 30 subjects engaged in natural reading tasks. Our model achieves a BLEU-1 score of 42.75%, a ROUGE-1-F of 33.28%, and a BERTScore-F of 53.86%, achieving an increment over the previous state-of-the-art by 1.40%, 2.59%, and 3.20%, respectively. <!-- ARCHITECTURE --> ## Architecture <div align="center"> <img src="architecture.png" alt="Architecture" width="85%"> </div> <!-- CODE --> ## Code This repo is based on the [EEG-to-Text](https://github.com/MikeWangWZHL/EEG-To-Text) repository. ### Download ZuCo datasets - Download ZuCo v1.0 'Matlab files' for 'task1-SR','task2-NR','task3-TSR' from https://osf.io/q3zws/files/ under 'OSF Storage' root, unzip and move all `.mat` files to `/dataset/ZuCo/task1-SR/Matlab_files`,`/dataset/ZuCo/task2-NR/Matlab_files`,`/dataset/ZuCo/task3-TSR/Matlab_files` respectively. - Download ZuCo v2.0 'Matlab files' for 'task1-NR' from https://osf.io/2urht/files/ under 'OSF Storage' root, unzip and move all `.mat` files to `/dataset/ZuCo/task2-NR-2.0/Matlab_files`. ### Preprocess datasets run `bash ./scripts/prepare_dataset_raw.sh` to preprocess `.mat` files and prepare sentiment labels. For each task, all `.mat` files will be converted into one `.pickle` file stored in `/dataset/ZuCo/<task_name>/<task_name>-dataset.pickle`. ### Usage Example To train an EEG-To-Text decoding model, run `bash ./scripts/train_decoding_raw.sh`. To evaluate the trained EEG-To-Text decoding model from above, run `bash ./scripts/eval_decoding_raw.sh`. <!-- CITATION --> ## Citation ``` @article{amrani2024deep, title={Deep Representation Learning for Open Vocabulary Electroencephalography-to-Text Decoding}, author={Amrani, Hamza and Micucci, Daniela and Napoletano, Paolo}, journal={IEEE Journal of Biomedical and Health Informatics}, year={2024}, publisher={IEEE} } ```