Back to search

Iowa State University - Thesis & Dissertation

Performance profiling and activity-based state pruning for efficient Mamba inference

Abstract

dc:description.abstract

Selective State Space Models (SSMs) have emerged as promising alternatives to Transformer-based architectures for sequence modeling, thanks to their favorable scaling behavior and efficiency on long-context tasks. Among these models, Mamba has attracted significant attention for its linear-time sequence modeling capability. However, the internal performance characteristics of Mamba-based architectures remain insufficiently understood, particularly with respect to runtime bottlenecks, memory usage, and scaling behavior across different sequence lengths. This thesis presents a detailed component-level performance analysis of Mamba-1 and Mamba-2 to identify the major sources of computational inefficiency. The study examines latency, memory consumption, computational cost, and I/O behavior across key architectural components and shows that the State Space Model (SSM) module is the dominant bottleneck, especially during decoding. Guided by this observation, this thesis proposes a structured, activity-based pruning method for the SSM state representation. The proposed method uses the average activity of the input-dependent gating parameter $\Delta t$ to identify low-activity-state channels and remove them, while maintaining compatibility with the original model via a lightweight bridging mechanism. Experimental results on Mamba2-130M show that the proposed approach achieves up to 1.14$\times$ speedup and 11.5\% memory reduction with relatively small accuracy degradation under moderate pruning levels.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
thesis
Discipline thesis:degree_discipline
Computer science
Department dc:contributor.department
Department of Computer Science
Grantor
Iowa State University - Thesis & Dissertation
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Al Asif, Abdullah
Advisor dc:contributor.advisor
  • Jannesari, Ali

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Al Asif, Abdullah. Performance profiling and activity-based state pruning for efficient Mamba inference. thesis thesis, Iowa State University - Thesis & Dissertation, 2026. https://doi.org/10.31274/td-20260804-32