Manuscript Offprint

arXiv:2611.07123

PromptOps: Iterative Prompt Optimization for LLM-as-a-Judge Systems

Sven Kleinkop, Tamás Janusko, Ricardo Bochnia, Gunnar Hempel, Steffen Tomschke, Jürgen Anke, Maik Thiele

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Sven Kleinkop¹, Tamás Janusko¹, Ricardo Bochnia¹, Gunnar Hempel¹, Steffen Tomschke², Jürgen Anke¹, and Maik Thiele¹[0000-0002-1665-977X]

¹ Hochschule für Technik und Wirtschaft Dresden firstname.lastname@htw-dresden.de

² Otto Group one.Ofirstname.lastname@oglo.de

Abstract. Large language models (LLMs) are increasingly used as automated judges for evaluating the behavior of chatbots and other AI systems. In deployment, however, their agreement with the intended human evaluation policy may degrade as user interactions and score distributions change. Existing automatic prompt optimization methods are primarily studied as one-shot procedures on static development sets and therefore provide limited guidance for maintaining LLM judges over time. We frame this problem as judge drift and introduce PROMPTOPS, a closed-loop framework for monitoring and iteratively recalibrating LLM-as-a-Judge (LLMaaJ) systems. PROMPTOPS separates four operational decisions: when to optimize, which optimization procedure to apply, which feedback records to use, and how to update the judge prompt. We instantiate the framework with five prompt optimization methods: GEPA, SIMBA, Rubric Synthesis, and exemplar selection using either simulated annealing or a Tree-structured Parzen Estimator. Our experiments demonstrate that iterative prompt optimization can recalibrate LLM judges and recover performance after judge drift. However, effective maintenance is inherently context-dependent: neither optimization algorithm choice nor update timing generalizes universally across settings. These findings establish prompt optimization for deployed LLM judges as an inherently iterative maintenance problem and demonstrate that PROMPTOPS provides a practical abstraction for studying and implementing this process.

Keywords: LLM-as-a-Judge · PromptOps · Prompt Optimization · Trustworthy AI · Chatbot Evaluation

1 Introduction

Large language models (LLMs) are increasingly deployed in chatbots and agentic assistants. As reliance on these systems grows, scalable and trustworthy evaluation of their outputs becomes increasingly important. LLMaaJ systems address this need by using one or more LLMs to score, rank, or critique model outputs according to natural-language criteria [15,8]. This flexibility is particularly useful for behavioral and safety evaluation, where judges must recognize subtle forms of toxicity, bias, inappropriate personalization, and other undesirable behavior. However, strong agreement with human evaluations on a fixed benchmark does not imply that this agreement will persist after deployment.

A judge that is well aligned with human evaluations at one point in time may lose this agreement as the stream of evaluated interactions changes. We refer to this phenomenon as judge drift: a loss of agreement between a fixed judge and the intended human evaluation policy under a changing evaluation stream. Judge drift may arise from changes in user behavior, application policies, or the distribution of encountered cases. Importantly, this notion of drift does not require the judge model itself to change; drift can emerge solely from changes in the stream of cases being evaluated. Maintaining judge alignment under such changes turns prompt design from a one-time configuration task into a continuing maintenance problem.

Human-centered and practitioner workflows already describe evaluation design as an iterative process in which people define criteria, inspect disagreements, and extend test sets [19,24,14]. At the same time, prompt revisions are not guaranteed to improve behavior globally: changes that correct known failures can introduce regressions on previously well-handled cases [3]. Most work on automatic prompt optimization (APO), however, studies optimization as a one-shot procedure on a static development set. A deployed LLMaaJ system instead requires repeated decisions about when recalibration is necessary, which observations should inform it, and how the judge prompt should be updated under practical cost constraints.

To address this problem, we introduce PROMPTOPS, a closed-loop framework for the iterative monitoring and recalibration of LLMaaJ systems. PROMPTOPS separates the operational decisions involved in judge maintenance into four components: a Controller determines when optimization should be triggered, a Dispatcher selects the optimization procedure to execute, a Sample Selector determines which accumulated feedback records are used for optimization, and an Optimizer proposes an updated judge prompt. This modularization allows prompt-optimization algorithms to be studied not only in isolation, but as components of a recurring feedback loop in which alignment improvements must be balanced against the cost of optimization. This shifts prompt optimization from a one-shot algorithmic problem to an operational control problem in which adaptation quality, timing, and cost must be jointly managed.

Specifically, we make the following contributions:

  • We formulate judge drift as a deployment-time maintenance problem for LLMaaJ systems and provide a controlled experimental setting for studying adaptation under changing evaluation streams.
  • We introduce PROMPTOPS, a modular closed-loop framework that makes optimization triggering, optimizer selection, feedback-record selection, and prompt updating independently configurable and evaluable.
  • We instantiate PROMPTOPS with five prompt-optimization procedures and show across two judge backends that iterative recalibration can recover per-

formance after induced drift, while both optimizer choice and recalibration timing exhibit substantial backend- and cost-dependent trade-offs.

References (38)