Skip to content

LLM-as-Jev: LLMs Are Already Jev-Style Decision Models — When and How to Fine-Tune Them

Skip →Bespoke Nimble
Decisions stage 2 #4corefrontierpaperrubric 9/122026 · arXiv (Microsoft) · ~45 min

Yinheng Li, Justin Wagle

Status

TL;DR. You do not need a special architecture to get a Jev-style decision model. Number the options [1] … [K], start the assistant turn with Best answer: [, and score every candidate suffix such as 3] or 12] with a single prefill and a short trie of teacher-forced steps. A frozen Qwen3.5-4B scores 81.4% on public JevBench this way. Fine-tuning helps only when the training data matches the test format, and only with KL anchors that stop the model’s generation from breaking. With a budgeted “think” block before the readout, the 4B model reaches 94.8%.

Why it matters now. This is the “how does it work inside” paper for the whole section. Jev is closed, so this paper rebuilds its interface from parts every IR researcher already knows: monoT5 reads a true/false token, RankGPT puts candidates in one context, and this paper puts both ideas into a readout with no length limit on the option list. It also explains why decision fine-tunes fail in ways benchmarks miss, and it was retitled between arXiv versions: v1 (Oct 1 2026) was called “LLM2Jev”, and v3 (Oct 13) is “LLM-as-Jev” and adds Thinking Jev. Do not confuse it with an unrelated community tool also called LLM2Jev, which scores each option in a separate yes/no prompt.

The readout. The user turn contains the state and the options, one per line, as [1] … to [K] …, with the instruction to answer only with the bracketed number. The assistant turn is prefilled with Best answer: [. Choosing option kk means generating the suffix ck=(ck,1,…,ck,nk)c_k = (c_{k,1},\dots,c_{k,n_k}), for example the tokens 1, 2, ] for option 12. The score and the decision distribution are

sk=∑t=1nklog⁡pθ ⁣(ck,t∣x,ck,<t),P(k∣x)=exp⁡(sk)∑j=1Kexp⁡(sj).s_k = \sum_{t=1}^{n_k} \log p_\theta\!\left(c_{k,t} \mid x, c_{k,<t}\right), \qquad P(k \mid x) = \frac{\exp(s_k)}{\sum_{j=1}^{K} \exp(s_j)} .

Because every suffix ends in ], no suffix is a prefix of another (1] is not a prefix of 12]). So KK is not capped by an alphabet, unlike letter readouts that stop at 16 or 26 options. The suffixes form a shallow trie of depth ⌊log⁡10K⌋+2\lfloor \log_{10} K \rfloor + 2 for digit-splitting tokenizers (Appendix C). For the tested lists of up to 151 options, scoring uses one prefill plus 1–3 short steps. With digit-splitting tokenizers, additional sequential steps grow as ⌊log⁡10K⌋+1\lfloor \log_{10} K \rfloor + 1; branch work and prompt length also grow with KK.

LLM-as-Jev: reading a decision from an ordinary LLM through a bracketed-number suffix trie The prompt lists options as bracketed numbers and ends the assistant turn with "Best answer: [". After one prefill, every candidate suffix such as "1]", "2]" or "12]" is scored by teacher forcing on a shallow trie; with 12 options the trie has depth 3. Summed suffix log-probabilities are softmaxed over the candidates. Fine-tuning uses the negative log-likelihood of the gold path with probabilities renormalised over legal tokens, plus KL anchors to the frozen base model. Prompt (prefilled once) State: s Options: [1] … [12] Best answer: [ [ 1 2–9 ] 0–2 ] ] = option 1 = 10–12 = options 2–9 candidate-suffix trie (K = 12, depth 3) Training-free readout s_k = Σ_t log p(c_k,t | x, c_k,<t) P(k | x) = softmax over k of s_k 1 prefill + 1–3 steps for K ≤ 151 (tested) Anchored fine-tuning L_tree: gold-path NLL over legal tokens + λ · KL anchors to the frozen base (legal mass, exit tokens, positions)
Original sketch. One prefill, then a shallow trie over bracketed option numbers. The same trie defines the training loss: renormalise over legal tokens along the gold path, and anchor everything else to the frozen model.

The fine-tuning loss. At each trie node vv, only some tokens are legal continuations, with total legal mass mθ(v)m_\theta(v). The model’s probability of candidate kk is renormalised over legal tokens along its path, and the loss is the negative log-likelihood of the gold candidate yy:

