Module 20 · Inside a Neural Network

Can you tell a generated image from a real one?

Lesson 20.4 · What Neural Nets Are Good At

Ashley · Rosa

Perfect photo. Six fingers. For now, that still counts as a tell.

Ashley’s cousin sends a photo of a celebrity at their school.

It looks perfect until Rosa zooms in on the hands.

Neural networks are astonishing at images, voices and video, and that includes fakes that keep getting harder to spot.

The tells Rosa knows this year won’t all work next year.

The short answer

Sometimes, this year. The hands gave the cousin’s photo away. Next year’s models will have hands figured out, and the tells will move somewhere else. The reliable question isn’t “does it look fake?” It’s “where did it come from, and who says so?”

Try it yourself

Which of these give away a generated image? Sort them. The list changes as the models improve.

1 of 6

A hand with six fingers, or fingers that merge

Put it in

What you just did has a name

Generative models

The networks in this module were trained to recognize.

Generative models are trained to produce: images, voices, video, text, from a description.

Same layers, same training, pointed the other direction. Module 21’s chatbot is one of them.

A few more things

Where neural nets win

Anything that was once “you know it when you see it”: faces, speech, handwriting, tumors on a scan, a jump shot. Unstructured data from Module 2, finally handled.

Where they still lose

Small tables of numbers, where Module 16’s trees usually win. Anything that needs exact arithmetic or a guaranteed-correct answer. Explaining why they decided what they did.

Tells are temporary

Every tell on the list gets patched in the next generation of models. The durable defense isn’t spotting flaws. It’s asking where the image came from, and Module 21 says the same thing about text.

Go deeper

The longer version, if you want it.

Provenance beats detection

Detecting generated images by their flaws is a losing race: any flaw a detector learns, the next generator learns to avoid. The more durable approach is provenance: cameras and editing tools signing images with a record of where they came from, so a real photo can prove it’s real rather than a fake having to reveal itself. Standards for this exist and are slowly spreading.

Until they’re everywhere, the honest answer to “is this real?” is often “I can’t tell from the pixels.” Which is Rosa’s least favorite sentence and the correct one.

Quick check

A photo app has two features: one finds every picture of your dog, the other draws your dog as an astronaut. Which one is the generative model?

Let’s take it slower

Here’s a quick test. Did the model’s answer already exist before you asked? A model that sorts your photos, flags spam or tags a layup is picking from things already there: this picture, that label. A model that writes a paragraph, draws a picture or clones a voice is making something new that was nowhere until it ran. Same neurons, same hotter-colder training. Recognizers learned to say what’s in front of them. Generators learned what things usually look like well enough to make more.

More examples

1

The bank’s phone line

The system that understands “check my balance” is recognizing. The system that reads your balance back in a natural-sounding voice, which never recorded those exact numbers, is generating. You talk to both in one call.

2

Game textures nobody painted

Some games now generate rock, grass and brick textures on the fly instead of storing thousands of hand-painted ones. The model learned what rock looks like from real photos and produces fresh patches forever. Same trick as a fake face, pointed at scenery.

Back to the question

So can you tell?

Show the answer

Sometimes, this year. The hands gave the cousin’s photo away. Next year’s models will have hands figured out, and the tells will move somewhere else. The reliable question isn’t “does it look fake?” It’s “where did it come from, and who says so?”

One last question

Owen has rules for spotting fakes. Trust them?

“If the hands look wrong, it might be generated.”

“If the background is blurry, it’s definitely AI.”

“The tells I know today will keep working forever.”

Talk Card

Talk Card · 20.4

Neural networks shine at images, voices and video, including fakes. The tells for spotting them change every year, so the durable question is where the image came from.

Data to AI · pettigrewlab.com/learn

Next lesson