A code has no units
numeric▲△△A width-one linear autoencoder has and . Encode and reconstruct the new input , and find its squared error. Repeat with and . What do the two codes have in common, and what do they not?
Hint
Compute and before computing anything else.
Solution
The code is . The reconstruction is and the residual is , with squared length .
With the second pair the code is , and the reconstruction is again. Both products equal
so the two autoencoders are the same function of the input and have the same loss on every dataset. They are the cases and of (I.12.5).
The codes share their ordering and their ratios: one is five times the other for every input. They do not share a scale. A code’s magnitude, and with more than one code unit its axes and the angles between them, are set by the factorisation that training happened to reach and not by the data.
The input is in the eigenvectors and . The error is the square of its discarded component.