luss-eval
Large-scale Unsupervised Semantic Segmentation — Gao et al. (2021) (arXiv:2106.03149, 2021)
What this evaluates
Evaluates the ability of models to perform pixel-level semantic segmentation on large-scale, diverse image collections without human annotations. It probes unsupervised representation learning, category discovery, and fine-grained mask prediction capabilities.
Datasets
- ImageNet-S — total ?; splits: val (-1), test (-1)
- ImageNet-S50 — total ?; splits: val (-1), test (-1)
- ImageNet-S300 — total ?; splits: val (-1), test (-1)
Metrics
mIoU (primary) — range: [0, 1]
- Mean Intersection over Union across all semantic classes. Calculated as the average of IoU per class, where IoU is the intersection over union of predicted and ground truth masks for each class.
b-mIoU — range: [0, 1]
- Boundary mean Intersection over Union. Similar to mIoU but computed on predicted and ground truth object boundaries rather than full masks.
Img-Acc — range: [0, 1]
- Image-level accuracy. The percentage of images where the predicted segmentation mask matches the ground truth mask exactly or meets a specified threshold.
Fβ — range: [0, 1]
- F-beta score balancing precision and recall for segmentation masks, typically weighted towards recall (β > 1) to penalize missed objects.
Input / output format
Input: RGB images (evaluated at full resolution; 224x224 crops used during training)
Output: Pixel-wise class assignment masks (segmentation maps) for each input image
Scoring recipe
def compute_miou(pred_masks, gt_masks, num_classes):
intersection = np.zeros(num_classes)
union = np.zeros(num_classes)
for p, g in zip(pred_masks, gt_masks):
for c in range(num_classes):
intersection[c] += np.logical_and(p == c, g == c).sum()
union[c] += np.logical_or(p == c, g == c).sum()
iou = intersection / np.maximum(union, 1)
return np.mean(iou)
Common pitfalls
- By default, the 'other' category is included in mIoU and b-mIoU calculations; excluding it changes scores significantly.
- Performance is highly sensitive to object size; small objects yield lower mIoU and b-mIoU, so aggregate scores may hide scale-specific failures.
- Fully unsupervised protocol strictly forbids supervised ImageNet-1k pre-training; methods using it are not directly comparable.
Evidence (verbatim from paper)
Comparison of our proposed LUSS method and existing USS methods on the ImageNet-S dataset using the fully unsupervised evaluation protocol. Test mIoU under different object sizes are provided. ... By default, the 'other' category is used to calculate mIoU and b-mIoU.
Citation
@misc{gao2021large,
title={Large-scale Unsupervised Semantic Segmentation},
author={Gao et al. (2021)},
year={2021},
note={arXiv:2106.03149}
}
1---2name: luss-eval3description: Evaluates the ability of models to perform pixel-level semantic segmentation on large-scale, diverse image collections without human annotations. It probes unsupervised representation learning, category discovery, and fine-grained mask prediction capabilities. Use when the user wants to benchmark on ImageNet-S, ImageNet-S50, ImageNet-S300, or asks about evaluating this task. Reports mIoU.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/luss-eval6 skill_kind: dataset_eval7 source_arxiv: 2106.031498 bibtex_key: gao2021large9 confidence: high10---1112# luss-eval1314> Large-scale Unsupervised Semantic Segmentation — Gao et al. (2021) (arXiv:2106.03149, 2021)1516## What this evaluates1718Evaluates the ability of models to perform pixel-level semantic segmentation on large-scale, diverse image collections without human annotations. It probes unsupervised representation learning, category discovery, and fine-grained mask prediction capabilities.1920## Datasets2122- **ImageNet-S** — total ?; splits: val (-1), test (-1)23- **ImageNet-S50** — total ?; splits: val (-1), test (-1)24- **ImageNet-S300** — total ?; splits: val (-1), test (-1)2526## Metrics2728- `mIoU` **(primary)** — range: [0, 1]29 - Mean Intersection over Union across all semantic classes. Calculated as the average of IoU per class, where IoU is the intersection over union of predicted and ground truth masks for each class.30- `b-mIoU` — range: [0, 1]31 - Boundary mean Intersection over Union. Similar to mIoU but computed on predicted and ground truth object boundaries rather than full masks.32- `Img-Acc` — range: [0, 1]33 - Image-level accuracy. The percentage of images where the predicted segmentation mask matches the ground truth mask exactly or meets a specified threshold.34- `Fβ` — range: [0, 1]35 - F-beta score balancing precision and recall for segmentation masks, typically weighted towards recall (β > 1) to penalize missed objects.3637## Input / output format3839**Input**: RGB images (evaluated at full resolution; 224x224 crops used during training)4041**Output**: Pixel-wise class assignment masks (segmentation maps) for each input image4243## Scoring recipe4445```python46def compute_miou(pred_masks, gt_masks, num_classes):47 intersection = np.zeros(num_classes)48 union = np.zeros(num_classes)49 for p, g in zip(pred_masks, gt_masks):50 for c in range(num_classes):51 intersection[c] += np.logical_and(p == c, g == c).sum()52 union[c] += np.logical_or(p == c, g == c).sum()53 iou = intersection / np.maximum(union, 1)54 return np.mean(iou)55```5657## Common pitfalls5859- By default, the 'other' category is included in mIoU and b-mIoU calculations; excluding it changes scores significantly.60- Performance is highly sensitive to object size; small objects yield lower mIoU and b-mIoU, so aggregate scores may hide scale-specific failures.61- Fully unsupervised protocol strictly forbids supervised ImageNet-1k pre-training; methods using it are not directly comparable.6263## Evidence (verbatim from paper)6465> Comparison of our proposed LUSS method and existing USS methods on the ImageNet-S dataset using the fully unsupervised evaluation protocol. Test mIoU under different object sizes are provided. ... By default, the 'other' category is used to calculate mIoU and b-mIoU.6667## Citation6869```bibtex70@misc{gao2021large,71 title={Large-scale Unsupervised Semantic Segmentation},72 author={Gao et al. (2021)},73 year={2021},74 note={arXiv:2106.03149}75}76```7778- arXiv: 2106.03149