Why does an ordinary autoencoder need a bottleneck smaller than the input dimension, or an explicit regulariser?

Deep learning, Autoencoders
Level L1 Beginner. Length One-liner. Nature Th Theoretical.

What's being asked

Whether you understand why minimising reconstruction error alone can produce a trivial identity map if capacity is unconstrained.

Key idea

An autoencoder minimises ∥x−g(f(x))∥2 for input x∈Rd, where f is the encoder and g is the decoder. Without a low-dimensional bottleneck k<d or a penalty (such as sparsity or denoising noise corruption), an overcomplete network can simply learn the identity mapping g(f(x))=x and extract no useful structure.

Steps

  1. Note the objective: an autoencoder is trained to reconstruct its own input x, so g(f(x))=x already achieves zero loss.
  2. Explain the undercomplete bottleneck (k<d): forcing information through fewer hidden units than input pixels compels the network to keep only the most informative factors of variation.
  3. Mention regularised (overcomplete) alternatives: if k≥d, you must add constraints such as an L1 sparsity penalty on the code (sparse autoencoder) or input corruption (denoising autoencoder) so memorising the identity is impossible.

Common mistakes

How long your answer should be

One or two sentences.

Last checked on 4 December 2026.

Read this

Previous in Deep learning: When adapting a pretrained image classifier to a new dataset, when should you freeze the backbone and train only a new head versus fine-tuning the whole network?
Next in Deep learning: A multilayer perceptron takes 10-dimensional inputs, passes them through two hidden layers of widths 32 and 16 (each with biases), and outputs 4 class scores (logits). How many learnable parameters does it have?