Papers
Topics
Authors
Recent
Search
2000 character limit reached

Vcamba: Efficient Camouflaged Video Detection

Updated 7 July 2026
  • Vcamba is a video camouflaged object detection framework that uniquely combines state-space modeling with dual-domain motion analysis for enhanced motion perception.
  • The architecture employs a U-shaped encoder-decoder with bifurcated spatial and frequency branches, enabling efficient fusion of multi-scale features and reduced computational cost.
  • It achieves superior performance in metrics such as Sα and Fβ^w while halving MACs compared to previous methods, making it a practical solution for video camouflage detection.

Searching arXiv for the specified paper and closely related Mamba-based vision/camouflage works to ground the article in current literature. Visual Camouflage Mamba (Vcamba) is a video camouflaged object detection (VCOD) architecture that combines state space modeling with dual-domain motion analysis in spatial and frequency representations. It is presented as a Mamba-based efficient spatio-frequency motion perception framework for breaking camouflage in video, where foreground and background exhibit high similarity in color and texture, and it integrates frequency and spatial features for efficient and accurate VCOD (Li et al., 31 Jul 2025).

1. Research context and nomenclature

Vcamba belongs to a broader line of work that applies State Space Models (SSMs), especially Mamba-style selective scanning, to vision tasks in which long-range dependencies and sequence efficiency are central. In the formulation associated with Vcamba, the key motivation is that existing VCOD methods primarily rely on spatial appearance features to perceive motion cues, but the high similarity between foreground and background in VCOD results in limited discriminability of spatial appearance features, restricting detection accuracy and completeness. The design therefore introduces frequency features not only to enhance feature representation but also to perceive motion through dynamic variations in frequency energy (Li et al., 31 Jul 2025).

The name is easily confused with other Mamba-based visual systems. “VCMamba” denotes a distinct vision backbone that bridges convolutions with multi-directional Mamba for image classification and semantic segmentation rather than video camouflaged object detection (Munir et al., 4 Sep 2025). “Mamba Capsule Routing Towards Part-Whole Relational Camouflaged Object Detection” addresses image-level camouflaged object detection through type-level capsule routing and Capsules Spatial Details Retrieval, not video motion modeling (Zhang et al., 2024). A common misconception is therefore to treat Vcamba as a generic visual backbone or as a capsule-routing method; in the cited literature, it is specifically a U-shaped encoder–decoder VCOD model with a dual-branch motion perception neck (Li et al., 31 Jul 2025).

This placement is technically significant because the three systems emphasize different inductive biases. VCMamba emphasizes hybrid local/global representation in a hierarchical vision backbone (Munir et al., 4 Sep 2025). Mamba Capsule Routing emphasizes part-whole relational reasoning at the type level (Zhang et al., 2024). Vcamba emphasizes efficient motion perception across frame sequences in both spatial and frequency phase domains (Li et al., 31 Jul 2025). This suggests that the shared use of Mamba does not imply architectural equivalence; rather, the SSM formalism is adapted to distinct sequence constructions and task priors.

2. System architecture and data flow

Vcamba adopts a U-shaped encoder–decoder structure with a dual-branch “motion perception” neck. Given a video clip of NN frames {It}t=1N\{I_t\}_{t=1}^N, each 3×H×W3 \times H \times W, the model begins with an ImageNet-pretrained Vision Mamba (VMamba) backbone with four hierarchical Visual State Space (VSS) layers. In each VSS layer, the standard feed-forward network is replaced by a Receptive Field VSS (RFVSS) block that injects multi-scale convolutional receptive fields into the SSM-based state updater. The encoder outputs four multi-scale feature tensors {FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^4 (Li et al., 31 Jul 2025).

The motion perception neck is bifurcated into a spatial branch and a frequency branch. In the spatial branch, Difference-based Space Enhancement (DSE) computes per-frame inter-feature differences FiD=Fi+1FiF_i^D = F_{i+1} - F_i, then self-attends to yield enhanced spatial cues FiSEF_i^{SE}. These features are processed by the Space-based Long-Range Motion Perception (SLMP) module, which serializes the spatio-temporal map into 1D sequences via four directional scans—horizontal forward, horizontal backward, vertical forward, and vertical backward. Each serialized sequence is processed by an SSM block and then re-merged into per-frame spatial motion features FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W} (Li et al., 31 Jul 2025).

