Manuscript Offprint
arXiv:2610.25137HullProbe: Measuring Interventional Part Reliance in Maritime Vessel Classifiers
Abstract
Recognizing a vessel's type from an image supports maritime surveillance and sanctions monitoring, but a classifier can reach high accuracy by leaning on the generic hull instead of the more distinctive superstructure, and is then fooled when a vessel is re-hulled or occluded. De-biasing methods claim to remove such reliance, yet the field certifies them with worst-group accuracy, a proxy that needs group labels and only infers reliance from accuracy. We measure the reliance directly. HullProbe swaps a registered anatomical part of a vessel for another instance's and reads how much that part drives the decision, using a same-class swap to control for compositing artifacts. Because a surface vessel is a hull and a superstructure arranged along one axis, its parts form a grid whose swaps we evaluate exhaustively, and a single Walsh transform returns each part's interventional influence and its interaction spectrum. On planted shortcuts, where the true reliance is known, the measure tracks worst-group accuracy ( over 45 configurations), and replacing its learned segmenter with human annotations changes the hull-share by less than the audit's resolution. On the 26 vessel types of MARVEL, the classifier places about 46% of its corrected sensitivity on the generic hull yet follows the superstructure when the two conflict, and the group-label-free de-biasers available there do not detectably reduce the hull's share. The findings hold across three architectures and a second maritime dataset, and the method extends to fine-grained vehicle recognition on Stanford Cars.
1. Introduction
A ship’s type is defined mostly by its superstructure: the deck cranes of a bulk carrier, the stacked cells of a container ship, and the deck piping of a tanker distinguish types that otherwise share a broadly similar hull. A classifier can still reach high accuracy by leaning on hull cues that merely cor-

hull superstructure
fwd mid aft
hull-fwd hull-mid hull-aft
sup-fwd sup-mid sup-aft
Figure 1. Two orthogonal decompositions give a part grid. From a vessel (top-left), a learned segmenter splits it vertically into {hull, superstructure} (top-right) and its PCA pose axis splits it longitudinally into canonical {forward, mid, aft} thirds (bottom-left); their product is a grid of six anatomically defined cells (bottom-right, each named in its legend), each individually registrable and swappable for a donor's.
relate with type in the training data [15, 16, 63], rather than on the superstructure that determines it. Such a model is brittle where it matters, in maritime surveillance and sanctions monitoring, failing when a vessel is re-hulled or when its superstructure is occluded and only the hull remains. A substantial literature attacks this reliance on a spurious cue under group robustness and de-biasing: GroupDRO [47], JTT [32], LfF [37], DFR [27], and simple group balancing [67] all aim to reduce a classifier's dependence on a spurious feature.
The standard way to certify that these methods work is worst-group accuracy (WGA) [47], the accuracy on the minority group in which the shortcut does not hold,
© 2027 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
Table 1. Where HullProbe sits among approaches to measuring feature reliance (Sec. 2). Columns are the five properties discussed in Sec. 2; ● has it, ● partial, ○ lacks it, – not applicable. Exact = exhaustive over the 64-point intervention set, not sampled over subsets (the donor law is still estimated).
| Approach | Direct | Interventional | Plausible | Group-label-free | Exact |
|---|---|---|---|---|---|
| Worst-group accuracy [47] | ○ (proxy) | ○ | - | ○ | - |
| Gradient saliency (Grad-CAM [50]) | ○ | ○ | - | ● | - |
| Occlusion / removal (RISE [42], ROAR [24], SAGE [8]) | ● | ● | ○ | ● | ○ |
| Counterfactual / generative edits [6, 19, 48] | ● | ● | ● | ● | ○ |
| Functional decomposition (Shapley [35], Sobol [55]) | ● | ● | ○ | ● | ○ |
| HullProbe (ours) | ● | ● | ● | ● | ● (64) |
and the standard yardstick across group-robustness benchmarks [29, 65]. If it rises, the shortcut is declared broken. This proxy is indirect, inferring reduced reliance from improved accuracy on the hard cases even though the two need not coincide, since a model can raise minority accuracy by better calibration or memorization while its reliance is unchanged. Whether de-biasing reduces the reliance itself is, to our knowledge, not directly tested; measuring it cleanly is hard, since correlational attribution and off-manifold occlusion give no clean interventional reading and the standard benchmarks are synthetic (Sec. 2).
We contribute HullProbe, an evaluation method that estimates anatomical interventional sensitivity by performing an anatomically constrained part replacement on a real vessel and reading how much swapping one component moves a frozen classifier's decision. This sensitivity is easy to confuse with two other things, and we keep it apart from both. One is sufficiency [62], whether a part on its own sets the predicted class (Sec. 5.3); the other is spuriousness [16, 47], whether relying on the part is a genuine shortcut, which we can only establish for the controlled shortcuts (Sec. 4.2). On the natural task spuriousness stays open, and HullProbe reports where sensitivity lives, not whether it ought to be removed. The maritime domain makes this possible, because a surface vessel admits two orthogonal, exhaustive part decompositions that register into one canonical frame. A learned segmenter splits the vessel vertically into {hull, superstructure}; its long axis, found by principal component analysis of the vessel mask (its pose), splits it longitudinally into {forward, mid, aft}. Their product is a grid of six anatomical cells (Fig. 1). Replacing any cell with a donor vessel's registered cell produces an anatomically plausible ship; writing the replaced cells as a bit vector , the classifier's behavior over all 64 configurations is a function on a Boolean cube that we evaluate exhaustively. This recovers the decomposition of class evidence into single-cell effects and interactions as an exact functional ANOVA over the constructed cube (the donor expectation is estimated by Monte-Carlo, Sec. 3).
-
Validation. On planted shortcuts with known ground truth the measure tracks worst-group accuracy ( over 45 configurations, up to across shortcuts), and swapping its learned segmenter for human annotations moves the hull-share by only , CI (Sec. 4).
-
A finding about de-biasing. In controlled shortcuts, group-supervised methods (e.g. DFR) sharply reduce measured reliance; on natural MARVEL data, none of the tested group-label-free methods reduces relative hull-share beyond the audit's resolution (Secs. 4.2, 5.4). Sec. 4 validates the instrument before Sec. 5 applies it.
2. Related Work
Shortcut learning and spurious correlations. Networks preferentially exploit easy, spurious cues such as texture over shape [15] or background and geography over object [4, 63], and more broadly any feature correlated with the label in training [16, 53]; shedding such cues is a stated goal of causal representation learning [49]. Our target is one specific, physically meaningful instance, the reliance on the vessel hull rather than the class-defining superstructure.
Group robustness / de-biasing. Methods to reduce spurious reliance divide into two families. Group-supervised methods use the group labels: GroupDRO [47] optimizes worst-group loss, subsampling/reweighting [67] is a strong cheap baseline, and DFR [27] retrains only the last layer on group-balanced data. Group-free methods infer the hard cases: JTT [32] upweights the errors of an ERM model, LfF [37] trains against a deliberately biased model, and AFR [44] reweights features automatically; a paral-
HullProbe Overview

Figure 2. HullProbe overview. A recipient x and donor d are decomposed into a grid of six anatomical cells (hull/superstructure forward/mid/aft). The swap operator replaces any cell subset of the recipient with the donor's registered cells (here a full-hull swap, ), producing a plausible composite. Evaluating the frozen classifier f over all patterns turns its behavior into a function on the Boolean cube; one exact Walsh–Hadamard transform then yields the functional-ANOVA spectrum , the per-cell influence and its hull-share (46%), and the semantic- radius.
lel line enforces invariance across inferred environments or subclasses [2, 9, 56, 70], and others constrain where the model looks, through masking [59] or attribution priors [46]. All are evaluated by worst-group accuracy on a small set of benchmarks [29, 65], several of them (e.g. Waterbirds [47]) built by segment-and-composite, the construction our planted shortcuts (Sec. 4.2) share but use diagnostically. We do not propose a new such method; we give an interventional readout of what they do to part reliance, which the accuracy proxy only infers.
Counterfactual and interventional attribution. Interventional attribution changes a feature and measures the output change, in the interventional sense of [25, 41] and the counterfactual-invariance view of spurious correlations [60], unlike correlational saliency such as attribution maps (Grad-CAM [50], LIME [45], SmoothGrad [54], DeepLIFT [52]) and concept or unit probes [3, 7, 26], which can be unstable or fail sanity checks [1, 17]. Its recurring difficulty is getting a clean intervention, since masking or occlusion is off-manifold and confounded by covariate shift [14, 42], while generative counterfactual edits [6, 19, 48] are realistic but hard to localize to a single part. HullProbe avoids both, because its swaps stay plausible and target a named part while remaining artifact-controlled. Because the space is only 64 points, HullProbe evaluates it completely and recovers all interactions.
Functional decompositions. Shapley attribution [35] and functional ANOVA / Sobol indices [13, 39, 55] decompose a prediction into feature contributions and interactions but are estimated by sampling over exponentially many subsets. On our six-cell cube the decomposition is computed exactly through the Fourier–Walsh expansion, whose influences and low-degree concentration are standard objects in the analysis of Boolean functions [31, 38].
Region mixing and adversarial edits. CutMix [68], MixUp [69], and broader augmentation [10, 11, 23, 66] blend inputs as regularizers, which we audit rather than use. Adversarial perturbations [5, 18, 36, 40] are signal-level; our edit is a semantic, anatomically localized part swap used diagnostically.
Among these approaches (Table 1), HullProbe is alone in being at once direct, interventional, group-label-free, and exact over the constructed cube; the partial plausibility mark reflects that the composites, though anatomically plausible, are not photorealistic and not shown to lie on the natural-image manifold.
3. Methodology
HullProbe measures how much a frozen classifier’s decision depends on each anatomical part, without modifying it (Fig. 2).
3.1. Two decompositions and the part grid
The vessel silhouette is the boat/ship mask of an ADE20K-pretrained SegFormer-B2 [64, 72], used zero-shot. To split it, we fine-tune the same model on 1,014 vessels whose hull/superstructure boundary an annotator placed (App. K; a promptable or instance segmenter [22, 28] is an alternative), reaching mean hull/superstructure IoU 0.756 on held-out vessels, and apply it to all 34,768 vessels of MARVEL [20] recipient Tankers
hull <- Container Ship (cross)
hull <- same class (control)

