Skip to content
Back to skills

Dreambench Eval

ASecurity

Evaluates subject-driven image generation by measuring how well the model follows text instructions and preserves the reference subject from the source image. It tests the model's ability to extract and reuse specific objects without fine-tuning. Use when the user wants to benchmark on DreamBench, or asks about evaluating this task. Reports CLIP-T.

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

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill dreambench-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dreambench Eval?

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

Security grade badge for Dreambench Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-dreambench-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-dreambench-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: dreambench-eval
description: Evaluates subject-driven image generation by measuring how well the model follows text instructions and preserves the reference subject from the source image. It tests the model's ability to extract and reuse specific objects without fine-tuning. Use when the user wants to benchmark on DreamBench, or asks about evaluating this task. Reports CLIP-T.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2409.11340
  bibtex_key: xiao2024omnigen
  confidence: high
---

# dreambench-eval

> OmniGen: Unified Image Generation — Shitao Xiao et al. (2024) (arXiv:2409.11340, 2024)

## What this evaluates

Evaluates subject-driven image generation by measuring how well the model follows text instructions and preserves the reference subject from the source image. It tests the model's ability to extract and reuse specific objects without fine-tuning.

## Datasets

- **DreamBench** — total ?; splits: test (-1)

## Metrics

- `CLIP-T` **(primary)** — range: [0, 1]
  - Cosine similarity between CLIP text embeddings of the instruction and the generated image.
- `CLIP-I` — range: [0, 1]
  - Cosine similarity between CLIP image embeddings of the reference subject image and the generated image.

## Input / output format

**Input**: Reference image containing a subject, text instruction specifying the desired generation.

**Output**: Generated RGB image featuring the subject.

## Scoring recipe

```python
clip_model = load_clip()
clip_t = cosine_similarity(clip_model.encode_text(instruction), clip_model.encode_image(generated_img))
clip_i = cosine_similarity(clip_model.encode_image(reference_img), clip_model.encode_image(generated_img))
```

## Common pitfalls

- CLIP-I may not accurately capture fine-grained subject identity preservation compared to face/object recognition models.
- The paper notes using a single reference image per object instead of fine-tuning, which differs from standard DreamBooth evaluation.

## Evidence (verbatim from paper)

> We evaluate the image editing on EMU-Edit[[58]] dataset and subject-driven generation capability on DreamBench[[56]]. We use CLIP-T to measure how well the model followed the instructions, while CLIP-I similarity scores measure the model’s ability to preserve elements from the source image.

## Citation

```bibtex
@misc{xiao2024omnigen,
  title={OmniGen: Unified Image Generation},
  author={Shitao Xiao et al. (2024)},
  year={2024},
  note={arXiv:2409.11340}
}
```

- arXiv: 2409.11340

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.