Abstract
In precision agriculture, combining standard Red, Green, and Blue (RGB) imagery with Near-Infrared (NIR) signals is essential for monitoring vegetation health. However, the inherent domain difference between these modalities often leads to "feature divergence," where internal network representations fail to generalize across channels, resulting in sub-optimal segmentation performance. This paper proposes a novel Switchable Normalization (IBN-s) block integrated into a DeepLabV3+ architecture. By adaptively learning the optimal ratio of Instance Normalization (IN) and Batch Normalization (BN), and employing a specialized hybrid loss function, the proposed method significantly reduces feature divergence. Experimental results on the Agriculture-Vision dataset demonstrate a nearly 10% improvement in mean Intersection over Union (mIoU) over baseline models, with particularly strong gains in sparse agricultural classes.
Introduction
Agricultural aerial imaging frequently utilizes a fourth channel, Near-Infrared (NIR), alongside standard RGB data. While NIR is highly effective for identifying crop stress and patterns, it possesses a significantly different distribution and "appearance" compared to visible light channels. Standard Convolutional Neural Networks (CNNs) often struggle with this multi-modal input due to feature divergence. When RGB and NIR channels are naively stacked, the domain gap creates a discrepancy in internal feature representations, limiting the model's ability to identify critical patterns such as "weed clusters" or "planter skips."
Methods
The researchers addressed this challenge through two primary innovations within the DeepLabV3+ framework:
Switchable Normalization (IBN-s)
Building on the IBN-Net architecture, which combines Instance Normalization (IN) and Batch Normalization (BN), the authors introduced the IBN-s block. While standard IBN blocks use fixed ratios, IBN-s employs Switchable Normalization (SN). This allows the network to automatically learn the most effective normalization balance at different depths. IN is particularly effective at filtering out "style" or modality-specific appearance variance in early layers, while BN helps preserve semantic "content" in deeper layers.
Hybrid Loss Function
To mitigate the extreme class imbalance typical of agricultural datasets (where background pixels vastly outnumber specific features like "planter skips"), a hybrid loss function was implemented:
- Binary Cross-Entropy (BCE): For stable pixel-wise classification.
- Dice Loss: To optimize directly for the overlap between predictions and ground truth.
- Lovász-Softmax Loss: A smooth surrogate for the Jaccard index (IoU) designed for imbalanced tasks.
Quantifying Feature Divergence
The study utilized Symmetric Kullback–Leibler (KL) divergence to measure the distance between feature distributions of different modalities. The analysis confirmed that standard ResNet architectures suffer from high divergence between RGB and NIR features. The introduction of IBN-based normalization strategies significantly narrows this gap, as shown in the comparative analysis of feature divergence across network layers.
Key Results
- mIoU Improvement: The IBN-s model achieved a 51.46% mIoU on the Agriculture-Vision validation set, a significant jump from the 47.16% achieved by a standard ResNet50 baseline. With the full hybrid loss applied, performance reached 53.52% mIoU.
- Cross-Modality Generalization: The method successfully closed the performance gap observed when models trained on one modality (e.g., RGB) were tested on another (NIR), which previously saw decays as high as 27%.
- Sparse Class Performance: The model showed dramatic improvements in difficult classes. For instance, the IoU for "Planter Skip" increased from approximately 1% in the baseline to over 12% in the final optimized model.
Conclusion
By identifying and addressing the feature divergence between RGB and NIR imagery, this work provides a more robust framework for agricultural image segmentation. The use of Switchable Normalization allows for an adaptive approach to domain variance, ensuring that multi-modal data is processed more effectively. Future research will investigate the use of style transfer techniques, such as CycleGAN, to further harmonize the appearance of different imaging modalities before network processing.
Summary updated