TL;DR
Jeva encodes a request and each candidate option separately, then refines only the request state against a frozen bank of option vectors, giving permutation-invariant choices, explicit “none applies” outputs, and cross-request reuse that cuts median latency by ~28x on repeat option sets.
Why It Matters
Many LLM calls are not open-ended generation. They are small, structured decisions: pick a tool from a registry, choose a document from a shortlist, answer yes/no, assign a 1-5 score. The usual recipe is to paste the question and all candidates into one prompt and read the answer from token logits, as done by open models like JevK5 and Intern-Decision.
That setup has four annoying failure modes. Reordering the candidates can flip the answer. Adding or removing options changes the output vocabulary. There’s no clean way to say “none of these apply” (softmax over candidates always sums to 1). And because every candidate sits inside the prompt, nothing about those candidates can be reused across requests, even when the tool registry or document collection barely changes.
How It Works
The core idea: stop jamming request and candidates into one sequence. Encode them separately, then let a tiny module mix them.
A shared language backbone (Qwen3.5-4B with LoRA adapters) encodes the request into one vector and each option into its own vector. These option vectors are request-independent, so they can be cached. A single lightweight “decision block” then uses attention where the request vector is the query and the option vectors are keys and values. Only the request state gets updated; the option vectors stay frozen.
This matters because a pure independent scorer (dot-product request against each option) can never reverse which of two options wins when you add a third, since the softmax denominator cancels out. Jeva’s block, by refining the request state based on which options are present, can. The paper proves this with a small construction: one two-dimensional head is enough to make option A beat B in one candidate set and B beat A in another.
For the “none applies” problem, Jeva adds a separate coverage gate. In plain terms: a sigmoid on the top option score decides “is there any good answer here at all,” giving probability rho. Then the candidate softmax q gets scaled by rho, and the leftover 1-rho goes to null. Coverage is estimated from score magnitude, not from a normalized competition among candidates, so it doesn’t mechanically shrink as you add more options.
# per request
z = encode_request(x, question, decision_type)
U = [cache.get(opt) or encode_option(opt) for opt in options]
for block in decision_blocks: # L=1 in practice
msg = attention(query=z, keys=U, values=U)
z = z + alpha * msg
z = z + ffn(rmsnorm(z))
scores = [z @ u for u in U]
rho = sigmoid((max(scores) - b_cov) / tau_cov) # coverage
q = softmax(scores / tau_dec) # competition
p_null, p_i = 1 - rho, rho * q
The same machinery handles three output types: Choice (argmax over candidates), Noul (read the probability of a designated “true” option for yes/no), and Score (expectation over numeric rubric values like 0,1,2 for Low/Medium/High).
What They Found
Decision quality. Jeva-4B leads 7 of 8 slices on a mixed suite covering Typed Decisions, Banking77, MASSIVE, and Mind2Web selection, exceeding 90% on Banking77 and MASSIVE. On Typed Decisions it hits 78.30% versus Intern-Decision-4B at 78.70%, so no blowout there.
Permutation invariance. On 600 Choice examples tested in original, reversed, and random orders, Jeva has zero flips and identical original and all-order accuracy of 76.67%. Comparable baselines flip on 17-26% of examples, and their all-order accuracy collapses accordingly (JevK5 drops to 47.83%). This follows from the architecture, not from training augmentation.
Null detection. On 3,080 Banking77 requests with 16 candidates (588 answer-absent), Jeva reaches 98.66% AUROC for detecting “no good answer,” versus 79-94% for baselines using auxiliary yes/no queries or an explicit “None” option.
Scaling to many candidates. On a ToolRet-derived benchmark running from 32 up to 2,048 candidates, Jeva scores the full set in one pass and achieves 78.40% aggregate accuracy, versus 64.00% for JevK5’s recursive selection. At K=2048, length-aware batching brings median latency from ~94s down to ~12s.
Caching. Two cache modes: a set cache for exact repeated candidate tuples, and a hybrid cache that reuses individual option vectors plus their per-layer key/value projections across newly assembled sets. On MLDR with 100% option reuse but novel assembled sets, hybrid cache cuts p50 latency from ~2.1s to ~75ms, a median paired speedup of ~27.9x. Decisions don’t change: max absolute probability difference across conditions is 0.00736.
What’s Useful
•
If you serve many requests over a stable option pool (tool registry, document shortlist, label set, scoring rubric), Jeva’s architecture is a plausible fit. The caching gains come from option content being reusable, so pools that churn every request won’t see them.
•
If permutation sensitivity is actually hurting you (users notice that shuffling candidates changes the answer), the structural guarantee here is stronger than prompt-order voting approaches like ReFlex. Worth testing on your own evaluation.
•
If you need “none of these apply” to be first-class, the separate coverage gate is a cleaner formulation than appending a “None” option. The paper shows this empirically for intent classification, not every domain.
•
If you want to adopt the specific weights, note Jeva-4B is Qwen3.5-4B plus a trained LoRA adapter and a small decision head (~13.4M trainable parameters). The paper describes the training curriculum qualitatively but does not link a public artifact in the excerpt provided.
•
For an existing hosted-API agent, this doesn’t apply directly. Jeva needs its own encoder, decision block, and cache infrastructure; it is not a prompting technique.
Caveats
The accuracy gap over the closest baseline on standard typed decisions is small (78.30% vs 78.70% on Typed Decisions), so the headline wins are structural (permutation stability, null detection, scaling, caching), not raw task accuracy. Several baselines are small open-source projects rather than frontier models, so this is not a comparison against GPT-class systems. The large-set and caching speedups are measured on one H200 GPU with specific batching settings. Permutation invariance is exact only in exact arithmetic; floating-point reductions can perturb tied scores, and tie-breaking by position is not permutation-invariant unless you break ties by candidate identity. Cache correctness assumes encoder weights, tokenizer, templates, and length policy are all unchanged; any model update invalidates stored option memory.