Paper commentary
Representation Learning: A Review and New Perspectives
Review shows how representation learning helps machines disentangle explanatory factors
- Problem Machine learners depend on hand-built features, because they struggle to pull out the discriminative signal in raw data themselves. Feature engineering is labor-intensive and slows progress toward AI.
- Method The authors survey deep representation learning, covering probabilistic models, auto-encoders, manifold learning and deep networks. They sort the work into families and set out open questions.
- Results The review reports that Coates and Ng found sparse coding ahead of rival encoders on CIFAR-10 with fewer than 1000 labels per class.
Why hand-built features hold learners back
Machine learning results depend a great deal on how the data is represented before a learner sees it. In practice, much of the work in deploying a learner goes into preprocessing pipelines and data transformations that build a usable representation. This feature engineering is labor-intensive, and it exposes a weakness: current learners struggle to pull out and arrange the discriminative signal themselves.
The authors see this as the obstacle to making machine learning easier to apply and, more broadly, to progress toward AI. They argue that an AI must learn to disentangle the explanatory factors behind low-level sensory data, so representation learning sits at the center of the argument.
What makes a representation good
The authors measure a representation by whether it helps separate the explanatory factors and whether it feeds a supervised predictor well. Their first general prior is smoothness: when two inputs are close, the learned function should give close outputs. Smoothness alone can't escape the curse of dimensionality, so the authors add the prior of multiple explanatory factors, where learning about one factor carries over across the settings of the others.
Linear features make a poor foundation for this, because stacking linear operations just gives another linear operation. They therefore turn to non-linear features that can be stacked into deep networks. PCA stays in the background as a common thread, since it links probabilistic models, linear auto-encoders and linear manifold learning.
Sparse coding and explaining away
Sparse coding is the clearest directed example in the review: each input is explained by a few active columns of a learned dictionary. For a new input, the code is found at run time by solving the minimization below, where the L1 term pushes most entries to zero. \[ h^* = \arg\min_h \|x - Wh\|_2^2 + \lambda \|h\|_1 \] The first term rewards a faithful reconstruction, and λ sets how strongly the L1 penalty favours sparse codes.
The dictionary W is trained separately, by minimizing the summed squared reconstruction error over all training codes. \[ J_{SC} = \sum_t \|x^{(t)} - W h^{*(t)}\|_2^2 \] Its columns are usually held to unit norm, because otherwise scaling a column against its code entry would leave the L1 penalty with no effect. So sparse coding has two stages, code inference first and dictionary learning second.
Probabilistically, the Gaussian prior of PCA is swapped for a Laplace prior, which corresponds to an L1 penalty. They then use the MAP value of h rather than its posterior mean, because they want exact zeros. They also note that this training scheme departs from standard practice, which maximizes the marginal likelihood with expectation maximization.
Explaining away means that causes which are a priori independent become dependent once their shared effect is observed. The authors note that RBMs and auto-encoders don't show this effect. The cost is that each example needs an inner loop of optimization to find h*, which raises the cost of feature extraction.
Coates and Ng (2011a) tested this on CIFAR-10 with a patch-based feature extraction pipeline. When fewer than 1000 labeled examples per class were available, sparse coding outperformed other competitive encoding schemes. The authors suggest the parsimony and explaining-away effect may account for this, and they note that efficient algorithms also helped its popularity.
Auto-encoders and their regularized variants
Auto-encoders learn the same kind of features with a parametric encoder and decoder, so no inner optimization loop is needed per example. The encoder is an affine map followed by an optional non-linearity, and the decoder mirrors it. \[ f_\theta(x) = s_f(b + Wx), \quad g_\theta(h) = s_g(d + W'h) \] Training minimizes the summed reconstruction loss over the training examples, usually by stochastic gradient descent.
\[ J_{AE}(\theta) = \sum_t L(x^{(t)}, g_\theta(f_\theta(x^{(t)}))) \] For unbounded inputs a linear decoder with squared error is a natural choice.
With a linear encoder and decoder and squared error, the learned weights span the same subspace as PCA. Those weight vectors need not be orthonormal, and they still span the same subspace. Weight tying, with W' equal to W^T, is the most common practice, which makes the two parametrizations identical.
Auto-encoders were first used to reduce dimension with a bottleneck, but overcomplete codes, which sparse coding and RBMs favour, risk simply copying the input. Regularized auto-encoders constrain the representation even when it is overcomplete, so reconstruction is good on training data and still generalizes.
Denoising auto-encoders change the objective: the network reconstructs a clean input from a corrupted version. To do that, it has to learn the structure of the input distribution, and the learned mapping points towards high-density regions. \[ J_{DAE} = \sum_t \mathbb{E}_{q(\tilde{x}|x^{(t)})} [ L(x^{(t)}, g_\theta(f_\theta(\tilde{x}))) ] \] Masking noise, which sets some randomly chosen inputs to 0, was used in most simulations.
Reported results show denoising features performing similarly to or better than RBM features.
Contractive auto-encoders take a different route: they add an analytic penalty on the Frobenius norm of the encoder's Jacobian. \[ J_{CAE} = \sum_t L(x^{(t)}, g_\theta(f_\theta(x^{(t)}))) + \lambda \|J(x^{(t)})\|_F^2 \] The authors point to three differences from DAEs, and the first is that the feature sensitivity is penalized rather than the reconstruction's.
They say these differences may partly explain why CAE features seem to perform better.
Results from speech, vision and pre-training
In speech, a deep system from Seide et al. cut word error rate on RT03S from 27.4% to 18.5%, compared to Gaussian-mixture acoustic models trained on the same 309 hours of speech.
On the knowledge-free version of MNIST, the lowest error cited is 0.81%, reported by Rifai et al. (2011c). Earlier deep networks had broken the supremacy of SVMs, which had 1.4% error on this dataset.
The authors credit this to several factors together, including efficient GPU training that allowed more than 100 million example visits and a dropout trick.
They read this as support for pre-training acting as a prior, which matters less when labeled data is plentiful.
Open problems
Deep optimization remains hard: if the singular values of each layer's Jacobian are small, gradients can vanish through many layers. That difficulty is one reason second-order methods were explored for deep and recurrent networks.
Joint unsupervised training of deep models is still thin, since much less work exists for deep Boltzmann machines than for supervised networks. They also leave open which of the listed ingredients matter most, and how to generalize them across tasks and architectures.
Paper info
- Authors
- Yoshua Bengio, Aaron Courville, Pascal Vincent
- Venue
- arXiv · Preprint
- First published
- 2012-6-24
- Added
- 2026-11-11
- Updated
- 2014-4-23
- Version
- v3
- arXiv
- 1206.5538
- Category
- cs.LG
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Yoshua Bengio, Aaron Courville, Pascal Vincent (2012). Representation Learning: A Review and New Perspectives. arXiv:1206.5538v3. https://arxiv.org/abs/1206.5538v3
BibTeX
@misc{bengio2012representation,
title = {{Representation Learning: A Review and New Perspectives}},
author = {Yoshua Bengio and Aaron Courville and Pascal Vincent},
year = {2012},
eprint = {1206.5538},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1206.5538v3}
}