HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Locally Masked Convolution for Autoregressive Models

Ajay Jain Pieter Abbeel Deepak Pathak

Locally Masked Convolution for Autoregressive Models

Abstract

High-dimensional generative models have many applications including image compression, multimedia generation, anomaly detection and data completion. State-of-the-art estimators for natural images are autoregressive, decomposing the joint distribution over pixels into a product of conditionals parameterized by a deep neural network, e.g. a convolutional neural network such as the PixelCNN. However, PixelCNNs only model a single decomposition of the joint, and only a single generation order is efficient. For tasks such as image completion, these models are unable to use much of the observed context. To generate data in arbitrary orders, we introduce LMConv: a simple modification to the standard 2D convolution that allows arbitrary masks to be applied to the weights at each location in the image. Using LMConv, we learn an ensemble of distribution estimators that share parameters but differ in generation order, achieving improved performance on whole-image density estimation (2.89 bpd on unconditional CIFAR10), as well as globally coherent image completions. Our code is available at https://ajayjain.github.io/lmconv.

Code Repositories

ajayjain/lmconv
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-generation-on-binarized-mnistLocally Masked PixelCNN (8 orders)
bits/dimension: 0.143
nats: 77.58
image-generation-on-celeba-256x256Locally Masked PixelCNN
bpd: 0.74
image-generation-on-mnistLocally Masked PixelCNN (8 orders)
bits/dimension: 0.65

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Locally Masked Convolution for Autoregressive Models | Papers | HyperAI