Learn Before
Search Strategy in Prompt Optimization
Within a prompt optimization framework, the search strategy defines how the system explores the space of possible prompts. Similar to other AI search processes, it involves evaluating a set of promising candidate prompts at each step and continuing the exploration until a stopping criterion is met. The final outcome is the best-performing prompt identified throughout the search.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Prompt Search Space
Performance Estimation in Prompt Optimization
Search Strategy in Prompt Optimization
Analyzing an Automated Instruction Design Process
An automated system is designed to find the best set of instructions for a language model to summarize news articles. This process is framed as a search problem with three core components. Match each component with its correct description in this context.
A team is developing a system to automatically find the best instructions for a language model to generate marketing slogans. They begin with a predefined list of one million possible instructions. Their system randomly selects an instruction, generates a slogan, and has a human expert rate the slogan's quality. After 100 attempts, the system will output the instruction that received the highest single rating. When viewing this process as a search problem, what is its most significant weakness?
Your team is documenting an internal system that a...
You own an internal LLM feature that classifies in...
You’re responsible for an internal LLM that assign...
Stabilizing an LLM Feature Under Drift Using Search, Ensembling, and Evolutionary Optimization
Designing a Cost-Constrained Automated Prompt Optimization Pipeline
Choosing a Search-and-Ensemble Strategy for a Regulated LLM Workflow
Selecting a Robust Automated Prompt Optimization Approach Under Noisy Evaluation and Latency Constraints
Designing a Prompt-Optimization-and-Ensembling Strategy for a Multi-Model Enterprise Rollout
Debugging a Stagnating Prompt Optimizer and Designing a More Reliable Deployment
Create a Self-Improving Prompt System with Ensemble Gating and Evolutionary Search
Learn After
Iterative LLM-Based Prompt Search
Expansion in Prompt Search
Applying Classic Optimization Techniques to Prompt Optimization
A team is developing a system to automatically find the best prompt for summarizing legal documents. Their process is as follows:
- They create a large, diverse list of 100 potential prompts.
- They use a small, representative dataset to calculate an accuracy score for each of the 100 prompts.
- They select the prompt with the highest accuracy score from the initial list and the process concludes.
Which critical element of an effective search strategy is missing from their approach?
Evaluating Prompt Search Strategies
Critique of a Prompt Finding Method