Satellites photograph the same patch of ground every few days. Over a few weeks the land barely changes, but the images do: some dates are crisp, others are washed out by haze, thin cloud, or low sun. The leading self-supervised method for satellite imagery, Seasonal Contrast, trains an encoder to give all of these dates the same feature vector. That makes the encoder robust, but it also makes it unable to tell when an input has degraded past the point where its own downstream predictions can be trusted. Quality-aware representation learning does the opposite. It trains encoders to notice degradation, but it depends almost entirely on synthetic blur and noise, which are known to miss real, compound distortions.
We propose to use real revisit stacks as the missing source of authentic degradation. The encoder gets two parts that share one backbone. A content embedding stays invariant across dates of the same location. A quality embedding is pushed to order those same dates by how badly the atmosphere and sensor have degraded them. The ordering comes from weak physical signals that exist for Sentinel-2 at training time but are often missing at test time. The bet is that a model trained this way keeps clean-image accuracy, holds up better on hazy or coarse imagery, and can predict when a downstream model will fail on a tile. It should do this even on archives that carry no atmospheric metadata.
Core Claim
On revisit pairs, invariance and quality sensitivity are not in conflict once they live in separate subspaces, and the real atmospheric variation inside a revisit stack is a better teacher of machine-relevant quality than synthetic distortions or scene-level metadata. Concretely, we claim three things. First, a content subspace trained with Seasonal Contrast-style invariance plus an explicitly ranked quality subspace matches Seasonal Contrast on clean benchmarks. Second, the same model beats it on real hazy versions of the same test locations. Third, its quality score predicts per-tile downstream error better than cloud and aerosol metadata, and better than natural-image quality models.
Where This Sits in Prior Work
The motivating tension comes from two lines of work that make opposite choices about the same image pairs.
Seasonal Contrast builds positive pairs from Sentinel-2 images of one location taken months apart. Its encoder therefore absorbs seasonal, illumination, and atmospheric change. Its multi-head design does keep some embeddings sensitive to time, which helps change detection. That sensitivity, however, is to any temporal difference, with no ordering and no separation of land change from atmospheric degradation. This is the closest existing work. Our difference is precise: we separate "the ground changed" from "the view got worse," and we impose a monotone quality order on the second.
Quality-aware contrastive methods take the reverse view. Zhao et al. and Madhusudana et al. treat differently distorted copies of one scene as negatives. Pfister et al. impose ranking across severity levels. Mishra et al. apply the negative-pair idea to video. We reuse their ranking and negative-pair machinery as the method for the quality subspace.
These methods also constrain our design. Dai et al. document that standard pretraining discards degradation cues. Work on authentically distorted images shows that synthetic distortions miss real compound ones. That second finding is the reason we lean on real revisits rather than more synthetic augmentation.
Two degradation-aware systems supply partial methods but stop short of our question:
- AERIS trains a detector encoder jointly with a restoration decoder so that features stay useful under blur and downsampling. It reports 18.4 mAP on degraded COCO against 16.8 for a restore-then-detect pipeline. It never leaves ground-level photos or Gaussian degradations.
- PhyDAE models remote sensing haze, noise, blur, and low light with physics-guided experts. It is purely pixel restoration and is scored by PSNR, not by downstream recognition.
We borrow PhyDAE's insight that the residual between degraded and clean views carries the degradation signature, but we use it as a representation target rather than an output.
On the remote sensing side, two papers motivate the problem without solving it:
- Barbier et al. show that internet-pretrained detectors collapse on overhead imagery, at 0.04 zero-shot mAP for GLIP on DIOR.
- the geospatial continual-pretraining work adapts ImageNet models cheaply on curated clean imagery.
Both evaluate only clean data, so neither tells us how these encoders behave when the atmosphere intervenes.
Research Program
Pretraining data are Sentinel-2 revisit stacks gathered with TorchGeo, following Seasonal Contrast's sampling of populated and agricultural centers. Stacks are built in two kinds of window:
- Short windows (a few weeks), where land cover is assumed fixed and differences are mostly atmospheric or illumination.
- Long windows (months), as in Seasonal Contrast, where real seasonal change also occurs.
Each image carries a weak quality target $q$. It is built from the per-pixel aerosol-thickness and cloud/cirrus-probability layers that Sentinel-2 Level-2A processing provides, aggregated over the patch. The target is used only to order dates within a short window, never as an absolute score, so systematic bias in the metadata matters less.
To give dense, controlled supervision alongside the real pairs, clear dates are also degraded synthetically:
- Haze is added per spectral band with strength scaling roughly as wavelength to the power minus four, the Rayleigh form. Blue bands are hit hardest and near- and short-wave infrared barely at all, unlike RGB Gaussian augmentation.
- Sensor blur is applied, followed by downsampling to coarser ground sampling distances.
The encoder has a shared backbone and two projection heads, $f_c$ for content and $f_q$ for quality. The training objective is
$$ \mathcal{L} = \mathcal{L}_{\text{inv}}\big(f_c(x_t), f_c(x_{t'})\big) + \lambda\, \mathcal{L}_{\text{rank}}\big(f_q;\ q_t > q_{t'}\big) + \mu\, \big\| C(f_c, f_q) \big\|_F^2 . $$
The terms are as follows:
- $x_t$ and $x_{t'}$ are two dates of the same location.
- $\mathcal{L}_{\text{inv}}$ is a contrastive loss treating them as positives for the content head, used on both window types.
- $\mathcal{L}_{\text{rank}}$ is a pairwise margin ranking loss requiring a scalar readout of $f_q$ to order the two dates by their quality targets $q_t$ and $q_{t'}$. It is applied only within short windows and on synthetic pairs, so seasonal change is never mistaken for degradation.
- $C(f_c, f_q)$ is the cross-covariance between the two heads' outputs over a batch, and $\|\cdot\|_F$ is the Frobenius norm. Penalizing it discourages the quality head from simply copying content.
- $\lambda$ and $\mu$ are loss weights.
To block the shortcut documented in quality-assessment work, where texture is read as noise and smooth regions as blur, we also use patch mixing between dates in the style of Shan et al..
We train two variants:
- A ResNet-50 on the 13 Sentinel-2 bands, for a like-for-like comparison with Seasonal Contrast.
- A Swin RGB variant continually pretrained from the geospatial foundation model checkpoint, to test transfer to aerial archives that carry no atmospheric metadata.
The same backbone serves two downstream uses. Content features are fine-tuned for recognition. The quality readout is used without labels to rank tiles or revisits by expected machine reliability.
Baselines
The naive reference points are ImageNet-supervised initialization and plain MoCo-v2 on the same Sentinel-2 data. Seasonal Contrast reports these at 86.74% and 86.05% mAP on BigEarthNet, respectively. We rerun both with our fine-tuning recipe.
The strongest existing recognition competitor is Seasonal Contrast itself. It reports 87.81% mAP on BigEarthNet and 46.94 F1 on Onera change detection, against 36.20 for ImageNet Seasonal Contrast. We reproduce it on identical revisit data, backbone, epochs, and fine-tuning budget, and report our reproduction alongside the published figures. Beating it means two things:
- Staying within 0.3 mAP on clean BigEarthNet.
- Exceeding it by a margin larger than the seed-to-seed spread, estimated from five seeds, on the real-haze test split described below.
For the RGB variant, the corresponding baseline is the geospatial continual-pretraining model, run with matched hours. Its paper reports gains on seven tasks but no tabular numbers in our file. On DIOR detection, the reference is full fine-tuning, which Barbier et al. report at 0.75 mAP on clean data. No reported result was found on Lacuna for DIOR under haze or reduced resolution, so we will establish that number ourselves.
For predicting failure, there are four baselines:
- The raw Level-2A cloud and aerosol metadata.
- A natural-image quality encoder in the style of Madhusudana et al., trained on the same synthetic distortions but on ground-level photos.
- Seasonal Contrast's time-sensitive head, used as a quality probe.
- The detector's own softmax confidence.
The key ablations isolate the proposal's ingredients:
- Real revisit pairs removed, leaving synthetic-only quality training.
- Synthetic pairs removed.
- The ranking replaced by unordered negatives.
- The two heads merged into one.
Why not just…?
Why not just train Seasonal Contrast with heavy haze and blur augmentation? This is the most serious threat to the robustness claim. Making the encoder invariant to degradation may be all that recognition needs. Seasonal Contrast's own comparison shows synthetic-augmentation contrast (MoCo-v2) underperforming natural temporal contrast on BigEarthNet, but that comparison used generic distortions, not wavelength-aware haze. We therefore run this baseline with exactly our synthetic degradation pipeline. If it matches our content head on the real-haze split, we will concede the robustness claim. What remains is the failure-prediction claim, which an invariant encoder cannot address by construction because it has thrown the degradation information away.
Why not just restore images first, with PhyDAE, and feed a standard encoder? On ground-level photos, AERIS beat a blind super-resolution front end (18.4 versus 16.8 mAP) while running at 87.4 frames per second. PhyDAE, though more efficient than earlier restorers, is still a full extra network at inference. No remote sensing recognition numbers exist for restore-then-recognize. We will run PhyDAE in front of the Seasonal Contrast encoder on the degraded splits and report accuracy and throughput together. Restoration optimized for PSNR may also hallucinate texture that misleads small-object detection, and our DIOR experiment measures exactly that.
Why not just use the cloud and aerosol metadata as the quality score? On Sentinel-2 this may be nearly as good as anything learned, and we treat that as a real possibility. Two things would justify the learned score:
- Interaction with content. The same haze level should hurt a small-vehicle tile far more than a large-field tile, and scene-level metadata cannot express this. We test it by measuring the partial correlation between our score and downstream error after controlling for metadata.
- Availability. DIOR, aerial mosaics, and many commercial archives ship without such layers. We test this by training on Sentinel-2 and scoring DIOR tiles with no metadata at all.
If the learned score adds nothing beyond metadata on Sentinel-2 and also fails to transfer, the quality half of the proposal fails.
Proposed Experiments and Decisive Checks
Recognition is evaluated on BigEarthNet, EuroSAT, and Onera change detection, each in two conditions.
- Clean. The standard benchmark splits.
- Real degraded. We exploit the revisit structure: for each test location we retrieve a hazier acquisition from the same short window and transfer the original labels, since land cover is stable over weeks. This gives a real atmospheric shift with no synthetic assumptions. Synthetic haze and coarse-resolution versions are added at graded severities to trace how accuracy falls as severity rises.
On MD-RSID and MDRS-Landsat from PhyDAE, we check that the quality readout orders degradation types and strengths correctly. For the RGB variant, DIOR is degraded with haze and downsampling to mimic ground sampling distances from 0.5 to 30 meters.
Failure prediction has three measures:
- Spearman correlation between the quality score and each tile's increase in downstream loss relative to its clearest revisit.
- Area under the risk–coverage curve when low-quality tiles are abstained on.
- A revisit-selection task: choose one date per location for downstream inference. Our selection is compared against the lowest-metadata-cloud date, random choice, and an oracle.
The decisive results come down to three. First, the content head must hold clean accuracy while improving on the real-haze split over Seasonal Contrast and over its augmented variant. Second, the quality score must beat metadata on the partial-correlation test and beat the natural-image quality encoder on transfer to DIOR. Third, the synthetic-only ablation must be clearly worse at predicting failure under real haze than the full model, which is the direct evidence that real revisits, not synthetic distortion, carry the useful signal. If the first fails but the other two hold, the contribution narrows to a machine-oriented quality estimator for Earth observation. If the second and third both fail, the idea is wrong.
References
- Seasonal Contrast: Unsupervised Pre-Training from Uncurated Remote Sensing Data
- Quality-aware Pretrained Models for Blind Image Quality Assessment
- Image Quality Assessment using Contrastive Learning
- Self-Supervised Multi-Task Pretraining Improves Image Aesthetic Assessment
- Subjective and Objective Analysis of Indian Social Media Video Quality
- Feature Denoising Diffusion Model for Blind Image Quality Assessment
- No Reference Opinion Unaware Quality Assessment of Authentically Distorted Images
- Exploring Resolution and Degradation Clues as Self-supervised Signal for Low Quality Object Detection
- PhyDAE: Physics-Guided Degradation-Adaptive Experts for All-in-One Remote Sensing Image Restoration
- How to Efficiently Adapt Foundation Models to Remote Sensing for Object Detection?
- Towards Geospatial Foundation Models via Continual Pretraining
- Advancing Earth Observation Through Machine Learning: A TorchGeo Tutorial
- Contrastive Pre-Training with Multi-View Fusion for No-Reference Point Cloud Quality Assessment