recipient Bulk Carrier
hull <- Carrier_Floating (cross)
hull <- same class (control)
recipient Container Ship
hull <- Vehicles Carrier (cross)
hull <- same class (control)
Figure 3. Operator and control. For a recipient (left), a cross-class hull swap (middle) changes the hull's class while keeping the superstructure; the same-class swap (right) carries the identical seams/inpainting but preserves the label, and is the artifact control subtracted in Eq. (7). Both are anatomically plausible vessels, though not photorealistic.
subset B. Inside the silhouette, the hull is everything the segmenter does not label superstructure, so the two are touching and jointly complete. Principal component analysis of the vessel mask gives its long axis, which we call the pose; splitting along it partitions the vessel longitudinally into forward / mid / aft thirds. The product is the cell set , which exactly partitions the vessel (Fig. 1).
3.2. Registered anatomical cell intervention
Recipient (true label ) and donor are registered into a common canonical frame by a similarity transform (derotate by pose, normalize length, and align the deck). For a subset ( if cell is taken from the donor, 0 if kept), we fit each swapped donor cell to the recipient's cell (canonical affine on longitudinal extent, area, centroid) and stencil it to the recipient's exact cell support. The silhouette is then the recipient's, with no overhang or holes; retained cells stay pixel-exact, and any residual is inpainted (full mechanics in App. K). Denote the result : is the original and a full hull swap. Cross-class donors are chosen by aspect-ratio compatibility, isolating a class change under matched shape; the output remains a plausible vessel.
3.3. Class evidence on the cube: effects and interactions
We first summarize how the frozen classifier behaves across swap patterns. For a fixed recipient, and to separate the effect of which cells are swapped from which donor supplies them, we average over a donor law ,
the rate at which still predicts under swap pattern ; by construction takes values in . Because has only 64 values, is evaluated everywhere.
Two readouts follow directly from g, without any transform. The main effect of cell p is the average drop in class evidence from toggling that cell, marginalizing the other five:
where denotes the other five bits. A large means swapping cell p reliably destroys the correct decision. The pairwise interaction of cells p, q is the extent to which their joint effect departs from additivity,
with shorthand for at , (others fixed).
These two readouts are the degree-1 and degree-2 components of : up to a constant they are its first- and second-order Fourier–Walsh coefficients , ; App. J). Since is defined on all 64 configurations, summing their squared magnitudes by order is an exact functional ANOVA: splits with no residual into a degree-1 part from the , a degree-2 part from the , and higher orders, via the orthonormal parity (Fourier–Walsh) basis [31, 38]. We write for the fraction at order , so and are exactly the energy of the main effects and pairwise interactions above; concentration at low means the response function is largely additive over cells, so a per-cell attribution captures most of its structure. We report this spectrum (Fig. 5a) and defer the mechanics to App. J.
3.4. Influence and hull-share
For the decision itself we use the hard counterpart of the soft main effect . For a donor , let be +1 iff predicts on . The influence of cell is the probability that toggling it flips the decision, averaged over the donor law ,
where flips bit . Equivalently , the fraction of 's energy routed through coordinate p (App. J). Our summary statistic is the share of total influence carried by the three hull cells,
what fraction of the model’s interventional sensitivity lives in the generic hull. The raw hull-share, formed from the influences , lies in ; every reported value is the corrected hull-share, formed from the artifact-corrected (Eq. (7)). As a difference of two influences can be marginally negative for a class-agnostic cell (e.g. car wheels, App. H), so the corrected share is not strictly bounded, though in practice it stays well inside .
3.5. Semantic- radius
The worst-case counterpart to average influence is the fewest cells whose swap flips the class with some realistic donor,
an anatomically constrained, semantic analogue of the adversarial radius [40, 57] and of worst-case robustness to interventions [61] ( is the indicator of S). It is computed over all 63 non-empty subsets against a fixed donor bank, so it is exact only relative to that bank.
3.6. Artifact control
Because each swap stencils only the donor’s cell texture onto the recipient’s exact cell support, the recipient’s background, water, and scale are retained (scale is normalized when the vessel is fit into the canonical frame), so those cues are not donor-injected. What remains is the donor cell’s class-identifying appearance, which is the intended signal, plus compositing artifacts that confound the estimator of Eqs. (4)–(6), since seams and inpainting can flip predictions independently of the donor cell’s class. We adjust for this with a control condition (Fig. 3), the identical swap using a same-class donor, which preserves the label but carries the same artifacts. Writing (cross-class) and (same-class), the artifact-corrected influence is
If the artifact effect is class-independent (same compositor and registration, so same- and cross-class artifact severities are comparable), Eq. (7) is a paired subtraction that adjusts for it. It is an artifact-adjusted estimate under that assumption, not a guaranteed cancellation: estimates the classifier's interventional sensitivity to a part's class-identifying appearance, not a model-free causal contribution of the part. The convergent validity of Sec. 4.2 uses the raw flip rate and does not depend on the assumption, which Sec. 4.3 probes directly. The same-class floor is large (Sec. 5.1), so the control is necessary.
3.7. Estimation and cost
We estimate by Monte-Carlo over cross-class donors and same-class controls per recipient (App. M); the forward passes per recipient are shared across audited classifiers, as composites are model-independent. The transform is a 64-point Walsh–Hadamard product. We aggregate per-recipient quantities with paired bootstrap and, for the de-biasing audit, across-seed mean±std.
4. Validating HullProbe
Before applying HullProbe we test it as an instrument: does it recover reliance where the truth is known by construction (Sec. 4.2), and how far do its own choices move the number (Sec. 4.3)?
4.1. Setup
Data. MARVEL [20] subset B, 26 vessel types (other maritime sets are smaller-vocabulary or detection-oriented [43, 51, 71]). Recipients and donors are drawn from the held-out test split, disjoint from any training donor. Each analysis draws a class-balanced recipient sample, scored over K cross-class donors and same-class controls; we state each population.
Classifiers. The controlled-shortcut studies fine-tune ResNet-50 [21] models (three seeds) under five de-biasers, from ERM to the group-supervised GroupDRO [47] and DFR [27]. The natural-task analyses use a ConvNeXt-Tiny [34] at 77.6% test accuracy, and the de-biasing audit compares seven ConvNeXt-Tiny models under a matched protocol (three seeds each): ERM, CutMix, hull-randomization, background-swap, JTT [32], LfF [37], and AFR [44] (App. L).
4.2. Convergent validity on planted shortcuts
On natural data the true reliance is unknown and worst-group accuracy cannot be computed, so we validate where both are fixed by construction. We plant a shortcut in a known location, the hull, make ERM learn it through a 90% train-time correlation with a binary label whose true cue is the superstructure (balanced at test), and remove it to graded degrees with five de-biasers, from none (ERM) to group-supervised (DFR). We therefore know where the shortcut is, that ERM uses it, and which methods target it, and we validate at two levels.
For the measurement principle, we tint the hull region red or blue. The recolor-flip rate (fraction of correct images whose prediction flips when the hull is recolored) tracks worst-group accuracy at pooled across five debiasers and three recolor shortcuts (35 configs; Fig. 4a, Table 2). A watermark too small to be learned serves as a known null, and the measure correctly reads near zero for it.
(a) principle: appearance recolor

(b) operator: anatomical part-graft
Figure 4. Convergent validity on planted shortcuts (Sec. 4.2). Interventional reliance vs. worst-group accuracy, colored by shortcut. (a) The measurement principle: three appearance recolors (hull color, background, watermark) track WGA (pooled , 35 configs). (b) The part-swap operator itself: three anatomical hull-grafts are planted and measured with the real 6-cell swap, tracking WGA across 45 configs (3 shortcuts seeds de-biasers; pooled ). Each point is one de-biaser×seed; the dashed line is the least-squares fit.
For the operator itself, we plant the shortcut with the actual 6-cell swap, grafting a fixed donor hull correlated 0.9 with the label, so hull appearance is the spurious attribute and the seam is identical on both sides. The hull-swap flip rate tracks worst-group accuracy at pooled (45 configs; Fig. 4b), ERM leaning on the graft and DFR removing it. The correlation survives the nested design (cluster bootstrap over training runs, 95% CI [-0.964, -0.916]; leave-one-shortcut-out and Spearman both ; App. C). A swap to a third, never-seen donor hull falls in step (ERM 0.23 to DFR 0.12; with the graft measure), so the operator reads hull reliance, not memory of the planted donor. Where the planted strength is graded (cars, Sec. 5.5), ERM's measured reliance follows it (0.82/0.30/0.05 for strong/medium/weak).
This establishes that HullProbe orders and resolves known reliance correctly, not that it is a ground truth on natural data, where cues are messier than planted ones. The measure is interventional by construction, reading the decision change under a part replacement; agreement with worst-group accuracy is convergent evidence for it, not its definition.
4.3. Robustness to segmentation, donors, and artifacts
Segmentation. The learned component is the hull/superstructure boundary, so we repeat the audit on the 202 annotated vessels the segmenter never trained on, with its predicted maps and with the annotations, holding recipients, donors (drawn from the same set), silhouette, and classifier fixed (App. A). The segmenter disagrees with the annotation on 7% of vessel pixels (hull/superstructure IoU 0.86/0.85), yet swapping in the annotations changes the cor- rected hull-share by only -0.009 [-0.041, 0.023] (n=194; 0.49 vs. 0.48), every per-cell influence by under 0.01, and the spectrum not at all. These vessels are mostly from MAR-VEL's training split, so we compare the arms, not the level: the segmenter's actual errors move the hull-share by less than the audit's ~0.04 resolution. The ±3px test (App. Table 5) is a harsher, systematic perturbation that shifts every boundary one way, unlike the nearly unbiased segmenter (superstructure fraction 0.48 vs. 0.49 annotated); it moves the hull-share by -0.05 (dilation) and +0.10 (erosion, which also strips thin masts).
Table 2. Replication across six planted shortcuts (Sec. 4.2). Interventional reliance (flip rate) for the untreated ERM model and the best de-biaser (DFR), and the correlation between worst-group accuracy and reliance across all de-biaser×seed configurations. Appearance shortcuts validate the measurement principle; anatomical shortcuts validate the swap operator itself (plant and measure both use the real 6-cell hull graft, listed by the two donor hulls). Watermark is a known null (no shortcut learned ⇒ near-zero measured reliance; its correlation, taken over that near-constant range, is not informative).
| shortcut | ERM ↓ | DFR ↓ | corr(WGA, rel.) |
|---|---|---|---|
| appearance recolor (validates the principle) | |||
| hull color | 0.39 | 0.12 | -0.966 |
| background | 0.43 | 0.14 | -0.904 |
| watermark | 0.08 | 0.02 | -0.891 |
| anatomical part-swap (validates the operator) | |||
| Veh-Carrier / Ro-ro | 0.58 | 0.09 | -0.945 |
| Container / Wood-Chips | 0.59 | 0.15 | -0.964 |
| Fishing / Yacht | 0.52 | 0.13 | -0.928 |
Donors and artifacts. On a fixed 61-recipient subsam-

