the.ai

Causality / Generalization

verified

Shortcut Learning

A model asked to find pneumonia in chest x-rays learned to read the hospital's scanner tag, because the sick hospital used a different machine. It scored well and understood nothing. Shortcut learning is a model solving the benchmark instead of the task, using a feature that correlates in the training data and not in the world.

Viz primitive · loss-curvesteps = 2000 · lr = 0.002 · batch = 64 · params = 1
loss
step 0dashed = held-out2000

Loss over 2000 training steps, starting near 7.2. It falls to about 1.96, with 93% of the total improvement arriving in the first half. A second line shows held-out, ending higher at about 2.16.

Training loss against loss measured after the shortcut is broken. Drag the shift up to watch the second curve part from the first — nothing in the original split would have shown you this gap.

0.15

Reviewed by opendroid · 2026-08-18