bscd-fsl-eval
A Broader Study of Cross-Domain Few-Shot Learning — Guo et al. (2019) (arXiv:1912.07200, 2019)
What this evaluates
Evaluates cross-domain few-shot learning generalization from a source domain (ImageNet) to specialized imaging domains (agriculture, satellite, dermatology, radiology) that vary in perspective distortion, semantic content, and color depth.
Datasets
- CropDiseases — total ?; splits: train (-1), test (-1)
- EuroSAT — total ?; splits: train (-1), test (-1)
- ISIC2018 — total ?; splits: train (-1), test (-1)
- ChestX — total ?; splits: train (-1), test (-1)
Metrics
accuracy (primary) — range: [0, 1]
- Standard classification accuracy: the proportion of correctly predicted query images out of the total query set across all few-shot episodes.
Input / output format
Input: Images from a source domain (ImageNet) for meta-training, and few-shot support/query sets from target domains (CropDiseases, EuroSAT, ISIC2018, ChestX) for evaluation.
Output: Class labels for query images in each few-shot episode.
Scoring recipe
correct = 0
total = 0
for episode in episodes:
predictions = model.predict(episode.query_images, episode.support_images, episode.support_labels)
correct += sum(p == g for p, g in zip(predictions, episode.query_labels))
total += len(episode.query_labels)
return correct / total
Common pitfalls
- Datasets span a wide spectrum of image characteristics (perspective, semantics, color depth), so performance drops may reflect domain shift rather than algorithmic failure.
- The benchmark introduction does not specify few-shot episode construction (e.g., N-way K-shot splits), making exact reproduction difficult without the full paper or codebase.
Evidence (verbatim from paper)
The selected datasets reflect well-curated real-world use cases for few-shot learning. ... Having a few-shot learning model trained on a source domain such as ImageNet that can generalize to domains such as these, is highly desirable, as it enables effective learning for rare categories in new types of images, which has previously not been studied in detail. Evaluation is typically conducted using standard accuracy on query sets.
Citation
@misc{guo2019broader,
title={A Broader Study of Cross-Domain Few-Shot Learning},
author={Guo et al. (2019)},
year={2019},
note={arXiv:1912.07200}
}
1---2name: bscd-fsl-eval3description: Evaluates cross-domain few-shot learning generalization from a source domain (ImageNet) to specialized imaging domains (agriculture, satellite, dermatology, radiology) that vary in perspective distortion, semantic content, and color depth. Use when the user wants to benchmark on CropDiseases, EuroSAT, ISIC2018, ChestX, or asks about evaluating this task. Reports accuracy.4---56# bscd-fsl-eval78> A Broader Study of Cross-Domain Few-Shot Learning — Guo et al. (2019) (arXiv:1912.07200, 2019)910## What this evaluates1112Evaluates cross-domain few-shot learning generalization from a source domain (ImageNet) to specialized imaging domains (agriculture, satellite, dermatology, radiology) that vary in perspective distortion, semantic content, and color depth.1314## Datasets1516- **CropDiseases** — total ?; splits: train (-1), test (-1)17- **EuroSAT** — total ?; splits: train (-1), test (-1)18- **ISIC2018** — total ?; splits: train (-1), test (-1)19- **ChestX** — total ?; splits: train (-1), test (-1)2021## Metrics2223- `accuracy` **(primary)** — range: [0, 1]24 - Standard classification accuracy: the proportion of correctly predicted query images out of the total query set across all few-shot episodes.2526## Input / output format2728**Input**: Images from a source domain (ImageNet) for meta-training, and few-shot support/query sets from target domains (CropDiseases, EuroSAT, ISIC2018, ChestX) for evaluation.2930**Output**: Class labels for query images in each few-shot episode.3132## Scoring recipe3334```python35correct = 036total = 037for episode in episodes:38 predictions = model.predict(episode.query_images, episode.support_images, episode.support_labels)39 correct += sum(p == g for p, g in zip(predictions, episode.query_labels))40 total += len(episode.query_labels)41return correct / total42```4344## Common pitfalls4546- Datasets span a wide spectrum of image characteristics (perspective, semantics, color depth), so performance drops may reflect domain shift rather than algorithmic failure.47- The benchmark introduction does not specify few-shot episode construction (e.g., N-way K-shot splits), making exact reproduction difficult without the full paper or codebase.4849## Evidence (verbatim from paper)5051> The selected datasets reflect well-curated real-world use cases for few-shot learning. ... Having a few-shot learning model trained on a source domain such as ImageNet that can generalize to domains such as these, is highly desirable, as it enables effective learning for rare categories in new types of images, which has previously not been studied in detail. Evaluation is typically conducted using standard accuracy on query sets.5253## Citation5455```bibtex56@misc{guo2019broader,57 title={A Broader Study of Cross-Domain Few-Shot Learning},58 author={Guo et al. (2019)},59 year={2019},60 note={arXiv:1912.07200}61}62```6364- arXiv: 1912.07200