GenFirst: ByteDance's End-to-End Latent Image Model, Explained
GenFirst is an open-weight ByteDance Seed text-to-image model that jointly trains a latent VAE and a diffusion prior without latent collapse. This guide covers its two-phase training schedule, released checkpoints, gFID and GenEval results, licence restrictions, setup requirements and known limitations.
View 2 referencesAllow the functional cookie to save your likes. Privacy details
What is GenFirst?
GenFirst is an open-weight text-to-image model from ByteDance Seed that trains a latent VAE jointly with a generative prior without the latent collapse that usually destabilizes end-to-end training. Its paper is titled "Generation Before Reconstruction for Stable End-to-End Latent Generative Modeling," released in 2026.
The core idea is a two-phase schedule over the prior and entropy weights: first let the generative prior shape the latent geometry, then reduce both weights tenfold so the decoder recovers fine detail. The result is a latent space that a diffusion prior fits well while still functioning as a good autoencoder.
Why does GenFirst matter?
Training a VAE and a diffusion prior together normally causes latent collapse: the prior dominates, the decoder loses detail, and different images compress into nearly identical codes. GenFirst addresses that failure mode directly, so researchers can study end-to-end latent models rather than training a VAE and freezing it before prior training.
The release is research-oriented rather than a consumer product. ByteDance published the EiT (diffusion-prior) instantiation; the autoregressive EAR variant described in the paper is not released. Weights are licensed CC BY-NC 4.0, restricting use to non-commercial research.
How does the two-phase training schedule work?
In the end-to-end stage, GenFirst uses a high prior and entropy weight for roughly 400,000 steps, then drops both weights tenfold for about 200,000 steps so the decoder restores detail. The global batch is 256, and an optional 10,000-step decoder-only finetune can improve unguided gFID by around 0.2.
After that, a prior-only stage freezes the VAE, caches its latents and trains the prior being evaluated for 4 million steps at 256 resolution or 2 million steps at 512 resolution. Text-to-image follows the same structure, using an MMDiT-L/2 prior in the end-to-end stage and releasing an MMDiT-XL/2 prior trained on the frozen VAE.
What checkpoints does GenFirst release?
Two kinds of artifact are published and must be used together. The first is end-to-end VAEs: encoder and decoder pairs, each shipped with its own latent normalization statistics. The second is generative priors: SiT models for class-conditional generation and MMDiT models for text-to-image, all trained on a frozen VAE from the end-to-end stage.
The class-conditional priors take a single integer label in the range 0 to 999 and have no text input. Text-to-image priors use a frozen CLIP-L text encoder and a frozen end-to-end FLUX VAE at 512 by 512 pixels. ByteDance also released shared visual-latent and joint text-image variants in the same repository.
How good are GenFirst's benchmark results?
On class-conditional ImageNet generation at 256 by 256, the EiT 800-epoch checkpoint reaches 1.45 unguided gFID and 0.969 guided gFID with the f16d32 VAE. At 512 by 512, the 400-epoch checkpoint reaches 1.23 guided gFID, reusing the 256 VAE unchanged and frozen.
For text-to-image, the EiT MMDiT-XL/2 variant A scores 0.8987 on GenEval and 82.60 on DPG-Bench at 512 resolution. A shared-visual-latents variant using SigLIP supervision reaches 0.90 GenEval and 83.76 DPG-Bench. Evaluation uses 50-step Euler sampling, CFG 7.0 and no prompt rewriting.
What are the architecture details?
GenFirst is a latent diffusion system using flow matching and stochastic interpolants. Its SiT-XL and MMDiT-XL priors have 28 blocks, width 1152 and 16 attention heads, roughly 675 million parameters. Weights are released in fp32 and sampling was tested in bf16, with PyTorch as the framework.
The class-conditional model follows standard 1000-class ImageNet label ordering. Because the priors are trained on a frozen VAE, the VAE and its latent statistics form a fixed pair; swapping statistics does not merely degrade quality but can produce pure noise.
How do I run GenFirst locally?
GenFirst is not a drop-in diffusers pipeline and has no from_pretrained entry point. The artifacts are raw .pt checkpoints, so you must clone ByteDance's training repository, install its dependencies and run its sampling scripts. The model card points to an arXiv paper, a GitHub repository and a project page.
Memory guidance from model catalogs lists roughly 672 MB of weights in BF16 but about 5 GB of working memory for a single 1024-square image, with an RTX 3060 12 GB cited as the smallest fitting card. Reportedly the checkpoints are pickle files, so load them only from trusted sources and use safe torch settings.
What are the licence and safety limits?
| Dimension | GenFirst term |
|---|---|
| Weights | CC BY-NC 4.0, non-commercial research only |
| Code | MIT licence on the GitHub repository |
| Upstream data | CC BY-NC-SA 4.0 and other non-commercial terms |
| Intended use | Reproducing paper results, latent-space research, non-commercial baselines |
Bottom line: code being MIT does not make the package commercially usable, because the weights and several upstream components are non-commercial.
FAQ
This FAQ answers common questions about GenFirst, including whether businesses can use it, if it loads through diffusers and what latent collapse means. Answers reflect the ByteDance Seed model card, whose non-commercial licence is the main constraint for adopters in practice.
Is GenFirst a product I can use in a business?
No. The weights are CC BY-NC 4.0 and the model card explicitly places commercial use out of scope. It is intended for reproducing the paper, researching end-to-end VAE and prior training, and as a research baseline.
Can I load GenFirst with diffusers?
Not directly. The release provides raw .pt checkpoints and sampling scripts, not a diffusers pipeline. You need the authors' repository and must keep each VAE paired with its latent statistics.
What is latent collapse?
It is a failure where a jointly trained generative prior dominates the latent space, driving encoder variance toward zero so distinct images map to nearly the same code and the decoder cannot recover detail. GenFirst's weight schedule is designed to avoid it.
Limitations and scope
The model card notes that text rendering, hands and fine structure remain unreliable, and that long or counting-heavy prompts degrade. It ships no safety filter, watermarking or content classifier, so downstream deployment must add those controls. Figures above are from ByteDance's model card dated 2026 and are not independently audited here.