shiftglass AN EXPERIMENT IN SEEING

SHORTCUT LEARNING, MADE TANGIBLE

Same shape.
Different answer.

A model can get every answer right for the wrong reason.
Train one. Change a single clue. See what breaks.

01 Learn a shortcut02 Change the world03 Teach a better clue

HOLD THE SHAPE STILL. CHANGE THE BACKDROP.

Ask a better question.

01 / ORIGINAL
MODEL SAYSNot trained

Train the model to reveal its answer.

→shape
unchanged
02 / INTERVENTION
MODEL SAYSNot trained

Only background pixels will change.

The two images begin identical. Train, then flip the backdrop to test which clue the model follows.

REAL MODEL. DELIBERATELY SMALL WORLD.

The lesson is bigger
than the classifier.

01 / PIXELS, NOT ANSWERS

A trained linear classifier.

768 normalized RGB features feed logistic regression. Full-batch gradient descent minimizes binary cross-entropy with L2 regularization. No prediction is manually assigned.

02 / AN ACTUAL INTERVENTION

Change exactly one factor.

The counterfactual preserves the foreground pixels, geometry and texture. Only backdrop pixels change. The model receives pixels, never the label or backdrop metadata.

03 / KNOW THE LIMITS

Accuracy is not certainty.

Model scores are uncalibrated. Balanced training can solve this toy shift; it does not prove robustness to new shapes, corruptions or real-world images.