[Paper Review] PREFER: Prompt Ensemble Learning via Feedback-Reflect-Refine
This paper proposes Prefer, a novel prompt ensemble method that automates and enhances LLM prompting through a feedback-reflect-refine loop, enabling self-directed prompt improvement and stable performance via bilateral bagging. It achieves state-of-the-art results across multiple tasks with minimal manual effort and improved efficiency over existing methods.
As an effective tool for eliciting the power of Large Language Models (LLMs), prompting has recently demonstrated unprecedented abilities across a variety of complex tasks. To further improve the performance, prompt ensemble has attracted substantial interest for tackling the hallucination and instability of LLMs. However, existing methods usually adopt a two-stage paradigm, which requires a pre-prepared set of prompts with substantial manual effort, and is unable to perform directed optimization for different weak learners. In this paper, we propose a simple, universal, and automatic method named PREFER (Pompt Ensemble learning via Feedback-Reflect-Refine) to address the stated limitations. Specifically, given the fact that weak learners are supposed to focus on hard examples during boosting, PREFER builds a feedback mechanism for reflecting on the inadequacies of existing weak learners. Based on this, the LLM is required to automatically synthesize new prompts for iterative refinement. Moreover, to enhance stability of the prompt effect evaluation, we propose a novel prompt bagging method involving forward and backward thinking, which is superior to majority voting and is beneficial for both feedback and weight calculation in boosting. Extensive experiments demonstrate that our PREFER achieves state-of-the-art performance in multiple types of tasks by a significant margin. We have made our code publicly available.
Motivation & Objective
- To address the limitations of existing two-stage prompt ensemble methods that rely on pre-defined prompts and lack joint optimization.
- To reduce manual effort and domain expertise by enabling automatic, self-adaptive prompt generation through LLM reflection.
- To improve stability and performance by integrating boosting and bagging in a unified, feedback-driven framework.
- To enhance prompt quality and robustness through a bilateral bagging strategy using forward and backward thinking.
- To enable directed optimization of prompts by focusing on hard examples via feedback-driven reflection.
Proposed method
- Proposes a feedback-reflect-refine loop where LLMs receive error feedback on hard examples and reflect to generate refined prompts.
- Uses LLMs to automatically synthesize new prompts based on reflective analysis of previous prompt shortcomings.
- Introduces a bilateral bagging method that combines forward and backward thinking to compute confidence scores and improve stability.
- Employs a boosting mechanism that dynamically reweights prompts based on performance, focusing on hard examples.
- Leverages the LLM’s generative and reflective capabilities to jointly optimize prompt quality and downstream task performance.
- Designs a self-consistent feedback mechanism that avoids hallucination by verifying reasoning paths through multiple perspectives.
Experimental results
Research questions
- RQ1Can an automatic, self-reflective prompting framework outperform manual or pre-defined prompt ensembles in LLM tasks?
- RQ2How does integrating feedback-reflect-refine with bilateral bagging improve stability and performance in prompt ensemble learning?
- RQ3To what extent does feedback-driven prompt refinement reduce hallucination and improve generalization on hard examples?
- RQ4Can a unified boosting and bagging framework outperform separate or single-stage ensemble methods?
- RQ5How does the proposed method compare in efficiency and convergence speed to existing automated prompting approaches?
Key findings
- Prefer achieves state-of-the-art performance across multiple NLP tasks, significantly outperforming existing prompt ensemble baselines.
- Removing the feedback-reflect-refine mechanism leads to a larger performance drop than removing bagging, indicating its critical role in directed optimization.
- The bilateral bagging method with forward and backward thinking outperforms majority voting, enhancing stability and confidence estimation.
- Prefer converges faster and maintains stable performance with fewer API calls compared to APO, demonstrating superior training efficiency.
- The method reduces reliance on manual prompt engineering while improving robustness, as shown in case studies with more informative and logically consistent prompt refinements.
- In training efficiency benchmarks, Prefer requires significantly fewer API calls and less time per optimization step than APO, especially in beam search and bandit selection phases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.