Biologically plausible learning for NLP using spiking neural network

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.date.accessioned2025-08-27T05:02:02Z
dc.date.available2025-08-27T05:02:02Z
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.
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.
dc.identifier.otherID 21201153
dc.identifier.otherID 21241035
dc.identifier.otherID 21201446
dc.identifier.otherID 21201018
dc.identifier.otherID 21301372
dc.identifier.otherhttps://dspace.bracu.ac.bd/server/api/core/items/a631ecef-e638-46c5-b161-f568a978f1c9
dc.identifier.urihttp://hdl.handle.net/10361/26594
dc.language.isoen
dc.publisherBRAC University
dc.sourceBRAC University Institutional Repository
dc.subjectNeural networks
dc.subjectSynaptic plasticity
dc.subjectDopamine
dc.subjectNatural language processing
dc.subjectAffective computing
dc.titleBiologically plausible learning for NLP using spiking neural network
dc.typeThesis

Files

Original bundle

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