When an agent eval keeps getting your cases wrong, you have two levers. Threshold tuning moves the cutoff on the score the model already gives, so you trade false alarms for misses. Fine-tuning retrains the model on the cases your team corrected, so the scores themselves move. A threshold is enough when the eval ranks runs in the right order and only the cutoff is off. You need fine-tuning when it ranks them wrong, for example on a rule only your product has. Polaris, Kubit's in-house small language model, gives you both: a confidence setting on each eval, and fine-tuning of the Classifier and the Evaluator on your team's corrected labels and scores.

Key facts

  • Some LLM judges are tuned through the threshold. Arize's guide for its Jev decision model says to tune the judge's threshold against human-labeled examples (Arize)

  • A judge call has a price. Langfuse puts a typical LLM-as-a-judge evaluation at $0.01 to $0.10 per assessment (Langfuse docs), and Databricks' MLflow docs suggest a sample rate of 0.05 to 0.2 for expensive judges (Databricks docs)

  • Polaris fine-tuning retrains custom adapters on the corrections your team makes, for the Classifier or for an eval. Span text is used during tuning and isn't kept (Polaris)

  • Polaris labels and scores every span in under 100ms, with no additional LLM cost or sampling. Polaris is up to 98% lower cost and ~15x faster than a frontier LLM judge, with comparable accuracy on public agent benchmarks (Polaris)

What's the difference between threshold tuning and fine-tuning?

Where threshold tuning and fine-tuning each act on an eval

An eval gives each run a score, then a cutoff turns the score into a verdict. Threshold tuning acts on the cutoff, and fine-tuning acts on the model that gives the score.


Threshold tuning

Fine-tuning

What changes

The cutoff on the score

The model that gives the score

What you need

A set of runs your team has marked right or wrong

The corrections your team makes to labels and scores

What it fixes

Too many false alarms, or too many misses, when the order is right

Runs scored in the wrong order, such as a refund promise scored as fine

What it can't fix

A model that ranks a bad run above a good one

Nothing on its own. You still pick how sure a verdict must be

Where it lives

A setting on the eval

Adapter weights trained for your workspace

Say your eval asks whether the agent promised a refund it isn't allowed to give. If the judge scores real refund promises at 0.7 and harmless mentions of the word "refund" at 0.3, a threshold at 0.5 sorts them. If it scores both at 0.6, no threshold separates them, because the model can't tell the two apart. Moving the line then only decides which mistake you'd rather make.

When is threshold tuning enough?

Threshold tuning is enough when the eval checks something general and the model already knows it well. Answer relevance and a reply in the wrong language are cases a general model ranks in roughly the right order out of the box. You label a few dozen runs, pick the cutoff that balances misses against false alarms for your traffic, and leave it.

It's also the right first step on any new eval. Before you collect corrections, check whether the scores already separate the runs you care about. If they do, a threshold is the whole fix.

When do you need to fine-tune an agent eval?

You need fine-tuning when the scores themselves are wrong for your product. Three signs point there:

  • You keep correcting the same kind of run. Your team marks the same refund mention as wrong week after week, and the model makes the same call the week after

  • Moving the threshold trades one error for another. Every cutoff you try either floods the queue with false alarms or lets actual failures through

  • The rule is yours, not general knowledge. Which refunds each plan allows, or which tool is right for each customer tier, is written down only at your company, so a model trained on public data has never seen it

A judge you can only prompt or re-threshold doesn't learn from those corrections. You can reword the prompt, but each new wording is a guess you re-test by hand, and the corrections your team already made don't feed back into the model.

How does Polaris learn from your corrections?

How Polaris learns from your corrections

Polaris has two parts. The Classifier labels every span from a taxonomy trained on 30+ domains, such as a Misstep labeled wrong_tool on a call that returned OK. The Evaluator scores every span against your evals, which can be yes or no, a choice from a list you define, or a score.

You can fine-tune both. Polaris fine-tuning retrains custom adapters on the corrections your team makes in the workspace, for the Classifier or for one of your evals. So when your team corrects a label that doesn't fit your domain, or a score your eval got wrong, the adapter for that part learns the correction. Span text is used during tuning and isn't kept after, and the corrections and the adapter weights stay in Kubit (Polaris).

Each eval also keeps its own threshold. Under More options, "How sure it must be (%)" sets how confident Polaris must be before it answers yes, from 1 to 99, and defaults to 50 for a yes or no eval (Add your own evals). So you set the cutoff for your tolerance, and fine-tuning fixes the scores underneath it.

Why does it matter that the eval runs on every span?

Fine-tuning only pays off if the tuned eval sees the runs where your rule breaks. When a judge costs a metered call per judgment, teams score a sample, and a rule that breaks in a small share of runs may never reach the sample. Polaris labels and scores every span with no additional LLM cost or sampling, and evals are included in Agent Analytics at no extra cost (Polaris). The longer answer is in Should you score every agent run or a sample?

The scores then feed the rest of Kubit. Flows names each step of an execution path by its label, so a corrected Misstep shows up on the step where it happened, and Triggers compares the rate before and after a model upgrade or a commit.

How do you start?

  1. Write the eval in your own words on the Polaris page, as yes or no, a choice or a score (Add your own evals)

  2. Run it on a week of traces and read the results in Activity

  3. If the scores already separate good runs from bad ones, set "How sure it must be (%)" and stop there

  4. If they don't, correct the runs it got wrong and fine-tune that eval on your team's corrections

Book a demo to see Polaris label and score your own agent runs.

Read next: Should you score every agent run or a sample? · Why we label every span instead of a sample · Misstep vs Exception

FAQ

What's the difference between threshold tuning and fine-tuning for agent evals?

Threshold tuning moves the cutoff on the score an eval already gives, so you trade false alarms for misses. Fine-tuning retrains the model on cases your team corrected, so the scores themselves move. Use a threshold when the eval ranks runs in the right order and only the cutoff is off, and fine-tune when it ranks them wrong.

When should I fine-tune an agent eval instead of changing the threshold?

Fine-tune when your team keeps correcting the same kind of run and every threshold you try trades one error for another, which is likely when the rule is specific to your product, such as which refunds a plan allows. A threshold is enough when the eval already ranks runs in the right order.

Can you fine-tune an LLM judge?

Some model providers offer fine-tuning, and some LLM judges are tuned through the prompt or a score threshold instead. Arize's guide for its Jev decision model, for example, says to tune the judge's threshold against human-labeled examples. A judge you can only prompt or re-threshold doesn't learn from your team's corrections.

Can I fine-tune Polaris on my own data?

Yes. Polaris, Kubit's in-house small language model, has two parts: the Classifier labels every span and the Evaluator scores every span against your evals. You can fine-tune both on the labels and scores your team corrects. Span text is used during tuning and isn't kept, and the corrections and adapter weights stay in Kubit.

What's the cheapest way to evaluate every LLM agent run in production?

Run the evals on a small model instead of a metered LLM judge call per run. Polaris labels and scores every span in under 100ms with no additional LLM cost or sampling, and evals are included in Agent Analytics at no extra cost. Polaris is up to 98% lower cost and ~15x faster than a frontier LLM judge, with comparable accuracy on public agent benchmarks.

Table of contents

Running agents in production?

The first cohort is closed. Join the waitlist for the next one. Your traces stay in your warehouse.

Summarize this post

Share