Train a model to tell cats from dogs. Show it thousands of photos until it gets nearly every one right. Then show it a car.
It will not hesitate. It will not say "that's not an animal." It will say "dog, 92% confident" — and it will be wrong with a straight face.
That is not a bug in one model. It is how classifiers work.
The forced choice
A normal classifier has no way to say "I don't know." Its final layer, the softmax, turns its raw scores into probabilities that always add up to 1. So whatever you show it — a car, a handwritten digit, a medical scan it was never trained on — it must hand the win to one of the classes it knows.
The confidence number it prints looks like self-awareness. It isn't. It only says which known class the input resembles most, not whether the input belongs to any known class at all.…