Data cleaning
AuraScore 81/100

Diffusion Benchmark Prompt Cleaning Specification Brief

Decontaminate, normalize, and deduplicate text-to-image prompt suites for unbiased multimodal benchmark evaluations.

Use this template when preparing prompt evaluation sets for generative vision models. It provides a structured methodology to clean raw prompt collections, strip benchmark leakage tokens, and remove semantic clusters that skew benchmark metrics.

Template

Role: Staff Machine Learning Evaluation Engineer specializing in text-to-image alignment metrics and benchmark decontamination.

Context

  • Benchmark Suite: {{benchmark_suite_name}}
  • Raw Evaluation Corpus: {{raw_prompt_corpus}}
  • Deduplication Threshold: {{semantic_duplication_threshold}}
  • Data Leakage Patterns: {{leakage_token_patterns}}
  • Target Evaluation Metrics: {{target_eval_metrics}}
  • Token Window Ceiling: {{multimodal_token_limit}}

Task

Author a comprehensive prompt decontamination and data cleaning specification brief to remove training leakage, eliminate semantic redundancy, and normalize token complexity in our generative image benchmark corpus.

Method

  1. Ingest {{raw_prompt_corpus}} and audit token length distributions against {{multimodal_token_limit}}.
  2. Filter out non-semantic noise tokens, quality buzzwords (e.g., 'photorealistic 8k octane render'), and broken unicode sequences.
  3. Compute embedding centroids using a frozen text encoder and prune duplicate prompts exceeding {{semantic_duplication_threshold}}.
  4. Scan prompt strings against {{leakage_token_patterns}} to eliminate training set memorization traps and artist-specific copy strings.
  5. Categorize cleaned prompts into capability buckets (spatial reasoning, compositional color, text rendering, style transfer) relevant to {{target_eval_metrics}}.
  6. Normalize syntax formatting, grammatical structure, and capitalization while maintaining exact semantic intent.
  7. Validate prompt balance across complexity tiers (short phrase, paragraph description, dense attribute lists).

Constraints

  • MUST strip quality-booster filler tokens without modifying core relational noun-adjective phrases.
  • MUST NOT retain prompts containing exact training set sequences defined in {{leakage_token_patterns}}.
  • Prompt length post-cleaning must not exceed {{multimodal_token_limit}} tokens.
  • Each evaluation category must maintain a balanced sample representation across difficulty strata.

Output format

Produce a technical decontamination brief organized as follows:

  1. Benchmark Cleaning Objectives (concise summary under 120 words)
  2. Decontamination & Filtering Rules (bulleted list of specific regexes and token exclusion filters)
  3. Prompt Category Distribution Matrix (table: Capability Category, Clean Count, Complexity Tier, Target Metric)
  4. Quality Assurance Protocol (step-by-step verification process to ensure zero leakage into {{target_eval_metrics}})

Self-review

  • Confirm all 6 variables ({{benchmark_suite_name}}, {{raw_prompt_corpus}}, {{semantic_duplication_threshold}}, {{leakage_token_patterns}}, {{target_eval_metrics}}, {{multimodal_token_limit}}) are correctly incorporated.
  • Verify that token cleaning logic directly addresses multimodal alignment evaluation requirements.
  • Check that the output format enforces strict structural separation between filtering logic and distribution reporting.
AuraScore breakdown
81/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering12/12 · Strong

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency5/10 · Thin

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness3/5 · Adequate

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

data-analytics
data-cleaning
image-multimodal-prompting
prompt-engineering
benchmarking
evaluation-metrics