Speridlabs' Iris-3B Generates Megapixel Images Without a VAE
Speridlabs released a 3B pixel-space diffusion transformer that skips the VAE entirely, generating 1024px images and doubling as a depth and restoration backbone.
Takeaways
- Iris-3B is a 3B pixel-space text-to-image diffusion transformer released under Apache 2.0 by Speridlabs.
- It generates every pixel directly through a PiT head, with no VAE or latent compression in the loop.
- Scores 0.798 GenEval and 86.52 DPG at 1024px, matching Qwen-Image on OneIG-EN.
- Same backbone fine-tunes into a monocular depth model and a 4x image restoration upscaler.
- Honest negative result: pixel-space prior does not beat latent FLUX.2 Klein on depth or restoration.
- Weights, code, paper, and Hugging Face demo all public; community ComfyUI and Turbo variants already shipping.
Most modern image generators compress pictures into a small latent grid, run diffusion or flow matching on that grid, and use a variational autoencoder to reconstruct the pixels. Speridlabs’ Iris-3B removes that compression stage and generates raw RGB pixels through patch tokens at resolutions up to roughly one megapixel.
Released under Apache 2.0, Iris-3B includes weights, code, a demo, and documentation through its project page and model files. The 3-billion-parameter backbone supports text-to-image generation, monocular depth estimation, and 4x image restoration. Its most useful research result is a negative one: under the reported training budget, the pixel-space model did not outperform a latent baseline on the downstream vision tasks.
Why pixels change the compute bill
A VAE reduces an image to a compact latent representation before generation begins. That compression lowers the number of values the generative model must process, while the decoder handles the final conversion to RGB. Compression can also discard fine spatial information or introduce artifacts in textures, edges, and skin.
Iris tests whether direct RGB prediction can produce a richer visual prior for detail-sensitive tasks such as depth estimation and restoration. The model still groups pixels into 16 by 16 patches, so it does not process every pixel as an independent transformer token. At 1024 by 1024 resolution, the image becomes a 64 by 64 grid containing 4,096 patch tokens.
Pixel-space training carries a substantial compute cost because those tokens must preserve enough information to reconstruct every RGB value. Latent models operate on smaller spatial grids, which has made them the practical default for high-resolution generation. Iris-3B tests how far a direct-pixel design can scale with a 3B-parameter transformer.
Inside the patch pipeline
| Component | Design |
|---|---|
| Image input and output | Raw RGB divided into 16 by 16 pixel patches |
| Transformer trunk | 8 dual-stream blocks followed by 16 single-stream blocks |
| Text encoder | Frozen Qwen3-VL-4B |
| Pixel decoder | A small pixel-transformer, or PiT, head that reconstructs each RGB patch |
| Position encoding | 2D rotary position embeddings for varied resolutions and aspect ratios |
| Maximum native output | Approximately one megapixel |
The dual-stream blocks process text and image representations with separate weights before the single-stream blocks combine them, following an architecture used by systems such as FLUX and Stable Diffusion 3. The PiT head then converts each final patch representation into a 16 by 16 block of RGB values.
Two-dimensional rotary position embeddings, commonly called 2D RoPE, encode each patch’s horizontal and vertical location. This allows one set of model weights to handle multiple aspect ratios and resolutions within the supported pixel budget.
A curriculum from 256 to 1024 pixels
Speridlabs trained Iris-3B from scratch with rectified flow, a flow-matching method that learns how to move samples from noise toward images. The resolution curriculum progresses through 256, 512, and 1024 pixels, followed by supervised fine-tuning at 1024 pixels. The complete schedule covers 665,000 steps.
Default inference uses a classifier-free guidance scale of 3 and 100 denoising steps. Classifier-free guidance increases the influence of the prompt during sampling, while the step count controls how many updates transform the initial noise into an image.
- Base generator: 3B parameters with a frozen 4B text encoder.
- Depth checkpoint: Relative log-depth regression fine-tuned for 10,000 steps.
- Restoration checkpoint: One-step adversarial restoration trained for 10,000 steps with the HYPIR recipe and exponential moving average weights.
- Checkpoint storage: About 12 GB for text-to-image generation, plus roughly 12 GB each for depth and restoration.
Run it locally
The official setup requires Python 3.11 or newer, PyTorch 2.7.1 or newer, and an NVIDIA GPU. Installation uses the GitHub repository, and the Qwen3-VL-4B text encoder downloads automatically when text-to-image generation first runs.
git clone https://github.com/speridlabs/iris-3b.git
cd iris-3b
pip install -e .
hf download speridlabs/iris-3b --local-dir iris-3b --exclude "depth/*" "upscaler/*"
python scripts/sample.py --checkpoint iris-3b \
--prompt "a red fox sleeping in fresh snow, golden hour"
The published requirements do not specify a universal minimum VRAM figure. Peak memory depends on resolution, precision, attention implementation, and whether the 4B text encoder remains loaded. Checkpoint size alone therefore does not describe total runtime memory.
Depth estimation and upscaling use the full model in one forward pass with an empty prompt, allowing those modes to run without the text encoder. Community additions include ComfyUI nodes, unofficial BF16 and INT8 repacks of about 6 GB and 3.4 GB, and a distilled Iris-3B Turbo variant that samples in four steps.
Scores at 1024 pixels
Iris-3B was evaluated at 1024-pixel resolution without prompt rewriting. Higher values indicate better results for the four text-to-image benchmarks listed below.
| Benchmark | Score |
|---|---|
| GenEval | 0.798 |
| DPG | 86.52 |
| LongText | 0.857 |
| OneIG | 0.540 |
On the English-language OneIG subset, Iris-3B matches Qwen-Image. The reported results place it among competitive models in its parameter range, although each benchmark measures a limited set of capabilities such as prompt alignment, composition, or long-prompt handling.
The task-specific checkpoints were evaluated separately with metrics appropriate to depth and restoration.
| Task | Evaluation | Result |
|---|---|---|
| Monocular depth | Marigold V2 zero-shot protocol across NYUv2, KITTI, ETH3D, ScanNet, and DIODE | AbsRel 0.071; δ1 0.946 |
| 4x restoration | DIV2K validation | LPIPS 0.292; PSNR 20.68 |
Lower values are better for AbsRel and LPIPS, while higher values are better for δ1 and PSNR. These figures describe different tasks and should be compared only with results produced under matching evaluation protocols.
Transfer falls short of the hypothesis
The paper compares Iris-3B with the original latent-space FLUX.2 Klein and a version of FLUX.2 Klein converted to operate in pixel space. These experiments directly test the claim that removing latent compression improves transfer to tasks where fine detail matters.
- Depth estimation: Iris-3B performs roughly level with latent FLUX.2 Klein, while the converted pixel-space model trails it.
- Image restoration: The converted pixel-space model performs worse on most reported metrics, with the clearest gaps in SSIM and NIQE.
- Output artifacts: The authors report a patch-grid artifact in pixel-space depth predictions.
- Experimental limits: Each comparison used a single run, a short training budget, and no hyperparameter sweep.
“Neither pixel-space model clearly improves on the latent one,” the authors write about the depth comparison. Under the tested conditions, removing the VAE did not provide the expected improvement in downstream transfer. The limited run count and tuning budget leave room for different architectures or larger training schedules to produce another result.
Where Iris-3B fits
| Area | Practical assessment |
|---|---|
| Detailed image generation | Release examples emphasize portraits, textured materials, and lighting-heavy scenes. |
| Text and counting | The model card flags embedded text and precise object counts as unreliable. |
| Large-format output | Native generation is capped at roughly one megapixel, so larger images require restoration or external upscaling. |
| Depth and restoration | The supplied checkpoints are usable, but the reported comparisons show no advantage over the tested latent baselines. |
| Research and modification | Apache 2.0 licensing, open weights, and published code make the architecture available for adaptation and controlled experiments. |
An open reference with a useful limit
Iris-3B gives developers a complete reference for direct-pixel generation at a scale large enough to produce megapixel images. Its architecture, training curriculum, task checkpoints, and permissive license make it suitable for experiments involving alternative pixel heads, training budgets, patch sizes, and downstream fine-tuning strategies.
The reported comparisons also narrow the case for abandoning latent diffusion. At 3B parameters and within this training budget, pixel-space generation works, yet the richer downstream representation predicted by the design does not appear. Teams evaluating a VAE-free pipeline should budget for its higher compute requirements without assuming an automatic gain in sharpness, depth quality, or restoration accuracy.