Overview  /  Missing bands

Downstream task · spectral completion

Recovering missing Sentinel-2 bands

EAGLE treats a subset of Sentinel-2 bands as a separate sensor. For each subset only the observation parameters are refitted; all network weights are kept fixed.

2.13 MAE with red-edge and NIR withheld (next best 5.24) −43% error with SWIR withheld 0 neural weights retrained

Method

Band subsets as sensor variants

  1. 1

    Band-aware encoding

    The available bands go straight into the encoder, which embeds each band with its wavelength, bandwidth and resolution, so nothing in the architecture changes.

  2. 2

    Observation model

    For each subset, only the observation parameters Ai, bi, Ri are refitted on development data. Every neural weight stays fixed.

  3. 3

    Fusion and decoding

    The closed-form fusion turns the subset into a scene posterior; Stage B completes the scene and the decoder returns every Sentinel-2 L2A band, including the withheld ones.

Results · 500 MajorTOM scenes

Lower error than spectral foundation models

With the red-edge and NIR bands withheld, EAGLE's error is less than half that of SatMAE and SpectralGPT+; with the SWIR bands withheld, it is 43% below the best of them.

given to EAGLE withheld, to be recovered
MethodMAE ↓ (reflectance × 100)PSNR ↑SSIM ↑SAM ↓

Qualitative comparison

Reconstructed bands

Reconstructions of the withheld bands by EAGLE, SatMAE and SpectralGPT+.

EAGLE shows the mean of 20 samples. Each panel uses the real band's 2–98% range; MAE in reflectance on the central 192 px.

Figure

Reconstructed bands and spectral indices

Withheld red-edge and NIR bands (left) and SWIR bands (right): inputs, ground truth and EAGLE's reconstruction with per-band MAEClick to enlarge
Left: red-edge and NIR bands withheld; right: SWIR bands withheld. Input bands, the ground truth and EAGLE's reconstruction, with the MAE of each band (reflectance) and the derived indices (NDRE, NDMI, NBR).

Usage

Command-line usage

The withheld bands are hidden from the model and scored against the scene's own bands. Settings: rededge, swir and s20m.

bash
python infer.py bands --scene majortom_val_0042409 --setting rededge
# writes the completed bands, a preview per band and result.json
python
from eagle.downstream import MissingBandsS2
MissingBandsS2(model).complete(batch, "rededge")["mean"]