Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hierarchical Gated SSM Blocks

Updated 22 May 2026
  • Hierarchical gated SSM blocks are a deep learning innovation that integrates wavelet-style multi-scale decomposition, input gating, and parallel sequencing to efficiently capture both local and long-range dependencies.
  • They use cascaded SSMs at distinct scales to process fine and coarse information, enhancing performance in vision, time series, and autonomous driving tasks.
  • The approach achieves nearly linear computational and memory complexity, with ablation studies confirming improved context aggregation and efficiency over transformer-based models.

Hierarchical gated state-space model (SSM) blocks constitute a recent advance in deep sequence and spatial modeling architectures, systematically combining multi-scale signal decomposition, input-gated state transitions, and coarse-to-fine hierarchical processing. These blocks are designed to efficiently capture both local and long-range dependencies in high-dimensional data, surpassing the memory and computational efficiency of classical transformer-based approaches in tasks such as vision, time series modeling, and autonomous driving (Wang et al., 8 Aug 2025, Karami et al., 29 Dec 2025).

1. Hierarchical and Multi-Scale Decomposition

The defining principle of hierarchical gated SSM blocks is the multi-level decomposition of input sequences or tensors via cascaded, wavelet-style (or multi-resolution) convolutions. In this decompositional hierarchy, the input is split into streams corresponding to different spatial or temporal scales:

  • Fine scales encode high-frequency, local information.
  • Coarse scales capture global, slowly-varying structure.

In the temporal MS-SSM instance, S levels of stationary, causal, depthwise-1D dilated convolutions yield S + 2 channel streams: the original input (scale 0), S detail coefficients from each scale (scales 1...S), and a final coarse approximation (scale S + 1). This multi-resolution expansion allows parallelized and specialized SSMs to operate on information tailored to distinct scales, with each scale's SSM maintaining a separate recurrent hidden state (Karami et al., 29 Dec 2025).

In the spatial GM-Fusion design for BEV fusion, features are hierarchically extracted at four spatial scales (¼, ⅛, 1/16, 1/32 of input resolution), with SSM fusion operating at each resolution to exploit the unique global context and texture granularity available at each level (Wang et al., 8 Aug 2025).

2. Block Structure and Mathematical Formulation

A typical hierarchical gated SSM block proceeds through three major phases: (1) input decomposition, (2) parallel SSM updates per scale, and (3) adaptive feature mixing.

MS-SSM Block (Temporal, 1D Case) (Karami et al., 29 Dec 2025):

  • Wavelet-style decomposition: For sequence xtx_t (t=1…Lt = 1 \dots L), produce S+2S+2 streams x^t=[xt,dt1,...,dtS,atS]\hat{x}_t = [x_t, d_t^1, ..., d_t^S, a_t^S] via stacked, dilated, depthwise convolutions.
  • Parallel SSMs: For each scale ss, maintain hidden state hts∈RNh_t^s \in \mathbb{R}^N:

hts=Aˉsht−1s+Bˉts⋅uts,yts=Ctshts,h_t^s = \bar{A}^s h_{t-1}^s + \bar{B}_t^s \cdot u_t^s,\qquad y_t^s = C_t^s h_t^s,

where Aˉs\bar{A}^s is the scale-specific transition (possibly diagonal), Bˉts,Cts\bar{B}_t^s, C_t^s are input-gated projections, and utsu_t^s is the stream input for scale t=1…Lt = 1 \dots L0.

  • Scale mixer: The scale SSM outputs t=1…Lt = 1 \dots L1 are fused via a linear, input-dependent mixing vector t=1…Lt = 1 \dots L2, giving the composed output t=1…Lt = 1 \dots L3.

GM-Fusion (Spatial, 2D Case) (Wang et al., 8 Aug 2025):

  • Parallel input paths: The input BEV feature map t=1…Lt = 1 \dots L4 is split into a BEV positional encoding path and an identity path, fused through a logistic gating mechanism as t=1…Lt = 1 \dots L5 with t=1…Lt = 1 \dots L6.
  • Adaptive fusion: After depthwise convolution, four parallel branches (direct path, raster-SSM, zigzag-SSM, and multi-scale fusion) are adaptively combined using learned weights t=1…Lt = 1 \dots L7.
  • AwareSSM serial recurrence: Directional, distance-weighted, and spatially-aware 1D serial SSMs operate over raster and zigzag serialized feature maps, using input decay t=1…Lt = 1 \dots L8 and anisotropic state transitions parameterized by direction-specific t=1…Lt = 1 \dots L9 matrices.

3. Gating, Spatial Priors, and Input-Dependence

Central to hierarchical gated SSM blocks is the use of input-dependent gating at multiple levels:

  • Input-dependent projections: In MS-SSM, SSM recurrence parameters (S+2S+20, S+2S+21, and time-step S+2S+22) are gated by a linear function of the current input, empowering the model to dynamically modulate memory updates and outputs based on local context.
  • Scale-mixing: The fusion weights controlling which SSM scales dominate the block output are explicit learned functions of the current input in MS-SSM, providing token-wise scale adaptation.
  • Spatial priors: In GM-Fusion, position encodings encode both distance and orientation (with interleaved sinusoidal functions in ego-centric polar coordinates), and state transitions encode directionality with bias toward forward, lateral, or backward dependencies, integrated via gated weighted sums. The distance decay factor S+2S+23 locally emphasizes close-range context in spatial reasoning.

This multi-level gating enables both dynamic selection of relevant features and efficient use of global and local memory, increasing model expressivity and adaptiveness in comparison to fixed recurrent or convolutional baselines.

4. Sequencing Strategies and Parallelization

Hierarchical gated SSM designs exploit serialization schemes and parallelization strategies that maximize context aggregation while maintaining computational efficiency:

  • Directional sequencing: In GM-Fusion, raster (row-major) and zigzag (snaked rows) orderings are used to serialize 2D feature maps, enabling SSMs to exploit both global directional continuity and adjacency for propagation of contextual information. The inclusion of both schemes empirically increases task performance compared to single-pattern SSMs (Wang et al., 8 Aug 2025).
  • Associative-scan parallelization: In MS-SSM, the state recurrences at each scale are run in parallel using associative-scan approaches, enabling efficient computation within each block (S+2S+24 with S+2S+25 sequence length and S+2S+26 SSM dim), plus S+2S+27 for the convolutions over S+2S+28 scales and kernel size S+2S+29 (Karami et al., 29 Dec 2025).

A plausible implication is that such sequencing and parallelization lowers the sequential bottleneck of traditional SSMs while broadening the effective receptive field.

5. Memory, Complexity, and Efficiency

Hierarchical gated SSM blocks achieve linear (or quasi-linear) complexity in both memory and computation with respect to sequence length or spatial extent, reflecting significant scalability advantages over quadratic transformer-based models:

  • GM-Fusion SSMs: For each layer, x^t=[xt,dt1,...,dtS,atS]\hat{x}_t = [x_t, d_t^1, ..., d_t^S, a_t^S]0 multiply-adds, with x^t=[xt,dt1,...,dtS,atS]\hat{x}_t = [x_t, d_t^1, ..., d_t^S, a_t^S]1 (spatial extent), x^t=[xt,dt1,...,dtS,atS]\hat{x}_t = [x_t, d_t^1, ..., d_t^S, a_t^S]2, and at four spatial scales. By not needing to store x^t=[xt,dt1,...,dtS,atS]\hat{x}_t = [x_t, d_t^1, ..., d_t^S, a_t^S]3 attention maps, the memory footprint remains x^t=[xt,dt1,...,dtS,atS]\hat{x}_t = [x_t, d_t^1, ..., d_t^S, a_t^S]4 per block (Wang et al., 8 Aug 2025).
  • MS-SSM blocks: Overall cost is dominated by x^t=[xt,dt1,...,dtS,atS]\hat{x}_t = [x_t, d_t^1, ..., d_t^S, a_t^S]5 for parallel SSMs and x^t=[xt,dt1,...,dtS,atS]\hat{x}_t = [x_t, d_t^1, ..., d_t^S, a_t^S]6 for convolutions. The scale increase in state size is offset by specialization of SSM dynamics and efficient gating, so total cost is nearly the same as a standard SSM with (S + 2)N hidden size (Karami et al., 29 Dec 2025).

This efficiency permits processing of high-dimensional or high-resolution inputs that would be intractable for standard transformers.

6. Empirical Results, Ablations, and Impact

Ablation studies and large-scale experiments confirm the practical benefits of hierarchical gated SSMs:

  • GM-Fusion (NAVSIM autonomous driving): Replacing transformer fusion with HCA + BEV-SSM raises performance from 88.10 to 88.69 PDMS (+0.59), with full GM-Fusion (adding channel attention) at 88.85 PDMS (+0.75 vs. transformer) (Wang et al., 8 Aug 2025). Introducing dual-directional sequencing (raster + zigzag) further improves results (+0.15 PDMS). Multi-scale SSM fusion (hierarchical) versus single-scale offers a ~0.3 PDMS gain, supporting the necessity of coarse-to-fine integration.
  • MS-SSM (sequence modeling benchmarks): Multi-resolution decomposition increases effective receptive field and recall, especially in long-range or hierarchical tasks (mean mixing distance is quadrupled over Mamba at constant total state) (Karami et al., 29 Dec 2025).

Taken together, these results establish hierarchical gated SSM blocks as state-of-the-art components for tasks requiring rich, scalable memory and global-local integration. Their design connects multi-scale signal processing (notably wavelet theory) with modern, gated deep SSM architectures.

7. Comparison to Previous and Alternative Architectures

The hierarchical gated SSM paradigm departs from classical single-scale or uniform SSMs in several respects:

  • Hierarchical SSMs explicitly enable parallel, scale-specialized recurrence, permitting each scale to maintain memory tuned to its temporal or spatial frequency characteristics.
  • Input-dependent gating enhances adaptivity by letting the network learn optimal scale fusion on a per-token basis, avoiding monolithic mixing or fixed averaging.
  • Transformer-based fusion, by contrast, suffers from quadratic complexity and lacks explicit encoding of scale, directionality, or spatial priors.

This suggests that hierarchical gating, multi-scale decomposition, and contextualized mixing represent a new direction for efficient, adaptive long-range modeling in high-dimensional settings.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Hierarchical Gated SSM Blocks.