mlsanityData to 7 Oct 2026

In-context Demonstration Matters: On Prompt Optimization for Pseudo-Supervision Refinement

arXiv 2410.03124 ↗First posted 4 Oct 2024cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have achieved great success across diverse tasks, and fine-tuning is sometimes needed to further enhance generation quality. Most existing methods rely on human supervision or parameter retraining, both of which are costly in terms of data collection and computational resources. To handle these challenges, a direct solution is to generate ``high-confidence'' data from unsupervised downstream tasks and use them for in-context prompting or prompt optimization to refine the pseudo-supervision. However, relying solely on such data may lead to overfitting. In this paper, we leverage the in-context learning (ICL) abilities of LLMs and propose a novel approach, pseudo-supervised demonstrations aligned prompt optimization (PAPO) algorithm, which jointly refines both the prompt and the overall pseudo-supervision. The proposed learning objective ensures that the optimized prompt guides the LLM to generate consistent responses for a given input when pseudo-supervised data from the downstream task are used as demonstrations, enabling refinement over the entire pseudo-supervision. The prompt is optimized by translating gradient signals into textual critiques, which serve as feedback to iteratively refine the prompt and model responses. Theoretical analysis in a simplified classification setting shows that the refined pseudo-supervision exhibits a geometric clustering structure, helping to mitigate overfitting. Experiments on question answering, natural language inference benchmarks, and a real-world molecule optimization task, show the effectiveness of the proposed algorithm.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 31 of its 41 references that are in the map. First posted on arXiv 4 Oct 2024.

Builds on

31 of 41 references.

References · 31

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  8. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  9. 2023Let's Verify Step by Stepcited by 3,598
  10. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  11. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  12. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
19 more
  1. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  2. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  3. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  4. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
  5. 2022Large Language Models Can Self-Improvecited by 656
  6. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
  7. 2023Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervisioncited by 318
  8. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
  9. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 254
  10. 2023The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learningcited by 251
  11. 2024TextGrad: Automatic "Differentiation" via Textcited by 250
  12. 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Trainingcited by 122
  13. 2022Black-box Prompt Learning for Pre-trained Language Modelscited by 70
  14. 2023Better Zero-Shot Reasoning with Self-Adaptive Promptingcited by 52
  15. 2023LLMRefine: Pinpointing and Refining Large Language Models via Fine-Grained Actionable Feedbackcited by 39
  16. 2021DOCKSTRING: easy molecular docking yields better benchmarks for ligand designcited by 33
  17. 2024Human-Instruction-Free LLM Self-Alignment with Limited Samplescited by 25
  18. 2023Universal Self-Adaptive Promptingcited by 14
  19. 2023Are Human-generated Demonstrations Necessary for In-context Learning?cited by 11

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.