Canon 0052 · the search for a useful code

What makes a representation good?

Bengio, Courville and Vincent’s 2013 Review did more than catalogue deep-learning methods. It asked what properties let a learned code reuse knowledge across examples, tasks, transformations and levels of abstraction: and why no single objective yet captured them all.

Canon 0052 · the search for a useful code

What makes a representation good?

Rajesh Ranjan Mahapatra

Bengio, Courville and Vincent’s 2013 Review did more than catalogue deep-learning methods. It asked what properties let a learned code reuse knowledge across examples, tasks, transformations and levels of abstraction: and why no single objective yet captured them all.

© 2026 Rajesh Ranjan Mahapatra. 34 min read

What makes a representation good?All AI Research Library

TLDR

Five things to retain
  1. A representation changes what is easy. A useful code exposes distinctions and regularities that a later learner can exploit with modest data and computation.
  2. Smoothness alone is too local. In high dimensions, nearby examples cannot cover every relevant combination; reusable explanatory factors offer a route to non-local generalisation.
  3. Goodness is a bundle of priors. Distribution, hierarchy, sparsity, manifolds, coherence and simple factor relations are hypotheses about structure: not one settled metric.
  4. Invariance and disentangling differ. Invariance suppresses sensitivity; disentangling tries to keep factors separately accessible so later tasks can decide what to ignore.
  5. The Review leaves central questions open. Probabilistic, reconstruction and manifold approaches illuminate one another, but evaluation, inference and optimisation remain unresolved.
Reading the governing primary

A Review organised around an unsolved question

The title announces a survey, but the document behaves like a research programme. It inventories probabilistic models, auto-encoders, manifold methods and deep architectures while repeatedly returning to a harder question: if a machine is allowed to invent its own internal description, what should make one description preferable to another?

The authors begin from a practical fact. Machine-learning performance depends strongly on the representation presented to the predictor. In an engineered pipeline, people choose measurements, transformations and features; a classifier then operates on the resulting vector. That division can work extremely well, but it makes deployment depend on labour and domain-specific ingenuity. Representation learning moves some of that work into the training problem. An encoder, inference procedure or latent-variable model derives features from data, and those features are judged by what they permit downstream.

The phrase “learn the representation” can sound more self-contained than the process really is. A learner still receives a sample, an architecture, an objective, regularisation, optimisation and evaluation rules. These choices express prior commitments. Convolution says that a local pattern may matter across locations. Sparsity says only a few factors should be active for one example. Temporal coherence says important causes often change more slowly than pixels or sound pressure. The paper’s central move is to make such commitments explicit and ask which ones support broad AI tasks.

Its empirical setting was unusually energetic. The Review cites gains in speech recognition, image classification, language processing, transfer learning and multi-task learning. Those results motivate the enquiry; they do not answer it. A lower benchmark error can show that a learned code helped within one protocol, but it does not reveal a complete theory of good representation. Nor does success under one target establish that the same representation preserves information useful to another target.

The paper therefore changes registers. It reports results, proposes general-purpose priors, derives mechanisms, compares model families and names open questions. A careful companion must keep those registers apart. When the authors say a denoising auto-encoder learns local structure, that claim has a particular mathematical and experimental basis. When they hope for disentangled explanatory factors, the claim is a programme. When they connect manifold geometry to density estimation, they offer a unifying perspective whose exact conditions still matter.

The 30-page arXiv version used here also records a historical transition. Greedy unsupervised pre-training had helped make deep networks trainable in the mid-2000s. By the time of the Review, supervised deep systems were achieving major results at scale, yet unsupervised learning retained a larger ambition: to exploit the structure in unlabelled experience and discover reusable causes. The authors do not pretend that ambition had been completed. Their conclusion is notable for the amount of work it leaves to inference, objectives and optimisation.

This restraint matters in a library about intelligence and consciousness. Internal representations can be operationally studied: we can alter a code, measure predictive performance, trace sensitivity and test whether factors are reusable. None of those operations establishes that the represented content is experienced. The paper’s “explanatory factors” are latent variables in a learning account, not declarations about phenomenal awareness.

Causal probe 1 · Why is the paper more than a catalogue?

Because each model family is assessed against a shared set of desired properties. The article asks what structure lets knowledge travel: across nearby points, across combinations of factors, across tasks, across transformations and across layers. The methods are evidence and instruments for that question.

The Review turns four method families into one open enquiryProbabilistic models, auto-encoders, manifold methods and deep networks flow into a central question, what makes a representation good, which then branches to reuse, invariance, disentangling and inference.PROBABILISTICAUTO-ENCODERSMANIFOLDSDEEP NETWORKSWHAT MAKES AGOOD CODE?an open criterionreuseinvariancefactorsinference
The paper’s unity lies in a question, not in an assertion that every method is equivalent. Each family provides a different relation among data, code, reconstruction, probability and geometry.Author reconstruction from the primary’s abstract, sections 3, 9 and 12.
The basic operation

A code rearranges the work of learning

Let an input be x, a representation be h = f(x), and a downstream prediction be ŷ = g(h). The representation is useful when regularities needed by g become simpler or more reusable in h than they were in x. That usefulness is relational: it depends on data, tasks and the information that f preserves.

Imagine photographs described by millions of intensities. A classifier in raw pixel space must handle position, illumination, surface, pose, occlusion and object identity at once. A representation can reorganise these variations. Some coordinates might respond to edges, others to parts, others to pose or category. If the reorganisation is apt, a comparatively simple decision rule can reuse the same coordinates across many photographs.

