TL;DR
Training CNNs to detect clouds in satellite imagery usually requires expensive, hand-drawn pixel-level masks. This paper introduces FCD, a weakly-supervised approach that uses a Fixed-Point GAN to translate cloudy images into clear ones, revealing cloud locations by looking at the difference. By using these generated masks to train a standard segmentation network (FCD+), the authors achieve near fully-supervised performance using only cheap image-level labels and a tiny fraction (1%) of pixel-level data.
What Problem Does This Paper Address?
Before analyzing satellite imagery for downstream tasks like crop monitoring or change detection, you have to find and mask out the clouds. While Convolutional Neural Networks (CNNs) are the state-of-the-art for cloud detection, they are incredibly data-hungry. Training them requires massive datasets with pixel-perfect, expert-annotated cloud masks, which are expensive and time-consuming to create for every new satellite sensor.
Rule-based methods (like the Fmask algorithm) exist, but they rely on hand-crafted physical thresholds that don't easily generalize across the rapidly growing constellation of commercial satellites. The authors tackle this bottleneck by asking: Can we train an accurate pixel-level cloud detector using only cheap, image-level labels (i.e., simply tagging an image patch as "contains clouds" or "clear")?
Methods
The authors propose a two-stage pipeline: FCD and FCD+.
- FCD (Fixed-Point GAN for Cloud Detection): Instead of using Class Activation Maps (CAMs)—the standard go-to for weakly-supervised localization—the authors frame the problem as image-to-image translation. They train a Fixed-Point GAN to translate cloudy image patches into clear ones. Crucially, the GAN is constrained by a conditional identity loss and a cycle consistency loss. This forces the generator to perform a "minimal translation"—it only alters the pixels containing clouds and leaves the underlying ground intact. If fed a clear image, it acts as an identity function (changing nothing). The pixel-level cloud mask is then simply extracted by calculating the difference between the original cloudy image and the GAN's clear output.
- FCD+ (Refining Generative Side Effects): Because GANs can introduce generative artifacts (like noisy edges on transparent clouds or "holes" where it misclassifies a patch), the authors introduce FCD+. They take the noisy pseudo-masks generated by FCD and use them to train a standard U-Net segmentation model. Because CNNs are naturally robust to label noise, the U-Net smooths out the GAN artifacts. Finally, this U-Net can be fine-tuned with a very small amount of ground-truth data.
Datasets
- Landsat-8 Biome dataset: A standard cloud detection benchmark containing 96 Landsat-8 scenes across 8 different biomes (e.g., barren, forest, snow/ice, urban). The authors use all 10 available 30-meter resolution bands. They split the scenes into 128x128 patches and derive image-level labels (cloudy vs. clear) from the provided pixel-level ground truth to simulate a weakly-supervised training environment.
Key Insights and Ideas
- Translation over Activation: Using a GAN to physically "erase" clouds and measuring the difference is a highly effective alternative to traditional CAMs for weakly-supervised localization, yielding much sharper boundaries and better overall accuracy.
- CNNs as Noise Filters: The two-stage approach (FCD+) is a clever exploitation of a known CNN property: robustness to label noise. By using the GAN to generate a massive but slightly noisy dataset, the U-Net learns the underlying true distribution of clouds rather than memorizing the GAN's specific artifacts.
- Massive Annotation Savings: The approach proves that you don't need 100% dense pixel labels to get production-ready models. Image-level tags combined with just 1% pixel-level data is enough to bridge the gap to fully supervised performance.
Key Results
- Superior Pseudo-Masks: FCD generated pseudo-masks with an 83.9% F1-score, absolutely crushing traditional CAM-based methods (the best of which, CAM, only hit 75.9%).
- Beating Rule-Based Systems: FCD+ (trained purely on image-level labels via the GAN pseudo-masks) achieved a 91.5% F1-score, outperforming the established, widely-used rule-based CFMask algorithm (87.2%).
- Matching Full Supervision: When FCD+ was fine-tuned with just 1% of the available pixel-level ground truth, it reached a 93.4% F1-score. This is practically identical to a fully supervised U-Net trained on 100% of the pixel-level data (93.9% F1).
- Qualitative Improvements: FCD+ successfully removed generative artifacts seen in the base FCD model, particularly fixing "patch-shaped holes" over difficult biomes where clouds look similar to the ground (like snow/ice and water).
Limitations and Future Work
- Limitations: The paper notes that the base FCD model struggles with semi-transparent clouds (where the brightness change between cloudy and clear is minimal) and can sometimes misclassify entire patches, leading to "holes" in the masks. While FCD+ largely mitigates this, the initial GAN generation is still a bottleneck for edge cases.
- Future Work: While not explicitly mapped out as a long list of future work, the natural next step implied by the research is applying this pipeline to new, high-resolution commercial satellite constellations where rule-based algorithms don't currently exist and pixel-level datasets haven't yet been built.
Summary updated