qθ(k∣x)=∏t=1nkpθ(ck,t∣x,ck,<t)mθ(ck,<t),L=−log⁡qθ(y∣x)+λ (Lmass+Lout+Lpos).q_\theta(k \mid x) = \prod_{t=1}^{n_k} \frac{p_\theta(c_{k,t} \mid x, c_{k,<t})}{m_\theta(c_{k,<t})}, \qquad \mathcal{L} = -\log q_\theta(y \mid x) + \lambda\,(\mathcal{L}_{\text{mass}} + \mathcal{L}_{\text{out}} + \mathcal{L}_{\text{pos}}).

The three anchors are KL terms against the frozen base model. Lmass\mathcal{L}_{\text{mass}} keeps the legal vs illegal mass at trie nodes; Lout\mathcal{L}_{\text{out}} keeps the ranking among illegal “exit” tokens; Lpos\mathcal{L}_{\text{pos}} keeps the full next-token distribution at the start of the reply and other anchored positions. Anchored distributions are truncated to the top 64 tokens plus a remainder bucket and cached in advance, so training does not need a second model in memory. Defaults: λ=1\lambda = 1, LoRA or full fine-tuning, at most one epoch, options shuffled.

  • Table 1, public JevBench (231 items) / ECE. 4B training-free 81.4 (ECE 0.057); 4B LoRA 84.0 (0.050, the best non-thinking calibration); 4B full fine-tune 80.1 (0.070). Baselines: SemIf 80.5, reflex 4B 79.7, Winnow-12B 86.6, and GPT-5.6 Sol generating text 94.4. At 0.6B: 56.7 training-free, 61.0 with LoRA.
  • External benchmarks. The training-free readout beats SemIf, a letter-logit readout on the same weights, by 3.2 points macro (313 wins vs 154 losses).
  • Many options. Banking77 (77 intents) zero-shot: 69.0 at 4B. Fine-tuning lifts it by 4.9–7.7 points at 4B and by 37–42 points at 0.6B (22.2 → 60.5 for full fine-tuning).
  • Vision for free. Prepending image tokens gives 82.4 on MMBench (CircularEval) and 64.6 on MMStar; with images withheld, 15.2 and 28.8.
  • Two traps (§4.3). Intent data alone causes a bias towards “yes” and drops JevBench from 81.4 to 74.9. Short-context data alone drops correct long-input items from 23 to 17. Mixing reasoning and long-context data fixes both.
  • Anchor ablation (§4.4). Accuracy varies by at most 1.7 points (4B) across anchor weights, apart from one outlier. Without anchors, the 4B model adds trailing text after ] in 69 of 231 queries; with λ = 1 this falls to 0 (and to 1 failure at 0.6B). LoRA beats full fine-tuning at 3 of 4 anchor weights.
  • Thinking Jev (§4.5). Budgets up to 256 tokens give nothing; then 512 → 84.8, 1,024 → 89.2, 2,048 → 91.8, 4,096 → 94.8, matching GPT-5.6 Sol at 94.4. The paper says this is still over 5× cheaper than large models in non-thinking mode.
  • Cost. By the paper’s estimate, a dense 4B model costs about 0.046 USD per million tokens, close to Jev’s 0.042.
  • Table 15, public vs sealed JevBench. Every community model drops sharply on the 308 sealed items: Jev 1.13 86.6 → 36.7, Cygnet 87.9 → 33.8, Plumb-4B 89.6 → 38.0, jqv 80.1 → 28.2; chance is about 29.3.
  • Small public benchmark with a large sealed gap. 231 public items give a ±5-point 95% interval near 81%. The sealed drop is consistent with data exposure, benchmark-directed selection and distribution shift (harder or differently formatted sealed items), which decision benchmarks separates in more detail. The External macro and paired win counts are the stronger evidence.
  • Calibration is reported only in aggregate. ECE and Brier on JevBench, including Table 16’s per-budget values for Thinking Jev, say little about per-domain reliability or whether a 0.5 threshold is right for your task; Hamel Husain and Antaripa Saha’s procedure still applies.
  • Option-order sensitivity. Joint scoring is order-sensitive; the paper shuffles during training but does not report a test-time permutation analysis for JevBench.
  • Two backbones. Results are on Qwen3.5-4B and Qwen3-0.6B. Whether the training-free readout matches purpose-built 27B models such as Perplexity’s Decider is not tested.
  • Thinking costs latency. Thinking Jev gives up the main selling point of a decision model, single-pass speed. Appendix K, Table 16 reports calibration under thinking: ECE/Brier move from .057/.247 without thinking to .042/.078 at 4,096 tokens, with non-monotonic ECE across budgets (.072 at 512). The unresolved question is whether these results and a fixed decision threshold transfer to held-out domains.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    With a Qwen-style tokenizer that splits digits, a prompt with K = 12 options ends in "Best answer: [". Suppose the model gives log p("1") = −0.7 at the root; after "1" it gives log p("]") = −1.6 and log p("2") = −0.4; after "12" it gives log p("]") ≈ 0; and log p("3") = −2.0 at the root with log p("]") ≈ 0 after "3". Ignore all other options. Compute the scores and the readout probabilities for options 1, 3 and 12, and give the trie depth for K = 12, K = 77 and K = 151.

    What a strong answer covers
    • Scores are sums of suffix log-probs: s_1 = −0.7 + (−1.6) = −2.3; s_12 = −0.7 + (−0.4) + 0 = −1.1; s_3 = −2.0 + 0 = −2.0.
    • Softmax: exp values 0.100, 0.333, 0.135, sum 0.569, so P(1) ≈ 0.18, P(12) ≈ 0.59, P(3) ≈ 0.24. Options 1 and 12 share the root token "1", and the trie splits its mass between them at the next step.
    • Depth = floor(log10 K) + 2: 3 for K = 12, 3 for K = 77 (Banking77), 4 for K = 151 (CLINC150). With a tokenizer that groups up to three digits the depth is 2.
    • Cost: for the tested lists of up to 151 options, one prefill of the prompt plus 1–3 short teacher-forced steps over the trie. With digit-splitting tokenizers the additional sequential steps grow as floor(log10 K) + 1, and branch work and prompt length also grow with K. Isolated scoring instead needs K separate prompts.
  2. Mechanism

    The paper scores all options jointly in one prompt and reports 81.4% on public JevBench, versus 76.2% for LLM2Jev, a community tool on the same backbone that scores each option in a separate yes/no prompt. Explain why joint scoring should help, which kinds of question benefit most, and what new failure mode joint scoring introduces.

    What a strong answer covers
    • In one prompt the model sees all alternatives, so it can compare them. Comparative questions (the closest semantic match, "none of the above") cannot be answered by judging each option alone.
    • Separate yes/no prompts produce probabilities that are not normalised against each other; several options can each look plausible. The argmax is well-defined, but independently prompted yes-probabilities need not form a coherent mutually exclusive distribution or capture comparisons among options.
    • The softmax over suffix scores is an exact distribution over the K candidates, which is what a decision API returns.
    • New failure mode: sensitivity to option order (position bias). The paper shuffles options during fine-tuning; AnyJev averages over cyclic rotations at test time.
    • Link to IR: this is the pointwise vs listwise distinction (monoT5 vs RankGPT), and the Perplexity Decider grouping results show listwise context can also hurt when candidates compete.
  3. What if…

    In the anchor ablation, removing the KL anchors (λ = 0) leaves JevBench accuracy almost unchanged, yet the 4B model then emits trailing text after the closing bracket on 69 of 231 queries and the 0.6B model falls into non-terminating chat loops. Explain from the loss why accuracy does not reveal this, and what each of the three anchors protects.

    What a strong answer covers
    • The tree loss renormalises probabilities over legal tokens at each trie node, so it only constrains the relative order of legal continuations. The total legal mass and everything outside the trie are free to drift.
    • The readout also renormalises over candidates, so a model that puts much less mass on legal tokens can still pick the same argmax. Accuracy is blind to the drift; free generation is not.
    • L_mass keeps the legal vs illegal mass at each trie node close to the frozen base; L_out keeps the ranking of illegal exit tokens (for example, what comes after "]"); L_pos keeps the full next-token distribution at the reply start and other anchored positions.
    • With λ = 1 the failures fall to 0 (4B) and 1 (0.6B). The lesson for any decision fine-tune: test generation behaviour and legal mass, not only benchmark accuracy.
  4. Critique

    Table 1 compares systems on 231 public JevBench items: training-free 4B at 81.4, SemIf at 80.5, reflex 4B at 79.7, and 4B LoRA at 84.0. Table 15 adds that on 308 sealed items Jev 1.13 falls from 86.6 to 36.7, with chance at about 29.3. Critique what these benchmarks can and cannot show, with a rough confidence interval for an accuracy near 81% on 231 items.

    What a strong answer covers
    • Binomial standard error: sqrt(0.81 × 0.19 / 231) ≈ 0.026, so a 95% interval is about ±5 points. The 81.4 vs 80.5 vs 79.7 differences are within noise; 84.0 vs 81.4 is suggestive at best without a paired test.
    • The paper does report a paired comparison against SemIf on the External benchmarks (313 wins vs 154 losses), which is stronger evidence than the JevBench gap.
    • The sealed split shows every model, including Jev, far closer to chance than on public items. Three explanations are confounded: data exposure (public items leaking into training data), benchmark-directed selection of models and prompts, and distribution shift (sealed items may be harder or differently formatted, which would lower even a frozen model). Public JevBench scores alone cannot separate them.
    • Better evidence: paired tests on larger held-out sets, calibration measured per domain, and thresholded precision/recall on a labelled task, as in the Hamel procedure.
  5. Design

    You want cheap graded relevance labels (0–3, UMBRELA style) for a RAG evaluation over 50,000 (query, passage) pairs, and you have an open 4B instruct model. Using this paper's findings, decide between the training-free readout and an anchored LoRA fine-tune on your 2,000 labelled pairs, and say how you would set decision rules and check calibration.

    What a strong answer covers
    • Start training-free: list the four grades as options [1]–[4] and read the distribution. The paper's main advice is to default to zero-shot and fine-tune only when training and test formats and lengths match.
    • Use the probability-weighted expected grade or a thresholded P(grade ≥ 2) as the decision; tune the threshold on held-out labels with cross-validation, as in Hamel and Saha, rather than taking the argmax.
    • If you fine-tune: use LoRA with λ = 1 anchors, shuffle option order, keep at most one epoch, and mix in other decision data. Training only on one narrow task triggers the "intent trap" (yes-bias; JevBench 81.4 → 74.9). Training only on short passages triggers the "short-context trap" (long-item correct 23 → 17).
    • Validate both on a held-out split: agreement with human grades (Cohen's kappa), ECE or reliability bins, and system-ranking agreement for the RAG systems you compare. Check trailing-text and legal-mass drift after fine-tuning.
  6. Research idea

    "Thinking Jev" lets the 4B model reason inside a budgeted think block before the readout, and accuracy on public JevBench rises from 84.8 at 512 tokens to 94.8 at 4,096. Appendix K, Table 16 reports calibration under thinking on the same 231 public items: ECE/Brier move from .057/.247 without thinking to .072/.198 at 512 tokens and .042/.078 at 4,096, with non-monotonic ECE across budgets. Propose a study of whether these results, and a fixed decision threshold, transfer to held-out domains, with a falsifiable prediction.

    What a strong answer covers
    • What is already known: on public JevBench, aggregate ECE does not rise with thinking (.042 at 4,096 vs .057 without), and Brier falls sharply because accuracy rises. What is not known: per-domain reliability, behaviour off JevBench, and whether a threshold chosen at one budget still works at another.
    • Hypothesis: on held-out domains, long thoughts make the readout collapse onto the option the thought reached (the paper notes the readout consistently picks it), so per-domain reliability degrades in the high-confidence bins even if aggregate ECE looks fine.
    • Minimal experiment: budgets 0, 512, 1,024, 2,048, 4,096 on held-out decision sets from several domains; record accuracy, per-domain reliability diagrams, ECE, Brier and AUROC. Choose one threshold (or temperature) at budget 0 and apply it unchanged at every budget, as well as refitting per budget.
    • Practical angle: for thresholded use (Hamel-style evals) what matters is whether a single threshold transfers across budgets and domains, not only whether aggregate ECE stays low.
    • Falsifier: if per-domain reliability and the precision/recall of the fixed threshold at 4,096 tokens are no worse than at 0 on held-out domains, thinking does not harm calibrated deployment and the cost question becomes purely latency vs accuracy.

Done with this page?

Status