Learn Before
Formula for Combining Predictions in Prompt Ensembling
In prompt ensembling, after obtaining individual predictions from different prompts, denoted as , these predictions are aggregated into a single, final prediction, . This combination process is represented by the general formula: . Here, the function represents the chosen combination model.

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
Formula for Combining Predictions in Prompt Ensembling
Bayesian Interpretation of Prompt Ensembling
A developer uses a technique involving three distinct prompts to classify a customer review as 'Positive', 'Negative', or 'Neutral'. The prompts are sent to a language model to get a response for each. According to the mathematical formulation of this technique, what is the immediate next step in the process?
Determining Individual Predictions in Prompt Ensembling
An engineer is implementing a system that uses a set of K distinct prompts to improve the reliability of a text summarization task. They notice that the final, combined summary is often incoherent. Upon investigation, they discover that for each individual prompt , the system is not selecting the single summary with the highest conditional probability, but is instead randomly choosing one from the top five most likely summaries. Which specific component of the mathematical formulation for this technique is being incorrectly implemented?
Learn After
Combination Strategies for Prompt Ensembling
A team is developing a system to generate a single, highly accurate description for an image. They provide a language model with the same image but use five different instructional phrases to guide the description generation process. This results in five distinct text descriptions of the image. The team's final step is to aggregate these five descriptions into one consolidated output. How does the general formula for combining multiple predictions,
ŷ = Combine(ŷ₁, ..., ŷₖ), map to this team's process?Analyzing a Failure in Prediction Combination
Deconstructing the Prediction Combination Formula