Self-Instructed Derived Prompt Generation Meets In-Context Learning: Unlocking New Potential of Black-Box LLMs
On the map: Synthetic data and self-improvement for LLMs → Self-rewarding alignment and self-training
Abstract (arXiv)
Large language models (LLMs) have shown success in generating high-quality responses. In order to achieve better alignment with LLMs with human preference, various works are proposed based on specific optimization process, which, however, is not suitable to Black-Box LLMs like GPT-4, due to inaccessible parameters. In Black-Box LLMs case, their performance is highly dependent on the quality of the provided prompts. Existing methods to enhance response quality often involve a prompt refinement model, yet these approaches potentially suffer from semantic inconsistencies between the refined and original prompts, and typically overlook the relationship between them. To address these challenges, we introduce a self-instructed in-context learning framework that empowers LLMs to deliver more effective responses by generating reliable derived prompts to construct informative contextual environments. Our approach incorporates a self-instructed reinforcement learning mechanism, enabling direct interaction with the response model during derived prompt generation for better alignment. We then formulate querying as an in-context learning task, using responses from LLMs combined with the derived prompts to establish a contextual demonstration for the original prompt. This strategy ensures alignment with the original query, reduces discrepancies from refined prompts, and maximizes the LLMs' in-context learning capability. Extensive experiments demonstrate that the proposed method not only generates more reliable derived prompts but also significantly enhances LLMs' ability to deliver more effective responses, including Black-Box models such as GPT-4.
Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). Placed in Self-rewarding alignment and self-training, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 39 of its 52 references that are in the map. First posted on arXiv 3 Sep 2024.
Builds on
39 of 52 references.
Closest ancestors · 1
Same direction, newest first
Other references · 38
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2022Training language models to follow instructions with human feedbackcited by 15,856
- 2017Proximal Policy Optimization Algorithmscited by 14,592
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,979
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,492
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,986
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,691
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,011
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,693
- 2020Learning to summarize from human feedbackcited by 2,575
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,985
26 more
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,191
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,031
- 2019How Can We Know What Language Models Know?cited by 958
- 2022A Survey on In-context Learningcited by 719
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 643
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 637
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 605
- 2023SLiC-HF: Sequence Likelihood Calibration with Human Feedbackcited by 400
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 363
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
- 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimizationcited by 313
- 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 164
- 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Trainingcited by 122
- 2023Zhongjing: Enhancing the Chinese Medical Capabilities of Large Language Model through Expert Feedback and Real-world Multi-turn Dialoguecited by 118
- 2021Improving and Simplifying Pattern Exploiting Trainingcited by 97
- 2021BERTese: Learning to Speak to BERTcited by 82
- 2023Better Zero-Shot Reasoning with Self-Adaptive Promptingcited by 52
- 2023kNN Prompting: Beyond-Context Learning with Calibration-Free Nearest Neighbor Inferencecited by 47
- 2024PRewrite: Prompt Rewriting with Reinforcement Learningcited by 43
- 2023Did You Read the Instructions? Rethinking the Effectiveness of Task Definitions in Instruction Learningcited by 40
- 2022Graph Enhanced Contrastive Learning for Radiology Findings Summarizationcited by 24
- 2022Guess the Instruction! Flipped Learning Makes Language Models Stronger Zero-Shot Learnerscited by 22
- 2023Iterative Forward Tuning Boosts In-Context Learning in Language Modelscited by 15
- 2024PAS: Data-Efficient Plug-and-Play Prompt Augmentation Systemcited by 7
- 2024Atoxia: Red-teaming Large Language Models with Target Toxic Answerscited by 7
- 2024Enhancing the Capability and Robustness of Large Language Models through Reinforcement Learning-Driven Query Refinementcited by 5
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025RLHF in an SFT Way: From Optimal Solution to Reward-Weighted Alignmentcited by 14
- 2025Beyond Emotion Recognition: A Multi-Turn Multimodal Emotion Understanding and Reasoning Benchmarkcited by 12
- 2025Add-One-In: Incremental Sample Selection for Large Language Models via a Choice-Based Greedy Paradigmcited by 6
- 2025APLOT: Robust Reward Modeling via Adaptive Preference Learning with Optimal Transportcited by 6
- 2026VisCache: Visual KV Cache Pruning for Efficient Vision Large Language Model Inferencecited by 0
- 2026VisCache: Visual KV Cache Pruning for Efficient Vision Large Language Model Inference25 Aug 2026
- 2025APLOT: Robust Reward Modeling via Adaptive Preference Learning with Optimal Transport13 Oct 2025
- 2025Beyond Emotion Recognition: A Multi-Turn Multimodal Emotion Understanding and Reasoning Benchmark23 Aug 2025
- 2025Add-One-In: Incremental Sample Selection for Large Language Models via a Choice-Based Greedy Paradigm4 Mar 2025
- 2025RLHF in an SFT Way: From Optimal Solution to Reward-Weighted Alignment16 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2025Learning to Extract Context for Context-Aware LLM Inference
- 2025Prompt-R1: Collaborative Automatic Prompting Framework via End-to-end Reinforcement Learning
- 2023AlignedCoT: Prompting Large Language Models via Native-Speaking Demonstrations
- 2025Evolving Prompts In-Context: An Open-ended, Self-replicating Perspective
- 2024On the Transformations across Reward Model, Parameter Update, and In-Context Prompt
- 2026Not the Example, but the Process: How Self-Generated Examples Enhance LLM Reasoning
- 2025Reward Is Enough: LLMs Are In-Context Reinforcement Learners
- 2025Self-Supervised Prompt Optimization