SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.26860 · 2026

Amortized Moment Matching for Visual Generation

Xiangyu Yue, Pengfei Wan, Xintao Wang, Wenze Liu, Mmlab, Neural 𝜓, = 𝑎 " + 𝑎 # 𝑥 + 𝑎 $ 𝑥 $ + ⋯ + 𝑎, % 𝑥 % + ⋯ 𝒗, = 𝒙, % 𝐴 " + 𝐴 # 𝒙 ⊗# + ⋯ + 𝐴, 𝒙 ⊗%

arXiv · PDF · Open in the Atlas

Code that ran

11 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 7 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2607.26860.json · badge: /api/ran/2607.26860.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
poppuppy/amfd community
Papers with Code archive
11 ran · 3 no recorded run
FunctionStatusWhere it lives
FinalLayer Ran
ran on a synthesized input · constructed an object; no result was computed
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("05012eadd72a8228")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, FinalLayer: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Parameters for FinalLayer.__init__
channels = 4
out_channels = 3

ARGS = {
    "channels": channels,
    "out_channels": out_channels,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type FinalLayer — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a FinalLayer output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MlpEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("a5aa1c73efa8c043")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MlpEncoder: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from torch.utils.checkpoint import checkpoint

torch.manual_seed(0)

ARGS = {
    "in_channels": 4,
    "model_channels": 8,
    "num_res_blocks": 4,
    "out_channels": 3,
    "num_classes": 10,
    "num_adaln_blocks": 2,
    "grad_checkpointing": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MlpEncoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MlpEncoder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ResBlock Ran
ran on a synthesized input
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("f30fdfe486557b0d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import torch.nn.functional as F

INIT_ARGS = {
    "channels": 4,
}

ARGS = {
    "x": torch.randn(2, 4),
    "scale": torch.randn(2, 4),
    "shift": torch.randn(2, 4),
    "gate": torch.randn(2, 4),
}

class ResBlock(nn.Module):

    def __init__(self, channels):
        super().__init__()
        self.norm = nn.RMSNorm(channels, eps=1e-06, elementwise_affine=True)
        hidden_dim = int(channels * 1.5)
        self.w1 = nn.Linear(channels, hidden_dim * 2, bias=True)
        self.w2 = nn.Linear(hidden_dim, channels, bias=True)

    def forward(self, x, scale, shift, gate):
        h = self.norm(x) * (1.0 + scale) + shift
        h1, h2 = self.w1(h).chunk(2, dim=-1)
        h = self.w2(F.silu(h1) * h2)
        return x + h * gate


if __name__ == "__main__":
    model = ResBlock(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
TimestepEmbedder Ran
ran on a synthesized input · constructed an object; no result was computed
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("cea94e8ac480b940")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, TimestepEmbedder: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import math
import torch
from torch import nn

torch.manual_seed(0)

def timestep_embedding(t, dim, max_period=10000, time_factor: float=1.0):
    half = dim // 2
    out_dtype = t.dtype
    t = t.float() * float(time_factor)
    freqs = torch.exp(-math.log(max_period) * torch.arange(start=0, end=half, dtype=torch.float32, device=t.device) / half)
    args = t[:, None] * freqs[None]
    embedding = torch.cat([torch.cos(args), torch.sin(args)], dim=-1)
    if dim % 2:
        embedding = torch.cat([embedding, torch.zeros_like(embedding[:, :1])], dim=-1)
    return embedding.to(dtype=out_dtype)

class TimestepEmbedder(nn.Module):

    def __init__(self, hidden_size, frequency_embedding_size=256):
        super().__init__()
        self.mlp = nn.Sequential(nn.Linear(frequency_embedding_size, hidden_size, bias=True), nn.SiLU(), nn.Linear(hidden_size, hidden_size, bias=True))
        self.frequency_embedding_size = frequency_embedding_size

    def forward(self, t):
        t_freq = timestep_embedding(t, self.frequency_embedding_size)
        return self.mlp(t_freq)


# Create a small instance of TimestepEmbedder with tiny dimensions
hidden_size = 8
frequency_embedding_size = 4

embedder = TimestepEmbedder(hidden_size=hidden_size, frequency_embedding_size=frequency_embedding_size)

# Create input timesteps (batch size 2)
t = torch.tensor([0, 1], dtype=torch.int64)

ARGS = {
    "hidden_size": hidden_size,
    "frequency_embedding_size": frequency_embedding_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TimestepEmbedder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TimestepEmbedder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_feature_weight Ran
ran; our contract draft was wrong, not the code
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("3826925bc69ec8ae")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 4, dtype family float, shape (4, 1, 1, 1) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Construct arguments for _feature_weight(t: torch.Tensor, x: torch.Tensor)
# The function moves t to match x's device and dtype, then unsqueezes t until ndim matches x's ndim

# t: a tensor with fewer dimensions than x
t = torch.tensor([1.0, 2.0, 3.0, 4.0])  # shape: (4,), ndim=1

# x: a tensor with more dimensions
x = torch.randn(2, 3, 4, 5)  # shape: (2, 3, 4, 5), ndim=4, dtype=float32

ARGS = {
    "t": t,
    "x": x,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (4, 1, 1, 1) — shape (4, 1, 1, 1) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_linear_jvp Ran
ran; our contract draft was wrong, not the code
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("f5cdbd173d3eb015")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple Linear layer that will be used as the 'linear' parameter
linear = nn.Linear(in_features=4, out_features=3)

# Create input tensor x with shape (batch=2, features=4)
x = torch.randn(2, 4)

# Create tangent vector dx with same shape as x
dx = torch.randn(2, 4)

ARGS = {
    "linear": linear,
    "x": x,
    "dx": dx
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_res_block_jvp Ran
ran; our contract draft was wrong, not the code
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("5e8d57329a932536")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

# Build a minimal block that satisfies _res_block_jvp's usage
class MinimalResBlock(nn.Module):
    def __init__(self, dim_in, dim_hidden):
        super().__init__()
        self.norm = nn.RMSNorm(dim_in)
        # w1 projects to 2*dim_hidden (for chunking into h1, h2)
        self.w1 = nn.Linear(dim_in, 2 * dim_hidden)
        # w2 projects back from dim_hidden to dim_in
        self.w2 = nn.Linear(dim_hidden, dim_in)

class MinimalRMSNorm(nn.Module):
    def __init__(self, normalized_shape, eps=1e-6):
        super().__init__()
        self.normalized_shape = (normalized_shape,) if isinstance(normalized_shape, int) else tuple(normalized_shape)
        self.eps = eps
        self.weight = nn.Parameter(torch.ones(self.normalized_shape))

# Create block with distinct dimensions
dim_in = 4
dim_hidden = 3
block = MinimalResBlock(dim_in, dim_hidden)
# Override norm to use our minimal version
block.norm = MinimalRMSNorm(dim_in)

# Create tensors with batch size 2, feature dim 4
batch_size = 2
x = torch.randn(batch_size, dim_in)
dx = torch.randn(batch_size, dim_in)
scale = torch.randn(batch_size, 1)
shift = torch.randn(batch_size, 1)
gate = torch.randn(batch_size, 1)

ARGS = {
    "block": block,
    "x": x,
    "dx": dx,
    "scale": scale,
    "shift": shift,
    "gate": gate,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_rms_norm_jvp Ran
ran; our contract draft was wrong, not the code
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("6d387286c1a36592")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal RMSNorm-like class with the required attributes
class MinimalRMSNorm(nn.Module):
    def __init__(self, normalized_shape, eps=1e-6):
        super().__init__()
        self.normalized_shape = normalized_shape
        self.eps = eps
        self.weight = nn.Parameter(torch.ones(normalized_shape))
    
    def forward(self, x):
        return x

# Set up the arguments
norm = MinimalRMSNorm(normalized_shape=(3,), eps=1e-6)
x = torch.randn(2, 4, 3)  # batch=2, seq=4, hidden=3
dx = torch.randn(2, 4, 3)  # same shape as x

ARGS = {
    "norm": norm,
    "x": x,
    "dx": dx,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_silu_jvp Ran
ran; our contract draft was wrong, not the code
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("cdb677f7d7465d2e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for the function
# x: input tensor for SiLU activation
x = torch.randn(2, 4)

# dx: tangent vector (same shape as x) for Jacobian-vector product
dx = torch.randn(2, 4)

ARGS = {
    'x': x,
    'dx': dx,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_time_vector Ran
ran; our contract draft was wrong, not the code
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("4eecaf737de4b827")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create test tensors
# x: batch size 2, some feature dimension 4
x = torch.randn(2, 4, dtype=torch.float32)

# t: test with scalar (0-dim tensor) - one of the valid cases
t = torch.tensor(0.5, dtype=torch.float32)

ARGS = {
    't': t,
    'x': x,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
timestep_embedding Ran
ran; our contract draft was wrong, not the code
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("ecd79b7183df6033")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import math

torch.manual_seed(0)

# Construct valid arguments for timestep_embedding
t = torch.tensor([0, 5], dtype=torch.float32)  # batch size 2
dim = 4
max_period = 10000
time_factor = 1.0

ARGS = {
    "t": t,
    "dim": dim,
    "max_period": max_period,
    "time_factor": time_factor,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
A_apply Not yet run
unverified (harvested, no recorded run)
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("e3e9e43ad63aec36")
How it ran

no invocation recorded.

AmortizedFDLoss Not yet run
unverified (harvested, no recorded run)
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("288615e45e430105")
How it ran

no invocation recorded.

manual_mlp_jvp Not yet run
unverified (harvested, no recorded run)
poppuppy/amfd/models/amfd_loss.py
code served (permissive licence) · get_code("361bb11a33d8b476")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We propose amortized moment matching, utilizing neural networks to learn data moments as distributional training signals. By casting diffusion denoisers through polynomial projections, we establish a general framework for moment amortization, revealing that an n-th degree projection explicitly identifies data moments up to order n + 1. Derived from the tractable affine case, we instantiate the Amortized Fréchet Distance (AMFD) loss. Unlike FD-loss which relies on explicit marginal moment calculations, AMFD is able to dynamically learn conditional moments via an alternating, matrix-free optimization pipeline that effortlessly scales to high-dimensional data. When operating on global representation features, AMFD serves as a powerful post-training objective; empirically, its neural formulation yields more robust training dynamics than exact statistical matching, substantially surpassing the FD baseline on the FDr 6 metric and achieving superior one-step generation on ImageNet. Furthermore, it unlocks direct exploration within native generative spaces, suggesting that the first two moments can identify target distributions only in spaces with strong semantics. Finally, when scaled to text-to-image generation, the condition-aware nature of AMFD unlocks massive gains in instruction-following capabilities, enabling our one-step models to outperform their multi-step FLUX.2 [klein] 4B teachers on the GenEval benchmark while achieving on-par performance on PickScore. Code and checkpoints are available at https://github.com/poppuppy/amfd.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2607.26860")
get_code_for_paper("2607.26860")
have("2607.26860")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2607.26860.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2607.26860.svg)](https://syntology.ai/paper/2607.26860)

Connect an agent — have() is free.