Menu

1 / 5

Your AI Is Confidently Wrong — and It Can't Even Tell

DEV Community: deeplearning·Solomon Owusu-Ansah·10 days ago
#3YB5Pkvj
#devtodeeplearning#education#devto#dev#model
Long article (860 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.