Consistency models address the slow sampling of diffusion models by mapping noise directly to data, which allows high-quality generation in one step. They also allow multistep sampling for better quality and support zero-shot editing tasks without task-specific training. The authors report state-of-the-art one-step results and show that the models can work as standalone generative models that outperform existing one-step, non-adversarial methods.
## The Bottleneck in Diffusion Models
- Diffusion models produce strong results in image, audio, and video generation.
- Their iterative sampling process makes generation slow.
## Direct Noise-to-Data Mapping
- Consistency models generate samples by mapping noise directly to data.
- One-step generation is built into the design.
- Multistep sampling remains possible, letting users trade compute for sample quality.
## Zero-Shot Data Editing
- The models handle tasks such as image inpainting, colorization, and super-resolution.
- They do not need explicit training on these tasks.
## Training Approaches
- They can be trained by distilling a pre-trained diffusion model.
- They can also be trained as standalone generative models.
## Benchmark Results
- In one- and few-step sampling, they outperform existing diffusion distillation techniques.
- One-step generation reaches a new state-of-the-art FID of 3.55 on CIFAR-10 and 6.20 on ImageNet 64x64.
- As standalone models, they outperform existing one-step, non-adversarial generative models on CIFAR-10, ImageNet 64x64, and LSUN 256x256.
Consistency models can generate high-quality samples in a single step without adversarial training, but current versions rely on distillation from pre-trained diffusion models and on learned metrics like LPIPS, which limit their quality and bias evaluation. This work presents improved techniques for consistency training, in which models learn directly from data without distillation. With these changes, the models reach FID scores that beat distillation-based results in both one-step and two-step sampling.
### Limits of Distillation and LPIPS
- Distillation caps a consistency model's quality at that of the pre-trained diffusion model it learns from.
- LPIPS, a learned perceptual metric, introduces undesirable bias into evaluation.
### Improved Consistency Training
- The authors analyze the theory of consistency training and find a previously overlooked flaw. They fix it by removing the Exponential Moving Average from the teacher consistency model.
- Pseudo-Huber losses from robust statistics replace learned metrics such as LPIPS.
- A lognormal noise schedule is introduced for the consistency training objective.
- The total number of discretization steps doubles every set number of training iterations.
- Better hyperparameter tuning is applied alongside these modifications.
### Results on CIFAR-10 and ImageNet 64×64
- One-step sampling achieves FID scores of 2.51 on CIFAR-10 and 3.25 on ImageNet 64×64.
- These one-step scores are 3.5× and 4× better than prior consistency training approaches.
- Two-step sampling lowers the FID scores to 2.24 on CIFAR-10 and 2.77 on ImageNet 64×64.
- The two-step results surpass distillation-based results in both one-step and two-step settings.
- The gap between consistency models and other state-of-the-art generative models narrows.
Point-E, a system from December 2022, generates 3D object point clouds from text prompts in one to two minutes on a single GPU. State-of-the-art text-to-3D methods need multiple GPU-hours per sample, while image generators produce results in seconds or minutes. Point-E trades some sample quality for speed of one to two orders of magnitude, which the authors present as a practical option for certain use cases.
## The Speed Gap in Text-to-3D Generation
- Leading text-conditional 3D methods show promising results but typically require multiple GPU-hours for a single sample.
- Generative image models, by comparison, produce samples in seconds or minutes, which makes the 3D gap stark.
## A Two-Stage Pipeline
- A text-to-image diffusion model first generates a single synthetic view of the requested object.
- A second diffusion model then produces a 3D point cloud conditioned on that generated image.
- Splitting the problem this way lets the system rely on the fast image stage before the 3D stage.
## Trade-offs and Release
- Point-E still falls short of state-of-the-art methods in sample quality.
- It is one to two orders of magnitude faster to sample from, which the authors argue makes it useful where speed matters more than fidelity.
- The authors released their pre-trained point cloud diffusion models along with evaluation code and models.
The post introduces a two-stage approach to text-conditional image generation that routes through CLIP image embeddings. Rather than mapping a caption directly to pixels, the model first predicts a CLIP image embedding from the text and then renders an image from that embedding. The authors report that this explicit representation step increases image diversity with only minor losses in photorealism and caption similarity. They also find that diffusion models work better than autoregressive models for the prior stage, being cheaper to compute and producing higher-quality samples.
## Two-Stage Generation Pipeline
- A **prior** takes a text caption and generates a CLIP image embedding.
- A **decoder** generates the final image conditioned on that embedding.
- Diffusion models are used for the decoder.
- Both autoregressive and diffusion models were tested for the prior.
## Diversity and Fidelity Trade-offs
- Generating the intermediate image representation improves diversity across outputs.
- Photorealism and caption similarity remain close to the baseline, with only minimal loss.
## Image Variations and Zero-Shot Editing
- Decoders conditioned on image embeddings can produce variations that keep an image's semantics and style while changing non-essential details.
- The shared joint embedding space of CLIP allows language-guided manipulation of images without additional training for those edits.
## Prior Model Comparison
- Diffusion priors are more computationally efficient than autoregressive priors.
- Diffusion priors produce higher-quality samples.
The post introduces Codex, a GPT language model fine-tuned on publicly available GitHub code, and studies its ability to write Python. Codex solves 28.8% of problems on HumanEval, a new benchmark the authors released for generating programs from docstrings, compared with 11.4% for GPT-J and 0% for GPT-3. Repeated sampling raises the solve rate to 70.2% with 100 samples per problem, and the authors also flag limitations and broader safety, security, and economic implications.
## Model and Training
- Codex is a GPT language model fine-tuned on publicly available code from GitHub.
- A distinct production version of Codex powers GitHub Copilot.
## HumanEval Benchmark
- HumanEval is a new evaluation set released to measure functional correctness when synthesizing programs from docstrings.
- Codex solves 28.8% of the problems, versus 11.4% for GPT-J and 0% for GPT-3.
## Repeated Sampling
- Generating many samples per prompt is a surprisingly effective way to get working solutions to difficult problems.
- With 100 samples per problem, Codex solves 70.2% of the HumanEval problems.
## Limitations
- The model struggles with docstrings that describe long chains of operations.
- It also has difficulty binding operations to variables.
## Broader Impacts
- The authors discuss the potential effects of deploying powerful code generation technology, including safety, security, and economics.
A May 2025 update at the top of the post notes that OpenAI later launched Codex as a cloud-based software engineering agent that can work on many tasks in parallel.
Image GPT shows that a transformer trained on pixel sequences, using the same architecture as GPT-2 for language, can generate coherent image completions and samples without any human-labeled data. The authors show that generative quality tracks feature quality, and their best model's features compete with top unsupervised convolutional networks on classification benchmarks. The approach needs far more compute than contrastive methods, so the authors frame it as a proof of concept for domain-agnostic learning rather than a practical vision method.
## Motivation: Bridging the Gap Between Language and Vision
- Transformers such as BERT, GPT-2, RoBERTa, and T5 have set top results across language tasks, but the same class of models has not produced strong image classification features.
- Language tasks naturally appear inside text (questions followed by answers, passages followed by summaries), while pixel sequences carry no explicit labels.
- The authors rely on the "Analysis by Synthesis" idea: a model that learns to generate realistic images should also learn object categories.
## Image GPT (iGPT) Architecture and Training
- The authors use the GPT-2 transformer unchanged, feeding it images unrolled into pixel sequences, and deliberately avoid image-specific components such as convolutions, relative or sparse attention, and 2-D position embeddings.
- Three model sizes were trained on ImageNet: iGPT-S (76M parameters), iGPT-M (455M), and iGPT-L (1.4B). A 6.8B-parameter iGPT-XL was trained on ImageNet plus web images.
- Training used low resolutions (32x32, 48x48, 64x64) because dense attention over long sequences is expensive.
- A custom 9-bit color palette shortens the input sequence to one-third the length of a standard RGB encoding while preserving color.
## Evaluation Methods and Feature Behavior
- **Linear probe:** features are extracted from a frozen model, average-pooled over the sequence, and fed to logistic regression.
- **Full fine-tune:** the entire model is trained on the downstream dataset.
- Feature quality rises and then falls slightly with depth. The authors read this as two phases: early layers build contextual image features, and later layers serve next-pixel prediction. This resembles a bottleneck autoencoder.
- Larger models and longer training improve generative quality, which in turn improves feature quality.
## Results
- **Linear probes:** iGPT-L (32x32) reaches 96.3% on CIFAR-10, 82.8% on CIFAR-100, and 95.5% on STL-10, beating the best listed supervised and unsupervised transfer methods on those datasets.
- **ImageNet linear probe:** iGPT-L at 48x48 reaches 65.2% top-1, above AlexNet. Concatenating features from five layers of iGPT-XL reaches 72.0%, ahead of AMDIM, MoCo, and CPC v2 but behind SimCLR's 76.5%.
- **Full fine-tune:** iGPT-L matches GPipe at 99.0% on CIFAR-10 and scores 66.3% on ImageNet at 32x32.
- **BERT-style masked pixel training:** linear probe accuracy is notably worse, but fine-tuning results are strong.
- **Semi-supervised CIFAR-10:** a logistic regression on iGPT-L features, with no augmentation or fine-tuning, beats Mean Teacher and MixMatch but trails FixMatch.
## Limitations
- Compute cost is very high. iGPT-L took roughly 2,500 V100-days, while a similarly performing MoCo model needs about 70 V100-days.
- Transformers on low-resolution pixels lack the easy high-resolution scaling of convolutional encoders, so a new architecture may be needed.
- Generative models can absorb dataset biases. The authors give the example of a "scientist" concept skewed toward men.
## Conclusion
The authors argue that trading hand-coded 2-D image knowledge for scale, and taking features from middle layers, lets a plain sequence transformer compete with convolutional networks in unsupervised image classification. Given enough compute, they suggest, this simple and general approach could learn strong features in many domains. The paper positions the work as proof of concept, since the compute and resource costs keep it from practical vision applications today.
# Jukebox: Generating Raw Music Audio with Neural Nets
OpenAI introduces Jukebox, a neural network that generates music as raw audio, including rudimentary singing, in a range of genres and artist styles, given a genre, artist, and lyrics as input. The authors argue that modeling audio directly captures voices and timbres that symbolic (MIDI-style) generators miss, and they overcome the extreme sequence lengths of raw audio with a multi-level compression and transformer pipeline. The model is still slow and imperfect, but the release includes weights, code, and a sample explorer.
## Why Raw Audio Is Hard
- Symbolic approaches, such as piano rolls, have produced Bach chorales, multi-instrument pieces, and minute-long compositions, but they cannot represent human voices or subtle timbre and expressivity.
- A 4-minute CD-quality song (44 kHz, 16-bit) has over 10 million timesteps, compared with 1,000 for GPT-2, so the model must learn very long-range dependencies.
- Raw audio is unforgiving of timing errors at every scale, and the diversity of music adds further difficulty.
## Compressing Audio into Discrete Codes
- Jukebox uses a VQ-VAE, extending the VQ-VAE-2 architecture with three changes:
- **Random restarts** reset underused codebook vectors to encoded hidden states, which prevents codebook collapse.
- **Separate decoders** per level reconstruct the input from each level's codes, so the upper levels are actually used.
- **A spectral loss** penalizes differences between input and reconstructed spectrograms, helping the model reproduce high frequencies.
- Three levels compress 44 kHz audio by 8x, 32x, and 128x, each with a codebook of 2048 entries. The most compressed level keeps pitch, timbre, and volume, though the audio becomes noticeably noisy.
## Generating Codes with Transformers
- Three prior models learn the distribution of codes: a top-level prior captures long-range structure and melody (including singing), and two upsampling priors add local timbre and detail.
- Each prior is an autoregressive simplified Sparse Transformer with 72 layers of factorized self-attention over 8,192-code contexts, covering roughly 24 seconds (top), 6 seconds (middle), and 1.5 seconds (bottom) of audio.
- Generation runs top-down: sample top-level codes, upsample them, then decode to waveform with the VQ-VAE decoder.
## Dataset and Conditioning
- The team crawled about 1.2 million songs (600,000 in English), paired with lyrics and metadata (artist, genre, year, moods) from LyricWiki. Training used 32-bit, 44.1 kHz audio, with random left/right downmixing to mono as augmentation.
- **Artist and genre conditioning** reduces the entropy of predictions and lets users steer the style at generation time. An unsupervised t-SNE shows related artists and genres clustering together.
- **Lyrics conditioning** is difficult because lyrics are unaligned at the song level. The team first used a linear character-to-time heuristic, which fails for fast lyrics such as hip hop. They then extracted vocals with Spleeter and aligned words with NUS AutoLyricsAlign, and added encoder-decoder attention so the model learns a more precise alignment.
## Limitations
- Samples show local coherence, plausible chord progressions, and good solos, but they lack larger repeated structures such as choruses.
- Downsampling and upsampling introduce audible noise, which better VQ-VAE codes could reduce.
- Sampling is very slow, taking about 9 hours to render one minute of audio, so it is not yet suitable for interactive use. Distilling into a parallel sampler is a possible fix.
- Training covered mostly English lyrics and Western music.
## Future Directions and Reception
- The team is exploring conditioning on MIDI and stem files, which could improve musicality and give musicians more control.
- In a trial with 10 musicians, participants did not find Jukebox immediately useful for their creative process, given its current limitations.
- The authors are also studying bias and intellectual property issues and are seeking creative collaborators.
# GPT-2 1.5B Release: Concluding a Staged Release
OpenAI released the largest version of GPT-2 (1.5 billion parameters), along with code and model weights, to close out its nine-month staged release. The release aims to help researchers detect GPT-2 outputs and provide a test case for responsible publication of powerful language models. Their findings suggest that GPT-2's text is convincing to humans, can be fine-tuned for misuse, and is hard to detect, though they saw no strong evidence of misuse so far.
## Human Credibility of GPT-2 Output
- Researchers at Cornell University had people rate GPT-2 text for credibility on a 10-point scale.
- The 1.5B model scored 6.91, slightly above the 774M model (6.72) and well above the 355M model (6.07).
- The small gain over the 774M model made OpenAI more comfortable releasing the largest version.
## Misuse Through Fine-Tuning
- Researchers at the Middlebury Institute's CTEC fine-tuned GPT-2 on four ideologies: white supremacy, Marxism, jihadist Islamism, and anarchism.
- They showed that the models could generate synthetic propaganda for these ideologies.
- Detection methods had low accuracy on the synthetic outputs, but ML-based detection could still give experts reasonable suspicion that someone was generating synthetic text.
## Detection Challenges
- OpenAI built a classifier, based on RoBERTa, that detects about 95% of text generated by the 1.5B model.
- OpenAI considers this insufficient as a standalone solution and recommends pairing it with metadata-based approaches, human judgment, and public education.
- Detection accuracy depends heavily on the sampling methods used, and training across a range of sampling techniques makes detection more reliable.
- Larger models' outputs are harder to classify, and OpenAI expects detection to get harder as models grow.
- Releasing the detector may also help adversaries evade detection.
## No Strong Evidence of Misuse
- OpenAI has seen discussion of GPT-2 aiding spam and phishing, but no concrete evidence of such misuse.
- OpenAI expects misuse risk to rise as generators become more reliable and coherent.
- Motivated actors can replicate such models without public release, so OpenAI cannot anticipate every threat.
## Bias Evaluation
- Language models carry biases, and the field lacks standard methods for studying, discussing, and addressing them.
- OpenAI published a model card on GitHub, based on Mitchell et al.'s "Model Cards for Model Reporting," describing known issues with GPT-2.
- OpenAI ran a limited in-house probe for gender, race, and religious biases, and noted that these probes are not comprehensive.
## Next Steps
- OpenAI continues to work on responsible publication norms through the Partnership on AI's "Responsible Publication Norms for Machine Learning" project.
# Generative Modeling with Sparse Transformers
OpenAI's Sparse Transformer is a deep neural network that sets new benchmarks for predicting the next element in a sequence, whether text, images, or audio. By replacing standard self-attention with a sparse variant that scales as O(N√N) instead of O(N²), the model handles sequences roughly 30 times longer than previously feasible, reaching tens of thousands of elements across hundreds of layers. The authors position this as a step toward modeling the long-range, subtle dependencies that complex data like images and audio demand.
## Why Dense Attention Becomes a Bottleneck
- In Transformers, every output element attends to every input element, requiring an N×N attention matrix for each layer and attention head.
- For high-dimensional data, this memory cost grows quickly. A deep 64-layer, 4-head Transformer needs about 9.6 GB to store attention matrices for a 32×32 CIFAR-10 image, and about 154 GB for a 64×64 ImageNet image. Typical deep learning GPUs have 12–32 GB.
- Recomputing attention matrices from checkpoints during backpropagation keeps the dominant memory cost independent of depth, which allows training networks up to 128 layers deep. These deeper models outperformed shallower ones on benchmarks like CIFAR-10.
- Training at this depth required changes to the order of operations within the Transformer block and a modified initialization scheme.
## Sparse Attention Patterns
- Each output position attends only to a subset of input positions, ideally about √N elements instead of N, reducing complexity to O(N√N).
- Visualizing learned attention in deep image models showed many heads with structured, sparse patterns, though some layers attended across the whole image.
- To preserve global reach, the authors use a two-dimensional factorization in which any position can reach any other in two sparse steps:
- **Strided attention** has each position attend to its row and column, suited to images.
- **Fixed attention** attends to a fixed set of column positions and all later elements, suited to data without a 2D structure, such as text.
## Results
- **CIFAR-10 (bits per dim):** The 59M-parameter Sparse Transformer reached 2.80, beating PixelCNN++ (2.92), Image Transformer (2.90), and PixelSNAIL (2.85).
- **Enwik8 (bits per byte):** The 95M-parameter model reached 0.99, matching the 277M-parameter Transformer-XL and outperforming the 88M version (1.03).
- **ImageNet 64×64 (bits per dim):** The 152M-parameter model reached 3.44, improving on SPN 150M (3.52) and Gated PixelCNN (3.57).
- Sparse attention also achieved lower loss than full attention while running significantly faster, which the authors suggest may reflect a useful inductive bias or an optimization issue with dense attention.
## Generation Capabilities
- **Images:** Models trained on 64×64 ImageNet produce completions that show coherent global structure. Unconditional samples at temperature 1.0 reflect the full learned distribution, so some look unusual.
- **Raw audio:** By changing the position embeddings, the same architecture generates raw waveforms. The model produced 65,000-sample sequences, about 5 seconds of classical music.
- **Open-source kernels:** The team released block-sparse GPU kernels and example sparse attention functions, since implementing sparse attention by slicing query and key matrices is otherwise cumbersome.
## Limitations and Future Directions
- The attention patterns introduced are preliminary. The authors see learned sparsity patterns as a promising direction for future architectures.
- Autoregressive generation remains impractical for very high-resolution images or video. The optimized attention primitives may still be useful when combined with multi-scale approaches.
# Energy-based Models: Sampling Through Iterative Refinement
OpenAI's research on energy-based models (EBMs) argues that they can match GAN-level sample quality at low temperatures while keeping the mode coverage of likelihood-based models. The approach generates samples implicitly through iterative refinement, which trades extra compute for better outputs. The authors also report better out-of-distribution generalization and adversarial robustness than comparable likelihood models, and they present early evidence that EBMs compose well.
## How Energy-based Models Work
- EBMs assign an unnormalized probability scalar (an "energy") to each input, so any model that outputs a real number can serve as an energy function.
- Sampling is the hard part. Samples are produced with Langevin dynamics, which performs noisy gradient descent on the energy function to reach low-energy configurations.
- Unlike GANs, VAEs, and flow-based models, EBMs need no separate generator network. Samples are generated implicitly.
## Key Advantages
- **Adaptive computation time:** Running refinement longer yields sharper, more diverse samples, while shorter runs give coarser, less diverse ones. In the limit of infinite steps, the procedure theoretically produces true samples from the model.
- **No generator bottleneck:** VAEs and flow-based models must map a continuous space onto possibly disconnected data modes, which demands large capacity. EBMs can assign low energy to disjoint regions directly.
- **Built-in compositionality:** Because each model defines an unnormalized distribution, models can be combined through a product of experts or other hierarchical structures.
## Generation Results
- With longer test-time refinement, EBMs produce high-quality images. Iterative optimization enables image auto-completion and morphing between classes, such as truck to frog.
- On robot dynamics, EBMs generate stable trajectories over many timesteps and produce diverse possible futures, whereas feedforward models collapse to a mean prediction.
## Generalization Results
- On several out-of-distribution datasets, EBMs outperform other likelihood models, including flow-based and autoregressive models.
- Conditional EBMs generalize well to adversarial perturbations. Despite never being trained for classification, they outperform models explicitly trained against adversarial examples.
## Lessons from Training
- Vanilla HMC is hard to apply because optimal step sizes and leapfrog step counts shift considerably during training. Adaptive HMC is suggested as future work.
- Ensembles of energy functions helped slightly but did not justify the added complexity.
- A gradient penalty term hurt model capacity and sampling quality.
- The authors caution that these observations are tentative. More details appear in Section A.8 of the paper.
## Compositionality Experiments
- One model was trained on shapes of varying sizes at a fixed position, and another on fixed-size shapes at varying positions.
- Combining them via a product of experts produced shapes of different sizes at different locations, even though the model never saw examples of both variations together.
Invertible generative models map points from a simple distribution to a complex one, but likelihood-based training usually forces restrictive architectures so that Jacobian determinants stay cheap to compute. This paper, FFJORD, sidesteps that constraint by defining the transformation as an ordinary differential equation and using Hutchinson's trace estimator to get a scalable, unbiased estimate of the log-density. The result is a continuous-time invertible model that allows unrestricted neural network architectures, and it achieves state-of-the-art performance among exact likelihood methods that also sample efficiently.
## The Restriction on Architectures
- Likelihood-based training of invertible generative models needs cheap Jacobian determinants.
- Meeting that requirement typically limits which network architectures can be used.
## Continuous-Time Dynamics and the Trace
- When the transformation is specified by an ODE, the relevant quantity is the Jacobian trace rather than the determinant.
- The trace is cheaper to handle, which opens the door to free-form network designs.
## Hutchinson's Estimator for Scalable Density Estimation
- Hutchinson's trace estimator provides a scalable, unbiased estimate of the log-density.
- The approach yields unbiased density estimation and one-pass sampling in a continuous-time invertible generative model.
## Experimental Results
- The method is evaluated on high-dimensional density estimation, image generation, and variational inference.
- It reaches state-of-the-art results among exact likelihood methods that support efficient sampling.
# Glow: Reversible Generative Models with Invertible 1x1 Convolutions
Glow is a reversible, flow-based generative model that simplifies the earlier RealNVP architecture by replacing fixed channel permutations with learned invertible 1x1 convolutions. The change yields significant log-likelihood gains on standard benchmarks while producing realistic high-resolution images and supporting efficient sampling. The authors argue that flow-based models, despite receiving far less attention than GANs and VAEs, offer exact inference, parallel synthesis, and a useful latent space for manipulating data.
## Why Flow-Based Models Are Worth Considering
Generative models learn the structure of a dataset so they can produce outputs that resemble it, with applications in speech synthesis, text analysis, semi-supervised learning, and model-based control. Flow-based models, an extension of NICE and RealNVP, offer several advantages over alternatives:
- **Exact inference and likelihood:** VAEs only approximate latent variables, and GANs have no encoder at all. Reversible models compute latents exactly and optimize the true log-likelihood rather than a lower bound.
- **Efficient inference and synthesis:** Autoregressive models like PixelCNN are reversible but hard to parallelize for sampling. Flow-based models parallelize well for both directions.
- **Useful latent spaces:** Reversible models and VAEs allow interpolation and meaningful edits of existing datapoints, which GANs and autoregressive models make difficult.
- **Memory savings:** Gradients in reversible networks need memory constant in depth rather than linear, per the RevNet work.
## Benchmark Results
Glow improves on RealNVP, the previous best flow-based result, on most benchmarks, measured in bits per dimension (lower is better):
- CIFAR-10: 3.49 (RealNVP) vs. 3.55 (Glow), a slight regression
- ImageNet 32x32: 4.28 vs. 4.09
- ImageNet 64x64: 3.98 vs. 3.81
- LSUN bedroom: 2.72 vs. 2.38
- LSUN tower: 2.81 vs. 2.46
- LSUN church outdoor: 3.08 vs. 2.67
Sampling a 256x256 image takes about 130ms on an NVIDIA 1080 Ti. Sampling from a reduced-temperature model (scaling latent standard deviation by 0.7) gives higher-quality samples.
## Latent Space Applications
- **Interpolation:** Encoding two real face images and sampling intermediate points produces smooth transitions. Because the inputs are arbitrary faces rather than model samples, this suggests the model covers the full target distribution.
- **Attribute manipulation:** The model trains without labels. Afterward, averaging latent encodings of inputs with and without an attribute (such as blonde hair) yields a direction vector that can shift new inputs toward that attribute. This needs only a small labeled set and no retraining, unlike GAN-based or Cycle-GAN approaches.
## Architectural Changes from RealNVP
RealNVP alternates checkerboard-masked layers with channel-wise masked layers. Glow removes the checkerboard layers and changes the channel-wise layers in two ways:
- **Learned 1x1 convolutions replace fixed permutations.** RealNVP's channel-wise coupling splits inputs into halves that update each other in a rigid bipartite pattern. Replacing the fixed reversal with a fixed shuffle improved performance, and learning the permutation improved it further. Since a permutation is a square linear transformation, it can be expressed as a 1x1 convolution and optimized with gradient descent. The weights start as a random rotation matrix and are efficiently computed via LU decomposition.
- **Activation normalization replaces batch normalization.** This layer applies a learned per-channel shift and scale, initialized from a first minibatch. It allows a minibatch size of 1 for large images and lets the model scale up.
## Scaling Up
Gradient checkpointing and other optimizations make training feasible at larger scale. The demo model was trained with Horovod across 5 machines of 8 GPUs each and has over 100 million parameters.
## Open Directions
The authors identify two areas for future work:
- **Likelihood competitiveness:** Autoregressive models and VAEs still score better on log-likelihood, but they sacrifice efficient sampling and exact inference, respectively. Combining these model families could capture the strengths of each.
- **Efficiency:** The face model uses roughly 200M parameters and about 600 convolution layers, which is expensive to train. Shallower models learn long-range dependencies poorly, so self-attention or progressive training could reduce compute cost.
Code and the paper are available on GitHub for anyone who wants to build on the work.
Deep learning-based robotic grasping models are often trained on only hundreds or thousands of object instances, which limits how well they generalize. This work addresses that by applying domain randomization to object synthesis: a network trained on millions of unrealistic, procedurally generated objects can grasp real and unseen objects in both simulation and the real world. The authors pair this data pipeline with an autoregressive grasp planner that handles the multimodal distribution of successful grasps.
### Procedurally Generated Training Data
- Millions of unique objects are generated procedurally, and they are deliberately unrealistic.
- The approach borrows the idea of domain randomization, varying the training data widely so that the model does not overfit to a narrow set of object appearances and shapes.
### Autoregressive Grasp Planning
- Successful grasps for a single object can fall into several distinct modes, so a single best-guess grasp is often insufficient.
- The model takes sensor inputs of a scene and outputs a probability distribution over possible grasps rather than a single grasp.
- Because the output is a distribution, grasps can be sampled efficiently at test time, or sampling can be avoided entirely.
### Results
- In simulation, the model achieves over 90% grasp success on previously unseen realistic objects, even though it was trained only on random objects.
- On real-world grasp attempts, it achieves about 80% success, again without any training on realistic objects or real-world data.
The main takeaway is that training on large volumes of randomized synthetic objects can transfer to realistic objects in simulation and to physical robots, which suggests that object diversity may matter more than object realism for grasping generalization.
This paper introduces a method for learning the dynamics of complex nonlinear systems using deep generative models over temporal segments of states and actions rather than single timesteps. The approach combines convolutional autoregressive models with variational autoencoders to produce stable, accurate long-horizon predictions for stochastic systems. The learned model and action prior support end-to-end, differentiable trajectory optimization and model-based policy optimization, and the authors evaluate both performance and sample efficiency.
## Segment-level Dynamics Modeling
- Traditional dynamics models predict one discrete timestep at a time.
- This method instead learns a distribution over future state trajectories.
- Predictions are conditioned on past states, past actions, and planned future action trajectories.
- A latent prior over action trajectories is learned alongside the dynamics model.
## Architecture
- The model is built on convolutional autoregressive models.
- Variational autoencoders provide the generative framework.
- The design is intended to handle complex, stochastic systems.
## Modeled Phenomena and Prediction Quality
- Predictions remain stable and accurate over long horizons.
- The model expresses uncertainty explicitly.
- It captures collisions, sensory noise, and action delays.
## Applications in Control
- The learned dynamics model and action prior can be used for end-to-end, fully differentiable trajectory optimization.
- The same components support model-based policy optimization.
- The authors use these applications to evaluate both the performance and sample efficiency of the method.
PixelCNN++ presents a modified implementation of PixelCNN, a class of generative models with tractable likelihood. The changes simplify the model's structure and improve its performance. The authors demonstrate the benefits with state-of-the-art log-likelihood results on CIFAR-10.
### Modeling the Pixel Output
- The model replaces the original 256-way softmax over pixel values with a discretized logistic mixture likelihood.
- This change speeds up training.
### Simplifying the Input Conditioning
- The model conditions on whole pixels rather than individual R/G/B sub-pixels.
- This removes complexity from the model structure.
### Capturing Structure Across Scales and Speeding Optimization
- Downsampling captures structure at multiple resolutions efficiently.
- Additional short-cut connections further accelerate optimization.
### Regularization
- Dropout regularizes the model.
### Results on CIFAR-10
- The modified model achieves state-of-the-art log-likelihood on CIFAR-10.
- The authors make their implementation publicly available.