Next Article in Journal
EA-AHS: A Perception-Driven Adaptive Heuristic Framework for Real-Time UAV Path Planning in Complex Urban Environments
Previous Article in Journal
Meta-Analysis of Data from Radiometric Partial Discharge Localization Systems
Previous Article in Special Issue
Fault-Tolerant Control of AGVs via Deep Feature Enhancement and Multi-Source Verification in Complex Industrial Environments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

LeanCOD: Real-Time Small Camouflaged Object Detection on Edge Devices

by
Youngjin Kim
,
Dong He
and
Young Hoo Cho
*
Research and Development Center, dSPECTER, Seongnam 13449, Republic of Korea
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(14), 4354; https://doi.org/10.3390/s26144354
Submission received: 7 May 2026 / Revised: 25 June 2026 / Accepted: 3 July 2026 / Published: 9 July 2026
(This article belongs to the Special Issue AI for Sensor-Based Robotic Object Perception)

Abstract

Camouflaged object detection (COD) methods suffer severe degradation on small camouflaged objects and remain incapable of real-time inference on edge devices. We propose LeanCOD, a framework that pairs a strong foundation-model encoder with a lightweight decoder to enable high-resolution inference. A size-aware composite loss further strengthens supervision on small camouflaged objects. Our size-wise experiments reveal that the 0–1% extra-small-object regime is the major performance bottleneck for existing COD methods. LeanCOD achieves an S α of 0.915 on COD10K at a 576 × 576 resolution, outperforming competing methods at equal or lower resolutions. Deployed with TensorRT FP16 on an NVIDIA Jetson AGX Orin, LeanCOD runs at 31.6 FPS while maintaining an S α of 0.908 at a 576 × 576 resolution, exceeding the 30 FPS real-time threshold.

1. Introduction

Camouflaged object detection (COD) segments targets that visually blend into their surroundings through color and texture mimicry [1]. The task finds diverse applications in wildlife monitoring, medical image analysis, and autonomous surveillance. Unlike salient object detection (SOD), where high foreground–background contrast provides a strong prior, COD must resolve fine boundary ambiguity between targets and their surroundings.
This work focuses on single-image region-level binary segmentation under the standard COD benchmark setting; instance-level detection and video COD are beyond the present scope.
Recent COD advances have been driven primarily by increasingly complex decoder designs: specialized attention mechanisms [2], frequency decomposition [3], graph-based interaction [4], and multi-stage refinement pipelines [5,6]. Despite improvements in aggregate performance, the rising complexity overhead presents two barriers to practical deployment, which has received limited attention by existing COD methods.
First, small camouflaged objects produce limited feature-map activations, making accurate localization and boundary delineation challenging. We conduct a size-wise evaluation and reveal that performance drops significantly in small-object regimes, as shown in Figure 1a. This degradation is often obscured by standard aggregate metrics. Second, computational efficiency has received limited attention in the COD community [7]. Although a concurrent study [8] reports benchmarks on embedded platforms, it does not reach the 30 FPS threshold commonly cited for real-time inference.
These two challenges are intrinsically coupled. Higher input resolution is essential to preserve fine detail of small objects, yet the complexity of modern COD decoders precludes real-time inference on resource-constrained platforms. These limitations motivate an alternative design strategy: rather than engineering a more efficient complex decoder, we investigate whether decoder complexity can be radically reduced and the saved computation redirected to input resolution scaling.
We propose LeanCOD, a framework built on the principle of reallocating computation from decoder complexity to input resolution. Because COD relies heavily on semantic context to resolve visual ambiguity, this strategy relies on an encoder that provides sufficiently expressive features, allowing the decoder to remain lightweight without compensating through additional modules. To this end, we systematically benchmark 16 backbones, including CNNs, hierarchical vision transformers, and vision foundation models, and adopt DINOv3-ConvNeXt-Base [9] as the encoder for its accuracy–efficiency trade-off. The resulting decoder uses only standard operations, namely convolutions, element-wise addition, and bilinear upsampling. Furthermore, we supervise training with a size-aware composite loss designed to counteract the severe foreground–background imbalance and the training bias toward large objects.
As shown in Figure 1b, LeanCOD achieves competitive COD accuracy S α on COD10K while maintaining high inference throughput. Furthermore, our TensorRT FP16 deployment reaches 31.6 FPS on an NVIDIA Jetson AGX Orin, exceeding the 30 FPS real-time threshold while maintaining competitive accuracy. To the best of our knowledge, among the published COD methods compared, no other method has simultaneously achieved competitive accuracy and real-time throughput on a Jetson-class edge device.
This work makes the following threefold contributions:
  • We propose LeanCOD, a COD framework that exploits the strong representational capacity of a foundation-model encoder to simplify the decoder and redirect the saved computation to high-resolution inference. LeanCOD achieves strong overall accuracy, reaching an S α of 0.915 on COD10K at a 576 × 576 resolution.
  • We introduce a size-aware evaluation protocol that reveals where performance degradation occurs across object scales. It identifies the 0–1% extra-small-object regime as the most challenging case. This analysis motivates our size-aware composite loss and resolution-scaling strategy.
  • We report the real-time COD edge deployment on an NVIDIA Jetson AGX Orin using TensorRT FP16. The deployed model reaches 31.6 FPS while maintaining an S α of 0.908, exceeding the 30 FPS real-time threshold.

2. Related Work

2.1. Camouflaged Object Detection

The introduction of COD10K [1] established large-scale camouflaged object detection as a distinct task, with SINet and its successor SINet-V2 [5] setting early benchmarks through search-and-identification architectures. Subsequent methods have diversified along several design philosophies: CamoFormer [2] separates foreground and background regions through masked separable attention; FEDER [3] decomposes features into frequency bands to reconstruct edges; and HGINet [4] pairs dynamic token clustering with graph-based bidirectional interaction. Furthermore, ZoomNeXt [6], FSPNet [10], and HDPNet [11] refine predictions through pyramid or hierarchical feature propagation, while DGNet [12] introduces gradient-supervised context–texture learning within an efficient dual-branch framework. A recent COD survey [7] identifies multi-scale context, attention, and coarse-to-fine refinement as prevailing design paradigms. However, this evolution has led to excessively heavy decoder architectures, where the pursuit of performance comes at the expense of inference throughput and deployment feasibility.
More recently, vision foundation models (VFMs) have been introduced into COD. EVP [13] demonstrates explicit visual prompting for adapting frozen pretrained transformer backbones to foreground segmentation tasks, including COD. SAM [14]-based pipelines [15] adapt the foundation backbone through prompts or adapter modules. While these works demonstrate the efficacy of VFM-based COD, they primarily focus on encoder adaptation and overlook the potential for architectural simplification in the decoder. LeanCOD investigates this under-explored trade-off, advocating for a substantial reduction in decoder complexity.

2.2. Small Camouflaged Object Detection

Standard COD evaluation typically reports aggregate metrics over objects of all sizes, which masks performance degradation on small targets. Li et al. [16] show that SOD metrics are systematically biased toward large objects; Cheng et al. [17] report steep accuracy drops across four size bins in general small-object detection. Within COD, Lv et al. [18] move toward size-aware evaluation by treating objects smaller than 3% of the image area as small-structure targets. However, binary classification offers only coarse-scale characterization and cannot reveal how performance changes across different object-size ranges. Therefore, we instead adopt a six-bin size-aware decomposition, with particular emphasis on the 0–1% extra-small regime that prior work does not isolate from the broader small-object category.

2.3. Efficient COD and Edge Deployment

Real-time edge deployment remains largely unexplored in COD [7]. TinyCOD [19] pairs a compact TinyNet-a backbone with an adjacent-scale fusion decoder, and DGNet-S [12] offers a lightweight variant of DGNet. However, neither reports benchmarks on edge devices, and both show lower aggregate accuracy than recent high-performing COD baselines. LiteCOD [8] combines MobileViT-S with holistic local–global feature fusion and reports approximately 20 FPS on an NVIDIA Jetson AGX Orin at a 512 × 512 resolution, representing one of the earliest published edge-device speed results in the COD literature. However, this measurement was conducted without deployment-oriented inference optimization, and the potential speed gains from such optimization remain unquantified. LiteCOD operates in a complementary design regime to ours: it pairs a compact backbone with additional task-specific fusion modules, whereas our approach relies on a foundation backbone with a lightweight decoder.

2.4. Asymmetric Encoder–Decoder Design

