Skip to content

This project investigates the decoding of speech from brain activity, focusing on enhancing communication abilities for individuals with severe motor disabilities, such as those with Amyotrophic Lateral Sclerosis (ALS) or brainstem stroke.

Notifications You must be signed in to change notification settings

altairje/Speech-Decoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain-to-Text: Neural Decoding Challenge

Team: Team 1

OverviewRepositoryDatasetsApproachResultsConclusionContact


👥 Team Members

  • Adithya Shetty
  • Aibek Akhmetkazy
  • Altair Toleugazinov
  • Daniyal Asif
  • Sergey Smetankin

Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle.

🔍 Project Overview

Our project is part of the "Brain-to-Text Benchmark '24" hosted on Eval.ai, which challenges teams to develop a system capable of translating human neural activity into text using deep learning. This involves decoding EEG data to convert it into sentences.

Project Description Image

📂 Repository Structure

  • approach1: Folder for the first approach using specific neural decoding strategies.
  • approach2: Folder for the second approach with alternate decoding strategies.
  • approach3: Folder for the third approach, integrating complex models.
  • baseline: Folder to run the Baseline model for comparison.
  • requirements.txt: List of Python dependencies for reproducing the analysis.

🔧 Environment Setup and Running the Code

To set up the environment and run the code, please follow these steps:

  1. Clone the repository: git clone https://github.com/your-repo-url
  2. Install dependencies: pip install -r requirements.txt
  3. Navigate to the approach folder: cd approach1 (or any other approach)
  4. Run the notebook: jupyter notebook

📊 Datasets

We utilize a dataset from neurobiological experiments where neural activity was recorded with microelectrode arrays. The data consist of 12,100 spoken sentences and include features like threshold crossings and spike band power, which are crucial for developing our decoding models.

Data Fields

  • sentenceText: Text of each sentence.
  • spikePow: Time series of spike power neural features.
  • tx1, tx2, tx3, tx4: Time series of threshold crossing neural features with different thresholds.

🚀 Approach

Our project includes three main approaches to decoding neural signals:

  1. Approach 1: Involves preprocessing for data normalization, feature extraction by combining tx1 and spikePow, phoneme decoding using a G2p model, and a SpeechBCIModel for generating phoneme probabilities, followed by a language model for text generation.

  2. Approach 2: Starts with data segmentation and normalization, utilizes tx1 and spikePow for feature extraction, employs a G2p model for phoneme decoding, and uses a convolutional and LSTM network for neural decoding, with an n-gram language model to enhance text coherence.

  3. Approach 3: Features block-wise normalization, concatenates tx1 and spikePow for input features, uses a Seq2Seq model with attention mechanisms for phoneme-to-text conversion, and includes a GRU-based encoder and decoder for final text prediction.

🏁 Results & Insights

The following table compares the Word Error Rate (%) across different approaches:

Approach Word Error Rate (%)
SOTA 8.93
Approach 1 13.65
Approach 2 14.78
Approach 3 15.23
Baseline 15.43

🎉 Conclusion

Our project demonstrates significant advances in the ability to decode speech from neural signals, pushing the boundaries of what's possible in brain-computer interfacing technology.

📧 Contact Information

For more details, you can reach out to us:

About

This project investigates the decoding of speech from brain activity, focusing on enhancing communication abilities for individuals with severe motor disabilities, such as those with Amyotrophic Lateral Sclerosis (ALS) or brainstem stroke.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •