HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Analog Bits: Generating Discrete Data using Diffusion Models with Self-Conditioning

Ting Chen Ruixiang Zhang Geoffrey Hinton

Analog Bits: Generating Discrete Data using Diffusion Models with Self-Conditioning

Abstract

We present Bit Diffusion: a simple and generic approach for generating discrete data with continuous state and continuous time diffusion models. The main idea behind our approach is to first represent the discrete data as binary bits, and then train a continuous diffusion model to model these bits as real numbers which we call analog bits. To generate samples, the model first generates the analog bits, which are then thresholded to obtain the bits that represent the discrete variables. We further propose two simple techniques, namely Self-Conditioning and Asymmetric Time Intervals, which lead to a significant improvement in sample quality. Despite its simplicity, the proposed approach can achieve strong performance in both discrete image generation and image captioning tasks. For discrete image generation, we significantly improve previous state-of-the-art on both CIFAR-10 (which has 3K discrete 8-bit tokens) and ImageNet-64x64 (which has 12K discrete 8-bit tokens), outperforming the best autoregressive model in both sample quality (measured by FID) and efficiency. For image captioning on MS-COCO dataset, our approach achieves competitive results compared to autoregressive models.

Code Repositories

facebookresearch/flowmm
pytorch
Mentioned in GitHub
lucidrains/chroma-pytorch
pytorch
Mentioned in GitHub
google-research/pix2seq
Official
tf
Mentioned in GitHub
yiyixuxu/denoising-diffusion-flax
jax
Mentioned in GitHub
lucidrains/bit-diffusion
pytorch
Mentioned in GitHub
lucidrains/imagen-pytorch
pytorch
Mentioned in GitHub
pinellolab/dna-diffusion
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-captioning-on-cocoBit Diffusion (20 steps)
BLEU-4: 34.7
CIDEr: 115
ROUGE-L: 58

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
Analog Bits: Generating Discrete Data using Diffusion Models with Self-Conditioning | Papers | HyperAI