Few-Shot Open-Set Rainforest Canopy Detection (CLIP + ProtoNet)
Reducing in-distribution vs. out-of-distribution cosine overlap on 8-band Singapore rainforest UAV orthomosaics via Wasserstein-regularized 9-statistic CLIP ensembling.
Open-set ecological canopy monitoring fails when unfamiliar species overlap with known prototypes in frozen ViT space. Using real 8-band multispectral UAV orthomosaics from two Singapore nature parks (152 canopy polygons, 19 species), I built a CLIP ViT-B/32 + Prototypical Network ensemble regularized with a Wasserstein-inspired loss that cuts ID/OOD overlap by 20–25% over naive multi-view averaging and lifts OOD detection accuracy from 66% to 84% (ROC AUC 0.9271).
Preserving Canopy Chlorophyll Signal for Frozen CLIP Prototypes
Working with real 8-band UAV orthomosaics from Chestnut (34 polygons) and Casuarina (118 polygons) Nature Parks in Singapore across 19 rainforest species, I extracted 224×224 canopy crops via Rasterio and mapped wideband Red, Green, and Red-Edge (bands 0, 1, 7) into pseudo-RGB inputs so frozen CLIP ViT-B/32 preserved chlorophyll contrast across 20-shot species prototypes. Decision cutoffs were calibrated via ROC / Youden’s J (AUC = 0.9271) rather than brittle hand-tuned thresholds.
Why Naive Multi-View Averaging Regresses—and How 9-Stat Weighting Fixes It
Cross-view sampled-mean averaging cuts overlap by 6–11% on clean benchmarks like ImageNet-1K, but on noisy field UAV splits it actually widened overlap (0.2382 → 0.2964 on Split 1; 0.1496 → 0.1856 on Split 2) whenever outlier canopy crops pulled the mean. Training a Wasserstein-regularized 9-statistic head automatically anchored on Direct CLIP similarity (+0.8348), reinforced central/upper quantiles (+0.0453 / +0.0441 / +0.0428), and penalized dispersion (std −0.0071, IQR −0.0039)—achieving the lowest overlap across splits (0.2355 / 0.1385) and lifting real OOD accuracy from 66% → 84%.
ID / OOD Similarity Overlap Across Evaluation Splits
| Scoring Method | Split 1 Overlap ↓ | Split 2 Overlap ↓ | Key Finding |
|---|---|---|---|
| Direct CLIP ViT-B/32 | 0.2382 | 0.1496 | 66% baseline OOD accuracy; sensitive to viewpoint |
| Multi-View Sampled-Mean | 0.2964 | 0.1856 | Degrades on noisy canopy splits despite ImageNet gain |
| Wasserstein 9-Stat Ensemble (Ours) | 0.2355 (Best) | 0.1385 (Best) | 20.5–25.4% lower overlap vs. Sampled-Mean · 84% OOD |