This does not mean that a representation is valuable only when every coordinate has an English label. Distributed systems often carry information across patterns of activation. Nor does it mean that a low-dimensional code is automatically superior. Compression can remove nuisance variation, but it can also destroy a factor a later task needs. The proper question is not “is h small?” but “which distinctions remain accessible, to which family of readouts, under which changes in the data?”

The Review gives two operational perspectives. In a deterministic encoder, f directly computes h from x. An auto-encoder trains f together with a decoder r so that r(f(x)) reconstructs x, often under noise or regularisation. In a latent-variable model, h participates in a probabilistic account p(x,h), and representation means some approximation to the posterior p(h|x). The first can make inference fast; the second gives latent variables explicit probabilistic semantics. The later sections study how those perspectives can converge.

Feature learning also redistributes human effort. Rather than writing every detector, designers specify a hypothesis class and pressures such as reconstruction, likelihood, sparsity, contraction or task loss. This can reduce manual feature engineering while making objective design more important. A system faithfully optimising a proxy can learn an easy shortcut rather than the factor a person intended.

The authors frequently describe representations as making useful information easier to extract. “Easier” must be cashed out. It might mean a linear classifier requires fewer examples, a task transfers with fewer labels, an inference network answers quickly, or small irrelevant perturbations change the code little. These are different tests. A code can be excellent for one and poor for another.

That is why representation quality cannot be inferred from a colourful embedding plot. A two-dimensional picture has already discarded information and chosen a distance. To establish utility, one needs a downstream protocol or a direct test of the claimed structure: prediction, reconstruction, factor recovery, robustness, sample efficiency or controlled transfer.

Worked example 1 · The same pixels, a different final rule

Four points occupy the corners of a square. Opposite corners share a label. No single straight boundary in coordinates (x₁,x₂) separates them. Add the feature h₃ = x₁x₂. The label becomes the sign of h₃, so the final classifier needs only one threshold. The representation has not changed the observations; it has made their relevant relation simple for the chosen readout.

Causal probe 2 · If a decoder reconstructs perfectly, is the representation good?

Not necessarily. An identity map can preserve everything while exposing nothing usefully. Reconstruction becomes informative when capacity limits, noise, sparsity, contraction or another pressure prevents trivial copying and makes the code capture regularities shared across examples.

A representation relocates complexity between input and readoutA tangled raw space passes through an encoder into three separated factor axes, then a simple straight readout. A return arrow to a decoder marks reconstruction as one possible training pressure.RAW SPACE xCODE h = f(x)READOUT g(h)factor 1 ─────factor 2 ─────factor 3 ─────optional decoder r(h) → x
The useful work has moved into f. A simple readout is evidence only relative to the selected task and readout class; reconstruction adds another constraint but does not define representation quality by itself.Author reconstruction of the primary’s definitions and sections 7–9.
A vocabulary of prior structure

Goodness is a constellation, not a score

The Review’s most reusable contribution is a list of generic priors: assumptions that might hold across many difficult tasks. The list is not a checklist every model already satisfies. It is a map of pressures that could make learned representations economical, transferable and robust.

Smoothness says nearby inputs usually deserve nearby outputs. It is the basic permission to interpolate. Yet raw-space closeness can be misleading: two images of the same object under different poses may be far apart in pixel distance, while two nearly identical road scenes may demand opposite actions if a pedestrian crosses a boundary. Smoothness needs a space whose neighbourhoods respect the problem.

Multiple explanatory factors says observations arise from several causes whose values can recombine. In vision those might include shape, pose, illumination and material; in speech, speaker, phoneme and channel. If a learner isolates reusable factors, experience of one combination can inform another. The paper calls this disentangling, but treats it as an aspiration whose objective remains difficult to specify.

Hierarchical organisation says some useful concepts can be composed from others: edges into motifs, motifs into parts, parts into objects; characters into words and phrases. Depth can express this hierarchy and reuse lower computations along many paths. The hierarchy is a prior, not a guarantee that every trained layer will align with the intended abstraction.

Semi-supervised structure says factors explaining the input distribution may overlap with factors relevant to a target. If so, unlabelled data can help organise a code before scarce labels arrive. The qualification is decisive. Variation in x that dominates density need not be useful for y; a representation optimised only for p(x) may spend capacity on backgrounds while a rare diagnostic cue matters to the classifier.

Shared factors across tasks motivates transfer and multi-task learning. If several targets depend on overlapping latent causes, a common representation lets evidence gathered for one target shape another. Negative transfer is the mirror image: when tasks depend on incompatible cues, forced sharing can impair both. One must test rather than assume the overlap.

Manifold concentration proposes that natural observations occupy or cluster near lower-dimensional regions inside the ambient input space. A camera may produce millions of coordinates, while local changes around a scene depend on far fewer degrees of freedom. Manifold methods try to recover those local directions. The hypothesis is local and approximate; real datasets can have noise, intersections and changing intrinsic dimension.

Natural clustering adds that categories may inhabit separated high-density regions, with low density between them. This can help decision boundaries pass through sparsely populated areas. But named labels need not match every density component, and one semantic class may be multimodal. The prior is useful where the data-generating structure supports it.

Temporal and spatial coherence says adjacent observations often share slowly changing causes even when raw measurements fluctuate rapidly. A video frame’s pixels can change with motion while object identity persists. Slowness can therefore supervise a stable feature. It can also preserve the wrong property: scene background may change more slowly than the object of interest.

Sparsity says only a small subset of available factors is active or locally sensitive for one example. Sparse codes enable specialised features and can clarify which components participate. Sparsity is not the same as low dimension: a code may have thousands of possible features but activate twenty at a time.

Simple dependencies among factors says a good high-level representation may turn complex raw relations into simpler, often approximately linear ones. This is what makes a linear probe tempting. Yet linear predictability establishes accessibility to that probe, not causal independence or human-like conceptual structure.

PriorKnowledge it hopes to reuseFailure to watch
SmoothnessNearby cases should behave similarly.The chosen metric makes the wrong cases neighbours.
Multiple factorsA factor learned in one combination transfers to another.The factors are not identifiable from the observations.
HierarchyLower computations participate in many higher concepts.Depth learns a shortcut rather than the intended abstraction.
Semi-supervisionUnlabelled input structure informs a scarce target.Dominant input variation is irrelevant to the label.
Shared tasksEvidence for one task improves related tasks.Forced sharing causes negative transfer.
Manifold and clusteringLow-dimensional local variation and low-density gaps organise examples.Noise, intersections or labels violate the geometry.
CoherenceSlow causes can be separated from fast measurement changes.A confounder is more stable than the desired factor.
SparsitySpecialised factors are reused in selected combinations.Zeros are imposed without yielding useful structure.

Worked example 2 · Slow does not mean semantic

A wildlife camera records a stationary background and an animal that enters briefly. A feature rewarded only for changing slowly may encode the trees and camera artefacts while suppressing the animal. Temporal coherence becomes useful when paired with other pressures: prediction, variation across videos, labels or transformations: that distinguish persistent cause from persistent nuisance.

Causal probe 3 · Can a representation satisfy all priors at once?

Not automatically. Invariance discards change while reconstruction rewards preservation; sparsity restricts simultaneous activity while distributed capacity benefits from combinations; task-specific discrimination may conflict with general transfer. Objective design chooses trade-offs, even when the choice is hidden inside a training recipe.

Ten generic priors orbit an unresolved representation criterionA central unresolved criterion is surrounded by smoothness, factors, hierarchy, semi-supervision, shared tasks, manifolds, clustering, coherence, sparsity and simple dependencies. Different coloured links show that several pressures may act together.GOOD CODE?no settled scalar testSMOOTHNESSFACTORSHIERARCHYSEMI-SUPERVISIONSHARED TASKSMANIFOLDSCLUSTERINGCOHERENCESPARSITYSIMPLE LINKS
The priors are proposed pieces of a research programme. Their value comes from matching structure in the world and the intended task, not from their names alone.Author visualisation of the list in primary section 3.1, pp. 3–4.
Why neighbourhoods run out

Smoothness meets the curse of dimensionality

Local generalisation says that what was learned at one example should apply near it. The Review does not reject this principle; it argues that local interpolation alone cannot efficiently cover the many configurations created by interacting high-dimensional factors.

Start with a grid. If ten samples are needed along one relevant dimension, a full two-dimensional grid contains 10² cells, a ten-dimensional grid 10¹⁰, and a hundred-dimensional grid an astronomical 10¹⁰⁰. Real data rarely fill such grids uniformly, but the arithmetic captures the problem: adding independent directions multiplies the number of neighbourhoods that a purely local method might need to observe.

A fixed kernel, nearest-neighbour rule or local template can generalise within a region whose similarity metric is already useful. It does not automatically know that a feature learned for a red square should transfer to a blue square, or that a phoneme learned from one speaker should inform another. If those examples lie far apart in raw space, local interpolation keeps their evidence separate.

Representation learning tries to make similarity adaptive and factorised. A code can place examples near each other because they share shape while reserving another coordinate for colour. The shape detector is then reused across colour values. This is non-local generalisation in input space: knowledge travels between raw observations that are distant but share a learned factor.

The escape is conditional. A learner must have data or priors that reveal the reusable factors. When causes are statistically entangled, several decompositions can explain the same observations. No optimisation method can conjure identifiability from absent information. Interventions, paired examples, temporal structure, multiple tasks or architectural constraints may be needed to distinguish candidate factors.

Dimensionality also depends on representation. A million-pixel image may lie near a much lower-dimensional set generated by camera pose, illumination and object configuration. If a model finds co-ordinates along that set, local moves become meaningful. But the set can fold, branch and intersect; Euclidean nearness in one global chart may still confuse remote parts of the manifold.

The paper’s argument is therefore not “kernels are obsolete” or “deep learning defeats dimension”. A kernel or linear classifier can work well on top of a learned representation. The target of criticism is exclusive dependence on a fixed, generic notion of locality in raw space. Learning f is also learning which differences should count as close.

cells per axis = m; relevant dimensions = d; local coverage scale ≈ m^d
m = 10: d = 2 → 100, d = 6 → 1,000,000, d = 10 → 10,000,000,000

Worked example 3 · Reusing shape across colour

Suppose the training set contains red circles and blue squares but the test set includes a blue circle. A table of observed colour–shape combinations has no blue-circle entry. A factorised code with separate colour and shape coordinates can reuse “circle” from the red examples and “blue” from the square examples. The gain depends on the representation having separated those factors; the raw examples did not force that particular decomposition.

Causal probe 4 · Does low-dimensional manifold structure solve the curse?

It can reduce the effective local dimension, but only if the learner recovers appropriate charts and neighbourhoods. Sparse sampling, noise, disconnected regions and manifold crossings remain difficult. The hypothesis guides methods; it is not a universal exemption from sample complexity.

Local cells multiply with dimension while a factor code reuses axesThe left shows increasingly dense grids labelled ten, one hundred and ten thousand cells. The right shows shape and colour axes whose components recombine to predict an unseen blue circle.LOCAL COVERAGE MULTIPLIESmany cells remain unvisitedFACTORS RECOMBINEredbluecirclesquareunseen combination
A factorised description permits compositional reuse. The dashed blue circle is not guaranteed by the other three observations; it becomes predictable only under a factor-sharing assumption.Author reconstruction of primary sections 3.2–3.3, pp. 4–5.
Combinatorial economy

Distributed codes and deep reuse

Two kinds of reuse carry much of the paper’s argument. A distributed representation reuses features across many examples and combinations. A deep computation reuses intermediate results along many paths. Both can express many regions with comparatively few components, but capacity is not the same as successful learning.

In a one-hot cluster code, one of N indicators is active. The code distinguishes N assigned regions and typically associates each with its own parameters. In a dense binary distributed code with N independently variable features, there are 2ᴺ possible activation patterns. A sparse distributed code activates only k of N features, giving many combinations while limiting participation for one example.

The word “possible” carries the load. Sixteen binary features admit 65,536 patterns, but a trained model might use only a small fraction, might map several inputs to the same pattern, or might allocate patterns to noise. The counting argument establishes representational capacity and parameter reuse. It does not establish that optimisation will find a useful assignment or that the data support every combination.

Distributed features can generalise between inputs that are not neighbours. A unit associated with roundness participates in many objects; a unit associated with blue participates in many others. A new pattern can combine them. In a one-hot code, the new conjunction requires its own region. This is the same intuition behind transfer: parameters attached to shared factors receive evidence from several contexts.

Depth adds another combinatorial structure. The paper defines circuit depth by the longest path from input to output. Intermediate computations in an early layer can feed many later features; later features can recombine them again. The number of possible computation paths can grow rapidly with depth, allowing a hierarchy to represent some functions much more efficiently than a shallow architecture using the same kinds of units.

Efficiency claims depend on a function family and permitted operations. One cannot simply count layers and infer superiority. A shallow system with arbitrary nodes could hide a deep computation inside one node; theoretical comparisons hold the computational primitives sufficiently stable. In practice, depth also changes optimisation. A compact representation that exists in the model class may be hard to discover from finite data.

Abstraction is linked to depth because higher features are composed from lower ones and can become insensitive to many raw variations. Yet “higher” means later in a graph, not closer to conscious thought. A detector can be abstract in the technical sense: responding across many surface variants: without carrying a proposition, intention or experience.

Worked example 4 · Counting codes without counting meanings

A one-hot code with eight positions has eight patterns if exactly one position must be active. Eight independent binary features admit 2⁸ = 256 patterns. If exactly two features may be active, there are 8 choose 2 = 28 patterns. These counts describe slots available to the representation. Whether any slot denotes a stable factor must be established from training and intervention, not arithmetic.

Worked example 5 · Why a reused subfeature saves work

Suppose four higher concepts each require the same edge detector plus a different motif. A shallow lookup can duplicate the edge calculation four times. A two-stage graph computes the edge once and routes it to four combinations. Add more reusable subfeatures and more levels, and the difference in duplicated work can grow sharply. The example explains the structural advantage, not a guarantee about gradient descent.

Causal probe 5 · What must accompany an exponential-capacity claim?

The activation constraints, number of features, permitted precision, mapping from inputs to codes and a distinction between possible patterns and realised useful regions. Without those qualifications, a capacity count becomes an empirical claim it cannot support.

One-hot and distributed codes scale differentlyEight one-hot slots form eight isolated regions while eight binary switches feed a panel labelled 256 possible combinations. Repeated feature colours show reuse.ONE-HOT: 8 REGIONS12345678one region owns each code8 BITS: 2⁸ PATTERNS256possible combinationscapacity ≠ learned semantics
Distributed capacity comes from recombination. Real-valued codes require further assumptions about precision and usable regions, so the binary example is deliberately exact.Author visualisation of primary section 3.3, pp. 4–5.
Depth reuses intermediate features along many pathsA layered directed graph has three inputs, four first-level features, four second-level features and three outputs. Highlighted paths share early nodes instead of duplicating their computations.REUSE GROWS THROUGH COMPOSITIONinputsreusable motifscompositionsoutputs
A node’s result can participate in several later computations. Formal depth-efficiency results concern specified function families and primitive operations; this drawing conveys the reuse mechanism, not a universal performance theorem.Author reconstruction of primary section 3.4, pp. 4–5.
Preserve first, ignore later

Invariance is not disentangling

The Review draws a distinction that is easy to lose. An invariant representation becomes insensitive to some change. A disentangled representation tries to allocate distinct causes of change to separately usable components. Invariance can erase a factor; disentangling can preserve it while allowing a particular task to ignore it.

Suppose an image contains an object at position p. A position-invariant category feature c gives the same response when p changes. This is useful for naming the object, but useless for reaching towards it. If one shared representation must support both naming and reaching, simply deleting p is premature. A factorised code (c,p) makes category accessible independently of position while retaining both.

The distinction turns representation design into information routing. A downstream classifier can choose a subset of disentangled factors. The representation need not decide once and for all which variation is nuisance. This matters in transfer and multi-task settings because different targets can treat the same factor differently. Speaker identity may be nuisance for transcription and essential for speaker verification.

Disentangling is difficult because observations alone may not uniquely identify their causes. Rotate two latent axes and a decoder can sometimes reconstruct the same data equally well. Labels, interventions, transformations, temporal adjacency or assumptions about independence can privilege one co-ordinate system, but each introduces information beyond reconstruction itself.

The paper discusses several ways to build invariance. One may generate transformed examples and train their representations to agree. Convolution reuses detectors across positions; pooling aggregates local responses. Temporal-coherence objectives penalise rapid changes in features. Manifold tangent methods estimate directions along which an example may vary without crossing a category boundary. Each mechanism specifies a particular family of tolerated change.

Pooling illustrates the trade-off sharply. A maximum over nearby detectors can preserve whether a motif occurred while discarding its exact position. The representation gains local invariance and loses reconstructive detail. If a decoder later needs the precise location, the pooled value alone cannot say which lower unit caused it. The paper explicitly notes this generative consequence of information loss.

It is tempting to judge disentanglement by looking for a neuron that tracks one human-labelled factor. But a factor can be encoded across several units, and an axis-aligned unit can correlate with a label because of dataset bias. Stronger evidence changes one hypothesised factor while controlling the others and tests whether the representation responds selectively, or tests systematic recombination in held-out combinations.

Worked example 6 · Naming and reaching disagree about position

Two pictures show the same cup at x = 20 and x = 80. A category-only code maps both to “cup”; its distance across the translation is zero. That is ideal for naming. A robot asked to reach needs the 60-unit displacement. A disentangled code [cup = 1, position = x] supports both tasks: the naming head reads the first component, while the reaching head reads the second.

Causal probe 6 · Why not maximise invariance everywhere?

Because an invariance is a declaration that a direction of change will not matter. The declaration is target-relative. Enforcing it before future tasks are known can remove information those tasks require. Disentangling seeks selective access instead of universal erasure.

Invariance deletes a factor while disentangling keeps separate controlsTwo input cups at different positions feed an invariant code with one identical category value and a disentangled code with separate category and position sliders. Naming reads category; reaching reads position.TWO OBSERVATIONSINVARIANT CODEcategory = CUPposition erasedDISENTANGLED CODEcategory = CUPposition = 20 or 80namenamereachthe useful nuisance depends on the next task
Invariance makes one question cheaper by removing a distinction. Disentangling tries to make distinctions independently addressable. Neither property is absolute; both are relative to transformations, factors and tasks.Author reconstruction of primary sections 3.5 and 11, pp. 5 and 23–25.
Three routes to hidden structure

Probability, reconstruction and geometry

Much of the Review surveys three apparently different approaches. Probabilistic models define how visible and latent variables jointly behave. Auto-encoders learn a direct map to a code and back. Manifold methods study the geometry of high-density data. The paper’s “new perspectives” arise from connections among them.

Probabilistic latent-variable models specify a joint distribution p(x,h), often through a directed graph, an energy function or conditional relations. The representation may be the posterior distribution p(h|x), a posterior expectation or a maximum-probability configuration. This makes uncertainty and generative assumptions explicit. It also creates an inference problem: computing the posterior can be costly or intractable.

Directed models tell a generative story from hidden causes to observations. Sparse coding, for example, represents x as a combination of basis elements with a preference for few active coefficients. Undirected models such as restricted Boltzmann machines define compatibility symmetrically through an energy. Their bipartite restriction makes conditional distributions over one layer factorise given the other, but likelihood training still confronts the model expectation and sampling.

Auto-encoders use an encoder h = f(x) and decoder r(h). Minimising reconstruction loss without constraints can learn an identity map. Undercompleteness, sparsity, injected corruption or a contraction penalty changes the task. A denoising auto-encoder receives a corrupted input and predicts the clean example; it cannot merely copy the corrupted coordinates and therefore learns how nearby off-data points should return towards high-density structure.

A contractive auto-encoder penalises the encoder’s Jacobian, reducing sensitivity around training examples. The code becomes stable in most local directions while allowing selected tangent directions to remain responsive. The mechanism connects reconstruction to manifold geometry: directions along the data surface may be preserved, and directions away from it suppressed.

Manifold methods begin from the hypothesis that probability mass lies near lower-dimensional surfaces. Local tangent directions describe permitted small variations. Classical methods may assign each training point an embedding co-ordinate but lack a parametric mapping for new examples. The Review focuses on learning maps and local co-ordinate systems that can extend beyond the training set.

The connections are instructive rather than identities. A denoising reconstruction vector can estimate a direction towards higher density under limiting assumptions. A regularised encoder’s Jacobian can reveal tangent directions. Predictive sparse decomposition can learn a fast encoder whose output approximates the latent code obtained by iterative optimisation. Each statement depends on objectives, noise scales, model capacity and approximation.

This triangle exposes a recurring trade-off. Probabilistic semantics can make inference expensive. A direct encoder is fast but may hide which distributional question its output answers. Manifold geometry offers local structure but may not specify a global density or generative process. Hybrid methods try to preserve strengths across corners rather than declare one vocabulary sufficient.

The Review also warns about sampling. High-dimensional distributions can contain distant modes separated by low-probability regions. A Markov chain that moves locally may not visit them within available time. Poor mixing then damages both learning estimates and sample-based evaluation. A visually plausible sample from one mode does not certify coverage of the distribution.

Worked example 7 · Why corruption prevents trivial copying

Take clean points near the line x₂ = x₁. An unconstrained two-dimensional auto-encoder can return each input unchanged. Now add independent noise to both coordinates and ask the decoder to recover the clean point. Averaged across examples, the useful response moves a noisy point towards the diagonal. The reconstruction rule begins to encode local data structure rather than the identity function.

Worked example 8 · Inference as reusable computation

Sparse coding might find h for each x through 100 optimisation steps. A learned encoder f can be trained to approximate those solutions in one forward pass. The cost is amortised across examples. Its speed does not make it exact: the discrepancy between f(x) and the optimised code must be measured, especially if the approximate code is then used to update the generative model.

Causal probe 7 · What is lost when an inference procedure becomes an encoder?

Iteration can adapt until a model-specific criterion is met; a fixed encoder commits to a learned approximation over the training distribution. It gains speed and can share statistical strength, but may fail on unusual posteriors or collapse multimodal uncertainty into one vector.

Three representation-learning families form a connected triangleProbability, reconstruction and geometry occupy the corners of a triangle. Links are labelled learned inference, score or density direction, and tangent-preserving regularisation. An open centre is labelled connections with conditions.PROBABILITYp(x,h), posteriorRECONSTRUCTIONencode / decodeGEOMETRYmanifold / tangentCONNECTIONSwith conditionslearned inferencedensity directionJacobian and tangent structure
The Review’s convergence claim is productive because the corners remain distinct. Connections require assumptions and approximations; they do not collapse probability, reconstruction and geometry into synonyms.Author synthesis of primary sections 6–9 and 12, pp. 7–23 and 25–26.
A mechanism under the microscope

Regularised auto-encoders learn a local field

Auto-encoders make the representation map visible enough to examine. Their variants show how an apparently small change in objective alters what the code must learn: copy, reconstruct from corruption, stay sparse, contract locally or predict another view.

An encoder maps x to h; a decoder maps h to r(h). With squared error, training reduces ‖x − r(f(x))‖². If h has at least as much unrestricted capacity as x, the identity solution is available. Undercomplete codes create a bottleneck, but non-linear systems can still memorise finite training sets. The objective needs an inductive pressure and evaluation beyond training reconstruction.

Denoising changes the input to the encoder. Draw a corrupted version x̃ from a noise process q(x̃|x), encode x̃, and reconstruct x. The model must learn which nearby corruptions plausibly belong to the same clean data. The noise distribution defines “nearby” and which changes should be corrected. Too little corruption approaches copying; too much can erase the evidence needed to identify the source.

Sparse auto-encoders penalise activation magnitudes or deviations from a low target rate. Their code may be overcomplete: more units than input dimensions: while only a few respond to one example. Different examples can select different subsets, enabling distributed reuse. A zero activation is valuable only if the active subset carries stable information rather than an arbitrary partition.

Contractive auto-encoders penalise the Frobenius norm of Jf(x), the Jacobian of the representation with respect to the input. A small Jacobian means small perturbations around a training point change h little. Total contraction would make the code constant and destroy reconstruction, so the two terms compete. Reconstruction preserves directions required to distinguish data; contraction suppresses sensitivity elsewhere.

This competition yields a geometrical interpretation. Near a data point, singular vectors of the Jacobian with larger singular values identify directions in which the representation remains sensitive. Those may approximate local tangent directions along a data manifold. Directions normal to the manifold can be contracted. The claim is local: curves require many neighbourhoods, and tangent estimates can fail where surfaces intersect or data are sparse.

Predictive variants replace or supplement reconstruction of the same input with prediction of another observation, such as a future frame. That objective asks the code to preserve factors that help across time. It may ignore unpredictable detail. Again, the representation reflects the target: future prediction, clean reconstruction and class discrimination carve the input differently.

denoising: minimise E[‖x − r(f(x̃))‖²], where x̃ ~ q(x̃|x)
contractive: minimise ‖x − r(f(x))‖² + λ‖Jf(x)‖²F

Worked example 9 · A scalar contraction check

Let h = tanh(wx), with w = 0.8 and x = 0.5. Then h ≈ 0.380 and dh/dx = w(1 − h²) ≈ 0.684. Increasing λ on the squared derivative pushes the map towards lower local sensitivity. But if w falls to zero, h is constant and the decoder cannot distinguish inputs. The reconstruction term resists complete collapse.

Causal probe 8 · Does a small Jacobian mean invariance to everything?

Only locally and only to the measured perturbation directions. The combined objective should leave sensitivity along directions needed for reconstruction. Global invariance, category preservation and robustness to large structured transformations require separate tests.

Denoising and contraction shape a local representation fieldNoisy points have arrows towards a curved data manifold. At one clean point, a green tangent arrow is preserved while red normal arrows shrink. Encoder and decoder boxes surround the field.LEARN THE NEIGHBOURHOOD, NOT THE IDENTITYtangent retainednormal changes contractedencoder f(x̃)decoder r(h)
Denoising vectors point corruptions back towards likely data; contraction reduces most local sensitivity. Under limiting assumptions these operations reveal aspects of density and tangent geometry, but the scale and objective determine what is learned.Author visualisation of primary sections 7.2, 8 and 9.2, pp. 14–21.
What the Review does not resolve

Objectives, inference, optimisation and evidence

The paper’s conclusion is not a victory lap. It says that three approaches are converging, then identifies unresolved problems: how to encode generic priors in objectives, how to represent complicated posteriors, and why deep optimisation succeeds or fails.

The objective problem. Classification supplies a comparatively direct target: predict labels under a stated loss. Representation learning is one step removed. Reconstruction, likelihood or sparsity can be optimised exactly while producing features that disappoint on a future task. “Disentangle the factors” is an attractive description, but the factors may be unknown and unidentifiable. The authors explicitly ask whether likelihood under a good model suffices or whether new priors and criteria are needed.

The inference problem. A probabilistic representation may be a rich posterior over latent configurations. Exact inference can be unavailable. Maximum a posteriori inference chooses one mode; a factorised variational family can miss dependence; a local Markov chain may not cross between modes. A deterministic vector f(x) is compact and quick, but what information about a multimodal posterior can it preserve? The Review treats an implicit compact representation as a question for future work.

The optimisation problem. Deep networks introduce long compositions, ill-conditioning and many stationary regions. Layer-wise pre-training sometimes helped, supervised training had achieved large-scale successes, and regularisation mattered. Yet the authors resist one easy explanation. They ask how much difficulty comes from local minima, curvature, conditioning or training dynamics. An observed recipe can work before its causal explanation is settled.

The evaluation problem. The training criterion is not automatically the quality measure. Reconstruction error can reward detail irrelevant to transfer. Likelihood can be difficult to estimate and can favour density properties misaligned with semantic tasks. Samples can look good while missing modes. A supervised probe tests one target and can reward a representation that retained accidental correlations. Several evaluations are often needed to triangulate the claimed property.

The Review’s benchmark reports also require historical tense. It cites then-current error reductions in speech, MNIST, ImageNet and language tasks. They establish performance under named datasets and comparisons available at the time. They do not establish universal superiority, and later methods must not be smuggled back into the evidence the authors possessed in 2013.

Claims about AI require the strongest calibration. The authors hypothesise that identifying and disentangling explanatory factors is necessary for artificial intelligence. That is a motivating thesis, not a controlled result. Even a system that recovers known generative factors would establish a form of computational competence. It would not, without additional criteria, establish agency, semantic understanding or consciousness.

Claim typeExample in the ReviewAppropriate warrantBoundary
DefinitionRepresentation learning makes useful information easier to extract.Operational specification of encoder, readout and task.“Easy” is not one universal quantity.
MechanismDenoising reconstructs clean x from corrupted x̃.Objective, corruption process and reconstruction calculation.Does not ensure semantic factors.
CapacityDistributed features support combinatorially many patterns.Counting under explicit activation constraints.Possible patterns are not learned meanings.
Surveyed resultRepresentation learning improved named speech and vision benchmarks.Referenced datasets, metrics and competitors.Does not generalise beyond the protocol automatically.
HypothesisGeneric priors can help discover explanatory factors.Cross-task evidence and controlled factor tests.Not established by listing desirable properties.
Open questionWhich objective makes a representation good?Competing criteria and downstream evaluation.The paper deliberately does not settle it.

Consciousness boundary

The primary concerns functions, latent variables, learned codes, inference and prediction. Its use of words such as “understand”, “explanatory” and “abstract” belongs to a computational research programme. No experiment in the paper measures subjective report, awareness, phenomenal character or a neural correlate of consciousness. Moving from representation to experience would require an additional theory and independent evidence.

Causal probe 9 · Why is an open question a positive result?

Because it prevents a proxy from silently becoming a definition. By showing how reconstruction, probability, geometry and task utility only partially align, the Review gives later work a sharper burden: state the desired property, the pressure meant to produce it, and the test that could reveal failure.

An evidence ladder separates operations from open programmesFive ascending platforms are labelled objective, mechanism, benchmark, structural hypothesis and AI programme. An arrow shows increasing interpretive distance and need for independent tests.OBJECTIVE · specified lossMECHANISM · code responseBENCHMARK · protocol resultHYPOTHESIS · latent factorsPROGRAMME · intelligenceMORE INDEPENDENT EVIDENCE NEEDEDdo not let a training proxy climb the ladder without a new test
A precise loss is not automatically a measure of factor recovery, and factor recovery is not automatically intelligence. Each step adds an interpretation that needs its own evidence.Author evidence taxonomy applied to primary sections 3.6, 9.5 and 12.
Executable demonstration

Factor-and-invariance laboratory

The laboratory turns three claims into small calculations: distributed codes offer combinatorial capacity, invariance can create collisions by deleting a factor, and contraction reduces a differentiable encoder’s local sensitivity. It does not simulate the surveyed systems or score human-readable meaning.

Change the code, factor policy and local gain

Interactive code-capacity and local-sensitivity plotThe left panel compares code capacity and factor collisions. The right panel plots tanh encoder output and its local derivative across input values.

How to read it

For n features, one-hot capacity is n, independent binary capacity is 2ⁿ, and an exactly-two-active sparse code has n(n−1)/2 patterns. These are possible codes. The position policy shows a separate question: erasing position maps two same-category examples to one representation, whereas preserving a factor keeps them distinguishable. The curve uses h = tanh(wx); its derivative w(1−h²) measures local sensitivity, not semantic quality.

Retrieval practice

Memory studio

Answer before opening each card. The prompts preserve distinctions the Review spends thirty pages constructing.

What does a learned representation change?
Reveal

It changes which distinctions and regularities are accessible to a downstream learner. Its value is relative to data, readout, task and desired transformations.

Why is raw-space smoothness insufficient?
Reveal

High-dimensional local neighbourhoods multiply, while examples sharing a reusable factor may be distant under the raw metric.

What is distributed about a distributed code?
Reveal

Several features participate in one example and each feature participates in many examples, permitting combinatorial reuse.

What does the 2ⁿ argument establish?
Reveal

Possible activation patterns under n independent binary features. It does not establish that patterns are occupied, meaningful or learnable.

How does depth support reuse?
Reveal

Intermediate computations can feed many later compositions, so the number of paths can grow without duplicating every early feature.

How does invariance differ from disentangling?
Reveal

Invariance suppresses sensitivity to a change. Disentangling tries to preserve factors in separately usable form so tasks can ignore them selectively.

Why can perfect reconstruction be uninformative?
Reveal

An unconstrained model can learn the identity. A bottleneck, corruption or regulariser is needed to pressure the code towards shared structure.

What does denoising train the model to do?
Reveal

Map corrupted neighbourhood samples back towards clean data, thereby learning structure determined partly by the corruption process.

What does a contractive penalty measure?
Reveal

The encoder Jacobian’s magnitude, hence local sensitivity of the representation to small input perturbations.

What is representation in a latent-variable model?
Reveal

Often a posterior, expectation or most probable configuration of hidden variables conditional on the observation.

Why learn approximate inference?
Reveal

A parametric encoder can amortise an expensive per-example optimisation or posterior calculation, though its approximation error must be checked.

What does this Review establish about consciousness?
Reveal

Nothing directly. It studies computational codes and learning criteria, not subjective experience or awareness.

A verification discipline

Before calling a representation “good”

CheckQuestion to preserve
InputWhat preprocessing, sampling and measurement define x?
CodeIs h a deterministic vector, a posterior distribution, an optimised latent state or something else?
PressureWhich loss, regulariser, noise process or architectural constraint makes copying or memorisation unattractive?
PriorWhich assumptions: smoothness, sparsity, hierarchy, coherence, manifold or factor sharing: are being imposed?
TaskFor which readout and target is useful information meant to be easy to extract?
InformationWhich changes are suppressed, which factors remain accessible, and could a later task need what was discarded?
CapacityIs a claim about possible codes being mistaken for realised, stable or meaningful features?
InferenceIf h approximates p(h|x), which modes and dependencies can the approximation represent?
EvaluationWhich controlled intervention, transfer task, robustness test or held-out metric could reveal failure?
Mind claimWhat independent theory and evidence would connect computational representation to agency or experience?
Place in the canon

From a field map to a design vocabulary

Paper 0048 reconstructed backpropagated credit. Paper 0049 separated universal representational capacity from an effective learning method. Paper 0050 examined a large-scale convolutional system, and Paper 0051 showed how deep learning became a shared field-level account across vision, speech and language. Paper 0052 now asks what the learned internal description ought to accomplish.

Its canonical role is diagnostic. It turns “representation” from a vague promise into a set of testable tensions: local interpolation versus non-local reuse, compression versus preservation, invariance versus disentangling, probabilistic semantics versus fast inference, and a precise training loss versus an unsettled downstream criterion. Those tensions remain useful even when particular 2013 methods are superseded.

Paper 0053, Ioffe and Szegedy’s batch-normalisation paper, will narrow the lens from desirable codes to the dynamics of training a deep network. It proposes a specific normalisation mechanism and reports faster, more permissive optimisation. The transition is deliberate: after asking what representations should become, the canon asks how a deep stack can be made easier to optimise.

Website publication brief

Publication-ready companion

Title: What makes a representation good? Bengio, Courville and Vincent’s new perspectives.

Standfirst: A rigorous reconstruction of the 2013 Review that framed representation learning through reusable factors, generic priors, probabilistic models, auto-encoders, manifold geometry and unresolved criteria.

Search description: Understand Bengio, Courville and Vincent’s representation-learning Review through nine examples, ten animated figures, explicit evidence boundaries and an executable factor-and-invariance laboratory.

Suggested tags: representation learning, deep learning, distributed representations, disentanglement, auto-encoders, manifold learning, latent variables, invariance.

Review ledger

Claims kept in proportion

The companion separates definitions, mechanisms, capacity arguments, surveyed results, hypotheses and open questions. It treats generic priors as proposals whose value depends on the data-generating structure, and it does not infer semantics or consciousness from a learned vector.

Primary completeness: all 30 pages of the complete arXiv version inspected; article, figures, conclusion and references present.

Accessible motion: each visual has a title, description and prose caption; animation stops under reduced-motion preferences.

References and source trail

  1. Yoshua Bengio, Aaron Courville and Pascal Vincent, “Representation Learning: A Review and New Perspectives”, IEEE Transactions on Pattern Analysis and Machine Intelligence 35(8), 1798–1828 (2013). DOI record; canonical preprint record; complete PDF used for verification.
  2. Yann LeCun, Yoshua Bengio and Geoffrey Hinton, “Deep learning”, Nature 521, 436–444 (2015). DOI record. The preceding canon paper’s field-level synthesis.
  3. Geoffrey E. Hinton, Simon Osindero and Yee-Whye Teh, “A fast learning algorithm for deep belief nets”, Neural Computation 18(7), 1527–1554 (2006). DOI record.
  4. Pascal Vincent et al., “Extracting and Composing Robust Features with Denoising Autoencoders”, Proceedings of ICML (2008). publisher record.
  5. Salah Rifai et al., “Contractive Auto-Encoders: Explicit Invariance During Feature Extraction”, Proceedings of ICML (2011). .
  6. Bruno A. Olshausen and David J. Field, “Emergence of simple-cell receptive field properties by learning a sparse code for natural images”, Nature 381, 607–609 (1996). DOI record.
  7. Geoffrey E. Hinton and Ruslan R. Salakhutdinov, “Reducing the Dimensionality of Data with Neural Networks”, Science 313, 504–507 (2006). DOI record.
  8. Sergey Ioffe and Christian Szegedy, “Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift”, arXiv:1502.03167 (2015). canonical preprint record. The next canon paper.

Return to the collection