Abstract
Riverine plastic waste is difficult to detect and map accurately because debris ranges from small items to large floating clusters, and tropical rivers present challenging conditions, such as murky water, floating vegetation, and variable lighting. This study develops and benchmarks a deep learning method for pixel-level, multi-scale mapping of riverine waste from five-band UAV multispectral imagery. We deployed a drone equipped with a five-band multispectral sensor over the Brantas River in Surabaya, East Java, Indonesia, and introduce the Multi-Scale Hierarchical Attention Ensemble (MHAE), which combines three backbone networks across three image resolutions through learned scale- and backbone-attention weighting. MHAE was evaluated against 12 CNN-, transformer-, state-space-, and traditional-machine-learning-based baselines (including Random Forest, U-Net, UNet++, and DeepLabV3+) on the accompanying BrantasRiverWaste-UAV dataset (882 image tiles from a single-site, single-season orthomosaic covering approximately 0.54 km2 of river surface, labelled as water, land, organic waste, or inorganic waste), with pairwise comparisons assessed using Wilcoxon signed-rank tests with Bonferroni correction. MHAE achieved the highest pixel-level waste detection rate among the 12 evaluated models (86.76%), with a mean intersection-over-union of 78.33% (third-highest, behind UNet++ and U-Net). This work provides an initial, single-site benchmark and reference architecture for near-real-time riverine waste monitoring, and introduces the BrantasRiverWaste-UAV as, to our knowledge, one of the first five-band multispectral UAV datasets for tropical riverine waste mapping. Balanced sampling and multi-scale attention fusion can substantially improve waste-pixel detection under severe class imbalance; because the benchmark derives from a single site and season, future work should extend evaluation across additional seasons and river systems before the approach is generalised operationally.
1. Introduction
Rivers transport an estimated 1.15–2.41 million tonnes of plastic waste into the ocean annually [1], with this loading highly concentrated: more than 1000 rivers are estimated to account for approximately 80% of global riverine plastic emissions into the ocean [2]. This river-borne flux poses severe ecological threats to both freshwater and coastal ecosystems. Beyond direct ecological harm, floating plastic debris degrades water quality, blocks hydraulic infrastructure (raising flood risk), and contaminates water supplies, creating persistent environmental hazards that propagate far beyond the point of origin [3]. Urban river systems serve as critical interception points where waste loads can be monitored and removed before reaching coastal zones [4]. Monitoring riverine plastic is therefore an ecological and policy priority, yet practical detection remains difficult. Traditional foot patrols and boat-based grab-sampling surveys provide only point-in-time data over small areas; they are labour-intensive, can be hazardous at hydraulic control points and during high-discharge conditions, and lack the spatial coverage needed for routine, catchment-scale monitoring. Satellite imagery offers broader spatial coverage but at the cost of spatial resolution: moderate-resolution platforms (Sentinel-2 at 10 m; Landsat-8 at 30 m) can identify large floating debris accumulations through spectral indices such as the Floating Debris Index (FDI), but cannot resolve individual items or small debris clusters [5,6,7,8]. Persistent tropical cloud cover further limits the utility of optical satellites for operational monitoring in equatorial river basins [9], making small or partially submerged waste effectively undetectable from space during much of the wet season. Several unmanned aerial vehicle (UAV)- and imagery-based studies in this space have relied on bounding-box object detection rather than pixel-level mapping [10,11,12], an approach that can locate and count discrete items but is less well suited to quantifying continuous waste loads, spatial density, or partially submerged and overlapping debris.
UAVs bridge the spatial resolution gap between satellites and ground surveys, achieving ground sampling distances (GSDs) of 0.5–2 cm/pixel and enabling detection of objects as small as 5 cm [13]. Early drone-based studies achieved detection accuracies of 75–85% for objects larger than 5 cm under favourable conditions [10,11]. However, standard RGB camera-equipped drones show a persistent limitation in tropical river environments, where spectrally similar green vegetation and green-coloured plastics produce misclassification errors. Five-band multispectral sensing, extending into the near-infrared (NIR) and red-edge domains, offers a more effective solution: NIR and red-edge bands allow better separation between synthetic polymers (which have relatively flat spectral profiles across the visible-to-NIR range) and photosynthetically active organic materials (which reflect strongly in the NIR) [6,14]. Despite this promise, no prior work has established a systematic comparison of deep learning segmentation architectures evaluated under realistic tropical riverine conditions, and no publicly available dataset provides pixel-level annotations for tropical riverine waste under wet-season conditions. Accurate pixel-level waste mapping also presents a multi-scale detection problem. Individual plastic bottles measure centimetres in width whereas debris clusters can span several metres. A single fixed spatial resolution cannot simultaneously resolve fine detail in small items and capture the broad spatial context needed to characterise large clusters: coarser scales provide context for large debris accumulations while finer scales are needed to resolve small individual items. Existing deep learning segmentation architectures drawn from medical imaging (e.g., U-Net [15], UNet++ [16]) or general-purpose scene understanding were not designed with this joint scale range in mind, nor with the severe class imbalance that characterises real riverine waste surveys (where inorganic waste may occupy fewer than 1% of image pixels). Indonesia presents a particularly urgent case study. Ranked as the world’s second-largest contributor to ocean plastic pollution, the country releases approximately 0.48–1.29 million tonnes of mismanaged plastic waste into marine environments annually [3,17]. The Brantas River watershed in East Java exemplifies this challenge: flowing through the densely populated city of Surabaya before discharging into the Madura Strait, it carries substantial plastic loads from urban activities [18,19]. During the wet season, elevated river discharge concentrates floating waste at hydraulic control points, creating high debris densities that represent exactly the interception conditions under which operational monitoring systems would be deployed. Against this background, we introduce the Multi-Scale Hierarchical Attention Ensemble (MHAE) and the BrantasRiverWaste-UAV dataset, together forming an initial, single-site benchmark for fine-grained pixel-level mapping of riverine waste from operational five-band UAV multispectral imagery under tropical wet-season conditions, intended to be extended with further sites and seasons in future work (Section 5.1). The primary contributions of this work are as follows:
- Multi-Scale Hierarchical Attention Ensemble (MHAE): A new deep learning architecture designed for fine-grained riverine waste segmentation, which combines three complementary backbone networks across three image resolutions using adaptive importance weighting and hierarchical prediction fusion.
- BrantasRiverWaste-UAV dataset: To our knowledge, one of the first publicly available five-band multispectral UAV datasets dedicated to tropical urban riverine waste monitoring, with pixel-level expert annotations across four semantic classes, to be released as an open benchmark upon acceptance.
- Five-band spectral pipeline: A preprocessing and normalisation workflow for five-channel multispectral UAV imagery that leverages NIR and red-edge bands to improve discrimination between synthetic waste and co-occurring organic flotsam.
- Comprehensive experimental validation: Systematic comparison against 11 deep learning baselines spanning convolutional neural network (CNN)-based, transformer-based, and state-space architectures, with rigorous non-parametric statistical testing and ablation studies.
Table 1 summarises how existing methods relate to these contributions and identifies the specific capability gaps that the present work addresses. The remainder of this paper is organised as follows. Section 2 describes the study site and dataset. Section 3 presents the MHAE architecture and experimental setup. Section 4 presents results and discussion. Section 5 discusses the study’s limitations and directions for future work, before closing with the overall conclusions.
Table 1.
Comparison of representative prior methods across critical capability dimensions that motivate this work. ✓ = fully addressed; partial = partially addressed; ✗ = not addressed. FDI: Floating Debris Index [5]; PI: Plastic Index [20]; APLASTIC-Q: Aquatic Plastic Litter Detection, Classification, and Quantification; River UAV: unmanned-aerial-vehicle-based riverine litter monitoring method of Geraeds et al. [21].
The methods described in Table 1 represent the three technical approaches most directly comparable to this work: (i) satellite-based spectral-index detection, the dominant approach for basin-scale monitoring; (ii) UAV studies that apply machine learning to riverine or coastal plastic, the closest prior work in platform and target domain; and (iii) representative deep learning segmentation architectures, which are later included as quantitative baselines in Section 4 (UNet++, SegFormer, VMUNet, one per family: CNN, transformer, state-space model). The six capability dimensions are classified from each method’s own reported methodology and stated scope as follows. A rating of ✓ (fully addressed) requires the criterion to be an explicit, demonstrated design goal of the method (e.g., pixel-level mapping requires a dense segmentation output rather than a bounding box or a scene-level index). A rating of partial indicates the criterion is addressed only in a limited or auxiliary sense (e.g., APLASTIC-Q [10] reports a small number of spectral bands beyond RGB but does not use a dedicated multispectral sensor). A rating of ✗ (not addressed) indicates the criterion is absent from the method’s reported design or evaluation. This classification reflects our reading of the cited sources at the time of writing and is intended to motivate the specific gap this study addresses, rather than to serve as an exhaustive systematic review of the field.
2. Study Site and Dataset
2.1. Study Site
The fieldwork was conducted over the Brantas River at Tambak Wedi Water Gate, located in northern Surabaya, East Java, Indonesia (approximately 7.206° S, 112.771° E); Figure 1). This site represents a major hydraulic control point on the lower Brantas River, immediately upstream of the river’s discharge into the Madura Strait. The Brantas catchment drains approximately 12,000 km2 of densely populated agricultural and urban land, making it one of the most plastic-polluted waterways in East Java [18,19]. During the wet season, elevated discharge concentrates floating waste at the water gate, creating locally high debris densities, representative of the interception conditions under which operational monitoring systems would be deployed.
Figure 1.
Study site: Tambak Wedi Water Gate, Surabaya, East Java, Indonesia (approximately 7.206° S, 112.771° E). The main image shows a georeferenced orthomosaic of the fieldwork river segment (≈0.54 km2), acquired by DJI Phantom 4 RTK Multispectral at 75 m AGL during the wet season (November 2025), with a coordinate graticule, north arrow, and scale bar (100 m) overlaid. The ‘+’ symbols mark graticule intersection ticks (geographic coordinate grid), following standard topographic map convention. A locator inset (upper left) situates the study area within Java, Indonesia. A second inset shows a representative pixel tile (5.24 m × 5.24 m at 4.1 cm/pixel GSD), illustrating floating debris against the turbid river background.
The fieldwork area covers approximately 0.54 km2 of active river surface (approximately 1600 m long and up to 340 m wide), encompassing the main channel, adjacent riparian banks, and the water gate structure itself. This single-site, single-season acquisition provides a controlled initial benchmark; the limitations of this approach are discussed in Section 5.1.
2.2. Annotation Protocol
Data collection integrated concurrent UAV acquisition and systematic ground-level fieldwork, conducted simultaneously by two teams at Tambak Wedi Water Gate on the same day. The field team recorded the position of waste accumulations using handheld GPS receivers; produced structured field notes describing waste type, approximate size, and degree of submersion; and collected photographic documentation at representative locations along the reach. These field records served as primary reference material during image annotation, allowing annotators to cross-reference the spectral appearance of each item in the multispectral imagery against its confirmed material identity recorded on the ground. This integrated approach, combining GPS-referenced waste positions, field photographs, standardised fieldwork forms, and annotator familiarity with site conditions, provides a robust foundation for waste classification that goes substantially beyond visual image interpretation alone.
Pixel-level semantic masks were produced through manual delineation using CVAT 2.4.5 (open-source; CVAT.ai Corporation, Wilmington, DE, USA), following a standardised two-stage protocol using two independent manual delineations with inter-annotator reconciliation. The four semantic classes are defined as follows:
- Water: Open river surface, including turbid and partially shadowed areas.
- Land: All terrestrial surfaces, including riparian banks and vegetation.
- Organic waste: Floating organic debris with a footprint exceeding 0.25 m2 (≈150 pixels at 75 m above ground level (AGL)), including leaf litter, water hyacinth fragments, and wooden debris.
- Inorganic waste: Synthetic items (primarily plastics), confirmed as synthetic material by field observation. Items that remained ambiguous after cross-referencing field records with spectral imagery were left unlabelled to maintain annotation integrity.
To characterise the reliability of the annotations as a data-quality property of the dataset (independent of any model’s performance), inter-annotator agreement was assessed on a randomly selected 300-tile subset (128 × 128 pixels each, i.e., 4,915,200 pixels in total) that was independently labelled in full by both annotators prior to reconciliation. Agreement was quantified using Cohen’s [24]:
where is the observed proportion of pixels on which the two annotators’ independent labels agreed and is the proportion of agreement expected by chance given each annotator’s marginal label frequencies. The overall was computed treating the task as a four-class nominal classification (pixel-wise agreement across water, land, organic waste, and inorganic waste); the per-class values reported (water: 0.91; land: 0.89; organic waste: 0.82; inorganic waste: 0.79) were computed using the one-vs-rest binarisation of for each class in turn. All values indicate strong agreement, with the comparatively lower values for organic and inorganic waste reflecting genuine ambiguity at debris boundaries and under partial submersion rather than an annotation protocol weakness. This value describes the quality of the ground-truth labels themselves rather than any aspect of model output, and is therefore reported here alongside the annotation protocol rather than in the Results Section.
A representative ground-level photograph from the concurrent fieldwork is shown in Figure 2.
Figure 2.
Ground-level field photograph acquired concurrently with UAV data collection at Tambak Wedi Water Gate, Surabaya, East Java, Indonesia (7.309° S, 112.797° E) on 5 November 2025 at 11:09 local time, illustrating five land-cover elements observed at the study site: (1) inorganic waste (floating plastics); (2) organic waste (leaf litter, water hyacinth, woody debris); (3) water surface (turbid, high-discharge wet-season conditions); (4) road (riparian access infrastructure); and (5) residential area (adjacent urban fabric). This photograph was used as primary ground-truth reference during manual annotation.
2.3. UAV Data Acquisition
All imagery was acquired using the DJI Phantom 4 Real-Time Kinematic (RTK) Multispectral platform (DJI, Shenzhen, China) on 5 November 2025, during the wet season, operated at a fixed altitude of 75 m above ground level (AGL), yielding a GSD of 4.1 cm/pixel. The sensor captures five spectral bands: blue (450 nm, nm FWHM), green (560 nm, nm FWHM), red (650 nm, nm FWHM), red edge (730 nm, nm FWHM), and NIR (840 nm, nm FWHM). Each flight included synchronised RTK-GNSS positioning ( cm accuracy, post-processed kinematic against a static base-station log) and downwelling light sensor (DLS) irradiance measurements for radiometric calibration. Flight conditions were restricted to cloud cover below 20%, wind speed below 5 m/s, and acquisition times between 09:00 and 15:00 local time, with 75% forward and 65% lateral image overlap. The full survey area was covered by a single preprogrammed waypoint flight plan, executed as multiple consecutive battery-limited sorties on the same day; the images from all sorties were combined into one orthomosaic in Agisoft Metashape Professional 2.3.1 (Build 22416; Agisoft LLC, St. Petersburg, Russia) (Section 2).
The wet season was selected for three operationally motivated reasons: (1) it corresponds to the period of highest waste mobilisation (river flow velocity ∼1.2 m/s vs. ∼0.3 m/s in the dry season); (2) it presents the most challenging detection conditions (Secchi depth 15–40 cm, abundant floating vegetation); and (3) it coincides with peak ecological risk due to high downstream discharge. We acknowledge that a single seasonal acquisition limits generalisation to dry-season or storm-event conditions; repeat fieldwork across seasons is identified as a priority for future work (Section 5.1).
2.4. Radiometric Calibration
The raw digital numbers were converted to surface reflectance through a two-step pipeline. First, at-sensor radiance was computed as
where is the exposure time and is a band-specific calibration coefficient. Second, surface reflectance was derived using DLS irradiance measurements and solar zenith angle [25]:
The calibration accuracy was validated against Spectralon reference panels, yielding and RMSE = 0.032 reflectance units.
2.5. Dataset Overview and Splits
The BrantasRiverWaste-UAV dataset comprises 882 five-band multispectral image tiles, each 128 × 128 pixels at 4.1 cm/pixel GSD (covering approximately 5.24 × 5.24 m2 per tile), sampled with overlap from a single orthomosaic covering approximately 0.54 km2 of river surface, produced from the one flight-plan mission described in Section 2 (executed as multiple consecutive sorties on 5 November 2025) and processed in Agisoft Metashape. Each tile is accompanied by a pixel-level expert semantic annotation mask.
The 882 tiles were divided into training (70%, 616 tiles), validation (15%, 133 tiles), and test (15%, 133 tiles) subsets using stratified spatial splitting [26], ensuring that tiles containing inorganic waste were proportionally represented in all three partitions. Band normalisation statistics were computed exclusively from the 616 training tiles and applied consistently to the validation and test splits, preventing information leakage. An offline data augmentation pipeline expanded the effective training set by a factor of .
To guarantee adequate gradient signal for the severely under-represented inorganic waste class, a three-pool balanced batch sampler was employed to enforce a minimum of two inorganic tiles per batch of eight. Without this constraint, the probability that any given training batch contains no inorganic tile was approximately 76%, meaning that the vast majority of training steps would carry no gradient signal for this class.
3. Materials and Methods
3.1. Problem Formulation
Given a five-band multispectral UAV tile with channels , the goal is to learn a mapping that assigns each pixel to one of four semantic classes: water (0), land (1), organic waste (2), or inorganic waste (3). The method must handle severe class imbalance (inorganic waste occupying only 0.53% of pixels), wet-season environmental variability, and debris sizes ranging from individual 5 cm items to clusters exceeding 3 m.
3.2. Overall MHAE Architecture
Figure 3 shows the overall MHAE pipeline, which processes the calibrated five-band input through five sequential stages: (1) a multi-scale image pyramid; (2) three parallel backbone networks (backbone ensemble); (3) cross-scale attention fusion (CSAF); (4) hierarchical decision fusion (HDF); and (5) domain-specific post-processing. Each stage is described below. The full layer configurations and hyperparameters are provided in Appendix A.
Figure 3.
Overall MHAE pipeline. Five-band multispectral input passes through five sequential stages: (1) multi-scale pyramid; (2) backbone ensemble; (3) cross-scale attention fusion (CSAF); (4) hierarchical decision fusion (HDF); and (5) segmentation output.
3.3. Stage 1: Multi-Scale Image Pyramid
Because there is a roughly 60-fold difference between the minimum and maximum sizes of riverine debris (from 5 cm individual plastic bottles to clusters exceeding 3 m, i.e., approximately 1.8 orders of magnitude), no single image resolution can simultaneously resolve fine detail and capture broad spatial context. Following the general multi-scale pyramid-pooling principle for dense prediction [27], MHAE generates three versions of each input tile through bilinear interpolation:
yielding full-resolution (), three-quarter (), and half-resolution () representations (see Figure 4). The full-resolution scale resolves small inorganic items approaching the 4.1 cm/pixel GSD limit; the coarser scales provide wider spatial context for large debris clusters and the surrounding channel.
Figure 4.
Multi-scale pyramid. Each input tile is resized to three resolutions (, , ), and each version is processed independently by the backbone ensemble.
3.4. Stage 2: Backbone Ensemble
At each of the three scales, three architecturally distinct deep learning networks extract complementary feature representations. The three backbones were selected for their deliberately different computational approaches, a necessary condition for ensemble models to outperform any individual component [28]:
- Swin-UNet [29]: Models global spatial context through hierarchical attention within local windows; well suited to detecting large continuous debris clusters.
- VMUNet [23]: Uses a selective state-space mechanism [30] with linear computational cost, supporting boundary delineation of irregularly shaped items.
- UNet3+ [31]: Aggregates features from all encoder resolution levels simultaneously, recovering fine-grained spatial details of small dispersed inorganic items.
A lightweight feature aligner (a convolution followed by batch normalisation and ReLU) maps each backbone’s output to a common 192-channel feature space before fusion (Figure 5).
Figure 5.
Backbone ensemble. Each scale input is processed by three parallel backbone architectures (Swin-UNet, VMUNet, UNet3+). Feature aligners map each backbone output to a shared 192-channel feature space. Classifier heads produce per-scale class predictions used in the hierarchical decision fusion stage.
3.5. Stage 3: Adaptive Importance Weighting Across Scales and Backbones
A key challenge in multi-scale, multi-backbone fusion is deciding how much to trust each resolution and each network for any given image region. Rather than applying fixed or equal weights, we learn these importance weights from data: the fusion module emphasises high-resolution features where small inorganic items are present, and lower-resolution features where broad spatial context is more informative. This adaptive importance weighting, commonly referred to as cross-scale attention fusion (CSAF), follows the general squeeze-and-excitation and dual-attention paradigm [32,33,34], in which global context (here, per-scale and per-backbone descriptors obtained via global average pooling) is used to compute normalised weights that reweight the original feature maps, rather than treating all scales or backbones uniformly. CSAF applies this principle in two places: scale attention (Equation (5)) and backbone attention (Equation (6)), followed by convolutional block attention module (CBAM) spatial refinement [35]. The full CSAF pipeline is described below, with the overall structure shown in Figure 6.
Figure 6.
Cross-scale attention fusion (CSAF) pipeline: Scale attention (which resolution matters most?), backbone attention (which network is most reliable?), CBAM spatial refinement, and final refinement producing the 192-channel fused output.
All three scale-level features are resized to a common resolution, stacked, and processed through a lightweight two-layer network (a universal function approximator [36]) to produce normalised importance weights for each scale:
The softmax constraint ensures the weights sum to one, which by Jensen’s inequality guarantees that the fused representation performs no worse in expectation than the worst individual scale [37]. A second attention network, following the same squeeze-and-excitation channel-reweighting principle [32], then learns which backbone should be trusted for each spatial region,
and, following the general principle of combining multi-scale features through learned, normalised weights [37], the jointly weighted fused representation is
In Equations (5)–(7), (with , after resizing to the common resolution) denotes the aligned feature map produced by scale , obtained by concatenating the three backbone outputs at that scale along the channel dimension prior to the feature aligner; denotes the aligned feature map of backbone (Swin-UNet, VMUNet, UNet3+, respectively) at scale s; denotes global average pooling over the spatial dimensions; concatenates the three pooled scale descriptors into ; and are learned weight matrices of the scale- and backbone-attention sub-networks, respectively; and are the resulting normalised (softmax) importance weights over scales and backbones; denotes the convolution, batch normalisation, and ReLU of the feature aligner (Section 3, Stage 2) that maps a raw backbone output to the common -channel space; and is the resulting CSAF output, i.e., a weighted sum over all nine (scale, backbone) pairs of the aligned feature maps. The fused features are further refined using the convolutional block attention module (CBAM) [35], which applies sequential channel-wise and spatial attention. A final convolutional block consolidates all information into the 192-channel CSAF output (, used in Equation (8) below). Diagrams of the CSAF sub-components are provided in Figure 5 and Figure 6 above.
3.6. Stage 4: Hierarchical Decision Fusion (HDF)
While CSAF fuses backbone features at the representation level, HDF operates at the prediction level by combining the class probability maps produced by each backbone (Figure 7).
Figure 7.
Hierarchical decision fusion (HDF): Feature-level (Stream A) and prediction-level (stream B) streams are combined via uncertainty estimation and a final meta-learned weighted combination.
Stream A (early fusion), following the standard fully convolutional feature-to-prediction decoding approach [38], decodes the CSAF feature map directly into a segmentation prediction:
Stream B (late fusion) learns class-specific weights for each backbone’s prediction, allowing the model to learn, for example, that one backbone may be more reliable for boundary-adjacent inorganic items while another better characterises large organic waste clusters, following the general principle that learned, per-member weighting can outperform uniform ensemble averaging [28]:
An uncertainty estimation network identifies spatial regions where streams A and B disagree [39], and meta-learned coefficients , , (summing to one) combine all streams:
where is the uncertainty-weighted refinement term.
3.7. Stage 5: Domain-Specific Post-Processing
Two post-processing steps are applied after inference. First, small isolated predictions are removed using minimum connected-component area thresholds calibrated to the GSD:
Second, flow-aware directional smoothing is applied along D8 hydrological flow-routing directions estimated from a digital elevation model, connecting spatially fragmented predictions along hydraulically plausible paths while preserving clustered accumulations at retention zones [40].
3.8. Training Loss Function
Training uses a five-component composite loss:
with weights , , , , , and . Focal loss [41] addresses class imbalance by assigning higher weight to the rare inorganic class (inorganic/water gradient ratio of 11.1×). Dice loss [15] guards against class collapse; Lovász-Softmax [42] directly optimises for IoU; boundary loss [43] enforces sharp waste item contours; and consistency loss regularises agreement among backbone predictions.
3.9. Training Configuration
All experiments were conducted on a single NVIDIA RTX 3090 GPU (24 GB VRAM; NVIDIA Corporation, Santa Clara, CA, USA) using PyTorch 2.0 [44] and CUDA 11.8. MHAE was optimised using AdamW [45] with layer-wise learning rates ( for fusion modules; for backbone parameters), gradient accumulation over 4 passes (effective batch size 32), and a 20-epoch linear warm-up followed by cosine annealing with warm restarts [46] (, ). Training proceeded for up to 500 epochs with early stopping patience of 160 epochs. Stochastic weight averaging (SWA) was applied from epoch 150. Training proceeded in three curriculum stages: backbone-only (epochs 0–60), backbone with fusion modules (epochs 60–180), and full joint fine-tuning (epoch 180 onward). The full software dependencies and hyperparameter settings are listed in Appendix A.
3.10. Comparison Architectures
We compare MHAE against 12 architectures spanning four categories: (1) CNN-based (fully convolutional network (FCN)-ResNet50 [38], U-Net [15], UNet++ [16], UNet3+ [31], DeepLabV3+ [47,48], PSPNet [27]); (2) transformer-based (Swin-UNet [29,49,50], SegFormer-B3 [22], SegNeXt [51]); (3) state-space models (VMUNet [23,30], LightM-UNet [52]); and (4) a traditional machine learning baseline (Random Forest trained on hand-crafted GLCM texture, colour statistics, and spectral band ratio features). All deep learning baselines were trained under a standardised configuration following Musgrave et al. [53]: Adam optimiser (), step learning rate decay ( every 30 epochs), maximum 100 training epochs, early stopping patience of 20 epochs, Focal+Dice loss with uniform class weights, augmentation, and no specialised sampling.
3.11. Evaluation Metrics
We adopt the standard semantic segmentation formulation of intersection-over-union (IoU): for each class c, IoUc is the ratio of correctly predicted class-c pixels to the union of predicted and ground-truth class-c pixels, distinct from the IoU-threshold criterion used to judge bounding-box quality in object detection. The primary aggregate metric is the macro-averaged mean IoU (mIoU) across all four classes:
where , , and denote true positives, false positives, and false negatives for class c, respectively (the same per-class confusion-matrix counts used throughout this section, including for the standard classification metrics noted below). The primary operational metric is the waste detection rate (WDR), which is the standard recall (sensitivity) metric applied to the waste classes combined, renamed here to reflect its operational interpretation (the proportion of waste pixels correctly identified):
The WDR is prioritised because a missed waste detection means plastic propagates downstream rather than being intercepted (the key operational failure mode), whereas a false alarm triggers only an unnecessary but harmless inspection. The complementary operational metric is the false-alarm rate (FAR):
where denotes true negatives (non-waste pixels correctly classified as non-waste). The mean Dice coefficient (mDice), pixel accuracy (PA), and Cohen’s kappa [24] are reported as supplementary measures. Per class, the Dice coefficient is mathematically identical to the F1 score () and is reported here under its more common name in the segmentation literature.
All pairwise comparisons use the non-parametric Wilcoxon signed-rank test [54], with each of the 133 held-out test tiles treated as one paired observation: for a given metric (mIoU or WDR), the per-tile value achieved by MHAE with test-time augmentation (TTA) is paired with the per-tile value achieved by each comparison method on the same tile, and the test is applied to the resulting 133 paired differences. For WDR, tiles containing no waste-class (organic or inorganic) pixels have an undefined denominator in Equation (13) and are excluded from the per-tile WDR comparison (this does not affect the mIoU, which is defined for every tile). We note that because tiles were sampled with spatial overlap from a single orthomosaic (Section 2), per-tile observations are not fully spatially independent; this is a limitation of the single-site design discussed further in Section 5.1, and the reported p-values should be interpreted as indicative of relative model ranking on this benchmark rather than as guaranteeing independence across all resampled units. Bootstrap 95% confidence intervals ( resamples) are likewise computed by resampling test tiles with replacement. Bonferroni correction is applied over pairwise comparisons (MHAE + TTA vs. each of the 11 deep learning baseline methods in Table 2), giving a corrected significance threshold of . The Random Forest baseline is compared separately (Section 4) rather than included in this family, since it represents a qualitatively different (non-deep-learning) comparison. Effect sizes are reported as Cohen’s d [55].
Table 2.
Test set performance on BrantasRiverWaste-UAV (133 tiles). Bold: best per column. Underline: second-best. Values for Random Forest and all 11 deep learning baselines are final, verified directly from each model’s confusion matrix using the corrected evaluation code. RF = Random Forest; PA = pixel accuracy.
Test-time augmentation (TTA), following the theoretical formulation of Wang et al. [56], uses five geometric transforms (original, horizontal flip, vertical flip, 90° and 180° rotation) with uncertainty-weighted averaging, primarily to reduce FAR through geometric ensembling.
4. Results and Discussion
4.1. Dataset Characteristics
Table 3 summarises the class distribution in BrantasRiverWaste-UAV. Inorganic waste is severely under-represented, occupying only 0.53% of all pixels and appearing in just 29 of the 882 tiles (3.3%). This imbalance directly motivated the specialised sampling and loss-function strategies described in Section 3. Representative tiles and their annotation masks are shown in Figure 8.
Table 3.
Class distribution in the BrantasRiverWaste-UAV dataset (882 tiles of pixels each, sampled with overlap from an orthomosaic of approximately 0.54 km2).
Figure 8.
Representative tiles from BrantasRiverWaste-UAV shown as NIR–red–green false-colour composites (left of each pair) and their annotation masks (right). Black = water, grey = land, white = inorganic waste, red = organic waste. Green tones in the RGB panels reflect vegetation chlorophyll response in the false-colour composite and do not correspond to a separate annotation class. (Top): Tiles dominated by scattered inorganic waste items (5–25 cm items visible against dark turbid water). (Bottom): Tiles with mixed land–water boundaries illustrating wet-season turbidity and partial submersion of riparian vegetation. Each tile covers approximately 5.24 m × 5.24 m on the ground.
The BrantasRiverWaste-UAV dataset has value beyond the benchmarking purpose of this paper. As an annotated pixel-level dataset of tropical riverine plastic, it can support a range of downstream applications. Waste load quantification is one direct use: by combining pixel counts with the known GSD of 4.1 cm/pixel, operators can estimate the surface area of each waste category intercepted at a monitoring point (a necessary step toward mass-flux estimation when paired with debris thickness and density assumptions). The dataset could also be used to train lightweight real-time classifiers for edge deployment on operational drones, or to pre-train models that are subsequently fine-tuned for other river systems. Researchers working on polymer-type discrimination may use the inorganic waste annotations as a starting point for studies combining visible–NIR with shortwave infrared (SWIR) imagery. We note, however, that the dataset’s scope is limited to a single wet-season acquisition at one site; users should expect some performance degradation when applying models trained on BrantasRiverWaste-UAV to other seasons, river morphologies, or debris compositions without domain adaptation.
4.2. Qualitative Segmentation Performance
Figure 9 shows predictions from all 12 models on the same representative test tile containing a water–land boundary with an adjacent organic waste region. MHAE + TTA preserves the boundary curvature with the highest spatial fidelity, maintaining the organic waste region at the water surface interface. CNN baselines (FCN-ResNet50, PSPNet) show over-smoothed boundaries from their large pooling operations. U-Net and UNet++ recover sharper boundaries through skip connections but show partial organic waste loss at the interface, the failure mode that MHAE’s WDR design directly targets. SSM models produce fragmented outputs, consistent with their unconverged training state.
Figure 9.
Qualitative segmentation comparison across all 12 models on the same representative test tile. Each panel shows: Input RGB (left), ground truth mask (centre), predicted segmentation (right). Blue = water, brown = land, red = organic waste, orange = inorganic waste. MHAE + TTA (top-left) achieves the most accurate boundary delineation and correctly preserves the organic waste region adjacent to the water boundary. State-space models (VMUNet, LightM-UNet) show fragmented, noisy predictions, consistent with their unconverged training state.
4.3. Overall Quantitative Performance
Table 2 presents a comprehensive comparison of MHAE against all 12 baselines on the 133-tile held-out test set.
4.3.1. Waste Detection Performance
MHAE + TTA achieves the highest pixel-level waste detection rate among all the evaluated models, correctly identifying 86.76% of waste-class pixels in the 133-tile test set (Figure 10). This exceeds the next-best result (U-Net: 85.42%) by 1.3 percentage points and UNet++ (84.68%) by 2.1 percentage points. Pairwise Wilcoxon signed-rank tests were computed on per-tile paired WDR values (over the 57 of 133 tiles containing at least one waste-class pixel, since WDR is undefined for waste-free tiles; Section 3) with Bonferroni correction over baseline comparisons (). After correction, MHAE’s WDR advantage reaches statistical significance only relative to FCN-ResNet50 (, ); differences from the remaining ten baselines, while numerically in MHAE’s favour for eight of them, do not reach significance at this corrected threshold (all ), most likely reflecting the reduced statistical power of the 57-tile waste-only subsample. We therefore report MHAE’s WDR advantage as the highest observed value among all the evaluated methods, rather than as a uniformly statistically significant improvement over every comparison method.
Figure 10.
Performance comparison of all models on the 133-tile test set. Bars show mIoU (blue), WDR (green), FAR (orange, lower is better), and Cohen’s kappa (yellow). MHAE + TTA (rightmost, orange border) achieves the highest WDR (86.76%) and third-highest mIoU (78.33%). State-space models (VMUNet, LightM-UNet) underperform under the standardised 100-epoch training configuration due to insufficient convergence time.
MHAE + TTA achieves an mIoU of 78.33%, ranking third overall behind UNet++ (83.37%) and U-Net (83.09%). This reflects an intentional design trade-off: gradient capacity directed toward maximising WDR for the rarest class reduces the signal available for improving aggregate mIoU, consistent with MHAE’s markedly higher inorganic waste recall (95.88%; Table 4) relative to its precision on that same class (66.27%), indicating the model is tuned to favour catching waste over minimising false positives on the rarest class. Pairwise Wilcoxon tests on per-tile mIoU (all 133 tiles, always defined) show MHAE significantly outperforms LightM-UNet (, ) after Bonferroni correction; differences from the other ten baselines do not reach significance at (three baselines, UNet3+, UNet++, and SegFormer-B3, have uncorrected favouring MHAE but do not survive correction). MHAE’s mIoU is thus best characterised as competitive with, rather than significantly superior to, most of the deep learning baselines evaluated here.
Table 4.
Per-class IoU (%) on the 133-tile test set. Bold: best per class. Underline: second-best.
The WDR-vs-FAR trade-off is illustrated in Figure 11, which shows MHAE + TTA occupying the upper-left ideal zone (highest WDR) at a moderate FAR (0.87%), while UNet++ and FCN-ResNet50 achieve a lower FAR at the cost of a reduced WDR, a position better suited to applications where false alarms are costly.
Figure 11.
Operational performance: Waste detection rate (WDR, higher is better) vs. false-alarm rate (FAR, lower is better), computed directly from the corrected per-model values in Table 2. MHAE + TTA (star) achieves the highest WDR and lies within the ideal zone (green, top-left). UNet++ achieves the lowest FAR at the cost of reduced WDR. The state-space models (VMUNet, LightM-UNet) combine the lowest WDR with a comparatively high FAR, consistent with their unconverged training state under the standardised 100-epoch protocol (Section 4). Random Forest is omitted from the plot for axis clarity; its values are reported in Table 2.
4.3.2. Underperformance of State-Space Models
VMUNet and LightM-UNet perform substantially below all the CNN and transformer baselines (mIoU: 48–50%; WDR: 88%). This reflects a training protocol mismatch rather than fundamental architectural inferiority: Mamba-based state-space models require substantially longer training schedules (typically > 300 epochs with cosine warm restarts) to adapt their input-dependent state matrices to the spectral–spatial statistics of multispectral imagery. Under the standardised 100-epoch configuration, neither model fully converged. This has important implications for benchmark design: protocols calibrated for CNN and transformer architectures may systematically disadvantage SSM models.
4.3.3. Deep Learning vs. Traditional Methods
The Random Forest baseline (mIoU: 40%, WDR: 82%) demonstrates the large performance gap between hand-crafted spectral and texture features and deep-learned representations (Wilcoxon test on the same 133-tile held-out test set used throughout this study: ), confirming that hierarchical spatial and spectral feature learning is essential for this task.
4.3.4. Reconciling Architectural Design with Empirical Performance
MHAE’s architecture was motivated by three conceptual limitations of the baseline architectures evaluated here: a single fixed input resolution cannot resolve both small dispersed items and large debris clusters simultaneously (motivating the multi-scale pyramid), a single backbone family cannot combine the complementary strengths of convolutional, attention-based, and state-space feature extraction (motivating the backbone ensemble), and uniform loss weighting under-serves the rarest class (motivating the asymmetric focal weighting and balanced batch sampling). The ablation study (Table 5) confirms that each of these components contributes measurably when removed individually from MHAE itself. However, addressing these limitations conceptually does not translate into a uniformly large empirical margin over every baseline: as reported in Section 4, MHAE’s WDR advantage reaches statistical significance over only one of eleven deep learning baselines (FCN-ResNet50) after Bonferroni correction, and several strong baselines, particularly U-Net and UNet++ (both of which already incorporate multi-scale skip connections and, in UNet++’s case, dense nested connectivity), achieve competitive or superior mIoU. We offer three non-exclusive explanations. First, several of MHAE’s design principles (multi-scale feature aggregation, skip connections) are already present in simplified form in the strongest CNN baselines, narrowing the conceptual gap MHAE needs to close. Second, this is a single-site, single-season benchmark of modest size (133 test tiles), limiting the statistical power available to detect true performance differences, particularly for WDR, which is defined only over the 57 tiles containing waste pixels. Third, MHAE’s loss design explicitly trades some aggregate pixel-level accuracy for higher recall on the rarest class (Section 4), which is not fully captured by the mIoU alone. We report these results transparently rather than overstating MHAE’s empirical margin: its principal, best-supported claim is the highest observed WDR among all the evaluated methods, with competitive (though not uniformly superior) mIoU.
Table 5.
Architectural ablation results (5-epoch fine-tune from full MHAE checkpoint). ↓: removal degrades mIoU relative to the full MHAE (no TTA) reference. Bold values in the reference row denote the unablated baseline configuration used for comparison, not the best-performing row.
4.4. Per-Class Performance
Table 4 shows the per-class IoU results. Water achieves the highest IoU across all the deep learning models (94–97%), reflecting its spectral distinctiveness in the NIR band. Land follows (84–93%), with variability driven by heterogeneous riparian vegetation. Organic waste shows greater variation (47–69%), consistent with its variable composition and partial submersion. Inorganic waste is the most challenging class (6–75%), owing to extreme rarity, small item size, and spectral variability across polymer types. UNet++ achieves the highest inorganic waste IoU among all methods (75.24%) and the highest overall mIoU (83.37%), with U-Net a close second on both (73.45% and 83.09%, respectively). MHAE’s inorganic waste IoU (64.43%) and organic waste IoU (63.74%) are lower than these two baselines at the per-pixel level, but MHAE achieves this with markedly higher recall on inorganic waste (95.88%, Table 4) than either U-Net or UNet++, at the cost of lower precision (66.27%)—consistent with MHAE’s design priority of correctly flagging waste pixels (reflected in its leading WDR, Section 4) even at the expense of some exact-boundary segmentation accuracy.
4.5. Ablation Studies
Table 5 quantifies the contribution of each MHAE component via 5-epoch fine-tuning from the full checkpoint, using MHAE (no TTA) as the reference (Table 2), since the ablated configurations are themselves evaluated without TTA.
Backbone Attention is the most critical component: its removal causes the largest degradation (, ), demonstrating that learned per-backbone importance weighting is essential for effective multi-architecture fusion. Removing CSAF or the multi-scale pyramid produces similarly large mIoU degradations ( and , respectively), while removing the Consistency Loss produces the smallest degradation (), suggesting this component contributes the least to overall segmentation accuracy among those tested, even though it still reduces WDR by 15.5 percentage points, indicating it plays a more targeted role in rare-class recall than in aggregate pixel accuracy. Every ablated configuration shows a lower FAR than the full model (0.0040–0.0061 vs. 0.0090), consistent with the full MHAE architecture being tuned to prioritise WDR over FAR, as intended by its asymmetric loss design (Section 3).
4.6. Spectral-Input Ablation
To isolate the contribution of the five-band multispectral input, we conducted a channel-masking ablation on the trained MHAE checkpoint: for each configuration, the excluded bands were replaced with their training-split mean value (Section 3), the model was fine-tuned for 20 epochs at a reduced learning rate (consistent with the architectural ablation protocol above), and evaluated on the held-out test set with metrics computed directly from the confusion matrix (not subject to the aggregation issue discussed at Table 2). Table 6 reports the results.
Table 6.
Spectral-input ablation on MHAE (channel-masking, 20-epoch fine-tune from the full 5-band checkpoint per configuration). Excluded bands replaced with their training-split mean value. Bold: best per column. The reference row reports the MHAE checkpoint evaluated with test-time augmentation (TTA), consistent with the main +TTA headline result in Table 2; the no-TTA ablation reference in Table 5 uses a different evaluation protocol and is not directly comparable row-for-row.
Adding any fourth band to RGB substantially improves mIoU and WDR over the RGB-only baseline (+11–12 pp mIoU; +10 pp WDR), confirming that multispectral information beyond the visible range contributes materially to waste segmentation. Red edge and NIR contribute similar individual improvements over RGB alone (RGB + red edge: mIoU = 0.7926; RGB + NIR: mIoU = 0.7895), consistent with both bands capturing related vegetation-versus-synthetic-material contrast relevant to distinguishing organic from inorganic waste [14]. The full five-band configuration achieves the best performance on every metric reported (mIoU, WDR, FAR, and kappa), exceeding either four-band configuration by a further 2.6–4.3 pp mIoU, confirming that red edge and NIR provide complementary rather than redundant information and supporting the use of the full five-band configuration in the main experiments (Section 3 and Section 4).
5. Conclusions
5.1. Limitations and Future Work
Several important limitations must be acknowledged. Most importantly, this is a single-site, single-season benchmark (882 tiles sampled from one orthomosaic of the Brantas River at Tambak Wedi Water Gate, November 2025); with only one site and one acquisition campaign, we cannot yet quantify how MHAE’s performance would vary across sites, seasons, or annotators, and the reported metrics should be read as characterising this initial benchmark rather than as an estimate of general operational performance. For context, the WDR achieved here (86.76%) falls above the 75–85% detection accuracy range reported by earlier UAV-based studies on tropical or sub-tropical marine debris using RGB imagery and object-level detection [10,11], though the metrics are not directly comparable given the differing sensors, tasks (pixel-level segmentation vs. object detection), and study sites, and this comparison should be treated as indicative context rather than a controlled benchmark. Additional multi-season and multi-watershed acquisitions, ideally with independent annotation teams, are needed to evaluate generalisation and to place an uncertainty range around the reported metrics.
This limitation raises a broader question that has recently begun to receive quantitative treatment: how far a segmentation model trained on data from one river transfers to another. Saddi et al. [57] evaluated the cross-site transferability of image-based river plastic detection algorithms and found that small, deliberately mixed training sets drawn from several sites can outperform larger single-site training sets. This finding bears directly on the present limitation: it suggests that the most efficient route toward operational generalisation of MHAE may not be a larger single-campaign acquisition at Tambak Wedi, but rather a modest number of additional tiles from contrasting river systems (e.g., differing turbidity, discharge regime, and debris composition), combined with the existing BrantasRiverWaste-UAV tiles into a small mixed multi-site training set. This is a considerably more attainable near-term target than repeated multi-season campaigns at a single site, and the public release of BrantasRiverWaste-UAV with its fixed 616/133/133 tile-ID split is well placed to seed such a mixed-site dataset for future cross-river transferability studies.
The five-band spectral configuration does not include shortwave infrared (SWIR) information, needed for polymer-level discrimination. MHAE’s 127 M parameter count makes it suited to offline processing rather than real-time edge deployment, though knowledge distillation offers a path to lighter architectures. Future work should prioritise multi-season and multi-watershed dataset expansion, SWIR band integration, systematic cross-region transferability evaluation, and lightweight model optimisation for edge deployment.
5.2. Summary
This study introduced the Multi-Scale Hierarchical Attention Ensemble (MHAE) and the BrantasRiverWaste-UAV dataset as an initial, single-site benchmark for pixel-level mapping of riverine waste using five-band UAV multispectral imagery under tropical wet-season conditions. MHAE + TTA achieved the highest observed pixel-level waste detection rate (WDR = 86.76%) among all 12 architectures evaluated, exceeding the strongest baseline on this measure (U-Net: WDR = 85.42%) by 1.3 percentage points and UNet++ (WDR = 84.68%) by 2.1 percentage points; after Bonferroni correction for multiple comparisons, this advantage reached statistical significance relative to FCN-ResNet50 but not relative to the other nine baselines evaluated (Section 4). MHAE ranked third overall on mIoU (78.33%; behind UNet++ at 83.37% and U-Net at 83.09%), reflecting a design trade-off in which gradient capacity directed toward maximising recall on the rarest class (inorganic waste recall = 95.88%) comes at some cost to aggregate per-pixel segmentation accuracy, demonstrating that balanced sampling combined with asymmetric focal weighting can substantially improve waste-pixel detection under severe class imbalance, at a measurable trade-off against overall mIoU. The comparatively lower performance of SSM architectures under the standardised 100-epoch protocol highlights the need for architecture-specific training budgets in fair benchmark design.
Author Contributions
Conceptualization, Y.F.H. and D.S.C.; methodology, Y.F.H.; software, Y.F.H.; validation, Y.F.H., G.N. and V.K.; formal analysis, Y.F.H.; investigation, Y.F.H., B.S.W., I.S.A. and S.H.J.S.; resources, T.M.S., N.M., I.N.S., T.W.S.P., D.S. and D.S.C.; data curation, Y.F.H., W.S., B.S.W. and I.S.A.; writing (original draft preparation), Y.F.H.; writing (review and editing), G.N., V.K., W.S., T.M.S., N.M., N.B., B.S.W., I.S.A., S.H.J.S., I.N.S., T.W.S.P., D.S. and D.S.C.; visualization, Y.F.H.; supervision, D.S.C., N.M. and N.B.; project administration, D.S.C., I.N.S. and T.W.S.P.; funding acquisition, T.M.S., N.M., I.N.S., T.W.S.P. and D.S.C. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by LPDP–BRIN and KONEKSI Partnership Profiles Indonesia-Australia, through Universitas Negeri Malang (UM) PKS RIIM KONEKSI grant no. 74/IV/KS/05/2005 and 26.5.13/UN32.14/LT/2025, and by the Australian KONEKSI Collaborative Research Grant CRA Ref. No.: 1447/CRG/2025/62-UQ.
Institutional Review Board Statement
Not applicable. This study does not involve human or animal subjects. All data were collected via UAV remote sensing over public waterways in accordance with applicable Indonesian aviation regulations.
Informed Consent Statement
Not applicable.
Data Availability Statement
The BrantasRiverWaste-UAV dataset, including the fixed 616/133/133 train/validation/test tile-ID split, pixel-level annotation masks, and the data-usage licence, is publicly available from the Indonesian National Scientific Repository (RIN Dataverse) at https://hdl.handle.net/20.500.12690/RIN/S47FNW (accessed on 12 August 2026).
Acknowledgments
The authors thank the anonymous reviewers for their constructive remarks, which substantially improved this manuscript. The authors acknowledge the LPDP, BRIN, KONEKSI for the received funding of the KONEKSI-BRIN joint scheme Maximizing Sustainable Marine Biodiversity Utilization, the Research Center for Geoinformatics of BRIN and partner institutions for support of the field data acquisition. All computations were performed on NVIDIA RTX 3090 hardware at the Research Center for Geoinformatics, BRIN, Bogor, Indonesia. During the preparation of this work, the authors used Claude Sonnet 5 (Anthropic) and Grammarly (2026) in order to improve the language, grammar, and readability of the manuscript. After using this tool/service, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.
Conflicts of Interest
Ecoton Foundation provided in-kind support for field surveys at Tambak Wedi, facilitating community engagement and logistical coordination during data acquisition. Ecoton Foundation had no role in the study design, image annotation, model development, data analysis, interpretation of results, or the decision to publish. D.Sty. contributed to this work in her capacity as a researcher with domain expertise in riverine plastic pollution; her affiliation with Ecoton Foundation is declared for transparency. The authors declare no other conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| AGL | Above ground level |
| CBAM | Convolutional block attention module |
| CNN | Convolutional neural network |
| CSAF | Cross-scale attention fusion |
| DEM | Digital elevation model |
| DLS | Downwelling light sensor |
| FAR | False-alarm rate |
| FCN | Fully convolutional network |
| FDI | Floating Debris Index |
| FPN | Feature pyramid network |
| GSD | Ground sampling distance |
| HDF | Hierarchical decision fusion |
| MHAE | Multi-Scale Hierarchical Attention Ensemble |
| mIoU | Mean intersection-over-union |
| NIR | Near-infrared |
| PA | Pixel accuracy |
| RF | Random Forest |
| RTK | Real-time kinematic |
| SWA | Stochastic weight averaging |
| SSM | State-space model |
| SWIR | Shortwave infrared |
| TTA | Test-time augmentation |
| UAV | Unmanned aerial vehicle |
| WDR | Waste detection rate |
Appendix A. Implementation Details
Table A1 summarises the software environment, key hyperparameters, and data augmentation pipeline used in all experiments. Full backbone-layer configurations (Swin-UNet, VMUNet, UNet3+) follow the original architecture specifications cited in Section 3.4; key training hyperparameters are summarised in Table A1, and the CSAF/HDF sub-component structure is shown in Figure 5, Figure 6 and Figure 7.
Table A1.
Implementation details for all experiments.
Appendix B. Per-Class Precision, Recall, and F1 Score
Table A2 reports the per-class precision, recall, and F1 score (equivalently, Dice coefficient; Section 3) for all 13 methods, computed directly from each model’s confusion matrix, for comparability with prior work reporting these traditional classification metrics alongside the domain-specific WDR/FAR/mIoU measures used in the main text (Table 2).
Table A2.
Per-class precision (P), recall (R), and F1 score (%) on the 133-tile test set. F1 is numerically identical to the Dice coefficient reported elsewhere.
References
- Lebreton, L.C.; Van der Zwet, J.; Damsteeg, J.; Slat, B.; Andrady, A.; Reisser, J. River plastic emissions to the world’s oceans. Nat. Commun. 2017, 8, 15611. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Meijer, L.J.; van Emmerik, T.; van der Ent, R.; Schmidt, C.; Lebreton, L. More than 1000 rivers account for 80% of global riverine plastic emissions into the ocean. Sci. Adv. 2021, 7, eaaz5803. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jambeck, J.R.; Geyer, R.; Wilcox, C.; Siegler, T.R.; Perryman, M.; Andrady, A.; Narayan, R.; Law, K.L. Plastic waste inputs from land into the ocean. Science 2015, 347, 768–771. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Schmidt, C.; Krauth, T.; Wagner, S. Export of plastic debris by rivers into the sea. Environ. Sci. Technol. 2017, 51, 12246–12253. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Biermann, L.; Clewley, D.; Martinez-Vicente, V.; Topouzelis, K. Finding plastic patches in coastal waters using optical satellite data. Sci. Rep. 2020, 10, 5364. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Topouzelis, K.; Papakonstantinou, A.; Garaba, S.P. Detection of floating plastics from satellite and unmanned aerial systems (Plastic Litter Project 2018). Int. J. Appl. Earth Obs. Geoinf. 2019, 79, 175–183. [Google Scholar] [CrossRef] [Scilit]
- Kikaki, K.; Kakogeorgiou, I.; Mikeli, P.; Raitsos, D.E.; Karantzalos, K. Mitigation of the impact of clouds on satellite optical remote sensing of ocean plastic pollution. Remote Sens. Environ. 2022, 281, 113234. [Google Scholar] [CrossRef] [Scilit]
- Kikaki, K.; Kakogeorgiou, I.; Mikeli, P.; Raitsos, D.E.; Karantzalos, K. GISED: A novel method for detection and quantification of floating plastics from space. Remote Sens. 2020, 12, 2778. [Google Scholar] [CrossRef] [Scilit]
- Papageorgiou, D.; Topouzelis, K.; Suaria, G.; Aliani, S.; Corradi, P. Automatic detection of floating plastic marine litter using free satellite imagery. Mar. Pollut. Bull. 2022, 177, 113499. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wolf, M.; van den Berg, K.; Garaba, S.P.; Gnann, N.; Sattler, K.; Stahl, F.; Zielinski, O. Machine learning for aquatic plastic litter detection, classification and quantification (APLASTIC-Q). Environ. Res. Lett. 2020, 15, 114042. [Google Scholar] [CrossRef] [Scilit]
- Fallati, L.; Polidori, A.; Salvatore, C.; Saponari, L.; Savini, A.; Galli, P. Anthropogenic Marine Debris assessment with Unmanned Aerial Vehicle imagery and deep learning: A case study along the beaches of the Republic of Maldives. Sci. Total Environ. 2019, 693, 133581. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Van Lieshout, C.; van Oeveren, K.; van Emmerik, T.; Postma, E. Automated riverine litter monitoring using deep learning environmental monitoring systems. Earth Space Sci. 2020, 7, e2019EA000960. [Google Scholar] [CrossRef] [Scilit]
- Anderson, K.; Gaston, K.J. Lightweight unmanned aerial vehicles will revolutionize spatial ecology. Front. Ecol. Environ. 2013, 11, 138–146. [Google Scholar] [CrossRef] [Scilit]
- Garaba, S.P.; Dierssen, H.M. An airborne remote sensing case study of synthetic hydrocarbon detection using short wave infrared absorption features identified from marine-harvested macro- and microplastics. Remote Sens. Environ. 2018, 205, 224–235. [Google Scholar] [CrossRef] [Scilit]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional networks for biomedical image segmentation. In Proceedings MICCAI; Springer: Cham, Switzerland, 2015; pp. 234–241. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Z.; Rahman Siddiquee, M.M.; Tajbakhsh, N.; Liang, J. UNet++: A nested U-Net architecture for medical image segmentation. In Proceedings DLMIA; Springer: Berlin/Heidelberg, Germany, 2018; pp. 3–11. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cordova, M.R.; Purwiyanto, A.I.S.; Suteja, Y. Unprecedented plastic-made flotsam in the Java Sea. Mar. Pollut. Bull. 2019, 148, 48–52. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Purwiyanto, A.I.S.; Prartono, T.; Riani, E.; Naulita, Y.; Cordova, M.R.; Koropitan, A.F. Concentration and adsorption of Pb and Cu in microplastics: Case study in aquatic environment. Mar. Pollut. Bull. 2020, 158, 111380. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Alam, F.C.; Sembiring, E.; Muntalif, B.S.; Suendo, V. Microplastic distribution in surface water and sediment river around slum and industrial area (case study: Ciwalengke River, Majalaya district, Indonesia). Chemosphere 2019, 224, 637–645. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Themistocleous, K.; Papoutsa, C.; Michaelides, S.; Hadjimitsis, D. Detection of floating plastic marine debris using satellite and UAV multispectral imagery. Proc. SPIE 2020, 11524, 115240O. [Google Scholar] [CrossRef] [Scilit]
- Geraeds, M.; van Emmerik, T.; de Vries, R.; bin Ab Razak, M.S. Riverine plastic litter monitoring using Unmanned Aerial Vehicles (UAVs). Remote Sens. 2019, 11, 2045. [Google Scholar] [CrossRef] [Scilit]
- Xie, E.; Wang, W.; Yu, Z.; Anandkumar, A.; Alvarez, J.M.; Luo, P. SegFormer: Simple and efficient design for semantic segmentation with transformers. Adv. NeurIPS 2021, 34, 12077–12090. [Google Scholar]
- Ruan, J.; Xiang, S. VM-UNet: Vision Mamba UNet for medical image segmentation. arXiv 2024, arXiv:2402.02491. [Google Scholar]
- Cohen, J. A coefficient of agreement for nominal scales. Educ. Psychol. Meas. 1960, 20, 37–46. [Google Scholar] [CrossRef] [Scilit]
- Turner, D.; Lucieer, A.; Watson, C. An automated technique for generating georectified mosaics from ultra-high resolution UAV imagery, based on structure from motion point clouds. Remote Sens. 2012, 4, 1392–1410. [Google Scholar] [CrossRef] [Scilit]
- Roberts, D.R.; Bahn, V.; Ciuti, S.; Boyce, M.S.; Elith, J.; Guillera-Arroita, G.; Hauenstein, S.; Lahoz-Monfort, J.J.; Schröder, B.; Thuiller, W.; et al. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography 2017, 40, 913–929. [Google Scholar] [CrossRef] [Scilit]
- Zhao, H.; Shi, J.; Qi, X.; Wang, X.; Jia, J. Pyramid scene parsing network. In Proceedings IEEE CVPR; IEEE: Piscataway, NJ, USA, 2017; pp. 2881–2890. [Google Scholar] [CrossRef] [Scilit]
- Hansen, L.K.; Salamon, P. Neural network ensembles. IEEE Trans. PAMI 1990, 12, 993–1001. [Google Scholar] [CrossRef] [Scilit]
- Cao, H.; Wang, Y.; Chen, J.; Jiang, D.; Zhang, X.; Tian, Q.; Wang, M. Swin-UNet: UNet-like pure transformer for medical image segmentation. In Proceedings ECCVW; Springer: Cham, Switzerland, 2022; pp. 205–218. [Google Scholar] [CrossRef] [Scilit]
- Gu, A.; Dao, T. Mamba: Linear-time sequence modeling with selective state spaces. arXiv 2023, arXiv:2312.00752. [Google Scholar]
- Huang, H.; Lin, L.; Tong, R.; Hu, H.; Zhang, Q.; Iwamoto, Y.; Han, X.; Chen, Y.W.; Wu, J. UNet 3+: A full-scale connected UNet for medical image segmentation. IEEE Trans. Med. Imaging 2020, 39, 1856–1867. [Google Scholar] [CrossRef] [Scilit]
- Hu, J.; Shen, L.; Sun, G. Squeeze-and-excitation networks. In Proceedings IEEE/CVF CVPR; IEEE: Piscataway, NJ, USA, 2018; pp. 7132–7141. [Google Scholar] [CrossRef] [Scilit]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. Adv. NeurIPS 2017, 30, 5998–6008. [Google Scholar]
- Fu, J.; Liu, J.; Tian, H.; Li, Y.; Bao, Y.; Fang, Z.; Lu, H. Dual attention network for scene segmentation. In Proceedings IEEE/CVF CVPR; IEEE: Piscataway, NJ, USA, 2019; pp. 3146–3154. [Google Scholar] [CrossRef] [Scilit]
- Woo, S.; Park, J.; Lee, J.Y.; Kweon, I.S. CBAM: Convolutional block attention module. In Proceedings ECCV; Springer: Cham, Switzerland, 2018; pp. 3–19. [Google Scholar] [CrossRef] [Scilit]
- Hornik, K.; Stinchcombe, M.; White, H. Multilayer feedforward networks are universal approximators. Neural Netw. 1989, 2, 359–366. [Google Scholar] [CrossRef] [Scilit]
- Lin, T.Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature pyramid networks for object detection. In Proceedings IEEE CVPR; IEEE: Piscataway, NJ, USA, 2017; pp. 2117–2125. [Google Scholar] [CrossRef] [Scilit]
- Long, J.; Shelhamer, E.; Darrell, T. Fully convolutional networks for semantic segmentation. In Proceedings IEEE CVPR; IEEE: Piscataway, NJ, USA, 2015; pp. 3431–3440. [Google Scholar] [CrossRef] [Scilit]
- Hoeting, J.A.; Madigan, D.; Raftery, A.E.; Volinsky, C.T. Bayesian model averaging: A tutorial. Stat. Sci. 1999, 14, 382–401. [Google Scholar] [CrossRef] [Scilit]
- Tarboton, D.G. A new method for the determination of flow directions and upslope areas in grid digital elevation models. Water Resour. Res. 1997, 33, 309–319. [Google Scholar] [CrossRef] [Scilit]
- Lin, T.Y.; Goyal, P.; Girshick, R.; He, K.; Dollár, P. Focal loss for dense object detection. In Proceedings IEEE ICCV; IEEE: Piscataway, NJ, USA, 2017; pp. 2980–2988. [Google Scholar] [CrossRef] [Scilit]
- Berman, M.; Rannen Triki, A.; Blaschko, M.B. The Lovász-Softmax loss: A tractable surrogate for the optimization of the intersection-over-union measure in neural networks. In Proceedings IEEE CVPR; IEEE: Piscataway, NJ, USA, 2018; pp. 4413–4421. [Google Scholar] [CrossRef] [Scilit]
- Kervadec, H.; Bouchtiba, J.; Desrosiers, C.; Granger, E.; Dolz, J.; Ayed, I.B. Boundary loss for highly unbalanced segmentation. In Proceedings MIDL; PMLR: Cambridge, MA, USA, 2019; pp. 285–296. [Google Scholar]
- Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen, T.; Lin, Z.; Gimelshein, N.; Antiga, L.; et al. PyTorch: An imperative style, high-performance deep learning library. Adv. NeurIPS 2019, 32, 8026–8037. [Google Scholar]
- Loshchilov, I.; Hutter, F. Decoupled weight decay regularization. In Proceedings ICLR; Curran Associates, Inc.: Red Hook, NY, USA, 2019. [Google Scholar]
- Loshchilov, I.; Hutter, F. SGDR: Stochastic gradient descent with warm restarts. In Proceedings ICLR; Curran Associates, Inc.: Red Hook, NY, USA, 2017. [Google Scholar]
- Chen, L.C.; Papandreou, G.; Kokkinos, I.; Murphy, K.; Yuille, A.L. DeepLab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected CRFs. IEEE Trans. PAMI 2017, 40, 834–848. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, L.C.; Zhu, Y.; Papandreou, G.; Schroff, F.; Adam, H. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings ECCV; Springer: Cham, Switzerland, 2018; pp. 801–818. [Google Scholar] [CrossRef] [Scilit]
- Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16×16 words: Transformers for image recognition at scale. arXiv 2020, arXiv:2010.11929. [Google Scholar]
- Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin Transformer: Hierarchical vision transformer using shifted windows. In Proceedings IEEE/CVF ICCV; IEEE: Piscataway, NJ, USA, 2021; pp. 10012–10022. [Google Scholar] [CrossRef] [Scilit]
- Guo, M.; Lu, C.; Hou, Q.; Liu, Z.; Cheng, M.; Hu, S. SegNeXt: Rethinking convolutional attention design for semantic segmentation. Adv. NeurIPS 2022, 35, 1140–1156. [Google Scholar] [CrossRef] [Scilit]
- Wu, W.; Yang, Y.; Chen, C. LightM-UNet: Mamba assists in lightweight UNet for medical image segmentation. arXiv 2024, arXiv:2403.05246. [Google Scholar]
- Musgrave, K.; Belongie, S.; Lim, S.N. A metric learning reality check. In Proceedings ECCV; Springer: Cham, Switzerland, 2020; pp. 681–699. [Google Scholar] [CrossRef] [Scilit]
- Wilcoxon, F. Individual comparisons by ranking methods. Biom. Bull. 1945, 1, 80–83. [Google Scholar] [CrossRef] [Scilit]
- Cohen, J. Statistical Power Analysis for the Behavioral Sciences, 2nd ed.; Lawrence Erlbaum: Hillsdale, NJ, USA, 1988. [Google Scholar]
- Wang, G.; Li, W.; Aertsen, M.; Deprest, J.; Ourselin, S.; Vercauteren, T. Aleatoric uncertainty estimation with test-time augmentation for medical image segmentation with convolutional neural networks. Neurocomputing 2019, 338, 34–45. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Saddi, K.C.; van Emmerik, T.H.M.; Miglino, D.; Poggi, M.; Isgrò, F.; Tasseron, P.F.; Daniele, L.; Manfreda, S. Exploring the Transferability of Image-Based Algorithms for River Plastic Detection: The Value of Small Mixed Data Sets. Water Resour. Res. 2026, 62, e2025WR040605. [Google Scholar] [CrossRef] [Scilit]
- Buslaev, A.; Iglovikov, V.I.; Khvedchenya, E.; Parinov, A.; Druzhinin, M.; Kalinin, A.A. Albumentations: Fast and flexible image augmentations. Information 2020, 11, 125. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.










