Robust Prompt Optimization for Large Language Models Against Distribution Shifts
Not on the map. Why?
Abstract (arXiv)
Large Language Model (LLM) has demonstrated significant ability in various Natural Language Processing tasks. However, their effectiveness is highly dependent on the phrasing of the task prompt, leading to research on automatic prompt optimization using labeled task data. We reveal that these prompt optimization techniques are vulnerable to distribution shifts such as subpopulation shifts, which are common for LLMs in real-world scenarios such as customer reviews analysis. In this light, we propose a new problem of robust prompt optimization for LLMs against distribution shifts, which requires the prompt optimized over the labeled source group can simultaneously generalize to an unlabeled target group. To solve this problem, we propose Generalized Prompt Optimization framework, which incorporates the unlabeled data from the target group into prompt optimization. Extensive experimental results demonstrate the effectiveness of the proposed framework with significant performance improvement on the target group and comparable performance on the source group.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 49 of its 61 references that are in the map. First posted on arXiv 23 May 2023.
Builds on
49 of 61 references.
References · 49
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
37 more
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
- 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 256
- 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
- 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
- 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 211
- 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
- 2023Large Language Models are Versatile Decomposers: Decompose Evidence and Questions for Table-based Reasoningcited by 178
- 2015The Ubuntu Dialogue Corpus: A Large Dataset for Research in Unstructured Multi-Turn Dialogue Systemscited by 172
- 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
- 2020MuTual: A Dataset for Multi-Turn Dialogue Reasoningcited by 115
- 2021On Transferability of Prompt Tuning for Natural Language Processingcited by 75
- 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
- 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Modelscited by 68
- 2023How Robust is GPT-3.5 to Predecessors? A Comprehensive Study on Language Understanding Taskscited by 58
- 2022TEMPERA: Test-Time Prompting via Reinforcement Learningcited by 50
- 2022PromptBoosting: Black-Box Text Classification with Ten Forward Passescited by 36
- 2023Assessing Hidden Risks of LLMs: An Empirical Study on Robustness, Consistency, and Credibilitycited by 30
- 2022Parameter-Efficient Prompt Tuning Makes Generalized and Calibrated Neural Text Retrieverscited by 18
- 2022Improving the Sample Efficiency of Prompt Tuning with Domain Adaptationcited by 15
- 2023Learning to Initialize: Can Meta Learning Improve Cross-task Generalization in Prompt Tuning?cited by 11
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 9; 2026: 2.
19 papers.
Sort:
By area:
- 2023Prompt Engineering a Prompt Engineercited by 53
- 2024Efficient Prompting Methods for Large Language Models: A Surveycited by 47
- 2024Knowledge Boundary of Large Language Models: A Surveycited by 40
- 2024Are Large Language Models Good Prompt Optimizers?cited by 37
- 2025System Prompt Optimization with Meta-Learningcited by 18
- 2025Understanding Multimodal LLMs Under Distribution Shifts: An Information-Theoretic Approachcited by 16
- 2024Fearful Falcons and Angry Llamas: Emotion Category Annotations of Arguments by Humans and LLMscited by 11
- 2025DLPO: Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning Perspectivecited by 8
- 2024Learning from Contrastive Prompts: Automated Optimization and Adaptationcited by 7
- 2025Optimizing LLM-Based Multi-Agent System with Textual Feedback: A Case Study on Software Developmentcited by 7
- 2025What Makes a Good Natural Language Prompt?cited by 7
- 2024What Affects the Stability of Tool Learning? An Empirical Study on the Robustness of Tool Learning Frameworkscited by 4
7 more
- 2025Why is prompting hard? Understanding prompts on binary sequence predictorscited by 4
- 2026TextReg: Mitigating Prompt Distributional Overfitting via Regularized Text-Space Optimizationcited by 3
- 2025Exploring Explanations Improves the Robustness of In-Context Learningcited by 2
- 2024Fine-grainedly Synthesize Streaming Data Based On Large Language Models With Graph Structure Understanding For Data Sparsitycited by 1
- 2025SynGraph: A Dynamic Graph-LLM Synthesis Framework for Sparse Streaming User Sentiment Modelingcited by 0
- 2025Application and Evaluation of Large Language Models for Forecasting the Impact of Traffic Incidentscited by 0
- 2026Towards Spec Learning: Inference-Time Alignment from Preference Pairscited by 0
- 2026Towards Spec Learning: Inference-Time Alignment from Preference Pairs22 Jun 2026
- 2026TextReg: Mitigating Prompt Distributional Overfitting via Regularized Text-Space Optimization20 May 2026
- 2025Application and Evaluation of Large Language Models for Forecasting the Impact of Traffic Incidents7 Jul 2025
- 2025What Makes a Good Natural Language Prompt?7 Jun 2025
- 2025Exploring Explanations Improves the Robustness of In-Context Learning3 Jun 2025
- 2025Optimizing LLM-Based Multi-Agent System with Textual Feedback: A Case Study on Software Development22 May 2025
- 2025System Prompt Optimization with Meta-Learning14 May 2025
- 2025DLPO: Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning Perspective17 Mar 2025
- 2025SynGraph: A Dynamic Graph-LLM Synthesis Framework for Sparse Streaming User Sentiment Modeling6 Mar 2025
- 2025Why is prompting hard? Understanding prompts on binary sequence predictors15 Feb 2025
- 2025Understanding Multimodal LLMs Under Distribution Shifts: An Information-Theoretic Approach1 Feb 2025
- 2024Fearful Falcons and Angry Llamas: Emotion Category Annotations of Arguments by Humans and LLMs20 Dec 2024
7 more
- 2024Knowledge Boundary of Large Language Models: A Survey17 Dec 2024
- 2024Learning from Contrastive Prompts: Automated Optimization and Adaptation23 Sep 2024
- 2024What Affects the Stability of Tool Learning? An Empirical Study on the Robustness of Tool Learning Frameworks3 Jul 2024
- 2024Efficient Prompting Methods for Large Language Models: A Survey1 Apr 2024
- 2024Fine-grainedly Synthesize Streaming Data Based On Large Language Models With Graph Structure Understanding For Data Sparsity10 Mar 2024
- 2024Are Large Language Models Good Prompt Optimizers?3 Feb 2024
- 2023Prompt Engineering a Prompt Engineer9 Nov 2023
- 2023Prompt Engineering a Prompt Engineercited by 53
- 2024Efficient Prompting Methods for Large Language Models: A Surveycited by 47
- 2024Knowledge Boundary of Large Language Models: A Surveycited by 40
- 2024Are Large Language Models Good Prompt Optimizers?cited by 37
- 2025System Prompt Optimization with Meta-Learningcited by 18
- 2024Fearful Falcons and Angry Llamas: Emotion Category Annotations of Arguments by Humans and LLMscited by 11
- 2024Learning from Contrastive Prompts: Automated Optimization and Adaptationcited by 7
- 2025What Makes a Good Natural Language Prompt?cited by 7
- 2025Why is prompting hard? Understanding prompts on binary sequence predictorscited by 4
- 2026TextReg: Mitigating Prompt Distributional Overfitting via Regularized Text-Space Optimizationcited by 3
- 2025Exploring Explanations Improves the Robustness of In-Context Learningcited by 2
- 2024Fine-grainedly Synthesize Streaming Data Based On Large Language Models With Graph Structure Understanding For Data Sparsitycited by 1
12 most cited of 14 All 14 (JSON)
- 2026TextReg: Mitigating Prompt Distributional Overfitting via Regularized Text-Space Optimization20 May 2026
- 2025Application and Evaluation of Large Language Models for Forecasting the Impact of Traffic Incidents7 Jul 2025
- 2025What Makes a Good Natural Language Prompt?7 Jun 2025
- 2025Exploring Explanations Improves the Robustness of In-Context Learning3 Jun 2025
- 2025System Prompt Optimization with Meta-Learning14 May 2025
- 2025SynGraph: A Dynamic Graph-LLM Synthesis Framework for Sparse Streaming User Sentiment Modeling6 Mar 2025
- 2025Why is prompting hard? Understanding prompts on binary sequence predictors15 Feb 2025
- 2024Fearful Falcons and Angry Llamas: Emotion Category Annotations of Arguments by Humans and LLMs20 Dec 2024
- 2024Knowledge Boundary of Large Language Models: A Survey17 Dec 2024
- 2024Learning from Contrastive Prompts: Automated Optimization and Adaptation23 Sep 2024
- 2024Efficient Prompting Methods for Large Language Models: A Survey1 Apr 2024
- 2024Fine-grainedly Synthesize Streaming Data Based On Large Language Models With Graph Structure Understanding For Data Sparsity10 Mar 2024
12 newest of 14 All 14 (JSON)