SCALABLE PROMPT DESIGN
GENETIC ALGORITHMS FOR PROMPT OPTIMIZATION
• Create prompt templates for various tasks.
• Repeatedly modify the prompt elements (crossover
&mutation variants).
• Run the variants on a sample and evaluate for
accuracy, precision, recall, etc.
• Take the best variants to produce a next generation
prompts by modifying the prompt elements.
• Gradually, the prompts evolve toward optimal
solution.
GENETIC ALGORITHMS FOR PROMPT OPTIMIZATION
• Create prompt templates for various tasks.
• Repeatedly modify the prompt elements (crossover
&mutation variants).
• Run the variants on a sample and evaluate for
accuracy, precision, recall, etc.
• Take the best variants to produce a next generation
prompts by modifying the prompt elements.
• Gradually, the prompts evolve toward optimal
solution.