Uncertainty-Guided Attention and Entropy-Weighted Loss for Precise Plant Seedling Segmentation
Mohamed Ehab, Ali Hamdi · 2026
Read Uncertainty-Guided Attention and Entropy-Weighted Loss for Precise Plant Seedling Segmentation by Mohamed Ehab, Ali Hamdi (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-10823.txt.
Introduction
Ehab and Hamdi present UGDA-Net, an uncertainty-guided dual attention network with entropy-weighted loss and deep supervision for seedling segmentation. Standard models struggle with messy backgrounds and fine leaves. Three parts make up the network. Uncertainty-guided dual attention uses channel variance to tune maps. An entropy-weighted loss is aimed at doubtful edge pixels. Deep checks cover middle encoder layers. Tests on a high-detail dataset of 432 seedling images show better accuracy. Dice gains run 9.3 percent above baseline for the network, and 13.2 percent above baseline for LinkNet.
Catalog record
| CREATOR | Mohamed Ehab, Ali Hamdi |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 25062 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.10823
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Uncertainty-Guided Attention and Entropy-Weighted Loss for Precise Plant Seedling Segmentation Mohamed Ehab, Ali Hamdi Abstract Plant seedling segmentation supports automated phenotyping in precision agriculture [ 9 ] . Standard segmentation models face difficulties due to intricate background images and fine structures in leaves. We introduce UGDA-Net (Uncertainty-Guided Dual Attention Network with Entropy-Weighted Loss and Deep Supervision). Three novel components make up UGDA-Net. The first component is Uncertainty-Guided Dual Attention (UGDA). UGDA uses channel variance to modulate feature maps. The second component is an entropy-weighted hybrid loss function. This loss function focuses on high-uncertainty boundary pixels. The third component employs deep supervision for intermediate encoder layers. We performed a comprehensive systematic ablation study. This study focuses on two widely-used architectures, U-Net and LinkNet. It analyzes five incremental configurations: Baseline, Loss-only, Attention-only, Deep Supervision, and UGDA-Net. We trained UGDA-net using a high-resolution plant seedling image dataset containing 432 images. We demonstrate improved segmentation performance and accuracy. With an increase in Dice coefficient of 9.3% above baseline. LinkNet’s variance is 13.2% above baseline. Overlays that are qualitative in nature show the reduced false positives at the leaf boundary. Uncertainty heatmaps are consistent with the complex morphology. UGDA-Net aids in the segmentation of delicate structures in plants and provides a high-def solution. The results showed that uncertainty-guided attention and uncertainty-weighted loss are two complementing systems. I Introduction Accurate phenotyping is essential for the success of precision agriculture. Automated systems apply segmentation techniques to plants [ 9 ] , where semantic segmentation addresses the plant pixels and discriminates the background. This allows for leaf area estimations, the determination of growth rates, the prediction of biomass, and the detection of stress. Seedling plant segmentation is described to have challenges [ 12 ] : background clutter (soil, containers); lighting and color distribution variation; leaf structures, and leaves of fine and delicate nature and growth stages. Conventional CNNs yield poor quality segmentation and provide oversegmentation of the soil. These challenges pose significant barriers to reliable phenotyping in practical situations. Case studies have used existing architectures to propose U-Net (skip connections and spatial resolution), LinkNet (simplified decoder), and Segment Anything Model (SAM) to depth and segmentation jointly [ 17 ] . Segmentation of leaves has been improved by implementing attention mechanisms (CBAM, SE-Net) in U-Net [ 1 ] . Uncertainty estimation is used to define unknowns, but in spite of increasing costs, most Bayesian methods and test-time augmentations do not utilize uncertainty during the training process. Some studies employ entropy to evaluate prediction uncertainty, but with a narrow focus on the boundary pixels; nonetheless, the combination of uncertainty, attention mechanisms, and feature refinement has not been addressed in existing studies, and this remains a significant gap. This leads to the development of the present study: UGDA-Net (Uncertainty-guided Dual Attention Network with Entropy-Weighted Loss and Deep Supervision). Three novel components are designed for UGDA-Net: • Uncertainty-Guided Dual Attention - uses an uncertainty proxy, in the form of channel variance, to isolate ambiguous features. • Hybrid entropy-weighted loss - driven by predictive entropy, emphasizing boundary uncertainties. • Deep supervision is derived from outputs at multiple scales of the encoder, offering supplementary training guidance. An elaborate ablation study is performed for two backbones and five grades employing a public-license dataset with carefully annotated images. The three key original contributions are: (i) UGDA with channel variance integrated in the attention mechanism; (ii) a hybrid entropy-weighted loss function and loss that focuses on the most uncertain boundary pixels; (iii) the most comprehensive ablation study to date, measuring the impact of individual components and combinations of components. II Related Work This section outlines research pertaining to our methodology. We explain basic segmentation models. We look into attention mechanisms for feature refinement. We consider uncertainty estimation for deep learning. We describe loss functions for class imbalanced segmentation. II-A Semantic Segmentation Architectures Fully convolutional networks allow predictions to be made at the pixel level. For example, Ronneberger et al. describe U-Net, a convolutional neural network designed for biomedical image segmentation [ 15 ] . A U-Net is designed to be symmetric. There are skip connections from the encoder to the decoder at same level. This enables the network to retain high-resolution information that is useful for making precise predictions. U-Net is particularly useful when training data is scarce. U-Net is to be the baseline in our experiments. Efficient semantic segmentation is addressed by Chaurasia and Culurciello with LinkNet [ 3 ] . LinkNet is designed with a similar encoder-decoder structure but with dramatically decreased decoder design. In order to minimize the computational load while still achieving satisfactory performance, they included residual connections from encoder to decoder. LinkNet will be included in the ablation study as one of the backbones. II-B Attention Mechanisms Mechanisms such as attention optimize certain aspects/ dimensions/ parts of features and representations. Hu et al. [ 7 ] suggest SE-Net, which enables channel-wise recalibration by means of global pooling and subsequent scaling. Based on this, Woo et al. [ 18 ] present CBAM which conducts channel attention, and then, applies spatial attention. Recent studies combine attention to diminish certainty to segmentation [ 19 , 20 ] . The UGDA module proposed herein, to the best of the authors’ knowledge, uses channel variance as a proxy to uncertainty to further extend attention mechanisms. II-C Uncertainty Estimation in Deep Learning Deep neural architectures lack a measure of predictive certainty and produce point estimates. Monte Carlo Dropout, proposed by Gal and Ghahramani, requires multiple stochastic forward passes at inference time to approximate Bayesian inference [ 4 ] . Deterministic estimation of both epistemic and aleatoric uncertainties is performed using Gaussian Mixture Models in feature space by Shojaei et al. [ 16 ] . We conduct uncertainty estimation differently by utilizing feature map channel variance and predictive entropy from the output probabilities. This is achievable by performing a single forward pass. II-D Loss Functions for Segmentation Binary cross-entropy loss treats every pixel equally and does not address class imbalance. Milletari, Navab, and Ahmadi propose Dice loss to directly optimize the Dice coefficient for volumetric segmentation [ 14 ] . Dice loss handles the foreground-background imbalance and addresses small structure segmentation improvement. Hosseini and Soleymani propose a dilated balanced cross-entropy loss that expand class-imbalance enclosing ground-truth class [ 6 ] . Huang and Sui implement a contour-weighted cross-entropy loss and combine it with separable Dice loss to give emphasis to pixels on the border [ 8 ] . Our loss function integrates binary cross-entropy with Dice loss and weights pixel contributions by predictive entropy. This kind of weighting gives preference to uncertain boundary regions and adapts the loss based on prediction confidence. II-E Summary of Research Gap Current architectures have solid segmentation baselines. Attention modules improve the details of features. Uncertainty techniques predict the confidence of segmentation. Class imbalance is solved with specific loss functions. But prior work has separated these techniques. No prior work combines uncertainty attention with focused loss. UGDA-Net is the first to do this. It combines all three techniques into one framework. III Methodology This section describes the dataset, the proposed UGDA-Net architecture, the training protocol, and the evaluation metrics. We detail each component of our uncertainty-aware framework. III-A Dataset and Preprocessing We utilize a