mlsanityData to 13 Oct 2026

Self-Instructed Derived Prompt Generation Meets In-Context Learning: Unlocking New Potential of Black-Box LLMs

arXiv 2409.01552 ↗First posted 3 Sep 2024cs.CL cs.AIcited by 5

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

  1. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolution28 Sep

Other references · 38

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  2. 2020Language Models are Few-Shot Learnerscited by 32,320
  3. 2022Training language models to follow instructions with human feedbackcited by 15,856
  4. 2017Proximal Policy Optimization Algorithmscited by 14,592
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,979
  6. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,492
  7. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,986
  8. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,691
  9. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,011
  10. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,693
  11. 2020Learning to summarize from human feedbackcited by 2,575
  12. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,985
26 more
  1. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,191
  2. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,031
  3. 2019How Can We Know What Language Models Know?cited by 958
  4. 2022A Survey on In-context Learningcited by 719
  5. 2021Learning To Retrieve Prompts for In-Context Learningcited by 643
  6. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 637
  7. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 605
  8. 2023SLiC-HF: Sequence Likelihood Calibration with Human Feedbackcited by 400
  9. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 363
  10. 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
  11. 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimizationcited by 313
  12. 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 164
  13. 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Trainingcited by 122
  14. 2023Zhongjing: Enhancing the Chinese Medical Capabilities of Large Language Model through Expert Feedback and Real-world Multi-turn Dialoguecited by 118
  15. 2021Improving and Simplifying Pattern Exploiting Trainingcited by 97
  16. 2021BERTese: Learning to Speak to BERTcited by 82
  17. 2023Better Zero-Shot Reasoning with Self-Adaptive Promptingcited by 52
  18. 2023kNN Prompting: Beyond-Context Learning with Calibration-Free Nearest Neighbor Inferencecited by 47
  19. 2024PRewrite: Prompt Rewriting with Reinforcement Learningcited by 43
  20. 2023Did You Read the Instructions? Rethinking the Effectiveness of Task Definitions in Instruction Learningcited by 40
  21. 2022Graph Enhanced Contrastive Learning for Radiology Findings Summarizationcited by 24
  22. 2022Guess the Instruction! Flipped Learning Makes Language Models Stronger Zero-Shot Learnerscited by 22
  23. 2023Iterative Forward Tuning Boosts In-Context Learning in Language Modelscited by 15
  24. 2024PAS: Data-Efficient Plug-and-Play Prompt Augmentation Systemcited by 7
  25. 2024Atoxia: Red-teaming Large Language Models with Target Toxic Answerscited by 7
  26. 2024Enhancing the Capability and Robustness of Large Language Models through Reinforcement Learning-Driven Query Refinementcited by 5

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2025: 4; 2026: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Learning to Extract Context for Context-Aware LLM Inference
  2. 2025Prompt-R1: Collaborative Automatic Prompting Framework via End-to-end Reinforcement Learning
  3. 2023AlignedCoT: Prompting Large Language Models via Native-Speaking Demonstrations
  4. 2025Evolving Prompts In-Context: An Open-ended, Self-replicating Perspective
  5. 2024On the Transformations across Reward Model, Parameter Update, and In-Context Prompt
  6. 2026Not the Example, but the Process: How Self-Generated Examples Enhance LLM Reasoning
  7. 2025Reward Is Enough: LLMs Are In-Context Reinforcement Learners
  8. 2025Self-Supervised Prompt Optimization