Repository navigation
does an llm know when a fact is missing
A model that is asked to decide on a record with a missing fact should become less sure of itself, and on our four tests jevos-v4 did so far more reliably than the other systems we measured. Its confidence told answerable questions from unanswerable ones with an AUROC of 0.81 to 0.95, where 0.5 means it cannot tell them apart at all. TypeSafe's hosted Jev, the most accurate of the four on ordinary questions, scored 0.42 to 0.68 on the same test, below 0.5 on two tasks.
Accuracy and this measurement answer different questions. Accuracy asks whether the answer is right. This one asks whether the model knows when no answer can be right, which is what decides whether a confidence threshold can keep a bad case away from an automatic decision.
This page is the experiment, how to read the number, the results task by task, what they mean for an application, and what they do not show.

Each task is a set of records, such as an event attendee, a payment or a support ticket, with a written rule and a question the rule decides. In some of the records a fact the rule needs has been taken out: the attendee's age, a risk signal, the customer's tier. For those records no answer is right, because the information to decide is not there.
Every system gets the same records and the same questions through the same HTTP client, and answers with its own confidence. The test then asks one thing of that confidence: is it lower on the records with a missing fact than on the complete ones?
The number is an AUROC: pick one complete record and one record with a fact missing at random, and it is the probability that the system is more confident on the complete one.
- 1.0: the system is always less sure when a fact is missing.
- 0.5 (the red dashed line in the chart): it cannot tell; its confidence is the same either way.
- Below 0.5: it is more sure when a fact is missing, which is worse than guessing.
The thin vertical lines are 95% intervals. Where two bars' intervals do not overlap, the gap is not an accident of the sample.
The measure does not depend on any one threshold, which is why it suits this question: it says how well confidence could separate the two kinds of record, for every threshold at once. It is the same idea as a reliability diagram, asked of a different property: not whether 0.8 means 80%, but whether low confidence lands on the cases that deserve it.
| Task | Records lacking a fact | jevos-v4 | Jev | Qwen3.5-4B | Laya |
|---|---|---|---|---|---|
| Admission policy | 76 of 576 | 0.90 | 0.68 | 0.60 | 0.58 |
| Fraud points | 100 of 600 | 0.94 | 0.46 | 0.55 | 0.50 |
| Policy ratings | 40 of 493 | 0.95 | 0.68 | 0.83 | 0.79 |
| Support tickets | 400 of 800 | 0.81 | 0.42 | 0.53 | 0.47 |
- Admission policy and Fraud points are the records of the benchmark tasks in the README, with a field the rules need left out of some of them.
- Policy ratings comes from sys1bench: support tickets, server logs, phishing emails and other records rated by a written policy; some tickets lack the customer tier.
- Support tickets, also from sys1bench: 800 tickets whose priority depends on the customer tier, removed from half of them.
The two sys1bench sets were never used to train or to choose jevos.
The same result in plainer terms: with the fact missing, jevos-v4 still answered with 75% confidence or more on 0 to 42% of those questions, depending on the task. Jev did so on 60 to 71%.
A confidence threshold is only a safety net if low confidence falls on the cases that need a person. On these tasks, a record with a missing fact is exactly such a case, and jevos-v4's confidence mostly put it below the line.
That makes the review band work as intended: cases under the threshold go to a person, and those cases include most of the records where the data was incomplete. With a system whose confidence stays high when a fact is missing, the same threshold would let those records through as confident automatic decisions.
It does not replace asking directly. When a fact is easy to name, a gate question such as "Does the record state the customer's tier?" is cheaper and clearer than relying on a drop in confidence; the pattern is on ask whether the text says it at all. The confidence drop is what catches the facts you did not think to ask about.
- It is not accuracy. On ordinary questions Jev is more accurate than jevos-v4 on all six README tasks; the comparison is on jevos vs Jev vs Laya. A system can be more accurate and worse at knowing when it cannot answer, and these results say that is what happens here.
- Four tasks, one kind of gap. Each task removes one named fact from a structured record. Texts where the gap is subtler, or where several facts are missing, were not measured.
- Two of the four sets are ours. Admission policy and Fraud points belong to the benchmark tasks, five of whose six sets helped choose the released jevos-v4 checkpoint; the two sys1bench sets were not used for that.
- Each system's own confidence. The test uses whatever confidence each system reports. It says how useful that number is for this purpose, not why it behaves as it does.
Do LLMs know when information is missing? It depends on the model. On our four tests, jevos-v4's confidence separated complete records from records with a missing fact with an AUROC of 0.81 to 0.95; Jev's was 0.42 to 0.68.
What does an AUROC of 0.5 mean here? That the system is equally confident whether the fact is there or not, so its confidence cannot be used to catch the missing cases.
Is the more accurate model also better at this? Not in our measurement. Jev is more accurate on ordinary questions and worse at lowering its confidence when a fact is missing.
Can I rely on confidence alone? Use it as a net, together with explicit questions about the facts a decision needs. It catches the gaps you did not anticipate.
Was the test data used to train jevos? The two sys1bench sets were never used to train or choose jevos. The other two belong to sets that helped choose the released checkpoint.
See also: ask whether the text says it at all, human in the loop AI with a review band and LLM calibration explained.
- All numbers on this page are our own measurements, published in the jev README of 2026-10-05 with the chart above: the same records and questions for every system, through the same HTTP client.
- sys1bench, the source of the Policy ratings and Support tickets sets.
From the notes of jev. We measure this because a model that is confident when it should not be is more dangerous than one that is simply wrong more often.
- Ask a local LLM a yes/no question and get P(yes)
- Zero-shot text classification with yes/no questions
- LLM policy decisions: put the rule in the question
- LLM as a judge on a CPU
- Why a small LLM says yes when the answer is no
- Small LLMs and arithmetic in yes/no questions
- Our held-out benchmark said 0.855, new questions said 0.757
- Does an LLM know when a fact is missing?
- jevos vs Jev vs Laya for yes/no decisions
- An open-source alternative to Jev for yes/no decisions
- jevos vs the OpenAI API for yes/no classification
- jevos vs Ollama for yes/no decisions
- jevos vs bart-large-mnli for zero-shot classification
- A yes/no LLM vs a fine-tuned BERT classifier
- jevos vs SetFit: zero-shot vs few-shot classification
- jevos vs Llama Guard for content safety checks
- jev serve vs llama.cpp server for classification
- jevos vs LM Studio: a decision server, not a chat app
- Local vs hosted LLM decisions: latency, cost, privacy
- A yes/no LLM vs a business rules engine
- LLM decisions vs keyword rules and regex
- The fastest AI model for yes/no decisions
- What makes a local LLM fast on a CPU
- Why one forward pass beats generating an answer
- Prefill vs decode: where LLM latency comes from
- Why LLM latency grows with the length of the text
- Why a hosted LLM API cannot answer in 50 ms
- Many questions about one text: why the extra ones are cheap
- CPU or GPU for a small LLM
- Latency budgets: where a 200 ms model fits
- Measuring LLM latency: median, p90 and warm-up
- Q4_K_M vs Q8_0: speed and size for a small model
- Throughput vs latency for a decision server
- What P(yes) means, and what it does not
- LLM calibration explained with yes/no answers
- Expected calibration error (ECE), explained
- Temperature scaling for LLM probabilities
- Platt scaling for a yes/no model
- Reading a reliability diagram
- How to choose a threshold for P(yes)
- Thresholds when a wrong yes costs more than a wrong no
- Human in the loop AI with a review band
- Precision and recall at a P(yes) threshold
- Base rates: why a 0.9 yes can still be wrong often
- Combining yes/no answers with AND, OR and NOT
- Logits, log-odds and P(yes)
- LLM confidence scores: probabilities vs self-reports
- How to write yes/no questions an LLM answers well
- Negation in yes/no questions for an LLM
- One condition per question: splitting compound questions
- Ask whether the text says it at all
- Scores as yes/no thresholds: is it at least high?
- Sending JSON as the text: designing the state
- Why wording changes an LLM's answer, and how to test it
- Mainly about: questions for messages with several topics
- Yes/no questions about tone and emotion
- Asking about intent: what does the writer want?
- Yes/no questions about long documents
- Using an English-only LLM with other languages
- Content moderation with a local LLM
- A Discord moderation bot with a local LLM
- Spam detection with yes/no questions
- Review moderation with a local LLM
- Email triage with a local LLM
- Support ticket routing with yes/no questions
- Urgency detection in customer messages
- Sentiment analysis with yes/no questions
- Intent detection with a local LLM
- Lead qualification with yes/no questions
- Fraud case triage with a local LLM
- Phishing email screening with a local LLM
- Log and alert triage with a local LLM
- Checking text for personal data with yes/no questions
- Prompt injection screening with a small model
- Document classification with a local LLM
- Product categorization with yes/no questions
- Contract clause detection with a local LLM
- Refund request triage with a local LLM
- Detecting cancellation intent in customer messages
- RAG evaluation with yes/no questions
- RAG faithfulness check with a local LLM
- Hallucination detection with a local LLM
- LLM regression tests in CI with yes/no checks
- Rubric design for an LLM judge
- Pairwise comparison with a yes/no judge
- LLM judge bias and how to control it
- Evaluation metrics for yes/no classifiers
- Building a yes/no test set for your own data
- Accuracy by kind of question: why one number hides failures
- Generating test questions with answers computed by code
- Benchmark contamination and truly held-out tests
- An LLM router with yes/no questions
- A model cascade: small model first, large model on doubt
- Semantic routing vs yes/no questions
- Gating AI agent tool calls with yes/no checks
- AI agent guardrails with yes/no questions
- Stop conditions for AI agents
- Logging LLM decisions for audit
- Reducing LLM cost with local yes/no decisions
- Replacing chat LLM calls with yes/no questions
- Structured output vs a probability
- A Python client for local LLM decisions
- Calling a local LLM decision server from JavaScript
- Local LLM yes/no decisions in n8n
- A Slack bot that uses local LLM decisions
- Home Assistant automations with local LLM decisions
- A LangChain tool for local yes/no decisions
- Batch decisions from files with jev decide
- Running LLM yes/no checks in GitHub Actions
- Securing a local LLM server with an API key
- curl examples for a local LLM decision API
- Self-hosted AI for decisions
- A private LLM for text classification
- On-premise LLM for business decisions
- GDPR and automated decision-making with an LLM
- Offline AI for decisions: no network needed
- Edge AI decisions on a CPU
- Run an LLM locally without a GPU
- Small language models explained
- When a small model is enough, and when it is not
- An LLM on a laptop: what it can do in real time
- What is GGUF, for someone deploying a classifier
- GGUF quantization types explained: Q4_K_M, Q8_0 and others
- GGUF vs safetensors
- llama.cpp vs Ollama for a classification service
- llama-cpp-python vs calling llama.cpp through ctypes
- llama.cpp on Windows without compiling
- Running llama.cpp CPU only
- Using llama.cpp prebuilt binaries instead of building