The frequency branch begins with Adaptive Frequency Component Enhancement (AFE). AFE transforms each FiF_i via channel-wise 2D-FFT into amplitude and phase maps, then “spiral-scans” the 2D frequency map low\tohigh and high\tolow into two 1D sequences. These sequences are modeled by an SSM to adaptively weight and enhance frequency bands, then re-assembled and iFFT-reconstructed to produce enhanced frequency features {It}t=1N\{I_t\}_{t=1}^N0. Frequency-based Long-Range Motion Perception (FLMP) then takes the phase-only maps of {It}t=1N\{I_t\}_{t=1}^N1, stacks them into a {It}t=1N\{I_t\}_{t=1}^N2 spatio-frequency tensor, runs four-directional SSM scans to yield per-frame phase-motion features {It}t=1N\{I_t\}_{t=1}^N3, and uses a small Mamba-fusion module (MFM) to gate amplitude maps {It}t=1N\{I_t\}_{t=1}^N4 via a sigmoid, producing guided amplitude {It}t=1N\{I_t\}_{t=1}^N5. Finally, {It}t=1N\{I_t\}_{t=1}^N6 yields per-frame frequency-motion features {It}t=1N\{I_t\}_{t=1}^N7 (Li et al., 31 Jul 2025).

The two branches remain separate until the Space–Frequency Motion Fusion (SFMF) stage. There, {It}t=1N\{I_t\}_{t=1}^N8 and {It}t=1N\{I_t\}_{t=1}^N9 are flattened and concatenated in two ways: sequence-to-sequence for global interaction and point-to-point along patch correspondences for local interaction. The concatenated 1D sequences pass through a shared SSM scan, cross-merge, a linear layer with FFN, and a final 3×H×W3 \times H \times W0 convolution to yield a unified motion representation 3×H×W3 \times H \times W1 for each frame. Four VSS decoder layers then mirror the encoder, up-sampling and fusing across scales to predict per-frame camo-object masks 3×H×W3 \times H \times W2 (Li et al., 31 Jul 2025).

3. State-space formulation and module-level mathematics

The SSM foundation of Vcamba is given in continuous time by

3×H×W3 \times H \times W3

where 3×H×W3 \times H \times W4 is the hidden state, 3×H×W3 \times H \times W5 the input signal, 3×H×W3 \times H \times W6 the output, and 3×H×W3 \times H \times W7 are the state-space parameters. Discretizing via zero-order hold with step 3×H×W3 \times H \times W8 yields

3×H×W3 \times H \times W9

followed by the recursion

{FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^40

In an S6 (Selective) block, {FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^41, {FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^42, and {FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^43 become input-dependent parameters generated via small neural nets of {FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^44, allowing dynamic focus (Li et al., 31 Jul 2025).

Within RFVSS, if {FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^45 is the input at layer {FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^46, time {FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^47, the module first performs channel expansion and activation:

{FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^48

It then applies multi-scale depthwise-separable convolutions in parallel,

{FiRN×Ci×Hi×Wi}i=14\{F_i \in \mathbb{R}^{N \times C_i \times H_i \times W_i}\}_{i=1}^49

and aggregates them as

FiD=Fi+1FiF_i^D = F_{i+1} - F_i0

The state update becomes

FiD=Fi+1FiF_i^D = F_{i+1} - F_i1

This module therefore injects multi-scale convolutional receptive fields into the SSM-based state updater rather than using a standard FFN (Li et al., 31 Jul 2025).

AFE operates in the frequency domain. For a spatial feature FiD=Fi+1FiF_i^D = F_{i+1} - F_i2, channel-wise FFT is defined as

FiD=Fi+1FiF_i^D = F_{i+1} - F_i3

The result is separated into magnitude FiD=Fi+1FiF_i^D = F_{i+1} - F_i4 and phase FiD=Fi+1FiF_i^D = F_{i+1} - F_i5. The 2D frequency map is “spiral-scanned” into a 1D sequence FiD=Fi+1FiF_i^D = F_{i+1} - F_i6 in lowFiD=Fi+1FiF_i^D = F_{i+1} - F_i7high order, and also in reverse highFiD=Fi+1FiF_i^D = F_{i+1} - F_i8low order. Each sequence is passed through an SSM:

FiD=Fi+1FiF_i^D = F_{i+1} - F_i9

The outputs are scattered back into a FiSEF_i^{SE}0 frequency map FiSEF_i^{SE}1, and the enhanced feature is reconstructed as

FiSEF_i^{SE}2

The stated purpose is to adaptively weight and enhance frequency bands while maintaining semantic consistency through the scanning strategy (Li et al., 31 Jul 2025).

SLMP and FLMP instantiate long-range motion modeling in the spatial and frequency phase domains, respectively. In SLMP, each spatial feature map is flattened and stacked into a tensor of shape FiSEF_i^{SE}3, after which four directional SSM scans are applied over the serialized FiSEF_i^{SE}4 tokens:

FiSEF_i^{SE}5

Each output sequence is reshaped to FiSEF_i^{SE}6, fused, and unstacked to per-frame motion features. In FLMP, only phases are flattened and stacked; the resulting phase-motion features FiSEF_i^{SE}7 guide amplitudes through

FiSEF_i^{SE}8

and the reconstructed frequency-motion feature is

FiSEF_i^{SE}9

SFMF then fuses FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}0 and FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}1 through both sequence-to-sequence concatenation FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}2 and point-to-point concatenation over patch correspondences, followed by SSM scanning, a linear layer, FFN, and a final FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}3 convolution to obtain the fused map FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}4 (Li et al., 31 Jul 2025).

4. Supervision, optimization targets, and evaluation criteria

Vcamba is trained with a hybrid loss that combines weighted BCE, weighted IoU, and enhanced-alignment loss:

FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}5

Across four scales and FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}6 frames, the total objective is

FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}7

The formulation is explicitly per frame and per scale, which aligns the optimization target with the multiscale decoder outputs (Li et al., 31 Jul 2025).

The reported evaluation uses six standard metrics for a predicted mask FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}8 and ground-truth FispaRC×H×WF_i^{spa} \in \mathbb{R}^{C \times H \times W}9. These are structure measure FiF_i0, weighted F-measure FiF_i1, enhanced-alignment FiF_i2, mean absolute error FiF_i3, meanDice FiF_i4, and meanIoU FiF_i5. The metric definitions are given explicitly:

FiF_i6

FiF_i7

FiF_i8

FiF_i9

\to0

These choices reflect an emphasis on both segmentation fidelity and structural completeness, which is especially relevant in camouflage settings where boundary ambiguity and incomplete object recovery are recurrent failure modes (Li et al., 31 Jul 2025).

5. Reported performance and computational profile

The quantitative results reported for Vcamba on the MoCA-MASK test set are as follows.

Metric / cost Vcamba
\to1 0.684
\to2 0.382
\to3 0.804
\to4 0.010
\to5 0.459
\to6 0.369
MACs on \to7 input 10.88 G

Against the prior SLTNet on MoCA-MASK, the reported gains are \to8, \to9, \to0, \to1, \to2, and \to3. The paper further states that similar large gains appear on CAD2016. It also reports that Vcamba halves MACs compared to SLTNet, with \to4 versus \to5, and compares against EMIP at \to6 (Li et al., 31 Jul 2025).

