croma-eval
CROMA: Remote Sensing Representations with Contrastive Radar-Optical Masked Autoencoders — Fuller et al. (2023) (arXiv:2311.00566, 2023)
What this evaluates
Evaluates self-supervised remote sensing representations across classification and segmentation tasks using optical and radar-optical inputs. Probes representation quality via finetuning, linear/nonlinear probing, kNN, and clustering.
Datasets
- BigEarthNet — total 153485; splits: train (35420), val (118065)
- fMoW-Sentinel — total 156226; splits: train (71287), val (84939)
- EuroSAT — total 21600; splits: train (16200), val (5400)
- Canadian Cropland — total 76972; splits: train (53884), val (23088)
- DFC2020 — total 55026; splits: train (46152), val (8874)
- DW-Expert — total 71444; splits: train (20422), val (51022)
- MARIDA — total 3297; splits: train (1682), val (1615)
Metrics
mAP (primary) — range: [0, 1]
- Mean Average Precision across all classes. Computes the average precision for each class and averages them, suitable for multi-label classification.
Top 1 Acc. (primary) — range: [0, 1]
- Top-1 Accuracy. The fraction of samples where the predicted class matches the ground truth label.
mIoU (primary) — range: [0, 1]
- Mean Intersection over Union. Computes the IoU for each class between predicted and ground truth masks, then averages across all classes.
kNN Accuracy — range: [0, 1]
- Accuracy of a non-parametric k-Nearest Neighbors classifier (k=20) using frozen representations.
K-means Accuracy — range: [0, 1]
- Clustering accuracy obtained by applying K-means to frozen representations and matching cluster labels to ground truth.
F1 score — range: [0, 1]
- Harmonic mean of precision and recall for binary classification tasks in sparse probing experiments.
Input / output format
Input: Sentinel-2 multispectral images (12 bands) and/or Sentinel-1 radar images (VV, VH backscatter), typically resized to 264×264 for classification or cropped to 96×96 for segmentation.
Output: Class labels (multi-label for BigEarthNet, single-label for others), segmentation masks, or frozen feature vectors for probing.
Scoring recipe
def compute_metrics(predictions, gold, task):
if task == 'classification':
if gold.ndim > 1: # multi-label
return mean_average_precision(gold, predictions)
else:
return accuracy(gold, predictions.argmax(axis=1))
elif task == 'segmentation':
return mean_intersection_over_union(gold, predictions)
elif task == 'knn':
return knn_accuracy(gold, predictions, k=20)
elif task == 'clustering':
return clustering_accuracy(gold, predictions)
elif task == 'sparse_probing':
return f1_score(gold, predictions)
Common pitfalls
- Using the full training set instead of the 10% split for BigEarthNet and fMoW-Sentinel, which inflates performance and breaks fair comparison.
- Comparing models trained under different data splits or hyperparameter budgets, as originally reported results vary significantly.
- Ignoring distribution shift when finetuning on datasets like fMoW-Sentinel where the model was pre-trained on the same data, giving baselines an unfair advantage.
Evidence (verbatim from paper)
Table 1: Classification results on four benchmarks, under finetuning (FT), and frozen linear (LP) and nonlinear (MLP) probing. BigEarthNet (10%) mAP, fMoW-Sentinel (10%) Top 1 Acc., EuroSAT Top 1 Acc., Canadian Cropland Top 1 Acc.
Citation
@misc{fuller2023croma,
title={CROMA: Remote Sensing Representations with Contrastive Radar-Optical Masked Autoencoders},
author={Fuller et al. (2023)},
year={2023},
note={arXiv:2311.00566}
}
1---2name: croma-eval3description: Evaluates self-supervised remote sensing representations across classification and segmentation tasks using optical and radar-optical inputs. Probes representation quality via finetuning, linear/nonlinear probing, kNN, and clustering. Use when the user wants to benchmark on BigEarthNet, fMoW-Sentinel, EuroSAT, Canadian Cropland, DFC2020, DW-Expert, MARIDA, or asks about evaluating this task. Reports mAP, Top 1 Acc., mIoU.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/croma-eval6 skill_kind: dataset_eval7 source_arxiv: 2311.005668 bibtex_key: fuller2023croma9 confidence: high10---1112# croma-eval1314> CROMA: Remote Sensing Representations with Contrastive Radar-Optical Masked Autoencoders — Fuller et al. (2023) (arXiv:2311.00566, 2023)1516## What this evaluates1718Evaluates self-supervised remote sensing representations across classification and segmentation tasks using optical and radar-optical inputs. Probes representation quality via finetuning, linear/nonlinear probing, kNN, and clustering.1920## Datasets2122- **BigEarthNet** — total 153485; splits: train (35420), val (118065)23- **fMoW-Sentinel** — total 156226; splits: train (71287), val (84939)24- **EuroSAT** — total 21600; splits: train (16200), val (5400)25- **Canadian Cropland** — total 76972; splits: train (53884), val (23088)26- **DFC2020** — total 55026; splits: train (46152), val (8874)27- **DW-Expert** — total 71444; splits: train (20422), val (51022)28- **MARIDA** — total 3297; splits: train (1682), val (1615)2930## Metrics3132- `mAP` **(primary)** — range: [0, 1]33 - Mean Average Precision across all classes. Computes the average precision for each class and averages them, suitable for multi-label classification.34- `Top 1 Acc.` **(primary)** — range: [0, 1]35 - Top-1 Accuracy. The fraction of samples where the predicted class matches the ground truth label.36- `mIoU` **(primary)** — range: [0, 1]37 - Mean Intersection over Union. Computes the IoU for each class between predicted and ground truth masks, then averages across all classes.38- `kNN Accuracy` — range: [0, 1]39 - Accuracy of a non-parametric k-Nearest Neighbors classifier (k=20) using frozen representations.40- `K-means Accuracy` — range: [0, 1]41 - Clustering accuracy obtained by applying K-means to frozen representations and matching cluster labels to ground truth.42- `F1 score` — range: [0, 1]43 - Harmonic mean of precision and recall for binary classification tasks in sparse probing experiments.4445## Input / output format4647**Input**: Sentinel-2 multispectral images (12 bands) and/or Sentinel-1 radar images (VV, VH backscatter), typically resized to 264×264 for classification or cropped to 96×96 for segmentation.4849**Output**: Class labels (multi-label for BigEarthNet, single-label for others), segmentation masks, or frozen feature vectors for probing.5051## Scoring recipe5253```python54def compute_metrics(predictions, gold, task):55 if task == 'classification':56 if gold.ndim > 1: # multi-label57 return mean_average_precision(gold, predictions)58 else:59 return accuracy(gold, predictions.argmax(axis=1))60 elif task == 'segmentation':61 return mean_intersection_over_union(gold, predictions)62 elif task == 'knn':63 return knn_accuracy(gold, predictions, k=20)64 elif task == 'clustering':65 return clustering_accuracy(gold, predictions)66 elif task == 'sparse_probing':67 return f1_score(gold, predictions)68```6970## Common pitfalls7172- Using the full training set instead of the 10% split for BigEarthNet and fMoW-Sentinel, which inflates performance and breaks fair comparison.73- Comparing models trained under different data splits or hyperparameter budgets, as originally reported results vary significantly.74- Ignoring distribution shift when finetuning on datasets like fMoW-Sentinel where the model was pre-trained on the same data, giving baselines an unfair advantage.7576## Evidence (verbatim from paper)7778> Table 1: Classification results on four benchmarks, under finetuning (FT), and frozen linear (LP) and nonlinear (MLP) probing. BigEarthNet (10%) mAP, fMoW-Sentinel (10%) Top 1 Acc., EuroSAT Top 1 Acc., Canadian Cropland Top 1 Acc.7980## Citation8182```bibtex83@misc{fuller2023croma,84 title={CROMA: Remote Sensing Representations with Contrastive Radar-Optical Masked Autoencoders},85 author={Fuller et al. (2023)},86 year={2023},87 note={arXiv:2311.00566}88}89```9091- arXiv: 2311.00566