GPT, Jev, Kev and Laya: how models make judgments
From generative language models to structured decision models: candidate scoring, probability calibration and industrial applications, followed by a review of input optimization and supervised adaptation for credit card detection.
Contents · 9 sections
Based on public documentation and code accessible on 27 October 2026. The practice section draws on another team's credit card detection experiments, retaining methods and result trends. Models were not rerun and original cases were not verified. Figures and teaching animations are used with permission; calculations use no real case data.
Place the four names on one map
GPT usually means Generative Pre-trained Transformer. It describes a technical approach and names a family of models. The classic approach learns representations by predicting the next token, then adapts to tasks; the original GPT work itself included classification.Original GPT paper
Jev, Kev and Laya are product or open-source project names; they do not need invented expanded acronyms. They focus on a narrower interface: input evidence, a question and candidates, then output a judgment software can directly use.
| Name | What it is | Typical output | Key distinction |
|---|---|---|---|
| GPT-style models | General generative models; classification through prompting, structured output or fine-tuning | Text, JSON, code and more | Classification is possible, but explanations, label-token probabilities and business probabilities differ |
| Jev | TypeSafe's hosted System One decision model | Typed options, ratings or true/false judgments with corresponding probability information | Public interfaces and objectives do not disclose the complete internal architecture |
| Kev | Open-source decision models that can be trained and self-hosted | Judgments compatible with Jev-style interfaces | Interface compatibility does not imply identical weights, training recipes or performance |
| Laya | An open-source encoder-and-judgment-layer approach | Multiple-choice, ordinal and true/false judgments | Checkpoints vary by language and task; domain-adapted combinations need separate evaluation |
Jev's System One emphasizes quick, focused judgment. It is not experimental evidence of human System 1 cognition or a claim that every complex problem can be solved in one step.Jev release notes、Kev、Laya
A recurring example: given transaction evidence, a task might request an analysis report or ask whether there is explicit evidence of a credential verification anomaly. The former needs synthesis and open expression; the latter has predefined answers and can become a focused judgment node.
From generating answers to scoring candidates
A typical GPT generation path is:
P(答案 | 输入) = ∏ P(第 t 个 token | 输入、之前已生成的 token)The model processes input, then generates an answer incrementally. Even JSON output usually requires token generation. Structured output constrains format; it does not automatically create a business-calibrated classifier.
Candidate scoring first encodes evidence, the question and options, reads scores from hidden representations, and applies softmax. It can remove autoregressive answer generation, but input encoding, candidate encoding and network computation remain.
This diagram does not prove decision models are always faster than GPT. A one-label-token GPT baseline already has little decoding cost, and long-input encoding may dominate. Fix evidence, candidates, hardware, concurrency, caching, network and timing scope. Shared prefixes do not make later questions free.
The more useful question is:Does this step need new expression, or a choice among predefined answers? Sometimes a short-output GPT baseline suffices; sometimes a dedicated judgment head is easier to train, serve and evaluate.
How Kev and Laya differ
One Kev implementation reads a judgment-position representation and each candidate's end-position representation, then scores them with a pointer head:
q = Wq × h_decide + bqk_i = Wk × h_option_i + bkz_i = q · k_i / √dp_i = exp(z_i / T) / Σ exp(z_j / T)h is a hidden representation, not raw business fields. Learned q and k_i compare the judgment with candidates. The scoring formula does not make an individual vector dimension an interpretable risk reason.Kev scoring-head code
Laya's model cards describe another path: ModernBERT or multilingual encoders, representations at candidate markers, a Transformer judgment layer and a shared scorer. Bidirectional encoding combines context, while local/global attention and head configurations depend on the specific model.Laya model card
The figure explains why candidate-order tests matter: context visible to candidates can depend on encoding. Newer Kev code also offers candidate isolation. Test order sensitivity on the actual checkpoint and configuration rather than generalizing a simplified diagram to the entire family.
Jev's public materials do not confirm either internal architecture. Kev and Laya illustrate implementable mechanisms, not an authoritative disclosure of Jev's internals.
Valid types, concentrated probabilities and correct judgments are different
TypeSafe separates interfaces: Choice selects an option, Score handles ordered ratings, and Noul handles true/false judgments. Choice and Score also return distributions and confidence; Noul returns a different form.API documentation
These interfaces reduce free-text parsing problems, but a valid option can still be wrong. A model can misunderstand evidence, ignore contradictions or misclassify without inventing an out-of-set string. No text generation does not mean no factual judgment errors.
Softmax normalizes nonnegative scores into a distribution; it does not guarantee observed event frequencies. TypeSafe confidence is a statistic derived from the shape of the candidate distribution, not an independent certificate of truth. Concentration first means a stronger model preference.Confidence documentation
For cases assigned roughly 0.8 suspected-risk probability, an 80% event frequency is a meaningful check only with appropriate labels and observation mechanisms. Business, population or candidate changes can alter it. Evidence sufficient for review and confirmed fraud are different labels and need different probability interpretations.
Why RLCD focuses on probability quality
RLCD means Reinforcement Learning for Calibrated Decisions. Jev publicly states the calibration objective without disclosing its complete recipe. Laya describes its own method: train the reported distribution using rewards from strictly proper scoring rules and policy-gradient updates.Jev release notes、Laya's RLCD explanation
A strictly proper scoring rule favors reporting the true event distribution over systematic exaggeration or flattening under the relevant population expectations. Brier loss provides a simple illustration:
L_Brier(p, y) = Σ [p_i - 1(y = i)]²It evaluates the full distribution, not just whether the top option is correct. This explains scoring, not a shared loss across every RLCD implementation. Cross-entropy also relates to proper scoring. Supervised training plus temperature calibration is a useful baseline; calibration objectives are not exclusive to RL.
Laya also cautions that RLCD does not make released checkpoints calibration-free. Finite samples, biased labels, optimization and distribution shifts matter. Fit temperature scaling on independent calibration data and test reliability curves, Brier score or log loss on separate evaluation data.Temperature calibration research
Explore candidate scoring
The animation uses the shared two-dimensional teaching vectors. Changing judgment direction changes candidate scores. At a fixed direction, changing positive temperature T changes concentration without changing the ranking of fixed logits. Thus,the top label can stay the same while displayed probabilities change substantially.
Interactive demo: from vectors to judgments
Fictional two-dimensional vectors illustrate computation only. Probabilities are not measured or calibrated business results.
Project judgment-position and option-position representations into comparable vectors.
The demo has no training or calibration and cannot select business thresholds. It distinguishes vector-to-score computation, softmax distributions, and business rules that use validated distributions to choose the next step.
What the neighboring team's experiments actually compare
The credit card practice is useful because it records input representation, model versions, supervised adaptation, rules and evaluation scope separately. The four paths became different systems, so the final score column alone is not a model ranking.
| Approach | What changed | What the records support |
|---|---|---|
| GPT | Reorganized evidence, normal explanations and conflicting boundaries; independent case judgments without domain weight training | Inputs and task formulation can matter substantially, but multiple simultaneous changes prevent attribution to one prompt |
| Jev | Adapted state, instructions and candidate semantics; changed fact organization and language | Structured interfaces still rely on evidence quality and candidate definitions; the frozen benchmark did not pass every original business gate |
| Kev | Updated model package and inputs, froze the backbone, then trained a domain judgment head | A supervised-adapted system; development data include training and selection samples and cannot represent unseen-data gains |
| Laya | Moved from native Choice to fixed encoder representations with supervised tree readout | Improvements concern a new combination; small samples, repeated selection and differing denominators limit comparisons, with some gates still unmet |
At least four lessons transfer.
Organize facts before optimizing wording. Distinguish missing, unchecked and observed zero counts. Make windows and event references explicit and support normal explanations with evidence. Do not let familiar attributes combine into a nonexistent historical record. This also matters in credit document review and risk investigations.
Candidate descriptions are model inputs. Insufficient evidence does not mean proven safe; suspected risk does not mean confirmed fraud. Short or ambiguous options, or omitting cannot determine, can build a faulty task definition into probabilities. Version candidate wording, order and language with the model.
Training only a judgment head still requires full train–validation boundaries. A linear head, pointer head or tree on hidden representations is a new supervised model. Lower adaptation cost does not remove requirements for splits, eligible labels, calibration and final validation. Rerunning the same cases checks reproduction, not generalization.
Unknown truth is not a negative label. The source separates cases without investigation truth and reports positive-call rates and review burden. Those are not false-positive rates. Compare precision, recall and costs only with consistent labels, sample intersections and population conversions. Freezing a version preserves a benchmark; it does not imply production approval.
Useful roles in industrial workflows
I would start with clear, auditable workflow nodes rather than assign the entire business decision to one model.
| Scenario | Good starting points for structured judgment | Responsibilities for other systems |
|---|---|---|
| Customer service and tickets | Intent, document type, missing essentials and queue routing | Complex explanations, cross-system queries and actions such as refunds |
| Risk investigations | Event classification, support for explicit propositions and conflicting evidence | Numerical calculations, investigation truth, final disposition and audit |
| Documents and RAG | Passage relevance, citation support for a defined claim and completeness | Retrieval coverage, open synthesis and source verification |
| Agent workflows | Prerequisites, whether tool results need more investigation and module routing | Permission checks, computation, idempotent execution and full state management |
One testable workflow is:Deterministic evidence preparation → Explicit judgments → Validated routing rules → General model or human when needed → Code execution and logging. Judgments may share evidence, but business code must define their combination. Questions depending on earlier answers cannot be assumed independent.
General models suit complex synthesis and expression; decision models suit focused judgments. Low-confidence escalation is itself a hypothesis: high-confidence cases can be systematically wrong, and fallback models can share errors. Compare risk–coverage and total cost against random review and fixed routing. Higher confidence alone must not expand execution permissions.
Count the entire pipeline: preprocessing, encoding, transmission, retries, fallback models, human review and storage. Zero API fees for a local model do not imply zero hardware, operation or maintenance cost. Pure inference latency, collection averages and end-to-end latency are different.
Where I would start in eligibility and limit research
For my work, I would first test two entry points.
The first is assisted checks of evidence and rule definitions. Split completeness, contradictions and support for explicit rule clauses into defined candidate judgments. Link conclusions to evidence. Missing evidence should trigger requests or review, not automatically rejection.
The second is task routing in policy research. Use clear questions for report preparation, failure-log classification, missing rule conditions and incomplete experiment evidence. Researchers can focus on interpretation and validation; reproducible code still computes metrics, checks constraints and validates versions.
Keep conceptual boundaries: candidate-text probabilities are not calibrated default probabilities. Needs review does not estimate incremental value from raising a limit. The latter concerns intervention effects and policy evaluation, unlike the objects in the earlier OR-Learner note . Structured models can organize evidence; a classification score cannot directly replace causal estimation or return optimization.
Start small: freeze tasks, labels and candidate definitions; use identical legitimate decision-time evidence to compare rules/classifiers, short-output GPT and native Jev, Kev and Laya interfaces. Treat input optimization, supervised heads, external trees, calibration and routing as separate later experiment arms.
Evaluate task quality, probability quality, consistency, abstention/review coverage and end-to-end cost. JevBench's paraphrase, order, batch-question and logical-relation tests offer ideas, but consistency is not accuracy. Paraphrases must preserve event meaning, and probability relationships after candidate-set changes need explicit assumptions.JevBench
The main lesson is to locate the model within a workflow: define the judgment first, then choose outputs and training. The other team's work informs input audits, adaptation and failure boundaries; lower cost and better decisions still depend on our own task definitions and independent validation.