Skip to main content跳到主要内容
← Activities Open applet

CNN-1 · Core Activity · 40–50 minutes

Be the filter

Your job is to be a scientist: predict what will happen, run the experiment, then explain what you saw. You will connect one hand-calculated convolution to the same operation repeated across an image.

Golden rule: a surprising result is useful evidence. Record the prediction first; then explain the discrepancy instead of rewriting the prediction.

Learning focus
Multiply-and-sum, edges, learned filters, pooling
What to submit
Predictions, observations, one hand calculation, explanations, reflection
Response storage
Autosaves locally in this browser only

Ready. Responses save locally as you type.

The controls you will use

ControlUse in this activity
InputCross and other presets; the applet also supports drawing your own input
Kernel presetIdentity · Sobel-X · Sobel-Y · Laplacian · Blur · 9 editable cells
Layer modeSingle conv · Conv + max-pool · Conv → conv
Absolute value / ReLUChange what information is retained in the displayed response
Learn the filterTrain nine kernel weights toward a target response
Inspect & scanSee the local 3×3 patch, products, sliding window, and output size

Part A · Five experiments

For every run: Predict first → Run it → Explain what happened.

Run 1 · The do-nothing filter

Set up: Input = Cross · Kernel preset = Identity.

Run 2 · Find the vertical edges

Set up: Input = Cross · Kernel preset = Sobel-X.

Run 3 · Be the filter by hand

Do one convolution step yourself—the same local operation the applet repeats at every output position.

Kernel
10−1
10−1
10−1
Image patch
589
017
245

Check the mechanism: In the applet, enter the same 3×3 kernel and turn Take absolute value off. Open Inspect & scan, hover an output cell, and inspect its own patch and products. The applet pixels use a different numeric scale, so compare the operation—not the exact total.

Run 4 · Watch a filter being learned

Set up: Input = Cross · turn on Learn the filter · Target = Sobel-X → Train.

Run 5 · Shrinking the picture with pooling

Set up: Input = Cross · Kernel preset = Sobel-X · Layer mode = Conv + max-pool. Open Inspect & scan to watch the output-size readout.

Part B · Use the explanation on the applet page

Part C · Reflection and transfer

How this is assessed

CriterionWhat strong work shows
Predictions made firstA prediction is recorded before each experiment, even when it turns out wrong.
ObservationsSpecific description of the feature map, local arithmetic, loss, or pooling result.
ExplanationsConnections to multiply-and-sum, direction-sensitive edges, learned filters, and information loss.
ReflectionReasoning from experimental evidence and connection to later CNN ideas.

Local response storage

Your typed responses are saved only in this browser using local storage so an accidental refresh does not erase your work. Nothing on this activity page submits answers to AI Playgrounds. Use Clear responses to remove the saved copy from this browser.