Here are three examples where Automatic Prompt Engineering can be combined with Self-Consistency Prompting:
1. Medical Diagnosis Analysis
APE could automatically generate variations of prompts like "Analyze these symptoms and provide a differential diagnosis" versus "Given the following clinical presentation, what are the most likely conditions?" The self-consistency approach would then run multiple reasoning paths through each prompt variation, having the model work through the diagnostic process from different angles (symptom clustering, system-based analysis, probability ranking) before aggregating the most frequently supported diagnoses across all attempts.
2. Historical Event Interpretation
APE might develop different framings such as "Evaluate the causes of [historical event]" versus "What factors contributed to [historical event] and how did they interact?" Self-consistency would then generate multiple independent analyses for each prompt variant, exploring different causal chains, weighing various historical perspectives, and examining both immediate and long-term factors. The final interpretation would synthesize the most consistently supported explanations across all reasoning attempts.
3. Business Strategy Recommendation
APE could create prompt variations like "Recommend a market entry strategy for this company" versus "Analyze the competitive landscape and suggest positioning approaches." Self-consistency would then run multiple strategic analyses through each prompt type, considering different frameworks (SWOT, Porter's Five Forces, Blue Ocean), market scenarios, and risk assessments. The combined approach would identify the strategic recommendations that emerge most consistently across different analytical approaches and prompt formulations.
In each case, APE optimizes how the question is framed while self-consistency ensures robust reasoning across multiple attempts.