Four Ways to Damage a Digit

Learning to CompressMedium+20 XP+20

Four Ways to Damage a Digit

A team is building a denoising autoencoder for 28×2828 \times 2828×28 handwritten digits: white ink on a black background, with every pixel a value from 000 (black) to 111 (white).

To see what the damage achieves on its own, they make the middle layer as wide as the input: 784784784 numbers in, 784784784 in the code, 784784784 out. A plain autoencoder built like this would simply copy.

They compare four ways of building each training pair. Wherever a scheme makes a random choice, it makes a fresh one every time an image is used.

schemeinput fed to the encodertarget
1the digit with every pixel value halvedthe clean digit
2the digit with a 10×1010 \times 1010×10 square, placed at random, painted blackthe clean digit
3the digit flipped left-to-right (every digit, every time)the clean digit
4the digit with a random half of its pixels knocked out (set to black)that same damaged digit

Which is the only scheme that forces the network to learn what digits look like?

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.