Biologically plausible learning for NLP using spiking neural network

bracu.degree.levelUndergraduate
bracu.type.groupStudent Works
datacite.rightsOpen Access
dc.contributor.advisorAlam, Md. Golam Rabiul
dc.contributor.authorHossain, Tazrian
dc.contributor.authorAlam, Adiba Amreen
dc.contributor.authorRahman, Nafisa
dc.contributor.authorKabir, Maisa
dc.contributor.authorShams, Nafis Al
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2025-08-27T05:02:02Z
dc.date.available2025-08-27T05:02:02Z
dc.date.copyright2025
dc.date.issued2025-06
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 41-44).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2025.en_US
dc.description.abstractCommonly referred to as the third generation of neural networks, Spiking Neural Networks (SNNs) have attracted plenty of research interest in the last decade mainly due to its energy efficient and biologically realistic approach. Although areas like computer vision and signal processing have benefited significantly from SNNs, it seems NLP is still uncharted territory in neuromorphic devices. Our research seeks to establish the capability of Spike-Timing-Dependent Plasticity (R-STDP) in SNNs to conduct sentiment analysis. R-STDP provides a reward based learning mechanism that adjusts the synaptic weights according to the spike timing and feedback such as classification accuracy. This duplicates dopamine-controlled learning in the human brain. We also employed the Forward-Forward algorithm which replaces traditional backpropagation with local, layer-wise learning based on positive and negative sample contrast, allowing for modular and decentralized training without the need for backward error signals which further enhances biological plausibility. In addition, we employ an optimized rate coding method to convert textual data into spike trains that can then be easily processed by SNN architectures. We show that by applying this model on a benchmark sentiment analysis and affective computing dataset, SNNs, using learning rules such as R-STDP, can harness energy efficiency and the event-based nature of neuromorphic platforms to achieve sentiment classification accuracy (48%, 73%) comparable to conventional approaches. To understand the findings of our work, we compare our model to the existing deep learning models. The results obtained are of particular interest in order to assess the performance of spiking models for low-power NLP tasks, and to tailor SNNs into further machine learning pipelines.en_US
dc.description.degreeBachelor of Science in Computer Science and Engineering
dc.description.statementofresponsibilityTazrian Hossain
dc.description.statementofresponsibilityAdiba Amreen Alam
dc.description.statementofresponsibilityNafisa Rahman
dc.description.statementofresponsibilityMaisa Kabir
dc.description.statementofresponsibilityNafis Al Shams
dc.format.extent44 pages
dc.identifier.otherID 21201153
dc.identifier.otherID 21241035
dc.identifier.otherID 21201446
dc.identifier.otherID 21201018
dc.identifier.otherID 21301372
dc.identifier.urihttp://hdl.handle.net/10361/26594
dc.language.isoenen_US
dc.publisherBRAC Universityen_US
dc.rightsBRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission.
dc.subjectNeural networksen_US
dc.subjectSynaptic plasticityen_US
dc.subjectDopamineen_US
dc.subjectNatural language processingen_US
dc.subjectAffective computingen_US
dc.subject.lcshNatural language processing (Computer science).
dc.subject.lcshNeural networks (Computer science).
dc.subject.lcshDopamine.
dc.titleBiologically plausible learning for NLP using spiking neural networken_US
dc.typeThesisen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
21201153,2124103,21201446,21201018,21301372_CSE.pdf
Size:
685.32 KB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: