Concept

Expansion in Prompt Search

In prompt optimization, expansion is a key operation used to explore different states in the search space. It can be defined as a function C=Expand(C,f)C' = \mathrm{Expand}(C, f), where a set of new candidate prompts CC' is generated from the existing pool CC using a model ff. When ff is a Large Language Model, it is instructed to generate new, relevant prompts based on the ones currently in CC, after which CC is replaced with CC'. This process can be repeated iteratively alongside evaluation and pruning.

Image 0

0

1

Updated 2026-04-30

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences