Skip to main content
QUICK REVIEW

[Paper Review] SCHA-VAE: Hierarchical Context Aggregation for Few-Shot Generation

Giorgio Giannone, Ole Winther|arXiv (Cornell University)|Oct 23, 2021
Domain Adaptation and Few-Shot LearningComputer Science45 references4 citations
TL;DR

This paper proposes SCHA-VAE, a hierarchical variational autoencoder that improves few-shot generation by learning to aggregate set-level context through attention-based, permutation-invariant aggregation. By modeling global and local representations hierarchically, it achieves state-of-the-art performance in few-shot generation, generalizing effectively across unseen classes and set sizes with improved likelihood and sampling quality.

ABSTRACT

A few-shot generative model should be able to generate data from a novel distribution by only observing a limited set of examples. In few-shot learning the model is trained on data from many sets from distributions sharing some underlying properties such as sets of characters from different alphabets or objects from different categories. We extend current latent variable models for sets to a fully hierarchical approach with an attention-based point to set-level aggregation and call our method SCHA-VAE for Set-Context-Hierarchical-Aggregation Variational Autoencoder. We explore likelihood-based model comparison, iterative data sampling, and adaptation-free out-of-distribution generalization. Our results show that the hierarchical formulation better captures the intrinsic variability within the sets in the small data regime. This work generalizes deep latent variable approaches to few-shot learning, taking a step toward large-scale few-shot generation with a formulation that readily works with current state-of-the-art deep generative models.

Motivation & Objective

  • To address the challenge of few-shot generation in low-data regimes where models must generalize from minimal examples.
  • To improve the expressivity of latent variable models for sets by introducing hierarchical inference and learnable aggregation.
  • To enable robust generalization to unseen classes and varying set cardinalities without adaptation at test time.
  • To provide a scalable, permutation-invariant framework compatible with modern deep generative models.

Proposed method

  • Proposes SCHA-VAE, a hierarchical VAE that models global context via a set-level latent variable c, learned through attention-based pooling of input samples.
  • Uses a hierarchical inference mechanism to progressively integrate local sample features with global context, enhancing representation learning.
  • Employs a learnable aggregation module that replaces fixed pooling (e.g., mean, max) with attention-based fusion for improved context representation.
  • Introduces a permutation-invariant architecture to handle unordered sets, ensuring consistent behavior regardless of input order.
  • Applies iterative sampling strategies to explore the predictive and marginal distributions defined by the model.
  • Combines the model with standard VAE components, enabling compatibility with state-of-the-art architectures and training procedures.

Experimental results

Research questions

  • RQ1Can a hierarchical latent variable model with learnable aggregation improve few-shot generation performance compared to non-hierarchical baselines?
  • RQ2How well does the model generalize to unseen classes and varying set cardinalities without fine-tuning at inference?
  • RQ3To what extent does attention-based aggregation outperform fixed pooling mechanisms in capturing set-level structure?
  • RQ4Does hierarchical inference enhance the model’s ability to capture intrinsic variability in small-data regimes?
  • RQ5Can the proposed framework be effectively combined with modern VAE architectures to boost generative performance?

Key findings

  • SCHA-VAE achieves superior likelihood scores on the Omniglot test set, with performance improving monotonically as set size increases from 2 to 20.
  • The hierarchical inference and learnable aggregation components consistently outperform non-hierarchical and fixed-pooling baselines across all set sizes.
  • The model generalizes effectively to out-of-distribution classes and unseen set cardinalities, demonstrating strong few-shot transfer capabilities.
  • Iterative sampling strategies reveal improved diversity and fidelity in generated samples, indicating better modeling of the true data distribution.
  • The attention-based aggregation mechanism enables better context representation than mean or max pooling, particularly in complex, high-dimensional data like images.
  • SCHA-VAE shows strong compatibility with state-of-the-art VAE architectures, suggesting broad applicability and potential for further performance gains.

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.