LLM as a judge: continuous evaluation

December 6, 2026 · 23 min read · llmevaluation

Background

As a simplification, AI tasks largely fall under two poles:

We can visualize AI tasks on a spectrum. For tasks with verifiable outcomes, such as math, we can usually set up a grader that checks the output of the AI rollout directly:

Verifiable task: a math question graded by string matching against the ground truth Source: Substack post

Typical graders for verifiable tasks are:

For tasks that are more open-ended and creative, such as creative writing, evaluating AI output is tougher:

Non-verifiable task: a creative writing response scored by an LLM judge Source: Substack post

The reasons are:

Requiring human judgement for every output is costly and does not scale. The alternative is to implement an LLM as a judge. But implementing an LLM judge properly is not an easy task:

In this post, we will go through one way to build a robust pipeline so that an LLM judge works at scale and is updated periodically. That way we can trust its scores, because they are regularly realigned with human judgement.

1. LLM as a judge

1.1. Building blocks

1.2. Examples of LLM judge evaluation

Let’s look at two examples to make this concrete.

1.2.1. LLM summarizer

The summarizer example: generator, judge and human ground truth Source: Liu, Yang, et al. “G-Eval: NLG evaluation using GPT-4 with better human alignment.” Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. 2023.

1.2.2. Netflix’s recommendation explainer

Figure 1 of the Netflix paper: the four-phase lifecycle of an LLM judge Source: Netflix paper (arXiv 2608.18300), Figure 1

1.3. LLM judge offline evaluation

With the information above, we can evaluate the LLM judge once, at the beginning. But once the judge is put to work in production, how do we make sure the evaluation stays relevant over time? The challenge with AI systems is that we need to keep evaluating them so they stay grounded in human judgement and follow the given guidelines.

For the rest of this post we will dive into the Netflix paper to see how to build a pipeline that makes the LLM judge a lifelong learner instead of a one-time fixed evaluator.

2. From static judge to dynamic judge

In the Netflix paper, they initially gathered 900 labeled examples from humans. For the sake of discussion, let’s assume that at the start 500 of those examples agree with the human labels and 400 do not.

Throughout the examples below we use the same item: recommending Dune: Part Two to a user whose history is Blade Runner 2049 and The Matrix.

Input/output example for the LLM generator
{
  "component": "LLM_Generator",
  "request_id": "req_gen_84729",
  "inference_input": {
    "generator_prompt": "You are a movie recommendation assistant. Your task is to write a concise, one-sentence explanation of why a specific movie is being recommended to the user. \nGuidelines:\n1. Base your explanation strictly on the user's interaction history and the target movie's metadata.\n2. Do not hallucinate plot points or connections that do not exist.\n3. Keep the tone helpful and personalized.",
    "X": {
      "recommended_movie": {
        "title": "Dune: Part Two",
        "metadata": {"genres": ["Sci-Fi", "Action", "Adventure"]}
      },
      "user_interaction_history": [
        {"title": "Blade Runner 2049", "genres": ["Sci-Fi", "Thriller"], "interaction": "liked"},
        {"title": "The Matrix", "genres": ["Sci-Fi", "Action"], "interaction": "binged"}
      ]
    }
  },
  "inference_output": {
    "y_hat_gen": "You will love Dune: Part Two because of its deeply emotional romantic subplot."
  }
}

Note that this generation is flawed on purpose: nothing in the user’s history points to romance. This is the kind of output we want the judge to catch.

Input/output example for the LLM evaluator
// EXAMPLE 1: judging the LLM generator's output (y_hat_gen)
{
  "component": "LLM_Judge",
  "evaluation_id": "eval_req_1042",
  "explanation_target_metadata": {
    "source_of_explanation": "LLM_Generator",
    "variable_name": "y_hat_gen"
  },
  "inference_input": {
    "rubrics_prompt": "Task: Determine if a generated movie recommendation explanation is suitable based on Factuality, Personalization, and Tone.\n[...Full Rubric Text...]",
    "context": {
      "X": {
        "recommended_movie": {
          "title": "Dune: Part Two",
          "metadata": {"genres": ["Sci-Fi", "Action", "Adventure"]}
        },
        "user_interaction_history": [
          {"title": "Blade Runner 2049", "genres": ["Sci-Fi", "Thriller"], "interaction": "liked"},
          {"title": "The Matrix", "genres": ["Sci-Fi", "Action"], "interaction": "binged"}
        ]
      }
    },
    "text_to_evaluate": "You will love Dune: Part Two because of its deeply emotional romantic subplot."
  },
  "inference_output": {
    "y_hat_judge": "FAIL",
    "rationale_hat_judge": "The explanation fails because the tone is too assertive ('You will love') rather than offering a neutral recommendation."
  },
  "offline_human_ground_truth": {
    "source_of_judgment": "Human_Ground_Truth",
    "variable_names": ["y_judge", "rationale_judge"],
    "y_judge": "FAIL",
    "rationale_judge": "Misaligned with user profile. The user watches sci-fi, not romance."
  }
}

