For years, the Artificial Intelligence (AI) paradigm has been dominated by Large Language Models (LLMs) and generative architectures. When software engineers need an AI to perform a simple task - such as determining whether a customer support email is urgent, classifying lead intent, or approving a function call - they routinely route the request to massive, token-generating models.
The practice has introduced severe architectural bottlenecks:
Latency: Generative auto-regression forces models to produce text token-by-token, taking anywhere from 1.5 to 5+ seconds.
Cost: Running a 70B+ parameter LLM to extract a single boolean flag or category is economically inefficient.
Parse Vulnerability & Hallucination: Generative models inherently possess non-zero probabilities for outputting invalid JSON, markdown wrappers, or hallucinated enum values.
TypeSafe AI set out to solve this mismatch by creating Jev. Rather than generating natural language text, Jev is a non-generative, decision-only model designed exclusively to output typed values, discrete probability distributions, and confidence scores directly to code.
TypeSafe AI explicitly frames Jev as a System 1 Model, drawing direct inspiration from Daniel Kahneman's behavioral economics frarework (Thinking, Fast and Slow).
The name Jev pays homage to 19th-century economist William Stanley Jevons, famous for the Jevons Paradox. The paradox posits that as technological progress increases the efficiency with which a resource is used, the total consumption of that resource increases rather than decreases. TypeSafe AI's underlying thesis is clear: by making high-precision AI judgments fast (70-500 ms) and cheap (40-400 x less expensive than LLM tokens), developers will deploy millions of micro-decisions across software backends where AI was previously unviable.
Key Technical Characteristics
1. Zero Structural Hallucinations
When TypeSafe AI states that Jev "cannot hallucinate," they refer specifically to structural integrity. Because Jev does not predict text tokens auto-regressively, it cannot yield broken syntax, off-schema strings, or invented choices. Every output is strictly a member of the typed set defined in the input schema.
2. Calibrated Probability Distributions
Unlike standard LLMs that struggle with soft-max calibration (often exhibiting extreme over-confidence), Jev is trained via Reinforcement Learning for Calibrated Decisions (RLCD). It outputs raw probabilities alongside a calculated confidence score:
Math Expression
$$Confidence = 1 - \frac{AAD}{Max Possible Deviation}$$
where AAD represents the Average Absolute Deviation around the distribution's mode. This provides software engineers with mathematically sound routing signals (e.g., if confidence < 0.70, escalate to human or System 2 LLM).
3. Pure Discriminative Engine
Jev is fundamentally a discriminative model trained entirely on synthetic data. It ingests an Input State (up to 64k total tokens, with 32k allocated for application state) along with one or more Typed Primitives (questions), and yields categorical distributions without performing multi-turn text generation.
What's Next in the Series
Now that the conceptual groundwork and philosophy of Jev are set, the upcoming articles will dive deep into its implementation, architecture, and practical application.
A new open-source framework from Microsoft Research Asia lets developers apply reinforcement learning directly to the same agent code they deploy, skipping the costly step of reimplementing the …
A plain-language guide to the raw material of supervised learning: what rows, columns, features and labels actually are, with worked examples and the mistakes beginners make with them.
OpenAI has released a large batch of mathematical manuscripts produced by an unreleased model, with an outside advisory group overseeing how the results are communicated after earlier controversy …
Space or K play/pause · J / L or arrows ±10 s · Shift+arrows paragraph · click a paragraph to jump
Cookies on MLHub
We use essential cookies to keep you signed in and the site secure. With your permission, we also record which
pages you visit and how long you read them, with your device type and an approximate location from your IP address,
to improve our articles and recommendations. We never sell this data. Your choice applies to analytics only.
Learn more.
Quick Feedback
Thank you!
Your feedback has been received and we'll review it soon.
Comments (0)
No comments yet. Be the first to share your thoughts.