A low-latency neural inference framework for real-time handwriting recognition from EEG signals on an edge device
Brain-computer interfaces (BCIs) hold significant promise for restoring communication in individuals with severe motor or speech impairments. Imagined handwriting, as a form of motor imagery, offers an intuitive paradigm for character-level neural decoding. While invasive techniques such as electrocorticography (ECoG) offer high decoding accuracy, their surgical requirements pose clinical risks and hinder scalability. Non-invasive alternatives like electroencephalography (EEG) are safer and more accessible but suffer from low signal-to-noise ratio (SNR) and spatial resolution, limiting their effectiveness in high-resolution decoding. Here, we investigate how advanced machine learning, combined with informative feature extraction, can overcome these limitations, enabling EEG-based decoding performance that approaches invasive methods, while supporting real-time inference on edge devices. We present the first real-time, low-latency, high-accuracy system for decoding imagined handwriting from non-invasive EEG signals on a portable edge device. EEG data were collected from 15 participants using a 32-channel headcap and preprocessed with bandpass filtering and artifact subspace reconstruction (ASR). We extracted 85 time domain, frequency domain, and graphical features, then applied Pearson correlation coefficient-based feature selection to reduce latency while preserving accuracy. We developed a hybrid architecture, EEdGeNet, which integrates a Temporal Convolutional Network (TCN) with a multilayer perceptron (MLP), trained on the extracted features and deployed on the NVIDIA Jetson TX2 for real-time inference. The system achieved [Formula: see text] accuracy with 914.18 ms per-character inference latency. By selecting only ten key features, the model incurred a minimal accuracy loss of [Formula: see text], while achieving a [Formula: see text] reduction in inference latency (202.62 ms) compared to the full 85-feature set. These findings show that non-invasive EEG, combined with efficient feature and model design, can enable accurate, real-time neural decoding on low-power edge devices, paving the way for practical, portable BCIs.
Authors
- Akash D. Parekh (ORCID: https://orcid.org/0000-0003-1659-8337)
- Adam Khalifa (ORCID: https://orcid.org/0000-0002-2956-5596)
- Baibhab Chatterjee (ORCID: https://orcid.org/0000-0002-2688-281X)
- Deepali Virmani (ORCID: https://orcid.org/0000-0002-4132-9254)
- Ovishake Sen (ORCID: https://orcid.org/0000-0001-7727-9503)
- Sanjay Kumar Jena (ORCID: https://orcid.org/0000-0002-1619-8360)
- Raghav Soni
- Patrick Lehman
- Adithi Katikhaneni
Institutions
- University of Florida (US)
- Cognitive Research (United States) (US)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-11-20
- DOI
- https://doi.org/10.1038/s41598-025-24972-y
- Citations
- 1
- Primary Topic
- EEG and Brain-Computer Interfaces
- Type
- article
- Field-Weighted Citation Impact
- 1.43
Funders
- University of Florida