Highlights
What are the main findings?
- CTP-DA improved cross-turbidity target–background ranking, while RG-OBS reduced expanded background responses after adaptation. Comparisons with conventional and learning-based detectors, together with matched internal interventions, characterized their complementary roles.
What are the implications of the main findings?
- Combining ordered adaptation with spatial response calibration offers a way to maintain target-specific detection without explicitly estimating water optical parameters.
Abstract
Detecting submerged objects becomes difficult when suspended particles alter spectral signatures and reduce target–background contrast. A detector trained in clear water can consequently lose discrimination and produce extensive background responses as turbidity increases. Here, we present a target-specific framework that couples progressive domain adaptation with object-level response calibration. A nonlinear unmixing autoencoder first learns the target representation from labeled clear-water observations. Cross-turbidity progressive domain adaptation (CTP-DA) then transfers model states, target prototypes, and prediction memory through ordered unlabeled domains. Risk-gated object-level background suppression (RG-OBS) subsequently limits background activation while protecting supported target regions. Across the L1–L5 target domains of the controlled brick-and-stone benchmark, the framework achieved an average precision of 0.9282. This exceeded the strongest external comparator evaluated here by 7.10 percentage points. Ablation experiments linked the ranking improvement to progressive adaptation and the reduction in background response to subsequent spatial calibration. Together, these findings support combining intermediate unlabeled domains with spatial target evidence to sustain underwater detection across controlled turbidity changes.
1. Introduction
Foreign objects such as bricks, stones, and construction debris can obstruct urban drainage pipelines. Conventional closed-circuit television inspection is sensitive to water conditions, illumination, and visibility [1]. Hyperspectral imaging provides spatial structure and narrow-band spectral responses that may distinguish submerged materials from their surroundings. Its feasibility in sewers has also been studied for non-contact pollution monitoring [2].
Turbid water changes more than overall brightness. Wavelength-dependent attenuation and distinct transmission and backscattering processes can alter spectral shape and target–background contrast [3]. Conventional detectors use target similarity, background statistics, or subspace structure. Examples include spectral angle mapper (SAM) [4], constrained energy minimization (CEM) [5], adaptive cosine estimator (ACE) [6], matched filter (MF) [7], and orthogonal subspace projection (OSP) [8]. Their performance can decline when the source target spectrum or estimated background no longer represents the turbid scene.
Underwater hyperspectral detection has addressed these changes through physical spectral models [9], target- and depth-constrained band selection [10,11], and joint depth estimation and detection [12]. TUTDF uses depth-dependent synthetic source domains to reduce synthetic-to-real mismatch [13]. Autoencoder-based unmixing connects reconstruction with abundance estimation [14]. UTD-Net incorporates target priors [15]; NUN-UTD adds prior-preserving and pseudo-mixture constraints with nonlinear decoding [16]. HUTDNet jointly estimates endmembers, abundances, and spectral features [17], whereas NCSS-Net combines target-prior unmixing, self-supervised band selection, and negative-correlation constraints [18]. These approaches motivate target-prior detection, but continual updating across an ordered turbidity sequence requires additional control of response drift.
Progressive domain adaptation decomposes a large shift into successive transitions using intermediate domains [19,20]. In related hyperspectral work, TASR updates target references at test time [21], ICLTD addresses multitemporal spectral variation through contrastive learning [22], and SPADA uses prototypes and stage-wise training for cross-scene classification [23]. SPADA may query target annotations in later stages, so its supervision differs from the present setting. Here, target-domain updating uses unlabeled cubes of the same physical entity, with all L1–L5 masks reserved for evaluation.
Representation adaptation alone does not constrain the extent of connected background responses. Spatial–spectral background suppression [24], adaptive background endmembers [25], and self-supervised background learning [26] address related interference. Recent underwater vision also examines joint image enhancement and captioning [27] and region-aware captioning with foundation-model-derived foreground and background information [28]. These image-to-text studies provide related context for degraded-image representation and regional perception. The present task instead produces target-specific pixel scores from hyperspectral cubes, without language supervision or caption generation.
We address these coupled difficulties by combining CTP-DA, which adapts target–background ranking across turbidity levels, with RG-OBS, which constrains spatial background activation after adaptation.
The main contributions of this study are as follows:
- We construct a controlled underwater hyperspectral cross-turbidity dataset. The primary cross-turbidity benchmark contains 78 hyperspectral cubes collected from 13 physical targets under six increasing relative turbidity levels, L0–L5. L0 is the labeled source domain, whereas L1–L5 are unlabeled target domains introduced in a prescribed order. Their masks are used only for offline evaluation after complete inference. Additional wooden-target and altered-illumination acquisitions extend the full evaluated inventory to 108 cubes across 18 condition-specific sequences (Section 4.6).
- We propose CTP-DA based on a target-prior nonlinear unmixing autoencoder. The method transfers model states, dynamic target prototypes, and unlabeled prediction memory along the prescribed turbidity order and progressively updates the continuous detection response using multi-evidence response fusion, high-confidence pseudo-anchors, and a teacher–student consistency constraint.
- We propose RG-OBS as a response-calibration module independent of cross-stage parameter updates. The module assesses background-response expansion risk from the area and connectivity of the continuous response and applies soft suppression with target-core and boundary protection using multiple sources of target support and candidate connected objects. When the risk is low or no reliable candidate object is obtained, the original CTP-DA response is retained.
2. Dataset Construction and Problem Formulation
2.1. Experimental Environment and Target Materials
We constructed a controlled scene resembling a drainage pipeline to examine how turbidity affects hyperspectral target detection. The acquisition system comprised a transparent acrylic tank, a halogen lamp, and a hyperspectral imager within a dark room enclosed by blackout curtains. The lamp illuminated the tank at approximately 45° to the horizontal plane. During push-broom acquisition, a linear translation stage moved the tank while the imager and lamp remained stationary. Maintaining the imaging geometry within each sequence allowed the turbidity gradient to be examined under comparable viewing conditions.
Six bricks and seven stones represented the solid foreign objects considered in this study. Each specimen was imaged individually on the tank bottom, with magnetic positioning maintaining its location across the six relative turbidity levels, L0–L5. The six cubes acquired for one physical target formed a paired cross-turbidity sequence. The resulting benchmark comprised 13 sequences and 78 hyperspectral cubes, allowing each target to be followed as water conditions changed.
The material evaluation also included three wooden specimens, branch1–branch3, each imaged through L0–L5 under the original illumination. Illumination variation was examined using brick1 alone. The lamp head was rotated 45° left (light1) or right (light2) relative to its original orientation, without moving the lamp mount, imager, or target. Each orientation remained fixed throughout L0–L5. All acquisitions followed the same acquisition and processing protocol. The evaluated inventory therefore comprised 16 physical targets, 18 condition-specific sequences, and 108 cubes. Primary comparisons and ablations used the 13-target benchmark; the material and illumination evaluations are reported in Section 4.6.
2.2. Turbidity Design and Data Acquisition
Kaolin was used to produce a repeatable gradient of particle-induced turbidity. Its weighed additions provided control over suspended scattering particles, avoiding the variable composition of natural sediment and the predominantly absorptive effect of ink.
The tank measured 60 × 20 cm and contained approximately 10 L of water at a depth of 8.5 cm. Successive kaolin additions generated clear-water L0 and five increasingly turbid conditions, L1–L5 (Table 1). These mass-defined levels describe the experimental gradient rather than calibrated turbidity units or the full composition of wastewater.
Table 1.
Relative L0–L5 turbidity levels, cumulative kaolin addition, and domain roles in the primary benchmark.
The water was stirred before each acquisition to reduce variation caused by particle settling. Figure 1 documents the resulting visibility changes with RGB reference photographs, which were not used as model inputs.
Figure 1.
RGB reference photographs of brick1 at relative turbidity levels L0–L5.
Spectronon Pro was used for focusing, white-panel signal checks, and acquisition control. Each push-broom scan recorded 1000 lines and was stored in BIL format with an associated HDR header.
The raw cubes contained pixels and 462 spectral bands spanning 388.31–1005.85 nm. Acquisition used a frame rate of 20 frames , an integration time of 49.0 ms, and a gain of 0 dB. Sample/Spectral/Line binning was set to 1/2/1 throughout the measurements.
2.3. Data Correction and Preprocessing
Radiometric correction combined dark-field subtraction with the imager calibration files to convert raw digital numbers into radiance. Each radiance cube was then normalized by the mean white-panel spectrum measured at the corresponding turbidity level. The resulting panel-referenced relative reflectance provided a common radiometric basis for comparing target responses across the sequence.
A common -pixel region was extracted from each -pixel cube, beginning at and . Keeping this window fixed across L0–L5 preserved the spatial correspondence required for sequence-level evaluation.
Pronounced noise at the spectral extremes motivated removal of the corresponding bands. We retained software-indexed bands 50–230, covering 452.83–692.14 nm, to obtain 181 consecutive spectral channels. Combined with the spatial crop, this selection yielded inputs for detection.
2.4. Dataset Annotation and Evaluation Protocol
Reference masks were delineated as polygonal regions on the clear-water L0 images in ENVI 5.6, where target outlines were most visible. Magnetic positioning and the fixed crop supported direct transfer of these masks to L1–L5, without additional registration or boundary redrawing. The selected object was labeled as target and all remaining pixels as background. This common geometric reference allowed changes in detection response to be evaluated as turbidity increased.
We assessed the spatial correspondence with a boundary-support diagnostic using Gaussian-smoothed Sobel gradients from 12 evenly sampled bands in L1–L2. Searching translations within pixels gave a median estimated displacement of 4.1 pixels across 26 target-level pairs; the 95th percentile was 10.9 pixels. Figure 2 illustrates brick4. These gradient-support shifts are not independently measured registration residuals and were not used to modify masks or fit the detector.
Figure 2.
L0 reference contours for brick4 across L0–L2: (a) source annotation at L0; (b) L0 reference contour transferred to L1; (c) L0 reference contour transferred to L2. Estimated boundary-support displacements at L1 and L2 were 3.2 and 5.1 pixels, respectively.
Target-domain masks were reserved for offline evaluation. Their transfer from L0 prevented target-label use during adaptation but did not provide independent target-domain annotations. Boundary metrics therefore quantify consistency with the transferred reference and remain subject to its spatial uncertainty.
2.5. Problem Formulation for Target Detection
Let denote a physical-target sequence, and let denote a relative turbidity level. The hyperspectral cube of sequence n at level l is defined as
where and . Each physical-target sequence has an independently fitted detector, with labeled clear-water L0 followed by unlabeled L1–L5 in cumulative-kaolin order. Pixels are not randomly divided into training, validation, and test sets.
L0 and its mask provide supervised training, target/background median spectra, target area, and the fixed 181-dimensional target prior. The prior initializes the target endmember and supplies prior-target similarity at each stage. L1–L5 masks enter only offline evaluation and visualization after the complete sequence; they do not enter losses, pseudo-anchor selection, model updates, response computation, or threshold selection.
The pixel-level continuous target response produced by the model in target domain l is defined over the range
Higher scores indicate stronger target support. Detection is binary and target-specific, using a prior spectrum; bricks and stones are evaluated as targets, rather than separate recognition classes.
3. Proposed Method
3.1. Overall Framework
Using the sequence notation in Section 2.5, let denote the L0 mask and r the fixed prior target spectrum. Figure 3 shows the detector architecture and progressive processing.
Figure 3.
Framework comprising (a) target-prior-guided nonlinear unmixing and labeled L0 source learning, (b) ordered unlabeled cross-turbidity progressive domain adaptation (CTP-DA), and (c) output-only risk-gated object-level background suppression (RG-OBS). Blue, green, and orange dashed outlines distinguish the three modules, respectively. Arrows indicate data flow and parameter updates as labeled. Target-domain masks are used only for offline evaluation.
As shown in Figure 3, the framework combines labeled L0 representation learning, ordered CTP-DA and output-only RG-OBS. Algorithm 1 summarizes the stage updates and conditional calibration. The final RG-OBS response is used for visualization and evaluation; later stages inherit student parameters, the prototype and uncalibrated response memory. Saved student snapshots also supply the frozen older teacher from L2 onward.
| Algorithm 1 Progressive adaptation and response calibration. |
| Input: labeled L0 cube and mask ; fixed prior r; ordered unlabeled cubes ; known stage/material metadata; fixed settings in Section 4.1. |
| Output: five stage-response maps . |
| Notation: abbreviate the uncalibrated response/confidence ; stores ; p is the prototype; denotes the undilated seed core associated with the selected candidate. |
|
| Operators and settings follow Section 3.3, Section 3.4 and Section 4.1. Output calibration leaves saved states unchanged. Target masks are used only after the complete sequence for evaluation. |
3.2. Target-Prior-Guided Nonlinear Unmixing Autoencoder
We use a target-prior-guided nonlinear unmixing autoencoder as the source detector, following the unmixing formulation in [14,16,29]. With candidate scene components and one target component, the encoder maps each pixel spectrum to an abundance vector with :
The fifth abundance channel provides the pixel-level target response. Encoder widths follow , with Leaky ReLU hidden activations and batch normalization, Softplus, and Softmax at the output. Softmax enforces nonnegative abundances that sum to one, preserving the unmixing interpretation.
The decoder retains an abundance interpretation by combining endmembers according to their estimated weights. A learned nonlinear residual supplements this mixture to represent spectral deviations that the linear combination alone cannot capture.
Vertex component analysis (VCA) extracts four candidate components from the complete L0 cube [30]. These components are not assumed to be pure background endmembers. Concatenating them with the target prior initializes the bias-free decoder, which reconstructs spectra through linear and nonlinear residual branches:
Here, E is trainable, whereas the reference spectrum r remains fixed throughout the sequence. Its initialized decoder column is updated at a smaller learning rate and remains nonnegative. The residual function uses widths , sigmoid activations after the first three linear layers, and a linear output.
L0 labels supervise the target-abundance channel, while spectral reconstruction and abundance regularization constrain the learned representation. The source objective is
Here, is class-balanced, smoothed binary cross-entropy, and is the source-domain mean-squared error (MSE) averaged over pixels and bands. For each pixel, the population variance is computed across its K abundance components. The abundance regularizer sums this variance-based penalty over N pixels:
The loss weights are , , and . Labels are smoothed to 0.95 and 0.05, with class weights and for equal positive and negative contributions. The resulting student parameters initialize adaptation. L0 also supplies target/background median spectra, the initial prototype , and the target area for the subsequent modules.
3.3. CTP-DA: Cross-Turbidity Progressive Domain Adaptation
CTP-DA adapts the detector along L0 → L1 L5 to accommodate changing spectral contrast and spatial responses. Each stage receives the current cube , preceding student parameters , target prototype , and response memory . Three evidence branches construct the stage response, which then guides pseudo-anchor selection and teacher–student updates (Figure 4).
Figure 4.
Cross-turbidity progressive domain adaptation (CTP-DA): (A) semantic abundance evidence; (B) bidirectional spectral contrast; and (C) background-context evidence. Blue, orange, and green distinguish the three evidence branches, respectively. Arrows indicate evidence flow through branch construction, reliability-weighted fusion, response-memory blending, and principal component analysis (PCA) graph propagation to produce .
Spatial intensity correction first addresses slowly varying brightness and scan-line fluctuations. Throughout this section, the robust normalization operator is
Here, and are image-wide percentiles, and abbreviates . If the percentile range degenerates, the image minimum and maximum replace its endpoints. The field estimator receives the log-band-mean image
The positive constant prevents a zero logarithm argument or denominator. The estimator fits a smoothed intensity field with total-variation regularization. Its background-fitting mask excludes the highest 8% of initial responses:
The field estimator is fitted on a bilinearly downsampled intensity image. Its estimated field is bilinearly upsampled to the original size before row-median residual compensation. This compensation gives the empirical field . Its clipped exponential defines a positive coefficient applied equally to all bands of each pixel:
On the corrected cube, the exponential moving average (EMA) teacher estimates target abundance and reconstruction residuals using the student’s architecture. Spectral-angle similarities to the fixed prior and current prototype are
Here, indexes adaptation rounds, with the preceding-stage prototype used on entry. These maps and the abundance response form the semantic evidence:
A second branch represents bidirectional target–background contrast. The current cube is standardized by its band-wise median and median absolute deviation (MAD), estimated from up to 100,000 uniformly strided pixels. Applying this scale to the L0 target/background median spectra gives and . The standardized pixel is projected along their discriminative direction:
Equation (17) normalizes the positive and negative projection directions separately before blending; it does not apply positive-part truncation. The negative-polarity weight is
The affinities and are mean cosine similarities to the L0 target median within the highest 1% of the respective directional responses. This weighting allows the preferred polarity to change with turbidity and current spectral evidence. The branch also includes standardized spectral magnitude:
The active contrast branch is evaluated on the original cube . Its counterpart on measures correction stability; semantic evidence instead uses .
Background context provides the third evidence source. Its six-channel feature tensor contains three PCA components: target abundance, prior similarity, and reconstruction residual. A context autoencoder learns masked-center reconstruction from low-response background patches. For each of the six feature channels, the local anomaly takes the absolute difference between and window means. These absolute differences are averaged across channels and then normalized by to obtain . It complements the learned reconstruction anomaly:
The context network uses patches and Smooth-L1 reconstruction of the masked center. It has convolutional widths , with GroupNorm and SiLU hidden transformations.
Before fusion, the semantic responses from the corrected and original cubes and both contrast responses undergo directional stripe removal. For a normalized map S, let and be its row- and column-median profiles minus their Gaussian-smoothed profiles. The operation is
The Gaussian width is 5 pixels; before fusion. In the following fusion definitions, branch maps denote these processed responses. Raw-cube semantic and corrected-cube contrast counterparts are denoted by and .
Reliability weighting determines how the three branches contribute at each pixel. For , response certainty is
Semantic internal agreement additionally compares the three normalized constituent maps :
The stability term compares responses before and after correction, or the learned and local context cues:
Historical memory stores the preceding uncalibrated response and confidence . Memory scores are normalized by when read. The temporal agreement is
Global quality factors use nonnegative response–memory correlations , response–stripe correlations , and mean map values, denoted by angle brackets. Correlations are Pearson correlations after robust scaling, evaluated on up to approximately 50,000 uniformly strided pixels; a degenerate map gives zero. The stripe map is the normalized mean absolute row/column high-frequency field of the three PCA channels. For the highest 5% response core, quality is the largest-component fraction minus the fraction of core pixels on the image edges. Semantic core reliability linearly maps this quality from [0.80,0.92] into [0,1], with clipping. The global factors are
Here, is the nonnegative correlation between learned and local context anomalies, and at L1. If semantic–contrast correlation is at most and their core qualities differ by at least 0.35, the lower-quality branch’s global factor is multiplied by 0.20. This veto limits strongly conflicting evidence. The implemented reliability and normalized fusion are
With the implemented context cap, , so the enabled context branch has . Its normalized weight still varies with the other branches. Context supplies floor-weighted auxiliary evidence and contributes to inter-branch disagreement; its raw reliability is not independently modulated under these presets.
The fused confidence uses response certainty , rather than the internal-agreement-adjusted , together with mean response and normalized disagreement:
At L1, no response memory is available and . From L2 onward, historical confidence, branch disagreement, and historical response certainty determine the memory weight:
The memory response then undergoes one four-neighbor graph-propagation step. Let denote the three normalized PCA features after row/column stripe removal, and their stripe map. For adjacent pixels, the edge weight is
The directional term is the mean absolute row-profile residual divided by each PCA channel’s standard deviation, averaged over channels, for horizontal edges; column profiles are used for vertical edges. Edges crossing the image boundary have zero weight. With self-weight 2, graph propagation is
Here, . The stripe diagnostic is the pixel-wise maximum of the PCA, semantic, contrast, and final-response stripe maps. Response stripe maps are the normalized absolute field removed in Equation (22). The final confidence passed to adaptation and memory is
For unlabeled adaptation, equal numbers of positive and negative pseudo-anchors are ranked using , , and confidence . Without history, their scores are
For L2–L5, temporal agreement is
Historical conflict reduces confidence when and :
Positive anchors are selected first; negative anchors exclude all selected positives. Each class uses its stage-dependent top-ranked fraction, with at least 512 pixels and at most half the image. Selected joint scores are clipped to [0.05,1] as supervision weights. The student starts from the preceding-stage parameters and minimizes
The first two terms are class-balanced, smoothed binary cross-entropy for weighted target pseudo-anchors and labeled L0 replay, respectively. The consistency terms are target-abundance MSE against the current teacher and the earlier-stage teacher; the latter is active from L2 onward. Proximity regularization averages squared parameter deviations from stage initialization. Unlike the pure source MSE in Section 3.2, the adaptation reconstruction term includes the implemented scale and source replay:
Here, and denote target-anchor and source-replay mini-batches; each MSE is averaged over spectra and bands. Thus, the effective MSE coefficients in the adaptation objective are 0.30 and 0.075, respectively. The source reconstruction coefficient remains 0.20.
After each student optimizer update, the teacher is updated by EMA without backpropagation [31]:
Prototype updating occurs once after each adaptation round. Let contain the highest 1% of pixels ranked by normalized response times confidence, with a minimum of 64 pixels. With unit denoting L2 normalization, the corrected-spectrum median gives
The current-domain prototype starts from , and its final value becomes for the next stage. The momenta are and . After three rounds, the final teacher and prototype recompute the stage response and confidence. Student parameters, the final prototype, and uncalibrated response memory pass to the next stage.
For core–halo output calibration at L4–L5, write and exclude its upper 3% from background estimation: , where is the spatial pth percentile. With denoting Gaussian smoothing of width 60 pixels and nearest-edge padding,
The candidate is accepted if its Pearson correlation with S, computed after robust scaling as above, is at least 0.98; its top-5% core quality decreases by at most 0.05; and its median upper-3%-versus-remaining-pixel gap retains at least 0.98 of the original gap. Quality is the largest-component fraction minus the image-edge fraction defined above; each map uses its own quantiles. Otherwise, S is retained. This output-only calibration leaves pseudo-anchors, prototypes, and transferred memory unchanged.
3.4. RG-OBS: Risk-Gated Object-Level Background Suppression
RG-OBS constrains connected background responses after adaptation. Its input is the accepted core–halo response at L4–L5, or the normalized uncalibrated response otherwise. Additional inputs are abundance , prior/prototype similarities , and L0 area . Risk diagnosis covers L1–L5; calibration leaves gradients and all states transferred to the next stage unchanged.
We first compute the pixel-percentile rank of each of the three target-support maps and take their pixel-wise maximum to form the integrated target support. This support and the rank of the RG-OBS input response jointly define the object-seed score:
This construction requires high-response regions to receive abundance or spectral-similarity support, rather than determining target objects from response amplitude alone. Background-response expansion risk is diagnosed using the area ratios of two high-response levels and the largest connected component at a low threshold. The low and high thresholds are used to identify potential large-area response expansion and to determine whether high-confidence background false responses are present, respectively.
In Equation (57), is the proportion of pixels whose input response exceeds threshold , and is the area of the largest connected component in the mask defined by the 0.2 threshold. The parameters and are the response-area thresholds at the two levels, and scales the connected-component risk threshold according to the labeled L0 target area . The risk gate determines whether RG-OBS enters object search or passes through its input response. The fixed risk values are , , and .
Under high risk, RG-OBS extracts connected cores at multiple high-percentile seed thresholds and performs connected growth, closing, and hole filling within a region jointly constrained by the response and target support. The score of each candidate object combines its regional response, seed strength, target spectral support, consistency with the source-domain object scale, and inner-versus-outer boundary contrast. It also penalizes area mismatch, anomalous expansion, and contact with the image boundary:
In Equation (59), and are the mean input response and mean seed score of the candidate region; is the regional target support; and quantify area consistency and inner-versus-outer boundary contrast, respectively; and summarizes the penalties for area mismatch, anomalous expansion, and boundary contact. The support is the average of the regional mean and 95th-percentile support. Within the allowed area interval, decreases from one according to absolute log area-ratio deviation, normalized by and clipped to [0,1]. Outside that interval, it is the clipped ratio of candidate area to minimum area, or maximum area to candidate area, respectively. The penalty weights are 0.65 for relative area violation, 0.30 for relative excess above the soft area cap, and 0.10 for image–border contact. Boundary contrast averages the inner-minus-outer mean differences of the input response and integrated target support within a five-pixel band. After candidate generation, overgrowth rejection, and core-preserving trimming, the highest-scoring candidate is retained. A final fallback returns the input response if no candidate is found or the selected area is below (Equation (61)).
Before SGR, undersized objects undergo support-guided growth, whereas oversized objects undergo core-preserving trimming; the source-relative lower/upper triggers are 0.75/4.0 for brick and 0.50/3.0 for stone, with both routes disabled for the generic preset.
For valid candidates at L4 and L5, RG-OBS further refines the object boundary using seeded graph refinement (SGR) based on PCA graph features, foreground/background seeds, and four-neighbor smoothing. If the refined area falls outside the allowed range, the SGR result is discarded and the original candidate is retained. SGR is therefore a conditional boundary-refinement procedure for highly turbid stages, rather than an independent detector.
The final object O defines Euclidean distance . The base distance weight is
To obtain the effective weight , use Equation (60) within support radius R, and outside. Let , V be the maximum normalized abundance/prior/prototype support, and its object mean. Outside O, cap weights at w where and . Raise weights to at least s on . Apply floor b on , the five-pixel outer square band satisfying . Here, denotes the spatial pth percentile. Brick, stone, and generic presets use , , and , respectively.
Set object weights to one, smooth with a 1.5-pixel Gaussian, and clip to . Reapply the exterior weak-support cap within pixels. The undergrowth-rescue route instead uses for this second cap and raises object weights to at least 0.92. Define protection set , using square dilation. For accepted SGR probability , set , . Replace weights by a on where ; elsewhere in O, take their maximum with a. On , take their maximum with . Without accepted SGR, retain exterior weights, and set object weights to one. Finally, set , and clip to [0,1]. The response is
Here, is far-field retention and the preset distance-decay scale. Algorithm 1 gives the execution order; Section 4.1 supplies R and .
Brick and stone presets were selected from known sequence metadata and fixed across levels and seeds. Wood used the generic preset; the additional brick illumination sequences used the brick preset. A small-stone area cap applied only when pixels. Inference used L0 area and unlabeled responses/support, never target-domain masks or coordinates.
4. Experiments and Results
4.1. Experimental Settings
L0 served as the labeled source, and L1–L5 formed the ordered unlabeled target domains. For each sequence, the target prior was obtained by averaging the 1296 spectra within a -pixel patch inside the L0 target region. The resulting 181-dimensional spectrum remained fixed throughout adaptation. Figure 5 shows representative inputs across the turbidity gradient.
Figure 5.
Representative L0–L5 inputs using fixed R/G/B bands at 649.3/549.5/470.0 nm and common display limits. Red boxes locate targets for visualization only.
The source model was trained with Adam using a learning rate of , weight decay of , and batch size 1024. The linear decoder used 0.1 times the current learning rate. Source training ran for 50 epochs, followed by 30 adaptation epochs at each target level, divided into three rounds of ten epochs. Adaptation used a learning rate of ; each epoch used at most 150 mini-batches, further limited by the selected-anchor loader length. Teacher and prototype momenta were 0.995 and 0.90, respectively.
The spatial-field estimator used a channel architecture on inputs. It was trained for 120 steps at a learning rate of , with TV weight 0.05, target-smoothing width 5 pixels, and row-residual smoothing width 1.5 pixels. The correction strength was , with coefficients clipped to [0.70,1.40]. The background-context network used 12,000 patches per epoch sampled from the lowest 70% of initial responses. It was trained for eight epochs with batch size 128 and learning rate . PCA used three components estimated from up to 50,000 sampled spectra. The per-class pseudo-anchor fractions for L1–L5 were 0.010, 0.0125, 0.015, 0.020, and 0.025, respectively.
RG-OBS searched seed percentiles 99.8, 99.7, 99.5, 99.3, and 99.0, retaining up to five seed components at each threshold. Allowable growth masks used percentiles 92, 90, 88, 85, 82, 80, 75, and 70; core dilation used a seven-pixel radius. The brick, stone, and generic presets used distance-decay scales/support radii of 25/32, 40/45, and 30/35 pixels, respectively. Their soft/hard area caps were 3.5/5.0, 4.0/6.0, and 4.0/6.0 times ; the small-stone branch used 3.0/4.5. The candidate-area utility used 0.35 as a reference bound, not a hard rejection threshold; areas below 0.25 triggered the final input-preserving fallback. Far-field retention was 0.08. Conditional SGR at L4–L5 used 24 iterations, a 35-pixel candidate radius, and foreground threshold 0.52. These presets were fixed across levels and seeds; no target-domain evaluation labels were used to select them.
Learning-based methods were evaluated with seeds 36–40. Within each seed, results were averaged equally over 13 targets and five target-domain levels, yielding 65 scenes. We report the mean and sample standard deviation across the five seed-wise averages. Level-wise results were first averaged over targets and then summarized across seeds. The five classical detectors produced deterministic responses; their ranking scores were computed once, whereas variation in source metrics reflected the five shared L0 calibration subsets.
4.2. Evaluation Metrics
Ranking was evaluated by the area under the receiver-operating-characteristic curve (AUROC) and average precision (AP). AP, also reported as AUPR in the ablations, was computed without trapezoidal interpolation:
Here, and denote precision and recall at successive distinct score thresholds. With TP, FP, TN, and FN denoting true/false positives/negatives, thresholded metrics were , , , and .
Boundary F1 combines boundary precision and recall with a two-pixel tolerance. It measures agreement with the transferred reference contours, rather than independently annotated target-domain boundaries. Mean background response is the average scene-normalized score outside the target mask and quantifies residual background activation.
To compare source-threshold transfer consistently, all methods used the same L0 calibration pixels for each target and seed: 180 target pixels and 180 background pixels. Each model’s threshold maximized F1 on these 360 source pixels, with ties resolved by choosing the highest threshold. Native saved responses were used without scene-wise min–max normalization. The shared protocol therefore standardized calibration pixels and the selection rule, rather than imposing one numerical threshold on all methods.
For Full and the other sequence systems, the source-model threshold was frozen along L1–L5; HUTDNet-based likewise retained its L0 model and threshold. DANN, TSDA, and SVHAE fitted a separate model for each target level. Each fitted model was evaluated on the same L0 calibration indices to obtain its own threshold, which was applied to the corresponding target level. Target-domain evaluation labels were not used to select these operating points. The calibration subset belonged to the source training domain and was not a held-out validation set.
The ablation and historical mask-perturbation analyses used full-L0 threshold selection after scene-wise normalization. The additional boundary checks used native scores and common L0 calibration subsets. Their operating-point F1 values are reported separately.
Adaptive F1 uses an unlabeled selector based on response strength, target support, L0 area consistency, and component plausibility. F1@0.4/0.6 applies fixed normalized-score thresholds. Oracle Best F1 is the offline maximum over target thresholds; Pd@FAR = 0.001 is the highest evaluated detection rate below the false-alarm limit. These last two are evaluation diagnostics, not deployment thresholds.
Paired analyses used 13 physical targets after averaging seeds and levels within each target. Exact two-sided signed-rank permutation tests enumerated all 8192 sign assignments, using average ranks for tied absolute differences. Holm correction covered ten comparators for AP and Source F1 (20 tests); pointwise 95% intervals used 20,000 paired target-bootstrap resamples. Full’s AP advantage over SVHAE was 0.0710 (95% CI 0.0302–0.1054; adjusted p = 0.0161), providing statistical support for the observed AP advantage under this protocol.
4.3. Comparative Experiments
The comparison retained the five conventional detectors SAM, CEM, ACE, MF, and OSP [4,5,6,7,8]; the nonlinear-unmixing baseline NUN-UTD [16]; and four additional learning methods. HUTDNet combines hyperspectral unmixing with target detection [17]. SVHAE uses a spectral-variability-aware hybrid autoencoder to model underwater spectral variation [32]. DANN learns domain-adapted features through adversarial training [33], while TSDA combines self-distillation and test-time adaptation in a two-stage framework [34]. Together with Full, these eleven systems cover conventional spectral detection, learned unmixing, and domain adaptation.
All methods were evaluated on the same cubes, spatial crops, transferred masks, and common L0 calibration subsets. SVHAE and HUTDNet-based, marked with an asterisk, were independently implemented for the present task. HUTDNet-based was trained using L0 supervision and applied directly to L1–L5 without target-domain adaptation. DANN and TSDA adapted independently from L0 to each target level, whereas Full inherited states along the ordered sequence. Architectures, supervision amounts, and training budgets were method-specific. These results compare the declared implementations rather than reproduce every method’s complete published protocol; the matched controls in Section 4.5 more directly examine adaptation routing and module contributions.
DANN used a spectral-network adaptation with batch size 256 for 20 epochs and 150 updates per epoch. TSDA was adapted from the authors’ code to binary detection with patches and 180 labeled L0 pixels per class. Its first stage used 50 epochs and batch size 32. Test-time adaptation performed one update in 223 tasks, two in 81, and none in 21; all 325 outcomes were retained.
SVHAE was fitted independently at each target level for 100 epochs with batch size 4096, using the L0 target prior, VCA initialization, and equal numbers of original and synthetic spectra. The independent implementation used convex-mixing coefficients sampled from and equally weighted KL, MSE, and spectral-angle reconstruction terms. HUTDNet-based was trained on L0 for 100 epochs with batch size 2048 and patches. It used BF16 training and FP32 evaluation before direct application to L1–L5. Initial learning rates were 0.01 for DANN, 0.1 for TSDA, and for both SVHAE and HUTDNet-based. DANN used 3000 joint updates/model; SVHAE and HUTDNet-based each used 31,300 updates per fitted model. Historical NUN-UTD budgets and Full optimizer totals were not fully recoverable. These are task-specific implementations with method-specific training budgets, rather than exact reproductions of the original training protocols.
Across the 65 target-domain scenes (Table 2), Full achieved AP = and AUROC = . Its AP exceeded the strongest external comparator, SVHAE, by 7.10 percentage points. MF was the strongest external comparator by aggregate AUROC (0.9601). These comparisons support an aggregate advantage under the evaluated conditions, rather than superiority for every target or level.
Table 2.
Overall ranking and operating-point results with shared L0 calibration on L1–L5. AP, average precision; AUROC, area under the receiver operating characteristic curve; FPR, false-positive rate.
Under shared L0 calibration, Full achieved Source F1 = 0.7750 ± 0.0236, precision = 0.8339 ± 0.0277, recall = 0.7942, FPR = 0.0286, and Boundary F1 = 0.2020. It had the highest mean Source F1 and Boundary F1 and the lowest mean FPR among the eleven methods. SVHAE obtained Source F1 = 0.2346 ± 0.0186 and FPR = 0.2192. TSDA combined recall = 0.9829 with FPR = 0.8954, illustrating that high recall alone did not establish accurate foreground separation. These common-calibration results complement the ranking measures; Table 3 further separates offline discrimination potential from source-threshold transfer.
Table 3.
Offline best-F1 and low-false-alarm detection diagnostics. Pd@FAR denotes detection probability at a specified false-alarm rate.
Full also led the aggregate offline diagnostics in Table 3, with Oracle Best F1 = 0.8906 and Pd@FAR = 0.001 of 0.6225. The difference between offline-best and source-calibrated F1 distinguishes ranking quality from operating-point transfer.
4.4. Detection Performance and Spatial Responses Across Turbidity Levels
Full led all eleven methods in mean AP, AUROC, Source F1, and Source Boundary F1 at L4–L5 (Figure 6). Its AP reached 0.9661 and 0.9491, exceeding SVHAE by 6.96 and 14.49 percentage points, respectively. Full led mean AP and AUROC from L2 to L5, whereas HUTDNet-based performed better at L1 (AP 0.8486 versus 0.8141).
Figure 6.
(a) AP and (b) AUROC across L1–L5. Each stochastic-method point is the mean of five seed-wise averages over 13 targets; error bars are sample standard deviations. MF is deterministic. Six representative methods are shown for readability; all eleven methods are included in Table 2. * Implementation definitions follow Table 2.
4.4.1. Qualitative Response Analysis
Figure 7 and Figure 8 compare five detectors on brick1 and stone4 (seed 36). Full retained a localized brick1 response as turbidity increased, whereas MF showed weaker contrast and NUN-UTD varied more across levels. Full fields of view are preserved; scene-wise response normalization shows relative spatial contrast, not probabilities calibrated across methods.
Figure 7.
Brick1 L1–L5 input/GT and responses of MF, NUN-UTD, SVHAE*, HUTDNet-based*, and Full (seed 36). RGB bands are 649.33/549.45/470.00 nm, with pooled display limits shared with Figure 8. Red contours are evaluation references; continuous responses use scene-wise min–max display only. GT (ground-truth reference) denotes the evaluation mask transferred from L0, without independent target-domain annotation. An asterisk marks an independent task-adapted implementation, as described in Section 4.3.
Figure 8.
Stone4 L1–L5 input/GT and responses of MF, NUN-UTD, SVHAE*, HUTDNet-based*, and Full (seed 36). The method selection, RGB bands, pooled input-display limits, and scene-wise min–max response display match Figure 7. GT (ground-truth reference) denotes the evaluation mask transferred from L0, without independent target-domain annotation. An asterisk marks an independent task-adapted implementation, as described in Section 4.3.
Full similarly retained the main stone4 response despite declining visibility, while comparator maps showed background expansion, striping, or weakened contrast. Visual darkness alone does not establish poor ranking: HUTDNet-based obtained AP = 0.9762 on brick1/L2 despite Source F1 = 0, illustrating imperfect source-threshold transfer.
Figure 9 separates ranking from source-threshold errors. On brick1/L5, SVHAE, CTP-DA-only, and Full had similar AP (0.965–0.967), but Full obtained Source F1 = 0.7483 while SVHAE missed the target at its source threshold. On stone1/L1, CTP-DA-only and Full both had AP and Source F1 , showing the dependence of calibration on upstream ranking. Section 4.5 isolates RG-OBS using matched inputs.
Figure 9.
Precision–recall (PR) curves and spatial errors for brick1/L5 and stone1/L1 (seed 36). Errors use native scores and common 180+180 L0 calibration. TN/TP/FP/FN denote true negatives, true positives, false positives, and false negatives. PR curves are case-specific. CTP-DA-only and Full are separately evaluated versions, not a matched-input RG-OBS estimate. An asterisk marks an independent task-adapted implementation, as described in Section 4.3.
4.4.2. Sensitivity to Transferred-Mask Perturbations
With detector response maps held fixed, the historical full-L0 normalized-score analysis yielded AP values of 0.8871–0.9401 under contour perturbations (Figure 10). At the largest nominal translation of 12 pixels, the least favorable directional mean advantages over MF were 0.0981 for AP and 0.3825 for Source F1. The corresponding pointwise 95% target-bootstrap intervals were above zero for both metrics, whereas the AUROC interval crossed zero.
Figure 10.
Mask perturbations against MF: contour erosion/dilation (a,b) and least favorable mean paired differences across eight translation directions (c,d). Shading/bars are 95% target-sequence bootstrap intervals. Only evaluation masks changed; original full-L0 calibration applies.
Additional native-score checks used common 180+180 L0 calibration. For disk-morphology contour offsets of −6, −4, −2, 0, +2, +4, and +6 pixels, Full Boundary F1 was 0.1370, 0.1631, 0.1895, 0.2020, 0.1964, 0.1776, and 0.1515, respectively, at two-pixel tolerance. With the unperturbed reference mask, square-neighborhood tolerances of 2, 5, and 10 pixels gave Full Boundary F1 of 0.2020, 0.3470, and 0.5010, respectively. Paired pointwise 95% intervals for Full minus each comparator (SVHAE and MF) remained above zero across the tested contour offsets and matching tolerances; absolute boundary scores remained reference-dependent.
4.5. Ablation Study
4.5.1. Ablation Protocol
We first compared five configurations to separate adaptation from output calibration (Table 4). Base AE applied the source-trained autoencoder directly to L1–L5. Adding CTP-DA introduced progressive adaptation and its conditional output-only core–halo calibration; adding RG-OBS alone calibrated the unadapted responses. Full combined the two modules. Direct-DA independently adapted the L0 model to each target level for 30 epochs, providing a same-backbone route comparison. All configurations used the same 13 target sequences, source priors, and seeds 36–40.
Table 4.
Overall contributions of CTP-DA, RG-OBS, and adaptation routing.
Internal CTP-DA interventions reran the full adaptation sequence and used a matched rerun default. In contrast, RG-OBS interventions and parameter scans reused identical frozen upstream responses, so their differences arose after response construction. Each comparison retained its corresponding full-L0 source threshold across L1–L5. Table 4 reports the original module-level runs, while Table 5 separates the matched internal comparisons.
Table 5.
Selected internal mechanisms and a matched-input calibration control.
4.5.2. Overall Module Contributions and Adaptation Routing
CTP-DA provided the principal module-level improvement (Table 4), raising AUPR from 0.4645 to 0.9103 and Adaptive F1 from 0.6039 to 0.8966. RG-OBS applied directly to Base AE reached only AUPR = 0.4761 and Adaptive F1 = 0.4589, so output calibration alone did not recover the adaptation benefit.
Full achieved the highest AUROC and AUPR among the five configurations (0.9773 and 0.9282). After RG-OBS, mean background response fell from 0.1927 to 0.0528; F1@0.4 and F1@0.6 rose to 0.8066 and 0.8354. Adaptive F1 decreased slightly from 0.8966 to 0.8932, indicating threshold-dependent calibration benefits.
At L5, CTP-DA achieved AUPR = 0.9339 versus 0.8225 for Direct-DA (Figure 11a,b), although the routes differed in cumulative adaptation budget. RG-OBS then reduced background response from 0.3140 to 0.0629 and increased F1@0.4 from 0.4131 to 0.7035 (Figure 11c,d), supporting complementary adaptation and calibration roles.
Figure 11.
CTP-DA versus Direct-DA across levels (a) and paired target-sequence AUPR differences (b); CTP-DA versus Full background response (c) and F1@0.4 (d). Bars in (a,c,d) are five-seed sample SD; (b) shows a 95% interval from 20,000 target-sequence bootstrap resamples. Gray shading marks L4–L5.
4.5.3. Selected Internal Mechanisms of CTP-DA
To examine the mechanisms within CTP-DA, we removed spatial memory, replaced reliability-weighted fusion with equal expert weights, froze the L0 prototype, or removed spectral contrast or background context (Table 5A). Equal weighting retained all evidence branches but changed their final combination; branch-removal variants renormalized the remaining experts. This design separates the contribution of evidence construction from the use of historical responses and reliability-dependent fusion.
Reliability-weighted fusion, spatial memory, and spectral contrast provided the clearest aggregate ranking contributions (Table 5A). Equal expert weighting reduced AUPR by approximately 10.2 percentage points; removing spatial memory and spectral contrast reduced it by 4.31 and 14.59 points, respectively. The latter two removals reduced L4–L5 AUPR by 10.29 and 27.77 percentage points, respectively (Figure 12a). These comparisons support reliability-aware evidence fusion, historical spatial responses, and spectral contrast within the tested progressive adaptation procedure.
Figure 12.
CTP-DA intervention losses (a), area-prior sensitivity (b,c), and risk-threshold sensitivity (d). Negative default-minus-variant values favor the variant. Error bars show five-seed sample SD; n counts changed gate decisions. Panel (a) reruns adaptation; (b–d) freeze upstream inputs and source thresholds.
The remaining intervention effects depended on the metric and target sequence. Equal weighting increased Source Boundary F1 from 0.1135 to 0.1418 but reduced Source F1 from 0.6517 to 0.4793, alongside the aggregate AUPR loss. Per-target averages over seeds and levels showed lower AUPR for all seven stone sequences after spectral-contrast removal, alongside small increases for the six brick sequences. Removing background context reduced L4–L5 Source F1 from 0.7062 to 0.6936 and Source Boundary F1 from 0.0946 to 0.0846. This supports its auxiliary contribution to thresholded spatial detection at high turbidity. Freezing the L0 prototype yielded AUPR of 0.9115, compared with 0.9103 for the default. The tested protocol therefore did not establish an independent aggregate ranking gain from prototype updating.
For brick1 and stone1 with seeds 36–38, 18 CTP-DA sequences before RG-OBS gave mean AP of 0.862157, 0.862322, and 0.862558 at replay weights 6.4, 8, and 9.6. Mean AP varied only slightly over this tested range; the maximum absolute scene/seed Source F1 difference from weight 8 was 0.13394, indicating less uniform operating-point stability.
4.5.4. Internal Analysis of RG-OBS
The matched-input identity control leaves the RG-OBS input unchanged, including any accepted core–halo calibration (Table 5B). Relative to this control, complete RG-OBS increased AUPR from 0.9103 to 0.9282 and reduced mean background response from 0.1927 to 0.0528. Source FPR decreased from 0.00665 to 0.00429, while Source F1 and Source Boundary F1 increased from 0.6517 to 0.6537 and from 0.1134 to 0.1173, respectively. With upstream prediction, normalization, and source thresholds shared, this comparison isolates the overall contribution of RG-OBS. Figure 13 illustrates its selective suppression and low-risk pass-through behavior across representative scenes.
Figure 13.
RG-OBS inputs, risk/candidate/protection states, and calibrated outputs (seed 36). L5_stone4/L5_brick5 show suppression; L1_stone7 shows pass-through. Shared response limits are [0,1]; gray/blue/yellow indicate risk pixels/selected objects/protected boundaries.
The gate controls conditional object search, while SGR refines supported candidates at L4–L5. Their interventions produced small, metric-dependent changes (Table 5), rather than uniform independent accuracy gains. Background context assisted in high-turbidity spatial detection, as shown in Section 4.5.3. Single-operation interventions do not establish equivalence after joint removal.
We also examined calibration sensitivity. Area-prior multipliers of 0.8–1.2 kept AUPR within 0.9278–0.9282 and Source F1 within 0.6535–0.6543 (Figure 12b,c). One-at-a-time ±20% risk-threshold perturbations changed zero to four of 325 gate decisions; the largest reported L1 AUPR loss was 1.07 points (Figure 12d). This indicates aggregate stability within the tested range, with local routing sensitivity.
4.6. Evaluation on Wooden Targets and Altered Illumination
We evaluated Full on the wooden targets and illumination conditions defined in Section 2.1 using the same configuration as the primary experiments. Each sequence started from its own labeled L0, target prior, and source threshold, followed by adaptation through L1–L5. Results were summarized over seeds 36–40 and analyzed separately from the 13-target benchmark. The wooden-target macro average weighted the three specimens equally.
4.6.1. Detection of Wooden Targets
Full maintained high ranking performance on all three wooden targets (Table 6), with macro-average AP = 0.9461, AUROC = 0.9931, and Source F1 = 0.7950. These results extend the tested materials under the same target-specific training and adaptation procedure.
Table 6.
Wooden-target results over L1–L5 and at L5.
Figure 14 shows responses concentrated around all three wooden targets, together with residual background and missed boundary pixels. These full-field examples complement the five-seed summaries in Table 6.
Figure 14.
Wooden-target AP and Source F1 across levels (a,b), with full-field L0/L5 inputs, L5 responses, and source-threshold errors for branch1–branch3 (c–e; seed 36). Curves show five-seed means ± sample SD. RGB bands are 649.33/549.45/470.00 nm. Red contours denote references; normalized response colors are for display only; errors use native scores and frozen L0 thresholds.
4.6.2. Evaluation Under Altered Illumination Directions
Brick1 maintained mean AP of 0.9927 and 0.9713 under left- and right-rotated illumination, respectively (Table 7). Figure 15 shows the retained target responses and remaining source-threshold errors. Each condition used its own newly acquired L0 source, supporting adaptation after a lighting change rather than frozen-detector invariance. The historical original-direction sequence is a reference, not a same-batch control.
Table 7.
Brick1 under historical and left/right 45° lamp-head orientations.
Figure 15.
Brick1 under original, left 45°, and right 45° lamp-head orientations. (a,b) AP and Source F1 across L1–L5, with five-seed means ± sample SD. Lower rows show full-field L5 inputs, relative responses, and source-threshold errors (seed 36). Each condition has its own L0 calibration; original-direction data are historical references. Red contours indicate the target reference boundaries used for evaluation. Display conventions follow Figure 14.
Source-threshold detection showed greater variability across seeds, with an L5 Source F1 of under left-rotated illumination (Table 7). The displayed seed 36 case yielded a Source F1 of 0.423 (Figure 15), illustrating the difference between individual examples and five-seed summaries.
Together, the wooden-target and brick1 illumination results extend the tested materials and lighting directions under target-specific training and adaptation. They do not establish zero-shot recognition or invariance to arbitrary environmental changes.
4.7. Error Propagation Under Early-Stage Pseudo-Anchor Perturbations
We examined early-error propagation on four physical-target sequences spanning brick and stone (brick1, brick2, stone1, and stone2) using seeds 36–40. In each L1 pseudo-anchor update round, 10% or 20% of the pseudo-anchor labels were randomly selected within each pseudo-anchor class and flipped. L2–L5 then followed the normal order, inheriting adapted states and response memory. Historical clean controls were paired by target, seed, and level. Evaluation used CTP-DA responses before RG-OBS, with target-domain labels reserved for offline assessment. Source F1 used a threshold calibrated on native L0 scores from the common subset of 180 target and 180 background pixels, without scene normalization; this threshold was fixed across L1–L5 and paired conditions. At each level, we calculated the clean-minus-perturbed metric difference as
where denotes AP, AUROC, or Source F1; positive differences indicate lower performance after perturbation.
Mean ranking differences did not show sustained growth across levels (Figure 16a). L1 AP gaps were 0.000937 and 0.002285 for 10% and 20% perturbations, respectively. Although signed differences fluctuated at intermediate levels, the magnitudes of their means remained below the L1 gaps and approached zero at L5, reaching −0.000015 and −0.000084. AUROC gaps likewise narrowed from 0.001877 and 0.005847 at L1 to absolute values below 0.00001 at L5. Terminal AP was 0.948449 ± 0.001130 for the clean control, 0.948464 ± 0.001126 for 10% perturbation, and 0.948533 ± 0.001105 for 20% perturbation. Initial effects varied across targets and seeds, with the largest mean L1 AP loss in stone2.
Figure 16.
Early-stage pseudo-anchor perturbation effects across turbidity levels. Clean-minus-perturbed differences in (a) AP and (b) Source F1 are shown for 10% and 20% L1 pseudo-anchor label perturbations. Points and error bars denote means ± sample SD across five seeds (36–40), after equal averaging over four targets within each seed. Differences are displayed in units of ; dashed horizontal lines mark zero. Responses precede RG-OBS.
Fixed-source-threshold detection retained small residual mean differences (Figure 16b). L5 Source F1 was 0.713350 ± 0.052657 for the clean control, 0.711056 ± 0.050983 for 10% perturbation, and 0.708383 ± 0.050397 for 20% perturbation, corresponding to mean reductions of 0.23 and 0.50 percentage points. Within these four target sequences and the tested 10% and 20% L1 perturbations, CTP-DA maintained terminal ranking performance close to the clean control, while small Source F1 differences persisted.
4.8. Computational Efficiency and Online Adaptation Cost
Computational costs were measured on an Intel Core i7-14700HX CPU and an NVIDIA RTX 4070 Laptop GPU. Profiling used brick1–brick3 and stone1–stone3 at L1, L3, and L5 (18 scenes; seed 37), with 800 × 800 × 181 inputs. Each case used one warm-up and three timed repetitions; neural inputs were FP32 with pixel or patch batches of 1024. Detection time covered a CPU-resident cube through to a CPU-resident continuous response map, including data transfers and response processing. Disk and model loading, iterative fitting or adaptation, metric calculation, and export were excluded; MF and CEM scene-statistic estimation remained within this boundary.
The profiling subset comprises two representative classical detectors, MF and CEM, and all six evaluated neural network implementations, including Full (Table 8A). All neural networks were timed with fitted or adapted states held fixed; TSDA test-time updates and Full’s adaptation and auxiliary-network fitting were excluded.
Table 8.
Computational costs under separately defined measurement scopes. (A) Original eighteen-scene post-fit detection benchmark. (B) Additional four-case resource checks for brick1 and stone1 at L1/L5, seed 37.
Table 8A places Full between the lightweight spectral models and HUTDNet-based or TSDA in network size and computation. Full required 30.49 ± 2.35 s per cube, approximately 36% less than TSDA, but longer than the other evaluated methods. Its peak allocated GPU memory was 176.05 MiB, the lowest among the evaluated neural network implementations under this configuration.
Online adaptation was measured separately over six complete L1–L5 sequences using seed 37. Across their 30 stages, adaptation, complete detection, and stage-output writing required 120.12 ± 38.71 s per stage (mean ± sample standard deviation). Mean sequence wall time, including sequence preparation and input/output, was 611.45 s (10.19 min), with a maximum allocated GPU memory of 186.17 MiB. These measurements excluded L0 source training and cannot be combined arithmetically with the detection times in Table 8A.
Four-case resource checks (Table 8B) used three warm-ups and three timed calls per case in each batch, with separate sampling and profiling. These checks are distinct from the eighteen-scene Table 8A benchmark. Dedicated profiles gave RG-OBS times of 9.86–15.58 s. Separate 90-stage CTP-DA diagnostics gave mean per-stage times of 44.36 s for response components and 41.61 s for adaptation-round training. These diagnostic timings use a different scope and are not an additive decomposition of Full’s 120.12 s/stage. Caching transforms and reducing redundant candidates are optimization directions. GPU-board energy excludes CPU/system consumption; embedded and real-time deployment remain untested.
5. Discussion
CTP-DA and RG-OBS address complementary problems: maintaining target–background ranking and suppressing spatial background expansion after adaptation. Reliability weighting, spatial memory, and spectral contrast provided the strongest internal ranking evidence. Matched-input controls support complete RG-OBS calibration without establishing that every auxiliary operation is individually necessary.
High AP can coexist with imperfect L0 threshold transfer and weak boundary responses. Boundary agreement also depends on transferred-mask uncertainty; the gradient-support shifts are not independent registration residuals. Mask perturbations assess reference sensitivity, while independent target annotations and held-out source calibration would strengthen operating-point validation.
The target-specific L0 reference limits unknown-target detection, which would require discovery or reference initialization. Area-prior and risk-threshold perturbations assess calibration uncertainty, rather than physical size, pose, or position changes. Confidence-guided scale updates remain a possible extension requiring target-preservation checks.
The prescribed L0–L5 order follows cumulative kaolin addition. The evidence is strongest for controlled, approximately fixed-geometry sequences with a clear-water reference; arbitrary dynamic or nonmonotonic domain transitions require further validation. Natural water, dynamic flow, camera motion, nonuniform illumination, and shared multi-object detection require further evaluation. Architectural and training-budget differences limit cross-system causal attribution; matched internal controls provide more direct module evidence. The implemented baselines do not exhaust recent underwater or source-free/continual methods. Early-error propagation and desktop costs are examined in Section 4.7 and Section 4.8; real-time and embedded deployment remain untested.
6. Conclusions
We developed a target-specific underwater hyperspectral detector that combines progressive domain adaptation with risk-gated background suppression. On the controlled cross-turbidity benchmark, the complete framework achieved AP = 0.9282 ± 0.0009 and common-L0 Source F1 = 0.7750 ± 0.0236. Controlled ablations linked these gains to complementary improvements in target–background ranking and spatial background calibration. Additional wooden-target and altered-illumination evaluations extended the tested material and lighting conditions, with each sequence using its own labeled L0 reference and target prior. The results support adapting through intermediate unlabeled domains while constraining the final response with reliable object evidence. Broader geometric variation, independent target-domain annotation, shared multi-target detection, and field deployment remain to be evaluated.
Author Contributions
Conceptualization, Y.Z. and F.Y.; methodology, Y.Z.; software, Y.Z.; validation, Y.Z., K.Y., W.S., X.L., and K.C.; formal analysis, Y.Z.; investigation, Y.Z., K.Y., and J.N.; resources, F.Y. and J.N.; data curation, Y.Z., X.L., and K.C.; writing—original draft preparation, Y.Z.; writing—review and editing, Y.Z., F.Y., K.Y., and J.N.; visualization, Y.Z. and W.S.; supervision, K.Y.; project administration, Y.Z. and F.Y.; funding acquisition, F.Y. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the National Natural Science Foundation of China (grant number 52427901).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The datasets presented in this article are not readily available because the data are part of an ongoing study and are being used for further research. Requests to access the datasets should be directed to the corresponding author.
Acknowledgments
The authors sincerely thank the team members who contributed to image acquisition, annotation, and experimental support. Their assistance was essential to the successful completion of this work. During the preparation of this manuscript, the authors used GPT-5.6 (OpenAI, San Francisco, CA, USA) to assist with language polishing and improve clarity of expression, and to provide preliminary suggestions for improving the clarity and presentation of the figures. The authors reviewed and edited the AI-assisted content, and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Nashat, M.; Zayed, T. A hybrid review of sewer inspection tools and automated CCTV image analysis techniques. Undergr. Space 2025, 25, 295–326. [Google Scholar] [CrossRef] [Scilit]
- Lechevallier, P.; Villez, K.; Felsheim, C.; Rieckermann, J. Towards non-contact pollution monitoring in sewers with hyperspectral imaging. Environ. Sci. Water Res. Technol. 2024, 10, 1160–1170. [Google Scholar] [CrossRef] [Scilit]
- Akkaynak, D.; Treibitz, T. A revised underwater image formation model. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–22 June 2018; pp. 6723–6732. [Google Scholar] [CrossRef] [Scilit]
- Kruse, F.A.; Lefkoff, A.B.; Boardman, J.W.; Heidebrecht, K.B.; Shapiro, A.T.; Barloon, P.J.; Goetz, A.F.H. The spectral image processing system (SIPS)—Interactive visualization and analysis of imaging spectrometer data. Remote Sens. Environ. 1993, 44, 145–163. [Google Scholar] [CrossRef] [Scilit]
- Chang, C.I.; Ren, H.; Chiang, S.S. Real-time processing algorithms for target detection and classification in hyperspectral imagery. IEEE Trans. Geosci. Remote Sens. 2001, 39, 760–768. [Google Scholar] [CrossRef] [Scilit]
- Kraut, S.; Scharf, L.L.; McWhorter, L.T. Adaptive subspace detectors. IEEE Trans. Signal Process. 2001, 49, 1–16. [Google Scholar] [CrossRef] [Scilit]
- Robey, F.C.; Fuhrmann, D.R.; Kelly, E.J.; Nitzberg, R. A CFAR adaptive matched filter detector. IEEE Trans. Aerosp. Electron. Syst. 1992, 28, 208–216. [Google Scholar] [CrossRef] [Scilit]
- Harsanyi, J.C.; Chang, C.I. Hyperspectral image classification and dimensionality reduction: An orthogonal subspace projection approach. IEEE Trans. Geosci. Remote Sens. 1994, 32, 779–785. [Google Scholar] [CrossRef] [Scilit]
- Jay, S.; Guillaume, M.; Blanc-Talon, J. Underwater target detection with hyperspectral data: Solutions for both known and unknown water quality. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2012, 5, 1213–1221. [Google Scholar] [CrossRef] [Scilit]
- Fu, X.; Shang, X.; Sun, X.; Yu, H.; Song, M.; Chang, C.I. Underwater hyperspectral target detection with band selection. Remote Sens. 2020, 12, 1056. [Google Scholar] [CrossRef] [Scilit]
- Qi, J.; Gong, Z.; Yao, A.; Liu, X.; Li, Y.; Zhang, Y.; Zhong, P. Bathymetric-based band selection method for hyperspectral underwater target detection. Remote Sens. 2021, 13, 3798. [Google Scholar] [CrossRef] [Scilit]
- Qi, J.; Wan, P.; Gong, Z.; Xue, W.; Yao, A.; Liu, X.; Zhong, P. A self-improving framework for joint depth estimation and underwater target detection from hyperspectral imagery. Remote Sens. 2021, 13, 1721. [Google Scholar] [CrossRef] [Scilit]
- Li, Z.; Li, J.; Zhang, P.; Zheng, L.; Shen, Y.; Li, Q.; Li, X.; Li, T. A transfer-based framework for underwater target detection from hyperspectral imagery. Remote Sens. 2023, 15, 1023. [Google Scholar] [CrossRef] [Scilit]
- Pálsson, B.; Sveinsson, J.R.; Úlfarsson, M.Ö. Blind hyperspectral unmixing using autoencoders: A critical comparison. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2022, 15, 1340–1372. [Google Scholar] [CrossRef] [Scilit]
- Qi, J.; Gong, Z.; Xue, W.; Liu, X.; Yao, A.; Zhong, P. An unmixing-based network for underwater target detection from hyperspectral imagery. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 14, 5470–5487. [Google Scholar] [CrossRef] [Scilit]
- Liu, J.; Qi, J.; Zhu, D.; Wen, H.; Jiang, H.; Zhong, P. Detecting nearshore underwater targets with hyperspectral nonlinear unmixing autoencoder. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5529615. [Google Scholar] [CrossRef] [Scilit]
- Li, Q.; Zu, X.; Zhang, M.; Li, J.; Feng, Y. HUTDNet: A joint unmixing and target detection network for underwater hyperspectral imagery. Int. J. Appl. Earth Obs. Geoinf. 2025, 136, 104374. [Google Scholar] [CrossRef] [Scilit]
- Liu, M.; Zhong, S. NCSS-Net: A negatively constrained network with self-supervised band selection for hyperspectral image underwater target detection. Remote Sens. 2026, 18, 418. [Google Scholar] [CrossRef] [Scilit]
- He, Y.; Wang, H.; Li, B.; Zhao, H. Gradual domain adaptation: Theory and algorithms. J. Mach. Learn. Res. 2024, 25, 1–40. Available online: https://jmlr.org/papers/v25/23-1180.html (accessed on 16 July 2026).
- Chen, H.Y.; Chao, W.L. Gradual domain adaptation without indexed intermediate domains. In Proceedings of the Advances in Neural Information Processing Systems; Ranzato, M., Beygelzimer, A., Dauphin, Y., Liang, P., Vaughan, J.W., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2021; Volume 34, pp. 8201–8214. Available online: https://proceedings.neurips.cc/paper/2021/hash/45017f6511f91be700fda3d118034994-Abstract.html (accessed on 16 July 2026).
- Gerster, R.; Stütz, P. Towards robust hyperspectral target detection via test-time spectrum adaptation. Remote Sens. 2025, 17, 2756. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Gao, K.; Wang, J.; Wang, P.; Hu, Z.; Yang, Z.; Zhao, X.; Li, W. Target detection adapting to spectral variability in multi-temporal hyperspectral images using implicit contrastive learning. Remote Sens. 2024, 16, 718. [Google Scholar] [CrossRef] [Scilit]
- Zhang, W.; Hu, R.; Wang, J.; Zhang, L.; Zhu, C. Spectral prototype attention domain adaptation for hyperspectral image classification. Remote Sens. 2025, 17, 3901. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Wang, L.; Wang, Q.; Vizziello, A.; Gamba, P. Hyperspectral target detection via global spatial–spectral attention network and background suppression. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2023, 16, 9011–9024. [Google Scholar] [CrossRef] [Scilit]
- Yang, L.; Song, X.; Bai, B.; Chen, Z. Adaptive background endmember extraction for hyperspectral subpixel object detection. Remote Sens. 2024, 16, 2245. [Google Scholar] [CrossRef] [Scilit]
- Ali, M.K.; Amin, B.; Maud, A.R.; Bhatti, F.A.; Sukhia, K.N.; Khurshid, K. Hyperspectral target detection using self-supervised background learning. Adv. Space Res. 2024, 74, 628–646. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; Li, L.; Wang, H.; Zhang, W.; Liu, J.; Ren, P. Joint underwater image enhancement and captioning through multisupervised chained task learning. IEEE Trans. Geosci. Remote Sens. 2026, 64, 4209622. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; Li, L.; Wang, H.; Zhang, W.; Ren, P. Large foundation model empowered region-aware underwater image captioning. Int. J. Comput. Vis. 2026, 134, 66. [Google Scholar] [CrossRef] [Scilit]
- Zhao, M.; Wang, M.; Chen, J.; Rahardja, S. Hyperspectral unmixing for additive nonlinear models with a 3-D-CNN autoencoder network. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5509415. [Google Scholar] [CrossRef] [Scilit]
- Nascimento, J.M.P.; Bioucas-Dias, J.M. Vertex component analysis: A fast algorithm to unmix hyperspectral data. IEEE Trans. Geosci. Remote Sens. 2005, 43, 898–910. [Google Scholar] [CrossRef] [Scilit]
- Tarvainen, A.; Valpola, H. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Proceedings of the Advances in Neural Information Processing Systems; Guyon, I., von Luxburg, U., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S.V.N., Garnett, R., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30, pp. 1195–1204. [Google Scholar]
- Aala, S.; Kumar Sikhakolli, S.; Chinnadurai, S.; Deshpande, A.; Elumalai, K.; Sarker, M.A.L.; Mostafa, H. SVHAE: Spectral variability-aware hybrid autoencoder for hyperspectral underwater target detection. IEEE Access 2025, 13, 129161–129171. [Google Scholar] [CrossRef] [Scilit]
- Ganin, Y.; Ustinova, E.; Ajakan, H.; Germain, P.; Larochelle, H.; Laviolette, F.; Marchand, M.; Lempitsky, V. Domain-adversarial training of neural networks. J. Mach. Learn. Res. 2016, 17, 1–35. Available online: https://www.jmlr.org/papers/v17/15-239.html (accessed on 17 October 2026).
- Fang, Z.; He, Y.; Li, Z.; Gong, X. Two-stage domain adaptation for hyperspectral image classification based on self-distillation and test-time adaptation. IEEE Geosci. Remote Sens. Lett. 2025, 22, 5504405. [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.















