---
title: "SiT — paper by Ma et al. (2024) — summary and ideas"
description: "SiT keeps the Diffusion Transformer architecture and tests how training targets, noise-to-data paths, and samplers affect ImageNet generation."
canonical: "https://research.elamur.ai/free/en/papers/ma-2024-sit-exploring-flow-diffusion-based/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ma-2024-sit-exploring-flow-diffusion-based/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / SiT: Exploring Flow and Diffusion-Based Generative Models with Scalable Interpolant Transformers

# SiT: Exploring Flow and Diffusion-Based Generative Models with Scalable Interpolant Transformers

Paper · 2024 · Nanye Ma, Mark Goldstein, Michael S. Albergo et al.

**Authors:** Nanye Ma, Mark Goldstein, Michael S. Albergo, Nicholas M. Boffi, Eric Vanden-Eijnden and [Saining Xie](https://md.research.elamur.ai/free/en/authors/saining-xie/) · **Year:** 2024 · **Venue:** Lecture notes in computer science · **Licence:** [CC BY 4.0 (arXiv)](https://creativecommons.org/licenses/by/4.0/)

[**107** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4403840763) · [Cited by **56** papers in our library of the 163,136 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/ma-2024-sit-exploring-flow-diffusion-based/cited-by/) · [Lecture notes in computer science](https://openalex.org/S106296714) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2401.08740)
- [DOI 10.1007/978-3-031-72980-5_2](https://doi.org/10.1007/978-3-031-72980-5_2)
- [arXiv 2401.08740](https://arxiv.org/abs/2401.08740)
- [OpenAlex](https://openalex.org/W4403840763)

Citations: OpenAlex, 2026-10-14.

## Summary

An image generator that starts from noise has to learn how to turn that noise into structured data. The network doing the work is only part of the design. The route from noise to data, the quantity the network learns to predict, and the numerical procedure that follows its predictions can all shape the result. Scalable Interpolant Transformers, or SiT, studies those choices using the same [Transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) architecture as Diffusion Transformer, or DiT. With the network structure, parameter count, and arithmetic cost held fixed for each corresponding size, the authors can ask how much the generation procedure itself contributes to image quality.

SiT uses an interpolant, a rule for mixing an image representation with Gaussian noise at any point in time. The authors compare a path inherited from score-based diffusion with paths that finish exactly at Gaussian noise within a finite interval. They also compare training on a fixed time grid with training in continuous time, and compare predicting a score, which describes how density changes around a point, with predicting a velocity, which describes how to move that point. Continuous-time training brings a modest gain in the controlled comparison. Changing how the loss weights errors across time and replacing the conventional diffusion path yield larger improvements. On the linear path, the velocity target also avoids a numerical difficulty that arises when the same problem is expressed as weighted score prediction.

A trained SiT can generate images by following a deterministic trajectory or by adding random motion during sampling. The deterministic solver performs better in the reported low-budget regime, while the stochastic solver reaches a lower Fréchet Inception Distance, or FID, with more network evaluations. The amount of random motion can also be changed after training. The strongest SiT-XL setting uses a linear interpolant, predicts velocity, and limits the growth of a diffusion coefficient derived from a bound on distribution error.

On class-conditional ImageNet generation, where the generator receives a category label, SiT-XL achieves FID-50K of 2.06 at 256 × 256 and 2.62 at 512 × 512. Lower FID indicates greater agreement between generated and real images in the feature statistics used by the metric. Both scores improve on the corresponding DiT-XL comparisons, and the training curves at 256 × 256 favor SiT at every tested network size. The authors release the SiT code. The experiments show how much can change when a familiar architecture learns a different transport problem and uses a sampling procedure chosen for that problem.

## Deep dive: SiT: Exploring Flow and Diffusion-Based Generative Models with Scalable Interpolant Transformers

SiT keeps the Diffusion Transformer architecture and tests how training targets, noise-to-data paths, and samplers affect ImageNet generation. · about 35 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### An image generator needs a route as well as a network

An image generator can begin with a draw from a standard Gaussian, a distribution from which it is easy to sample. The hard part is turning that draw into something distributed like the images the generator learned from. Diffusion approaches make the problem tractable by defining it in the other direction first. Start with real data, add noise according to a rule, and train a network to supply information that will be needed to undo the corruption. At generation time, each prediction helps move the current sample toward the data end of that process.

The paper traces this approach back to [Deep Unsupervised Learning using Nonequilibrium Thermodynamics](https://md.research.elamur.ai/free/en/papers/sohl-dickstein-2015-deep-unsupervised-learning-using-nonequilibrium/) and connects it to work on denoising. The Denoising Diffusion Probabilistic Model, or DDPM, organizes the corruption process into discrete steps. In the conventional formulation described by the authors, the network estimates the noise used to form a corrupted example. The score-based approach presents the problem through probability densities indexed by continuous time. A score is a vector that gives the spatial gradient of the log density. In a region where density varies, it indicates the direction in which the log density increases and how rapidly it increases in that direction.

These descriptions concern distributions as well as individual samples. At a fixed time, some corrupted images still carry substantial information from the data. Farther along the noise schedule, the distribution contains less of that structure. The score describes the density for all the samples that could occur at the current time. A noise prediction can estimate that score because, after Gaussian corruption, the conditional average of the noise is directly related to the gradient of the log density. The paper makes that relationship explicit and uses it to compare training targets within a shared mathematical setup.

Earlier image generators commonly used a U-Net to make these predictions. The authors describe DiT as bringing the Vision Transformer into the diffusion pipeline. DiT is especially useful for their comparison because it already comes in different capacities. The researchers can keep the same network at a given capacity while changing what prediction it makes and how that prediction is used. They can then repeat the comparison at the other capacities and see whether the ordering persists when both systems have more room to learn.

#### The restrictions of a forward diffusion

A common way to construct the noise schedule is to specify a forward stochastic differential equation. Its drift gradually weakens the contribution of the data, and its random increments add noise. In the variance-preserving construction discussed in the paper, the process has a standard Gaussian as its equilibrium distribution. Its approach to equilibrium can be very close at a finite end time, but a residual data contribution generally remains. A sampler initialized with a standard Gaussian therefore starts from an approximation to the actual terminal distribution. Changing the schedule can reduce that discrepancy.

The authors describe earlier work that studied noise schedules, loss weighting, likelihood, and sampling algorithms. Such work provides several ways to improve a standard diffusion setup. A schedule derived from a given forward equation still couples the decay of the data contribution to the growth of the noise contribution. If the same forward equation also supplies the coefficient for the reverse-time sampler, that construction ties a decision about how to corrupt examples during training to a decision about how much randomness to inject during generation.

Stochastic interpolants loosen these ties. The designer chooses a path of distributions directly through a formula for mixing samples from the endpoints. Flow matching and rectified flow had already studied training a velocity field for a linear connection. Earlier work on stochastic interpolants showed how distribution paths of this kind can be realized by deterministic or stochastic dynamics. The paper also describes previous latent-space flow matching using the pretrained Stable Diffusion image representation as a motivation for asking which design decisions account for improvements over DiT.

An interpolant specifies what examples look like at intermediate times. A sampler specifies how points move so that their distribution follows those intermediate densities. Distinct sampling processes can have the same distribution at every fixed time even when their individual trajectories behave differently. Earlier diffusion research already recognized deterministic and stochastic generation as alternatives. SiT investigates the freedom to specify the stochastic sampler’s coefficient independently of the corruption rule, and tests how much that freedom helps when the learned fields and numerical solvers are approximate.

#### Why the comparisons use the same backbone

Several neighboring lines of research change components that SiT holds fixed. The authors describe DiT variants that add masked prediction inside the network, along with diffusion research that improves numerical sampling. They also discuss an earlier diffusion ODE study that considered velocity and noise parameterizations and compared linear with variance-preserving paths. That study concentrated on lower-dimensional settings and likelihood evaluation. SiT brings related questions to class-conditional image generation and includes stochastic as well as deterministic sampling.

The paper places its experiments alongside work on choosing how to pair data and noise. Some earlier methods use optimal transport within a minibatch to find pairings intended to shorten transport and reduce training variance. Other work starts from a conditioning variable and connects it directly to data, or learns a bridge between arbitrary endpoint distributions. Those ideas concern which distributions are connected and how their examples are paired. SiT uses independent data and Gaussian draws in its formulation and concentrates on what happens after those draws are chosen.

The question is therefore narrower than which image generator should be used in every setting. The authors want to know which properties of the learning and sampling problem help a fixed DiT backbone generate images. Their sequence begins near the conventional discrete diffusion setup, moves to continuous time, changes the prediction target, and then compares interpolants and samplers. Keeping the backbone fixed makes these changes easier to interpret, while the sampler comparisons address a separate question about how best to use the resulting checkpoint.

### The method, step by step

#### Make an intermediate example from an image and noise

Training starts with an image represented as a latent tensor, a compact array produced by a pretrained image encoder. The procedure draws Gaussian noise with the same shape and chooses a time. The time determines the coefficient on the image representation and the coefficient on the noise. Near the data endpoint, the image contributes most of the signal. Near the noise endpoint, the Gaussian contribution dominates. The coefficients also tell the training procedure how rapidly the two contributions are changing at the chosen time.

This construction gives the network a supervised prediction problem. The procedure knows the clean example and the noise that formed the mixture, so it can calculate the instantaneous motion of that particular pair. The network receives the mixed example and the time, along with a class label when conditioning is active. It learns to estimate the motion that would be expected from all the pairs capable of producing that observation. Once trained, the network can supply directions along a new trajectory using only its current state, without access to a clean image for that trajectory.

Training and sampling a velocity-based SiT The steps in order.

The mixture used in training is defined by the following expression.

```
xₜ = αₜ x⋆ + σₜ ε
```

Here t is time, xₜ is the intermediate vector, x⋆ is the clean data draw, and ε is the independent Gaussian draw. The Gaussian has mean zero and identity covariance, which makes it a standard normal in the latent coordinates. The scalar coefficient αₜ controls the clean contribution and decreases with time. The scalar coefficient σₜ controls the noise contribution and increases with time.

In the finite-interval interpolants, the endpoint coefficients are chosen explicitly.

```
(α₀, σ₀, α₁, σ₁) = (1, 0, 0, 1)
```

The subscripts indicate the two ends of the time interval. At time 0, α₀ gives the clean draw full weight and σ₀ removes the noise. At time 1, α₁ removes the clean draw and σ₁ gives the Gaussian full weight. This establishes which distribution belongs at the start of generation. The sampler begins at the noise end and moves toward smaller times.

The formula also clarifies what a training time means. An intermediate example can be formed directly from its endpoints. A training example at a time close to the data end and another close to the Gaussian end can be prepared using the same rule. The procedure has no need to simulate every intermediate corruption step to obtain either input. Continuous time gives the network a field defined between the points that a numerical sampler will eventually visit.

#### Learn the motion shared by the probability distribution

For each endpoint pair, the derivative of the interpolant is a vector whose components show how the mixture is changing. At a given point and time, many endpoint pairs may agree on the mixture and disagree on its derivative. The velocity field takes their conditional average.

```
v(x, t) = 𝔼[ẋₜ | xₜ = x]
```

Here v is the velocity field, x is a location in latent space, t is the time, and ẋₜ is the time derivative of the interpolant. The expectation 𝔼 averages over the random endpoint pairs. The condition after the vertical bar selects the distribution of pairs given that their mixture is at x at time t. An equivalent form shows how each endpoint contributes.

```
v(x, t) = α̇ₜ 𝔼[x⋆ | xₜ = x] + σ̇ₜ 𝔼[ε | xₜ = x]
```

The dots on α̇ₜ and σ̇ₜ denote time derivatives of the mixing coefficients. The first conditional expectation averages the clean endpoints and the second averages the Gaussian endpoints compatible with the observed state. Each average is multiplied by the corresponding rate of change in its coefficient. The resulting velocity is a property of the probability path at x and t.

The proof in the paper connects this field to the distribution of training mixtures. It differentiates the characteristic function, a Fourier representation of a probability distribution. Conditioning on the current position lets the authors replace the derivative of the individual random mixture with the mean derivative at that position. Integration by parts then gives the transport equation.

```
∂ₜ pₜ(x) + ∇ₓ · (v(x, t) pₜ(x)) = 0
```

The density pₜ(x) belongs to the training mixture at time t. The operator ∂ₜ takes its time derivative. The divergence ∇ₓ · measures the net spatial outflow of the probability flux v times pₜ. The equation says that local density changes can be accounted for by probability moving through space. Where the flux takes probability out of a region, its density falls. Where the flux brings probability in, its density rises.

The deterministic probability flow follows this equation by moving each sample according to the field.

```
Ẋₜ = v(Xₜ, t)
```

The capital Xₜ denotes a state on the sampling trajectory, and Ẋₜ is its derivative with respect to t. The right-hand side evaluates the field v at that state and time. With the exact field and the correct distribution at the starting time, the state has density pₜ at each time. To generate data, the authors solve this ordinary differential equation, or ODE, in reverse. Once the starting Gaussian draw is fixed, the equation supplies the rest of the trajectory deterministically.

The distinction between xₜ and Xₜ matters here. The lower-case interpolant gives a way to produce training examples from known endpoints. The capitalized trajectory is generated by repeatedly evaluating a field that has averaged over possible endpoints. The equality used in the paper is between their time-indexed distributions. Even with a linear interpolant for training pairs, the learned flow need not follow the straight segment of any particular pair.

#### Use the same probability path with a stochastic sampler

A score gives a second way to describe the intermediate distribution. For the Gaussian perturbation used by SiT, the score is the negative conditional mean noise divided by the noise scale.

```
s(x, t) = ∇ₓ log pₜ(x) = −𝔼[ε | xₜ = x] / σₜ
```

Here s is the score at x and t, ∇ₓ is the spatial gradient, and log denotes the logarithm of pₜ. The conditional expectation averages ε among endpoint pairs that give the observed xₜ. The formula applies where σₜ is positive. The proof uses the characteristic function of the independent Gaussian draw to relate the average noise to a derivative of the mixture density. The minus sign reflects the relation between the noise displacement and the direction of increasing log density.

The stochastic differential equation, or SDE, combines the velocity with a score-dependent change in drift and a random increment.

```
dXₜ = v(Xₜ, t) dt − ½ wₜ s(Xₜ, t) dt + √wₜ dW̄ₜ
```

The symbols Xₜ, v, and s have the same meanings as above. The infinitesimal dt is the time increment in the equation written with reverse-time sampling in view. The scalar wₜ is the non-negative diffusion coefficient. The process W̄ₜ is a reverse-time Wiener process, so dW̄ₜ represents a random increment, scaled in the equation by √wₜ. The drift term weighted by ½ wₜ adjusts for the effect of that random motion on the density.

The paper verifies the equality of the marginal distributions through the reverse-time Fokker–Planck equation, which gives the rate at which an SDE changes its density. Multiplying the score by the density gives the spatial gradient of the density. As a consequence, the score-dependent part of the drift contributes a term involving the Laplacian, the sum of coordinate-wise second derivatives. This term cancels the corresponding contribution from the random increments. The transport equation remains. Setting wₜ to zero gives the deterministic flow as a special case.

The cancellation explains why the amount of randomness can be chosen at generation time. The exact score and velocity come from the training path. The coefficient wₜ specifies a stochastic dynamics consistent with that path. Learned fields and finite integration steps introduce errors, so practical samplers can reach different endpoint distributions. The choice of wₜ can change the effects of both kinds of error without changing the checkpoint.

#### Train a score or a velocity

To train a score predictor, the authors use a squared error that multiplies the predicted score by the current noise scale and compares it with the negative sampled noise.

```
ℒₛ(θ) = ∫₀ᵀ 𝔼[‖σₜ sθ(xₜ, t) + ε‖²] dt
```

The symbol ℒₛ is the score loss and θ collects the trainable weights. The function sθ is the score estimated by the network. The integral ranges from time 0 to the terminal time T, with dt denoting integration over time. The squared Euclidean norm ‖·‖² measures the squared vector error, and 𝔼 averages this error over the draws used to form xₜ. The target ε is known for each example. Averaged over all examples with a given state, the prediction minimising the error satisfies the score formula.

The velocity objective uses the derivative of the mixture as its target.

```
ℒᵥ(θ) = ∫₀ᵀ 𝔼[‖vθ(xₜ, t) − α̇ₜ x⋆ − σ̇ₜ ε‖²] dt
```

Here ℒᵥ is the velocity loss, and vθ is the network’s estimate of the field. The terms α̇ₜ x⋆ and σ̇ₜ ε sum to the derivative of the known mixture for a training pair. The expectation averages the squared error over the pairs, and the integral averages its contribution over the time interval in the sense of accumulating loss across time. For any fixed state and time, the conditional mean derivative is the predictor that minimizes expected squared error.

These continuous-time objectives accept an additional time-dependent weighting. Such a weight changes how heavily different parts of the interval count toward training. This matters because different times present different estimation problems. Near the clean endpoint, for instance, noise enters the score loss multiplied by a small scale on the prediction side. In velocity training, the derivatives of the path coefficients determine the target directly. An objective may consequently give different emphasis to a region or expose the network to large derivatives even when the underlying fields describe the same density path.

The equivalence between score and velocity comes from taking conditional expectations of the mixture itself. Once xₜ is held fixed at x, the conditional average of the mixture is x. That gives a linear relation between the conditional average of the clean example and that of the noise. Substituting it into the velocity formula and using the score identity yields the conversion employed in the paper.

```
s(x, t) = [αₜ v(x, t) − α̇ₜ x] / [σₜ(α̇ₜ σₜ − αₜ σ̇ₜ)]
```

Here s and v are the score and velocity at the same x and t. The coefficients αₜ and σₜ, with their dotted time derivatives, are supplied by the chosen interpolant. The signs of the coefficients and their rates keep the parenthesized factor in the denominator away from zero in the interior for the paths under discussion. The outer σₜ factor still vanishes at the data endpoint. Computing the score from an imperfect velocity near that endpoint can therefore be numerically troublesome. The authors distinguish that issue from the behavior of an exact score, which can be nonsingular at the data endpoint when the data density is smooth.

It is also possible to organize the conversion in the other direction. The paper defines a coefficient λₜ.

```
λₜ = σ̇ₜ − α̇ₜ σₜ / αₜ
```

The scalar λₜ combines both schedules and their time derivatives. It is written in this form for times where αₜ is non-zero. It gives the scale of the score term when the velocity is expressed as an affine function of the score.

```
v(x, t) = (α̇ₜ / αₜ) x − λₜ σₜ s(x, t)
```

The first term uses the current state x and the ratio of the data coefficient’s derivative to the data coefficient. The second term scales the score s by λₜ and σₜ. In the interior of the interval, either field can thus provide the other. The form of the operation matters near the ends. When αₜ becomes very small, separately computing large terms whose combination should be finite can expose approximation error.

The loss equivalence follows by inserting a velocity constructed from sθ into the velocity objective. The clean-data part cancels against the corresponding part of the target, leaving the score residual with a time-dependent weight.

```
ℒₛ,λ(θ) = ∫₀ᵀ λₜ² 𝔼[‖σₜ sθ(xₜ, t) + ε‖²] dt
```

Here ℒₛ,λ is the weighted score loss, λₜ² is the squared path-dependent coefficient, and the residual inside the expectation is the same one used in ℒₛ. The terminal time T, network weights θ, estimated score sθ, and sampled quantities retain their earlier meanings. The paper relates this weighting in the variance-preserving case to earlier maximum-likelihood weighting. For the comparison, the formula shows how changing the prediction and changing the loss weights can be intertwined.

Equality after substitution describes the objectives when the predictions are connected by the specified conversion. A network trained to output one field directly is being asked to approximate a different function from a network trained to output the other. Ease of optimization can also differ when one expression places a large time-dependent factor outside the squared residual and another builds the target from the endpoint derivatives. SiT uses the two formulations to study those differences in practice.

#### Choose the route between the endpoints

The baseline path comes from score-based diffusion with a variance-preserving forward process. Its stochastic differential equation is as follows.

```
dXₜ = −½ βₜ Xₜ dt + √βₜ dWₜ
```

Here Xₜ is the forward-process state, βₜ is a positive schedule, t is forward time, and Wₜ is a forward Wiener process. The first term attenuates the state, while the second adds randomness with scale √βₜ. Conditional on a fixed clean starting point, the state has a Gaussian distribution. The mean is the starting point multiplied by the data coefficient, and the noise covariance is the identity multiplied by the squared noise coefficient.

```
αₜ = exp(−½ ∫₀ᵗ βᵤ du)
```

The coefficient αₜ is determined by accumulating the rate βᵤ from the start to time t. The dummy variable u identifies time within the integral, and exp is the exponential function. This is the mean coefficient inherited from the forward process.

```
σₜ = √(1 − exp(−∫₀ᵗ βᵤ du))
```

The coefficient σₜ is the standard deviation of the added Gaussian noise per coordinate. Here the exponential uses the same cumulative schedule, and the square root converts squared scale to scale. Thus β determines both coefficients. A finite accumulated rate leaves a non-zero clean contribution under these formulas, which accounts for the mismatch with an exactly Gaussian generation start.

On this path, choosing the sampler’s diffusion coefficient to match β reproduces the reverse-time SDE of conventional score-based diffusion. This relationship provides a way to place the existing baseline within the broader SiT formulation. The authors can vary other sampling coefficients or replace the path itself and trace what those changes do.

The linear interpolant specifies the coefficients directly.

```
(αₜ, σₜ) = (1 − t, t)
```

Time t runs from 0 at the data to 1 at the noise. The data coefficient αₜ decreases linearly and the noise coefficient σₜ increases linearly. Their derivatives are constant, so a pair’s velocity target is its Gaussian endpoint minus its clean endpoint. The velocity inferred at a location remains a conditional average over possible pairs and still depends on the state and time.

The generalized variance-preserving path, called GVP, uses trigonometric coefficients.

```
(αₜ, σₜ) = (cos(½πt), sin(½πt))
```

The functions cos and sin are cosine and sine, and π is the circular constant. As t increases over the same interval, αₜ falls from full weight to zero and σₜ rises from zero to full weight. Their squared coefficients add to one. With independent endpoint draws whose variances agree, the variance of the mixture therefore stays constant across time.

The linear and GVP paths both reach the designated endpoints exactly, and both have finite coefficient derivatives at the clean end. The paths differ in how much of each endpoint contributes in the middle and how fast those contributions change. Those differences affect the examples the network sees and the targets attached to them. Each path thus defines its own velocity and score fields before training. The authors mention work investigating whether this requirement can be relaxed, while their experiments learn and sample using the same choice of path.

#### Set the amount of sampling noise

The paper tests a diffusion coefficient equal to σₜ, the interpolant’s noise scale. In the reverse drift this choice cancels the division by σₜ in the score expression. The data-end calculation can then be expressed using the conditional mean noise without separately forming a division by a vanishing coefficient. A second choice, the square of the sine of π times t, also suppresses diffusion at the data end and additionally reduces it near the Gaussian end. These schedules let the authors test where in the reverse trajectory random motion helps.

To derive a coefficient from a distributional criterion, the paper turns to Kullback–Leibler divergence, or KL divergence. It considers the divergence from the data distribution to the generated endpoint distribution. A bound for the stochastic dynamics controls that divergence using the gap between exact and estimated drift, weighted by the inverse diffusion coefficient. Expressing both drifts through velocity connects this bound to the trained network’s velocity error. The substitution gives the following loss-based bound.

```
Dₖₗ(p ‖ pθ) ≤ ½ ∫₀¹ (1 + wₜ / (2λₜσₜ))² ℒₜ / wₜ dt
```

Here Dₖₗ is KL divergence, p is the data density, and pθ is the endpoint density induced by the learned dynamics. The order p ‖ pθ specifies the direction of the divergence. The coefficient wₜ determines the random increments, λₜ and σₜ come from the interpolant, and ℒₜ is the expected squared velocity training residual at time t after optimization. The integral covers the finite interpolation interval. The bound uses the relation between the individual-pair training loss and error against the conditional mean field.

The expression contains two effects of changing the diffusion coefficient. A larger wₜ reduces the inverse-coefficient factor. It also increases the multiplier on velocity error, because the estimated velocity contributes to the score correction in the drift. Minimizing this integrand point by point in the interior gives the coefficient indicated by KL.

```
wₜᴷᴸ = 2(σ̇ₜ σₜ − α̇ₜ σₜ² / αₜ)
```

The superscript KL identifies the result of minimizing the bound. The scalar wₜᴷᴸ depends on the data and noise schedules αₜ and σₜ and their derivatives. The quantity in parentheses is λₜ times σₜ. For variance-preserving score-based diffusion, the result agrees with βₜ, the customary coefficient of the reverse SDE. For the linear and GVP paths, αₜ approaches zero as the sampler approaches the noise end. The resulting growth in wₜᴷᴸ can make the equation hard to integrate there.

The authors address that issue with a penalty for diffusivity, motivated by the assumption that higher diffusivity requires smaller integration steps to maintain numerical precision. The coefficient presented in the main method is as follows.

```
wₜᴷᴸ,η = wₜᴷᴸ √(ℒₜ / (ℒₜ + 2η(wₜᴷᴸ)²))
```

Here wₜᴷᴸ,η is the regularized coefficient, η is a non-negative constant governing the strength of the penalty, and ℒₜ is the trained velocity predictor’s expected loss at time t. The factor under the square root damps the unregularized schedule. When η is zero the expression recovers the unregularized coefficient where the ratio is defined. For positive η and a well-behaved loss at the noise end, the regularized expression can remain finite as the unregularized coefficient grows. To apply this procedure to a score checkpoint, the authors first convert its estimate to velocity and evaluate the corresponding loss. The conditioning of that conversion then matters to the schedule.

#### Put the calculation inside DiT’s image pipeline

The Transformer operates in the latent space of the pretrained variational autoencoder used in Stable Diffusion. Its encoder compresses an image into a spatial latent array, and its decoder turns a generated latent back into a pixel image. A 256 × 256 × 3 image becomes a 32 × 32 × 4 latent in the setup described by the authors. The network learns the probability path in this smaller space. The decoded images are what ultimately enter the image-quality evaluation.

SiT divides the latent array into patches of size 2 and projects each patch into a vector. The resulting sequence goes through Transformer blocks, with sinusoidal position information to identify where the patches came from. The paper uses the AdaLN-Zero blocks from DiT to incorporate time and class information. The SiT-S, SiT-B, SiT-L, and SiT-XL variants follow DiT’s Small, Base, Large, and XLarge configurations. They differ in capacity and computation across the family, with the corresponding SiT and DiT sizes sharing the architecture.

Training follows DiT’s settings. The authors use AdamW, the optimizer associated with [Decoupled Weight Decay Regularization](https://md.research.elamur.ai/free/en/papers/loshchilov-2017-decoupled-weight-decay-regularization/), with a constant learning rate of 1 × 10⁻⁴ and a batch size of 256. The data augmentation randomly flips images horizontally with probability 0.5. They keep an exponential moving average of the weights with decay 0.9999. This average gives recent parameter values greater weight while smoothing fluctuations over training, and the reported samples come from the averaged checkpoints.

For classifier-free guidance, the network sometimes receives a null token in place of the class label. It learns to make predictions with and without that information. At inference, both predictions can be made at the same state and combined so the trajectory responds more strongly to the selected class. In the notation for the learned predictor, the blend is as follows.

```
vθᶻ(x, t; y) = ζ vθ(x, t; y) + (1 − ζ) vθ(x, t; ∅)
```

Here the superscript on vθᶻ denotes the guided estimate at strength ζ. The variable y is the requested class, and ∅ is the null conditioning token. The two terms on the right are velocity estimates at the same x and t from the conditional and unconditional uses of the network with weights θ. With ζ above one, the conditional prediction receives more weight and the unconditional term subtracts the corresponding baseline contribution.

Because the conversion to score is affine at fixed x and t, blending velocities with weights that sum to one induces the corresponding blend of scores. The authors use Bayes’ rule to express the resulting score in terms of an unconditional density and a class probability.

```
sᶻ(x, t | y) = ∇ₓ log [pₜ(x) pₜ(y | x)ᶻ]
```

Here the superscript z again denotes strength ζ, so pₜ(y | x)ᶻ is the class probability raised to that strength. The function sᶻ is the guided score, ∇ₓ differentiates spatially, pₜ(x) is the unconditional state density, and pₜ(y | x) is the probability of label y given the state at time t. This gives the paper’s rationale for applying classifier-free guidance to a velocity predictor. A guided sampling update needs both predictions, so guidance increases the work attached to a solver update.

### Experiments and results

#### What the ImageNet comparison measures

The main controlled transition uses the Base architecture at 256 × 256, with 400K training steps for each setting. The baseline is a DiT-style discrete diffusion using score prediction and a variance-preserving path. The successive comparisons examine what happens when training becomes continuous, the prediction or its loss changes, and the path is replaced. They also compare generation with an ODE or an SDE using a learned checkpoint. The smaller study holds the training steps and backbone fixed so that the measured differences are more directly associated with the choices being tested.

The quality measure is Fréchet Inception Distance. FID compares statistics of image features for a generated collection and a real collection. The reported FID-50K comparisons use 50K generated images and the real images in the ImageNet training set. The paper’s implementation also supports evaluating 10K generated images. The training-set reference is important to interpreting the results. This is an assessment of how the generated collection compares with a particular reference distribution in feature space. It gives a collection-level score, rather than a per-image decision about whether the generator produced the requested class.

The authors observed small differences between their TPU and GPU evaluation paths. To match the DiT baseline, they generate the evaluated samples on GPU and calculate FID with the ADM evaluation suite. They also use checkpoints from the moving average of the weights. These choices affect what is being compared, particularly when a reported improvement is modest. The ImageNet reference split, sample count, and evaluation implementation all belong to the measurement conditions.

#### Match the sampling budget

The authors use fixed-step Heun integration for the deterministic SiT sampler and Euler–Maruyama for the stochastic one. Heun uses a predicted move to obtain another field evaluation and improve the update. Euler–Maruyama steps using the local drift and a random increment. The experiments use a budget of 250 function evaluations, abbreviated NFE, to compare against the 250 sampling steps used by DiT. NFE counts calls to the field in the solver, so methods can use the same evaluation allowance while organizing their updates differently.

The primary stochastic comparison pairs Euler–Maruyama with DDPM. The paper treats DDPM as an Euler-style discretization and uses 250 steps for the Euler sampler to match it. The deterministic comparison pairs SiT with Heun and DiT with DDIM. Both are evaluated at 250 NFE, but the authors point out that DDIM is comparable to a first-order Euler procedure while Heun is second order. They chose Heun because continuous-time Euler integration produced substantial discretization error. The deterministic curves consequently compare two generator-and-solver combinations at the same evaluation allowance.

At 256 × 256, the stochastic training curves favor SiT across the Small, Base, Large, and XLarge configurations. The authors report that FID improves faster during SiT training. They also present deterministic curves with the same ordering across sizes. A visual comparison after 400K training steps holds the class label and the starting latent noise fixed across SiT sizes so that the displayed differences can be examined without also changing those inputs.

#### Results at the largest size

The headline comparison scales up to SiT-XL and applies classifier-free guidance. The 256 × 256 ImageNet run trains for 7M steps and reaches FID-50K of 2.06 against the ImageNet training set. The 512 × 512 run trains for 3M steps and reaches FID-50K of 2.62 against the corresponding training-set reference. In each resolution’s benchmark, SiT-XL improves on the corresponding DiT-XL result. The authors use matching computation budgets and guidance scales for their comparisons with DiT. The best SiT-XL setting uses velocity prediction on the linear interpolant and the regularized KL-based diffusion coefficient.

SiT-XL settings on class-conditional ImageNet by resolution, FID-50K The lower-resolution benchmark reports the lower FID for its own training setting.

**The numbers**

| System or setting | FID-50K |
| --- | --- |
| SiT-XL at 512 × 512 | 2.62 |
| SiT-XL at 256 × 256 (this paper) | 2.06 |

The resolutions have their own training schedules, so the chart gives the scores of the two complete settings. The paper’s comparison with DiT is within each resolution. The experiments also report a substantial benefit from guidance on SiT, consistent with the authors’ experience using guidance with DiT. The visual results include selected images at the two resolutions and separate uncurated class-specific groups at a guidance scale of 4.0. Examples include volcanoes and arctic foxes at 512 × 512, and macaws and cliffs at 256 × 256. The groups show how samples can vary under a fixed category request and complement a metric that reduces the whole generated collection to a scalar.

The paper gives a separate timing measurement for the training implementation. On a TPU v4-64 pod, SiT-XL trains at roughly 6.8 iters/sec and DiT-XL at 6.4 iters/sec under the same stated training settings. This measurement compares the observed training rate of those implementations. The rates have a different interpretation from fixed architectural GFLOPs, which describe an arithmetic cost, and from NFE, which concerns generation.

SiT-XL and DiT-XL ImageNet training throughput on a TPU v4-64 pod SiT-XL has slightly higher measured training throughput under the same settings.

**The numbers**

| System or setting | iters/sec |
| --- | --- |
| DiT-XL | 6.4 |
| SiT-XL (this paper) | 6.8 |

### What the ablations show

#### Continuous time mainly changes the freedom to sample

The authors first move from discrete to continuous-time training while staying close to the standard diffusion setup. FID improves marginally. In this comparison, continuous time by itself accounts for only a modest part of the advantage of the final SiT configuration. Its other consequence is flexibility after training. A network conditioned on continuous time can be evaluated on a grid selected for a particular numerical solver or diffusion coefficient. The discretization used at inference can therefore respond to the sampler’s behavior.

The evaluation-budget analysis shows why this matters. A sampler with only a small number of function evaluations has to span the interval with larger updates. With more evaluations it can take smaller steps and make better use of the field. A training formulation that leaves this choice open makes it possible to revisit the speed and quality tradeoff with the same weights. The low-budget and high-budget regimes can favor different dynamics, even for the same checkpoint.

#### Time weighting accounts for part of the target effect

With the variance-preserving score-based diffusion path held fixed, the authors compare ordinary score prediction, weighted score prediction, and direct velocity prediction. Both the weighted score objective and the velocity objective improve the reported FID relative to the ordinary score objective. On this path, the appendix reports better performance for the weighted score formulation than for direct velocity prediction. Thus the benefit of changing the parameterization includes a change in which times matter to the regression, and direct velocity prediction is one way of making that change.

Near the data endpoint, the small noise coefficient weakens the contribution of score prediction errors to the ordinary objective. The velocity-equivalent score weight grows there and can compensate. Direct velocity training on the same conventional path has a different numerical problem. The derivative of the noise coefficient grows near the data end, so it contributes large targets and can produce large gradients. The weighted score objective also has difficult endpoint behavior, but the paper argues that the placement of its large factor can help compensate for the small gradient of the ordinary score objective in this regime.

For the linear and GVP paths, the comparison shifts to the other endpoint. Converting score to velocity involves the reciprocal of the data coefficient, which grows near pure noise. In the direct velocity objective, the target can be computed from the derivatives and the endpoints without explicitly using that reciprocal. The weighted score form retains a large factor outside the residual. This helps explain why the preferred prediction target depends on the interpolant. A linear relation between exact fields allows conversion in principle, while the loss and the arithmetic determine how easily the network learns the required field in practice.

#### Changing the interpolant affects both learning and integration

The authors hold velocity prediction fixed and compare the conventional variance-preserving path with the linear and generalized variance-preserving paths. Both finite-interval alternatives improve FID. Because the prediction target stays within the same family, this result adds evidence that the path matters beyond the initial switch from ordinary score to velocity-equivalent training. The path determines the distribution of latent inputs across time as well as the target vectors that accompany those inputs.

The paper offers several mechanisms for the improvement. Both alternative paths finish at the actual Gaussian used to begin generation. Their coefficients also give well-behaved velocity targets near the data endpoint, where the conventional path’s noise derivative poses a problem. The authors’ analysis of path lengths points to reduced transport cost when moving to GVP or to the linear path. They associate the linear change with less curved ODE trajectories, which can reduce discretization error when a numerical solver uses finitely many evaluations.

Several of these properties change in the same experiment. The FID ordering establishes that the alternative paths work better in the matched test. The geometry and endpoint analysis help explain how an effect could arise in training and sampling. They do not specify the extent to which each mechanism contributes to the observed gain. That distinction matters because a shorter trajectory can make integration easier, while a more regular regression target can improve the field itself before integration begins.

#### Stochastic sampling helps when the solver has room to use it

The ODE and SDE comparison uses the same learned velocity field and changes how images are generated. The appendix reports the ODE and SDE comparison across capacities without classifier-free guidance. With the larger evaluation budget used for these comparisons, the stochastic approach obtains better FID across the tested sizes. The authors connect this result to the distributional theory for stochastic interpolants, in which the SDE provides a way to bound KL divergence using field error.

At low NFE the reported ordering can favor the deterministic ODE solver. Its FID improves faster early in the budget sweep. As more evaluations are allowed, the SDE reaches the lower reported FID. What is held fixed here is the learned checkpoint. The sampler comparisons vary the type of dynamics and the numerical method used to integrate it. A deployment constraint on evaluation count can therefore change the preferred solver even when training has already finished.

The paper also reports a practical endpoint adjustment for stochastic integration. Near the data end, converting between velocity and score can become unstable. The authors found that clipping the regular integration interval by h = 0.04 and taking a longer final step from time 0.04 to 0 could improve results. The sampler settings vary their start and end points with the interpolant. This is part of how the empirical comparison turns the continuous equations into executable generation procedures.

#### The best amount of diffusion depends on the checkpoint

The coefficient sweep tests how different sampling noise schedules work with different prediction targets and interpolants. For the variance-preserving baseline, the authors use the weighted score model in the sampler comparison to give it the benefit of the stronger score objective. The comparison supports the KL-motivated coefficient for the conventional variance-preserving path and for GVP in the reported settings. The conventional case is informative because the coefficient from the bound reproduces the usual reverse-diffusion schedule. The GVP result shows that a related principle can help with a path specified directly.

With the linear path, the regularized KL coefficient gives the strongest FID in the reported comparison. The authors attribute this to the cost of resolving the unregularized coefficient near the Gaussian endpoint. A theoretically favorable coefficient may lead to a difficult SDE when used with a limited evaluation budget. Damping that part of the schedule makes it easier to simulate and can improve the generated endpoint. The regularizer provides a way to use the bound as guidance while accounting for the anticipated difficulty of integration.

The same regularization worsens the reported result for the conventional variance-preserving path. Its unregularized coefficient is already well-defined across the interval under the schedule considered. The regularizer also depends on a velocity loss affected by the conventional path’s derivative near the clean endpoint. Across the sweep, the paper reports weaker results in general for score predictors and points to additional numerical difficulties when converting them to velocity for loss estimation. The ranking can also change with network capacity. The final linear, velocity-based, regularized configuration is the authors’ strongest observed SiT-XL setting.

These comparisons locate the benefits at different points in the pipeline. The early comparisons show gains from changing the score weighting and the path used to build training examples. The later comparisons show that sample quality can change after training is complete, even when the learned field stays fixed. The coefficient sweep adds a further dependency. The path and prediction target influence which stochastic dynamics can use the checkpoint most effectively at a given numerical budget.

### Limitations

#### Limits the authors identify

The authors restrict empirical claims to the image generation settings they study and leave downstream applications for future work. They discuss image editing, video, and other tasks in relation to the surrounding research. Their own experiments center on class-conditional ImageNet images. The results establish the performance of a particular latent image generator at the tested resolutions and capacities. The question of whether the same combination of objectives, interpolants, and samplers would win on other tasks remains open.

The solver comparison also has a stated limit. The main tests use Euler–Maruyama and Heun to make comparisons with the standard DiT sampling choices. The authors leave advanced solvers unevaluated. The deterministic DiT and SiT comparison matches function evaluations but uses methods of different numerical order. Endpoints were tuned for sampling quality and stability, and the stochastic implementation could benefit from a distinct final step near the data end. These details qualify the scope of the sampling results even though the training hyper-parameters and network designs follow DiT.

The paper’s theory addresses exact probability paths and bounds for approximate fields under specified conditions. Its KL-based diffusion coefficient minimizes an upper bound before the cost of numerically integrating the SDE is considered. The regularized version incorporates a particular proxy for that cost. The authors show that bounding the numerical growth of the coefficient near the noise endpoint still leaves a separate issue at the data endpoint. For the linear and GVP paths, the loss-based bound can be infinite unless the velocity loss decays sufficiently there. The experiment can favor the regularized sampler even when the resulting bound supplies no finite quantitative guarantee.

The regularized coefficient also has an inconsistency in its printed derivation. The main method’s expression and its stated finite endpoint limit agree with each other, while the appendix’s final minimizer uses a different scaling of the penalty inside the square root. The qualitative argument for damping the coefficient near the noise end is common to both presentations. Reproduction of the precise schedule calls for checking how the regularization strength is defined in the implementation.

#### Limits visible in the design

The matched backbone offers a good comparison within a single family of latent generators. The experiment does not vary the image encoder or decoder, patch size, or class-conditioning mechanism in order to test whether the observed gains persist with those components changed. The data-to-noise path is constructed in the representation supplied by the pretrained autoencoder. Its geometry and the resulting decoded samples can depend on that representation. The path and loss ablations therefore identify which choices help inside this pipeline.

The sequence of controlled changes supports comparisons at specific settings. The initial discrete-to-continuous result is measured near the conventional diffusion baseline, while the path comparison uses direct velocity training. The sampler study then shows interactions with path, prediction form, and capacity. The final improvement over DiT combines these choices, and the results leave the contribution of any one choice conditional on the others. At the two headline resolutions, the training lengths also differ, so the two FID values describe separate benchmarks rather than isolating the effect of resolution.

FID captures how the generated set agrees with the image reference in a particular feature space. It gives limited evidence about individual prompts or categories, exact class correctness, or which modes of variation the generator covers. The fixed-noise visual comparison and the uncurated groups give readers examples to inspect, but they cannot establish category-level behavior across ImageNet. The reference is the ImageNet training split, so the headline numbers measure agreement with training-set feature statistics. They do not directly measure generalization to a held-out reference distribution.

Finally, the same function-evaluation budget is an informative control with a narrower scope than measuring end-to-end generation time. Solvers can use evaluations in different ways. Classifier-free guidance uses a conditional and an unconditional prediction for a guided update. Decoding also belongs to the full generation pipeline. The reported TPU throughput values concern training, while the NFE sweep concerns sampling. Those measurements support conclusions about their respective stages, and an overall latency ranking would require an end-to-end timing comparison at matched output quality.

### What came after

#### Generating in a single step

[Mean Flows](https://md.research.elamur.ai/free/en/papers/geng-2025-mean-flows-one-step-generative/) takes up the question of one-step generation. SiT treats the learned velocity as an instantaneous quantity. Its deterministic sampler queries that quantity repeatedly as it moves from the Gaussian to the data distribution, and its evaluation-budget study shows why reducing the number of queries changes the outcome. A one-step generator has to account for motion across the interval in a single update. That puts the displacement over an interval at the center of the modeling problem.

The connection is through the role assigned to velocity. SiT asks how the choice of a training path and instantaneous prediction target affects a generator whose sampler integrates a learned field. Mean Flows shifts the focus to a flow formulation for generating in one step. This takes the cost of following the transport path, which SiT varies at evaluation time, and makes the single-update setting part of the generative design.

#### Combining rectified flow with autoregression

[JanusFlow](https://md.research.elamur.ai/free/en/papers/ma-2024-janusflow-harmonizing-autoregression-rectified/) combines autoregression and rectified flow for unified multimodal understanding and generation. Autoregression represents a sequence through successive predictions conditioned on earlier elements. Rectified flow describes generation through continuous motion between distributions. SiT’s evaluations concentrate on producing an image from Gaussian noise under a category label. JanusFlow places a flow-based generation component in a system that also addresses understanding, with autoregression alongside it.

The connection runs through linear transport and velocity-based generation. SiT discusses rectified flow as earlier work on learning velocity along a linear path and measures what the linear path contributes when paired with the DiT backbone. JanusFlow carries rectified flow into a different setting, where image generation is part of a broader [vision and language](https://md.research.elamur.ai/free/en/topics/multimodal/) problem. The change is in the role the flow plays. SiT isolates it to examine how training and sampling affect generated images, while JanusFlow uses it together with a sequence prediction approach in a system with both generative and understanding tasks.

## Cite

Cite as Nanye Ma, Mark Goldstein, Michael S. Albergo, Nicholas M. Boffi, Eric Vanden-Eijnden and Saining Xie. 2024. SiT: Exploring Flow and Diffusion-Based Generative Models with Scalable Interpolant Transformers. Lecture notes in computer science.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1007/978-3-031-72980-5_2](https://doi.org/10.1007/978-3-031-72980-5_2) · [arXiv 2401.08740](https://arxiv.org/abs/2401.08740)

```bibtex
@inproceedings{ma2024sit,
  title = {{SiT: Exploring Flow and Diffusion-Based Generative Models with Scalable Interpolant Transformers}},
  author = {Nanye Ma, Mark Goldstein, Michael S. Albergo, Nicholas M. Boffi, Eric Vanden-Eijnden and Saining Xie},
  booktitle = {Lecture notes in computer science},
  year = {2024},
  doi = {10.1007/978-3-031-72980-5\_2},
  eprint = {2401.08740},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1007/978-3-031-72980-5_2}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
