Inspiration
Methane is one of the fastest levers on near-term warming, and satellites are a main way to find it. But clouds and quality filters block many readings, and the signal from one facility is tiny next to the noise. OBSCURA asks how much we can say about the air above an industrial site from just a Sentinel-2 image and the weather and terrain around it. Predicting methane, NO2, CO, smoke and flares together also lets a model learn what burning and venting have in common.
What it does
For each facility-and-date sample, the model predicts five satellite-measured quantities at once: methane, nitrogen dioxide and carbon monoxide enhancements, the absorbing aerosol index, and fire/flare intensity. It is built to work on facilities it has never seen, at a later time than the training data.
How we built it
- Validation: site-grouped cross-validation (5 folds, 3 seeds), so scores reflect new facilities and not memorised sites.
- Image features: each 14-layer Sentinel-2 chip is cloud-masked with the scene classification layer. We summarise it by zone (whole chip, centre, middle ring, outer ring): band means, spectral indices, SWIR hot-pixel and flare cues, texture, and centre-versus-outer contrasts.
- Weather features: the provided features, plus wind components, a stagnation index and interactions.
- Models: regularised LightGBM, CatBoost and Ridge on two feature sets, a full one and a "dynamic" one that excludes site-identifying terrain and spectra. LightGBM uses physical monotone constraints (more wind means less enhancement, more SWIR hot pixels means more fire).
- Training: each target is trained only on rows where it was measured, with winsorised targets and site-size weighting.
- Blending: non-negative least squares on out-of-fold predictions, anchored at zero, so predictions can only shrink toward the mean. A target that does not beat predict-zero outputs 0. A final global shrinkage makes the model less confident on later dates.
Challenges we ran into
Grouped cross-validation gave about 0.895 (predict-zero is 1.0), but public scores were about 1.11 to 1.14. The test facilities are also observed later in time, and the data carry no dates, so validation cannot measure that shift. Added complexity (stacking, a free intercept) made the leaderboard score worse. Methane and CO enhancements are small compared with retrieval noise, so for those targets the honest answer is close to "predict nothing".
Accomplishments that we're proud of
- A leakage-free, site-grouped validation setup.
- A cleaner pipeline that improved on the official baseline on the public leaderboard
- Following the rules strictly: no external data, no attempt to identify sites or dates, and no probing of the test set.
What we learned
In a shifted setting, shrinking and simplifying beat adding complexity. Features that identify a site are a liability when the test sites are new. Cross-validation alone is not enough when there is a time shift, so it needs to be paired with a model that is deliberately under-confident.
What's next for Shrinkage-Robust Multi-Target Pollution Prediction
- Features and models that extrapolate better in time (weather-only linear or quantile models).
- Embeddings from general-purpose pretrained image models, acknowledged properly.
- A validation scheme that imitates a later period.
- Per-target shrinkage tuned on more data than the small public set.
Built With
- catboost
- jupyter
- kaggle
- lightgbm
- numpy
- pandas
- python
- rasterio
- scikit-learn
- scipy