(a) interaction degree
(b) semantic-
Figure 5. Nearly additive anatomy and single-swap fragility. (a) Variance by interaction degree: of behavior is single-cell main effects and 0.80 is degree , so per-cell attribution captures most of the decision (per-cell influence in App. Table 8). (b) Semantic- distribution: the fewest realistic part swaps that flip the class; of vessels flip on one swap (), the rest need , and never flip within the six cells.
ple, donor count and selection leave the corrected hull-share at 0.50–0.52 ( , compatible or random donors). The random-donor row also tests the artifact correction: shape-mismatched donors make worse composites and raise the same-class floor, yet leave the corrected value unchanged, as the class-independence assumption predicts.
5. What HullProbe Reveals
We now apply the instrument to the natural MARVEL task: where the ConvNeXt-Tiny's sensitivity lives (Secs. 5.1–5.2), whether it sets the class (Sec. 5.3), whether de-biasing changes it (Sec. 5.4), and whether the picture generalizes (Sec. 5.5). Brackets are 95% bootstrap intervals.
5.1. Hull vs. superstructure
Swapping a full component (400 pairs) shows the average roles. Replacing the superstructure moves the correct-class probability by [0.201, 0.303], while a donor's hull transfers its class only weakly ( [0.053, 0.114]); keeping the superstructure retains the class of the time vs. for the hull alone. The exhaustive cube () refines this. Per-cell influence (App. Table 8) peaks at superstructure-mid but is non-trivial everywhere, and summed by component the artifact-corrected sensitivity is superstructure and hull (hull-share 0.46 [0.41, 0.52]). We read this as a directional split, not a precise allocation, given the interval. The same-class control matters: raw cross-class influence (mean 0.18 over cells) is three times the corrected value (0.06), so about two-thirds of naive "part importance" is generic within-class appearance change and compositing.
5.2. Nearly additive anatomy and single-swap fragility
The interaction spectrum (Fig. 5a) is concentrated at low order: main effects hold [0.60, 0.66] of the con- Table 3. De-biasing audit (3 seeds, mean±std). Hull-share is the balance axis; is the paired change vs. ERM (positive = more hull-reliant); Pr[r=1] is the concentration axis. No method reduces hull-share; CutMix trades concentration for unchanged balance; bg-swap worsens both. *: . Each is averaged per seed over the recipients both that method and ERM classify correctly, so it is a tighter paired estimate and need not equal the difference of the two pooled hull-share columns (which use each method's own recipient pool).
| method | hull-share | Δ vs ERM | Pr[r=1] |
|---|---|---|---|
| ERM | 0.394±.003 | — | 0.513 |
| CutMix | 0.396±.011 | +0.002±.018 | 0.420 |
| hull-rand. | 0.408±.011 | +0.012±.008 | 0.548 |
| JTT | 0.399±.024 | +0.002±.019 | 0.505 |
| LfF | 0.417±.019 | +0.022±.019 | 0.538 |
| AFR | 0.399±.011 | +0.006±.007 | 0.478 |
| bg-swap | 0.461±.010 | +0.069±.010* | 0.733 |
figuration variance and [0.77, 0.83]. The donor-averaged response is therefore largely additive over cells, with secondary pairwise interactions, so a per-cell reading captures most of its structure (a property of , not of the classifier's internal representation). The worst case is sharper. The semantic- radius (Eq. (6); Fig. 5b) is for [38, 50]% of vessels, where one realistic cell swap flips the class; the median is , and never flip. Because is a minimum over a finite donor bank, grows with ( from to 8 on a common pool), so we treat it as ordinal (App. B).
5.3. Sensitivity is not sufficiency
High hull sensitivity need not mean the hull is sufficient [62] to set the class, nor that relying on it is spurious; for types the hull genuinely defines, substantial reliance may be appropriate. Under a direct conflict (a cross-class donor hull grafted on while the superstructure still says the true class; 476 conflicts, App. D, Fig. 6), the classifier follows the superstructure of the time and the donor hull only (the rest default to a third class). The sensitivity thus shows up mostly as degraded confidence, not a class-specific error: on this task the hull rarely overrides the class it is grafted against.
5.4. Auditing de-biasing without group labels
We measure what de-biasers do to part reliance (Table 3; App. Fig. 7) across three seeds, scoring each model on the recipients it classifies correctly ( per method) and pairing changes on recipients both it and ERM get right (App. F). Two axes move independently: the hull-share (which parts carry the decision) and (how many must change to flip it). On the first, no method lowers the hull-share. Every group-free paired change vs. ERM lies in [0, 0.022], within seed noise (std ~0.02), including hull-randomization, the augmentation designed to break hull reliance, and AFR [44], the group-free counterpart of DFR. Only background-swap moves significantly (+0.069±0.010). The audit’s minimum detectable effect is about 0.04 (App. F), so the null excludes reductions above that, not an exact zero. It survives two checks of the ratio and of the correct-only population: absolute hull and total influence are also flat, and a fixed-recipient audit with a continuous true-class response leaves the soft hull-share equally flat (App. Table 11).
The dividing line is group supervision. AFR fails here while DFR succeeds on planted shortcuts (Sec. 4.2), because a method reduces hull-share only if it can target the shortcut. Background-swap, the one method that moves, raises hull-share, consistent with forcing background-invariance onto the vessel body. The number of parts moves separately: CutMix lowers single-part fragility (Pr[r=1]: 0.51 → 0.42) without making the model less hull-reliant, background-swap raises it (0.51 → 0.73), and the rest stay near ERM. Correlational attribution barely registers any of this: GradCAM, Integrated Gradients, and RISE shift ≤ 0.05 across de-biasers where our interventional flip spans 0.27 (App. G).
5.5. Generality: architectures, datasets, and cars
Architectures. The pooled corrected hull-share for ResNet-50 [21] and ViT-B/16 [12] baselines (same split; 75.4%/73.9% accuracy), each on its own correctly classified recipients, is 0.46 [0.38, 0.53] and 0.39 [0.31, 0.47], against ConvNeXt-Tiny's 0.48 [0.40, 0.58] (n=78/75/81). The intervals overlap, so we read the shared level, not the ordering: substantial hull reliance reflects the task rather than one backbone's inductive bias.
A second maritime dataset. On SeaShips [51] (6 types; App. I), with the MARVEL segmenter applied zero-shot and a fresh classifier (98.4%), the low-order structure strengthens ( vs. 0.80; hull-share 0.31; 25% flip on one swap; n=48, indicative).
Beyond maritime: Stanford Cars. The vessel segmenter and forward/mid/aft geometry do not transfer to cars [30] (196 models), but the protocol does once the part set is redefined: five parts (body, front-face, greenhouse, body-side, wheel) from an open-vocabulary GroundedSAM [28, 33] prompt, registered by the same PCA pose, with the same swaps, same-class control, and Walsh readouts on a cube (App. H). For a ConvNeXt-Tiny (92.4%), recognition is again low-order ( , ; 95% flip on one swap), and corrected influence concentrates on the greenhouse (roof and glazing, 0.48) far above the front-face (0.04), a non-obvious reading recovered without car-specific tuning. Three graded color shortcuts (ResNet-50) reproduce the convergent validity, recolor-flip reliance tracking worst-group accuracy at over 45 configurations (App. Fig. 11). The part-swap operator itself was validated only on vessels, so the greenhouse reading rests on Sec. 4.2.
6. Scope, Limitations, and Conclusion
Where HullProbe applies. A new domain must supply an exhaustive partition of the object into a few named parts that every instance has, a closed-form frame registering each part across instances, and a held-out pool with several instances per class to serve as donors. The swap operator, artifact control, cube, and readouts carry over unchanged, and the classifier is queried as a black box without group labels (App. Table 15 lists every component). Vessels and side-view cars meet these requirements, and other rigid, elongated objects seen from a consistent viewpoint plausibly do. Articulated, deformable, or viewpoint-varying categories (animals, people, most ImageNet classes) do not without learned correspondence, and the exhaustive cube stays practical only up to about eight parts. HullProbe is thus a specialized instrument, not a turnkey one, and our evidence for generality is empirical (three architectures, two maritime datasets, one non-maritime domain): it shows that the protocol transfers, not that its findings will.
Limitations. The estimate leans on one assumption, that same- and cross-class swaps carry comparable artifacts. The random-donor test supports it but cannot rule out a cross-class incompatibility that mimics a class cue; a mask-constrained generative edit, with a different artifact profile, is the natural independent check. The composites are anatomically plausible but not photorealistic, the vessel silhouette is shared with the annotations and so untested by Sec. 4.3, and the longitudinal cells are pose-fixed canonical thirds, not a detected bow and stern. We therefore trust the direction of a comparison but not a 0.03–0.05 gap.
Release. The evaluation harness, segmenter and annotations, composition code, and the recipient and donor lists behind every reported number are at https://github.com/fossil-ai/HullProbe.
Conclusion. HullProbe turns two orthogonal part decompositions into a group-label-free measure of interventional part reliance that recovers planted shortcuts, is unmoved when annotations replace its segmenter, and carries over to cars. Whether de-biasing has removed a shortcut then depends on the method, which HullProbe reads directly.
References
[1] Julius Adebayo, Justin Gilmer, Michael Muelly, Ian Goodfellow, Moritz Hardt, and Been Kim. Sanity checks for saliency maps. In NeurIPS, 2018.
[2] Martin Arjovsky, Léon Bottou, Ishaan Gulrajani, and David Lopez-Paz. Invariant risk minimization. arXiv:1907.02893, 2019.
[3] David Bau, Bolei Zhou, Aditya Khosla, Aude Oliva, and
Antonio Torralba. Network dissection: Quantifying interpretability of deep visual representations. In CVPR, 2017.
[4] Sara Beery, Grant Van Horn, and Pietro Perona. Recognition in terra incognita. In ECCV, 2018.
[5] Tom B Brown, Dandelion Mané, Aurko Roy, Martín Abadi, and Justin Gilmer. Adversarial patch. arXiv:1712.09665, 2017.
[6] Chun-Hao Chang, Elliot Creager, Anna Goldenberg, and David Duvenaud. Explaining image classifiers by counterfactual generation. In ICLR, 2019.
[7] Chaofan Chen, Oscar Li, Daniel Tao, Alina Barnett, Cynthia Rudin, and Jonathan K Su. This looks like that: Deep learning for interpretable image recognition. In NeurIPS, 2019.
[8] Ian Covert, Scott Lundberg, and Su-In Lee. Understanding global feature contributions with additive importance measures. In NeurIPS, 2020.
[9] Elliot Creager, Jörn-Henrik Jacobsen, and Richard Zemel. Environment inference for invariant learning. In ICML, 2021.
[10] Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. RandAugment: Practical automated data augmentation with a reduced search space. In NeurIPS, 2020.
[11] Terrance DeVries and Graham W Taylor. Improved regularization of convolutional neural networks with cutout. arXiv:1708.04552, 2017.
[12] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, et al. An image is worth words: Transformers for image recognition at scale. In ICLR, 2021.
[13] Bradley Efron and Charles Stein. The jackknife estimate of variance. The Annals of Statistics, 9(3):586–596, 1981.
[14] Ruth C Fong and Andrea Vedaldi. Interpretable explanations of black boxes by meaningful perturbation. In ICCV, 2017.
[15] Robert Geirhos, Patricia Rubisch, Claudio Michaelis, Matthias Bethge, Felix A Wichmann, and Wieland Brendel. Imagenet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness. In ICLR, 2019.
[16] Robert Geirhos, Jörn-Henrik Jacobsen, Claudio Michaelis, Richard Zemel, Wieland Brendel, Matthias Bethge, and Felix A Wichmann. Shortcut learning in deep neural networks. Nature Machine Intelligence, 2020.
[17] Amirata Ghorbani, Abubakar Abid, and James Zou. Interpretation of neural networks is fragile. In AAAI, 2019.
[18] Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR, 2015.
[19] Yash Goyal, Ziyan Wu, Jan Ernst, Dhruv Batra, Devi Parikh, and Stefan Lee. Counterfactual visual explanations. In ICML, 2019.
[20] Erhan Gundogdu, Berkan Solmaz, Veysel Yücesoy, and Aykut Koç. MARVEL: A large-scale image dataset for maritime vessels. In Asian Conference on Computer Vision (ACCV), 2016.
[21] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016.
[22] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask R-CNN. In ICCV, 2017.
[23] Dan Hendrycks, Norman Mu, Ekin D Cubuk, Barret Zoph, Justin Gilmer, and Balaji Lakshminarayanan. AugMix: A simple data processing method to improve robustness and uncertainty. In ICLR, 2020.
[24] Sara Hooker, Dumitru Erhan, Pieter-Jan Kindermans, and Been Kim. A benchmark for interpretability methods in deep neural networks. In NeurIPS, 2019.
[25] Dominik Janzing, Lenon Minorics, and Patrick Blöbaum. Feature relevance quantification in explainable AI: A causal problem. In AISTATS, 2020.
[26] Been Kim, Martin Wattenberg, Justin Gilmer, Carrie Cai, James Wexler, Fernanda Viégas, and Rory Sayres. Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (TCAV). In ICML, 2018.
[27] Polina Kirichenko, Pavel Izmailov, and Andrew Gordon Wilson. Last layer re-training is sufficient for robustness to spurious correlations. In ICLR, 2023.
[28] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C Berg, Wan-Yen Lo, Piotr Dollár, and Ross Girshick. Segment anything. In ICCV, 2023.
[29] Pang Wei Koh, Shiori Sagawa, Henrik Marklund, et al. WILDS: A benchmark of in-the-wild distribution shifts. In ICML, 2021.
[30] Jonathan Krause, Michael Stark, Jia Deng, and Li Fei-Fei. 3d object representations for fine-grained categorization. In IEEE International Conference on Computer Vision Workshops (3dRR), 2013.
[31] Nathan Linial, Yishay Mansour, and Noam Nisan. Constant depth circuits, fourier transform, and learnability. Journal of the ACM, 40(3):607–620, 1993.
[32] Evan Z Liu, Behzad Haghgoo, Annie S Chen, Aditi Raghunathan, Pang Wei Koh, Shiori Sagawa, Percy Liang, and Chelsea Finn. Just train twice: Improving group robustness without training group information. In ICML, 2021.
[33] Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Qing Jiang, Chunyuan Li, Jianwei Yang, Hang Su, Jun Zhu, and Lei Zhang. Grounding DINO: Marrying DINO with grounded pre-training for open-set object detection. In ECCV, 2024.
[34] Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell, and Saining Xie. A convnet for the 2020s. In CVPR, 2022.
[35] Scott M Lundberg and Su-In Lee. A unified approach to interpreting model predictions. In NeurIPS, 2017.
[36] Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. In ICLR, 2018.
[37] Junhyun Nam, Hyuntak Cha, Sungsoo Ahn, Jaeho Lee, and Jinwoo Shin. Learning from failure: De-biasing classifier from biased classifier. In NeurIPS, 2020.
[38] Ryan O'Donnell. Analysis of Boolean Functions. Cambridge University Press, 2014.
[39] Art B Owen. Sobol' indices and shapley value. SIAM/ASA Journal on Uncertainty Quantification, 2014.
[40] Nicolas Papernot, Patrick McDaniel, Somesh Jha, Matt Fredrikson, Z Berkay Celik, and Ananthram Swami. The limitations of deep learning in adversarial settings. In EuroS&P, 2016.
[41] Judea Pearl. Causality: Models, Reasoning, and Inference. Cambridge University Press, 2009.
[42] Vitali Petsiuk, Abir Das, and Kate Saenko. RISE: Randomized input sampling for explanation of black-box models. In BMVC, 2018.
[43] Dilip K Prasad, Deepu Rajan, Lily Rachmawati, Eshan Rajabally, and Chai Quek. Video processing from electro-optical sensors for object detection and tracking in a maritime environment: A survey. IEEE Transactions on Intelligent Transportation Systems, 2017.
[44] Shikai Qiu, Andres Potapczynski, Pavel Izmailov, and Andrew Gordon Wilson. Simple and fast group robustness by automatic feature reweighting. In ICML, 2023.
[45] Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. "why should i trust you?": Explaining the predictions of any classifier. In KDD, 2016.
[46] Andrew Slavin Ross, Michael C Hughes, and Finale Doshi-Velez. Right for the right reasons: Training differentiable models by constraining their explanations. In IJCAI, 2017.
[47] Shiori Sagawa, Pang Wei Koh, Tatsunori B Hashimoto, and Percy Liang. Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. In ICLR, 2020.
[48] Axel Sauer and Andreas Geiger. Counterfactual generative networks. In ICLR, 2021.
[49] Bernhard Schölkopf, Francesco Locatello, Stefan Bauer, Nan Rosemary Ke, Nal Kalchbrenner, Anirudh Goyal, and Yoshua Bengio. Toward causal representation learning. Proceedings of the IEEE, 2021.
[50] Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-CAM: Visual explanations from deep networks via gradient-based localization. In ICCV, 2017.
[51] Zhenfeng Shao, Wenjing Wu, Zhongyuan Wang, Wan Du, and Chengyuan Li. SeaShips: A large-scale precisely annotated dataset for ship detection. IEEE Transactions on Multimedia, 20(10):2593–2604, 2018.
[52] Avanti Shrikumar, Peyton Greenside, and Anshul Kundaje. Learning important features through propagating activation differences. In ICML, 2017.
[53] Sahil Singla and Soheil Feizi. Salient ImageNet: How to discover spurious features in deep learning? In ICLR, 2022.
[54] Daniel Smilkov, Nikhil Thorat, Been Kim, Fernanda Viégas, and Martin Wattenberg. SmoothGrad: Removing noise by adding noise. arXiv:1706.03825, 2017.
[55] Ilya M Sobol. Global sensitivity indices for nonlinear mathematical models and their monte carlo estimates. Mathematics and Computers in Simulation, 55(1-3):271–280, 2001.
[56] Nimit Sohoni, Jared Dunnmon, Geoffrey Angus, Albert Gu, and Christopher Ré. No subclass left behind: Fine-grained robustness in coarse-grained classification problems. In NeurIPS, 2020.
[57] Jiawei Su, Danilo Vasconcellos Vargas, and Kouichi Sakurai. One pixel attack for fooling deep neural networks. IEEE Transactions on Evolutionary Computation, 23(5):828–841, 2019.
[58] Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic attribution for deep networks. In ICML, 2017.
[59] Saeid Asgari Taghanaki, Aliasghar Khani, Fereshte Khani, Ali Gholami, Linh Tran, Ali Mahdavi-Amiri, and Ghassan Hamarneh. MaskTune: Mitigating spurious correlations by forcing to explore. In NeurIPS, 2022.
[60] Victor Veitch, Alexander D'Amour, Steve Yadlowsky, and Jacob Eisenstein. Counterfactual invariance to spurious correlations in text classification. In NeurIPS, 2021.
[61] Benjie Wang, Clare Lyle, and Marta Kwiatkowska. Provable guarantees on the robustness of decision rules to causal interventions. In IJCAI, 2021.
[62] David S Watson, Limor Gultchin, Ankur Taly, and Luciano Floridi. Local explanations via necessity and sufficiency: Unifying theory and practice. In UAI, 2021.
[63] Kai Xiao, Logan Engstrom, Andrew Ilyas, and Aleksander Madry. Noise or signal: The role of image backgrounds in object recognition. In ICLR, 2021.
[64] Enze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar, Jose M Alvarez, and Ping Luo. SegFormer: Simple and efficient design for semantic segmentation with transformers. In NeurIPS, 2021.
[65] Yuzhe Yang, Haoran Zhang, Dina Katabi, and Marzyeh Ghassemi. Change is hard: A closer look at subpopulation shift. In ICML, 2023.
[66] Huaxiu Yao, Yu Wang, Sai Li, Linjun Zhang, Weixin Liang, James Zou, and Chelsea Finn. Improving out-of-distribution robustness via selective augmentation. In ICML, 2022.
[67] Badr Youbi Idrissi, Martin Arjovsky, Mohammad Pezeshki, and David Lopez-Paz. Simple data balancing achieves competitive worst-group-accuracy. In CLeaR, 2022.
[68] Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. CutMix: Regularization strategy to train strong classifiers with localizable features. In ICCV, 2019.
[69] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In ICLR, 2018.
[70] Michael Zhang, Nimit S Sohoni, Hongyang R Zhang, Chelsea Finn, and Christopher Ré. Correct-n-contrast: A contrastive approach for improving robustness to spurious correlations. In ICML, 2022.
[71] Yitong Zheng and Shun Zhang. McShips: A large-scale ship dataset for detection and fine-grained categorization in the wild. In ICME, 2020.
[72] Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ADE20K dataset. In CVPR, 2017.
HullProbe: Measuring Interventional Part Reliance in Maritime Vessel Classifiers
Supplementary Material
A. Segmentation error: annotations vs. the segmenter
Sec. 4.3 asks how the segmenter’s errors propagate into HullProbe. This appendix gives the design and the full results (Table 4).
Design. The segmenter's 80/20 split of the 1,014 annotations was drawn with a fixed seed, so its 202 validation vessels, never used in training, can be recovered exactly (the per-class counts match the training log); they cover all 26 types (1–32 each). We audit them with the attribution classifier (ConvNeXt-Tiny) in three arms: with the segmenter's predicted hull/superstructure maps for recipient and donors (segmenter, the deployed pipeline), with the annotations for both (annotation), and with annotations for the recipient only, which separates the two sides of the swap. Everything else is fixed across arms: the recipients, the donor identities (drawn once: K=4 aspect-compatible cross-class donors and 2 same-class controls, all from the same held-out set, so every donor also has an annotation the segmenter never saw), the vessel silhouette and PCA pose, and the classifier. Both map sources share the silhouette (the zero-shot boat mask, App. K), so the arms differ only in where the hull/superstructure boundary lies, which is the learned component and the one that decides the hull-share. Of the 202 vessels, 194 are correctly classified and have a same-class control, and enter the audit. Only 22 of the 202 are also in MARVEL's test split; the rest come from its training split, which the classifier saw. That lowers absolute flip rates (a classifier is more robust on its own training images) and the recipients are not class-balanced, so the absolute values here are not comparable to the main pool's; the paired comparison is unaffected, since images, donors, and classifier are identical across arms. We report the test-split vessels separately (17 of the 22 enter the audit).
What the annotations are. Each annotation is a deck line placed by an annotator, so its hull/superstructure boundary is straight, whereas the segmenter's follows the image and can curve around deck fittings. Part of the disagreement below is therefore a difference in boundary style rather than segmenter error, and the annotation arm is a reference, not an oracle.
Results. On these 194 vessels the segmenter disagrees with the annotation on 7.4% of vessel pixels on average (median 5.3%; within-silhouette hull and superstructure IoU 0.86 and 0.85), and its errors are nearly unbiased: it labels 48.0% of vessel pixels superstructure against the annotations' 48.8%. Replacing its maps with the annotations changes the corrected hull-share by -0.009 [-0.041, +0.023] (paired bootstrap over recipients), the raw hull-share by -0.015, and the spectrum not at all ( , 0.000, 0.000). Every per-cell corrected influence moves by less than 0.01 with an interval covering zero, and the per-recipient corrected-influence profiles of the two arms correlate at r=0.79, so the agreement holds recipient by recipient, not only on average. Annotating only the recipient gives the same answer (-0.013 [-0.044, +0.018]), so donor-side segmentation error contributes nothing measurable. The 17 test-split vessels agree (-0.002), with an interval too wide ( ) to say more on their own.
Two conclusions follow. First, the segmenter’s actual errors move the hull-share by less than the audit’s ~0.04 resolution, so the hull-share is not a segmentation artifact. Second, the stress test of App. B overstates segmentation sensitivity. It shifts every boundary in the same direction, a systematic bias the segmenter does not have, so even dilation, which relabels fewer pixels (5%) than the segmenter gets wrong (7.4%), moves the hull-share by -0.05. We keep those rows as a bracket for a segmenter that is biased toward one class.
B. Robustness of the hull-share
The corrected hull-share is stable under the choices in the audit (Table 5). Donor selection and count are irrelevant (compatible vs. random donors, : all 0.50–0.52), and the random-donor row validates the artifact correction. Shape-mismatched donors make worse composites yet leave the corrected value unchanged (raw 0.46 vs. 0.47; corrected 0.52 vs. 0.51), so the same-class control (Eq. (7)) subtracts the compositing artifact, not the class signal.
Boundary stress test. Shifting the hull/superstructure boundary by 3px moves the value in the expected direction, by -0.05 when the superstructure is dilated and by +0.10 when it is eroded, leaving the ordinal conclusion (substantial hull reliance) intact. The two directions are not symmetric perturbations. Dilation only moves the internal boundary, relabeling 5% of vessel pixels on average over 400 test-pool vessels, whereas erosion also strips a 3px band from the superstructure's outer edge, deleting thin masts and crane booms, and relabels 15%. The perturbation is applied to the recipient's swap stencil; donor maps and the per-cell fit are left unperturbed. App. A replaces this synthetic perturbation
Table 4. Segmentation error: annotations vs. the segmenter (App. A). The audit on the segmenter's 202 held-out vessels with its predicted hull/superstructure maps, with the annotations, and with annotations for the recipient only; recipients, donors, silhouette, and classifier are identical across arms. Brackets are 95% recipient-bootstrap intervals; rows are paired (annotation minus segmenter). Left: pooled readouts. Right: per-cell corrected influence on all held-out vessels.
| mask source | hull-share | raw | Pr[r=1] | ||
|---|---|---|---|---|---|
| all held-out (n=194) | |||||
| segmenter (both) | 0.49 [0.45, 0.53] | 0.47 | 0.67 | 0.84 | 0.35 |
| annotation (both) | 0.48 [0.44, 0.53] | 0.46 | 0.67 | 0.84 | 0.35 |
| annotation (recipient only) | 0.48 [0.44, 0.52] | 0.46 | 0.67 | 0.84 | 0.35 |
| Δ (both) | -0.009 [-0.041, 0.023] | -0.015 | +0.004 | 0.000 | 0.000 |
| held-out and in MARVEL's test split (n=17) | |||||
| segmenter (both) | 0.48 [0.34, 0.61] | 0.45 | 0.66 | 0.85 | 0.41 |
| annotation (both) | 0.48 [0.37, 0.60] | 0.43 | 0.67 | 0.82 | 0.41 |
| Δ (both) | -0.002 [-0.140, 0.152] | -0.025 | +0.012 | -0.026 | 0.000 |
| cell | segmenter | annotation | Δ |
|---|---|---|---|
| hull-fwd | 0.075 | 0.067 | -0.008 [-0.019, 0.002] |
| hull-mid | 0.132 | 0.131 | -0.001 [-0.014, 0.011] |
| hull-aft | 0.068 | 0.074 | +0.006 [-0.005, 0.016] |
| sup-fwd | 0.057 | 0.059 | +0.002 [-0.009, 0.014] |
| sup-mid | 0.154 | 0.162 | +0.009 [-0.009, 0.026] |
| sup-aft | 0.074 | 0.070 | -0.005 [-0.018, 0.009] |
with the segmenter's actual error.
Donor count and the fragility distribution. The check above covers the pooled hull-share, which is a mean and is stable. The semantic- radius is different: it is a min over the 63 non-empty subsets against a finite donor bank, so a larger bank can only find more flipping swaps and drive the radius down. Recomputing it with K=4 and K=8 donors on a common 221-recipient pool (same seed and recipients, a smaller draw than the 277-recipient headline pool) bears this out, raising the fraction that flips on one swap from 45% to 52% (median r tightening from 2 to 1). The radius is therefore donor-count-sensitive, but in the opposite direction to the usual worry: K=4 underestimates fragility rather than inflating it, so the headline 44% is a conservative lower bound. The de-biasing audit's ERM baseline separately reads on its own pool of correctly classified recipients (Table 3); this 0.44–0.52 spread across pool and K is why we treat this fraction as pool- and K-dependent. We accordingly treat the fragility distribution (Fig. 5b) as ordinal and indicative, and lean on the pooled hull-share and the interaction spectrum for the quantitative claims.
C. Circularity control for the operator validation
The operator-level validation of Sec. 4.2 uses the same 6-cell graft to plant the shortcut (hull ← donor or ) and to measure it (re-swapping the hull to the other trained donor ). A high flip rate might then reflect nothing more than a memorized hull, or leftover compositing statistics, instead of reliance that survives a change of donor. The compositing worry is already handled, since the seam is identical across s and cannot drive the flip. Memorization is not. (The single shortcut used here is also learned almost completely, untreated WGA≈0.03 against the ≈0.20 pooled over three shortcuts in Table 2, which is why its flip rates sit above the pooled numbers of Table 10, e.g. ERM
Table 5. Sensitivity of the corrected hull-share [95% bootstrap CI] to donor and segmentation choices (App. B; fixed 61-recipient subsample, which runs at 0.50–0.52, above the 0.46 full-pool headline but within its bootstrap interval). Robust to donor selection and count; the corrected value is invariant to donor quality (random vs. compatible), validating the artifact control; segmentation boundary shifts move it in the expected direction.
| variant | corrected hull-share | raw |
|---|---|---|
| reference (compatible, K=4) | 0.51 [.40, .63] | 0.47 |
| random donors (K=4) | 0.52 [.40, .66] | 0.46 |
| compatible, K=2 | 0.50 [.35, .63] | 0.45 |
| compatible, K=8 | 0.51 [.42, .62] | 0.46 |
| seg. eroded (-3px) | 0.61 [.51, .72] | 0.56 |
| seg. dilated (+3px) | 0.46 [.36, .57] | 0.43 |
0.79 vs. 0.56; only the ERM→DFR drop and the correlation carry over, not the absolute levels.)
To break the memorization route we swap the hull to a third donor , drawn from a class the model never saw in training and composited the same way. A flip here can only come from a hull appearance the model never learned. This independent-donor flip falls from 0.23 at ERM to 0.12 at DFR, in step with the re-swap flip's , and the two agree across methods at mean r=0.73 (Table 7, five de-biasers, three seeds). The reliance the operator picks up therefore outlasts the two planted donors. It is a weaker and noisier signal than the re-swap, as a never-seen hull should be, so the test loosens the plant-and-measure coupling without severing it; only a physically re-hulled set would do that.
Dependence in the pooled correlation. The 45 operator-level configurations (Sec. 4.2) are not 45 independent units, since they share three shortcut constructions, one donor bank, five de-biasers, and three seeds, so a pooled Pearson r can overstate the evidence when the method ordering repeats across related conditions. We therefore report the pooled
Table 6. The operator-level correlation is robust to the nested design (45 configs; Sec. 4.2): reliance vs. worst-group accuracy stays strongly negative under every check, so it is not an artifact of the shared shortcuts and seeds.
| robustness check | corr(WGA, reliance) |
|---|---|
| pooled Pearson r | -0.941 |
| Spearman ρ | -0.933 |
| per-shortcut (3) | -0.945, -0.964, -0.928 |
| leave-one-out (by shortcut) | -0.946, -0.932, -0.950 |
| cluster bootstrap 95% CI | [-0.964, -0.916] |
Table 7. Circularity control (ResNet-50, 3 seeds, mean±std; App. C). For each de-biaser, the operator's re-swap flip (hull → the other trained donor) and an independent-mechanism flip (hull → a third, unseen donor through the identical compositor). Both fall from ERM to DFR and are positively correlated across methods (mean r=0.73), so the operator reads hull reliance that survives a change of donor, not donor or compositing memorization.
| method | WGA | re-swap flip | indep. flip |
|---|---|---|---|
| ERM | |||
| SUBG | |||
| GroupDRO | |||
| JTT | |||
| DFR |
alongside the per-shortcut correlations ; Table 2), which are consistent across the three constructions. Respecting the nested design confirms the pooled estimate rather than weakening it. A cluster bootstrap over training runs (9 shortcut×seed clusters, 20k resamples) gives a CI of ; a leave-one-out over shortcuts stays at (each on the other 30 configurations); and the rank correlation is Spearman . The association is thus not an artifact of pseudo-replication across the shared shortcuts and seeds (Table 6).
D. Hull sensitivity vs. sufficiency
Section 5.3 separates two questions that are easy to conflate. The first is how sensitive the decision is to the hull (its influence share, globally); the second is whether the hull is sufficient to set the predicted class. High sensitivity need not mean the classifier is dominated by the hull, and the gap between the two is what shows the measured reliance is largely benign on the natural task.
We probe sufficiency with a direct conflict. For each of 476 recipient–donor pairs we graft a cross-class donor hull onto the recipient while keeping its own superstructure, so that the hull now argues for the donor class and the su- Under conflict, which class does the classifier follow? (n = 476)

Figure 6. Hull sensitivity vs. sufficiency (Sec. 5.3). Top: under a hull/superstructure conflict (a cross-class donor hull grafted on, superstructure kept), the classifier follows the superstructure (the true class) of the time and adopts the donor hull's class only . Bottom: per class, the hull sensitivity (share) far exceeds the rate at which the hull is actually sufficient to set the prediction. Every class sits well below the line, so sensitivity should not be read as harmful reliance.
perstructure for the true class, and then we ask which the classifier follows. It keeps the true (superstructure) class of the time and adopts the donor hull's class only of the time, the remaining defaulting to a third class (Fig. 6, top). Even in direct disagreement, the hull rarely overrides the superstructure.
The same holds per class (Fig. 6, bottom). For each of the 23 classes with a defined hull-share (of the 25 tested in the conflict study; two have an undefined hull-share) the hull sensitivity exceeds the rate at which the hull is actually sufficient to flip the prediction, and every such class sits well below the line. Substantial hull sensitivity therefore reflects corroborating evidence rather than the hull overriding the class, and can be appropriate for vessel types the hull genuinely defines. This is why the main text reports sensitivity as a measurement, kept separate from any judgment of whether the reliance is warranted.
E. Per-cell influence and per-seed audit
Table 8 gives the full per-cell influence (raw cross-class, same-class control, and corrected) underlying Fig. 5a and the 54/46 superstructure/hull split; the same-class column is the compositing floor that Eq. (7) subtracts. Table 9 gives per-seed hull-share for the audit methods, showing the across-seed consistency behind Table 3.
Table 10 gives the per-method controlled-shortcut numbers (worst-group accuracy and interventional reliance) behind
Table 8. Per-cell influence (277 recipients; corrected hull-share 0.46, 95% CI [0.41, 0.52]).
| cell | cross Inf | same Inf | corr. Inf |
|---|---|---|---|
| hull-fwd | 0.137 | 0.092 | 0.045 |
| hull-mid | 0.211 | 0.139 | 0.072 |
| hull-aft | 0.138 | 0.090 | 0.048 |
| sup-fwd | 0.150 | 0.107 | 0.043 |
| sup-mid | 0.284 | 0.177 | 0.107 |
| sup-aft | 0.153 | 0.113 | 0.040 |
| hull Σ | 0.165 (46%) | ||
| sup Σ | 0.190 (54%) |
Fig. 4 and Table 2, for both the appearance-recolor principle (hull-color shortcut) and the anatomical part-swap operator (pooled over three donor-hull shortcuts).
F. De-biasing audit: the two axes
Part reliance moves along two independent axes (Sec. 5.4, Table 3), namely which parts carry the decision (the hull-share) and how many parts must change to flip it (Pr[r=1]). Fig. 7 visualizes both. On the first axis (left) no group-label-free method reduces the hull-share; the only significant mover, background-swap, raises it. The number of parts moves separately (right): CutMix sharply lowers single-part fragility, spreading the decision across cells, without making it any less biased toward the hull, so the two axes are decoupled, and an augmentation can make a model more distributed while leaving its hull reliance untouched.
Recipient selection. Reliance is scored on each model's correctly classified recipients, and each paired vs. ERM is averaged over recipients that both that method and ERM classify correctly. This is necessary (a flip rate is undefined on an image the model already misclassifies), but it conditions the measured population on model success, so a de-biaser can shift both its reliance and which recipients qualify. The paired both-correct design mitigates this by comparing on a shared set. We also run the cleaner variant directly: a fixed-recipient audit that scores every method on the identical 104-recipient pool (no correct-only filter) using a continuous response, the true-class probability , which is defined even when the original prediction is wrong; the soft cell influence is the mean . On this fixed population the soft hull-share is again flat across the group-label-free methods (paired change vs. ERM from to , none a reduction; CutMix , JTT , LfF , AFR , hull-randomization ), and only background-swap moves . The null is therefore not an artifact of correct-only recipient selection.
What the audit could detect (minimum detectable effect).
Table 9. Per-seed hull-share.
| method | s42 | s43 | s44 |
|---|---|---|---|
| ERM | .393 | .398 | .392 |
| CutMix | .401 | .383 | .405 |
| hull-rand. | .420 | .406 | .398 |
| JTT | .422 | .400 | .375 |
| LfF | .433 | .397 | .422 |
| AFR | .397 | .410 | .389 |
| bg-swap | .465 | .468 | .450 |
Because the headline on the first axis is a null, it is only as strong as the audit's power. The comparison is a paired change over three seeds, with seed-to-seed std of the paired delta between 0.006 and 0.019 across methods. For a paired t-test at (two-sided, two degrees of freedom) and power, this gives a minimum detectable effect of about 0.02–0.06 per method and pooled. Background-swap's clears this comfortably and is flagged significant, whereas every group-label-free delta () sits below it. The null therefore rules out any group-label-free reduction above , not reductions of every size; separating a genuine tiny reduction from none would need more seeds or recipients.
Relative vs. absolute influence. Hull-share is a ratio, so an unchanged value could in principle hide a proportional drop in absolute influence. It does not here. Table 11 reports the mean absolute hull, superstructure, and total flip-influence per method on the same cross-class cube. Across the group-label-free methods the paired change in absolute hull influence vs. ERM spans -0.008 to +0.031 and the change in total influence -0.059 to -0.002, all within seed noise (paired std 0.01–0.06); only background-swap moves significantly, and it raises both. The unchanged hull-share therefore reflects genuinely unchanged absolute part sensitivity, not a proportional reduction masked by the ratio.

Figure 7. Two axes move independently (visualizes Table 3, Sec. 5.4). Left: hull-share (which parts); * significant vs. ERM. Right: Pr[r=1] (how many parts). CutMix lowers fragility (right) without lowering hull reliance (left); bg-swap worsens both.
Table 10. Controlled-shortcut per-method detail (mean±std). Left: the hull-color appearance shortcut (3 seeds). Right: the anatomical hull-graft operator, pooled over 3 donor-hull shortcuts × 3 seeds (9 runs/method). Both track worst-group accuracy (pooled and ).
| appearance recolor | ||
|---|---|---|
| method | WGA ↑ | flip ↓ |
| ERM | 0.373±.038 | 0.389±.025 |
| SUBG | 0.420±.017 | 0.335±.009 |
| JTT | 0.410±.035 | 0.343±.071 |
| GroupDRO | 0.600±.010 | 0.196±.021 |
| DFR | 0.730±.038 | 0.120±.044 |
Table 11. Absolute influence is flat, not just the ratio (App. F; 3 seeds, mean±std over seeds; same audit as Table 3). Mean absolute hull, superstructure, and total cross-class flip-influence per method, with the paired change vs. ERM in absolute hull and total influence. No group-label-free method reduces absolute hull influence, and the small total changes are within seed noise; only background-swap (positive control) moves, raising both.
| method | hull | sup. | total | Δhull | Δtotal |
|---|---|---|---|---|---|
| ERM | 0.461 | 0.602 | 1.063 | — | — |
| CutMix | 0.455 | 0.552 | 1.006 | -0.008±.031 | -0.059±.058 |
| hull-rand. | 0.468 | 0.562 | 1.030 | +0.006±.027 | -0.032±.044 |
| JTT | 0.463 | 0.580 | 1.042 | -0.002±.034 | -0.022±.034 |
| LfF | 0.494 | 0.567 | 1.061 | +0.031±.041 | -0.006±.054 |
| AFR | 0.460 | 0.590 | 1.050 | +0.005±.013 | -0.002±.012 |
| bg-swap | 0.592 | 0.621 | 1.214 | +0.143±.046 | +0.186±.042 |
G. Comparison to correlational attribution
Does standard attribution already expose this reliance? On a controlled hull-color run (the shortcut of Sec. 4.2, where the hull is tinted red/blue and correlated with the label, so the ground-truth shortcut region is the hull mask), we score three attribution families, Grad-CAM [50] (activation), Integrated Gradients [58] (gradient), and RISE [42] (perturbation), by the fraction of attribution mass they place on the planted hull region, for five de-biasers over three seeds (120 correct test images each; hull area ). All three locate the shortcut, with Grad-CAM and Integrated Gradients placing mass well above the hull area and RISE at about the hull area. Their magnitude is nearly flat across de-biasers (range ; Table 12). Our interventional flip on the same models spans 0.27, roughly more. As a model debiases, correlational attribution barely moves while the flip collapses. (Small residual changes in Grad-CAM mass can even correlate with worst-group accuracy, but the effect is an order of magnitude too small to indicate how much reliance changed.) Attribution answers where a model looks; only the intervention answers how much the decision depends on the part.
| anatomical part-swap | ||
|---|---|---|
| method | WGA ↑ | flip ↓ |
| ERM | 0.197±.054 | 0.563±.050 |
| SUBG | 0.244±.119 | 0.504±.092 |
| JTT | 0.250±.093 | 0.529±.062 |
| GroupDRO | 0.471±.080 | 0.269±.076 |
| DFR | 0.653±.050 | 0.123±.041 |
Table 12. Correlational attribution locates the shortcut but cannot measure reliance. Fraction of attribution mass on the planted hull region (controlled hull-color shortcut, 5 de-biasers × 3 seeds, 120 images each; hull area ≈0.12). Every method stays nearly flat across de-biasers (range ≤0.05), whereas our interventional hull-color flip spans 0.27 over the same models, so attribution reports where, not how much.
| de-biaser | Grad-CAM | IG | RISE |
|---|---|---|---|
| ERM | 0.34 | 0.21 | 0.12 |
| SUBG | 0.32 | 0.18 | 0.12 |
| JTT | 0.36 | 0.23 | 0.12 |
| GroupDRO | 0.33 | 0.18 | 0.12 |
| DFR | 0.31 | 0.20 | 0.12 |
| range across de-biasers | 0.05 | 0.05 | 0.00 |
H. Beyond maritime: Stanford Cars
This appendix expands the non-maritime instantiation of Sec. 5.5. It covers how the part lattice is built for a domain with a different anatomy, the natural task part reliance readout, and the convergent-validity study in full.
Part extraction and registration. A car has no hull or superstructure, so neither the maritime segmenter nor the forward/mid/aft geometry applies. Instead we prompt an open-vocabulary GroundedSAM [28, 33] detector (box threshold 0.15, text threshold 0.12) with the seven-token part prompt “wheel. windshield. headlight. grille. car door. bumper. car roof.” and resolve the detections into a five-way partition {body, front-face, greenhouse, body-side, wheel} by a fixed token-to-part map: wheel→wheel; windshield, car roof→greenhouse; headlight, grille, bumper→front-face; car door→body-side; and body is the residual backbone (every object pixel not claimed by a named part). Detections are painted in ascending confidence so the higher-scoring detection wins any overlap, and a part is kept only if its mask exceeds 0.3% of the object mask. A car is accepted iff at least three parts

Figure 8. A non-maritime instantiation (Sec. 5.5). Four Stanford Cars of distinct body styles (left of each pair) and their natural 5-part decomposition (right): {body (gray), front-face (red), greenhouse (blue), body-side (green), wheels (yellow)}. Parts come from an open-vocabulary GroundedSAM prompt and the geometric PCA pose; the hull/superstructure segmenter and the forward/mid/aft grid are not used. Over the resulting -swap cube the greenhouse (roof and glazing) carries the majority of corrected interventional influence, well above the front grille.
recipient

5-part decomposition
cross-class greenhouse swap
same-class control
Figure 9. The car swap operator (Sec. 5.5). A recipient car, its natural 5-part decomposition, and a cross-class greenhouse swap that flips the predicted class, shown against the label-preserving same-class control that isolates the compositing artifact. This is the car analogue of the vessel operator in Fig. 3.
are named and they cover of the object (with object area fraction and PCA aspect to reject head-on/rear views). The object is then registered exactly as a vessel is, by a closed-form similarity transform read from its PCA pose (no trained aligner). Nothing is retrained, and the only learned component is the frozen classifier under audit. Applied to the Stanford Cars [30] test split (we sample up to a fixed number of cars per model) this yields a clean decomposition for 759 of 784 sampled cars (), covering all 196 models with instances each (Fig. 8).
Natural task part reliance. We train a ConvNeXt-Tiny to test accuracy and audit 80 correctly-classified recipients over the resulting -swap cube. Recognition is nearly additive, even more sharply than on vessels, with single-part main effects holding of the configuration variance and degree- 2 holding 0.99 (Fig. 10a), and 95% of cars flip on one swap (r=1: one realistic part swap flips the class). The artifact-corrected influence (Table 13, Fig. 10b) concentrates on the greenhouse (the roof and glazing) at corrected influence 0.48, the top part in 58/80 cars and 3.5× the next (body-side, 0.14). The front-face contributes little (0.04), and the wheels and body reduce to 0 under the same-class control, as class-agnostic parts should.

Figure 10. Cars: nearly additive anatomy and greenhouse dominance (App. H). (a) Walsh variance by interaction degree over the cube: main effects hold and degree- holds 0.99, so per-part attribution captures almost all of the decision. (b) Per-part flip-influence, raw (gray) and artifact-corrected (green): the greenhouse dominates, while the wheels and body fall to once the same-class control adjusts for the compositing floor.
Table 13. Cars: per-part flip-influence (80 recipients, cube; App. H). Raw cross-class , same-class control , and corrected . The greenhouse carries the majority of corrected influence; wheels and body reduce to under the control, as class-agnostic parts should.
| part | cross Inf | same Inf | corr. Inf |
|---|---|---|---|
| greenhouse | 0.680 | 0.205 | 0.476 |
| body-side | 0.210 | 0.073 | 0.137 |
| front-face | 0.148 | 0.103 | 0.045 |
| body | 0.000 | 0.000 | 0.000 |
| wheel | 0.034 | 0.056 | -0.022 |
Convergent validity. We repeat the controlled-shortcut validation of Sec. 4.2 on the car lattice. Three graded color shortcuts are planted on the car's parts and correlated with a binary model-group label (balanced at test). The three are a strong painted shortcut (all painted parts recolored), a medium background shortcut, and a weak corner watermark specificity control. Across five de-biasers × three seeds × three shortcuts (45 configurations) the group-label-free recolor-flip reliance tracks worst-group accuracy at pooled r=-0.973, and the graded strengths spread the configurations across the full accuracy range (Fig. 11, Table 14). ERM leans on each shortcut and DFR removes it, exactly as on vessels. The correlation is not an artifact of DFR's

Figure 11. Convergent validity ports to cars (Sec. 5.5). Three graded color shortcuts ( seeds de-biasers, 45 configs): group-label-free recolor-flip reliance tracks worst-group accuracy across the full range (pooled r=-0.97; -0.97 without DFR), ERM leaning on the shortcut and DFR removing it. The car swap operator is shown in Fig. 9.
Table 14. Cars convergent validity, per shortcut (ResNet-50, 3 seeds each; App. H). Three graded shortcuts span the worst-group-accuracy range; for each, WGA rises and the group-label-free recolor-flip reliance falls from ERM to DFR. Pooled over all 45 configurations (-0.973 excluding DFR).
| shortcut | strength | ERM (WGA/flip) | DFR (WGA/flip) | corr |
|---|---|---|---|---|
| painted | strong | 0.09/0.82 | 0.72/0.08 | -0.962 |
| background | medium | 0.47/0.30 | 0.82/0.05 | -0.923 |
| watermark | weak | 0.74/0.05 | 0.84/0.02 | -0.743 |
extreme position, since excluding DFR entirely leaves it unchanged (r=-0.973; Spearman ). The watermark is too small to be learned (ERM reliance ), and the measure correctly reports near-zero reliance for it.
What porting HullProbe requires. Table 15 lists, for the two instantiations in this paper, every component a new domain must supply. Only two are domain-specific: an exhaustive partition of the object into a handful of named parts that every instance has, and a closed-form canonical frame in which part of one instance corresponds to part of another. Everything downstream (swap operator, same-class control, cube evaluation, Walsh readouts) is reused unchanged, and the classifier is queried as a black box. The decisive constraint is registration. Elongated, rigid objects photographed from a consistent viewpoint admit a PCA frame (vessels and side-view cars here; plausibly aircraft or trains, which we have not tested); articulated, deformable, or viewpoint-varying objects (animals, people, most ImageNet categories) do not, and would need learned keypoints or 3D correspondence before the swap is anatomically meaningful. The cube also grows as , so exhaustive evaluation is practical up to roughly eight parts.
I. Zero-shot transfer to SeaShips
The maritime findings replicate on a second, independent dataset. SeaShips [51] is a detection dataset of 6 ship types collected by different cameras; we crop its vessels, apply the MARVEL-trained SegFormer segmenter zero-shot (no retraining), and train a fresh classifier to accuracy. SeaShips yields 4,086 crops with a valid decomposition , the pool from which recipients and donors are drawn. Over a class-balanced recipients from that pool, the low-order structure not only holds but strengthens, with degree- variance rising to 0.91 (vs. 0.80 on MARVEL), hull reliance staying substantial (hull-share 0.31), and the semantic- tightening flip on one swap vs. , tracking the higher clean accuracy. The segmenter is zero-shot and recipients is small, so these numbers are indicative; still, nearly additive anatomy holding on both datasets and all three architectures despite a large accuracy gap points to a real structural regularity rather than a MARVEL-specific artifact. Fig. 12 shows that both the segmenter and the swap operator stay clean on SeaShips vessels with no retraining.
J. Fourier-Walsh background
For under the uniform measure, the parities form an orthonormal basis because and ; hence it is 1 iff . Thus : the main effects are the degree-1 coefficients from Eq. (2), by conditioning on ) and the pairwise interactions are the degree-2 coefficients from Eq. (3), by conditioning on ), so the degree- mass below aggregates exactly these order- terms. Parseval gives the exact variance decomposition
so is the fraction of behavior at interaction order ; it is this normalized that the main text and figures report (e.g. ). For each Boolean , the per-donor influence in Eq. (4) equals via the discrete derivative, so total influence is the average sensitivity of the decision to part swaps.
K. Anatomy extraction and the swap operator
How the six cells are obtained and how a cell is swapped. Only the hull/superstructure segmenter is learned; the longitudinal split and all registration are closed-form from the vessel's PCA pose, with no trained aligner.
Vessel silhouette (zero-shot). The vessel mask is the boat/ship prediction of an ADE20K-pretrained SegFormer-B2 [64, 72], used without fine-tuning (summed boat and
Table 15. What it takes to port HullProbe (App. H). Components a new domain must supply, as instantiated for vessels and cars. Only the part decomposition and the registration are domain-specific; the swap operator, artifact control, cube evaluation, and readouts are shared.
| component | vessels (MARVEL, SeaShips) | cars (Stanford Cars) | requirement for a new domain |
|---|---|---|---|
| part set P | 2×3: {hull, sup} × {fwd, mid, aft}, |P|=6 | 5 named parts, |P|=5 | exhaustive partition into ≤ 8 parts present on every instance |
| part extractor | SegFormer-B2 fine-tuned on 1,014 masks (hull/sup); PCA thirds | GroundedSAM prompt + fixed token-to-part map; no annotation | a learned or promptable segmenter, or a geometric split |
| registration | closed-form PCA similarity transform | same | a canonical frame with part-to-part correspondence (rigid, elongated, consistent view) |
| validity filter | MARVEL: PCA aspect ≥ 1.40; SeaShips: every cell ≥ 150px (76% yield) | ≥ 3 parts covering ≥ 45%, aspect ∈ [1.35, 6] (97% yield) | a rule rejecting views where parts are missing or unregistrable |
| donor pool | K=4 aspect-compatible cross-class + 2 same-class per recipient | same | ≥ 3 held-out instances per class |
| classifier access | black box, predicted labels (probabilities for the soft variant) | same | no gradients, retraining, or group labels |
| compute per recipient | 64×6=384 forward passes, a few seconds on one GPU (compositing-bound) | 32×6=192 forward passes | 2|P|(Kx+K=) forward passes |
bulk cargo carrier
Original

fishing boat

ore carrier

passenger ship

Anatomy (zero-shot)
Hull swap
hull ← passenger ship
hull ← container ship
hull ← bulk cargo carrier
hull ← general cargo ship
Figure 12. Zero-shot transfer to SeaShips (second dataset). Both the MARVEL-trained SegFormer segmenter (middle, the hull/superstructure×forward/mid/aft decomposition) and the swap operator (bottom, a cross-class hull swap, hull ← donor type) apply to SeaShips vessels with no retraining, staying clean across distinct ship types. This is the qualitative counterpart to the numerical replication (Sec. 5.5). Segmentation is zero-shot, so composites are noisier than on MARVEL, which the same-class control absorbs.
ship class probability ). It fixes the silhouette, the PCA pose, and the outer boundary of every cell.
Hull/superstructure (learned). An annotator placed the hull/superstructure boundary of 1,014 vessels as a deck line inside the silhouette, starting from a geometric estimate and shifting or rotating it as needed (88% of the labels differ from that estimate, by a median 17% of vessel pixels; 214 further candidates were rejected). We fine-tune SegFormer-
B2 from the same ADE20K initialization on these labels to a three-class map {background, hull, superstructure}, reaching mean hull/superstructure IoU 0.756 on its 202 held-out vessels, and run it once over all 34,768 vessels. Inside the silhouette the superstructure is what the segmenter labels as such and the hull is the rest, so the two touch and are jointly complete. App. A measures how the segmenter's errors propagate into the audit.
Longitudinal thirds (geometric). We fit PCA to the vessel mask's pixel covariance; the leading eigenvector is the longitudinal axis and the pixel mean is the origin. The eigenvector sign follows a fixed image-space convention, oriented to point in the +x (image-right) direction (negated if its x-component is negative), so the low-projection end is a consistent canonical “forward” third across vessels. We do not detect the physical bow; the fwd/mid/aft labels are thirds of the canonical frame, and cross-vessel cell correspondence is by this shared frame rather than by a semantic bow/stern cue (vessels in MARVEL are predominantly captured in a consistent broadside orientation, which this convention relies on). Each vessel pixel gets a signed longitudinal coordinate , and is split into equal thirds to give fwd/mid/aft. This is deterministic (no model is trained), and its product with gives the six cells, which exactly partition the vessel.
Canonical frame. Each vessel is mapped to a shared frame by a similarity transform S read directly from its pose. It derotates by and translates the centroid, then scales so the longitudinal extent becomes a fixed canonical width (deck line aligned to a fixed row). S is closed-form; again nothing is learned.
Per-cell swap. To replace recipient cell with a donor's cell we do not paste a globally-warped donor (which lands the wrong donor region in the cell). Instead each donor cell is fit to its matching recipient cell independently by a diagonal affine in the canonical frame, matching their longitudinal extent (the along-axis scale ), area (the determinant, giving the cross-axis scale ), and centroid (the translation), clamped to and to prevent degenerate warps. The donor's cell- texture is warped by this fit, stenciled onto the recipient's exact cell support (so the composite silhouette is always the recipient's, with no overhang or holes), retained cells are kept pixel-exact, and any residual gap is inpainted (OpenCV Telea, radius 3). Thus swaps all three hull cells.
Why no learned aligner, and the artifact control. Because the two decompositions already register every vessel into one canonical PCA frame, cell-to-cell correspondence is closed-form and a learned graft aligner proved unnecessary. Compositing still leaves seams and inpainting; the same-class control (Eq. (7)) repeats the identical operation with a same-class donor and subtracts its effect, adjusting for these artifacts under the class-independence assumption.
L. Baseline and de-biasing methods
All natural task methods (Sec. 5.4, Table 3) share one matched training protocol (ConvNeXt-Tiny from ImageNet initialization, AdamW (lr , weight decay 0.05), cosine schedule, 12 epochs, batch 64, class-balanced 250 images/class, cross-entropy with label smoothing 0.05) and differ only in the objective or augmentation:
• ERM: the untreated baseline (plain cross-entropy).
• CutMix [68]: with probability 0.5 per batch a rectangular region of another image is pasted in and the label mixed in proportion to the pasted area, a strong region-mixing regularizer.
• Hull-randomization: our anatomy augmentation, in which with probability 0.5 the hull is replaced by a shape-registered donor hull while the superstructure and label are kept; the label-preserving counterpart of the intervention operator.
• Background-swap: with probability 0.5 the vessel is composited onto another image’s background (vessel and label kept), encouraging background invariance.
• JTT [32] (Just Train Twice): train an identification ERM for 5 epochs, collect the training examples it misclassifies, and retrain from scratch with that error set upweighted ×20, a group-free approximation to worst-group training.
• LfF [37] (Learning from Failure): jointly train a biased network with generalized cross-entropy ( , which amplifies easy/spurious cues) and a debiased network whose per-example loss is weighted by the relative difficulty (EMA-smoothed, ); the audited model is .
• AFR [44] (Automatic Feature Reweighting): freeze the ERM features and retrain only the last linear layer with per-example weights ( , the ERM's confidence in the true class), upweighting the examples the ERM classifies with low confidence, the group-free counterpart of DFR.
The controlled-shortcut studies (Sec. 4.2, Table 10; ResNet-50, three seeds) additionally evaluate group-supervised methods, which require the planted group labels:
• SUBG [67]: subsample to equalize the four (label × attribute) groups, then ERM, a simple but strong balancing baseline.
• GroupDRO [47]: minimize the worst-group loss through an online exponentiated reweighting over groups (step size ).
• DFR [27] (Deep Feature Reweighting): freeze the ERM features and retrain the last layer on a group-balanced set; AFR above is its group-free analogue.
Classifier and segmenter training protocols. The controlled-shortcut methods (Table 10) fine-tune an ImageNet-pretrained ResNet-50 with AdamW (lr , weight decay ), batch 64, 8 epochs; DFR/AFR retrain only the final linear layer (lr , weight decay ) on frozen features. The natural task attribution model is the same ConvNeXt-Tiny ERM protocol above (77.6%). The cars classifier (92.4%) reuses the maritime baseline protocol (ConvNeXt-Tiny, AdamW lr , weight decay 0.05, cosine schedule, 12 epochs, batch 64, label smoothing 0.05). The hull/superstructure SegFormer-B2 is fine-tuned from ADE20K for 45 epochs (batch 8, lr , horizontal flips) on the 1,014 annotations under a seeded 80/20 train/val split (812/202), keeping the epoch-33 checkpoint with the best validation mean IoU, 0.756 (hull and superstructure IoU averaged, computed at 512px over the full image). For the cars convergent-validity study, the three graded shortcuts are planted with recolor opacity and train-time attribute-label alignment : painted (strong) , ; background (medium) , ; corner watermark (weak specificity control) , ; all balanced at test.
M. Benchmark protocol
HullProbe is an evaluation protocol layered on existing public datasets (MARVEL, SeaShips, and Stanford Cars); our contribution is the measure and the artifacts that make it reproducible, not new imagery. We release the evaluation harness, the fine-tuned SegFormer segmenter and its 1,014 annotations, the composition code, the fixed recipient and donor identity lists, and every per-model output behind our results at https://github.com/fossilai/HullProbe, so that anyone with the public source images can regenerate the exact swap cubes. Because the interventional measure depends on the intervention distribution, a HullProbe score is comparable across models only if the protocol is fixed. The release therefore freezes every choice that affects the number, so a future model is scored by classification alone.
• Recipients and donors. Fixed identity lists per analysis (the 277-recipient attribution pool, the de-biasing pool, and the controlled-shortcut pools), drawn once from the held-out MARVEL test split with seed 42 and published verbatim.
• Donor law . A fixed donor bank per recipient: cross-class donors, the nearest in aspect ratio among 60 cross-class candidates drawn under the fixed seed, and 2 same-class controls drawn at random under the same seed. The published lists record every donor identity, so the bank is reproduced exactly rather than re-drawn. The random-donor and variants (App. B) are provided for sensitivity analysis only and are not part of the standard score.
• Segmentation and the recipient pool. The released SegFormer outputs are the canonical region maps. The pool is every MARVEL subset-B test-split vessel with a region map and a valid PCA pose of aspect 1.40 (rejecting near-square top and oblique views), 4,395 vessels. Cells may be empty (5.8% of the pool has at least one, e.g. no forward superstructure); an empty cell simply carries zero influence. The pool and the recipient lists are published, so no re-segmentation is required and the score does not depend on a researcher's segmenter.
• Composites and seeds. The composition code and fixed seeds regenerate the exact 64-cell cubes for every recipient×donor pair from the public source images, so scoring a new classifier reproduces our composites deterministically rather than requiring us to redistribute them.
Vessel recognition has surveillance implications, but Hull-Probe is diagnostic (it audits already-trained models), not a deployment system.