Skip to main content
QUICK REVIEW

[Paper Review] MaCow: Masked Convolutional Generative Flow

Xuezhe Ma, Xiang Kong|arXiv (Cornell University)|Feb 12, 2019
Generative Adversarial Networks and Image SynthesisComputer Science32 references5 citations
TL;DR

MaCow introduces a masked convolutional generative flow architecture that uses locally connected, masked convolutions to achieve fast, stable training and efficient sampling while significantly improving density estimation performance over Glow. It achieves state-of-the-art likelihood scores on CIFAR-10, LSUN, and CelebA-HQ, reaching 0.67 bits/dim with variational dequantization—just 0.06 bits/dim behind the SOTA autoregressive model SPN.

ABSTRACT

Flow-based generative models, conceptually attractive due to tractability of both the exact log-likelihood computation and latent-variable inference, and efficiency of both training and sampling, has led to a number of impressive empirical successes and spawned many advanced variants and theoretical investigations. Despite their computational efficiency, the density estimation performance of flow-based generative models significantly falls behind those of state-of-the-art autoregressive models. In this work, we introduce masked convolutional generative flow (MaCow), a simple yet effective architecture of generative flow using masked convolution. By restricting the local connectivity in a small kernel, MaCow enjoys the properties of fast and stable training, and efficient sampling, while achieving significant improvements over Glow for density estimation on standard image benchmarks, considerably narrowing the gap to autoregressive models.

Motivation & Objective

  • Address the gap in density estimation performance between flow-based models and state-of-the-art autoregressive models like SPN and PixelSNAIL.
  • Improve upon Glow’s performance in likelihood estimation while maintaining computational efficiency and stable training.
  • Enable high-fidelity image generation with non-autoregressive likelihood-based models by leveraging masked convolutions and multi-scale architecture.
  • Demonstrate that flow-based models can achieve competitive likelihoods and high-quality samples without relying on autoregressive generation.
  • Explore the potential of extending flow-based models to discrete and sequential data through improved architectural design.

Proposed method

  • Propose a masked convolutional flow (MaCow) that restricts local connectivity to a small kernel using a learnable mask, ensuring invertible and efficient transformations.
  • Use rotational ordering masks to enable large receptive fields while maintaining local connectivity and stable Jacobian determinant computation.
  • Implement a fine-grained multi-scale architecture that processes features at multiple resolutions, improving representation learning and density estimation.
  • Integrate both uniform and variational dequantization to enhance likelihood estimation on discrete pixel data.
  • Apply invertible 1×1 convolutions and coupling layers to maintain tractable Jacobian determinants and enable exact likelihood computation.
  • Train using maximum likelihood objective with stochastic optimization, leveraging the analytical tractability of flow-based models.

Experimental results

Research questions

  • RQ1Can a flow-based generative model achieve density estimation performance competitive with state-of-the-art autoregressive models like SPN and PixelSNAIL?
  • RQ2How does restricting local connectivity via masked convolutions affect training stability, sampling efficiency, and likelihood performance in flow-based models?
  • RQ3To what extent can a non-autoregressive flow model generate high-fidelity images comparable to autoregressive models like Glow or WaveNet?
  • RQ4Does the combination of masked convolutions and multi-scale architecture improve likelihood estimation on diverse image benchmarks including CIFAR-10, ImageNet, LSUN, and CelebA-HQ?
  • RQ5Can variational dequantization further close the gap between flow-based and autoregressive models in terms of likelihood scores?

Key findings

  • MaCow improves log-likelihood over Glow by 0.08 bits/dim on CelebA-HQ (256×256) with uniform dequantization, achieving 0.95 bits/dim.
  • With variational dequantization, MaCow achieves 0.67 bits/dim on CelebA-HQ, just 0.06 bits/dim behind the SOTA autoregressive model SPN.
  • On LSUN bedroom, MaCow with uniform dequantization improves over Glow by 0.4 bits/dim, demonstrating consistent gains across datasets.
  • MaCow’s image generation quality is high-fidelity and competitive with autoregressive models, especially when using reduced-temperature sampling.
  • MaCow is 7.3× slower than Glow in sampling speed but still significantly faster than MAF (600×) and Emerging Convolutions (360×), indicating efficient inference.
  • The model’s synthesis time scales approximately linearly with image resolution, from 38.7ms on CIFAR-10 to 434.2ms on CelebA-HQ (256×256).

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.