Source-linked AI summary

Early Visual Concept Learning with Unsupervised Deep Learning

Irina Higgins, Loic Matthey, Xavier Glorot, Arka Pal, Benigno Uria, Charles Blundell, Shakir Mohamed, Alexander Lerchner

arXiv:1606.05579v3stat.MLcs.LGq-bio.NC

TL;DR

The paper asks how raw image data can yield early visual concepts and disentangled representations that support transfer and zero-shot inference. It develops a neuroscience-inspired unsupervised VAE using continuity, redundancy-reduction, and independence pressures, and reports disentangled factors, zero-shot generalization, and emergent objectness. The approach is bounded by its reliance on densely sampled continuous factors and neuroscience-inspired assumptions about visual learning.

  • Problem

    Automated discovery of early visual concepts from raw image data remains an open challenge, including representations that support knowledge transfer and zero-shot inference.

  • Method

    The paper applies data continuity, redundancy reduction, and statistical-independence pressures in an unsupervised generative VAE framework.

  • Results

    The approach learns disentangled visual factors and demonstrates zero-shot inference and emergent visual concepts such as objectness.

  • Takeaways & Limitations

    Disentangled unsupervised representations can generalize beyond the training distribution by recombining learned factor values.

  • Takeaways & Limitations

    The approach assumes densely sampled continuous generative factors and neuroscience-inspired constraints modeled on the ventral visual pathway.

Abstract

from arXiv · show

Automated discovery of early visual concepts from raw image data is a major open challenge in AI research. Addressing this problem, we propose an unsupervised approach for learning disentangled representations of the underlying factors of variation. We draw inspiration from neuroscience, and show how this can be achieved in an unsupervised generative model by applying the same learning pressures as have been suggested to act in the ventral visual stream in the brain. By enforcing redundancy reduction, encouraging statistical independence, and exposure to data with transform continuities analogous to those to which human infants are exposed, we obtain a variational autoencoder (VAE) framework capable of learning disentangled factors. Our approach makes few assumptions and works well across a wide variety of datasets. Furthermore, our solution has useful emergent properties, such as zero-shot inference and an intuitive understanding of "objectness".

1 Introduction

The paper targets human-like knowledge transfer and zero-shot inference by learning disentangled visual factors from unsupervised data. It proposes neuroscience-inspired constraints within a VAE to learn such representations and emergent visual concepts.

  • Motivation: Disentangled representations could support faster knowledge transfer by reusing learned representations across reinforcement-learning tasks.Without such representations, state-of-the-art models may need to relearn low-level features for different tasks.
  • Motivation: Zero-shot inference requires recombining previously learned generative factors to reason about data outside the training distribution.Models otherwise struggle to generalize beyond the convex hull of the training distribution.
  • Approach: The proposed approach applies redundancy reduction, statistical independence, and transform-continuity pressures inspired by the ventral visual stream.These pressures are implemented in an unsupervised variational autoencoder framework.
  • Contributions: The paper contributes a quantitative disentanglement-comparison protocol and demonstrates zero-shot inference and emergent visual concepts such as objectness.The stated goal is a representation in which individual latent units respond selectively to individual generative factors.

2 Constraints to encourage disentangled factor learning

The method derives disentangled factor learning from assumptions about infant visual experience and neuroscience-inspired constraints. These constraints become a VAE objective whose β coefficient controls the strength of redundancy-reduction and independence pressures.

  • Biological inspiration: The approach assumes that models can learn visual concepts from unsupervised data streams resembling those experienced by the developing ventral visual system.The paper specifically motivates exposure to continuously transformed objects against blurred backgrounds.
  • Neuroscience-inspired constraints: Redundancy reduction and statistical independence are proposed as learning constraints that encourage basic visual concepts and disentangled factors.The paper notes that no scalable unsupervised solution based on these ideas had previously been established.
  • Generative model: The model represents observations x using latent factors z and optimizes reconstruction while constraining the posterior qφ(z|x) toward a prior.The constraint is expressed through D_KL(qφ(z|x)||p(z)) < ϵ.
  • VAE objective: Writing the constrained objective as a Lagrangian yields the VAE variational free-energy objective with β as the inverse temperature or regularization coefficient.β balances the reconstruction and prior-matching pressures during training.
  • VAE objective: An isotropic unit-Gaussian prior constrains latent-channel capacity while implicitly encouraging independence and preserving information for reconstruction.Changing β changes the strength of these learning pressures and therefore the resulting representations.

3 Experiments

Experiments show that neuroscience-inspired pressures enable VAEs to learn disentangled visual factors, outperform varied baselines, generalize to unseen factor combinations, and scale across datasets. These representations also expose trade-offs between disentanglement, reconstruction quality, continuity, and constraint strength.

  • 3.1 Learning disentangled factors in a 2D dataset: With β = 4, five latent units represented position, scale, and rotation factors, while remaining units converged to an uninformative unit Gaussian prior.Latents z7 and z5 encoded X and Y coordinates, z4 encoded scale, and z2 and z9 encoded rotation.
  • 3.2 Quantifying disentangling: The β = 4 disentangled VAE achieved factor-change classification comparable to ground-truth vectors and significantly above untrained, β = 0, β = 1, PCA, ICA, and raw-pixel baselines.The metric uses a low-capacity linear classifier to predict which single generative factor changed between two frames.
  • 3.4 Investigating qualities of learnt representations: Reducing transform continuity negatively correlated with disentangling, while test-time Bernoulli noise caused only slowly degrading accuracy up to 10% noise.Figure 4 measures continuity using average normalized Hamming distance between consecutive transforms.
  • 3.4 Investigating qualities of learnt representations: Optimal normalized β increased with latent size, while good reconstructions were associated with entangled representations and highly disentangled representations often produced blurry reconstructions.β balances reconstruction and prior-matching gradients and is normalized by latent size m and input size n.
  • 3.4 Investigating qualities of learnt representations: Training on approximately 55% of factor combinations yielded a β = 4 model that generalized well outside its training distribution, unlike the β = 0 entangled model.Held-out combinations included configurations outside the convex hull of the training distribution.
  • 3.5 Other datasets: Across additional datasets, disentangled VAEs learned factors including non-affine 3D rotation, Breakout paddle movement and score, maze movement, and chair rotation, whereas β = 0 models could not disentangle them.Reported settings included m = 10, β = 1 for 3D shapes and chairs; m = 30, β = 1.28 for Breakout; and m = 32, β = 1 for maze navigation.

4 Conclusion

The paper concludes that neuroscience-inspired learning constraints enable deep unsupervised generative models to learn disentangled visual factors across varied settings. These representations also support zero-shot inference and may serve as useful pre-training for transfer or fast learning.

  • 4 Conclusion: Deep unsupervised generative models learn disentangled visual factors when trained with continuous factor sampling, redundancy reduction, and statistical-independence pressures.These pressures correspond to a VAE formulation with a temperature coefficient β controlling their strength.
  • 4 Conclusion: The approach does not require prior knowledge of the number or nature of generative factors and remains robust across architectures, optimization parameters, datasets, and noise.
  • 4 Conclusion: Trained VAEs can generalize beyond the training distribution in zero-shot inference scenarios.
  • 4 Conclusion: The authors propose unsupervised pre-training as a route toward improved transfer and fast learning in supervised or reinforcement-learning settings.This is presented as a future possibility rather than an experimentally established result.

A Appendix

The appendix summarizes the architectures, optimizers, and dataset-specific implementation details used in the experiments.

  • A Appendix: Table 1 lists the VAE architectures and optimizers used across experiments to demonstrate robustness.
  • A Appendix: For convolutional architectures, parenthesized numbers denote stride-padding, while SU denotes spatial upsampling.

A.1 2D shapes dataset

The 2D shapes dataset experiment trained the fully connected architecture with cross-entropy and Adagrad optimization.

  • A.1 2D shapes dataset: The fully connected architecture was trained with a cross-entropy cost function using Adagrad at learning rate 1e-2.

A.2 Factor change classification

The factor-change classification appendix describes how latent differences are generated, classified, and aggregated to quantify disentanglement.

  • A.2 Factor change classification: The evaluation uses a classifier mapping latent differences to four factor identities: position X, position Y, scale, and rotation.The classifier uses a fully connected network with softmax output and cross-entropy cost.
  • A.2 Factor change classification: Results aggregate thirty scores from ten VAE replicas, each evaluated three times with different random seeds, after discarding the bottom 50%.
  • A.2 Factor change classification: Algorithm 1 provides the data-generation procedure used for factor-change quantification.
  • A.2 Factor change classification: Each generated example changes one randomly selected factor while sampling the object identity, change direction, and starting factor values.
  • A.2 Factor change classification: The procedure encodes pixel representations of the starting and ending factor settings to obtain their latent representations.

A.3 Zero shot inference regression

A fully connected linear network maps zorig to znew using smooth L1 loss and Adagrad until convergence.

  • A fully connected linear neural network was used to map zorig to znew.
  • Training used smooth L1 loss with the Adagrad optimizer.
  • The learning rate was 1e-2, and optimization continued until convergence.

A.4 Amoeba dataset

The fully connected architecture was trained with binary cross-entropy and Adagrad at a learning rate of 1e-2.

  • The experiment used the fully connected architecture specified in Table 1.
  • Training used a binary cross-entropy criterion.
  • Adagrad was used with a learning rate of 1e-2.

A.5 3D shapes dataset

A convolutional VAE was trained on rendered 3D cylinders, cubes, and pyramids varying in scale, rotation, colour, and position.

  • The dataset contained three 3D objects: cylinders, cubes, and pyramids.
  • The objects varied across 6 scales, 60 out-of-plane rotations, and 26 colours.
  • Objects rotated around the z-axis over 2π using 60 equidistant steps.
  • The full dataset contained 38,880 frames and included 6x6 position translations for each object and rotational position.
  • The convolutional VAE was trained with learning rate 1e-4.

A.6 Atari dataset

The experiments used continuous visual datasets from Atari games, 3D chairs, and a first-person maze, with the latter yielding disentangled latent units for several factors.

  • Atari dataset: Atari datasets comprised 1 million frames collected from a trained DQN agent for Breakout, SeaQuest, Frostbite, and Enduro.
  • 3D chairs dataset: The 3D chairs experiment trained a convolutional VAE on 82 chair identities using 100x100-pixel images.
  • 3D first-person maze dataset: The first-person maze dataset contained 1 million greyscale frames downsampled to 84x84 pixels.
  • 3D first-person maze dataset: The maze VAE learned single latent units representing lighting, movement, score, and the character-head rotation.
Loading 1606.05579v3…