LapFlow: Laplacian Multi-scale Flow Matching for Generative Modeling

Zelin Zhao, Petr Molodyk, Haotian Xue, Yongxin Chen

Overview

LapFlow is a novel generative framework that merges multi-scale Laplacian pyramids with flow matching to generate high-resolution images efficiently. By utilizing a "Mixture-of-Transformers" (MoT) architecture equipped with causal attention, LapFlow generates different image scales in parallel. This approach achieves superior image quality and faster inference speeds compared to standard single-scale models, effectively scaling to 1024x1024 resolutions without the typical computational bottlenecks.

The Challenge of High-Resolution Generation

Generating high-resolution images imposes massive computational and memory demands on modern generative models. Standard architectures, such as the Diffusion Transformer (DiT), typically process the entire image at full resolution, leading to exhaustive resource requirements.

While "multi-scale" or "cascaded" approaches exist to mitigate this, they introduce their own complications:

  1. Architectural Complexity: Cascaded models often require training and maintaining separate neural networks for every resolution level.
  2. Efficiency Gaps: Many models require "renoising" or complex bridging processes to transition from a low-resolution output to a high-resolution input, slowing down inference.
  3. Hierarchical Consistency: Ensuring that fine, high-frequency details (like skin texture) align perfectly with global, low-frequency structures (like face shape) across different scales remains a persistent challenge.

The LapFlow Approach

The authors introduce LapFlow, which reimagines the generation process through several key innovations designed to process multiple scales simultaneously rather than sequentially.

Laplacian Decomposition and Progressive Sampling

Instead of simply downsampling images, LapFlow decomposes them into a Laplacian pyramid. This represents an image as a series of "residuals"—the difference between a specific resolution level and its upsampled, coarser version. This allows the model to focus exclusively on the unique details added at each scale.

During sampling, the model progressively adds scales into the ODE integration. It starts with just the coarse representation and ends with all scales active, significantly reducing the time-weighted computational cost.

LapFlow progressive sampling process

Mixture-of-Transformers (MoT) with Causal Attention

Rather than using separate models for different resolutions, LapFlow employs a single unified transformer. It uses scale-specific "experts" (specialized layers for each resolution) while sharing a global multi-head self-attention mechanism.

To ensure hierarchical consistency, the authors introduce a causal mask in the attention layers. This forces "finer" tokens to attend to "coarser" tokens, ensuring that high-frequency details are always conditioned on the established global structure, but not vice versa. Ablation studies confirm that this unidirectional flow of information is vital for global consistency.

Mixture-of-Transformers architecture

Experimental Setup

The model was evaluated on two standard benchmarks:

  • CelebA-HQ: Used for unconditional face generation at 256x256, 512x512, and 1024x1024 resolutions.
  • ImageNet: Used for class-conditional generation at 256x256 resolution.

The authors also highlight the use of EQVAE, a specialized Variational Autoencoder that provides more consistent latent representations across different scales compared to the standard SDVAE. EQVAE’s equivariant properties help the model maintain semantic meaning as it moves between resolutions.

Key Results

  • Superior Quality: On CelebA-HQ (256x256), LapFlow achieved an FID of 3.53, significantly outperforming the Latent Flow Matching (LFM) baseline of 5.26.
  • Faster & Leaner Inference: Despite the multi-scale complexity, LapFlow is faster. At 256x256, it required only 16.5 GFLOPs and 1.51 seconds per image, compared to LFM’s 22.1 GFLOPs and 1.70 seconds.
  • High-Resolution Scaling: The performance gap widens at higher resolutions. At 1024x1024, LapFlow maintained an FID of 5.51, while the single-scale LFM baseline trailed at 8.12.
  • ImageNet Performance: For class-conditional generation (DiT-XL/2), LapFlow achieved a state-of-the-art FID of 14.38 (at 600k steps), beating both the standard DiT and Pyramidal Flow.

Limitations and Future Work

While highly efficient, LapFlow has a few limitations:

  • VAE Bottlenecks: The model's output is inherently limited by the underlying VAE architecture. If the VAE cannot reconstruct fine details well, LapFlow cannot generate them.
  • Memory Overhead: Although computationally efficient in terms of FLOPs, the MoT design requires storing scale-specific weights, which increases the model's memory footprint during training.

Future work will likely explore more aggressive parameter-sharing techniques across scales to reduce model size, as well as extending the framework to more complex tasks like text-to-image synthesis and inpainting.

Summary updated

BibTeX
@inproceedings{zhao2026lapflow,
  author = {Zelin Zhao and Petr Molodyk and Haotian Xue and Yongxin Chen},
  title = {{LapFlow: Laplacian Multi-scale Flow Matching for Generative Modeling}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=kdrc4o6okz},
}
Figure