PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 12, 20260 citationsOpen Access

Density Field State Space Models: 1-Bit Distillation, Efficient Inference, and Knowledge Organization in Mamba-2

View Full Paper
SCShinde Chirag

Key Points

  • This research aims to develop a framework for compressing state space models with efficient inference while analyzing internal knowledge organization.
  • Introduced Density Field State Space Models (DF-SSM) for model compression
  • Applied DF-SSM to Mamba-2 1.3B, reducing model size and improving inference speed
  • Developed optimized inference pipeline with cuBLAS INT8 tensor cores and custom CUDA kernels
  • Conducted analysis of knowledge organization through systematic evaluation of factual prompts.
  • Achieved a model size of 278 MB, significantly smaller than the 2.7 GB FP16 teacher
  • Increased inference speed to 21.4× faster than the original implementation
  • Maintained performance on downstream tasks within 2–4 percentage points of BitMamba-2
  • Identified distinct processing phases: intent classification, knowledge retrieval, and output formatting.

Abstract

We present Density Field State Space Models (DF-SSM), a framework for compressing SSMs to a 1-bit scaffold with int8 low-rank correction. Applied to Mamba-2 1.3B, we achieve a 278 MB model (9.7× smaller than the 2.7 GB FP16 teacher) that runs at 21.4× faster inference on GPU (batch=1, relative to the mamba-ssm reference implementation) while maintaining downstream task performance within 2–4 percentage points of BitMamba-2, a 1.58-bit model trained from scratch on 150B tokens. The distillation itself requires only 32M tokens and 6 hours on a single A100 GPU, though it presupposes a pretrained FP16 teacher. We develop an optimized inference pipeline combining cuBLAS INT8 tensor cores for the scaffold matmul, custom CUDA kernels for stateful SSM and convolution operations, and an AVX-512 CPU backend for efficient deployment on both GPU and CPU. Beyond compression, we investigate the internal knowledge organization of the resulting model, discovering three distinct processing phases: intent classification (layers 0–3, operating in an abstract space with no vocabulary alignment), knowledge retrieval (layers 25–35, where factual associations localize to a 5-layer window), and output formatting (layers 36–47, where category structure dissolves). Through systematic analysis of 445 factual prompts across 19 categories, we find that early-layer classification is syntactic (driven by template structure) rather than semantic, and that the model exhibits well-organized knowledge representations despite weak factual recall—suggesting that representational structure may precede factual strength.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Shinde Chirag (2026) studied this question.

synapsesocial.com/papers/69db38274fe01fead37c661bhttps://doi.org/10.5281/zenodo.19501056
Ask AI
Helpful
Bookmark
Share
View Full Paper