Beta

Sync to cloud

Uses your current signed-in YoolVi account. A Learn profile is not required.

Upload a snapshot of this browser’s saved lesson work across all subjects, including notes, experiments, journal and review history. Existing guest work is included only when you confirm below. This does not upload account credentials or award XP.

Sync uploads to your private account; it does not automatically merge or replace this device’s work. On another device, download the cloud copy and use My Learning’s backup import. The previous cloud snapshot is retained when a new one replaces it.

Export or import this device’s work

No background uploads. Edits made after a snapshot need another sync. On shared devices, work is bound to the first account observed by cloud sync; another account must use a separate browser profile. Keep your own downloaded backup too.

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Back to Perception and Representations

Perception and Representations · Lesson 3 of 3 in this module

Explain: Background shortcuts

Why did that happen?

These are two written rules, not trained image models. One follows the background and one follows the shape. Changing only the background lets you tell the rules apart. It does not show how either rule would handle every possible picture.

Explain it in your own words · optional

Compare your prediction and explanation with the observed numbers.

Try a different case · guided practice
A different case

A fruit classifier may rely on a photographed label sticker instead of fruit shape. Which probe best isolates that shortcut?

A fruit classifier may rely on a photographed label sticker instead of fruit shape. Which probe best isolates that shortcut?
Need a hint?

To test a suspected shortcut, change that clue without changing the right answer.

How this helps your classifier project

A classifier report should name plausible shortcuts and a test that separates them. A synthetic exercise supports a bounded mechanism claim, not real-world robustness.

Pause and retrieve: representations and evidence · optional practice

Try these examples from memory, then revisit the lessons.

Chapter retrieval · guided practice

Does adding an affine layer without any nonlinearity guarantee a solution to XOR?

Does adding an affine layer without any nonlinearity guarantee a solution to XOR?
Chapter retrieval · guided practice

You changed settings after looking at a reserved test result. What is that result now?

You changed settings after looking at a reserved test result. What is that result now?
Chapter retrieval · guided practice

To test whether a shape model relies on background, what must a useful intervention preserve?

To test whether a shape model relies on background, what must a useful intervention preserve?
Watch how it works Expose a shortcut with one change
READ & CONNECT

Understand what changed.

Back to the experiment

A shorter explanation, with the original worked examples available below. Both explain the same experiment and its limits.

Same learning goal in both modes: Change the background without changing the shape. Watch the answer.

The idea in everyday terms

Imagine that every picture of one shape has the same background. A rule that reads the background and a rule that reads the shape can both get all the familiar examples right. Their scores do not reveal which clue they use.

What to watch in the experiment

Change the background while preserving the shape and its correct label. If the background rule fails, the comparison exposes its dependence on that clue. This is a controlled change: you are asking what happens when one possible shortcut stops working.

What this does not establish

The lab compares supplied rules with access to known scene fields. It does not train a vision model. A changed example must preserve the actual task label before its result can support a shortcut claim.

Open the full worked examples, calculations and limitations

This is the same reference used in Technical mode. Expand it whenever you need the exact numbers, assumptions or further explanation.

A perfect score can hide two explanations

In the original eight examples, shape and background always move together. A rule reading only the background and a rule reading only the shape both score 100%. The data does not distinguish them. A learned system can favor an easy signal if that signal reduces its training loss.

The lab makes the two rules explicit so you can inspect the logic. The shape rule receives the known shape field from our simulated scene; it is not a neural vision model that has solved arbitrary images. The background rule reads only the background field. Their scores demonstrate a problem with evidence, not a contest between trained architectures.

Real examples include an animal classifier using snow instead of anatomy, or a document classifier using a scanner watermark instead of the intended text. More training on the same correlation may reinforce the shortcut.

Change one thing while keeping the answer

Our intervention swaps the background fields named “gold” and “blue”. These original field names appear on the scenes; a display palette can change their appearance without changing the data or rule. The shape, size, and correct label stay the same. The background rule’s score falls from 100% to 0%; the shape rule keeps its score. Now the two explanations make different predictions, so the test can distinguish them.

This supports a precise conclusion: these two rules respond differently to this background intervention. It does not prove that a real image model is robust to lighting, occlusion, rotation, or unfamiliar shapes. Those claims need additional evidence.

Association is not the effect of an action

An association describes patterns in observations. An intervention deliberately changes something. Seeing that ice-cream sales and sunburn often rise together does not mean buying ice cream causes sunburn; hot sunny weather can influence both. A hidden common cause is called a confounder.

Likewise, observing a background alongside an animal is different from changing the background while holding the animal fixed. Observations alone may not reveal what an action would change. Causal conclusions require suitable assumptions, evidence, and often interventions. This toy scene gives us unusually direct control over which properties stay fixed.

Augmentation has to preserve the intended label

Data augmentation can vary background, brightness, or other irrelevant features so that a model cannot depend on one narrow correlation. But the label-preserving assumption matters. Rotating a 6 can make it look like a 9; changing word order can reverse a sentence’s meaning.

Use varied training examples and separate evaluation examples. Do not choose augmentations solely because they improve the same test set you plan to report. For the module challenge, transfer the idea to sentiment analysis: change the website name without changing the review’s meaning, then compare predictions.

Notes, help and related ideas
My notes and reflection
CURIOSITY JOURNAL

What will you take away?

Keep a private reminder for yourself.

Loading your journal…

Add a short reflection

Open your journal or back it up.

Prerequisites and related ideas

Key terms: Shortcut learning Distribution shift Intervention Generalization