In the broader segmentation literature, DeepLabv3+ [20] pairs an encoder augmented with atrous spatial pyramid pooling with a lightweight refinement decoder. SegFormer [21] reduces the decoder to an MLP-only head that relies entirely on a hierarchical transformer encoder for representational capacity. RTFormer [22] achieves real-time segmentation throughput through GPU-friendly attention with a lightweight segmentation head. These works show that a capable encoder paired with a minimal decoder yields competitive accuracy at reduced cost; however, whether this principle extends to COD, where minimal foreground–background contrast demands richer encoder features, has not been explored. LeanCOD investigates this question, reallocating the saved decoder computation to high-resolution inference for small camouflaged objects.

3. Methodology

3.1. Framework Overview

The overall framework of LeanCOD is illustrated in Figure 2. We adopt an asymmetric encoder–decoder paradigm, leveraging a lightweight decoder to concentrate computational resources on enhancing representation learning within the encoder stage. This design is motivated by the observation that high-resolution inputs are crucial for retaining spatial details of small camouflaged objects. Consequently, the encoder must generate rich semantic features to tackle camouflage-induced visual ambiguity. Specifically, we employ DINOv3-ConvNeXt-Base [9] as the encoder, which generates four hierarchical feature maps { f 1 , f 2 , f 3 , f 4 } at strides { 4 , 8 , 16 , 32 } . These multi-level features are then fed into a lightweight decoder, which integrates cross-scale cues and predicts a full-resolution camouflage map. To enhance the detection of small targets, we supervise the training with a size-aware composite loss.

3.2. Lightweight Decoder

The decoder consists of four stages: channel projection, top-down fusion, multi-scale aggregation, and progressive refinement. By leveraging basic components such as standard convolutions and bilinear upsampling, the decoder efficiently transforms multi-level features into a high-resolution camouflage map. This architecture achieves accurate predictions while maintaining a low computational cost.

3.2.1. Channel Projection

To align channel dimensions, each hierarchical feature map is mapped to 48 channels through a 1 × 1 convolution, complemented by GroupNorm and GELU:
f i proj = GELU ( GN ( Conv 1 × 1 ( f i ) ) ) , i { 1 , 2 , 3 , 4 } ,
where f i denotes the feature map from the i-th DINOv3-ConvNeXt stage.

3.2.2. Top-Down Fusion

Given the rich multi-scale representations provided by the encoder, we use simple element-wise addition to propagate high-level contextual information from deeper to shallower levels. Top-down fusion is performed using non-learnable bilinear upsampling followed by element-wise addition:
f 3 fus = f 3 proj + Up 4 3 f 4 proj , f 2 fus = f 2 proj + Up 3 2 f 3 fus , f 1 fus = f 1 proj + Up 2 1 f 2 fus ,
where Up j i ( · ) denotes bilinear interpolation to the spatial resolution of f i proj , and f i fus denotes the fused feature at stage i.

3.2.3. Multi-Scale Aggregation

Given the multi-scale fused features { f 1 fus , f 2 fus , f 3 fus } , we aggregate them at the resolution of f 1 fus . Specifically, f 2 fus and f 3 fus are upsampled and refined by a 3 × 3 convolution followed by GroupNorm and GELU:
f i ref = GELU ( GN ( Conv 3 × 3   ( Up i 1 ( f i fus ) ) ) ) , i { 2 , 3 } .
The three features are concatenated channel-wise and further integrated via a 1 × 1 convolution followed by GroupNorm, GELU, and spatial dropout with a dropout rate of 0.1:
f agg = Dropout ( GELU ( GN ( Conv 1 × 1 ( [ f 1 fus ; f 2 ref ; f 3 ref ] ) ) ) ) .
In contrast to element-wise addition, we concatenate features from different scales to preserve scale-specific information. This enables the subsequent 1 × 1 convolution to learn adaptive weights across scales, effectively capturing the advantages of multi-scale aggregation without the computational overhead of attention-based fusion.

3.2.4. Progressive Refinement

The aggregated feature f agg is progressively upsampled to full resolution through two refinement stages. Each stage consists of two bilinear upsamplings followed by a 3 × 3 convolution, GroupNorm, and GELU:
g 1 = GELU ( GN ( Conv 3 × 3   ( Up 2 × ( f agg ) ) ) ) , g 2 = GELU ( GN ( Conv 3 × 3   ( Up 2 × ( g 1 ) ) ) ) .
Splitting the fourfold bilinear upsamplings into two steps allows each refinement block to correct aliasing and boundary artifacts at an intermediate resolution before final prediction. The second refinement block reduces the channel capacity from 48 to 24, gradually condensing the representation before the final prediction. Finally, a 1 × 1 convolution maps the 24-channel feature to a logit map y ^ R 1 × H × W .

3.3. Feature Flow Visualization

Figure 3 presents Eigen-CAM [23] visualizations of representative activations within LeanCOD. While early encoder stages preserve fine-grained spatial structures, they are often distracted by background clutter due to target–background similarity. In contrast, deep stages produce semantically selective activations centered on the target, confirming that DINOv3-ConvNeXt extracts sufficiently discriminative features for camouflage resolution. The decoder effectively transfers these high-level responses to higher resolutions through top-down fusion and progressive refinement. This visualization suggests that a lightweight decoder may already be sufficient when the encoder provides strong semantic representations.

3.4. Size-Aware Composite Loss

To mitigate the dominance of background pixels and reduce size-induced training bias, we introduce a size-aware composite loss that combines three terms: focal loss [24] for hard example mining, mean IoU loss for scale-invariant region supervision, and boundary loss for structure refinement. The overall objective is formulated as
L = λ 1 L focal + λ 2 L meanIoU + λ 3 L bdy ,
where the weighting factors λ 1 = 0.35 , λ 2 = 0.45 , and λ 3 = 0.20 are empirically determined via grid search. Each term is detailed below.
Focal loss. To address the severe imbalance between foreground and background pixels, focal BCE loss down-weights easy pixels and emphasizes hard pixels:
L focal = 1 N i = 1 N α i ( 1 p t , i ) γ log ( p t , i ) ,
where N is the number of pixels, y i { 0 , 1 } is the ground-truth label of the i-th pixel, and p i = σ ( y ^ i ) is the predicted probability. Here, p t , i = p i if y i = 1 and p t , i = 1 p i otherwise. The class-balancing factor is defined as α i = α for foreground pixels and α i = 1 α for background pixels. We set α = 0.75 and γ = 4.0 . Compared with the commonly used setting γ = 2.0 , we use a larger focusing parameter because foreground pixels occupy only a small fraction of COD images, especially for small camouflaged objects.
Mean IoU loss. Mean IoU loss provides scale-agnostic region supervision by averaging batch-wise IoU values rather than accumulating intersection and union over the entire batch.
L meanIoU   = 1 1 B b = 1 B i = 1 N p b , i y b , i i = 1 N p b , i + i = 1 N y b , i i = 1 N p b , i y b , i ,
where B is the batch size, and p b , i and y b , i denote the predicted probability and ground-truth label of the i-th pixel in the b-th sample, respectively. Because each sample contributes equally regardless of object area, small-object samples are not overwhelmed by large-object samples during batch averaging. This property is particularly beneficial for COD, where camouflaged targets can occupy only a very small portion of the image.
Boundary loss. Camouflaged objects often exhibit weak and ambiguous boundaries. To encourage sharper structural delineation, we extract a boundary mask from the ground-truth mask using a fixed 5 × 5 Laplaciankernel:
m bdy = 1 | K 5 × 5 y | > 0.1 ,
where K 5 × 5 denotes the fixed Laplacian kernel, ∗ denotes convolution, and m bdy is a binary mask indicating boundary pixels. BCE is then computed only over the extracted boundary pixels:
L bdy = 1 i = 1 N m bdy , i i = 1 N m bdy , i y i log p i + ( 1 y i ) log ( 1 p i ) .
This term receives the lowest weight among the three losses as it mainly improves boundary coherence rather than dominating the overall optimization.

4. Experiments

4.1. Experimental Setup

