Auto-Prompt Generation is Not Robust: Prompt Optimization Driven by Pseudo Gradient
Not on the map. Why?
Abstract (arXiv)
While automatic prompt generation methods have recently received significant attention, their robustness remains poorly understood. In this paper, we introduce PertBench, a comprehensive benchmark dataset that includes a wide range of input perturbations, designed to systematically evaluate the robustness of current auto-prompting techniques. Our analysis reveals substantial vulnerabilities in existing prompt generation strategies, where even minor modifications to the prompt can lead to significant differences in model output. To address this issue, we propose PGO, a gradient-free prompt generation framework that leverages perturbation types as pseudo-gradient signals to guide LLMs in producing more robust prompts. In contrast to existing methods that assess prompt quality only on clean, well-structured inputs, our approach explicitly emphasizes robustness under noisy and perturbed conditions. Extensive experiments across diverse tasks and multiple LLMs show PGO consistently outperforms previous methods in maintaining performance under input perturbations.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Dec 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025Meaningless Tokens, Meaningful Gains: How Activation Shifts Enhance LLM Reasoningcited by 8
- 2026PQR: A Framework to Generate Diverse and Realistic User Queries that Elicit QA Agent Failurescited by 0
- 2026Towards Spec Learning: Inference-Time Alignment from Preference Pairscited by 0
- 2026Prompt-Robust Language Models: Which Training Strategies Work?cited by 0
- 2026Prompt-Robust Language Models: Which Training Strategies Work?1 Sep 2026
- 2026Towards Spec Learning: Inference-Time Alignment from Preference Pairs22 Jun 2026
- 2026PQR: A Framework to Generate Diverse and Realistic User Queries that Elicit QA Agent Failures15 May 2026
- 2025Meaningless Tokens, Meaningful Gains: How Activation Shifts Enhance LLM Reasoning1 Oct 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025