{"id":{"repo_id":"iastate","oai_identifier":"oai:dr.lib.iastate.edu:20.500.12876/106556"},"canonical_url":"https://search.ndltd.org/etd/iastate/oai:dr.lib.iastate.edu:20.500.12876/106556","repository":{"repo_id":"iastate","name":"Iowa State University","base_url":"https://dr.lib.iastate.edu/server/oai/request"},"display":{"title":"Performance profiling and activity-based state pruning for efficient Mamba inference","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.","abstract_html":"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.","abstract_has_math":true,"creators":["Al Asif, Abdullah"],"institution":"Iowa State University - Thesis & Dissertation","degree_name":"Master of Science","degree_level":"thesis","degree_discipline":"Computer science","degree_department":"Department of Computer Science","school":null,"contributors":[],"advisors":["Jannesari, Ali"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-05","date_published":"2026-05","updated_at":"2026-11-19T04:31:09Z","subjects":["Computer science"],"languages":["en_US"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/106556"],"render_values":[{"text":"https://dr.lib.iastate.edu/handle/20.500.12876/106556","href":"https://dr.lib.iastate.edu/handle/20.500.12876/106556","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31274/td-20260804-32","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.31274/td-20260804-32","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiastate%3Aoai%3Adr.lib.iastate.edu%3A20.500.12876%2F106556","prefix":"oai_dc"},"source_record":{"url":"https://dr.lib.iastate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.lib.iastate.edu%3A20.500.12876%2F106556","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Jannesari, Ali"]},{"key":"dc:contributor.department","label":"Department","values":["Department of Computer Science"]},{"key":"dc:creator","label":"Author","values":["Al Asif, Abdullah"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-06-09T16:07:15Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-06-09T16:07:15Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-05"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-06-09T16:07:16Z"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["f7be4eb9-d1d0-4081-859b-b15cee251456"]},{"key":"dc:type","label":"Dc Type","values":["Text","thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Iowa State University - Thesis & Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer science"]},{"key":"dc:subject.discipline","label":"Dc Subject Discipline","values":["Computer science"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Mamba","Model Pruning","Profiling","Selective State Space Models"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.31274/td-20260804-32"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/106556"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["May2026"]},{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["PDF"]},{"key":"dc:title","label":"Title","values":["Performance profiling and activity-based state pruning for efficient Mamba inference"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Jannesari, Ali"],"dc:contributor.department":["Department of Computer Science"],"dc:creator":["Al Asif, Abdullah"],"dc:date.accessioned":["2026-06-09T16:07:15Z"],"dc:date.available":["2026-06-09T16:07:15Z"],"dc:date.issued":["2026-05"],"dc:date.updated":["2026-06-09T16:07:16Z"],"dc:description":["May2026"],"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."],"dc:format.mimetype":["PDF"],"dc:identifier.doi":["https://doi.org/10.31274/td-20260804-32"],"dc:identifier.uri":["https://dr.lib.iastate.edu/handle/20.500.12876/106556"],"dc:language.iso":["en_US"],"dc:relation.orgunit":["f7be4eb9-d1d0-4081-859b-b15cee251456"],"dc:subject":["Computer science"],"dc:subject.discipline":["Computer science"],"dc:subject.keyword":["Mamba","Model Pruning","Profiling","Selective State Space Models"],"dc:title":["Performance profiling and activity-based state pruning for efficient Mamba inference"],"dc:type":["Text","thesis"],"dspace:entity.type":["Publication"],"thesis:degree_discipline":["Computer science"],"thesis:degree_level":["thesis"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Iowa State University - Thesis & Dissertation"]},"updated_at":"2026-11-19T04:31:09Z"}