Ravilution logo
Back to writing

October 2026

Decision Models over LLMs: Seven Experiments

What a decision model is, what seven offline tests against an LLM showed, and a recipe for testing a decision before moving it off an LLM.

By Ravi AutarNovember 3, 20266 min read

Much of what an app asks an LLM isn’t writing. It’s a decision: does this row matter, should the coach message now, is this reply grounded. A decision model answers exactly that kind of question: a typed question in, an answer and a probability out. This post covers what a decision model is, what seven offline tests on a coaching app showed, and a recipe for testing a decision before moving it off an LLM.

The tests ran offline on recorded data from an AI fitness coach. The numbers are from the development split and haven’t been checked against hand labels yet, and nothing has shipped. Read them as direction, not as a verdict.

What is a decision model?

An LLM is built to write. Ask it whether a row of data matters for a message and it will tell you, in a paragraph, with reasoning you then parse, validate and occasionally argue with. A decision model skips the paragraph. You give it a state (a conversation, a record, a reply) and a typed question: yes or no, a pick from a list, a score. It gives back the answer and a probability. No free text, nothing to parse.

The one used here is Jev, TypeSafe’s “System One” model. The terms come from Thinking, Fast and Slow: System Two is the slow, deliberate thinking, closer to what an LLM does when it reasons step by step; System One is the fast call made without deliberating. Read that way, “does this row matter?” is a System One call, even when it is written as a System Two prompt.

Same decision, two kinds of model

An LLM

Writes an answer you parse

Seconds a call

Explains itself in prose

A decision model

Answers a typed question: yes or no, a pick, a score

A third of a second

A probability on every answer

Two things make it worth testing. It’s fast and cheap: about a third of a second and a fraction of a cent per call in these runs, against seconds for most of the LLM steps it was up against. And the probability is usable: you can rank by it, put a threshold on it, and check whether high confidence actually means right.

What the tests showed

Seven tests, six decisions

The decision model against an LLM or today’s rule, on the development split.

Passed a mark set in advance

Pick the time window

one question lost of 84, 18× faster

Ahead, with no pass mark

Which rows matter

96% found, in 0.37 s

Spot a flawed reply

98% of pairs vs 89%

Tied or lost

Message now?

no better than always

Say “I don’t have that”

nobody passed

Check each constraint

no better, as slow

Waiting on hand labels

Retry after silence

never retries; is that right?

Where the decision model led

Which rows matter for a message. The coach reads a slice of the athlete’s record before it answers. Today’s slice is the newest stretch, and it held every needed row for only 29% of the test questions (most questions aren’t about yesterday). Hybrid search, keywords plus embeddings, got 89%. An LLM pruning those candidates got 85%, and took 14.6 seconds a turn. The decision model got the plainest job of all: one yes/no per record row, all 288 rows in three parallel requests, keep the 20 most likely. 96%, in 0.37 seconds.

Did every needed row reach the prompt?

Generated questions about one training record, development split.

0%
25%
50%
75%
100%
29%
89%
85%
96%

Today’s slice

the newest rows

Hybrid search

5.3 s

LLM pruning

14.6 s

Decision model

0.37 s

The decision model asked one yes/no question per record row and kept the 20 most likely.

Spotting a flawed reply. Real coach replies each got a twin with one injected flaw: a made-up fact, an ignored question, or a diagnosis. Three yes/no checks per reply ranked the flawed twin above its original in 98% of pairs. The LLM judge got 89%, at about five times the latency and sixteen times the cost. At one fixed threshold, though, the LLM scored higher, so ranking well and deciding well are not the same result.

The time window. Before the search runs, an LLM call reads which period a message points at (“last week”, “early June”). As one yes/no per day in the record, the decision model lost one question out of 84, at a sixth of the cost and about 18 times faster. It is the only test that passed a mark set in advance. A smaller LLM passed the same mark too, at about the same cost and six times slower, which is the comparison worth making before reaching for a new kind of model.

Where it tied or lost

Should the coach message now? One yes/no on whether a check-in is worth sending. It agreed with the coach’s past decisions 53 to 64% of the time; “always message” agreed 66%. Its probabilities sat between 0.2 and 0.8 on every single case, which is a decision model saying it doesn’t know.

Saying “I don’t have that.” When the rows don’t answer the question, the coach should say so instead of answering from a neighbouring row. The test used near-misses: the same search with the rows that truly answer it removed. The pass mark was at most 10% of near-misses accepted. The decision model accepted 37%, the LLM judge 41%. Nobody passed. Splitting each question into constraints (which date, which exercise, which goal) didn’t move the number: a near-miss often shares the date and the topic, so every constraint passes.

The retry after a silent check-in sits in between. As a three-way choice (retry, skip, escalate) the decision model never retries. Whether that is right is a judgement, case by case, that only hand labels can settle.

A recipe for testing a decision

  1. One decision per test. Write the question it really answers in one line: “does this row matter for this message?”, “should the coach message now?”
  2. Recorded cases, with the right answer built in. No live users. Where a right answer is needed, construct it: a reply twin with one injected flaw, or a near-miss with the answering rows removed.
  3. Compare against what exists. Today’s behaviour, the LLM that would otherwise make the call, and a smaller, cheaper LLM too.
  4. Write the pass mark down first. Before the first model call, one committed file says the question, the data, the thresholds, the budget and what counts as a pass. Without it, the near-miss result would have been easy to call a win: the decision model ranks those cases almost as well as the LLM at forty times less per case. That’s the Texas sharpshooter: fire at the barn, then paint the target around the holes. The early tests here skipped this step, and their numbers lead with no line that says whether leading is enough.
  5. Keep a held-out set unread. Tune on the development split, label the disagreements by hand, then run the held-out cases exactly once.

How to pick the next decision to try

  1. Look for decisions dressed as prompts. If the code parses an LLM’s answer into a boolean, an enum or a number, it’s a candidate. Reading the output schema is faster than reading the prompt.
  2. Prefer many small questions over one big one. Every result that led was wide and shallow: one question per row, one per day, three per reply. The one fuzzy judgement (“is now a good time?”) is where the probability went flat.
  3. Batch the questions, and keep LLM steps out of the path. The speed comes from putting hundreds of small questions into a handful of parallel requests. The constraint check lost that advantage by putting an LLM call in front.
  4. Read where the probability sits. A spread from 0 to 1 that separates right from wrong is a good sign. A pile-up in the middle says the question is underspecified, or the decision needs reasoning the model can’t do.

Where it falls short

  • Dates are read loosely. The time window passed, but “back in early June” marked June days in four different years.
  • It can’t tell you why. An LLM that gets it wrong at least writes down a reason you can argue with. The decision model gives you a number, and to find out why it was wrong, you read the cases yourself.
  • Built labels are a floor, not the truth. Constructed answers assume the originals are clean, which isn’t always so. A person has to label the disagreements before the numbers can be trusted.

What carries over to any codebase is one question to ask of every LLM call: is this a writing task, or a decision?

Say hi.