Datasets. The experiments are conducted on four widely used COD benchmarks. CAMO [25] contains 1250 camouflaged images in which objects are concealed in natural scenes. CHAMELEON [26] consists of 76 hand-annotated camouflaged images. COD10K [1], the largest COD benchmark, comprises 5066 camouflaged images, 1934 non-camouflaged images, and 3000 background images across 78 categories; only the camouflaged subset is used in this work. NC4K [27] provides 4121 testing images collected from the internet. Consistent with [1,2,6], the training set is constructed by combining the COD10K training set (3040 images) and the CAMO training set (1000 images). Evaluation is performed on CHAMELEON (76 images), CAMO test (250 images), COD10K test (2026 images), and NC4K (4121 images).
Metrics. We adopt four standard metrics for quantitative evaluation: S-measure ( S α ) [28], adaptive E-measure ( E ϕ ) [29], weighted F-measure ( F β ω ) [30], and mean absolute error (MAE). For object-size analysis on COD10K, the test set is partitioned into six disjoint subsets according to the object-to-image area ratio, defined as the total nonzero foreground pixel count in the binary ground-truth mask divided by the total pixel count of the image. For images containing multiple camouflaged targets, the foreground areas of all targets are summed, and each image is assigned to exactly one bin based on this aggregate ratio. The six bins are 0–1% (188 images), 1–3% (397 images), 3–5% (296 images), 5–10% (498 images), 10–25% (512 images), and >25% (135 images). Throughout this paper, objects below 3% area are referred to as small objects, while objects with 0–1% area are denoted as extra-small objects.
Implementation Details. We implement our model inPyTorch 2.7.1 and conduct training on an NVIDIA RTX 4090 GPU. The encoder is a DINOv3-ConvNeXt-Base (88 M parameters) initialized with pretrained weights [9]. To leverage the strong representational priors of the foundation model while allowing task adaptation, we fine-tune the encoder with a lower learning rate and train the decoder at the base learning rate. The model is trained for 100 epochs using the Adam optimizer [31] with a batch size of 32. The decoder uses a learning rate of 1 × 10 4 , while the pretrained encoder uses 1 × 10 5 . For real-world deployment analysis, we export the model to TensorRT with FP16 precision and measure inference performance on an NVIDIA Jetson AGX Orin.

4.2. Comparison with State-of-the-Art Methods

Quantitative comparison. Table 1 compares LeanCOD with existing COD methods on four standard benchmarks. The lightweight COD block provides an accuracy-oriented reference with three representative efficient methods: TinyCOD, DGNet-S, and LiteCOD. These methods report lower aggregate accuracy across COD10K, CAMO, and NC4K; for example, on COD10K, their S α values range from 0.810 to 0.852, compared with 0.898 for LeanCOD at 384 × 384 . At an input resolution of 384 × 384 , LeanCOD achieves the highest or tied-highest S α on all four datasets among the methods evaluated at 384 × 384 or lower resolutions. When evaluated at higher resolutions, LeanCOD maintains consistently strong results across S α , E ϕ , F β ω , and MAE. These results indicate that the proposed lightweight design effectively benefits from high-resolution inference while preserving competitive overall accuracy.
Qualitative comparison. Figure 4 presents a visual comparison of predictions across three object-size regimes. For extra-small objects (0–1%), the existing methods often exhibit fragmented or weak target responses due to the scarcity of foreground evidence. In contrast, LeanCOD generates spatially concentrated and complete masks. In the 1–3% and 3–10% regimes, LeanCOD produces sharper boundaries and higher structural integrity, particularly in cases of high appearance similarity between target and background. These results demonstrate that high-resolution inference, facilitated by our lightweight decoder, effectively preserves fine-grained spatial details.
Size-wise experiments. To evaluate the robustness of LeanCOD across various scales, we extend the binary categorization [18] into a size-aware six-bin decomposition. We define Δ = S α ( 0 1 % ) S α ( Full ) as the performance gap to quantify a model’s sensitivity to extreme scale variations. A smaller | Δ | indicates that the model maintains consistent performance even when foreground evidence is minimal. Table 2 and Table 3 report the size-wise S α and F β ω results, respectively. These experiments yield two key observations:
First, the extra-small regime is most challenging. Performance exhibits a non-linear decay as object size decreases. For objects larger than 3%, the average S α drop between adjacent bins is relatively mild (∼0.020). However, this degradation accelerates sharply in the extra-small regime, with the drop increasing to 0.040 from 3–5% to 1–3% and a staggering 0.091 from 1–3% to 0–1%. This confirms that the 0–1% regime is the primary bottleneck for current COD baselines.
Second, the resolution-scaling rows of LeanCOD show that increasing input resolution alleviates small-object degradation within the same design. As the input resolution increases, both S α and F β ω improve in the 0–1% bin, and the gap between full-image and extra-small performance decreases. This trend suggests that higher-resolution inputs can help to preserve discriminative spatial structures for extra-small objects, which is further qualitatively validated by the boundary precision improvements in Figure 5.
Performance–FPS trade-off. Table 4 compares performance, throughput, and peak memory on the COD10K test set under identical RTX 4090 settings. To examine whether the accuracy gain at higher resolutions is specific to our design, we select three baselines for cross-resolution comparison: SINet-V2 and DGNet as high-throughput representatives and ZoomNeXt as a high-accuracy representative. SINet-V2 and DGNet are retrained at 576 and 768 using each model’s original optimizer, loss, and augmentation (); ZoomNeXt(B4) is evaluated via its tri-scale inference protocol at each nominal resolution ().
At 576, SINet-V2 and DGNet improve by + 0.025 and + 0.040 in S α over their native 352 results, confirming that training-resolution matching contributes to accuracy. At the same resolution, LeanCOD obtains S α 0.915, compared with 0.840 (SINet-V2) and 0.862 (DGNet). ZoomNeXt uses tri-scale inference, so its effective maximum input at nominal 384 is already 576; at nominal 768, the largest scale reaches 1152, and S α drops to 0.889. These results indicate that resolution scalability varies across architectures. Figure 6 visualizes the speed–accuracy trade-off across all compared methods.

4.3. Synthetic Adverse-Condition Evaluation

Following the common-corruption robustness benchmarking practice [34], we evaluate LeanCOD under three synthetic input corruptions: fog, rain, and low light. The corrupted inputs are derived from COD10K test images while reusing the original ground-truth masks; no training, fine-tuning, or inference-time adaptation is applied. LeanCOD is evaluated at a 576 × 576 input resolution.
Table 5 reports the results, where Δ S α denotes the change from the original condition. The largest degradation is Δ S α = 0.0245 (rain on full COD10K), while fog and low light produce smaller changes. In the extra-small 0–1% subset, | Δ S α | remains within 0.0250 for all three corruptions. Figure 7 confirms that object location and overall shape are well preserved across conditions.

4.4. Ablation Study

4.4.1. Backbone Ablation

Table 6 benchmarks 16 backbone architectures to investigate their impact on camouflage resolution. The results reveal that backbone selection is decisive for detecting extra-small targets. Under similar parameter scales, foundation backbones exhibit superior semantic robustness over hierarchical ViTs. Notably, this advantage is more pronounced in the extra-small regime: compared with PVTv2-B4, DINOv3-ViT-B improves S α by + 0.016 on the full test set, a gain that nearly doubles to + 0.029 on the 0–1% bin.
We select DINOv3-ConvNeXt-Base as our default backbone for two reasons. First, its hierarchical architecture naturally provides multi-scale feature maps, which are essential for our fusion-based decoder. Second, it strikes an optimal balance between accuracy and efficiency; while matching the performance of DINOv3-ViT-B, it requires 19% fewer GFLOPs and achieves a 12% higher throughput.

4.4.2. Decoder Ablation

We investigate the necessity of decoder components, namely multi-scale aggregation, progressive refinement, and top-down fusion. Table 7 shows that all decoder variants remain within 0.004 S α of the LeanCOD decoder in overall performance, suggesting that the strong foundation backbone serves as the primary source of representation in this setting. Compared with the FPN baseline [35], the LeanCOD decoder yields + 0.003 in overall S α and + 0.011 in extra-small S α . These margins indicate that the LeanCOD decoder is a low-cost aggregation and refinement choice that preserves strong encoder representations while providing a small complementary benefit in the extra-small regime. Replacing additive top-down fusion with a learned sigmoid gate does not improve performance, suggesting that parameter-free additive fusion is adequate when the encoder already supplies rich contextual features.
Table 8 reports the LeanCOD decoder’s parameter count and computational cost as fractions of the full network, alongside two simpler controls. The LeanCOD decoder accounts for 0.1464% of the total parameters and 5.80% of the total GFLOPs. The S0 linear head applies a 1 × 1 classifier and bilinear upsampling directly to the H / 4 encoder feature, reaching 0.477 overall S α . The S1 single-upsample multi-scale head omits progressive refinement and recovers 0.895 overall S α with approximately 18% of the LeanCOD decoder’s computation. The LeanCOD decoder provides + 0.003 overall S α and + 0.011 extra-small F β ω over S1, indicating that progressive refinement contributes primarily to extra-small-object recovery at negligible additional cost.
Table 9 compares bilinear interpolation with DySample, a representative learnable upsampling operator, under the same 100-epoch independent training setting. Replacing only the top-down path with DySample (TD) yields S α 0.897, marginally below bilinear (0.898), while reducing throughput from 158.44 to 149.71 FPS. Replacing all the decoder upsampling paths (All) gives S α 0.899 and improves the extra-small F β ω from 0.587 to 0.602, but throughput drops to 138.10 FPS. These results indicate that learnable upsampling does not provide a meaningful accuracy advantage in this setting while incurring a clear throughput cost. We therefore retain bilinear interpolation in the top-down path.

4.4.3. Loss Ablation

We evaluate each loss component by incrementally composing the size-aware composite loss. Table 10 shows that adding mean IoU to focal BCE yields the largest improvement. Focal BCE addresses pixel-level imbalance, whereas mean IoU introduces sample-wise averaging, allowing each training image to contribute equally regardless of object size. Boundary loss further improves both the overall test set and the extra-small-object subset, although with a smaller gain, reflecting its role in structural refinement.

4.5. Edge Deployment

To evaluate practical edge deployment, we export LeanCOD to ONNX with opset 18 and convert it to a TensorRT 10.3 FP16 engine. The experiments are conducted on an NVIDIA Jetson AGX Orin. Table 11 reports the measured accuracy of TensorRT inference and the deployment gap relative to PyTorch evaluation.
At a 576 × 576 resolution, LeanCOD reaches 31.6 FPS while maintaining an S α of 0.908 on COD10K. This exceeds the commonly used 30 FPS threshold for real-time inference and remains competitive with state-of-the-art COD methods in Table 1. Although the FP16 deployment gap increases with resolution, the 576 × 576 setting provides the best balance between accuracy and edge throughput.
Low-power operating analysis. Edge deployment commonly operates under low-power conditions. We therefore measure LeanCOD across three nvpmodel power modes (15 W, 30 W, and 50 W) on the Jetson AGX Orin at input resolutions of 384 × 384 , 576 × 576 , and 768 × 768 . For each configuration, Table 12 reports throughput (FPS), GPU–SoC power, per-inference energy, and energy efficiency (FPS/W). Power is measured via the tegrastats utility as the VDD_GPU_SOC value, which represents the power supplied to the GPU and SoC compute units and thus reflects inference-relevant power isolated from peripheral components such as I/O controllers. Per-inference energy is the product of the measured power and the engine-only latency.
The table reveals two trends. First, throughput increases substantially with the power budget: raising the mode from 15 W to 50 W at 576 × 576 increases throughput roughly fourfold, from 7.6 FPS to 31.6 FPS. Consequently, the 30 FPS real-time threshold is met only at 50 W with 384 × 384 and 576 × 576 resolutions; 768 × 768 remains below 30 FPS in all modes. Second, raising the power budget does not proportionally increase per-inference energy because the higher power draw is offset by shorter latency. The 30 W and 50 W modes achieve similar efficiency and both outperform 15 W; at 576 × 576 the 50 W mode is the most efficient at 1.57 FPS/W. Based on the accuracy in Table 11 and the energy efficiency in Table 12, we adopt 50 W at a 576 × 576 resolution as the default deployment setting.

5. Conclusions

This paper presents LeanCOD, a framework that pairs a foundation encoder with a lightweight decoder for single-image binary COD. Our extensive experiments suggest that, for extra-small camouflaged object detection, allocating computation to spatial resolution is consistently more effective than increasing decoder complexity. Through a size-aware analysis, we identified the 0–1% extra-small-object regime as a major performance bottleneck, which motivated the proposed size-aware loss and resolution-scaling strategy. Evaluated on an NVIDIA Jetson AGX Orin, LeanCOD achieves 31.6 FPS with an S α of 0.908, demonstrating its potential for real-time edge deployment. More broadly, our findings suggest that future COD research may benefit more from compute-efficient high-resolution inference than from increasingly sophisticated decoder engineering. Future work includes extending this approach to instance-level small camouflaged object detection and video COD. The adverse-condition analysis in this work focuses on evaluation-only synthetic COD10K corruptions; evaluation on real fog, rain, and low-light COD data with dense segmentation annotations remains an important future extension.

Author Contributions

Conceptualization, Y.K. and D.H.; methodology, D.H.; software, Y.K.; validation, Y.H.C. and D.H.; investigation, Y.K.; resources, Y.H.C.; writing—original draft preparation, Y.K.; writing—review and editing, D.H.; supervision, Y.H.C.; project administration, Y.H.C.; funding acquisition, Y.H.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Starting Growth Technological R&D Program (TIPS Program (No. RS-2023-00261771)), funded by the Ministry of SMEs and Startups (MSS, Korea).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Authors Youngjin Kim, Dong He, and Young Hoo Cho were employed by dSPECTER. The authors declare no other conflicts of interest.

