Skip to content
Back to skills

Imagenet Zoom Classification Eval

ASecurity

Evaluates image classification models' accuracy on standard and out-of-distribution datasets. It specifically probes the impact of spatial zooming and foreground/background signal separation on model performance, revealing how much background cues contribute to classification accuracy. Use when the user wants to benchmark on ImageNet, ImageNet-A, ObjectNet, or asks about evaluating this task. Reports top-1 accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
researchpythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill imagenet-zoom-classification-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Imagenet Zoom Classification Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Imagenet Zoom Classification Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-imagenet-zoom-classification-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-imagenet-zoom-classification-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: imagenet-zoom-classification-eval
description: Evaluates image classification models' accuracy on standard and out-of-distribution datasets. It specifically probes the impact of spatial zooming and foreground/background signal separation on model performance, revealing how much background cues contribute to classification accuracy. Use when the user wants to benchmark on ImageNet, ImageNet-A, ObjectNet, or asks about evaluating this task. Reports top-1 accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2304.05538
  bibtex_key: [REDACTED]
  confidence: high
---

# imagenet-zoom-classification-eval

> ImageNet-Hard: The Hardest Images Remaining from a Study of the Power of Zoom and Spatial Biases in Image Classification — Taesiri et al. (2023) (arXiv:2304.05538, 2023)

## What this evaluates

Evaluates image classification models' accuracy on standard and out-of-distribution datasets. It specifically probes the impact of spatial zooming and foreground/background signal separation on model performance, revealing how much background cues contribute to classification accuracy.

## Datasets

- **ImageNet** — total ?; splits: test (-1)
- **ImageNet-A** — total ?; splits: test (-1)
- **ObjectNet** — total ?; splits: test (-1)

## Metrics

- `top-1 accuracy` **(primary)** — range: percent
  - Percentage of correctly predicted class labels out of the total number of test instances.
- `Mann-Whitney U test p-value` — range: [0, 1]
  - Non-parametric statistical test used to determine if there is a significant difference in the distribution of object counts between two datasets.

## Input / output format

**Input**: RGB images (original resolution or resized) fed into a pretrained vision classifier.

**Output**: Class label predictions (top-1) or aggregated accuracy scores across multiple zoom crops.

## Scoring recipe

```python
def compute_top1_accuracy(predictions, gold_labels):
    correct = sum(1 for p, g in zip(predictions, gold_labels) if p == g)
    return (correct / len(gold_labels)) * 100
```

## Common pitfalls

- Models heavily rely on background cues; masking background (BGSet) drastically drops accuracy, so standard ImageNet evaluation can overestimate robustness to spatial bias.
- Zoom-based test-time augmentation requires searching over multiple crop scales/positions; using a single 1-crop baseline significantly underestimates the model's potential accuracy.

## Evidence (verbatim from paper)

> Table A8: ImageNet classification from object-only and background-only signals. Numbers show the maximum possible top-1 accuracy (%) using zoom-based transforms for minimum set covers in Appendix B.4. We discover that background signals potentially hold significance for image classification.

## Citation

```bibtex
@misc{taesiri2023imagenethard,
  title={ImageNet-Hard: The Hardest Images Remaining from a Study of the Power of Zoom and Spatial Biases in Image Classification},
  author={Taesiri et al. (2023)},
  year={2023},
  note={arXiv:2304.05538}
}
```

- arXiv: 2304.05538

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.