跳到正文
arXiv cs.AI· Shang Tingyu, Cao Wenfei·· 4 小时前AI 评分41

基于平衡状态子空间的 Mamba-2 状态压缩方法

Balanced State Subspaces for Mamba-2 State Compression

AI 导读

arXiv 论文提出一种后训练变换方法,对 Mamba-2 的固定大小循环状态做压缩:研究发现状态能量近似 rank-one 但集中于输出不读取的方向,压缩应针对写入-读取子空间。

正文 · 原文

View PDF HTML (experimental)

Abstract:Mamba-2 compresses all context into a fixed-size recurrent state that dominates decoding memory and bandwidth. Existing compressors quantize state values or prune state coordinates, scoring each channel independently in the native basis. We examine trained Mamba-2 states and find that energy is almost rank-one, but the output does not read the energetic directions: energy concentrates in a bias-like direction accumulated by the recurrence, while the content the output reads lives in a low-dimensional subspace that is not aligned with the state's coordinates. Even output-aware scores are computed coordinate by coordinate, so they miss the directions that determine the input--output map. Compression should therefore target the write--read subspace rather than individual coordinates. We propose \method{}, a post-training transform that instantiates balanced truncation with full controllability and observability Gramians and applies the rotation exactly via Mamba-2's scalar-identity transition. Because the useful rank varies widely across layers, we further introduce HARP, which allocates ranks per layer from the Hankel spectrum and protects retrieval-sensitive layers, improving both perplexity and retrieval over uniform budgets. Calibration takes a single forward pass, an order of magnitude faster than GHOST's released protocol, with lower peak memory. With HARP, \method{} halves the state dimension at an average WikiText-2 perplexity increase of $0.3$ points ($1.8\%$) across 130M--2.7B, versus $1.6$ ($9.3\%$) for GHOST, and the gap widens at 25\% retention.
Comments: 15 pages, 4 figures
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Applications (stat.AP); Methodology (stat.ME)
Cite as: arXiv:2610.36617 [cs.LG]
  (or arXiv:2610.36617v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2610.36617

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Wenfei Cao [view email]
[v1] Tue, 27 Oct 2026 04:21:27 UTC (163 KB)

来源:arXiv cs.AI · arxiv.org