Demystifying clip data arxiv 2309 16671v4

From feiyang-k/curation-bench · View interactive version

Demystifying clip data arxiv 2309 16671v4 is an AI agent skill from the GitHub repository feiyang-k/curation-bench. Use this skill when you want to curate CLIP training data using metadata from an existing high-quality dataset rather than model-based filtering. Avoid it when you do not have a reference metadata set

How to use this skill

Skill file

Demystifying CLIP Data

One-line decision

Use this skill when you want to curate CLIP training data using metadata from an existing high-quality dataset rather than model-based filtering. Avoid it when you do not have a reference metadata set or prefer model-based scoring over metadata matching.

Skill metadata

Goal

Curate CLIP training data by aligning a large candidate pool's metadata distribution with that of a high-quality reference dataset (CLIP's WIT), using substring matching on text rather than model-based scoring.

Problem signature

Use when

Do not use when

Required inputs

Optional inputs

Outputs

Assumptions and prerequisites

Procedure

  1. Extract reference metadata

Action: Collect text entries from the reference dataset (e.g., CLIP's WIT 500K queries).

Why: These entries define the target data distribution.

Note: See paper for details.

  1. Substring match candidates

Action: For each candidate pair, check whether its text contains any reference metadata entry as a substring.

Why: Selects candidates whose text aligns with the reference distribution.

Note: See paper for details.

  1. Balance across entries

Action: Cap the number of matches per metadata entry (e.g., 20K) to prevent dominant entries from skewing the distribution.

Why: Ensures concept diversity in the curated dataset.

Note: See paper for details.

  1. Train CLIP on curated data

Action: Train a CLIP model on the curated MetaCLIP dataset.

Why: Validates that the curation strategy produces high-quality training data.

Note: See paper for details.

  1. Benchmark against baselines

Action: Compare to OpenAI CLIP and OpenCLIP trained on other datasets.

Why: Demonstrates the effectiveness of metadata-curated data.

Note: See paper for details.

Parameters to set

Validation checks

Failure modes

Adaptation notes for VLM training

Implementation notes

Evidence from the paper

Source paper

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.