Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Principle:Deepseek ai Janus Noise Initialization

From Leeroopedia


Knowledge Sources
Domains Image_Generation, Diffusion_Models
Last Updated 2026-02-10 09:30 GMT

Overview

A step that initializes Gaussian noise in the VAE latent space as the starting point for the rectified flow ODE solver.

Description

In rectified flow generation, images are produced by solving an ordinary differential equation (ODE) that transports samples from a Gaussian noise distribution to the data distribution. The noise initialization step samples the starting point for this ODE from a standard Gaussian distribution in the latent space of the SDXL VAE.

The latent space has 4 channels at a spatial resolution of 48×48 (for 384×384 output images with the SDXL VAE's 8× downscaling factor).

Usage

Use this principle after CFG input preparation and before entering the ODE denoising loop.

Theoretical Basis

Rectified flow defines a transport map from noise to data:

zt=(1t)z0+tz1

Where z_0 is the noise sample (t=0), z_1 is the target image (t=1), and z_t follows a straight-line (rectified) path.

The noise initialization samples: z0𝒩(0,I)B×4×48×48

The Euler ODE step size is: Failed to parse (syntax error): {\displaystyle dt = \frac{1}{\text{num\_inference\_steps}}}

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment