Large Language Models (LLMs) have demonstrated remarkable capabilities across various tasks, with their performance heavily dependent on the quality of input prompts.
GAAPO (Genetic Algorithm Applied to Prompt Optimization) is a hybrid optimization framework that leverages genetic algorithm principles to evolve prompts through successive generations.
GAAPO integrates multiple specialized prompt generation strategies within its evolutionary framework.
Experimental analysis reveals insights into the tradeoff between population size and the number of generations, the effect of selection methods on stability, and the ability of different LLMs to automatically generate prompts.