// EXAMPLE 2: judging a human-written explanation (y_hat_human)
{
  "component": "LLM_Judge",
  "evaluation_id": "eval_req_1043",
  "explanation_target_metadata": {
    "source_of_explanation": "Human_Copywriter",
    "variable_name": "y_hat_human"
  },
  "inference_input": {
    "rubrics_prompt": "Task: Determine if a generated movie recommendation explanation is suitable based on Factuality, Personalization, and Tone.\n[...Full Rubric Text...]",
    "context": {
      "X": {
        "recommended_movie": {
          "title": "Dune: Part Two",
          "metadata": {"genres": ["Sci-Fi", "Action", "Adventure"]}
        },
        "user_interaction_history": [
          {"title": "Blade Runner 2049", "genres": ["Sci-Fi", "Thriller"], "interaction": "liked"},
          {"title": "The Matrix", "genres": ["Sci-Fi", "Action"], "interaction": "binged"}
        ]
      }
    },
    "text_to_evaluate": "Since you enjoy expansive, visually stunning sci-fi worlds like Blade Runner 2049, you'll be captivated by the epic scale of Dune: Part Two."
  },
  "inference_output": {
    "y_hat_judge": "PASS",
    "rationale_hat_judge": "The explanation perfectly aligns with the personalization and factuality criteria. It accurately connects the visual and sci-fi elements of a historically liked item (Blade Runner 2049) to the core attributes of the recommended movie."
  },
  "offline_human_ground_truth": {
    "source_of_judgment": "Human_Ground_Truth",
    "variable_names": ["y_judge", "rationale_judge"],
    "y_judge": "PASS",
    "rationale_judge": null
  }
}

Example 1 is worth a second look. The judge and the human both say FAIL, so the labels agree. But they fail it for different reasons: the judge objects to the tone, the human to the personalization. Right label, wrong reason. Keep this case in mind, it comes back below.

Naturally, the next step is to improve the process so that more examples agree with the human labels. How do we do that?

One naive approach is to have humans write a better rubric prompt, hope the LLM evaluator now agrees with humans more on the evaluation set, and repeat until it is good enough: humans write a better prompt → evaluate on the evaluation set → if good, stop; if bad, repeat.

The paper approaches this by automating the process. In their process, they optimize the rubric prompt continuously without doing any weights updates to the LLM models. On top of that, they periodically appended their evaluation set so that it represent any distribution drifts that may happen over time.

First, they introduce two additional LLMs: an LLM meta-judge and an LLM reflector. Their jobs are:

