Lost in compression: the failure of SSMs to propagate factual context in transformer reconstruction

dc.contributor.advisorSadeque, Farig Yousuf
dc.contributor.advisorFarhan, Niloy
dc.contributor.authorKhandoker, Shahriar
dc.contributor.authorZubayer, Abdullah Al
dc.date.accessioned2026-04-12T06:09:35Z
dc.date.available2026-04-12T06:09:35Z
dc.date.issued2026-01
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 83-90).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science, 2026.
dc.description.abstractState Space Models (SSMs) have emerged as a promising alternative to Transformer architectures, offering improved computational efficiency and scalability for long-context sequence modeling. Furthermore, several hybrid SSM-Transformer architectures have been proposed, aiming to combine the efficient context modeling capabilities of SSMs with the expressive decoding power of Transformers. These hybrid approaches are commonly claimed to offer advantages over Transformer-only or SSM-only models. In this work, we investigate a critical weakness of such hybrid designs by constructing an encoder-decoder language model in which an SSM-based architecture serves as the encoder and a Transformer serves as the decoder. Although this model produces grammatically fluent outputs, we observe systematic degradation in factual accuracy when evaluating it on text summarization tasks. Through controlled experiments, we demonstrate that the latent representations generated by the SSM encoder are insufficient for accurate factual reconstruction during Transformer-based decoding. Our findings suggest that SSM-based encoders compress contextual information in a manner that is not fully decodable for factual and faithful summarization, exposing a fundamental limitation of SSMs in encoding context-rich representations suitable for downstream reconstruction. This work provides insights into the challenges of fact-preserving context compression in neural language models.
dc.identifier.otherID 24141122
dc.identifier.otherID 24141076
dc.identifier.otherhttps://dspace.bracu.ac.bd/server/api/core/items/79927a49-96e0-4b9b-9c33-3f0180430da7
dc.identifier.urihttp://hdl.handle.net/10361/27854
dc.language.isoen
dc.publisherBRAC University
dc.sourceBRAC University Institutional Repository
dc.subjectHybrid SSM-Transformer Architecture
dc.subjectHallucination
dc.subjectEncoder-Decoder model
dc.subjectBridge adapter
dc.subjectState Space Models
dc.subjectTransformer reconstruction
dc.titleLost in compression: the failure of SSMs to propagate factual context in transformer reconstruction
dc.typeThesis

Files

Original bundle

Now showing 1 - 1 of 1
Thumbnail Image
Name:
24141122, 24141076_CSE.pdf
Size:
6.68 MB
Format:
Adobe Portable Document Format