NUS Builds Jeva-4B to Pick From 2,048 Options Without Order Bias
A 4B decision-native model from NUS handles 2,048 candidates, zero decision flips under reordering, and 20x speedups via cross-request caching.
Takeaways
- NUS researchers released Jeva-4B, a decision-native System One model built on Qwen3.5-4B
- Zero decision flips under tested candidate permutations, versus 17-23% for comparable open-weight models
- Scales to 2,048 candidates in a single decision-head pass with 78.4% aggregate accuracy on ToolRet
- Hybrid caching of option representations delivers 27.86x median latency speedup on MLDR
- Unified Choice, Noul, and Score outputs with explicit null detection via a separate coverage gate
- Apache 2.0 weights and code at github.com/LiQiiiii/Jeva, paper at arXiv:2610.18773
Language models usually handle routing, tool selection, and scoring by serializing candidates into a prompt and generating an answer token. That shortcut imposes sequence semantics on an unordered set: reordering options can change the result, fixed answer tokens cap the set size, and the model lacks an independent signal for “none of the above.” Adding or replacing one candidate can also force the pipeline to encode the full prompt again.
Researchers at the National University of Singapore built Jeva-4B, a 4B-parameter model for fast, typed decisions over candidate sets. It targets workloads such as request routing, tool selection, response evaluation, Boolean verification, and document filtering. The architecture independently encodes requests and candidates, allowing candidate representations to be cached, recombined, and scored across many requests.
Why serialized choices drift
The paper uses “System 1” to describe fast decisions that do not require generated reasoning. It identifies four properties such models should provide:
- Explicit absence: distinguish an unsuitable candidate set from uncertainty among valid candidates.
- Order stability: preserve the decision when candidates are reordered.
- Variable cardinality: support changing set sizes without redefining the output vocabulary.
- Reusable computation: cache recurring candidate representations across requests.
Many decision models concatenate the request and every candidate into one sequence, then read probabilities from designated answer tokens. Candidate position can leak into predictions, the answer-token inventory limits set size, and every change to a tool registry or document set triggers another full-context encoding pass.
Stable options, adaptive requests
Jeva uses a shared Qwen3.5-4B encoder to process the request and each candidate independently. Pooling produces one vector for the request and one for every option. Candidate vectors see neither the request nor one another during encoding, so the same vectors can be reused with new requests or assembled into new candidate sets.
A compact decision block treats the request vector as a query over the candidate memory. Attention gathers evidence from the full set and updates only the request state. Shared candidate scoring and symmetric aggregation ensure that reordering the inputs produces the corresponding reordering of candidate probabilities, while the selected candidate remains unchanged except in finite-precision edge cases.
Null gets its own probability
A softmax over candidates always distributes its full probability mass across the available options, even when every option is unsuitable. Jeva adds a coverage gate derived from the maximum candidate score and a learned threshold. Low coverage shifts probability mass to an explicit null outcome, separating candidate-set validity from competition within the set.
One distribution, three output types
Jeva derives three typed outputs from the same conditional candidate distribution:
- Choice: select one candidate, with optional null output.
- Noul: return the probability that a Boolean statement is true.
- Score: calculate an expected numeric value from an ordered rubric.
For rubric scoring, labels such as Low, Medium, and High can map to values such as 0, 1, and 2. Jeva multiplies each value by its candidate probability and sums the results, producing an expected score without a separate regression head.
Permutation tests and benchmark results
Jeva-4B recorded no decision flips in the paper’s Typed Decisions permutation test. Its mean total variation across reordered inputs was approximately 3 × 10−8, a difference consistent with numerical noise. The set-symmetric architecture provides permutation equivariance under exact arithmetic; the reported test checks how that property behaves in the implementation.
| Evaluation | Jeva-4B | Comparison |
|---|---|---|
| Typed Decisions permutation flip rate | 0.00% | Jev-1.13.0: 17.00%; Intern-Decision-4B: 22.67% |
| BANKING77 with 16 options | 91.62% accuracy | Jev-1.13.0: 82.50% |
| BANKING77 null detection | 98.66% AUROC | Higher is better |
| Noul calibration | 0.0184 Brier score | Lowest among tested models |
| Score prediction | 0.2315 MAE | Lowest among tested models |
Across eight benchmark slices, Jeva led seven on full-coverage first-argmax accuracy, which evaluates the top-ranked candidate without dropping examples. On Typed Decisions, its accuracy was within 0.4 percentage points of Intern-Decision-4B.
Candidate sets reach 2,048
Fixed answer-token inventories impose hard candidate limits on many comparable models. Jeva removes that output-head limit and scores the full set in one decision-head pass, although encoding time and memory still increase with the number and length of candidates.
On a ToolRet-based diagnostic, Jeva processed all 500 requests across cohorts containing as many as 2,048 candidates and achieved 78.40% aggregate accuracy. Recursive JevK5 reached 64.00%. At 32 candidates, the two tested Intern-Decision variants supported only 65 of 84 requests before reaching their registered limits.
Length-aware batching reduced reported median latency at 2,048 candidates from 94.5 seconds with chunk-2 encoding to 12.0 seconds with batches capped at 256 rows and 131,072 tokens. That represents a 7.85-fold improvement under the paper’s benchmark configuration, with decisions preserved.
Caching removes repeated encoding
Request-independent candidate vectors allow a tool registry, document corpus, or scoring rubric to remain in an option-memory bank. Each new request requires request encoding, decision-state refinement, and scoring against the stored vectors.
- Set caching stores complete, assembled candidate sets.
- Hybrid caching stores individual candidate entries and assembles them into sets when needed.
On MLDR, hybrid caching with full option reuse produced a 27.86-fold median paired speedup across 50 matched queries. Median latency fell from 2,102 ms to 75 ms. On primed MLDR, it dropped from 2,097 ms to 74 ms. The selected decisions remained unchanged, and the maximum absolute probability difference was 0.00736.
Production cache keys should include the model version, tokenizer configuration, and exact candidate text. Updating any of those inputs requires recomputing the affected vectors. Hybrid caching suits frequently changing candidate sets, while set caching avoids assembly work for stable registries.
Deployment fit and limits
Jeva fits pipelines that need low-latency decisions over known text options. Representative uses include request routing, document selection, tool choice, Boolean verification, rubric scoring, and cascade gates that decide whether a larger model should handle a request.
- Output scope: the model returns typed probabilities and decisions; generated explanations and conversational responses fall outside its design.
- Numerical behavior: finite-precision arithmetic can affect nearly tied candidates even though the architecture is permutation-equivariant under exact arithmetic.
- Calibration: benchmark probability quality does not establish calibration for every domain, candidate distribution, or decision threshold.
- Oversight: the paper recommends human review for consequential decisions and frames the release for research and decision support.
Weights, code, and model details
The model weights are available under Apache 2.0, and the source repository includes code and usage examples.
| Backbone | Qwen3.5-4B |
|---|---|
| Decision stack | One block, width 768, eight attention heads |
| Adaptation | 13.37M-parameter, rank-64 LoRA merged for serving |
| Training curriculum | Typed decisions, intent selection, verification, reasoning, and large-candidate retrieval |
Training replayed examples from earlier stages to limit capability drift as the curriculum progressed. For pipelines currently using a generative model solely to select among known options, Jeva provides explicit null handling, order-stable set scoring, variable candidate counts, and reusable candidate computation in one specialized component.