Inspiration
Clouds and retrieval gaps hide pollution over exactly the places we most want to watch. We wanted a model that works on facilities it has never seen, and we wanted to measure that honestly instead of tuning to the leaderboard.
What it does
For every facility/observation window it predicts methane, NO2, CO, absorbing aerosol index and FIRMS fire/flare intensity from a 14-band Sentinel-2 chip plus 29 weather/terrain features. Grouped CV MCRMSE 0.879 on held-out sites (starter baseline 0.907); public leaderboard 1.094 (all-zero submission: 1.145).
How we built it
- 274 hand-built chip features: band statistics for the full chip and its centre, spectral indices (NDVI, NDWI, NBR, NDBI, thermal anomaly index), SWIR hot-pixel shares, hot-blob counts, centre-vs-ring contrast, texture, scene-class shares.
- 10 flare descriptors from B8A/B11/B12 (saturated pixels, SWIR excess, centre-window maxima, hot-centroid distance).
- ImageNet ResNet-50 embeddings (true-colour full chip + SWIR centre composite), 24 PCA components each, computed on CPU.
- Per-target models fitted only on measured rows: shallow LightGBM + CatBoost, a hurdle model for fire (classifier x regressor), ridge on embeddings; site-balanced weights.
- Validation: 5-fold grouped by site (81 sites), repeated seeds, per-target shrinkage chosen on out-of-fold error; adversarial validation (AUC 0.945) to study the train/test shift.
Challenges we ran into
- The test set is a later period: predicting zero scores 1.145 on public test vs 1.000 on training sites, a shift no feature model removes. We documented it instead of probing the leaderboard (forbidden by the rules).
- No GPU or internet on our Kaggle account, so no Sentinel-2 foundation model; we used ImageNet weights on 3-band composites.
- Methane and CO do not transfer to new sites: leaderboard ablation showed their models hurt, so we predict the training mean for them.
Accomplishments that we're proud of
Flare physics features cut fire RMSE from 1.00 to 0.876 on unseen sites and helped on the public test too. Every number in the report comes from site-grouped validation, and the whole pipeline reruns in one CPU notebook with fixed seeds.
What we learned
Grouped CV is necessary but not sufficient; physics-grounded features transfer while weather-driven statistical skill can vanish with a period change; per-target shrinkage is cheap insurance; stacking that looks good in-sample can overfit (nested CV 0.889 vs 0.877).
What's next
A multispectral foundation model (all 12 bands) or a GPU fine-tuned CNN for fire and NO2, and time-aware validation if observation dates become available.
Results
| Check | Score |
|---|---|
| Grouped CV MCRMSE (held-out sites) | 0.879 (starter baseline 0.907) |
| Public leaderboard | 1.094 (all-zero submission 1.145) |
Full research write-up: attached PDF. Code: Kaggle notebook linked below (version 11, runs end-to-end on CPU in ~30 min, fixed seeds, no external data).
Built With
- catboost
- kaggle
- lightgbm
- python
- pytorch
- rasterio
- scikit-learn
- timm