← All Demos

The Exam Problem

Why a model that is graded like a student learns to guess instead of saying “I don't know”.

robert@barcik.training

1

Take the exam yourself

Eight questions. For each one you have an answer in mind and you know roughly how sure you are. Answer, or say “I don't know”? You sit the same exam twice, once under each grading scheme.

Exam A: standard grading

Correct answer+1
Wrong answer0
“I don't know”0
Your score: 0
2

When does guessing pay off?

A correct answer earns 1 point and “I don't know” earns 0. The only thing the examiner decides is what a wrong answer costs.

3
50%
Answer: points on average
0
“I don't know”
0

average points for answering = sure × 1 − (1 − sure) × cost
3

Two models on a leaderboard

Both models face the same 100 questions and know exactly the same things. The only difference is what they do when they are unsure. Move the cost of a wrong answer and watch who wins.

0

The Guesser

Always gives an answer, however unsure.
Leaderboard score0wins

The Careful One

Answers only when it is at least 75% sure. Otherwise: “I don't know”.
Leaderboard score0wins

The idea comes from Kalai, Nachum, Vempala and Zhang, “Why Language Models Hallucinate” (OpenAI and Georgia Tech, September 2025). They argue that under plain right-or-wrong grading, guessing when unsure maximises the expected score, so models are optimised to be good test-takers. Of the ten popular benchmarks in the paper's table, nine give no credit for “I don't know”. Their proposal is not a new hallucination test but a change to how the existing benchmarks are scored: state the bar in the instructions (“answer only if you are more than t confident; a mistake costs t/(1−t) points”). A cost of 3 is the bar at 75%. The questions and the two models on this page are simulated: “how sure” is the true chance of being right, as for a perfectly calibrated test-taker.

AI transparency

This demo is a scripted, self-contained browser simulation. Nothing you type is sent to an AI model and no live AI system runs behind it, even where it plays one. Its code and copy were built with generative AI (Anthropic’s Claude) and reviewed by Robert Barcik, who is responsible for what is published (LearningDoe s.r.o.). Disclosed in the spirit of Article 50 of the EU AI Act.