TL;DR
InstantFusion introduces a lightweight, shared latent interface that allows heterogeneous image generators (like SD3, FLUX, and Qwen-Image) to exchange intermediate denoising states. By aligning both latent representations and denoising dynamics, it enables seamless "model handoffs" mid-generation, facilitating significant speedups, multi-preference blending, and cross-architecture knowledge transfer without retraining the base models.
What Problem Does This Paper Address?
The current landscape of text-to-image generation is a "walled garden" of heterogeneous models. While diffusion and flow-based models like Stable Diffusion 3 (SD3), FLUX.1, and Qwen-Image are all state-of-the-art, they are architecturally isolated. They use different latent dimensions, tokenization schemes, and denoising trajectories.
This isolation creates a practical bottleneck: you cannot easily combine the strengths of different models. For instance, you might want the lightning-fast generation of a small "turbo" model for the initial layout but the high-fidelity detail of a massive transformer model for the final steps. Previously, "trajectory stitching" only worked if models shared the exact same latent space. The authors of InstantFusion ask: Can we build a universal "plug" that lets these diverse models talk to each other?
Methods
The core of the paper is the Latent AutoEncoder (LAE). Instead of training a direct mapping between every possible pair of models (which doesn't scale), the authors equip each frozen generator with a small, model-specific LAE.
1. The Shared Latent Space
Each LAE encoder projects a model's intermediate state into a shared latent space, and the corresponding decoder maps it back to the target model's native space. This architecture is shown in the overview below:
2. Three-Pronged Training Objective
To make this interface work, the authors optimize the LAEs using three critical losses:
- Reconstruction ($\mathcal{L}_{rec}$): Ensures the LAE preserves all necessary information to continue denoising.
- State Alignment ($\mathcal{L}_{align}$): Forces intermediate states from different models (representing the same image at the same noise level) to map to the same point in the shared space.
- Dynamics Alignment ($\mathcal{L}_{dyn}$): This is the "secret sauce." The authors observed that even if states are aligned, their "velocities" (where the model wants to go in the next step) might differ. $\mathcal{L}_{dyn}$ synchronizes these denoising trajectories to prevent visual artifacts during handoffs.
3. Adaptive Model Handoff
Rather than switching models at a fixed step, InstantFusion uses an adaptive criterion. It monitors the stability of the "predicted clean image" ($x_0$). Once the global structure of the image has stabilized (usually early in the process), the interface triggers the handoff to the receiver model.
Datasets
- Training: The LAEs were trained on 50,000 image-text pairs from the VisPrompt dataset.
- Evaluation: The authors used a suite of rigorous benchmarks:
- GenEval-v2: For instruction adherence.
- CVTG-2K: For text-rendering accuracy.
- HPSv2 & HPSv3: For human aesthetic preference.
- OneIG-Bench: A comprehensive metric covering alignment, diversity, and reasoning.
Key Insights and Ideas
- Inherent Compatibility: The authors discovered that independently trained models naturally exhibit similar spatial self-similarity patterns in their latents. Even a "naive" handoff (without any alignment) preserves the coarse layout of an image, though it introduces heavy artifacts.
- Dynamics are Non-Negotiable: Simply aligning the latent states isn't enough for high-quality transfer. As shown in Figure 4, without explicit velocity alignment ($\mathcal{L}_{dyn}$), the denoising directions of different models remain divergent, leading to training instability and poor generation.
- Scalability: Because the interface uses a central shared space, adding a new model to the ecosystem only requires training one new LAE, rather than $N$ new mappings for $N$ existing models.
Key Results
- Generation Acceleration: By starting with a fast model (like Z-Image-Turbo) and handing off to Qwen-Image, they achieved a 1.8–3.3× speedup (reducing inference from ~18.8s to ~4.4s) while maintaining or even improving quality.
- Capability Composition: Composing Qwen-Image (strong at semantics) with SD3 or FLUX improved GenEval-v2 scores by 13 points over the base models.
- Multi-Preference Blending: InstantFusion can combine models specialized for different rewards (e.g., one for aesthetics, one for prompt following) to produce an output that excels in both, outperforming standard "velocity fusion" techniques.
- Lightweight Overhead: Each LAE is tiny (~1.5M parameters), adding negligible computational cost compared to the massive generator backbones.
Limitations and Future Work
- Shared VAE Requirement: Currently, the method assumes all participating models use the same frozen Variational AutoEncoder (VAE). Extending this to models with different VAEs is a key next step.
- Memory Footprint: To perform a handoff, both the "sender" and "receiver" model backbones must be hosted, which increases GPU memory requirements.
- Dynamic Loading: The authors suggest that future work could optimize performance by dynamically loading and offloading model weights during the generation process.
Summary updated