The complexity claims are tied directly to the scan-based SSM design. SSM blocks in Mamba scan a 1D sequence of length \to7 in \to8 time and \to9 memory, plus hidden state size {It}t=1N\{I_t\}_{t=1}^N00, whereas a standard Transformer self-attention on length {It}t=1N\{I_t\}_{t=1}^N01 costs {It}t=1N\{I_t\}_{t=1}^N02. For a feature map of {It}t=1N\{I_t\}_{t=1}^N03 over {It}t=1N\{I_t\}_{t=1}^N04 frames, each directional Mamba scan costs {It}t=1N\{I_t\}_{t=1}^N05, and there are a fixed constant number of scans—stated as {It}t=1N\{I_t\}_{t=1}^N06 across SLMP, FLMP, SFMF, AFE, and RFVSS combined—so the total time remains {It}t=1N\{I_t\}_{t=1}^N07 (Li et al., 31 Jul 2025).

A plausible implication is that the efficiency gains are not derived from removing temporal modeling, but from replacing heavier pairwise or kernel-based sequence operators with a constant-number scan regime over serialized spatio-temporal and frequency-temporal sequences. In the reported framing, this is the basis for combining long-range motion perception with lower computation cost.

6. Technical significance and relation to adjacent methods

The defining technical feature of Vcamba is the explicit division of motion perception into a spatial branch and a frequency branch, followed by SSM-based fusion. The spatial branch models inter-frame feature differences and four-directional spatio-temporal scans, while the frequency branch models amplitude and phase behavior after channel-wise 2D-FFT, including spiral frequency-domain sequential scanning and phase-guided amplitude modulation (Li et al., 31 Jul 2025). This suggests that Vcamba treats camouflage breaking not as a purely appearance-based segmentation problem, but as a joint motion-and-spectrum inference problem in which phase-domain dynamics can supply cues that spatial appearance alone cannot provide.

This orientation distinguishes Vcamba from image-only camouflage systems. Mamba Capsule Routing uses a Swin-Transformer encoder, Mamba capsule generation, type-level EM routing, and Capsules Spatial Details Retrieval for camouflaged object detection on still images, with datasets such as CAMO, COD10K, and NC4K (Zhang et al., 2024). Vcamba, by contrast, is organized around per-frame mask prediction in video, dual-domain motion perception, and a hybrid multiscale supervision strategy (Li et al., 31 Jul 2025). The two approaches therefore address related camouflage phenomena but operate on different task formulations and different abstractions of long-range dependency.

Vcamba is also distinct from general-purpose Mamba vision backbones. VCMamba integrates a convolutional stem, hierarchical convolutional FFN stages, and multi-directional Mamba blocks for ImageNet-1K classification and ADE20K semantic segmentation, emphasizing a hybrid local/global representation with linear complexity in image resolution (Munir et al., 4 Sep 2025). Vcamba instead uses VMamba encoder layers modified by RFVSS, then introduces specialized SLMP, FLMP, and SFMF modules tailored to video motion cues under camouflage (Li et al., 31 Jul 2025). A common misreading is therefore to collapse all “visual Mamba” models into a single architectural family; the cited literature indicates that the shared SSM machinery supports sharply different task-specific sequence constructions, from image token scans to type-level capsule routing to spatio-frequency video motion modeling.

In that sense, Vcamba occupies a specific niche within Mamba-based vision research: it is neither a generic backbone nor an image-only camouflage detector, but a task-specific VCOD architecture whose central claim is that efficient and accurate camouflaged video segmentation can be achieved by coupling multi-scale receptive-field VSS blocks with adaptive frequency-domain enhancement, dual-domain long-range motion perception, and SSM-based fusion (Li et al., 31 Jul 2025).

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 Visual Camouflage Mamba (Vcamba).