I propose a lightweight semantic segmentation network, WDCNet, for high-resolution imagery captured by UAV drones. The core motivation is that semantic segmentation from UAV drones must simultaneously preserve fine boundary details, model multi-scale context, and remain deployable on embedded platforms with limited computation and memory. In practical low-altitude remote sensing, UAV drones often observe scenes containing small vehicles, pedestrians, thin poles, fragmented vegetation, and irregular building boundaries. These objects are easily degraded by conventional downsampling, blurred by complex backgrounds, and confused by class imbalance. I therefore design WDCNet around a unified “detail preservation–semantic enhancement–bidirectional fusion” paradigm. The network combines Haar wavelet downsampling, explicit detail guidance, residual multidimensional collaborative attention, context pyramid aggregation, enhanced bilateral guided aggregation, and a combined OHEM cross-entropy plus Dice objective. I evaluate WDCNet on UAVid, Vaihingen, and Potsdam, and I compare it with representative lightweight and high-accuracy segmentation models. The results show that WDCNet achieves a favorable balance between accuracy, boundary quality, small-object recognition, and model size for UAV drones.

Semantic segmentation is a fundamental capability for UAV drones because it converts raw aerial pixels into structured scene understanding. For UAV drones operating in urban planning, precision agriculture, disaster response, and traffic monitoring, pixel-level labels support autonomous perception and decision-making. Compared with satellite platforms, UAV drones provide centimeter-level resolution and high revisit flexibility. However, this advantage also introduces severe challenges. High-resolution UAV drone images contain multi-scale objects, large illumination variations, occlusions, motion blur, and complex class boundaries. A segmentation model for UAV drones must therefore retain high-frequency texture while still building robust semantic representations. This requirement is difficult for many existing lightweight networks, which tend to lose thin structures during downsampling and rely on one-way fusion between semantic and detail branches.
I identify three common limitations in lightweight segmentation networks for UAV drones. First, strided convolution and pooling discard high-frequency information, causing boundary blur and weak small-object responses. Second, multi-scale semantic modeling is often inefficient: either the receptive field is too small for large objects, or the computational cost becomes unsuitable for embedded deployment. Third, fusion is frequently unidirectional, where semantic features guide detail features but detail features do not sufficiently guide semantic features. These limitations reduce the upper bound of segmentation accuracy for UAV drones in complex scenes. WDCNet addresses these issues through systematic co-design rather than isolated module replacement.
The main contributions I make are as follows. I introduce a frequency–space detail complementarity mechanism that preserves high-frequency contour information during feature generation. I design a lightweight single-branch multidimensional semantic enhancement strategy that jointly models channel, height, and width dependencies while aggregating multi-scale context. I construct a detail–semantic bidirectional feedback mechanism that overcomes the bottleneck of one-way fusion. I also combine these mechanisms into a lightweight design paradigm for high-resolution segmentation of UAV drones, and I validate it on multiple remote sensing datasets.
Related Work
Lightweight semantic segmentation has been widely studied for real-time deployment. Bilateral segmentation networks use a semantic branch and a detail branch to balance speed and accuracy. Their bilateral guided aggregation fuses features efficiently, but the guidance is mainly from semantics to details. As a result, boundary regions and small objects may still lack sufficient spatial feedback. Dual-resolution networks maintain high- and low-resolution paths in parallel and improve multi-scale recognition, yet their computational complexity can be high. Boundary-aware networks add an extra boundary branch, but the fusion often remains biased toward the semantic path. For UAV drones, these issues are amplified because the input images are high resolution and the targets are often small.
Detail extraction is essential for UAV drone segmentation. Low-level features contain limited semantic information, but they are irreplaceable for contour and fine structure. Some methods use a high-resolution detail branch, while others supervise shallow features with boundary losses. However, purely spatial detail extraction may not preserve high-frequency information over long depths. Frequency-domain methods based on wavelet transforms provide multi-resolution analysis and can explicitly separate low-frequency structure from high-frequency edges. Nevertheless, many such methods focus on frequency feature extraction alone and do not deeply integrate frequency priors with spatial detail paths. I combine Haar wavelet downsampling with spatial detail supervision so that high-frequency information is preserved and explicitly reinforced.
Attention mechanisms and multi-scale context modeling are also central to semantic segmentation. Squeeze-and-excitation and convolutional block attention modules adjust channel or spatial weights, but they often focus on a single dimension. Multidimensional collaborative attention extends this idea by modeling interactions across dimensions. Context pyramid structures enlarge the receptive field and aggregate multi-scale information. In lightweight networks, however, aggressive context aggregation can smooth boundaries and suppress small objects. I therefore design a residual multidimensional collaborative attention module and a context pyramid module that work together: the former enhances discriminative local semantics, and the latter balances global context with high-frequency local details.
For UAV drones, the literature still lacks a lightweight architecture that jointly solves detail loss, efficient multi-scale modeling, and bidirectional fusion. I argue that these three aspects must be optimized as a system. WDCNet is my response to this need. It is not merely a combination of existing blocks; rather, it rethinks the information flow from the stem to the final prediction head. In the following sections, I describe the architecture, the mathematical formulations, the training objective, and the experimental evidence.
Proposed WDCNet
Overall Architecture
WDCNet follows a decoupled two-branch design. The detail branch operates at high resolution and focuses on boundaries, texture, and small structures. The semantic branch operates at lower resolutions and focuses on category-level recognition and context. The two branches interact through an enhanced bilateral guided aggregation module. The decoder gradually restores spatial resolution and produces the final segmentation map. I design the detail branch with a three-level resolution reduction of 1/2, 1/4, and 1/8. The semantic branch uses five resolution levels and inserts residual multidimensional collaborative attention at selected stages. A context pyramid module is placed at the end of the semantic branch. The fusion stage uses bidirectional guidance, channel compression, dilated convolution, and lightweight channel recalibration. The overall structure is designed for UAV drones, where both fine details and global scene layout matter.
I formulate the overall network as a mapping from an input image \(I\) to a label map \(Y\). The detail branch produces features \(F_d\), and the semantic branch produces features \(F_s\). The fusion module produces \(F_f\), and the decoder produces the final logits \(Z\). The prediction is obtained by applying a softmax or argmax operation:
$$Z = \mathrm{Decoder}(F_f), \quad \hat{Y} = \arg\max_{c} \mathrm{Softmax}(Z)_c$$
The training process supervises the detail branch, multiple semantic stages, the fusion stage, and the final output. This multi-level supervision improves gradient flow and encourages each branch to learn its intended representation. For UAV drones, this is important because the network must distinguish visually similar classes such as roads, impervious surfaces, and low vegetation.
Detail Branch with Wavelet Downsampling
I replace conventional strided convolution in the detail branch with a wavelet transform downsampling module, WTDM. The WTDM uses the Haar wavelet transform to decompose the input feature map into one low-frequency component and three high-frequency components. The low-frequency component retains global structure, while the high-frequency components capture horizontal, vertical, and diagonal edge variations. This decomposition allows the network to reduce spatial resolution while preserving important boundary information. For UAV drones, this is especially useful because thin roads, vehicle edges, and building corners are high-frequency structures.
Given an input feature map \(F\), the Haar wavelet transform produces:
$$I_{LL}, I_{LH}, I_{HL}, I_{HH} = \mathrm{HWT}(F)$$
Here, \(I_{LL}\) is the low-frequency approximation, and \(I_{LH}\), \(I_{HL}\), and \(I_{HH}\) are high-frequency details in different orientations. I encode the high-frequency components jointly and the low-frequency component separately:
$$F_H = \mathrm{ReLU}(\mathrm{BN}(\mathrm{Conv}([I_{LH}, I_{HL}, I_{HH}])))$$
$$F_L = \mathrm{ReLU}(\mathrm{BN}(\mathrm{Conv}(I_{LL})))$$
The output of WTDM is the sum of the detail response and the structure response:
$$I_{out} = F_H + F_L$$
This design differs from max pooling and strided convolution because it explicitly separates frequency bands. The high-frequency path preserves edge and texture cues, while the low-frequency path preserves layout and smooth regions. In my experiments, WTDM improves boundary quality without increasing parameter count; in fact, it slightly reduces parameters compared with the baseline stem because it replaces some strided convolutions.
Detail Guidance Module
Although WTDM preserves high-frequency information during downsampling, the network still needs explicit guidance to focus on important boundaries. I therefore introduce a detail guidance module, DGM, at the output of the third detail stage. DGM has a detail head that predicts a detail map from the detail branch features. It also constructs a multi-scale detail ground truth from the segmentation label using Laplacian kernels. The detail head applies a 3×3 convolution, batch normalization, ReLU, and a 1×1 convolution to produce the detail prediction \(F_d\). The detail ground truth \(G_d\) is generated by applying 3×3 Laplacian kernels with strides 1, 2, and 4, upsampling the strided branches, concatenating them, and fusing them with a 1×1 convolution. This multi-scale strategy captures boundaries at different thicknesses and scales.
The DGM loss combines Dice loss and binary cross-entropy loss:
$$L_{detail}(F_d, G_d) = L_{dice}(F_d, G_d) + L_{bce}(F_d, G_d)$$
The Dice term encourages global boundary consistency, while the BCE term improves local pixel classification. DGM is active only during training, so it introduces no inference cost. This is important for UAV drones because deployment often requires low latency. By supervising the shallow detail branch, DGM prevents the detail path from being suppressed by the semantic path. It also improves the segmentation of small objects such as pedestrians and vehicles in UAV drone imagery.
Residual Multidimensional Collaborative Attention
In the semantic branch, I insert a residual multidimensional collaborative attention module, RMCAM, at the 1/4, 1/8, and 1/16 resolution stages. RMCAM models channel, height, and width dependencies in parallel. Each branch permutes the input feature, applies a squeeze transform, applies an excitation transform, and multiplies the resulting attention weights with the permuted feature. The three enhanced features are then combined with the original input through a residual connection. This design captures fine-grained semantic differences and improves the discriminability of mid- and high-level features.
The squeeze transform fuses global average pooling, max pooling, and standard deviation pooling:
$$S(F) = \alpha \mathrm{GAP}(F) + \beta \mathrm{MaxP}(F) + \mathrm{StdP}(F)$$
Here, \(\alpha\) and \(\beta\) are learnable parameters. The standard deviation pooling reflects the dispersion of the feature distribution and enhances responses in boundary and texture-change regions. The excitation transform uses channel permutation and dynamic convolution with a kernel size determined by:
$$K = \mathrm{odd}\left(\left\lfloor \frac{\log_b(C)}{\gamma} + \lambda \right\rfloor\right)$$
where \(C\) is the number of channels, \(\lambda\) and \(\gamma\) are constants, and \(\mathrm{odd}(\cdot)\) returns the nearest odd integer. The final output is:
$$F’ = F + \frac{1}{3}(F’_C + F’_H + F’_W)$$
where \(F’_C\), \(F’_H\), and \(F’_W\) are the enhanced channel, height, and width features. RMCAM improves the semantic branch without a large parameter increase. For UAV drones, this is valuable because the model must distinguish small and visually similar objects under complex backgrounds.
Context Pyramid Module
At the end of the semantic branch, I use a context pyramid module, CPM, to aggregate multi-scale context. CPM has five parallel branches with increasing receptive fields. The first branch uses a 1×1 convolution and a context embedding block. The second to fourth branches use 5×5, 9×9, and 17×17 convolutions with strides 2, 4, and 8. The fifth branch uses a global convolution whose kernel size equals the feature map size. Each branch is upsampled and progressively fused with adjacent smaller-receptive-field branches. A context embedding block then restores local high-frequency details.
The progressive fusion can be written as:
$$B_i = \mathrm{CEBlock}\left(\mathrm{Up}\left(\mathrm{Conv}_{1\times1}\left(\mathrm{Conv}_{k_i \times k_i, s_i}(F_{in})\right)\right) + \delta_{i>1} B_{i-1}\right)$$
where \(k_i \in \{1,5,9,17,H \times W\}\), \(s_i \in \{1,2,4,8,1\}\), and \(\delta_{i>1}\) is one when \(i>1\) and zero otherwise. The output is:
$$F_{out} = \mathrm{Conv}_{1\times1}(\mathrm{Concat}(B_1, B_2, B_3, B_4, B_5)) + \mathrm{Conv}_{1\times1}(F_{in})$$
The context embedding block is defined as:
$$\mathrm{CEBlock}(F) = \mathrm{Conv}_{3\times3}(F) + \mathrm{Conv}_{1\times1}(\mathrm{GAP}(F))$$
This design introduces global semantics while explicitly recovering local high-frequency details. It reduces the smoothing effect that often occurs when large receptive fields are fused. For UAV drones, CPM helps maintain both global consistency and fine boundary details.
Enhanced Bilateral Guided Aggregation
Feature fusion is critical for UAV drone segmentation. I extend the bilateral guided aggregation idea with an enhanced bilateral guided aggregation module, EBGA. The original bilateral guided aggregation uses semantic features to guide detail features. I add a reverse guidance path from details to semantics. This allows high-resolution spatial information to improve the semantic branch in boundary regions. I also compress intermediate feature channels to half of the original number to reduce redundancy. After addition fusion, I apply a 3×3 dilated convolution, batch normalization, and ReLU to enlarge the receptive field and improve nonlinear expression. Finally, I integrate a lightweight channel recalibration module, LCRM, at the output.
LCRM first applies global average pooling to extract channel statistics. It then uses a 1×1 convolution and a nonlinear activation to generate attention weights. The weights are multiplied with the fused features, and a residual connection preserves the original information flow. The module can be summarized as:
$$F_f = F_{fused} + \mathrm{Conv}_{1\times1}(\mathrm{GAP}(F_{fused})) \odot F_{fused}$$
where \(\odot\) denotes channel-wise multiplication. EBGA strengthens the complementarity between detail and semantic information. It improves boundary parsing and spatial consistency, which are essential for UAV drones operating in cluttered environments.
Loss Function Design
I design a multi-supervision loss that combines global and detail constraints. The overall loss includes the detail guidance loss, auxiliary semantic losses at four resolutions, and online hard example mining losses at the fusion position and the final segmentation head. The auxiliary loss at stage \(i\) is:
$$L_{aux}^{(i)} = \alpha L_{CE}^{(i)} + \beta L_{Dice}^{(i)}, \quad i=1,2,3,4$$
I set \(\alpha=0.4\) and \(\beta=0.6\) to balance pixel accuracy and boundary consistency. The OHEM cross-entropy loss is:
$$L_{OHEM}^{(k)} = -\frac{1}{|S|}\sum_{j\in S}\sum_{c=1}^{C} y_{j,c}\ln p_{j,c}, \quad k\in\{1,2\}$$
where \(S\) is the set of top-k hard samples selected by low prediction confidence. The two OHEM losses are combined as:
$$L_{OHEM-total} = L_{OHEM}^{(1)} + \gamma L_{OHEM}^{(2)}$$
where \(\gamma=0.4\). The total loss is:
$$L_{total} = L_{detail} + \sum_{i=1}^{4} L_{aux}^{(i)} + L_{OHEM-total}$$
This objective alleviates class imbalance and hard-sample interference. It also improves boundary quality and small-object recognition for UAV drones. During training, the detail loss weight is kept at 1 to maintain gradient balance with the main branches.
Experiments and Analysis
Datasets and Preprocessing
I evaluate WDCNet on three representative datasets: UAVid, Vaihingen, and Potsdam. UAVid focuses on dynamic urban roads from low-altitude UAV drones. Vaihingen and Potsdam are high-resolution urban remote sensing datasets. I crop Vaihingen and Potsdam images to 512×512. UAVid images are cropped to 1024×1024. For Vaihingen and Potsdam, I apply random scaling, random cropping, horizontal flipping, and illumination perturbation. For UAVid, I first resize to 2048×1024 and then randomly scale between 0.5 and 2.0. Validation and testing use deterministic preprocessing. During testing, I use multi-scale and horizontal-flip test-time augmentation for all datasets. This improves robustness to object scale and orientation. All images are normalized to [0,1].
Training Details
I train on Ubuntu 22.04.5 with an NVIDIA RTX 3090 GPU, an Intel Xeon Platinum 8352V CPU, and 125 GB memory. The software environment uses CUDA 12.4, cuDNN 9.0.1, Python 3.8.20, PyTorch 2.4.1, and MMSegmentation v1.2.2. The batch size is 4. I use a poly learning rate decay with power 0.9. The optimizer and iteration count differ by dataset. Table 1 summarizes the training parameters.
| Dataset | Optimizer | Learning Rate | Momentum | Max Iterations |
|---|---|---|---|---|
| Vaihingen | Adam | 0.001 | β1=0.9, β2=0.999 | 80000 |
| Potsdam | SGD | 0.01 | 0.9 | 160000 |
| UAVid | SGD | 0.001 | 0.9 | 80000 |
I keep the loss hyperparameters fixed across datasets: \(\alpha=0.4\), \(\beta=0.6\), and \(\gamma=0.4\). Only the optimizer and iteration count are adjusted according to dataset scale and class distribution. This training strategy provides stable convergence and strong accuracy in my experiments.
Evaluation Metrics
I use mean intersection over union, mean Dice coefficient, and mean accuracy. These metrics measure region overlap, prediction consistency, and classification accuracy. They are defined as:
$$mIoU = \frac{1}{C}\sum_{i=1}^{C}\frac{TP_i}{TP_i+FP_i+FN_i}$$
$$mDice = \frac{1}{C}\sum_{i=1}^{C}\frac{2TP_i}{2TP_i+FP_i+FN_i}$$
$$mAcc = \frac{1}{k}\sum_{i=0}^{k-1}\frac{p_{ii}}{p_{ii}+\sum_{j\neq i}p_{ij}}$$
Here, \(TP_i\), \(FP_i\), and \(FN_i\) are true positives, false positives, and false negatives for class \(i\). These metrics reflect boundary accuracy, detail restoration, and class discrimination in multi-class UAV drone scenes.
Ablation Study
I use the lightweight bilateral segmentation network as the baseline and progressively add modules on Vaihingen. Table 2 reports the internal backbone modules: RMCAM, WTDM, and CPM. The baseline achieves 68.46% mIoU with 3.35 MB parameters. Adding RMCAM improves mIoU by 1.08 percentage points with almost no parameter increase. Replacing the downsampling stem with WTDM improves mIoU to 69.93% and reduces parameters to 3.28 MB. Combining RMCAM and WTDM reaches 70.74%. Adding CPM further increases mIoU to 71.87% with only 0.18 MB additional parameters.
| Baseline | RMCAM | WTDM | CPM | mIoU (%) | Params (MB) |
|---|---|---|---|---|---|
| √ | × | × | × | 68.46 | 3.35 |
| √ | √ | × | × | 69.54 | 3.35 |
| √ | × | √ | × | 69.93 | 3.28 |
| √ | √ | √ | × | 70.74 | 3.28 |
| √ | √ | √ | √ | 71.87 | 3.53 |
I then evaluate external modules: EBGA, DGM, and the improved loss. Table 3 shows that adding EBGA increases mIoU to 72.84% with parameters growing to 3.86 MB. Adding DGM further improves mIoU to 73.04% without inference cost. Finally, the improved loss reaches 73.45% with the same parameter count. These results confirm that the gains come from complementary mechanisms rather than a single module.
| Backbone | EBGA | DGM | Improved Loss | mIoU (%) | Params (MB) |
|---|---|---|---|---|---|
| √ | × | × | × | 71.87 | 3.53 |
| √ | √ | × | × | 72.84 | 3.86 |
| √ | √ | √ | × | 73.04 | 3.86 |
| √ | √ | √ | √ | 73.45 | 3.86 |
I also analyze the loss weights. Table 4 varies \(\alpha\), \(\beta\), and \(\gamma\). The default configuration gives the best mIoU. A larger Dice weight slightly reduces overall accuracy, while a larger cross-entropy weight aggravates class imbalance. Lower or higher OHEM weights weaken hard-example learning or cause gradient competition. The default setting provides a good balance for complex UAV drone scenes.
| Setting | α | β | γ | mIoU (%) |
|---|---|---|---|---|
| Default | 0.4 | 0.6 | 0.4 | 73.45 |
| A | 0.3 | 0.7 | 0.4 | 73.05 |
| B | 0.5 | 0.5 | 0.4 | 72.75 |
| C | 0.4 | 0.6 | 0.2 | 72.65 |
| D | 0.4 | 0.6 | 0.6 | 73.10 |
Results on UAVid
Table 5 compares WDCNet with representative models on UAVid. WDCNet achieves 73.25% mIoU, 83.21% mDice, and 81.76% mAcc. Compared with the strongest baseline, it improves mIoU by 3.22 percentage points, mDice by 1.91 points, and mAcc by 1.57 points. The largest gain appears in mDice, indicating stronger boundary and fine-structure preservation. The human class reaches 44.82% IoU, more than 9 points higher than the dual-resolution baseline. The road and moving car classes also improve clearly. The parameter count is only 3.86 MB, similar to the lightweight bilateral baseline but with significantly better accuracy. This demonstrates that WDCNet is effective for low-altitude UAV drones in dynamic traffic scenes.
| Method | mIoU (%) | mDice (%) | mAcc (%) | Params (MB) |
|---|---|---|---|---|
| PSPNet | 68.72 | 80.31 | 78.35 | 12.64 |
| ICNet | 67.39 | 79.42 | 78.31 | 47.53 |
| HRNet | 68.14 | 79.66 | 77.76 | 9.64 |
| BiSeNet V1 | 68.22 | 80.02 | 79.17 | 13.27 |
| BiSeNet V2 | 67.21 | 79.28 | 77.25 | 3.35 |
| STDC2 | 68.05 | 79.64 | 77.12 | 12.31 |
| DDRNet | 70.03 | 81.30 | 79.19 | 20.29 |
| PIDNet-M | 67.50 | 79.21 | 76.95 | 28.76 |
| WDCNet (Ours) | 73.25 | 83.21 | 81.76 | 3.86 |
Visual comparisons confirm that WDCNet reduces boundary fragmentation, class confusion, and missing objects. It restores smooth contours for vehicles and pedestrians and preserves structural continuity in complex traffic scenes. For UAV drones, this is crucial because small objects occupy few pixels and are easily lost.
Results on Vaihingen
Table 6 reports results on Vaihingen. WDCNet achieves 73.45% mIoU, 84.03% mDice, and 81.93% mAcc. It improves mIoU by 1.67 points over the second-best method. The background, building, and car classes benefit most. The parameter count is much lower than that of large models and remains close to the lightweight baseline. This validates the robustness of WDCNet in high-resolution urban scenes. Boundary localization is tighter, and small vehicles retain complete shapes. In areas where buildings, roads, and impervious surfaces meet, WDCNet avoids the blur and misclassification observed in several baselines. For UAV drones, these improvements support reliable scene parsing in dense urban environments.
| Method | mIoU (%) | mDice (%) | mAcc (%) | Params (MB) |
|---|---|---|---|---|
| UNet | 67.33 | 78.39 | 76.19 | 28.98 |
| DDRNet | 70.36 | 81.82 | 79.95 | 20.29 |
| DeepLabV3+ | 71.78 | 82.48 | 79.75 | 12.32 |
| PIDNet-M | 70.15 | 81.45 | 78.78 | 28.76 |
| SegFormer-B1 | 67.88 | 79.15 | 76.58 | 24.72 |
| SegNext-S | 69.28 | 80.07 | 77.72 | 15.56 |
| BiSeNet V1 | 69.07 | 80.45 | 77.31 | 13.27 |
| BiSeNet V2 | 68.46 | 79.58 | 76.17 | 3.35 |
| WDCNet (Ours) | 73.45 | 84.03 | 81.93 | 3.86 |
Results on Potsdam
Table 7 shows results on Potsdam. WDCNet reaches 76.54% mIoU, 85.42% mDice, and 84.26% mAcc. It improves mIoU by 1.69 points over the strongest baseline. The building and car classes achieve 91.24% and 89.39% IoU, respectively. Tree and low vegetation classes also remain competitive. The context pyramid and detail guidance modules jointly improve structural recovery and small-object expression. The model size is far smaller than large models and remains in the lightweight range. This is important for UAV drones that need onboard inference. The results also show that WDCNet generalizes across different urban remote sensing datasets.
| Method | mIoU (%) | mDice (%) | mAcc (%) | Params (MB) |
|---|---|---|---|---|
| UNet | 74.62 | 83.88 | 82.97 | 28.98 |
| STDC2 | 72.82 | 82.92 | 81.81 | 12.31 |
| SegFormer-B1 | 73.47 | 83.31 | 82.37 | 24.72 |
| BiSeNet V1 | 74.64 | 84.16 | 82.97 | 13.27 |
| BiSeNet V2 | 74.80 | 84.30 | 83.41 | 3.35 |
| FastFCN | 73.59 | 83.23 | 82.09 | 66.34 |
| DDRNet | 74.85 | 84.15 | 83.38 | 20.29 |
| PIDNet-M | 73.01 | 82.97 | 82.33 | 28.76 |
| WDCNet (Ours) | 76.54 | 85.42 | 84.26 | 3.86 |
I further observe that WDCNet produces clean boundaries between adjacent objects and maintains internal region consistency. In mixed and texture-rich areas, it avoids the object fragmentation and class drift that appear in several transformer-based and lightweight baselines. This is directly relevant to UAV drones, where high-resolution imagery contains many small and overlapping structures.
Discussion
The ablation and comparison results support three conclusions. First, wavelet-based downsampling is an effective replacement for conventional strided downsampling in the detail branch. It preserves high-frequency boundary information and reduces parameter count. Second, multidimensional collaborative attention and context pyramid aggregation provide complementary semantic enhancement. RMCAM improves local discriminability, while CPM balances multi-scale context and local detail. Third, bidirectional fusion and detail supervision improve boundary parsing and small-object recognition. The OHEM plus Dice loss further alleviates class imbalance and hard-sample interference. Together, these mechanisms form a coherent lightweight design for UAV drones.
From a deployment perspective, WDCNet maintains a parameter count of 3.86 MB, which is close to the smallest baseline and much smaller than many high-accuracy models. This makes it suitable for embedded platforms on UAV drones. The inference cost is also controlled because DGM is training-only and EBGA compresses intermediate channels. The network does not rely on extremely wide feature maps or very deep backbones. Instead, it strategically allocates capacity to detail preservation, semantic enhancement, and fusion. I believe this balance is essential for practical UAV drone applications.
From a representation perspective, the frequency–space detail complementarity mechanism is the key to boundary preservation. Haar wavelet decomposition separates low- and high-frequency components, and WTDM encodes them separately. DGM then supervises the detail branch with multi-scale Laplacian edges. This combination prevents high-frequency information from being gradually attenuated in deeper layers. For UAV drones, thin structures such as poles, wires, road markings, and building corners are high-frequency and often critical for downstream tasks.
From a semantic perspective, RMCAM and CPM address multi-scale variability. RMCAM models channel, height, and width dependencies and introduces residual connections to stabilize training. CPM uses progressive fusion and context embedding to integrate global semantics without smoothing local details. This is particularly important when UAV drones observe both very large objects, such as roads and buildings, and very small objects, such as pedestrians and cars. A single-scale attention or a single receptive field cannot handle this variability well. The combination of RMCAM and CPM provides a more flexible representation.
From a fusion perspective, EBGA overcomes the one-way limitation of earlier bilateral aggregation. The reverse guidance from details to semantics allows high-resolution spatial information to refine semantic features near boundaries. Channel compression reduces redundancy, dilated convolution enlarges the receptive field, and LCRM recalibrates channel responses. This design improves both boundary accuracy and global consistency. In my experiments, EBGA contributes a clear mIoU gain with only a modest parameter increase. For UAV drones, this means better segmentation of narrow roads, small vehicles, and complex building outlines.
There are also limitations. The current design still relies on supervised pixel-level labels, which are expensive to obtain for UAV drones. The model uses a fixed set of wavelet filters; adaptive wavelet learning could further improve frequency selection. The fusion module uses hand-designed channel compression and recalibration, and more dynamic routing could be explored. In addition, the evaluation focuses on three datasets; more diverse sensors and weather conditions would strengthen the conclusions. Future work could integrate graph neural networks for global semantic modeling, combine weak supervision and few-shot learning for low-label adaptation, and extend the framework to cross-modal segmentation from heterogeneous sensors on UAV drones.
Conclusion
I proposed WDCNet, a lightweight semantic segmentation network for UAV drones. The network follows a detail preservation–semantic enhancement–bidirectional fusion design. The detail branch uses wavelet transform downsampling and a detail guidance module to preserve high-frequency boundary information. The semantic branch uses residual multidimensional collaborative attention and a context pyramid module to model multi-scale context efficiently. The fusion stage uses enhanced bilateral guided aggregation with reverse guidance and lightweight channel recalibration. The training objective combines OHEM cross-entropy and Dice losses to handle class imbalance and hard samples. Experiments on UAVid, Vaihingen, and Potsdam show that WDCNet achieves higher mIoU, mDice, and mAcc than representative lightweight baselines while maintaining a small parameter count. The results demonstrate that WDCNet is a promising solution for high-resolution semantic segmentation on resource-constrained UAV drones. It improves boundary parsing, small-object recognition, and overall segmentation quality, making it suitable for intelligent low-altitude remote sensing applications.
