Source-linked AI summary

Towards Conceptual Compression

Karol Gregor, Frederic Besse, Danilo Jimenez Rezende, Ivo Danihelka, Daan Wierstra

arXiv:1604.08772v1stat.MLcs.CVcs.LG

TL;DR

The paper addresses the challenge of learning image representations that separate global conceptual information from low-level detail. It introduces convolutional DRAW, a recurrent variational auto-encoder that progressively stratifies information and enables conceptual compression. The model outperforms earlier latent-variable models on Omniglot and ImageNet and reportedly rivals JPEG2000 in compression quality.

  • Problem

    The paper asks whether variational auto-encoders can learn increasingly abstract image representations while modeling real images effectively for unsupervised learning and compression.

  • Method

    Convolutional DRAW uses recurrent encoder and decoder networks with multiple stochastic latent layers to progressively capture image information from global structure to fine detail.

  • Results

    Convolutional DRAW outperforms earlier latent-variable models on Omniglot and ImageNet and produces conceptual compression that rivals JPEG2000.

  • Takeaways & Limitations

    Storing only high-level latent variables can preserve conceptual image information while the generative model supplies omitted details during decompression.

  • Takeaways & Limitations

    The authors did not build the actual compressor, although they argue its calculated compression rate would be representative.

Abstract

from arXiv · show

We introduce a simple recurrent variational auto-encoder architecture that significantly improves image modeling. The system represents the state-of-the-art in latent variable models for both the ImageNet and Omniglot datasets. We show that it naturally separates global conceptual information from lower level details, thus addressing one of the fundamentally desired properties of unsupervised learning. Furthermore, the possibility of restricting ourselves to storing only global information about an image allows us to achieve high quality 'conceptual compression'.

1. Introduction

The paper introduces convolutional DRAW, a recurrent variational auto-encoder that progressively represents images from global concepts to low-level details. This stratification supports conceptual compression by storing high-level latent variables and generating remaining details.

  • Motivation: The method targets representations that extract global conceptual aspects from images to support better and faster generalization with few labels.Images store substantial information independently in pixels, motivating representations that capture higher-level structure.
  • Method: Convolutional DRAW transforms an image into increasingly detailed representations, from global conceptual aspects to low-level details.The architecture uses sequential computation and recurrent feedback to refine representations over time.
  • Conceptual Compression: Storing only the first latent groups preserves overall symbol shape while later generated groups add small details such as stroke placement.In Omniglot, reducing stored bits increases symbol variation while retaining coarse structure.
  • Conceptual Compression: The system’s information stratification enables lossy compression by storing high-level latent variables and generating the remainder during decompression.The authors frame this as high-quality conceptual compression and relate it to human judgments of conceptual similarity.
  • Results and Evaluation: The paper reports improved latent-variable image modeling on Omniglot and ImageNet, while noting that human evaluation remains the ultimate arbiter of lossy compression quality.Simple L2 distance can penalize sharp generated details that differ from the original despite being conceptually close.
  • Conceptual Compression: ImageNet reconstructions become nearly perfect as more latent-generation iterations are included, demonstrating analogous progressive refinement for natural images.Figure 2 uses zero-variance latent generation across 32 model steps.

2. Convolutional DRAW

Convolutional DRAW uses recurrent encoder and decoder states with stochastic latent variables, and can be stacked so higher layers influence lower-layer generation. Its reconstruction distribution is chosen according to the image type and optimized through variational training.

  • Single-layer architecture: Convolutional DRAW recurrently updates encoder, decoder, reconstruction, and latent-variable states across time steps.The input, reconstruction error, encoder state, decoder state, and latent variable form the core variables of the single-layer algorithm.
  • Single-layer architecture: Convolutional operators replace usual linear operators in the LSTM recurrent networks.
  • Output distribution: The final reconstruction state parameterizes the input distribution: Bernoulli for binary images and Gaussian for natural images.For natural images, the final state is split into mean and log variance to compute the input and total costs.
  • Optimization: Training minimizes the variational loss by stochastic gradient descent with stochastic back-propagation through sampling.The approximate posterior and prior are Gaussian, with parameters determined from recurrent states.
  • Multi-layer architectures: In a two-layer stack, the upper layer receives the lower posterior mean, biases its prior, and feeds the lower decoder without its own reconstruction loss.Additional layers can be constructed analogously.

