Free satellites such as Sentinel-2 photograph the whole planet every few days, but each pixel covers 10 m × 10 m of ground. Hedgerows, canals, small ponds and narrow tree lines are often thinner than a pixel. They show up only as a faint spectral tint mixed into neighbouring land cover, and global maps routinely miss them. Commercial imagery at a metre or finer does resolve them, but it is expensive and rarely revisited. This note proposes a self-supervised pre-training method that uses the sharp imagery only during training. A network that sees the coarse 10 m image learns to produce, for any point inside a pixel, a feature that matches what a sharp-image encoder sees at that exact sub-pixel location. Matching is scored contrastively: the correct sub-pixel location must be picked out from its neighbours inside the same coarse pixel and from many stored features drawn from other scenes. At deployment only coarse imagery is needed.
The bet is that this training signal and long-range context depend on each other. A single mixed pixel is ambiguous: a faint green tint could be a hedgerow, a field margin, or noise. The ambiguity is often resolved by structure many pixels away, such as the hedgerow continuing in a line across the field. Earlier work added global attention to supervised models and found that it helps, but not dramatically. We hypothesize that the gain from long-range context grows sharply once the objective asks the network to say where inside the pixel something is, because only distant evidence can answer that. The proposal is therefore a learning objective, plus a controlled test of whether that objective is what makes global context pay off for features smaller than a pixel.
Core Claim
Momentum contrast (MoCo) works as follows. A "query" network is trained by gradients. A "key" network is a slowly updated moving average of the query network. Keys from past batches are kept in a queue so each query can be compared against tens of thousands of negatives without a huge batch (Momentum Contrast for Unsupervised Visual Representation Learning). We change three things in this setup.
First, the query and key come from the same ground footprint at different resolutions: the query sees the degraded or native 10 m image, and the key sees co-registered sharp imagery.
Second, the query network does not output one pooled vector. It outputs a feature at any continuous coordinate through a small coordinate-conditioned decoder, an "implicit" decoder that maps a location plus nearby features to an output. This decoder is borrowed from the supervised cross-resolution change detector Continuous Cross-Resolution Remote Sensing Image Change Detection (SILI).
Third, the hardest negatives are deliberately the other sub-cells of the same coarse pixel.
Write $q_u$ for the query feature decoded at sub-pixel location $u$, $k_u$ for the key feature pooled from the sharp image over that same sub-cell, $F(u)$ for the other sub-cells sharing $u$'s coarse pixel, $\mathcal{Q}$ for the queue of stored keys, and $\tau$ for a temperature. The loss is
$$ \mathcal{L}_u = -\log \frac{\exp(q_u\cdot k_u/\tau)}{\exp(q_u\cdot k_u/\tau) + \sum_{v\in F(u)} \exp(q_u\cdot k_v/\tau) + \sum_{n\in\mathcal{Q}} \exp(q_u\cdot n/\tau)}. $$
The within-pixel negatives force the network to localize content inside the pixel. A plain regression target would let it output the pixel average. The queue supplies diversity across scenes at fixed memory.
The key encoder is the moving average of the same network applied to the sharp input. This means one set of weights must handle both resolutions, which addresses the gap between differently sampled scales that standard MoCo leaves open. In homogeneous areas, all sub-cells of a field look alike. Treating them as negatives would push apart things that are actually the same, the "class collision" problem that motivated the prototype-based variant of momentum contrast in Self-supervised Text-independent Speaker Verification using Prototypical Momentum Contrastive Learning. We handle this simply: any within-pixel negative whose key is nearly identical to the positive key is dropped.
Relation to Prior Work
Two papers come closest, from opposite sides.
Seasonal Contrast (SeCo) brought MoCo to Sentinel-2, using revisits of the same place as positive pairs. It works on pooled patch vectors at a single resolution with a plain ResNet-18, so it never asks about content inside a pixel. It motivates our setting and supplies the pre-training recipe we extend.
SILI handles mismatched resolutions with random resolution synthesis and the coordinate decoder we reuse. It is fully supervised by change masks, however, and its early attention is confined to local windows.
Pixel-Wise Multimodal Contrastive Learning (PIMC) contrasts at the pixel level, but only against in-batch negatives and with purely convolutional encoders. It shows that pixel-anchored contrast pays off, reaching 71.07% on PASTIS pixel classification against 70.15% for SeCo. It also leaves open whether a large decoupled negative pool helps at the dense level.
The cross-resolution pseudo-labelling pipeline in Remote sensing data fusion approach for estimating forest degradation segments 0.5 m imagery with HRNet and transfers the resulting masks to a 10 m classifier. It is the strongest supervised analogue of our idea, and we treat it as a direct competitor. Our method needs no high-resolution labels and produces features that are not tied to a single task.
On the architecture side, several modules supply candidate ways to provide long-range context. Criss-cross attention (CCNet) routes each pixel through its row and column at 11× less memory than full non-local attention. ELGC-Net's pooled-transpose attention (ELGC-Net) is linear in image size but pools before attending. Butterworth spectral gating (Butterworth as Attention) gives a global receptive field through the Fourier transform and reports that ordinary self-attention blurs sharp edges.
That last finding is a constraint on our design: a global module that pools or low-pass filters could erase exactly the sub-pixel signal our objective rewards. We therefore treat the choice of global module as an experimental factor and do not propose a new one. DGL-RSIS shows, without any training, that overhead objects are misread when cropped away from their surrounding landscape. This motivates the claim that distant context determines what a pixel is.
Research Program
Data. We build paired data in two regimes. The controlled regime takes high-resolution imagery with known ground truth and synthesizes 4× and 8× degraded versions, following SILI's synthesis protocol. Here the true sub-pixel content is known exactly. The LEVIR-CD and SV-CD imagery used by SILI are natural sources. The realistic regime uses genuinely cross-sensor pairs. The DynamicEarthNet-derived DE-CD pairs with roughly 3.3× resolution difference are one source. Co-registered PlanetScope (3.7 m) and Sentinel-2 acquisitions, the sensor pairing studied in Investigating the Use of Sentinel-1 for Improved Mapping of Small Peatland Water Bodies, are another.
Backbone and training. The backbone is a ResNet-18, matching SeCo and PIMC so comparisons are clean. One global-context module is inserted at the stage where the spatial grid is still fine enough to carry sub-pixel signal. Pre-training uses the loss above with an EMA momentum near 0.999 and a queue of stored keys tagged by scene, so that same-scene keys do not act as false negatives.
Analysis. We probe the learned features for sub-pixel localization. Concretely, a linear readout from $q_u$ should recover the sharp-image class at $u$ in the controlled regime. We also measure how far the attention reaches when the network resolves a narrow feature.
Baselines
The naive reference point is the downstream architecture trained from scratch with no pre-training. On Hedgementation that architecture is U-TAE, a convolutional encoder with temporal attention over the image series. The benchmark paper reports it as best, at 41% IoU on all pixels and 45.9% on agricultural pixels (Hedgementation). We rerun it with our tuning budget and do not rely only on the published figure. ImageNet initialization of the same encoder is a second weak reference. Static Alpha Earth Foundations embeddings with a Random Forest, reported at 22–23% IoU in the same paper, mark the floor for off-the-shelf embeddings.
The strongest existing self-supervised competitor is SeCo pre-training. It reports 87.81% mAP on BigEarthNet versus 86.05% for MoCo-v2 and 86.74% for ImageNet (Seasonal Contrast), and 46.94 F1 on OSCD change detection versus 36.20 for ImageNet. PIMC is the strongest pixel-level contrastive competitor at 97.44% on EuroSAT and 71.07% on PASTIS pixel classification (Pixel-Wise Multimodal Contrastive Learning).
The strongest supervised cross-resolution competitor is HRNet pseudo-label distillation as in the forest degradation pipeline. That paper reports 84.56% F1 for the high-resolution segmenter and 81.26% accuracy for the 10 m classifier, but only on its own boreal dataset. We re-implement it on our paired data. For cross-resolution change detection the reference is SILI. The file only reports SILI's gains relative to other methods (16 F1 over DMINet at 8× out of distribution, 1.3 F1 at 4×), so no reported absolute result was found on Lacuna, and we will rerun it.
Every pre-trained competitor gets the same Sentinel-2 imagery, the same ResNet-18, the same number of pre-training epochs, and the same downstream fine-tuning schedule. Each also gets the same hyperparameter search budget. The pseudo-label baseline additionally receives the sharp imagery, so it sees exactly the extra information our method does.
Four ablations isolate the key ingredient. The first replaces cross-resolution positives with same-resolution dense positives, giving a dense MoCo on Sentinel-2 only. The second removes the within-pixel negatives. The third replaces the contrastive loss with mean-squared regression onto a frozen sharp-image encoder's features. The fourth removes the queue, leaving in-batch negatives only.
Beating the field means two things. On Hedgementation, the gain over SeCo initialization of U-TAE must clearly exceed the roughly 2% IoU variation the benchmark reports across held-out regions. On LEVIR-CD(8×), we must match or beat SILI without using its change-mask supervision during pre-training.
Why not just…?
Why not just distill high-resolution pseudo-labels onto the 10 m grid? This is the most serious threat. The forest degradation pipeline shows it works for a single target class. Its limitation is that it needs a labelled high-resolution segmenter for every target class, and its supervision collapses each pixel to a class vote. Our pre-training is label-free and reusable across tasks. That argument only matters if accuracy holds, so we run the pseudo-label baseline with the same sharp imagery on Hedgementation and on the controlled LEVIR-CD regime. If pseudo-labelling matches us on the class it was trained for, the remaining case for our method rests on transfer to classes the labeller never saw, such as EuroSAT and BigEarthNet categories. We will report that case and no more.
Why not just super-resolve Sentinel-2 to a finer grid and run a standard segmenter? SILI's results argue against relying on fixed resampling. Upsampling-based change detectors lost 16 F1 points at an unseen 8× ratio, because the interpolation produces smeared inputs. A learned super-resolution front end could do better than plain interpolation. Its training objective still rewards plausible pixel values, not features useful for recognition, and on genuinely mixed pixels it tends to produce the average. We include a learned super-resolution stage trained on the same paired data as an extra baseline in the controlled regime, where the true sharp masks let us measure sub-pixel accuracy directly.
Why not just regress onto a frozen high-resolution teacher, with no queue or negatives? If the regression ablation matches the contrastive loss, then the momentum and queue machinery is unnecessary and we will say so. Our reason to expect otherwise is specific. A mixed pixel is consistent with several sub-pixel arrangements, and a squared-error target is minimized by their average. Within-pixel negatives instead penalize putting the content in the wrong sub-cell. The controlled sub-pixel readout decides this directly.
Why not just add a full global attention module to a supervised U-TAE? Full non-local attention costs 11× the memory of criss-cross routing at high resolution (CCNet), and spectral-gating results suggest it blurs edges. More importantly, the factorial experiment below includes a supervised model with global context and no pre-training. That arm tells us whether the objective adds anything beyond the architecture.
Proposed Experiments
The decisive test. The main experiment is a two-by-two design: same-resolution versus cross-resolution contrastive pre-training, crossed with a local-only encoder versus one with a global-context module. Every arm is fine-tuned identically. The primary metric is IoU on Hedgementation, also reported separately for agricultural pixels. In the controlled 4× and 8× regimes, the primary metric is sub-pixel mask accuracy at native resolution. The prediction is an interaction. Global context should help little under same-resolution pre-training and substantially under cross-resolution pre-training, with the gap concentrated on structures thinner than one coarse pixel. If the interaction is absent, the core claim fails, even if the method still improves accuracy overall.
Choosing the global module. Within the cross-resolution arm, we compare criss-cross attention, ELGC's pooled-transpose attention, Butterworth spectral gating, and SILI-style local windows. The Butterworth finding predicts that the pooling-based module will lose most on narrow features. Since natural hedgerows and canals are rarely axis-aligned, we also test whether criss-cross routing underperforms on diagonal structures. We do this by rotating test tiles: a fixed row-and-column pattern should be sensitive to rotation, while spectral gating should not.
Transfer and cost. We report linear-probe and fine-tuned results on EuroSAT and BigEarthNet against SeCo's and PIMC's published numbers. We report OSCD F1 against SeCo's 46.94, and LEVIR-CD(4×/8×) and DE-CD F1 against a rerun SILI. We also report pre-training memory with and without the queue at matched negative counts, to confirm that the queue is what makes dense negatives affordable.
References
- Momentum Contrast for Unsupervised Visual Representation Learning
- Continuous Cross-Resolution Remote Sensing Image Change Detection
- Self-Supervised Text-Independent Speaker Verification Using Prototypical Momentum Contrastive Learning
- Seasonal Contrast: Unsupervised Pre-Training from Uncurated Remote Sensing Data
- Pixel-Wise Multimodal Contrastive Learning for Remote Sensing Images
- Remote sensing data fusion approach for estimating forest degradation: a case study of boreal forests damaged by Polygraphus proximus
- CCNet: Criss-Cross Attention for Semantic Segmentation
- ELGC-Net: Efficient Local-Global Context Aggregation for Remote Sensing Change Detection
- Butterworth as Attention: Anisotropic Spectral Gating for Pansharpening
- DGL-RSIS: Decoupling Global Spatial Context and Local Class Semantics for Training-Free Remote Sensing Image Segmentation
- Investigating the Use of Sentinel-1 for Improved Mapping of Small Peatland Water Bodies: Towards Wildfire Susceptibility Monitoring in Canada’s Boreal Forest
- Hedgementation = Hedgerow Segmentation: A Remote Sensing Benchmark