Input/output example for the LLM meta-judge
{
  "component": "LLM_Meta_Judge",
  "request_id": "req_meta_1042",
  "inference_input": {
    "meta_judge_prompt": "You are a meta-evaluator. Both a human and an AI judge rejected a movie recommendation explanation. Your task is to determine if their rationales for rejecting it are semantically aligned (MATCH) or if they rejected it for entirely different reasons (MISMATCH). Output your step-by-step reasoning first, then a final binary label.",
    "context": {
      "explanation_target": {
        "source_of_explanation": "LLM_Generator",
        "variable_name": "y_hat_gen",
        "text": "You will love Dune: Part Two because of its deeply emotional romantic subplot."
      }
    },
    "rationales_to_compare": {
      "rationale_judge": "Misaligned with user profile. The user watches sci-fi, not romance.",
      "rationale_hat_judge": "The explanation fails because the tone is too assertive ('You will love') rather than offering a neutral recommendation."
    }
  },
  "inference_output": {
    "meta_reasoning": "The human evaluator rejected the explanation due to a content personalization error (focusing on romance instead of sci-fi based on the user's history). The LLM Judge ignored the personalization aspect and rejected the explanation strictly based on a formatting/tone constraint ('too assertive'). These rationales evaluate completely distinct dimensions of the text.",
    "reasoning_agreement_hat": "MISMATCH"
  }
}
Input/output example for the LLM reflector
{
  "component": "LLM_Reflector",
  "request_id": "req_reflect_iter_4",
  "inference_input": {
    "reflector_prompt": "You are an expert prompt engineer. The current evaluation rubric is causing the LLM Judge to make specific errors compared to human ground truth. Analyze the Error Focus Set below. Rewrite the current rubric to explicitly prevent these errors in the next iteration. Add new criteria or clarify existing steps as needed.",
    "current_rubric": "Task: Determine if a generated movie recommendation explanation is suitable.\nCriteria: 1. Factuality. 2. Personalization. 3. Tone (Do not be overly assertive).\nSteps: Read the explanation and check for factual errors, user alignment, and tone. Output FAIL if any criteria are missed.",
    "error_focus_set": [
      {
        "error_type": "Reasoning_Mismatch",
        "evaluation_id": "eval_req_1042",
        "explanation_target": {
          "source_of_explanation": "LLM_Generator",
          "variable_name": "y_hat_gen",
          "text": "You will love Dune: Part Two because of its deeply emotional romantic subplot."
        },
        "human_ground_truth_judgment": "FAIL - Misaligned with user profile. The user watches sci-fi, not romance.",
        "llm_judge_prediction": "FAIL - The explanation fails because the tone is too assertive.",
        "meta_judge_analysis": "MISMATCH - LLM focused on tone, human focused on personalization."
      },
      {
        "error_type": "Label_Mismatch",
        "evaluation_id": "eval_req_1088",
        "explanation_target": {
          "source_of_explanation": "LLM_Generator",
          "variable_name": "y_hat_gen",
          "text": "Since you liked Interstellar, you might enjoy Gravity."
        },
        "human_ground_truth_judgment": "PASS",
        "llm_judge_prediction": "FAIL - The explanation is too short and does not explicitly list the shared genres.",
        "meta_judge_analysis": "N/A - Label Mismatch"
      }
    ]
  },
  "inference_output": {
    "revised_rubric": "Task: Determine if a generated movie recommendation explanation is suitable.\n\nCriteria:\n1. Personalization (PRIMARY): The explanation must accurately connect to the user's core genre/thematic affinities. This is the most critical check.\n2. Factuality: Must reflect true movie metadata.\n3. Tone: Must not be overly assertive.\n4. Brevity (NEW): Concise, one-sentence explanations are acceptable and should not be failed purely for length if the semantic link is clear.\n\nSteps:\n1. First, verify Personalization. If the explanation highlights aspects of the movie (e.g., romance) that contradict the user's history (e.g., hard sci-fi), you must fail it for Personalization immediately.\n2. Only after confirming Personalization, check Tone and Factuality.\n3. Do not penalize explanations strictly for being short if they draw a logical, factual connection."
  }
}

3. Tuning the rubric prompt

With the generator, evaluator, meta-judge and reflector together, here are the steps to optimize the rubric. One simplification: the paper tunes the rubric per criterion and also gives the reflector anchor examples. Here I treat the rubric as a single prompt to keep the explanation short.

Step 0: Generate explanations on the evaluation set

Step 0: the generator produces explanations for the evaluation set

Step 1: Scoring the data

Step 1: the judge scores the training and validation sets

Step 2: Calculating the weighted score (the validation step)

Step 2: the weighted score on the validation set

Step 3: Score tracking and early stopping (the control flow step)

Step 3: tracking the best rubric and early stopping

Step 4: Constructing the error focus set (the textual gradient)

Step 4: building the error focus set from the training set

Step 5: Generating the new rubric

Step 5: the reflector proposes a revised rubric

Step 6: Iteration

Step 6: iterate until the metrics clear their targets

4. Putting the LLM judge in production

Once we have tuned the rubric prompt, the LLM judge is now ready to be used. In production we only use the LLM generator and the tuned LLM judge together to produce explanations in real time. Here is how:

Step 1: Initial generation

Production step 1: the generator drafts an explanation

Step 2: Real-time evaluation

Production step 2: the judge evaluates the draft

Step 3: The routing decision

Production step 3: route on PASS or FAIL

Step 4: The reflection loop

Production step 4: the critique is fed back to the generator

Step 5: The boundary (fallback)

Production step 5: bounded retries and fallback

5. Updating the evaluation set

Once the LLM judge is in production, we need to make sure it stays aligned with human judgement. User behavior changes over time, so the rubric may stop being relevant. The paper proposes appending new annotated samples every week, so the rubric can be re-tuned when drift happens.

Step 1: Continuous traffic sampling

Drift step 1: sample about 300 explanations per week

Step 2: Rolling human-in-the-loop (HITL) annotation

Drift step 2: humans annotate the weekly sample

Step 3: Drift detection

Drift step 3: the production judge scores the same weekly sample

Drift step 3: alignment metrics against the fresh human labels

Step 4: The rubric tuning loop

Drift step 4: check the metrics against the targets

Drift step 4: re-tune the rubric and redeploy

6. Closing

We have seen a way to make an LLM-as-a-judge continuously updated, instead of treating it as a one-time evaluator. The ingredients are human-labeled data with rationales, a meta-judge to check reasoning, a reflector to rewrite the rubric, and a small weekly annotation stream to catch drift. The same framework can be adapted to any open-ended task where outputs cannot be verified by a deterministic rule.