3. Compression

The proposed compression procedure discretizes latent variables, predicts them with the generative model, and arithmetic-codes the resulting sequence. It also describes bits-back coding and illustrates compression levels across conventional and convolutional DRAW methods.

  • Compression approaches: The paper presents two compression approaches: one adds extra bitstream data for an essentially guaranteed rate, while the other avoids extra data but may require experimentation.The authors had not built the actual compressor, although they expected the calculated performance to be attainable.
  • Compression mechanism: Variational-autoencoder compression discretizes each latent variable using the posterior width, predicts the sequence with the prior, and applies arithmetic coding.Arithmetic coding uses predicted conditional probabilities to encode the discrete latent sequence.
  • Practical requirements: The discretization should be input-independent, and likelihood evaluation requires choosing how the prior assigns probability to each discrete value.The authors note that significant tuning may be needed to match likelihoods obtained with sampling.
  • Compression examples: Figure 4 compares JPEG, JPEG2000, and convolutional DRAW at 0.05–0.8 bits per input dimension.The corresponding image sizes are 153, 307, 460, 614, 1228, and 2457 bits for 32 × 32 images.
  • Bits-back coding: Bits-back coding stores information at a rate whose expectation equals the latent layer’s KL divergence.Its coding cost is −log2(p/q), while it can operate with input-dependent posterior variance.

4. Results

The experiments use single-layer natural-image models with convolutional recurrent components and evaluate training configurations on Cifar-10 and ImageNet. The supplied passage specifies architectural and optimization settings rather than reporting results.

  • Experimental setup: Natural-image models use single-layer architectures with nt = 32, 5 × 5 kernels, stride-2 convolutions, and 12 latent feature maps.
  • Experimental setup: The models use 320 LSTM feature maps on Cifar-10 and 160 on ImageNet.
  • Optimization: Training uses the Adam optimization algorithm on Cifar-10 and ImageNet.

4.1. Modeling Quality

The model produces high-quality image generations across Omniglot, CIFAR-10, and ImageNet, outperforming earlier variational auto-encoders and generating sharp, detailed ImageNet samples.

  • OMNIGLOT: Convolutional DRAW generates samples for the Omniglot dataset, which contains 1,628 character classes with 20 samples per class.
  • CIFAR-10: Convolutional DRAW outperforms previous CIFAR-10 methods except Pixel RNN in likelihood.Its latent-variable formulation also supports representation learning and lossy compression.
  • CIFAR-10: Convolutional DRAW performs significantly better than the tested non-recurrent variational auto-encoder and standard DRAW on likelihood.
  • IMAGENET: The ImageNet evaluation uses a newly standardized dataset with no previously reported comparison methods.
  • IMAGENET: ImageNet generations are sharp and detailed, unlike the blurry images typically produced by earlier variational auto-encoders.Figures 6 and 7 show generations under different input-cost scales.

4.2. Input Cost Scaling

Scaling down the input cost relative to latent costs reduces pressure to model pixel-level details, yielding cleaner high-level structures in generated images.

  • Fine image details contain many more bits than higher-level structure, so the network may focus on details while ignoring conceptual content.
  • Table 1 reports test-set performance for different models on 28×28 Omniglot in nats.
  • Table 2 reports CIFAR-10 performance in bits/dim and includes training performance in brackets for the authors’ models.
  • Setting β < 1 reduces the input cost relative to latent costs and makes generated images exhibit cleaner high-level structure.
  • At β = 1, the network captures precise pixel values but does not align details well enough to produce realistic patterns.

4.3. The Dependence on Computational Depth

Increasing recurrent computational depth can improve training efficiency, with convolutional DRAW remaining no slower in wall-clock time up to approximately 16 iterations.

  • For approximately nt < 16, convolutional DRAW takes no more wall-clock time to train than versions with fewer iterations despite performing several recurrent steps.
  • Table 3 reports ImageNet performance in bits/dim, with Pixel RNN as the only previously tested method on that dataset.
  • Figure 8 compares training curves for different numbers of DRAW iterations against both data presentations and real training time.

4.4. Information Distribution

Information is distributed sequentially across levels: higher-level variables encode information early, while lower-level variables accumulate detail later.

  • Higher-level variables contain information mainly at the beginning of computation, while lower-level variables gradually increase their information content.
  • This distribution suggests that the network first identifies overall image structure and then explains details within that structure.
  • The information distribution is convenient when the algorithm must respond to observations quickly because overall structure is acquired rapidly.

4.5. Lossy Compression

The model performs lossy compression by storing selected high-level latent variables or early time steps and generating the remainder during decompression. Compression quality depends on the stored information, input scaling, prior variance, and network configuration.

  • Compression method: Compression stores only higher-level latent variables or an initial sequence of time steps, while the network generates the remainder from the prior.This supports compression across hierarchical layers and recurrent time steps.
  • Generation during decompression: Zero prior variance produces smooth images that begin with rough structure and refine through additional time steps, yielding conceptual compression even in a single-layer model.Full prior variance instead generates sharper details but can look less realistic when fewer time steps are stored.
  • Compression controls: Scaling down the input cost reduces reconstructed-image detail even when all latent variables are stored.Input scale is therefore an additional compression control beyond latent-variable or time-step selection.
  • Configuration selection: The best compressor configuration varies by compression rate, so networks, input scales, and stored time steps were selected qualitatively per compression level.The selection was not performed separately for each image.
  • Comparison: The algorithm produces better quality than JPEG and JPEG2000 at all levels where corruption is easily detectable.The comparison used concatenated small images because conventional compressors performed poorly on small images at high compression rates, giving them an advantage from nearby-image correlations.

5. Conclusion

The conclusion presents convolutional DRAW as a recurrent generative model that stratifies information from global aspects to low-level details. Restricting storage to high-level latents yields conceptual compression, while generative performance exceeds earlier latent-variable models on Omniglot and ImageNet.

  • Contribution: Convolutional DRAW uses sequential computation and recurrent neural networks to scale up latent-variable generative models.The conclusion identifies it as a state-of-the-art generative model.
  • Representation: During inference, the algorithm naturally stratifies information from global aspects to low-level details.This is the paper’s central representation-learning property.
  • Compression: Storing only high-level latent variables produces conceptual compression that rivals JPEG2000 in quality.The compression result follows from restricting storage to the high-level portion of the learned representation.
  • Evaluation: As a generative model, convolutional DRAW outperforms earlier latent-variable models on both Omniglot and ImageNet.The conclusion reports this cross-dataset comparison without specifying a single metric.

Appendix

The appendix extends image-generation and compression visualizations across input sizes and input-scaling values. Its figures compare compression methods at multiple bits-per-input-dimension levels and illustrate how scaling affects coherence and detail.

  • Image generations: Figures 10–13 show image generations for input scaling β = 0.4 and β = 1 across 32 × 32 and 64 × 64 inputs.Figures 10 and 11 cover 32 × 32 generations, while Figures 12 and 13 cover 64 × 64 generations.
  • Input scaling: At β = 0.4, generated samples are described as visually more appealing when the model is asked to be less precise.This is a qualitative observation from the 64 × 64 ImageNet samples.
  • Input scaling: At β = 1, the system spends substantial resources explaining details and loses higher-level coherence.The caption notes that this issue might disappear as models improve.
  • Lossy compression: The lossy-compression figures compare originals with JPEG, JPEG2000, and two convolutional DRAW variants across compression levels measured in bits per input dimension.The listed levels begin at 0.05, 0.1, and 0.15 bits per input dimension.
  • Lossy compression: Figure 13 is identified as the second part of the lossy-compression visualization.No further encoding or outcome is specified in the supplied caption.
Loading 1604.08772v1…