"""Curated navigation through the manuscript's methods, experiments and results.""" REVIEWED_TEX_SHA256 = "590d789db17402e8cd88de3f6377a9af5b2f3a5b0bbe58424255b2c81d2f1d55" METHODS = { "Study context and objectives": { "text": """ ### Why this study Fractional vegetation cover (FVC) — bare earth (**BE**), non-photosynthetic vegetation (**NPV**: dry/senescent material, litter, woody debris) and photosynthetic vegetation (**PV**) — is an ecologically meaningful descriptor of dryland condition, but **NPV is the hardest component to separate**: its spectral and spatial signature overlaps with shadow, exposed substrate and mixed vegetation–soil pixels. Prior UAS multispectral work resolved broad vegetation-soil contrasts but struggled with this finer compositional ambiguity; imaging spectroscopy (hyperspectral) adds narrow, contiguous VNIR–SWIR bands that can carry diagnostic dry-material and moisture signal, at the cost of much higher input dimensionality. ### Three contributions 1. **Benchmark** — a controlled M1–M5 ablation (spectral-channel adaptation, lightweight cross-channel attention, NPV-weighted loss) on a common U-Net backbone, plus a combined 296-band FX10–FX17 comparison against Random Forest, plain U-Net, PCA-3/PCA-10 and the published SS3FCN baseline. 2. **Interpretation** — post-inference spectral characterisation linking predicted classes to reflectance, uncertainty/confusion-stratified spectra, spectral-index maps and three complementary importance diagnostics (input gate, gradient sensitivity, permutation), focused on explaining residual NPV ambiguity rather than ranking sensors. 3. **Edge feasibility** — ONNX/TensorRT export and benchmarking on NVIDIA Jetson AGX Orin, as a foundation for future onboard UAS inference. ### Study area Two TERN AusPlot sites at Calperum Station, South Australia (semi-arid; ≈265 mm average annual rainfall, ≈17 °C average temperature), covering 19 ha in total: | Site | Role | Vegetation | Area | |---|---|---|---| | **SASMDD0001** (medium density) | Training / internal evaluation | Regenerating multi-stemmed mallee *Eucalyptus* spp. over sparse *Triodia scariosa* hummock grassland; fire-influenced standing/fallen dead wood | ≈15 ha | | **SASMDD0013** (low density) | Zero-shot external evaluation only | Low open *Eucalyptus largiflorens* woodland on floodplain, sparse *Maireana pyramidata* chenopod shrubs, cryptogam-crusted calcareous sandy loam | ≈2.8 ha | The model is trained and internally evaluated only at SASMDD0001; SASMDD0013 is used exclusively for frozen, zero-shot cross-site testing — it never contributes training data. **Manuscript:** Introduction (motivation and contributions); Materials, study area and datasets. """, "figures": [ ("study_area", "Paper figure: site locations at Calperum Station and the UAS platforms used."), ("study_sites", "Paper figure: multi-sensor imagery contrast between the medium (training) and low (inference) vegetation sites."), ], }, "Data and reference labels": { "text": """ ### UAS imagery and aligned reference data - MICA multispectral imagery is analysed at 5 cm; FX10 and FX17 are resampled to 10 cm. Their selected channels form a combined 296-band input. - Reference classes are **BE** (bare ground), **NPV** (non-photosynthetic vegetation), and **PV** (photosynthetic vegetation). Invalid/unlabelled pixels use ignore label −1. - Masks were prepared at 1 cm, then majority-vote resampled to the corresponding sensor grids. Predictors and masks use matched grids and crop offsets. - Fifteen annotated source tiles were partitioned at tile level, so overlapping patches from the same tile cannot cross train, validation and test splits. **Manuscript:** UAS acquisition and processing; reference data extraction. """, "figures": [ ("classes", "Paper figure: reference classes and spectral separability; shadow is a confounding condition, not a fourth class."), ], }, "Model variants and augmentation": { "text": """ ### Internal model ablation | Model | Spectral adapter | Cross-channel attention | NPV-weighted loss | |---|---|---|---| | M1 | No | No | No | | M2 | Yes | No | No | | M3 | Yes | No | Yes | | M4 | Yes | Yes | No | | M5 | Yes | Yes | Yes | Weights are **[1, 2, 1]** in BE, NPV, PV order. Attention operates on a 32-channel learned embedding; it is not full spatial-token self-attention. ### Augmentation The core protocol uses paired horizontal/vertical flips, 90° rotations and mild coherent brightness–contrast jitter. The reported MICA configuration adds global/per-band gain, gamma, noise and synthetic shadows. Geometric transforms apply to both inputs and masks; radiometric transforms apply only to predictors. The stronger MICA perturbations were not used for hyperspectral inputs. **Manuscript:** model benchmark design; training and inference protocols. """, "figures": [], }, "Spatial design and evaluation": { "text": """ ### Spatial resolution, patch support and testing - Native MICA: 5 cm, 614 px source tiles centre-cropped to 608 px, then 304 px patches at 50% overlap (nine patches per source tile). - FX10, FX17 and FX10–FX17: 10 cm, 304 px source tiles; patches of 152, 224 or 304 px produce nine, four or one patches per source tile. - MICA was also resampled to 10 cm for the matched-resolution control. These are independently trained models; sensor differences remain. - Three spatial folds use source-tile partitioning; the default is 8 training, 3 validation and 4 held-out test tiles. Validation selects checkpoints. - NPV F1 is the target-class metric; macro F1 and mIoU average over BE, NPV and PV. Only valid labelled pixels are included. - Monte Carlo dropout uses 50 passes; uncertainty is relative logit variability, **not** a calibrated probability of error. - Zero-shot evaluation uses five external SASMDD0013 tiles (2, 4, 7, 8, 15) with frozen source-site checkpoints; they are not established as a random or stratified sample of the site. ### Water-absorption channel exclusion sensitivity The combined 296-band FX10–FX17 stack retains 15 interpolated bands inside the 1320.9–1419.62 nm atmospheric water-absorption interval, where measured reflectance is calibration-estimated from neighbouring channels rather than directly observed. A supplementary sensitivity experiment re-trained the M5 configuration with those 15 channels removed (296 → 281 bands), keeping the same spatial folds, patch-generation workflow and evaluation metrics, to test whether excluding this unreliable interval helps or hurts NPV discrimination. **Manuscript:** scale-specific patch extraction; experimental settings; evaluation metrics; cross-site transfer; water-absorption channel exclusion sensitivity. """, "figures": [], }, "Spectral analysis and deployment": { "text": """ ### Post-inference interpretation Reflectance spectra are summarised for predicted classes and compared using standardised pairwise differences. The paper also examines uncertainty- and confusion-stratified spectra, index maps, a class-agnostic input gate, class-specific gradient sensitivities and regional/window permutation tests. These are diagnostic summaries, not direct measurements of vegetation traits or calibrated chemical concentrations. ### Edge benchmark Selected PyTorch models were exported through ONNX to TensorRT on Jetson AGX Orin. The reported FP16-labelled engines are **validated mixed FP16/FP32** engines; pure FP16 produced non-finite logits. Agreement compares predictions with PyTorch, not with reference labels. **Manuscript:** post-inference spectral characterisation; deployment workflow. """, "figures": [], }, } RESULTS = { "M1–M5 ablation and class weights": { "text": """ ### Within-site ablation M5 has the highest aggregate NPV F1; M3 has the highest aggregate mean F1 and mIoU. The table averages configuration-level fold means across the paper's sensor profiles and patch scales; it is **not** a single held-out tile. **Manuscript:** Results, performance of baseline and spectral-channel adapter models; appendix, sensitivity to NPV class weighting. """, "tables": [ ("ablation", "Within-site aggregation across sensor profiles and patch scales."), ("weights_validation", "Validation: three-fold mean ± sample SD; used to select the class weight."), ("weights_test", "Held-out test: three-fold mean ± sample SD; not used for selection."), ], "figures": [ ("ablation_npv", "Paper heatmap: within-site NPV F1 by sensor/patch and model variant."), ("ablation_miou", "Paper heatmap: within-site mIoU by sensor/patch and model variant."), ], }, "Baseline methods": { "text": """ ### Held-out test comparison The paper compares Random Forest, M1, PCA-3, PCA-10, SS3FCN and M5 using the same three spatial folds for the combined 296-band FX10–FX17 input. PCA was fitted on each fold's training tiles only. M5 used NPV-weighted focal loss; CNN baselines and Random Forest were unweighted. ### Water-absorption channel exclusion sensitivity A supplementary M5 run with the 15 interpolated water-absorption channels removed (296 → 281 bands, same folds and protocol) scored **NPV F1 0.409**, below the corresponding 296-band M5 result of **0.461**. Exclusion did not help — but this does **not** establish that the interpolated channels carry reliable measured reflectance, only that removing them did not improve the evaluated pipeline under these conditions. **Manuscript:** Results, performance comparison with baseline methods; water-absorption channel exclusion sensitivity. """, "tables": [("baselines", "Means of three fold-level held-out test metrics.")], "figures": [], }, "Resolution, patches and uncertainty": { "text": """ ### Matched-resolution and spatial comparisons MICA at 10 cm and FX10–FX17 at 10 cm form the matched-resolution comparison; native MICA at 5 cm is a separate reference. Models were trained independently. The paper's qualitative tile-65 figure compares M1, M3 and M5 at 152, 224 and 304 px, with M5 uncertainty. Larger patches do not mean finer resolution. **Manuscript:** Results, matched spatial-resolution performance; qualitative within-site predictions and uncertainty. """, "tables": [("resolution", "Source-site M5: means of three fold-level test metrics.")], "figures": [ ("patches", "Tile 65: model variants, patch sizes and M5 Monte Carlo uncertainty. Grey indicates ignore/NoData."), ("within_site", "Ground-footprint-matched sensor inference; native spatial resolutions are retained."), ("uncertainty", "Monte Carlo dropout uncertainty: shared display limits 0.10–0.65; clipping is for display only."), ], }, "Zero-shot cross-site validation": { "text": """ ### Five external tiles, frozen models The paper reports CNN M5 per-tile means for selected source-site checkpoints and Random Forest means across three fold-matched models. The averaging units differ. No external labels were used to fine-tune or select these checkpoints. The reference masks were manually reviewed and corrected; the five tiles are not established as representative of the whole site. **Manuscript:** Results, cross-site validation. """, "tables": [("transfer", "Zero-shot performance on five SASMDD0013 tiles; see the different averaging units above.")], "figures": [ ("transfer", "External-site imagery and M5 predictions, including 152 px and 304 px hyperspectral outputs."), ], }, "Spectral characterisation": { "text": """ ### Reflectance, indices and importance The paper reports partially overlapping BE, NPV and PV spectra; class masks are model predictions. Spectral-index maps are normalised per panel (2–98%) and their colours are **not comparable across indices**. The input gate is class-agnostic; gradient scores are class-specific relative sensitivities. Permutation tests are a separate model-agnostic diagnostic. None is a calibrated biochemical or concentration measurement. **Manuscript:** Results, post-inference spectral characterisation. """, "tables": [], "figures": [ ("spectra", "Class-wise reflectance and pairwise separability. Shading is ± one SD across contributing tile-level class spectra."), ("indices", "Relative spectral-index maps for the representative FX10–FX17 inference tile."), ("importance", "Top class-wise input-band sensitivities, normalised within each class and sensor."), ], }, "Edge deployment": { "text": """ ### Jetson AGX Orin FP16-labelled rows are validated mixed-precision TensorRT engines. Agreement and mIoU are **parity against PyTorch predictions**, not segmentation accuracy against reference labels. FX10–FX17 benefited from mixed precision; MICA's FP16-labelled engine was slower and larger than its FP32 baseline. **Manuscript:** Results, edge deployment performance. """, "tables": [("deployment", "Reported engine size, latency, throughput and PyTorch parity.")], "figures": [ ("deployment", "TensorRT throughput versus disagreement with the PyTorch reference."), ], }, } DISCUSSION = { "NPV-aware segmentation & baselines": { "text": """ ### What actually drove the NPV gain NPV-weighted optimisation, not architecture, is the primary driver: the unweighted spectral adapter (M2) only marginally improved on plain U-Net (M1), and adding unweighted cross-channel attention (M4) left aggregate performance roughly at baseline. The NPV-weighted variants M3 and M5 produced the largest gains. Spectral-channel adaptation and attention are best read as **supporting components inside a class-weighted pipeline**, not independent fixes for NPV ambiguity. The matched weight-sensitivity experiment (fixed architecture, varied loss weights only) reinforces this: mean held-out NPV F1 rose from 0.331 at `[1,1,1]` to 0.442 at `[1,2,1]`. Raising the NPV coefficient from 2→3 traded precision for recall; `[1,2,1]` was selected on validation balance, not on test performance. ### Baselines were competitive, compression was not Against the combined 296-band FX10–FX17 input, Random Forest (mean F1 0.688) and SS3FCN (0.685) remained close to M5 (0.705) in aggregate — Random Forest needs no spatial context to be a useful within-site baseline. M5's clearest edge was **NPV F1**, not uniform superiority: SS3FCN had the best BE F1 and plain U-Net the best PV F1. Because M5, the CNN baselines and Random Forest used different training objectives (NPV-weighted focal loss, unweighted focal loss, and no weighting respectively), this benchmark supports the **complete NPV-aware pipeline**, not architectural superiority alone. PCA compression (PCA-3, PCA-10) underperformed the full 296-band input despite retaining >99% of spectral variance — variance retention alone does not guarantee the discriminative bands for NPV survive compression. Removing the 15 interpolated water-absorption channels reduced NPV F1 from 0.461 to 0.409: exclusion did not help, but this doesn't establish those channels are reliable or necessary. **Manuscript:** Discussion §NPV-aware FVC segmentation and PV–NPV discrimination; baseline-method comparison and spectral compression. """, }, "Resolution, patch scale & cross-site transfer": { "text": """ ### Resolution helps, but isn't the whole story Resampling MICA from 5 cm to 10 cm reduced every reported metric — a real resolution cost. Yet matched at 10 cm, MICA still held a 0.094 mIoU edge over FX10–FX17, so native resolution alone doesn't explain multispectral's advantage; radiometric response, band placement and model–sensor interaction remain unmatched confounds. Larger patches produced stronger, more regularised aggregate metrics; smaller 152 px patches preserved finer NPV fragments and local class boundaries that larger patches smooth over — **aggregate accuracy and spatial prediction detail are separate axes**, and the better score on one is not automatically better on the other. ### Within-site success did not transfer On the five zero-shot SASMDD0013 tiles, NPV F1 stayed in **0.010–0.120** across every model and sensor tested, even where BE and PV transferred reasonably well. Strong aggregate transfer numbers should **not** be read as "NPV mapping generalises" — it specifically does not, here. The FX10–FX17 304 px configuration degraded substantially under transfer while the selected 152 px output held up better, so context that helped within-site cannot be assumed to help across sites. CNN results used selected source-site checkpoints while Random Forest used an average of three fold models, so the two families aren't on a fully matched footing in this comparison. **Manuscript:** Discussion §spatial resolution, patch scale and sensor configuration; zero-shot cross-site transfer. """, }, "Spectral interpretability": { "text": """ ### Why NPV stays ambiguous, not just how well it scores MICA class separability concentrates in VIS/red-edge/NIR — enough for strong within-site multispectral performance, but not enough to uniquely isolate dry material from soil, woody debris, shadow and mixed backgrounds. FX10–FX17 extends the diagnostic evidence into the SWIR. Uncertainty- and confusion-stratified spectra are consistent with that story: high-uncertainty NPV predictions shift toward the BE signature (dry-vegetation/soil mixture); NPV-predicted-but-BE-labelled pixels sit spectrally between the two; and NPV-predicted-but-PV-labelled pixels show lower SWIR reflectance, consistent with residual moisture in partially senescent vegetation. Gate, gradient and permutation importance agree on two informative regions — **≈1265–1321 nm** and **≈1476–1590 nm** — linked to dry-material, moisture and senescence response. But none of the three is a direct biophysical retrieval, and the strongest ligno-cellulose diagnostics (≈2100 nm, ≈2300 nm) lie **beyond FX17's 1700 nm ceiling** — a genuine sensor limit, not an analysis gap, and a likely contributor to residual litter/soil confusion. **Manuscript:** Discussion §spectral characterisation and model interpretability. """, }, "Edge-inference feasibility": { "text": """ ### Both sensor models ran on Jetson — with a caveat FX10–FX17 (296 bands) reached a **1.70× latency speed-up** with 99.96% argmax agreement against PyTorch under validated mixed FP16/FP32 precision — high input dimensionality did not block edge inference. But **pure FP16 produced non-finite logits for both models**, and the validated mixed-precision MICA engine was actually *slower* than its FP32 baseline. Reduced precision needed model-specific numerical validation; it did not uniformly accelerate anything. These are feasibility benchmarks, not a deployed autonomy workflow: a field system would still need radiometric correction, georeferencing, tiling, valid-data masking, mosaicking and mission-level data handling under real power/memory/acquisition constraints. **Manuscript:** Discussion §edge-inference feasibility for future onboard UAS deployment. """, }, "Limitations, future work & conclusions": { "text": """ ### Where the evidence stops - **Benchmark scope:** M5, the CNN baselines and Random Forest differ in training objective as well as architecture, so the comparison supports the full pipeline, not architecture in isolation. Weight-matched and feature-engineered baselines, and pretrained/foundation backbones, remain open. - **External coverage:** five manually reviewed SASMDD0013 tiles are not a random or site-wide sample. NPV there lumps dry grass, litter, woody debris and standing dead wood with no subclass breakdown of error sources. - **Sensor harmonisation:** the matched-10 cm experiment controls spatial resolution but not wavelength placement, radiometric response, SNR or co-registration between MICA and FX10–FX17 — it quantifies a resolution effect, not a clean sensor-type comparison. - **Transfer and scaling:** multi-site, multi-season validation; sensor cross-calibration; and a complete onboard pipeline (correction → georeferencing → tiling → masking → inference → uncertainty → mosaicking) are future work, not demonstrated here. > ⚠️ **PRELIMINARY — not in the reviewed manuscript.** A pilot few-shot > fine-tuning adaptation — continuing training from a source-site checkpoint > on two of the five labelled SASMDD0013 tiles, rather than training from > scratch — then running inference on the two spatially held-out tiles, > raised external (zero-shot-site) NPV F1 from the manuscript's ≤0.120 > frozen-checkpoint ceiling to **0.546** (the training pipeline's own > best-model test report) for the MICA 5 cm configuration. Re-running > inference independently for this viewer, through the same > `inference_FVCmapping.py` module used elsewhere in this app, and pooling > the confusion matrix across both held-out tiles gives **NPV F1 0.484** > (macro F1 0.796) — a different number from a different evaluation unit > (pooled stitched tiles vs. the harness's own per-patch accounting), not a > contradiction. See the **🧪 Pilot inference** tab above for the actual > reference-vs-prediction image and both numbers side by side. The same > few-shot protocol on the other two sensor configurations gained less: > FX10–FX17 M5 at 152 px reached NPV F1 0.20–0.26, and MICA 10 cm at 152 px > reached 0.30–0.46 — still well above zero-shot, but short of the MICA 5 cm > result. This suggests the cross-site NPV gap may be closeable by adapting > the model to a handful of target-site labels rather than needing a > different architecture — but it is an early, unreviewed result on a small > adaptation budget (2 train / 1 val / 2 test tiles): sample size, fold > design and selection criteria have not been through the same scrutiny as > the reported tables, so treat it as a promising direction for the > "Transfer and scaling" future work above, not as a validated finding. The > exploratory driver is `scripts/run_site13_mica_finetune.sh`; its own header > comment flags that all five SASMDD0013 tiles were already used for > zero-shot scoring, so this is exploratory re-use of those tiles, not a new > blind external test. `adapt_random_forest_few_shot.py` runs the matching > Random Forest protocol (zero-shot vs warm-start vs target-only). All three > scripts, plus the inference module, are selectable from **Reuse code & > checkpoints** on this topic. ### Headline numbers | Result | Value | |---|---| | M5 aggregate NPV F1 (ablation) | **0.496** (+0.148 vs M1) | | M3 aggregate mean F1 / mIoU (ablation) | **0.745 / 0.629** | | M5 vs baselines (296-band): mean F1 / NPV F1 / mIoU | **0.705 / 0.461 / 0.573** | | Random Forest / SS3FCN mean F1 / mIoU | 0.688 / 0.556 — 0.685 / 0.565 | | Matched-10 cm MICA mIoU advantage over FX10–FX17 | **+0.094** | | Best external-site (zero-shot) NPV F1, any model | **0.120** | | FX10–FX17 TensorRT speed-up / PyTorch agreement | **1.70× / 99.96%** | NPV remained the least stable, most spectrally ambiguous class throughout — within-site, across sensors, and especially across sites. The priorities the manuscript draws from this are broader multi-site/multi-season validation, sensor harmonisation, and uncertainty calibration — not a new architecture. **Manuscript:** Discussion §limitations and future transfer; Conclusions. """, }, }