Skip to content
Back to skills

Vpeval

ASecurity

Evaluates text-to-image generation models by decomposing assessment into five specialized skills (object presence, count, spatial relations, scale, and text rendering) and open-ended prompts, producing interpretable binary scores with visual and textual explanations. Use when the user has predictions and gold and needs to compute vpeval.

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

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Vpeval?

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

Security grade badge for Vpeval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-vpeval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-vpeval)

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: vpeval
description: Evaluates text-to-image generation models by decomposing assessment into five specialized skills (object presence, count, spatial relations, scale, and text rendering) and open-ended prompts, producing interpretable binary scores with visual and textual explanations. Use when the user has predictions and gold and needs to compute vpeval.
metadata:
  skill_kind: metric
  source_arxiv: 2305.15328
  bibtex_key: [REDACTED]
  confidence: high
---

# vpeval

> Visual Programming for Text-to-Image Generation and Evaluation — Cho et al. (2023) (arXiv:2305.15328, 2023)

## What this evaluates

Evaluates text-to-image generation models by decomposing assessment into five specialized skills (object presence, count, spatial relations, scale, and text rendering) and open-ended prompts, producing interpretable binary scores with visual and textual explanations.

## Datasets

- **TIFA160** — total 160; splits: test (160)

## Metrics

- `vpeval` **(primary)** — range: [0, 1]
  - Average of binary pass/fail scores from specialized visual modules (objectEval, countEval, spatialEval, scaleEval, textEval). Each module returns 1 if the generated image satisfies the prompt constraint, 0 otherwise.

## Input / output format

**Input**: Text prompt and the corresponding generated image.

**Output**: Binary score per module, visual bounding boxes on the image, textual explanation of the result, and a final averaged score.

## Scoring recipe

```python
def vpeval(prompt, image):
    modules = get_program(prompt)  # predefined for skill-based, LLM-generated for open-ended
    scores = []
    for mod in modules:
        scores.append(mod.run(image, prompt))  # returns 0 or 1
    return sum(scores) / len(scores)
```

## Common pitfalls

- Binary scoring discards partial credit (e.g., detecting 2 objects instead of 3 yields 0).
- Relies entirely on the accuracy of underlying expert modules (Grounding DINO, EasyOCR, BLIP-2); module failures directly lower the score.
- Open-ended evaluation uses LLM-generated programs via in-context learning, which may introduce non-determinism or program generation errors.

## Evidence (verbatim from paper)

> VPEval is a novel interpretable/explainable evaluation framework for T2I generation models, based on visual programming.

## Citation

```bibtex
@misc{cho2023visualprogramming,
  title={Visual Programming for Text-to-Image Generation and Evaluation},
  author={Cho et al. (2023)},
  year={2023},
  note={arXiv:2305.15328}
}
```

- arXiv: 2305.15328

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.