<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" >

<channel><title><![CDATA[SJP SCI-TECH CLUB - Deep Learning for BCI]]></title><link><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci]]></link><description><![CDATA[Deep Learning for BCI]]></description><pubDate>Tue, 25 Jun 2024 09:29:17 -0700</pubDate><generator>Weebly</generator><item><title><![CDATA[Topic for the future]]></title><link><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/topic-for-the-future]]></link><comments><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/topic-for-the-future#comments]]></comments><pubDate>Mon, 23 Apr 2018 08:26:53 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">https://www.sjpscitech.org/deep-learning-for-bci/topic-for-the-future</guid><description><![CDATA[       Because different people have different patterns of brain signal, it is extreme difficult or nearly impossible to use the model trained by one person's brain activity for another person. However, the technique called transfer learning can make the algorithm remain stable. There were some researchers in the world applying the transfer learning to classical algorithms, such as SVM, but few people apply this technique to deep learning algorithms in the field of Brain Computer Interface. Desi [...] ]]></description><content:encoded><![CDATA[<div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="https://www.sjpscitech.org/uploads/4/6/8/1/4681911/transfer_orig.png" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>  <div class="paragraph">Because different people have different patterns of brain signal, it is extreme difficult or nearly impossible to use the model trained by one person's brain activity for another person. However, the technique called transfer learning can make the algorithm remain stable. There were some researchers in the world applying the transfer learning to classical algorithms, such as SVM, but few people apply this technique to deep learning algorithms in the field of Brain Computer Interface. Designing a deep transfer learning algorithm can be the next step for my deep learning research.&nbsp;</div>]]></content:encoded></item><item><title><![CDATA[Result and Conclusion]]></title><link><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/result-and-conclusion]]></link><comments><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/result-and-conclusion#comments]]></comments><pubDate>Mon, 23 Apr 2018 08:24:43 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">https://www.sjpscitech.org/deep-learning-for-bci/result-and-conclusion</guid><description><![CDATA[Test Accuracy for the AE-LSTM-FFN Algorithm         Test Accuracy for the Support Vector Machine algorithm         The best version of my algorithm achieves about 75% accuracy. The classical Support Vector Machine algorithm (SVM), however, has only 70% accuracy in average. In addition to the accuracy that my algorithm can achieve, it also has smaller variance, compared to the SVM. SVM algorithm has a variance around 20% in average, but my algorithm has only 5% variance due to the effectiveness o [...] ]]></description><content:encoded><![CDATA[<h2 class="wsite-content-title">Test Accuracy for the AE-LSTM-FFN Algorithm</h2>  <div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="https://www.sjpscitech.org/uploads/4/6/8/1/4681911/final-graph_orig.png" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>  <h2 class="wsite-content-title">Test Accuracy for the Support Vector Machine algorithm</h2>  <div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="https://www.sjpscitech.org/uploads/4/6/8/1/4681911/svm-mean-var_orig.png" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>  <div class="paragraph">The best version of my algorithm achieves about 75% accuracy. The classical Support Vector Machine algorithm (SVM), however, has only 70% accuracy in average. In addition to the accuracy that my algorithm can achieve, it also has smaller variance, compared to the SVM. SVM algorithm has a variance around 20% in average, but my algorithm has only 5% variance due to the effectiveness of the autoencoder. In conclusion, the deep learning algorithm does outperform the classical algorithm.&nbsp;</div>]]></content:encoded></item><item><title><![CDATA[Dataset]]></title><link><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/dataset]]></link><comments><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/dataset#comments]]></comments><pubDate>Mon, 23 Apr 2018 08:21:08 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">https://www.sjpscitech.org/deep-learning-for-bci/dataset</guid><description><![CDATA[2.1. Dataset: The data comes from BCI Competition IV (2008), datasets 2B . The dataset contains the brain activities of 9 different subjects. As the dataset description shown, &ldquo;Three bipolar recordings (C3, Cz, and C4) were recorded with a sampling frequency of 250Hz. The recordings had a dynamic range of &plusmn;100&micro;V for the screening and &plusmn;50&micro;V for the feedback sessions. They were bandpass&#64257;ltered between 0.5Hz and 100Hz, and a notch &#64257;lter at 50Hz was enab [...] ]]></description><content:encoded><![CDATA[<div class="paragraph"><span><span style="color:rgb(0, 0, 0)">2.1. Dataset: </span></span><br /><span></span><span><span style="color:rgb(0, 0, 0)">The data comes from BCI Competition IV (2008), datasets 2B . The dataset contains the brain activities of 9 different subjects. As the dataset description shown, &ldquo;Three bipolar recordings (C3, Cz, and C4) were recorded with a sampling frequency of 250Hz. The recordings had a dynamic range of &plusmn;100&micro;V for the screening and &plusmn;50&micro;V for the feedback sessions. They were bandpass&#64257;ltered between 0.5Hz and 100Hz, and a notch &#64257;lter at 50Hz was enabled. The placement of the three bipolar recordings (large or small distances, more anterior or posterior) were slightly di&#64256;erent for each subject. The electrode position Fz served as EEG ground&rdquo;. The recorded brain signals are then stored in the General Data Format. The GDF files can be loaded to Matlab using the BioSig toolbox.</span></span><br /><span></span></div>  <div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="https://www.sjpscitech.org/uploads/4/6/8/1/4681911/1200px-21-electrodes-of-international-10-20-system-for-eeg-svg-1_orig.png" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>]]></content:encoded></item><item><title><![CDATA[A new approach]]></title><link><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/a-new-approach]]></link><comments><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/a-new-approach#comments]]></comments><pubDate>Mon, 23 Apr 2018 07:58:35 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">https://www.sjpscitech.org/deep-learning-for-bci/a-new-approach</guid><description><![CDATA[An AE-LSTM-FNN architecture for the non-invasive, motor imagery Brain Computer Interface system.1. Why Non-invasive BCI: Compare to the invasive BCI, non-invasive BCI receives brain signal with much lower quality. Although the brain signal contain more noise, but the non-invasive BCI still has advantage over invasive BCI. Non-invasive BCI is more secure than the invasive one because the infection caused by implanting the sensors can be avoided. What&rsquo;s more, the neurons near the sensors ins [...] ]]></description><content:encoded><![CDATA[<div class="paragraph"><span><span style="color:rgb(0, 0, 0)">An AE-LSTM-FNN architecture for the non-invasive, motor imagery Brain Computer Interface system.</span></span><br /><span><span>1. Why Non-invasive BCI: Compare to the invasive BCI, non-invasive BCI receives brain signal with much lower quality. Although the brain signal contain more noise, but the non-invasive BCI still has advantage over invasive BCI. Non-invasive BCI is more secure than the invasive one because the infection caused by implanting the sensors can be avoided. What&rsquo;s more, the neurons near the sensors inside the brain will degraded as the time goes, then the sensors becomes ineffective. However, this will not happen when the subject is using non-invasive BCI. Moreover, because of the current low accuracy of non-invasive BCI, the system can still be improved as the classification algorithm becomes more and more advanced.<br /><br />&#8203;2.&nbsp;</span></span><span><span>Why motor imagery: Unlike P300 and SSVEP that requires permanent attention to the external stimuli, motor imagery is independent of any stimulation and can be operated by users with free will. However, the motor imagery signal does has some disadvantages. The training costs a long time for users, may requiring several weeks or months. This is due to the brain tries to adapt Brain Computer Interface and produce more distinguishable pattern. The advanced algorithm can reduce the time of training.</span></span><br /><br /></div>  <h2 class="wsite-content-title">Architecture of Algorithm</h2>  <div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="https://www.sjpscitech.org/uploads/4/6/8/1/4681911/arch_orig.png" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>  <div class="paragraph">AutoEncoder:<br /><br /><span><span style="color:rgb(0, 0, 0)">The Autoencoder is an algorithm that can reduce the noise and dimensionality of the sample. This is an unsupervised training algorithm, meaning this algorithm does not require the labels for learning the patterns of the datasets. In the case of Brain Computer Interface, the autoencoder does not need the intention of moving right or left arm the users thought to learn the patterns from their brain activities. An Autoencoder consists of two parts, the encoders and decoders. &nbsp;The encoders transform the original data into a compressed representation with much lower dimensions. Then, the decoders transform the compressed representation back to the representation with original dimension [10]. Autoencoders try to learn the weights of transformation that minimize the difference between original input and reconstructed inputs. Because the compressed representation has lower dimension, this encoding process is lossy. Therefore, the algorithm has to learn the weight that can preserve the information from the original input in lower dimension, resulting the compressed representation contain more useful information and less noise. </span></span></div>  <div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="https://www.sjpscitech.org/uploads/4/6/8/1/4681911/autoencoder-schema-1_orig.jpg" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>  <div class="paragraph">Long Short Term Memory:<br />Long Short Term Memory is a deep learning architecture that has the ability to learn a pattern from a time series or a sequence data. LSTM was applied to the voice recognition tasks in the past, and classifiers achieved higher accuracy than most classicial algorithms. Because the LSTM will learn the pattern of the brain activity across all the time step, it is possible that applying LSTM to classify motor imagery EEG can improve the accuracy of the algorithm.&nbsp;<br /></div>  <div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="https://www.sjpscitech.org/uploads/4/6/8/1/4681911/lstm3-chain_orig.png" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>]]></content:encoded></item><item><title><![CDATA[How to improve the algorithm?]]></title><link><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/how-to-improve-the-algorithm]]></link><comments><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/how-to-improve-the-algorithm#comments]]></comments><pubDate>Mon, 26 Mar 2018 19:12:23 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">https://www.sjpscitech.org/deep-learning-for-bci/how-to-improve-the-algorithm</guid><description><![CDATA[Deep Learning algorithms play a significant role in the field on image and speech recognition. Deep Learning is a part of the broad field of AI, inspired by the way neuron does the computation. Each node in the Deep Learning algorithm represents a neuron that receives a weighted sum of the input values from other neurons. Then, the neuron does a functional operation, applying a nonlinear function, such sigmoid, tan or relu to the weighted sum. It then sends the value produced by the nonlinear fu [...] ]]></description><content:encoded><![CDATA[<h2 class="wsite-content-title"><span><span style="color:rgb(0, 0, 0)">Deep Learning algorithms play a significant role in the field on image and speech recognition. Deep Learning is a part of the broad field of AI, inspired by the way neuron does the computation. Each node in the Deep Learning algorithm represents a neuron that receives a weighted sum of the input values from other neurons. Then, the neuron does a functional operation, applying a nonlinear function, such sigmoid, tan or relu to the weighted sum. It then sends the value produced by the nonlinear function to another neuron.</span></span></h2>  <div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="https://www.sjpscitech.org/uploads/4/6/8/1/4681911/neuron_orig.png" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>]]></content:encoded></item><item><title><![CDATA[Introduction]]></title><link><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/introduction]]></link><comments><![CDATA[https://www.sjpscitech.org/deep-learning-for-bci/introduction#comments]]></comments><pubDate>Mon, 26 Mar 2018 18:57:53 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">https://www.sjpscitech.org/deep-learning-for-bci/introduction</guid><description><![CDATA[The brain computer interface, or the brain machine interface, is a hardware and software communication system that allows humans to control the external devices or interact with the surrounding by using their electric activity of the brains &#8203;           The main challenge of developing this BCI system is the difficulty of increasing the accuracy of the algorithm, because the BCI system can not easily distinguish what people intend to do.The main problems are:&nbsp;1. Lack of samples: In ord [...] ]]></description><content:encoded><![CDATA[<h2 class="wsite-content-title"><span><span style="color:rgb(0, 0, 0)">The brain computer interface, or the brain machine interface, is a hardware and software communication system that allows humans to control the external devices or interact with the surrounding by using their electric activity of the brains </span></span>&#8203;</h2>  <div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> <a> <img src="https://www.sjpscitech.org/uploads/4/6/8/1/4681911/bci-daigram_orig.png" alt="Picture" style="width:auto;max-width:100%" /> </a> <div style="display:block;font-size:90%"></div> </div></div>  <div class="wsite-spacer" style="height:50px;"></div>  <h2 class="wsite-content-title"><span><span style="color:rgb(0, 0, 0)">The main challenge of developing this BCI system is the difficulty of increasing the accuracy of the algorithm, because the BCI system can not easily distinguish what people intend to do.<br /><br />The main problems are:&nbsp;</span><br /><span style="font-weight:700">1. Lack of samples</span><span>: In order to build a classifier with high accuracy, the classifier must be trained by enough sample pairs of brain signals with intention labled. However, researchers find it challenging to get enough samples because the experiments are time-consuming and difficult to conduct. Without sufficient samples, the classifiers can hardly discover the patterns in the brain activities and can be easily overfitting the samples, so the classifier will get a low test result. <br /></span></span><span><span style="font-weight:700">2. Low signal-to-noise ratio</span><span>: The brain activity recorded by the sensor are highly noisy. The electric noise is caused by the head motions, noise generated power-lines and eyes movements. Especially for the non-invasive BCI, the brain signal has to cross the skull, scalp and many other layers that can reduce the quality of the signal [1]. Then, the brain activities recorded by the sensors will have very low quality.3.&nbsp;</span></span> <br /><strong>3.&nbsp;</strong><span><span style="color:rgb(0, 0, 0); font-weight:700"><strong>High dimensionality</strong> of inputs</span><span style="color:rgb(0, 0, 0)">: The training samples that is fed into the classifier are the voltage recorded by the sensors. Each sample contains the numerical values recorded from several channels and from several time segments. The dimension of the samples will significantly increases after concatenating the values together. </span></span></h2>]]></content:encoded></item></channel></rss>