FM-Mamba: An Efficient Native 2D Selective State Space Model with Stability-Aware Discretization
Shengyuan Hu, Yiyong Sun, Weihang Shan, Yongzhe Chang
Abstract
When applied to two-dimensional features such as images, Mamba-based methods either flatten the feature map into 1D sequences and fuse multiple scans, which breaks spatial adjacency and multiplies computation, or recurse directly on the 2D grid but rescale the recurrence with a fixed input-independent factor and aggregate only the predecessors on a single anti-diagonal, leaving the discrete step unconstrained by 2D stability theory. We propose FM-Mamba, a native 2D selective state space model built on the general Fornasini--Marchesini (FM) model. Its coupled recurrence evolves along both spatial axes; cross-axis coupling induces a discrete diagonal-predecessor term A0, and two independent input-dependent step sizes Δ1(i,j), Δ2(i,j) govern propagation along the two axes, so that the coefficients adapt per position and per direction. A normalized ratio rk=a0,k/(a1,ka2,k) yields a closed-form piecewise bound on the two step sizes; when a configuration falls outside the stable interval the steps are projected onto this bound, and the criterion is re-verified per position after training, which suppresses systematic local amplification without global damping. The recurrence is executed by a dual-diagonal wavefront scan: each update gathers information from two anti-diagonals, and the input enters the current state through a single projection, so that neither training nor inference flattens the feature map. Code is available at https://github.com/BitSsm/FM-Mamba-Runtime
Create a lesson
Related papers
Input-to-State Stability in Distributed Adaptive Identification of Nonlinear Systems without Input Sharing
Shared title terminology · Moh Kamalul Wafi
Hierarchical Agentic Mid-Band Agility for Reliable Low-Latency Space-Air-Ground Integrated V2X Networks
Shared title terminology · Liu Cao, Zisheng Gong, Lyutianyang Zhang et al.
Network Traffic Dynamics in Urban Low-Altitude Air Transport with Projected-Space Macroscopic Fundamental Diagrams
Shared title terminology · Ran Chen, Can Chen, Nikolas Geroliminis
Network-Aware Reserve Procurement via Decision-Dependent Adaptive Robust Optimization
Shared title terminology · Guillaume Van Caelenberg, Akylas Stratigakos, Elina Spyrou
Motion-Sickness-Aware Vehicle Control via DKUC-Based Inverse Design and Iterative Feedback Tuning
Shared title terminology · Uta Kawakami, Kenji Sawada
DeoPC: Data-Enabled Output-Feedback Predictive Control for State Regulation
Shared title terminology · Jingyuan Li, Dawei Shi, Ling Shi