Source-linked AI summary

Recent Advances in Autoencoder-Based Representation Learning

Michael Tschannen, Olivier Bachem, Mario Lucic

arXiv:1812.05069v1cs.LGcs.CVstat.ML

TL;DR

Learning useful representations with little or no supervision remains challenging because downstream usefulness depends on the task. This review unifies autoencoder-based approaches by their mechanisms for enforcing meta-priors and identifies a tradeoff between prior knowledge or supervision and representation usefulness.

  • Problem

    Useful representation learning with little or no supervision remains difficult because representations must support downstream tasks with differing requirements.

  • Method

    The paper reviews autoencoder-based models through three mechanisms: posterior regularization, encoding-decoding factorization, and structured priors.

  • Results

    The review identifies a clear tradeoff between available prior information or supervision and the usefulness of learned representations for downstream tasks.

  • Takeaways & Limitations

    Unsupervised representation learning is ill-defined for arbitrary downstream tasks, while stronger supervision and assumptions yield more task-specific representations.

  • Takeaways & Limitations

    Current methods rely on strong inductive biases and modeling assumptions, while implicit or explicit supervision remains a key enabler.

Abstract

from arXiv · show

Learning useful representations with little or no supervision is a key challenge in artificial intelligence. We provide an in-depth review of recent advances in representation learning with a focus on autoencoder-based models. To organize these results we make use of meta-priors believed useful for downstream tasks, such as disentanglement and hierarchical organization of features. In particular, we uncover three main mechanisms to enforce such properties, namely (i) regularizing the (approximate or aggregate) posterior distribution, (ii) factorizing the encoding and decoding distribution, or (iii) introducing a structured prior distribution. While there are some promising results, implicit or explicit supervision remains a key enabler and all current methods use strong inductive biases and modeling assumptions. Finally, we provide an analysis of autoencoder-based representation learning through the lens of rate-distortion theory and identify a clear tradeoff between the amount of prior knowledge available about the downstream tasks, and how useful the representation is for this task.

1 Introduction

The introduction frames unsupervised representation learning as a key challenge and argues that autoencoder-based methods can be organized by the meta-priors they enforce. It presents three enforcement mechanisms: regularizing the encoding distribution, selecting encoding and decoding models, and choosing a flexible prior distribution.

  • Motivation: Learning useful representations from vast amounts of unlabelled data with little or no supervision is a key artificial-intelligence challenge.Representation usefulness depends heavily on the downstream end task, motivating the search for properties beneficial across multiple real-world tasks.
  • Autoencoder-based representation learning: Autoencoding methods learn lower-dimensional representations from high-dimensional observations that allow approximate reconstruction of the original data.The reviewed approaches differ in their motivations and design choices but are unified by the autoencoding framework.
  • Meta-priors: The paper provides a unified view linking models to targeted meta-priors and techniques for enforcing them.This is important because meta-priors determine how useful unsupervised representations are for real-world end tasks.
  • Mechanisms for enforcing meta-priors: Three mechanisms enforce meta-priors: regularizing the encoding distribution, choosing the encoding and decoding model family, and selecting a flexible prior distribution.These mechanisms can respectively encourage disentanglement, hierarchical organization, and clusterability.

2 Preliminaries

This section introduces VAEs through the ELBO, whose reconstruction and prior-matching terms shape the learned latent space. It also outlines key design choices, divergence-based alternatives, and deterministic autoencoders as related preliminaries.

  • Variational autoencoders: VAEs maximize marginal log-likelihood using an approximate posterior qφ(z|x) to handle the intractable true posterior pθ(z|x).The resulting negative log-likelihood is expressed through the variational objective.
  • Variational autoencoders: The ELBO combines reconstruction error with a KL penalty matching qφ(z|x) to the prior p(z), making the prior central to latent-space structure.Because the KL divergence is non-negative, the negative VAE objective lower-bounds the marginal log-likelihood.
  • Model design choices: VAE representation quality depends on choices for the prior p(z), approximate posterior qφ(z|x), and decoder distribution pφ(x|z), which create trade-offs.The approximate posterior should ideally be flexible enough to match the true posterior.
  • Divergence alternatives: Replacing the KL term with another divergence, such as maximum mean discrepancy, is possible but does not necessarily preserve the marginal-log-likelihood lower bound.MMD compares distributions through distances between feature mean embeddings, while f-divergences can be estimated using density-ratio classification.
  • Deterministic autoencoders: Deterministic autoencoders minimize an L2 reconstruction loss without enforcing a prior on the latent space; with linear maps and lower-dimensional representations, this recovers PCA.Their objective can be obtained from the VAE objective by removing the KL term and using deterministic encoding with Gaussian decoding.

3 Regularization-based methods

Regularization-based methods augment the latent-variable autoencoder objective with penalties on the conditional or aggregate posterior to impose representation meta-priors. These regularizers can encourage disentanglement or informative codes, but their dataset-level dependence and evaluation assumptions create practical and conceptual limitations.

  • Regularization framework: The section distinguishes fully unsupervised regularizers, which may optionally use partial labels, from regularizers requiring supervision.Table 2 notes that most approaches use a multivariate standard normal prior and marks whether labels are required or optional.
  • Disentanglement: Disentanglement regularizers seek latent variables that predict conditionally independent ground-truth factors, but the appropriate notion and unsupervised effectiveness remain unclear.Disentanglement metrics typically evaluate how predictive individual latent factors are for available ground-truth factors.
  • Disentanglement: β-VAE weights the KL term by β > 1, while FactorVAE instead penalizes total correlation to encourage factorization without simultaneously discouraging informative latent codes.FactorVAE estimates total correlation with a discriminator using the density-ratio trick.
  • Informative representations: PixelGAN-AE removes the mutual-information penalty and uses a GAN to match the remaining KL term, preserving informative codes with powerful decoders.With categorical or Gaussian priors, the code captures different abstraction levels, such as digit class and writing style on MNIST.
  • Informative representations: Deterministic autoencoder variants use GAN-based regularization to match any sampleable prior, enabling structured latent representations such as combined categorical and Gaussian variables.In the described experiments, p(x|z) and q(z|x) are replaced by deterministic decoder and encoder functions, and the negative log-likelihood by the standard autoencoder loss LAE.

4 Factorizing the encoding and decoding distributions

Factorizing encoding or decoding distributions imposes meta-priors through hard architectural constraints, including hierarchical structures and limited receptive fields. Examples use label–latent hierarchies, autoregressive decoders, and multilayer latent-variable factorizations to shape representations and generative modeling.

  • Architectural factorization: Factorizing the encoding or decoding distribution translates meta-priors into model-class or architectural choices, such as hierarchical architectures and constrained receptive fields.These factorization schemes act as hard constraints on the learning problem rather than as regularization.
  • Semi-supervised VAE: The semi-supervised VAE M2 model divides the latent code into z and typically discrete label information y, using the hierarchical inference model qφ(z, y|x) = qφ(z|y, x)qφ(y|x).Labels are observed for only a subset of training samples.
  • VLAE: VLAE uses a decoder with a limited local receptive field so z captures global high-level information while the autoregressive decoder models local information such as texture.The decoder cannot model long-range spatial dependencies; a learned autoregressive-flow prior is also explored to improve generative modeling.
  • PixelVAE: PixelVAE combines convolutional encoder–decoder networks with a conditional PixelCNN and hierarchical latent variables, factorizing both qφ(z1, . . . , zL|x) and pθ(x, z1, . . . , zL).Its hierarchy contains multiple levels of latent variables.
  • Hierarchical inference: Bottom-up hierarchical VAE inference models usually fail to learn meaningful representations beyond two levels, whereas the cited alternative targets deep hierarchical latent representations.Ladder VAEs instead use top-down inference, while retaining a hierarchical factorization for the generative model.

5 Structured prior distribution

Structured priors shape representations by assigning different latent variables to different factor types, including through discrete-continuous variables, graphical-model structure, or quantized latent spaces. These designs support clustering, disentanglement, and useful unsupervised representations, while structured inference can require specialized approximations.

  • Structured prior distribution: Choosing p(z) directly provides an explicit way to shape representations, with discrete and continuous variables modeling distinct factors such as MNIST digits and writing style.This structured prior can encourage a form of clustering.
  • Structured prior distribution: SVAE combines structured graphical-model priors with neural-network decoders by using inference models that output conjugate graphical-model potentials.Structured priors permit efficient message-passing inference for exponential-family likelihoods, but neural-network decoders make exact inference intractable without an approximate posterior.
  • Structured prior distribution: JointVAE concatenates continuous z and discrete c variables to improve disentanglement of different latent-factor types, using qφ(c|x)qφ(z|x) and a differentiable Gumbel-Softmax relaxation.It extends β-VAE with heterogeneous latent-variable distributions.
  • Structured prior distribution: VQ-VAE uses deterministic categorical latent variables with K categories and embedding vectors, producing discrete representations that remain competitive with continuous-latent VAEs in testing likelihood.On speech data, it learns a rudimentary phoneme-level language model unsupervised for controlled speech generation and phoneme classification.

6 Other approaches

Other approaches extend autoencoder-based representation learning through deep stacking, sparsity, denoising, sequence-specific factorization, adversarial joint-distribution matching, and cross-domain translation. These methods target abstraction, robustness, disentanglement, or domain-consistent representations using varied architectural and distributional pressures.

  • Early approaches: Early methods learned abstract representations by stacking single-layer autoencoders, imposing latent sparsity, or reconstructing clean data from noisy inputs.Denoising autoencoders specifically encourage representations robust to noise.
  • Sequential data: Sequence models partition VAE latent codes into time-varying and time-invariant subsets to disentangle content from pose or identity in video and audio.This partitioning produces a particular factorization of the approximate posterior.
  • Using a discriminator in pixel space: ALI and BiGAN jointly learn probabilistic encoders and decoders by using a discriminator to match latent-data joint distributions rather than directly minimizing reconstruction loss.The discriminator distinguishes samples from pθ(x|z)p(z) and qφ(z|x)ˆp(x).
  • Using a discriminator in pixel space: Mutual information regularization in GANs can learn disentangled representations, while GAN losses have also been combined with VAEs, AAEs, and WAEs.The cited combinations include standard GAN, VAE, and Wasserstein GAN losses.
  • Cross-domain disentanglement: Cross-domain image translation uses encoder-decoder architectures trained in both directions, with additional latent-sharing pressure encouraging meaningful cross-domain representations.Translated data is constrained to match the respective domain distribution.

7 Rate-distortion tradeoff and usefulness of representation

The classic rate-distortion tradeoff captures how much information a representation stores and its reconstruction distortion, but not whether that information is useful or appropriately structured for an unknown downstream task. Regularizers, architectures, and supervision jointly determine this usefulness, with task knowledge enabling more suitable representations.

  • Unsupervised rate-distortion tradeoff: The ELBO optimizes a rate-distortion tradeoff that can assign equal value to representations with different allocations of rate and distortion.Rate R measures the average KL divergence between the encoding distribution and p(z), while distortion D is reconstruction negative log-likelihood; ELBO = −(D + R), or −(D + βR) for β-VAE.
  • Usefulness of representations: Rate and reconstruction quality alone do not determine usefulness because they omit what information is stored in the representation and how it is encoded.A useful representation must preserve information relevant to the downstream task in a form exploitable by the downstream model, such as structure amenable to linear prediction.
  • Usefulness of representations: The paper proposes usefulness as a third dimension orthogonal to the rate-distortion plane, since models with different rates and distortions can differ in downstream performance.For an unknown task such as image classification, usefulness can be measured by classification accuracy.
  • Usefulness of representations: Regularizers and architecture choices navigate both the rate-distortion plane and the usefulness dimension by controlling what information the representation captures and how it is modeled.When the downstream task is better known, suitable regularizers and architectures are easier to design; generic meta-priors support broader applicability but may produce weaker task-specific representations.
  • Supervised rate-distortion tradeoff: For supervised prediction of an auxiliary variable y, the distortion in the supervised rate-distortion tradeoff is the log-likelihood or cross-entropy of y predicted from z.The best achievable representation stores all information about y contained in x at rate R = I(x; y), with minimum distortion H(y|x); reducing the rate below I(x; y) increases distortion.

8 Conclusion and Discussion

The section concludes that autoencoder-based representation learning offers a framework for organizing recent advances around properties useful for downstream tasks. It also emphasizes that unsupervised representation learning requires strong inductive biases and involves a tradeoff between supervision and downstream usefulness.

  • 8 Conclusion and Discussion: The paper reviews recent advances in representation learning, focusing on autoencoder-based models.The review addresses learning useful representations from little or no supervision for large amounts of unlabelled data.
  • 8 Conclusion and Discussion: Disentanglement and hierarchical organization of features are considered meta-priors believed useful for downstream tasks.These properties organize the review’s discussion of representation-learning methods.
  • 8 Conclusion and Discussion: Unsupervised representation learning is ill-defined for arbitrary downstream tasks, so current methods rely on strong inductive biases and modeling assumptions.The conclusion identifies these assumptions as necessary because downstream tasks may be unspecified.
  • 8 Conclusion and Discussion: A clear tradeoff links supervision to representation usefulness, with different enforcement mechanisms requiring different degrees of supervision.Implicit or explicit supervision remains a key enabler, and the required amount depends on how meta-priors are enforced.

A Estimators for MMD and HSIC

This section presents sample-based estimators for MMD and HSIC, emphasizing HSIC as a kernel-based criterion for measuring dependence and encouraging independence through optimization.

  • MMD: MMD estimators expand the population expression and estimate mean embeddings using empirical sample means.The passage describes estimating μ_px and μ_py as means over samples.
  • HSIC: HSIC tests whether a joint distribution factorizes into its marginals and measures the degree of dependence between the variables.When p_x and p_y are parameterized by α and β, minimizing HSIC(p_α, p_β) with respect to these parameters encourages independence.
  • HSIC: HSIC is estimated from paired samples drawn from two distributions using kernels defined on their respective domains.The estimator uses samples from p_x and p_y together with kernels k on X and ℓ on Y.

B Overview table

Table 3 organizes the paper’s main models by a shared regularized objective and by the structural forms of their encoding and decoding distributions. The objective combines reconstruction-related terms with regularizers on the conditional and aggregate posteriors.

  • Objective: The models use L·(θ, φ) + λ1Eˆp(x)[R1(qφ(z|x))] + λ2R2(qφ(z)), with λ1, λ2 > 0 as regularization weights.Here, qφ(z) = Eˆp(x)[qφ(z|x)] is the aggregate posterior, while R1 and R2 are regularizers described elsewhere in the paper.
  • Distribution structure: The table distinguishes encoding and decoding distributions as hierarchical (H), autoregressive (A), or fully connected by default.These labels indicate the structural organization used for the encoding and decoding distributions.
Loading 1812.05069v1…