References

  1. Fan, D.P.; Ji, G.P.; Sun, G.; Cheng, M.M.; Shen, J.; Shao, L. Camouflaged object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 2774–2784. [Google Scholar]
  2. Yin, B.; Zhang, X.; Fan, D.P.; Jiao, S.; Cheng, M.M.; Van Gool, L.; Hou, Q. Camoformer: Masked separable attention for camouflaged object detection. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 10362–10374. [Google Scholar] [CrossRef] [PubMed]
  3. He, C.; Li, K.; Zhang, Y.; Tang, L.; Zhang, Y.; Guo, Z.; Li, X. Camouflaged object detection with feature decomposition and edge reconstruction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 17–24 June 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 22046–22055. [Google Scholar]
  4. Yao, S.; Sun, H.; Xiang, T.Z.; Wang, X.; Cao, X. Hierarchical graph interaction transformer with dynamic token clustering for camouflaged object detection. IEEE Trans. Image Process. 2024, 33, 5936–5948. [Google Scholar] [CrossRef] [PubMed]
  5. Fan, D.P.; Ji, G.P.; Cheng, M.M.; Shao, L. Concealed object detection. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 44, 6024–6042. [Google Scholar] [CrossRef]
  6. Pang, Y.; Zhao, X.; Xiang, T.Z.; Zhang, L.; Lu, H. Zoomnext: A unified collaborative pyramid network for camouflaged object detection. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 9205–9220. [Google Scholar] [CrossRef] [PubMed]
  7. Xiao, F.; Hu, S.; Shen, Y.; Fang, C.; Huang, J.; He, C.; Tang, L.; Yang, Z.; Li, X. A survey of camouflaged object detection and beyond. arXiv 2024, arXiv:2408.14562. [Google Scholar]
  8. Khan, A.; Ullah, H.; Munir, A. LiteCOD: Lightweight Camouflaged Object Detection via Holistic Understanding of Local-Global Features and Multi-Scale Fusion. AI 2025, 6, 197. [Google Scholar] [CrossRef]
  9. Siméoni, O.; Vo, H.V.; Seitzer, M.; Baldassarre, F.; Oquab, M.; Jose, C.; Khalidov, V.; Szafraniec, M.; Yi, S.; Ramamonjisoa, M.; et al. DINOv3. arXiv 2025, arXiv:2508.10104. [Google Scholar]
  10. Huang, Z.; Dai, H.; Xiang, T.Z.; Wang, S.; Chen, H.X.; Qin, J.; Xiong, H. Feature shrinkage pyramid for camouflaged object detection with transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 17–24 June 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 5557–5566. [Google Scholar]
  11. He, J.; Liu, B.; Chen, H. HDPNet: Hourglass vision transformer with dual-path feature pyramid for camouflaged object detection. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Tucson, AZ, USA, 28 February–4 March 2025; IEEE: Piscataway, NJ, USA, 2025; pp. 8627–8636. [Google Scholar]
  12. Ji, G.P.; Fan, D.P.; Chou, Y.C.; Dai, D.; Liniger, A.; Van Gool, L. Deep gradient learning for efficient camouflaged object detection. Mach. Intell. Res. 2023, 20, 92–108. [Google Scholar] [CrossRef]
  13. Liu, W.; Shen, X.; Pun, C.M.; Cun, X. Explicit visual prompting for universal foreground segmentations. IEEE Trans. Pattern Anal. Mach. Intell. 2026, 48, 1762–1777. [Google Scholar] [CrossRef] [PubMed]
  14. Kirillov, A.; Mintun, E.; Ravi, N.; Mao, H.; Rolland, C.; Gustafson, L.; Xiao, T.; Whitehead, S.; Berg, A.C.; Lo, W.Y.; et al. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 1–6 October 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 4015–4026. [Google Scholar]
  15. Chen, T.; Zhu, L.; Deng, C.; Cao, R.; Wang, Y.; Zhang, S.; Li, Z.; Sun, L.; Zang, Y.; Mao, P. SAM-Adapter: Adapting segment anything in underperformed scenes. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), Paris, France, 1–6 October 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 3367–3375. [Google Scholar]
  16. Li, F.; Xu, Q.; Bao, S.; Yang, Z.; Cong, R.; Cao, X.; Huang, Q. Size-invariance matters: Rethinking metrics and losses for imbalanced multi-object salient object detection. In Proceedings of the International Conference on Machine Learning (ICML), Vienna, Austria, 21–27 July 2024; PMLR: Cambridge, MA, USA, 2024; Volume 235, pp. 28989–29021. [Google Scholar]
  17. Cheng, G.; Yuan, X.; Yao, X.; Yan, K.; Zeng, Q.; Xie, X.; Han, J. Towards large-scale small object detection: Survey and benchmarks. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 13467–13488. [Google Scholar] [PubMed]
  18. Lv, Y.; Liu, S.; Gong, Y.; Yang, J. Camouflaged object detection with enhanced small-structure awareness in complex backgrounds. Electronics 2025, 14, 1118. [Google Scholar] [CrossRef]
  19. Xing, H.; Gao, S.; Tang, H.; Mok, T.Q.; Kang, Y.; Zhang, W. TINYCOD: Tiny and effective model for camouflaged object detection. In Proceedings of the ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Rhodes Island, Greece, 4–10 June 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1–5. [Google Scholar]
  20. Chen, L.C.; Zhu, Y.; Papandreou, G.; Schroff, F.; Adam, H. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; Springer: Berlin/Heidelberg, Germany, 2018; pp. 801–818. [Google Scholar]
  21. Xie, E.; Wang, W.; Yu, Z.; Anandkumar, A.; Alvarez, J.M.; Luo, P. SegFormer: Simple and efficient design for semantic segmentation with transformers. In Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), Virtual, 6–14 December 2021; Curran Associates, Inc.: Red Hook, NY, USA, 2021; Volume 34, pp. 12077–12090. [Google Scholar]
  22. Wang, J.; Gou, C.; Wu, Q.; Feng, H.; Han, J.; Ding, E.; Wang, J. RTFormer: Efficient design for real-time semantic segmentation with transformer. In Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), New Orleans, LA, USA, 28 November–9 December 2022; Curran Associates, Inc.: Red Hook, NY, USA, 2022; Volume 35, pp. 7423–7436. [Google Scholar]
  23. Muhammad, M.B.; Yeasin, M. Eigen-CAM: Class activation map using principal components. In Proceedings of the 2020 International Joint Conference on Neural Networks (IJCNN), Glasgow, UK, 19–24 July 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 1–7. [Google Scholar]
  24. Lin, T.Y.; Goyal, P.; Girshick, R.; He, K.; Dollár, P. Focal loss for dense object detection. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 2980–2988. [Google Scholar]
  25. Le, T.N.; Nguyen, T.V.; Nie, Z.; Tran, M.T.; Sugimoto, A. Anabranch network for camouflaged object segmentation. Comput. Vis. Image Underst. 2019, 184, 45–56. [Google Scholar] [CrossRef]
  26. Skurowski, P.; Abdulameer, H.; Błaszczyk, J.; Depta, T.; Kornacki, A.; Kozieł, P. Animal Camouflage Analysis: Chameleon Database. Unpublished Manuscript. 2018. Available online: https://www.polsl.pl/rau6/chameleon-database-animal-camouflage-analysis/ (accessed on 2 July 2026).
  27. Lv, Y.; Zhang, J.; Dai, Y.; Li, A.; Liu, B.; Barnes, N.; Fan, D.P. Simultaneously localize, segment and rank the camouflaged objects. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Virtual, 19–25 June 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 11591–11601. [Google Scholar]
  28. Fan, D.P.; Cheng, M.M.; Liu, Y.; Li, T.; Borji, A. Structure-measure: A new way to evaluate foreground maps. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 4548–4557. [Google Scholar]
  29. Fan, D.P.; Gong, C.; Cao, Y.; Ren, B.; Cheng, M.M.; Borji, A. Enhanced-alignment measure for binary foreground map evaluation. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), Stockholm, Sweden, 13–19 July 2018; International Joint Conferences on Artificial Intelligence Organization: Menlo Park, CA, USA, 2018; pp. 698–704. [Google Scholar]
  30. Margolin, R.; Zelnik-Manor, L.; Tal, A. How to evaluate foreground maps? In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Columbus, OH, USA, 23–28 June 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 248–255. [Google Scholar]
  31. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
  32. Zhang, S.; Kong, D.; Xing, Y.; Lu, Y.; Ran, L.; Liang, G.; Wang, H.; Zhang, Y. Frequency-guided spatial adaptation for camouflaged object detection. IEEE Trans. Multimed. 2025, 27, 72–83. [Google Scholar] [CrossRef]
  33. Ye, S.; Chen, X.; Zhang, Y.; Lin, X.; Cao, L. ESCNet: Edge-semantic collaborative network for camouflaged object detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Honolulu, HI, USA, 19–23 October 2025; IEEE: Piscataway, NJ, USA, 2025; pp. 20053–20063. [Google Scholar]
  34. Michaelis, C.; Mitzkus, B.; Geirhos, R.; Rusak, E.; Bringmann, O.; Ecker, A.S.; Bethge, M.; Brendel, W. Benchmarking robustness in object detection: Autonomous driving when winter is coming. arXiv 2019, arXiv:1907.07484. [Google Scholar]
  35. Lin, T.Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature pyramid networks for object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 2117–2125. [Google Scholar]
