<p>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 <InlineEquation ID="IEq1"> <EquationSource Format="TEX">\(89.83\% \pm 0.19\%\)</EquationSource> </InlineEquation> accuracy with 914.18 ms per-character inference latency. By selecting only ten key features, the model incurred a minimal accuracy loss of <InlineEquation ID="IEq2"> <EquationSource Format="TEX">\(&lt;1\%\)</EquationSource> </InlineEquation>, while achieving a <InlineEquation ID="IEq3"> <EquationSource Format="TEX">\(4.51\times\)</EquationSource> </InlineEquation> 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.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

A low-latency neural inference framework for real-time handwriting recognition from EEG signals on an edge device

  • Ovishake Sen,
  • Raghav Soni,
  • Darpan Virmani,
  • Akshar Parekh,
  • Patrick Lehman,
  • Sarthak Jena,
  • Adithi Katikhaneni,
  • Adam Khalifa,
  • Baibhab Chatterjee

摘要

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 \(89.83\% \pm 0.19\%\) accuracy with 914.18 ms per-character inference latency. By selecting only ten key features, the model incurred a minimal accuracy loss of \(<1\%\) , while achieving a \(4.51\times\) 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.