Skip to content
Back to skills

Datacomp Zero Shot Eval

ASecurity

Evaluates zero-shot generalization of vision-language models across a broad suite of classification and retrieval tasks, with a focus on image-text alignment and retrieval accuracy. Use when the user wants to benchmark on DataComp Zero-Shot Suite, or asks about evaluating this task. Reports ImageNet accuracy.

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

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill datacomp-zero-shot-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Datacomp Zero Shot Eval?

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

Security grade badge for Datacomp Zero Shot Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-datacomp-zero-shot-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-datacomp-zero-shot-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: datacomp-zero-shot-eval
description: Evaluates zero-shot generalization of vision-language models across a broad suite of classification and retrieval tasks, with a focus on image-text alignment and retrieval accuracy. Use when the user wants to benchmark on DataComp Zero-Shot Suite, or asks about evaluating this task. Reports ImageNet accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2307.10350
  bibtex_key: [REDACTED]
  confidence: high
---

# datacomp-zero-shot-eval

> Improving Multimodal Datasets with Image Captioning — Nguyen et al. (2023) (arXiv:2307.10350, 2023)

## What this evaluates

Evaluates zero-shot generalization of vision-language models across a broad suite of classification and retrieval tasks, with a focus on image-text alignment and retrieval accuracy.

## Datasets

- **DataComp Zero-Shot Suite** — total ?; splits: test (-1)

## Metrics

- `ImageNet accuracy` **(primary)** — range: [0, 1]
  - Percentage of correctly classified images in the zero-shot setting.
- `Average accuracy over 38 tasks` — range: [0, 1]
  - Mean accuracy across 38 classification and retrieval tasks from the DataComp benchmark.
- `Flickr30K/MS-COCO retrieval score` — range: [0, 1]
  - Average of text-to-image Recall@1 and image-to-text Recall@1.

## Input / output format

**Input**: For training: image-text pairs with synthetic captions. For evaluation: zero-shot images and text queries from benchmark datasets.

**Output**: Predicted class labels for classification tasks; ranked lists of images or texts for retrieval tasks.

## Scoring recipe

```python
# Classification accuracy
preds = model.zero_shot_predict(images)
acc = (preds == gold_labels).mean()

# Retrieval score (Flickr30K / MS-COCO)
r1_t2i = recall_at_k(gold_texts, candidate_images, k=1)
r1_i2t = recall_at_k(gold_images, candidate_texts, k=1)
retrieval_score = (r1_t2i + r1_i2t) / 2

# Overall suite metric
avg_acc = mean([acc_task for task in tasks_38])
```

## Common pitfalls

- Standard captioning metrics like CIDEr do not correlate with caption quality for CLIP training, so they should not be used to judge dataset utility.
- Retrieval performance must be averaged across both text-to-image and image-to-text Recall@1 directions, not reported for a single direction.
- Evaluation is strictly zero-shot; fine-tuning on benchmark data violates the protocol.

## Evidence (verbatim from paper)

> We adopt DataComp's zero-shot evaluation suite and report both ImageNet accuracy and the average accuracy over 38 classification and retrieval tasks proposed by the benchmark [18]. We also pay particular attention to retrieval performance on Flickr30K [54] and MS-COCO [11]. The retrieval score reported is the average of text-to-image Recall@1 and image-to-text Recall@1.

## Citation

```bibtex
@misc{nguyen2023improvingmultimodal,
  title={Improving Multimodal Datasets with Image Captioning},
  author={Nguyen et al. (2023)},
  year={2023},
  note={arXiv:2307.10350}
}
```

- arXiv: 2307.10350

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.