Figure 1. Performance comparison of LeanCOD with existing COD methods on COD10K. (a) Performance across small-object regimes. Small and extra-small objects exhibit larger degradation than the full test set, while LeanCOD reduces this degradation. Parenthesized numbers denote input resolutions. (b) Performance–FPS comparison on an RTX 4090. Gray points denote existing methods, and red stars denote LeanCOD at 384, 576, and 768 input resolutions. LeanCOD improves accuracy with increasing resolution while maintaining competitive throughput, showing the trade-off between accuracy and throughput. Tri-scale inference.
Figure 1. Performance comparison of LeanCOD with existing COD methods on COD10K. (a) Performance across small-object regimes. Small and extra-small objects exhibit larger degradation than the full test set, while LeanCOD reduces this degradation. Parenthesized numbers denote input resolutions. (b) Performance–FPS comparison on an RTX 4090. Gray points denote existing methods, and red stars denote LeanCOD at 384, 576, and 768 input resolutions. LeanCOD improves accuracy with increasing resolution while maintaining competitive throughput, showing the trade-off between accuracy and throughput. Tri-scale inference.
Sensors 26 04354 g001
Figure 2. Overall framework of LeanCOD. The DINOv3-ConvNeXt encoder (left) extracts four feature maps with resolutions ranging from H / 4 to H / 32 . These features are projected to a 48-channel dimension. The top-down fusion module integrates semantic context from deep to shallow scales using bilinear upsampling and element-wise addition. The three fused maps are concatenated at the H / 4 resolution and compressed by a 1 × 1 convolution in the aggregation block. Finally, the refinement stage progressively restores the spatial resolution to H × W to generate the prediction map, supervised by the size-aware composite loss. Solid arrows denote the forward data flow, and dashed arrows indicate supervision signals from the loss function. Color gradients illustrate the progressive processing within each stage.
Figure 2. Overall framework of LeanCOD. The DINOv3-ConvNeXt encoder (left) extracts four feature maps with resolutions ranging from H / 4 to H / 32 . These features are projected to a 48-channel dimension. The top-down fusion module integrates semantic context from deep to shallow scales using bilinear upsampling and element-wise addition. The three fused maps are concatenated at the H / 4 resolution and compressed by a 1 × 1 convolution in the aggregation block. Finally, the refinement stage progressively restores the spatial resolution to H × W to generate the prediction map, supervised by the size-aware composite loss. Solid arrows denote the forward data flow, and dashed arrows indicate supervision signals from the loss function. Color gradients illustrate the progressive processing within each stage.
Sensors 26 04354 g002
Figure 3. Feature flow visualization of LeanCOD. Early encoder stages capture fine spatial textures, while deeper stages yield robust semantic representations of camouflaged targets. Through top-down fusion, aggregation, and progressive refinement, the decoder propagates the localized target response back to higher spatial resolutions and produces a compact final prediction. Each panel shows the first principal component of feature activations computed by Eigen-CAM, ranging from blue for low values to red for high values.
Figure 3. Feature flow visualization of LeanCOD. Early encoder stages capture fine spatial textures, while deeper stages yield robust semantic representations of camouflaged targets. Through top-down fusion, aggregation, and progressive refinement, the decoder propagates the localized target response back to higher spatial resolutions and produces a compact final prediction. Each panel shows the first principal component of feature activations computed by Eigen-CAM, ranging from blue for low values to red for high values.
Sensors 26 04354 g003
Figure 4. Qualitative comparison on COD10K samples grouped by object area ratio. Rows are organized into three size groups (0–1%, 1–3%, and 3–10%), separated by dashed lines. Columns: input, ground truth, and predictions from six methods. Parenthesized numbers denote input resolution. * denotes tri-scale inference.
Figure 4. Qualitative comparison on COD10K samples grouped by object area ratio. Rows are organized into three size groups (0–1%, 1–3%, and 3–10%), separated by dashed lines. Columns: input, ground truth, and predictions from six methods. Parenthesized numbers denote input resolution. * denotes tri-scale inference.
Sensors 26 04354 g004
Figure 5. Resolution scaling on three extra-small-object samples (0–1% area) from COD10K. Each example presents the full image, zoomed crop, prediction overlay, and ground-truth boundary in green. Segmentation quality improves progressively as the input resolution increases from 384 to 768. Yellow dashed boxes indicate the zoomed region of interest, and green contours denote the ground-truth boundary.
Figure 5. Resolution scaling on three extra-small-object samples (0–1% area) from COD10K. Each example presents the full image, zoomed crop, prediction overlay, and ground-truth boundary in green. Segmentation quality improves progressively as the input resolution increases from 384 to 768. Yellow dashed boxes indicate the zoomed region of interest, and green contours denote the ground-truth boundary.
Sensors 26 04354 g005
Figure 6. Speed vs. overall and extra-small S α on RTX 4090 (COD10K). Filled: overall S α ; hollow: extra-small (0–1%) S α ; vertical lines: degradation gap. Red points denote LeanCOD at 384, 576, and 768 input resolutions.
Figure 6. Speed vs. overall and extra-small S α on RTX 4090 (COD10K). Filled: overall S α ; hollow: extra-small (0–1%) S α ; vertical lines: degradation gap. Red points denote LeanCOD at 384, 576, and 768 input resolutions.
Sensors 26 04354 g006
Figure 7. Qualitative results under synthetic adverse conditions on COD10K. Each row pair shows the input image and the predicted mask from LeanCOD. Columns denote original, fog, rain, and low-light conditions. Object location and overall shape are preserved across conditions, although some rain and low-light inputs show weaker interior responses.
Figure 7. Qualitative results under synthetic adverse conditions on COD10K. Each row pair shows the input image and the predicted mask from LeanCOD. Columns denote original, fog, rain, and low-light conditions. Object location and overall shape are preserved across conditions, although some rain and low-light inputs show weaker interior responses.
Sensors 26 04354 g007
Table 1. Comparison with state-of-the-art methods on four COD benchmarks. Results are reported by the original papers. § Results are evaluated from official weights using our evaluation code. †§ Results are paper-reported for CAMO/COD10K/NC4K and evaluated by us for CHAMELEON. Tri-scale inference. †‡ Results are reported by the original paper using tri-scale inference. The first three methods are lightweight baselines listed as an efficiency-oriented reference. The LeanCOD rows at 576 and 768 are listed as a resolution-scaling extension and are not used for rank marking. The arrows indicate whether higher (↑) or lower (↓) values are better. – indicates that the result is not reported in the original paper. Bold and underlined values indicate the best and second-best results, respectively.
Table 1. Comparison with state-of-the-art methods on four COD benchmarks. Results are reported by the original papers. § Results are evaluated from official weights using our evaluation code. †§ Results are paper-reported for CAMO/COD10K/NC4K and evaluated by us for CHAMELEON. Tri-scale inference. †‡ Results are reported by the original paper using tri-scale inference. The first three methods are lightweight baselines listed as an efficiency-oriented reference. The LeanCOD rows at 576 and 768 are listed as a resolution-scaling extension and are not used for rank marking. The arrows indicate whether higher (↑) or lower (↓) values are better. – indicates that the result is not reported in the original paper. Bold and underlined values indicate the best and second-best results, respectively.
MethodVenueRes.CHAMELEON (76)CAMO (250)COD10K (2026)NC4K (4121)
S α E ϕ F β ω MAE ↓ S α E ϕ F β ω MAE ↓ S α E ϕ F β ω MAE ↓ S α E ϕ F β ω MAE ↓
TinyCOD [19]ICASSP’233840.8870.9310.8140.0300.8220.8900.7520.0660.8110.8770.6780.0360.8430.9030.7660.047
DGNet-S [12]MIR’223520.8260.8960.7540.0630.8100.8690.6720.0360.8450.9020.7640.047
LiteCOD [8]AI’255120.8410.9070.7960.0560.8520.9200.7650.0260.8700.9260.8220.036
SINet-v2 [5]TPAMI’223520.8880.9420.8820.0300.8200.8820.7430.0700.8150.8870.6800.0370.8470.9030.7700.048
DGNet [12]MIR’223520.8910.9520.8380.0240.8390.9010.7690.0570.8220.9030.6930.0330.8570.9070.7840.042
FEDER [3]CVPR’233840.8940.9470.8550.0280.8070.8730.7850.0690.8230.9000.7400.0320.8460.9050.7890.045
FSPNet [10]CVPR’233840.9080.9650.8510.0230.8560.8990.7990.0500.8510.8950.7350.0260.8790.9150.8160.035
CamoFormer § [2]TPAMI’243840.9100.9700.8660.0220.8720.9310.8310.0460.8690.9310.7860.0230.8920.9410.8470.030
ZoomNeXt †‡ [6]TPAMI’24384 0.9240.9750.8960.0180.8890.9450.8750.0410.8980.9560.8480.0180.9030.9510.8630.028
HGINet [4]TIP’245120.9150.9700.8890.0180.8740.9370.8480.0410.8820.9490.8210.0190.8940.9470.8650.027
FGSA-Net [32]TMM’255120.9160.9750.9030.0160.8890.9440.8700.0360.8930.9530.8490.0150.9030.9510.8830.023
HDPNet †§ [11]WACV’253840.9220.9430.8610.0210.8930.9340.8510.0400.8880.9250.7940.0200.9020.9500.8500.029
ESCNet [33]ICCV’254160.8710.9340.8430.0440.8730.9390.8040.0210.8920.9410.8590.028
Ours3840.9250.9690.8710.0200.9040.9490.8700.0350.8980.9440.8240.0180.9100.9580.8700.026
Ours (high-res)5760.9350.9740.8950.0180.9110.9530.8810.0330.9150.9560.8590.0160.9150.9590.8810.026
Ours (high-res)7680.9370.9710.9010.0170.9130.9520.8850.0330.9220.9610.8740.0150.9160.9590.8840.025
Table 2. Size-wise S α performance on the COD10K test set. All external methods use official pretrained weights under identical evaluation. Δ = ( 0 1 % ) Full ; smaller | Δ | indicates better robustness to small objects. Tri-scale inference (0.5× + 1× + 1.5× of nominal resolution, e.g., 192 + 384 + 576 for 384). The LeanCOD rows at 576 and 768 are used as a resolution-scaling extension. The arrows indicate whether higher (↑) values are better.
Table 2. Size-wise S α performance on the COD10K test set. All external methods use official pretrained weights under identical evaluation. Δ = ( 0 1 % ) Full ; smaller | Δ | indicates better robustness to small objects. Tri-scale inference (0.5× + 1× + 1.5× of nominal resolution, e.g., 192 + 384 + 576 for 384). The LeanCOD rows at 576 and 768 are used as a resolution-scaling extension. The arrows indicate whether higher (↑) values are better.
MethodVenueRes. S α S α by Object Area Ratio (%) S α
Full>2510–255–103–51–30–1 Δ
SINet-v2 [5]TPAMI’223520.8150.8450.8730.8410.8250.7670.656−0.159
DGNet [12]MIR’223520.8220.8550.8750.8500.8230.7790.671−0.151
FEDER [3]CVPR’233840.8220.8250.8660.8490.8350.7860.682−0.140
CamoFormer [2]TPAMI’243840.8690.8920.9120.8940.8690.8330.748−0.121
HGINet [4]TIP’245120.8790.8910.9120.9010.8790.8510.778−0.101
HDPNet [11]WACV’253840.8880.9050.9250.9110.8940.8540.773−0.115
ESCNet [33]ICCV’254160.8740.8910.9100.8970.8820.8430.753−0.121
ZoomNeXt [6]TPAMI’24384 0.8980.9010.9270.9200.9010.8750.799−0.099
Ours3840.8980.9100.9290.9190.9050.8710.793−0.105
Ours (high-res)5760.9150.9140.9370.9340.9220.8970.832−0.083
Ours (high-res)7680.9220.9170.9400.9370.9280.9080.858−0.064
Table 3. Size-wise F β ω performance on the COD10K test set. F β ω is reported alongside S α as it is particularly sensitive to small-object boundary quality. Δ = F β ω ( 0 1 % ) F β ω ( Full ) ; smaller | Δ | indicates better robustness to scale variation. Tri-scale inference. The LeanCOD rows at 576 and 768 are used as a resolution-scaling extension. The arrows indicate whether higher (↑) values are better.
Table 3. Size-wise F β ω performance on the COD10K test set. F β ω is reported alongside S α as it is particularly sensitive to small-object boundary quality. Δ = F β ω ( 0 1 % ) F β ω ( Full ) ; smaller | Δ | indicates better robustness to scale variation. Tri-scale inference. The LeanCOD rows at 576 and 768 are used as a resolution-scaling extension. The arrows indicate whether higher (↑) values are better.
MethodVenueRes. F β ω F β ω by Object Area Ratio (%) F β ω
Full>2510–255–103–51–30–1 Δ
SINet-v2 [5]TPAMI’223520.6800.8430.8150.7280.6820.5560.326−0.354
DGNet [12]MIR’223520.6920.8520.8210.7460.6800.5730.349−0.343
FEDER [3]CVPR’233840.7150.8320.8240.7680.7290.6140.384−0.331
CamoFormer [2]TPAMI’243840.7860.8960.8840.8320.7810.6980.516−0.270
HGINet [4]TIP’245120.8150.9130.8970.8540.8120.7400.579−0.236
HDPNet [11]WACV’253840.7940.9090.8920.8420.7980.7010.503−0.291
ESCNet [33]ICCV’254160.8080.9130.8940.8530.8180.7290.533−0.275
ZoomNeXt [6]TPAMI’24384 0.8270.9120.9040.8680.8250.7620.585−0.242
Ours3840.8240.9150.8990.8640.8310.7520.593−0.231
Ours (high-res)5760.8590.9190.9160.8920.8630.8090.675−0.184
Ours (high-res)7680.8740.9240.9210.8980.8780.8340.724−0.150
Table 4. Resolution-ordered efficiency and COD10K accuracy comparison on an RTX 4090. We select SINet-V2 and DGNet as high-throughput representatives and ZoomNeXt as a high-accuracy representative for cross-resolution comparison. All measurements use identical settings: batch size 1, 50 warm-up iterations, and 200 timed runs. Peak memory denotes the maximum CUDA memory allocated during inference. indicates tri-scale inference (0.5× + 1.0× + 1.5× of nominal resolution). indicates models retrained by us at the listed resolution using the same optimizer, loss, and augmentation as the original papers; these are not the published models and serve as diagnostic baselines. Extra-small denotes the 0–1% object-area-ratio bin of COD10K. The arrows indicate whether higher (↑) or lower (↓) values are better.
Table 4. Resolution-ordered efficiency and COD10K accuracy comparison on an RTX 4090. We select SINet-V2 and DGNet as high-throughput representatives and ZoomNeXt as a high-accuracy representative for cross-resolution comparison. All measurements use identical settings: batch size 1, 50 warm-up iterations, and 200 timed runs. Peak memory denotes the maximum CUDA memory allocated during inference. indicates tri-scale inference (0.5× + 1.0× + 1.5× of nominal resolution). indicates models retrained by us at the listed resolution using the same optimizer, loss, and augmentation as the original papers; these are not the published models and serve as diagnostic baselines. Extra-small denotes the 0–1% object-area-ratio bin of COD10K. The arrows indicate whether higher (↑) or lower (↓) values are better.
ComplexityRTX 4090COD10K S α
MethodRes.Params ↓GFLOPs ↓FPS ↑Peak Mem. (MB) ↓Full ↑Extra-Small ↑
SINet-v2 [5]35226.98 M24.3232.2136.10.8150.656
DGNet [12]35219.22 M12.8190.9132.60.8220.671
ZoomNeXt [6]384 65.37 M264.131.2404.90.8960.803
Ours38488.43 M96.5151.3420.80.8980.793
SINet-v2 [5]57626.98 M65.2213.9192.80.8400.701
DGNet [12]57619.22 M34.1178.0234.60.8620.742
ZoomNeXt [6]576 65.37 M686.716.1591.20.9000.831
Ours57688.43 M217.189.6511.20.9150.832
SINet-v2 [5]76826.98 M115.9152.2258.00.8430.716
DGNet [12]76819.22 M60.7113.9357.10.8690.750
ZoomNeXt [6]768 65.37 M1451.18.5845.80.8890.825
Ours76888.43 M385.952.4640.40.9220.858
Table 5. Robustness evaluation under synthetic COD10K corruptions using LeanCOD at a 576 × 576 input resolution. The fog, rain, and low-light conditions are evaluation-only input variants that reuse the original COD10K ground-truth masks; no adverse-condition images are used for training, fine-tuning, or inference-time adaptation. Δ S α denotes the change from the original condition; smaller | Δ S α | indicates better stability under the corruption. Rain produces the largest drop ( Δ S α = 0.0245 on full COD10K), while fog and low light yield smaller changes. The arrows indicate whether higher (↑) or lower (↓) values are better. – in the Δ S α column indicates the reference condition.
Table 5. Robustness evaluation under synthetic COD10K corruptions using LeanCOD at a 576 × 576 input resolution. The fog, rain, and low-light conditions are evaluation-only input variants that reuse the original COD10K ground-truth masks; no adverse-condition images are used for training, fine-tuning, or inference-time adaptation. Δ S α denotes the change from the original condition; smaller | Δ S α | indicates better stability under the corruption. Rain produces the largest drop ( Δ S α = 0.0245 on full COD10K), while fog and low light yield smaller changes. The arrows indicate whether higher (↑) or lower (↓) values are better. – in the Δ S α column indicates the reference condition.
ConditionCOD10K FullExtra-Small (0–1%)
S α F β ω MAE ↓ Δ S α S α F β ω MAE ↓ Δ S α
Original0.91530.85900.01580.83240.67460.0043
Fog0.91010.85190.0165 0.0052 0.82590.66050.0040 0.0065
Rain0.89080.81940.0207 0.0245 0.80740.63060.0058 0.0250
Low Light0.90280.84030.0176 0.0125 0.81350.64300.0051 0.0189
Table 6. Backbone comparison on COD10K with the LeanCOD decoder fixed. All models are trained for 100 epochs at 384 × 384 input resolution. Backbones are grouped by architecture family. Extra-small denotes the 0–1% object-area-ratio subset of COD10K (188 images). CN denotes ConvNeXt. The arrows indicate whether higher (↑) or lower (↓) values are better. Best results are shown in bold, and second-best results are underlined.
Table 6. Backbone comparison on COD10K with the LeanCOD decoder fixed. All models are trained for 100 epochs at 384 × 384 input resolution. Backbones are grouped by architecture family. Extra-small denotes the 0–1% object-area-ratio subset of COD10K (188 images). CN denotes ConvNeXt. The arrows indicate whether higher (↑) or lower (↓) values are better. Best results are shown in bold, and second-best results are underlined.
COD10K FullExtra-Small (0–1%)
BackboneParams ↓GFLOPs ↓FPS ↑ S α F β ω S α F β ω
EfficientNet-B16.62 M8.74236.70.8190.6400.6860.335
EfficientNet-B417.66 M14.13184.20.8380.6840.7080.400
ResNet-5023.77 M29.93458.40.8200.6680.6900.368
ResNet-10142.76 M51.75299.80.8370.6850.7070.397
PVTv2-B224.98 M30.88223.20.8630.7480.7350.463
PVTv2-B344.86 M48.60153.20.8760.7690.7460.486
PVTv2-B462.17 M68.51112.10.8790.7760.7600.514
PVTv2-B581.57 M78.6989.20.8770.7750.7590.510
DINOv3-ViT-S22.12 M37.71232.20.8690.7410.7410.471
DINOv3-CN-Tiny28.50 M32.26350.50.8710.7740.7450.499
DINOv3-ViT-S+29.22 M45.93218.20.8740.7530.7610.499
DINOv3-CN-Small50.13 M57.11229.20.8880.8050.7800.581
DINOv3-ViT-B86.59 M119.17145.10.8950.7990.7890.566
DINOv3-CN-Base88.43 M96.48162.70.8980.8240.7930.593
DINOv3-CN-Large197.45 M208.51108.40.9080.8450.8130.631
DINOv3-ViT-L304.33 M392.9457.80.9120.8390.8220.644
Table 7. Decoder ablation on COD10K with DINOv3-CN-Base at 384 × 384 resolution. TDF: top-down fusion; MSA: multi-scale aggregation; PR: progressive refinement. Extra-small denotes the 0–1% object-area-ratio subset of COD10K. Learned sigmoid gate replaces parameter-free top-down addition. The arrows indicate whether higher (↑) values are better. ✓ indicates that the corresponding decoder component is included. The selected configuration is shown in bold.
Table 7. Decoder ablation on COD10K with DINOv3-CN-Base at 384 × 384 resolution. TDF: top-down fusion; MSA: multi-scale aggregation; PR: progressive refinement. Extra-small denotes the 0–1% object-area-ratio subset of COD10K. Learned sigmoid gate replaces parameter-free top-down addition. The arrows indicate whether higher (↑) values are better. ✓ indicates that the corresponding decoder component is included. The selected configuration is shown in bold.
COD10K FullExtra-Small (0–1%)
ConfigurationTDFMSAPR S α F β ω S α F β ω
FPN Baseline 0.8950.8170.7820.577
LeanCOD w/o MSA 0.8940.8150.7850.574
LeanCOD w/o Progressive 0.8960.8190.7900.583
LeanCOD w/o Top-Down 0.8960.8200.7890.577
LeanCOD + Gated Fusion 0.8960.8240.7880.584
LeanCOD Decoder (Ours)0.8980.8240.7930.593
Table 8. Simpler decoder controls and LeanCOD decoder cost with DINOv3-CN-Base at 384 × 384 input. Decoder parameters and GFLOP ratios are relative to the full network. S0 is a single 1 × 1 linear segmentation head; S1 is a single-upsample multi-scale head. Extra-small denotes the 0–1% object-area-ratio subset of COD10K. The LeanCOD decoder adds 0.1464% of parameters and 5.80% of GFLOPs; the S0 linear head shows that a simple readout is insufficient, while S1 recovers most accuracy at lower cost. The arrows indicate whether higher (↑) values are better. The selected configuration is shown in bold.
Table 8. Simpler decoder controls and LeanCOD decoder cost with DINOv3-CN-Base at 384 × 384 input. Decoder parameters and GFLOP ratios are relative to the full network. S0 is a single 1 × 1 linear segmentation head; S1 is a single-upsample multi-scale head. Extra-small denotes the 0–1% object-area-ratio subset of COD10K. The LeanCOD decoder adds 0.1464% of parameters and 5.80% of GFLOPs; the S0 linear head shows that a simple readout is insufficient, while S1 recovers most accuracy at lower cost. The arrows indicate whether higher (↑) values are better. The selected configuration is shown in bold.
Decoder ParamsDecoder GFLOPsCOD10K FullExtra-Small (0–1%)
ConfigurationCountRatioValue>Ratio S α F β ω S α F β ω
S0 Linear Head650.0001%0.00120.0013%0.4770.1570.3840.014
S1 Single-Upsample Multi-Scale Head98,2570.1112%1.00241.09%0.8950.8170.7870.582
LeanCOD Decoder (Ours)129,4810.1464%5.59515.80%0.8980.8240.7930.593
Table 9. Top-down upsampling ablation on COD10K with DINOv3-CN-Base at 384 × 384 resolution. All variants are independently trained for 100 epochs under the same setting, changing only the upsampling operator. DySample (TD) replaces only the top-down path; DySample (All) replaces all decoder upsampling paths. Extra-small denotes the 0–1% object-area-ratio subset of COD10K. The selected method is shown in bold. The arrows indicate whether higher (↑) or lower (↓) values are better. Learnable upsampling does not improve accuracy but reduces throughput, supporting the use of bilinear interpolation.
Table 9. Top-down upsampling ablation on COD10K with DINOv3-CN-Base at 384 × 384 resolution. All variants are independently trained for 100 epochs under the same setting, changing only the upsampling operator. DySample (TD) replaces only the top-down path; DySample (All) replaces all decoder upsampling paths. Extra-small denotes the 0–1% object-area-ratio subset of COD10K. The selected method is shown in bold. The arrows indicate whether higher (↑) or lower (↓) values are better. Learnable upsampling does not improve accuracy but reduces throughput, supporting the use of bilinear interpolation.
COD10K FullExtra-Small (0–1%)
Top-Down Upsampling S α F β ω MAE S α F β ω MAE FPS
Bilinear (Ours)0.8980.8250.0180.7910.5870.006158.44
DySample (TD)0.8970.8250.0180.7900.5890.006149.71
DySample (All)0.8990.8260.0180.7970.6020.006138.10
Table 10. Loss ablation on COD10K using DINOv3-CN-Base with the LeanCOD decoder at 384 × 384 input resolution. Loss components are incrementally added to focal BCE. Extra-small denotes the 0–1% object-area-ratio subset of COD10K (188 images). The arrows indicate whether higher (↑) values are better. ✓ indicates that the corresponding loss component is used. The final configuration is shown in bold.
Table 10. Loss ablation on COD10K using DINOv3-CN-Base with the LeanCOD decoder at 384 × 384 input resolution. Loss components are incrementally added to focal BCE. Extra-small denotes the 0–1% object-area-ratio subset of COD10K (188 images). The arrows indicate whether higher (↑) values are better. ✓ indicates that the corresponding loss component is used. The final configuration is shown in bold.
COD10K FullExtra-Small (0–1%)
ConfigurationFocalMean IoUBoundary S α F β ω S α F β ω
Focal Only 0.7700.4200.5360.066
Focal + Mean IoU 0.8910.8310.7860.591
Full (Ours)0.8980.8240.7930.593
Table 11. Edge deployment on an NVIDIA Jetson AGX Orin using TensorRT FP16. FPS is measured with batch size 1 under 50 W power mode. Δ S α denotes the gap relative to PyTorch FP32 evaluation in Table 4. Extra-small denotes the 0–1% object-area-ratio bin. The arrows indicate whether higher (↑) values are better.
Table 11. Edge deployment on an NVIDIA Jetson AGX Orin using TensorRT FP16. FPS is measured with batch size 1 under 50 W power mode. Δ S α denotes the gap relative to PyTorch FP32 evaluation in Table 4. Extra-small denotes the 0–1% object-area-ratio bin. The arrows indicate whether higher (↑) values are better.
Jetson Orin S α (TRT FP16) F β ω (TRT FP16) Δ S α vs. PyTorch (FP32)
Res.FPS ↑FullExtra-SmallFullExtra-SmallFullExtra-Small
38456.00.8970.7910.8220.590−0.001−0.002
57631.60.9080.8220.8500.660−0.007−0.010
76819.40.9070.8280.8590.691−0.015−0.030
Table 12. Inference performance of LeanCOD on an NVIDIA Jetson AGX Orin across nvpmodel power modes (15 W/30 W/50 W). TensorRT FP16, batch size 1, and engine-only FPS. VDD_GPU_SOC is the power rail supplying the GPU and SoC compute units; measuring this rail isolates inference-relevant power from peripheral subsystems. Power is the tegrastats median; energy per inference is power × engine-only latency; energy efficiency is FPS/W. The bolded 50 W/ 576 × 576 is the default deployment configuration (see Table 11 for detection accuracy). The arrows indicate whether higher (↑) or lower (↓) values are better. ✓ and ✕ indicate whether the configuration meets or does not meet the 30 FPS real-time threshold, respectively.
Table 12. Inference performance of LeanCOD on an NVIDIA Jetson AGX Orin across nvpmodel power modes (15 W/30 W/50 W). TensorRT FP16, batch size 1, and engine-only FPS. VDD_GPU_SOC is the power rail supplying the GPU and SoC compute units; measuring this rail isolates inference-relevant power from peripheral subsystems. Power is the tegrastats median; energy per inference is power × engine-only latency; energy efficiency is FPS/W. The bolded 50 W/ 576 × 576 is the default deployment configuration (see Table 11 for detection accuracy). The arrows indicate whether higher (↑) or lower (↓) values are better. ✓ and ✕ indicate whether the configuration meets or does not meet the 30 FPS real-time threshold, respectively.
Power ModeRes.FPS ↑VDD_GPU_SOC (W)Energy/inf. (mJ) ↓FPS/W ↑Real-Time (≥30 FPS)
15 W38415.35.63367.82.72
15 W5767.66.03795.91.26
15 W7684.26.031424.70.70
30 W38427.68.84320.43.12
30 W57614.09.24658.71.51
30 W7688.29.651173.90.85
50 W38456.018.09323.03.10
50 W57631.620.10636.01.57
50 W76819.421.301098.00.91
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kim, Y.; He, D.; Cho, Y.H. LeanCOD: Real-Time Small Camouflaged Object Detection on Edge Devices. Sensors 2026, 26, 4354. https://doi.org/10.3390/s26144354

AMA Style

Kim Y, He D, Cho YH. LeanCOD: Real-Time Small Camouflaged Object Detection on Edge Devices. Sensors. 2026; 26(14):4354. https://doi.org/10.3390/s26144354

Chicago/Turabian Style

Kim, Youngjin, Dong He, and Young Hoo Cho. 2026. "LeanCOD: Real-Time Small Camouflaged Object Detection on Edge Devices" Sensors 26, no. 14: 4354. https://doi.org/10.3390/s26144354

APA Style

Kim, Y., He, D., & Cho, Y. H. (2026). LeanCOD: Real-Time Small Camouflaged Object Detection on Edge Devices. Sensors, 26(14), 4354. https://doi.org/10.3390/s26144354

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop