---
title: Local Emphatic State Space Module
url: https://www.emergentmind.com/topics/local-emphatic-state-space-module-le-ssm
type: topic
---

# Local Emphatic State Space Module

Local Emphatic State Space Module (LE-SSM) is a state-space-based mechanism for strengthening local representation inside SSM backbones. In the literature considered here, the term is used in two closely related senses. In LEAF-Mamba, LE-SSM is a concrete module for RGB-D salient object detection that captures multi-scale local dependencies through a multi-scale, multi-directional, windowed selective scan applied separately to RGB and depth features [2509.18683]. In Mamba3D, the same idea appears as a broader design pattern in which state space modeling is combined with explicit local operators such as Local Norm Pooling (LNP), so that local geometry is emphasized before global SSM mixing [2404.14966].

## 1. Motivation and problem setting

LE-SSM arises from a recurring limitation in vision-oriented SSM adaptations. Standard SSMs and Vision Mamba architectures commonly adapt 1D sequential modeling to visual inputs by scanning 2D images as 1D sequences, either along rows and columns or in a windowed manner. The reported failure modes are twofold: flattening 2D images into 1D sequences often disrupts adjacency and local semantic relationships, and fixed-window variants can capture local context but fail to model multi-scale dependencies. In RGB-D salient object detection, these limitations are compounded by the need for modality-specific semantics and effective use of complementary depth cues [2509.18683].

The same locality problem appears in other modalities. For unordered 3D point clouds, a straightforward adoption of Mamba does not achieve satisfactory performance, because vanilla SSMs are not well-equipped for unordered sets due to sequential dependencies and the lack of explicit locality modeling. Mamba3D addresses this by introducing an explicit local block and a bidirectional SSM design, and it is described as a Local Emphatic SSM view of state-space modeling for point clouds and possibly other unordered data modalities [2404.14966].

A common thread across these settings is that LE-SSM is introduced not as a rejection of state-space recurrence, but as an augmentation of it. The module preserves the linear-complexity appeal of SSMs while attempting to recover local semantics that may be weakened by purely sequential scans or by arbitrary orderings of visual or geometric data [2509.18683].

## 2. Canonical LE-SSM formulation in LEAF-Mamba

In LEAF-Mamba, LE-SSM is integrated into a dual-stream encoder, with one stream for RGB and one for depth. Each stage uses standard VMamba blocks for initial feature extraction, and in the last block of each stage the LE-SSM replaces the vanilla VMamba block to enhance local, multi-scale semantics for both streams. The core mechanism is the Multi-Scale Windowed 2D Selective Scan (MSW-SS2D), in which the input feature map is traversed in four distinct scanning directions, each with a unique window size [2509.18683].

| Scan path | Directional form | Window size |
|---|---|---:|
| \( \mathrm{H_1} \) | Horizontal | 1 |
| \( \mathrm{HF_2} \) | Horizontal Flipped | 2 |
| \( \mathrm{V_4} \) | Vertical | 4 |
| \( \mathrm{VF_8} \) | Vertical Flipped | 8 |

For each scan direction \( \mathrm{Scan} \in \mathcal{S} = \{ \mathrm{H_1}, \mathrm{HF_2}, \mathrm{V_4}, \mathrm{VF_8} \} \), the feature map \( X \) is unfolded into a sequence according to the scan path and window size, processed by its own SSM, reshaped back into 2D positions, and then summed with the other scan outputs. The module output is

$$
Y = \sum_{\mathrm{Scan} \in \mathcal{S}} \mathrm{Reshape}(\mathrm{S6}(\mathrm{Scan}(X))).
$$

Each directional sequence is handled by an S6 block resembling Mamba’s selective scan block. The selective mechanism means that the parameters \( \bm{C} \), \( \bm{B} \), and \( \Delta \) are input-dependent, providing content-aware state transitions. The reported motivation is that local neighborhoods are processed together rather than being fragmented by a single flattened traversal, while the four scan paths aggregate distinct spatial scales and directional relations with negligible overhead [2509.18683].

## 3. Local semantics, multi-scale dependence, and modality handling

LE-SSM is applied independently to both RGB and depth streams. This independent local enhancement is intended to ensure that modality-specific local structures are emphasized before cross-modality fusion. The enhanced RGB and depth features are then fused downstream through the Adaptive Fusion Module (AFM), which is outside the LE-SSM itself but is part of the larger LEAF-Mamba design [2509.18683].

The reported treatment of local dependence is explicitly multi-scale. Small windows, such as size 1, capture local fine detail and edge information, whereas larger windows, such as size 8, provide contextual, mid-range dependencies that are useful for objects of varying sizes. The flipped scan directions are introduced to ensure diversity and to avoid directional bias by aggregating neighborhoods adjacent in multiple major directions. The result is described as a robust local representation for each pixel obtained by fusing four parallel SSM outputs [2509.18683].

This structure distinguishes LE-SSM from both classic SS2D and fixed-window scans. The relevant claim is not simply that locality matters, but that preserving local adjacency alone is insufficient if scale variation is not modeled. LE-SSM therefore couples locality preservation with scale diversification, and it does so separately for each modality before any RGB-depth interaction is imposed [2509.18683].

## 4. LE-SSM as a broader design pattern in Mamba3D

Mamba3D provides a broader interpretation of LE-SSM as a conceptual fusion of SSMs with explicit local operators. The architecture introduces the Local Norm Pooling (LNP) block to extract local geometric features from point neighborhoods and a bidirectional SSM (bi-SSM) to improve global context modeling. In this account, LE-SSM is not restricted to 2D windowed scans; it also includes designs in which local propagation and aggregation are integrated directly into the state-space backbone for unordered data [2404.14966].

The LNP block operates on local patches, typically built from Farthest Point Sampling and K-Nearest Neighbor grouping. It has two stages. In K-norm, neighbor features are normalized relative to the center point and then fused with the center feature through concatenation and a learnable affine transformation. In K-pooling, the fused neighbor features are aggregated back to the center with a softmax-based weighting that is intended to be more expressive than max or average pooling while maintaining permutation invariance. The role of LNP is to inject explicit local geometry, addressing a key SSM and Transformer weakness in point cloud analysis [2404.14966].

Global modeling is handled by bi-SSM. Mamba3D defines

$$
\mathrm{bi\mbox{-}SSM}(\mathbf{F}) = \mathbf{F} + [\mathrm{L{+}SSM}(\mathbf{F}^{L+})] + [\mathrm{C\mbox{-}SSM}(\mathbf{F}^{C-})].
$$

Here, L+SSM is the standard token-forward SSM, and C-SSM is a backward SSM applied over feature channels rather than token order. The stated motivation is to alleviate pseudo-order reliance caused by imposing an arbitrary sequence on an unordered point set, while also enabling global reasoning across feature channels. In this formulation, Mamba3D can be viewed as a Local Emphatic SSM because expressive, locally sensitive feature extraction is integrated directly into a state-space network [2404.14966].

## 5. Position within the unified theory of sequence models

A later theoretical framework places attention mechanisms and state space models within a single operator-based formalism. For a sequence input \( X = [x_1,\ldots,x_n] \) and output \( Y = [y_1,\ldots,y_n] \), the framework writes

$$
y_i = \sum_{j=1}^{n} W_{ij}(X)x_j,
$$

where \( W_{ij}(X) \) is an input-dependent effective interaction operator. Two recurring construction patterns are distinguished: the Unified Factorized Framework (Explicit), associated with attention-style mixing, and Structured Dynamics (Implicit), associated with state-space recurrences. LE-SSM is positioned within the latter family, because its interaction operators are induced by state-space dynamics rather than by a purely explicit reweighting of shared value maps [2512.15115].

Three theoretical results are especially relevant. The Interaction Rank Gap states that single-head factorized models are constrained to a low-dimensional operator span and cannot represent certain structured dynamical maps. The Equivalence (Head-Count) Theorem states that representing a linear SSM whose lag operators span a \( k \)-dimensional subspace on length-\( n \) sequences requires and is achievable with \( H = k \) heads in the multi-head factorized class. The Gradient Highway Result states that attention layers admit inputs with distance-independent gradient paths, whereas stable linear dynamics exhibit distance-dependent gradient attenuation [2512.15115].

Within this framework, LE-SSM is described as supporting higher-rank local interaction subspaces akin to SSMs, while potentially suffering from distance-dependent gradient decay. This suggests a precise trade-off: LE-SSM-like modules inherit algebraic expressivity associated with structured dynamics, but they do not automatically inherit the optimization properties of attention’s direct input-output paths. A plausible implication, explicitly noted in the same theoretical account, is that architectures interleaving attention and SSM blocks may use SSMs for rich, structured, efficient modeling of local and mid-range interactions while inserting periodic attention blocks to refresh direct-access pathways and improve long-range credit assignment [2512.15115].

## 6. Empirical evidence and interpretive issues

In LEAF-Mamba, the empirical role of LE-SSM is documented through ablations and scan-strategy comparisons. On NJUD, the baseline is reported as \( F_{\beta} = 0.917 \) and \( \mathrm{MAE} = 0.030 \), while Baseline + LE-SSM reaches \( F_{\beta} = 0.931 \) and \( \mathrm{MAE} = 0.028 \). On SSD, the baseline is \( F_{\beta} = 0.851 \) and \( \mathrm{MAE} = 0.044 \), while Baseline + LE-SSM reaches \( F_{\beta} = 0.872 \) and \( \mathrm{MAE} = 0.039 \). The reported relative improvements are +1.4% \( F_{\beta} \) and -6.7% MAE on NJUD, and +2.5% \( F_{\beta} \) and -11.4% MAE on SSD [2509.18683].

| Strategy | NJUD \(F_{\beta}\) | SSD \(F_{\beta}\) |
|---|---:|---:|
| SS2D | 0.917 | 0.851 |
| Continuous scan | 0.919 | 0.856 |
| Fixed windowed scan | 0.925 | 0.863 |
| MSW-SS2D (LE-SSM) | 0.931 | 0.872 |

These comparisons address a common misunderstanding: LE-SSM is not equivalent to any local scan or any windowed SSM. The reported results distinguish classic row/column scan, continuous scan, fixed windowed scan, and multi-scale windowed scan, with MSW-SS2D yielding the highest \( F_{\beta} \) on both large and small benchmarks. The qualitative evidence is summarized as sharper predictions, more accurate object boundaries, and better detection of objects at varying scales and in complex backgrounds. At the system level, LEAF-Mamba is reported to consistently outperform 16 state-of-the-art RGB-D SOD methods in both efficacy and efficiency, and also to achieve excellent performance on RGB-T SOD [2509.18683].

The related point-cloud formulation in Mamba3D supplies a second empirical perspective on local-emphatic SSM design. Mamba3D reports 92.6% overall accuracy from scratch on ScanObjectNN and 95.1% with single-modal pre-training on ModelNet40, both with linear complexity. It also reports that removing LNP leads to a 1.2–2.9% drop in accuracy, that removing bi-SSM or replacing it with attention leads to consistent declines, and that naive token-flip or alternative local pooling also degrades performance. In this broader sense, the empirical record supports the narrower LEAF-Mamba claim that explicit local extraction is a decisive complement to SSM backbones when locality is structurally important [2404.14966].

Source: https://www.emergentmind.com/topics/local-emphatic-state-space-module-le-ssm