pith. sign in

arxiv: 2504.14367 · v1 · pith:VNWJHB6Gnew · submitted 2025-04-19 · 💻 cs.CL · cs.AI

Diverse Prompts: Illuminating the Prompt Space of Large Language Models with MAP-Elites

classification 💻 cs.CL cs.AI
keywords promptllmsspacediversediversitylanguagelargemap-elites
0
0 comments X
read the original abstract

Prompt engineering is essential for optimizing large language models (LLMs), yet the link between prompt structures and task performance remains underexplored. This work introduces an evolutionary approach that combines context-free grammar (CFG) with the MAP-Elites algorithm to systematically explore the prompt space. Our method prioritizes quality and diversity, generating high-performing and structurally varied prompts while analyzing their alignment with diverse tasks by varying traits such as the number of examples (shots) and reasoning depth. By systematically mapping the phenotypic space, we reveal how structural variations influence LLM performance, offering actionable insights for task-specific and adaptable prompt design. Evaluated on seven BigBench Lite tasks across multiple LLMs, our results underscore the critical interplay of quality and diversity, advancing the effectiveness and versatility of LLMs.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. LLM-Guided Evolution for Medical Decision Pipelines

    cs.CL 2026-06 unverdicted novelty 5.0

    LLM-guided evolutionary search improves medical triage accuracy, consultation efficiency, and image classification performance over manual baselines across three tasks.