Component Catalog#
This page gives a quick map of the main public building blocks.
Distributions#
Component |
Description |
|---|---|
|
Isotropic Gaussian |
|
Gaussian with diagonal covariance. |
Solvers#
Component |
Type |
Description |
|---|---|---|
|
ODE |
Fourth-order Runge-Kutta (fixed-step). |
|
ODE |
Second-order predictor-corrector method (fixed-step). |
|
SDE |
Stochastic Euler-Maruyama integrator. |
Diffusion schedules#
Component |
Description |
|---|---|
|
Variance-preserving schedule (DDPM-style) [1]. |
|
Variance-exploding schedule (SMLD-style) [2]. |
|
EDM schedule variant [3]. |
Flow-matching paths#
Component |
Description |
|---|---|
|
Linear interpolation between target and source samples. |
|
Trigonometric interpolation with smooth endpoint behavior. |
Stochastic FM gamma schedules#
From M.Albergo et al. [4,5]
Component |
Description |
|---|---|
|
Deterministic fallback with zero stochastic term. |
|
Brownian-bridge style gamma schedule. |
|
Brownian gamma with positive scale multiplier. |
Losses#
Component |
Description |
|---|---|
|
Deterministic flow matching objective. |
|
Stochastic flow matching objective with gamma noise. |
|
Flow matching objective with variable-cardinality masking. |
Parameterisation transforms#
Component |
Description |
|---|---|
|
Converts noise prediction into score prediction. |
|
Combines velocity and score into SDE drift. |
|
Builds mirror velocity from score and gamma schedule. |
Divergence estimators#
Component |
Description |
|---|---|
|
Exact Jacobian trace; practical in low dimensions. |
|
Stochastic trace estimator for scalable likelihood computation. |
For more information on the Hutchinson Trace estimator, you can take a look at [5]
and the following example from the BackPack library which nicely demonstrates the accuracy of the trace estimation and techniques for computational speedups BackPack Example, which is where the above reference is taken from.