State-space vs. transformer: a comparative analysis of architectures and optimization techniques on mathematical reasoning benchmark

bracu.degree.levelUndergraduate
bracu.type.groupStudent Works
datacite.rightsOpen Access
dc.contributor.advisorSadeque, Farig Yousuf
dc.contributor.advisorHossain, Ariyan
dc.contributor.authorRahman, Shehran
dc.contributor.authorKhairul, Sameer
dc.contributor.authorRoy, Protaya
dc.contributor.authorNasir, Shamsan
dc.contributor.authorAkif, Ahnaf
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2026-01-14T04:25:32Z
dc.date.available2026-01-14T04:25:32Z
dc.date.copyright2025
dc.date.issued2025-10
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 81-83).
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.abstractLarge Language Models (LLMs) are incredible and sophisticated models that have remarkable capabilities that towers over a wide range of language processing tasks. However, that capability comes with a substantial computational and memory cost which is often too great. This is why it is harder for the general population to access this technology. This paper explores other alternative architectures such as State- Space models in order to understand which models are lightweight but also retain strong performance. The aim is to compare the SSM based Llamba model family performances on mathematical reasoning tasks which remains unexplored. A deep investigation into the accuracy of these models is performed along with other computational metrics such as decode speed, memory usage etc. An exploration has been made on how different architectural choices impact both efficiency and effectiveness of these models. The results provide a clear picture of the existing landscape that Transformers are the obvious architectural choice for the best reasoning accuracy while SSMs can be the viable and efficient alternative in the situations when the computational resources are the main constraint.en_US
dc.description.degreeBachelor of Science in Computer Science and Engineering
dc.description.statementofresponsibilityShehran Rahman
dc.description.statementofresponsibilitySameer Khairul
dc.description.statementofresponsibilityProtaya Roy
dc.description.statementofresponsibilityShamsan Nasir
dc.description.statementofresponsibilityAhnaf Akif
dc.format.extent92 pages
dc.identifier.otherID 24241196
dc.identifier.otherID 22101938
dc.identifier.otherID 24241160
dc.identifier.otherID 22101481
dc.identifier.otherID 23241138
dc.identifier.urihttp://hdl.handle.net/10361/27438
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.subjectLarge language modelsen_US
dc.subjectKnowledge distillationen_US
dc.subjectState-space modelsen_US
dc.subjectMathematical reasoningen_US
dc.subjectReasoning accuracyen_US
dc.subjectTransformersen_US
dc.subjectNeural networksen_US
dc.subjectArtificial intelligenceen_US
dc.subject.lcshState-space methods.
dc.subject.lcshNeural networks (Computer science).
dc.subject.lcshComputer network architectures.
dc.titleState-space vs. transformer: a comparative analysis of architectures and optimization techniques on mathematical reasoning benchmarken_US
dc.typeThesisen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
24241196, 22101938, 24241160, 22101481, 23241138_CSE.pdf
Size:
1 MB
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: