Skip to main content
QUICK REVIEW

[Paper Review] One-Shot Generalization in Deep Generative Models

Danilo Jimenez Rezende, Shakir Mohamed|arXiv (Cornell University)|Mar 16, 2016
Generative Adversarial Networks and Image SynthesisComputer Science28 references75 citations
TL;DR

This paper introduces a class of sequential deep generative models that leverage feedback and attention mechanisms to achieve one-shot generalization—generating diverse, realistic variations of novel concepts after seeing just one example. By combining variational inference with spatial transformers and hierarchical latent variables, the model achieves state-of-the-art performance in image generation and demonstrates compelling zero-shot and few-shot generalization across multiple tasks.

ABSTRACT

Humans have an impressive ability to reason about new concepts and experiences from just a single example. In particular, humans have an ability for one-shot generalization: an ability to encounter a new concept, understand its structure, and then be able to generate compelling alternative variations of the concept. We develop machine learning systems with this important capacity by developing new deep generative models, models that combine the representational power of deep learning with the inferential power of Bayesian reasoning. We develop a class of sequential generative models that are built on the principles of feedback and attention. These two characteristics lead to generative models that are among the state-of-the art in density estimation and image generation. We demonstrate the one-shot generalization ability of our models using three tasks: unconditional sampling, generating new exemplars of a given concept, and generating new exemplars of a family of concepts. In all cases our models are able to generate compelling and diverse samples---having seen new examples just once---providing an important class of general-purpose models for one-shot machine learning.

Motivation & Objective

  • To develop deep generative models capable of one-shot generalization, emulating human-like reasoning from minimal data.
  • To address the challenge of data efficiency in deep generative models by incorporating attention and feedback mechanisms.
  • To demonstrate that sequential generative models can generate diverse, plausible variations of unseen concepts after a single observation.
  • To extend the capabilities of variational auto-encoders and deep generative models beyond standard density estimation to include analogical reasoning and missing data imputation.
  • To provide a general-purpose, scalable framework for probabilistic reasoning with minimal inductive bias and strong generalization under low-data regimes.

Proposed method

  • The model employs a sequential generation process over groups of latent variables, enabling iterative refinement of data representations through feedback.
  • Spatial attention mechanisms, implemented via differentiable spatial transformers, allow the model to focus on relevant image regions during encoding and decoding.
  • The architecture uses a hierarchical variational inference framework to approximate complex posterior distributions over latent variables, enabling robust inference from few examples.
  • The model is trained end-to-end using stochastic backpropagation with reparameterization gradients to maximize the variational lower bound (ELBO) on log-likelihood.
  • Feedback is implemented by allowing the model to iteratively attend to and reconstruct different parts of the input, simulating a 'thinking time' for improved inference.
  • The use of multi-modal posterior approximations enables the model to capture diverse, disentangled factors of variation in the data.

Experimental results

Research questions

  • RQ1Can deep generative models perform one-shot generalization by generating diverse, realistic variations of a concept after seeing only one example?
  • RQ2How do attention and feedback mechanisms improve generalization and generation quality in deep generative models under low-data regimes?
  • RQ3To what extent can sequential generative models with hierarchical latent variables outperform standard variational auto-encoders in image generation and density estimation?
  • RQ4Can such models perform analogical reasoning and missing data imputation without requiring fine-tuning on new data?
  • RQ5What is the trade-off between model capacity and data efficiency in one-shot generalization tasks?

Key findings

  • The model generates highly diverse and visually compelling samples of new concepts after observing just one example, demonstrating strong one-shot generalization.
  • Even with only 5 training examples per class (45-5 split), the model maintains a small gap between training and test log-likelihood, indicating low overfitting and good generalization.
  • In the novel alphabet generation task, the model successfully infers shared structural features from a single example and generates consistent, plausible new characters.
  • The model performs well in unconditional sampling, generating realistic images across diverse classes without any conditioning.
  • The use of spatial transformers significantly improves performance on image generation and generalization, especially in low-data regimes.
  • Despite strong generalization, the model does not perform one-shot learning, as it does not update its parameters during inference—only performs one-shot inference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.