All videos

Video briefing

Fine-Tuning Decision Models: What You Can Actually Change

Laya · Jev · Gemini Decision 1 · OpenAI Decisions API 5:44

A technical breakdown of what you can tune across Laya, Jev, Gemini Decision 1, and OpenAI's Decisions API, and how to calibrate their confidence.

Transcript

What the video says

Fine-tuning a decision model: what you can change in Laya, Jev, Gemini Decision 1 and OpenAI's Decisions API. From TerraNet Technologies. If this helps, a like and a subscribe go a long way. Pairing a quick decision model with a larger fallback LLM sounds ideal, but it only succeeds if confidence scores are trustworthy. Of Laya, Jev, Gemini Decision 1 and OpenAI's Decisions API, only Laya can be fine-tuned. The real engineering work is data collection, calibration, and split hygiene.

For Jev, Gemini Decision 1, and OpenAI's Decisions API, each model serves the same weights to everyone. Google says Gemini Decision 1 has the lowest calibration error only in its own launch charts. OpenAI's guide makes no calibration claim and says to set thresholds from your own labelled examples. You shape these systems through question design: replace broad judgments with narrow questions and combine the answers in code. Your policy remains in code you govern, rather than trapped inside an uninspectable prompt.

A model is calibrated only when an eighty percent confidence score translates to an eighty percent empirical success rate. Out of the box, none guarantees this. Public critiques demonstrate Jev outputting zero point nine two confidence for heads on a fair coin, while a review found Laya delivering zero percent accuracy on Khmer text at ninety-five percent confidence. A probability is only calibrated on data like the data it was calibrated on. Recalibrate on your own data: hold out labelled examples, and fit Platt scaling or temperature scaling.

Laya offers two training routes. Its fit function trains a small logistic layer per question on frozen features in seconds, keeps it only if it beats chance under cross-validation and beats Laya's own answers, holds out a quarter of rows to fit a temperature, a ninety percent conformal threshold and a review line at precision zero point nine five, and outputs a route of auto or review. The README example accepts thirty-five rows but says an actionable route needs a few hundred. Full fine-tuning runs on Kaggle's free pair of T4 GPUs, and the fine-tuned checkpoint reached zero point seven six six accuracy on the typed-decisions benchmark's test split.

Figure one outlines the five-step deployment pipeline. Step one, collect and label: your data, a teacher LLM, or people gather real inputs and record the right answer to each typed question. Step two, split: your code holds back a calibration set and a test set before any training. Step three, train or reshape: Laya fits a layer or retrains on the training set, while hosted models have their questions improved instead. Step four, calibrate: your code fits temperature or Platt scaling on the calibration set. Step five, threshold and run: your code picks the threshold on the test set and runs the two-stage pattern, handing off escalated cases as new labelled examples.

Figure one's loop breaks down if split discipline slips. If you fit calibration temperatures on training data, the model looks more certain than it really is. The published fine-tune has not been refitted and its card reports calibration error zero point two one three against zero point one four four for Jev, warning to treat its confidence as uncalibrated. Pin your hosted models to explicit version identifiers so underlying weight updates do not invalidate your tuned cut-offs, and never evaluate on a test set too small to yield tight bounds.

Labels come from three places: past decisions, a teacher LLM, and people for the test set. Past decisions represent real outcomes if historical mixes match current inputs. A teacher LLM answers typed questions across large samples, but the benchmark's teacher agreed with itself only seventy-three point five percent of the time, so zero point seven six six measures agreement with a noisy teacher, not correctness. Human labelling is slow and expensive, but irreplaceable for the test set, because testing with the same teacher that trained the model only measures how closely it copies that teacher.

Once calibrated, setting your threshold balances the share of cases cleared versus accuracy on them. Raising the threshold makes the decision model more accurate on fewer cases and routes more traffic to the fallback LLM. OpenAI's guide frames this as weighing the cost of false positives versus false negatives. Laya's route does this once fitted, establishing an automated review line at zero point nine five precision. Tracking operational data remains vital because domain shift will drift the calibration over time.

Decision models pay off when throughput runs thousands of times a day and LLM calls incur meaningful cost or latency. Consider Journal Mosaic: its moderation LLM already acts as a teacher, but the volume does not yet justify a second model.

Before spinning up dedicated inference nodes, start recording your current routing outputs alongside actual human outcomes. That structured log provides the exact dataset needed to train or calibrate a decision model when traffic warrants it. Read the full technical guide at the link.

Produced by TerraNet Technologies from the cited evidence behind the written article. Facts can change after the recorded date.