arXiv(opens in a new tab)cs.AIAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.27266

Naive Prompt Optimization: Rethinking the Need for Complex Prompt Search

Yuan Chang, Xiaoqi Chen

Abstract

Efficiently improving autonomous agents across diverse tasks is central to accelerating recursive self-improvement (RSI) in agentic AI, with prompt optimization emerging as a promising approach capable of delivering performance gains comparable to those achieved by fine-tuning model weights, while reducing computational costs in both optimization and serving. However, recent developments increasingly favor unnecessarily complex prompt optimizers. We introduce Naive Prompt Optimization (NPO), a lightweight single-lineage method that iteratively revises prompts using a teacher model with rollout feedback. NPO achieves comparable or better performance than GEPA with fewer rollouts, and its advantage increases with stronger teacher models, suggesting that stronger teacher reasoning can partially substitute for optimizer-side search complexity. In interactive games, NPO remains broadly competitive with GEPA, while GRPO performs better on some tasks less amenable to prompt optimization. We also show that NPO-optimized prompts elicit similar performance improvements when applied verbatim to other student models, especially across models within the same family. Overall, our preliminary results show that simple, linear prompt optimization can rival substantially more sophisticated and complex search procedures.

1 Introduction

Reinforcement learning (RL) and automatic prompt optimization offer two complementary ways to improve LLM performance. RL methods, including PPO [22], RLHF [15], and GRPO [23], update model parameters from reward signals, while prompt optimization keeps model parameters fixed and instead improves the instructions guiding model behavior, enabling lightweight, portable adaptation to individual users and tasks at deployment time through standard third-party inference APIs, without the cost and complexity of maintaining and serving user- or task-specific model weights.

Recent prompt optimization methods increasingly use sophisticated search strategies. OPRO [27] treats an LLM as an optimizer that proposes new instructions from previously evaluated solutions and scores. AI4AI [19] studied how a teacher model builds an inference-time harness for weaker student models. ProTeGi [17] combines textual gradients with beam search, MIPRO [14] uses model-generated proposals and Bayesian optimization, and GEPA [1] maintains multiple candidates through reflection and Pareto-based selection.

Against this background, we introduce Naive Prompt Optimization (NPO), a lightweight single-lineage method that iteratively revises the prompt by providing rollout traces and rewards to a teacher model (also referred to as a reviser or reflection model), which generates the next prompt version without maintaining multiple prompt lineages or using explicit search algorithms. We then systematically compare different prompt optimization methods and GRPO across established benchmarks [18, 28] and interactive game environments [4].

Across these settings, we vary the teacher model used for prompt revision and find that NPO's advantage over GEPA widens as the teacher model becomes stronger. We also vary the student model

Preprint.

and demonstrate that prompts optimized on one student model can be applied directly to other models to show similar performance gains.

Our main contributions are:

  1. We propose Naive Prompt Optimization (NPO), a simple LLM-as-optimizer method that iteratively revises prompts for a fixed student LLM using full rollout trajectories and rich feedback, rather than only previous prompts and scores as in OPRO.

  2. We develop a controlled, low-variance methodology for isolating improvements in decision-making performance from prompt optimization and reinforcement learning, using shared pseudorandomness in environment generation to enable fair comparisons and constrained decoding to eliminate formatting-induced penalties.

  3. We show prompts resulted from NPO brings transferable improvements, yielding similar performance gains when applied verbatim to other student models within and across families.

Empirically, NPO achieves comparable or better performance while using fewer rollouts than the substantially more complex GEPA search procedure on IFBench, which evaluates instruction following under verifiable constraints [18], and HotpotQA, a multi-hop question-answering benchmark [8, 21, 28]. NPO's advantage is particularly pronounced with stronger teacher models, suggesting that stronger teachers combined with rich feedback can reduce the need for complex prompt-search procedures. Across 22 TextArena games involving complex strategic planning and decision-making, NPO and GEPA remain broadly comparable, while GRPO provides complementary gains on several tasks where prompt optimization is less effective. The performance gains observed in NPO also generally transfer across model scales and families, with only minor variation, when the optimized prompts are directly applied unmodified on different student models.

Figure

Figure 1: Overview of the Naive Prompt Optimization (NPO) workflow.

Algorithm 1 Naive Prompt Optimization with Sliding-Window Rollout Feedback

Require: Initial prompt P(0)\mathcal{P}^{(0)}, sample task dataset D\mathcal{D} from environment, minibatch size NN, window size WW, teacher T\mathcal{T}, iterations YY

1: for i=0i = 0 to Y−1Y - 1 do

2: Sample minibatch Bi\mathcal{B}_i of size NN from D\mathcal{D}

3: Run the target model with prompt P(i)\mathcal{P}^{(i)} on Bi\mathcal{B}_i

4: Collect rollout traces and rewards Ri\mathcal{R}_i

5: Construct sliding-window feedback:

{Rj}j=max⁡(0,i−W+1)i\{\mathcal{R}_j\}_{j=\max(0,i-W+1)}^i

6: Generate the next prompt:

P(i+1)←T(P(i),{Rj}j=max⁡(0,i−W+1)i)\mathcal{P}^{(i+1)} \leftarrow \mathcal{T}\left(\mathcal{P}^{(i)}, \{\mathcal{R}_j\}_{j=\max(0,i-W+1)}^i\right)

7: end for

8: return Prompt sequence {P(0),…,P(Y)}\{\mathcal{P}^{(0)}, \ldots, \mathcal{P}^{(Y)}\} and best candidate

GEPA

NPO

Figure

Gen 0

(Root)

Gen 1

(Candidates)

Gen 2

(Candidates)

Gen 3

(Candidates)

Gen 4

(Candidates)

Figure

Sliding window size W=2

Figure 2: GEPA evolves candidate prompts in a pool, while NPO follows a simple lineage.

References (23)