SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.27102 · 2026

JLT: Clean-Latent Prediction in Latent Diffusion Transformers

Guanyu Zhou, Funing Fu, Tenghui Wang, Junyong Cen, Qichao Zhu

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 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/2605.27102.json · badge: /api/ran/2605.27102.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
akatsuki-neo/JLT canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
FunctionStatusWhere it lives
add_weight_decay Ran
ran; our contract draft was wrong, not the code
akatsuki-neo/JLT/misc.py
code served (permissive licence) · get_code("3e2b8a000ecc20ca")
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 list, ndim 1, 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

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
        self.bias_layer = nn.Linear(2, 1)
        self.diffloss_param = nn.Parameter(torch.randn(5))
        
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        x = self.bias_layer(x)
        return x

model = SimpleModel()

ARGS = {
    'model': model,
    'weight_decay': 0.01,
    'skip_list': ('linear1.weight',)
}
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 list, ndim 1, dtype family float — a list 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
adjust_learning_rate Ran
ran, honoured the contract we drafted
akatsuki-neo/JLT/util/lr_sched.py
code served (permissive licence) · get_code("3a774664bfc712ec")
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 float, ndim 0, dtype family float, shape () 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 torch.nn as nn
import torch.optim as optim

torch.manual_seed(0)

# Create a small model to optimize
model = nn.Linear(4, 2)

# Create an optimizer
optimizer = optim.SGD(model.parameters(), lr=0.1)

# Add a parameter group with lr_scale to test that code path
optimizer.add_param_group({'params': [nn.Parameter(torch.randn(3, 4))], 'lr_scale': 0.5})

# Create args dict with all required parameters
ARGS = {
    'optimizer': optimizer,
    'epoch': 5,
    'args': type('Args', (), {
        'warmup_epochs': 2,
        'epochs': 10,
        'lr': 0.1,
        'min_lr': 0.001,
        'lr_schedule': 'cosine'
    })()
}
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 float, ndim 0, dtype family float, shape () — shape () 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
all_reduce_mean Ran
ran, honoured the contract we drafted
akatsuki-neo/JLT/misc.py
code served (permissive licence) · get_code("3dc19396537db789")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch.distributed as dist

torch.manual_seed(0)

# The function all_reduce_mean takes a single parameter 'x'
# Looking at the function body:
# - x is converted to a torch.tensor
# - If world_size > 1, it's moved to cuda and used with dist.all_reduce
# - Otherwise, x is returned as-is
# Since we're CPU-only and dist is not initialized, the function will return x unchanged
# We need to provide a numeric value that can be converted to a tensor

ARGS = {
    "x": 5.0
}
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 float, ndim 0, dtype family float, shape () — shape () 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
broadcat Ran
ran, honoured the contract we drafted
akatsuki-neo/JLT/util/model_util.py
code served (permissive licence) · get_code("f50a8d20efb35c68")
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, 12) 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 with different shapes that are broadcastable
# along all dimensions except the concatenation dimension
tensor1 = torch.randn(2, 4)  # shape (2, 4)
tensor2 = torch.randn(1, 4)  # shape (1, 4) - broadcastable to (2, 4) except dim 1
tensor3 = torch.randn(2, 4)  # shape (2, 4)

tensors = [tensor1, tensor2, tensor3]

ARGS = {
    'tensors': tensors,
    'dim': -1
}
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, 12) — shape (2, 12) 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
build_shard_index Ran
ran; our contract draft was wrong, not the code
akatsuki-neo/JLT/latent_dataset.py
code served (permissive licence) · get_code("8bad335789e204f6")
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 list, 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 os
import tempfile
import json
from safetensors.torch import save_file

torch.manual_seed(0)

# Create a temporary directory with mock shard files
temp_dir = tempfile.mkdtemp()

# Create mock safetensors shard files with labels tensors
num_shards = 2
for i in range(num_shards):
    shard_path = os.path.join(temp_dir, f'latents_{i}.safetensors')
    # Create a small labels tensor (num_samples, )
    num_samples = 5 + i  # Different sizes for each shard
    labels = torch.arange(num_samples, dtype=torch.long)
    save_file({'labels': labels}, shard_path)

ARGS = {
    'data_dir': temp_dir,
    'force': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
safetensors, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list 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
build_vae Ran
ran; our contract draft was wrong, not the code
akatsuki-neo/JLT/vae.py
code served (permissive licence) · get_code("dadc1fccf5031ecc")
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 IdentityVAE. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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)

# Build the smallest valid arguments for build_vae()
# The function takes 'name' (str) and **kwargs

# Test with 'identity' VAE which is simpler and doesn't require downloads
ARGS = {
    'name': 'identity',
    'in_channels': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
diffusers, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type IdentityVAE — a IdentityVAE output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a IdentityVAE 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
center_crop_arr Ran
ran; our contract draft was wrong, not the code
akatsuki-neo/JLT/util/crop.py
code served (permissive licence) · get_code("1712a07966b542ee")
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 Image. 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 numpy as np
from PIL import Image

# Create a small test image
width, height = 256, 256
pil_image = Image.new('RGB', (width, height), color='red')

# Define arguments
ARGS = {
    'pil_image': pil_image,
    'image_size': 64
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
rotate_half Ran
ran; our contract draft was wrong, not the code
akatsuki-neo/JLT/util/model_util.py
code served (permissive licence) · get_code("58823d9435a8751b")
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
from einops import rearrange, repeat

torch.manual_seed(0)

# The function rotate_half takes a single parameter 'x' which is a tensor
# It expects x to have a shape where the last dimension is even (divisible by 2)
# The function rearranges it as '... (d r) -> ... d r' with r=2
# This means the last dimension should be split into (d, 2)

# Create a small tensor with batch size 2 and last dimension of 4
# Shape: (2, 4) - batch of 2, last dim is 4 (which becomes d=2, r=2)
x = torch.randn(2, 4)

ARGS = {
    'x': x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, 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
modulate Not yet run
unverified (harvested, no recorded run)
akatsuki-neo/JLT/model_jit.py
code served (permissive licence) · get_code("5c1a59ed3feed147")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 5 later) and 4 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.

FunctionAlso present inEarliest-datedOthers named
center_crop_arr 37 other papers
36 dated earlier, 1 later
2211.17091 (2022-11)
Refining Generative Process with Discriminator Guidance in Score-based Diffusion Models
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
2311.09257 (2023-11)
UFOGen: You Forward Once Large Scale Text-to-Image Generation via Diffusion GANs
and 34 more not named here
all_reduce_mean 25 other papers
23 dated earlier, 2 later
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2204.09435 (2022-04)
Hephaestus: A large scale multitask dataset towards InSAR understanding
2211.12941 (2022-11)
EurNet: Efficient Multi-Range Relational Modeling of Spatial Multi-Relational Data
and 22 more not named here
rotate_half 21 other papers
20 dated earlier, 1 later · 5 only as an assembly brick
2104.09864 (2021-04)
RoFormer: Enhanced Transformer with Rotary Position Embedding
2205.07514 (2022-05)
Residual Local Feature Network for Efficient Super-Resolution
2211.10658 (2022-11)
EDGE: Editable Dance Generation From Music
and 18 more not named here
broadcat 20 other papers
19 dated earlier, 1 later · 5 only as an assembly brick
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2205.07514 (2022-05)
Residual Local Feature Network for Efficient Super-Resolution
2211.10658 (2022-11)
EDGE: Editable Dance Generation From Music
and 17 more not named here
adjust_learning_rate 3 other papers
2 dated earlier, 1 later
2502.17437 (2025-02)
Fractal Generative Models
2503.10568 (2025-03)
Autoregressive Image Generation with Randomized Parallel Decoding
2607.17849 (2026-07)
AlphaOracle: Oracle bone script decipherment via human-workflow-inspired deep learning

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

Flow matching with clean-data prediction has shown that regressing the clean point can exploit lowdimensional structure more effectively than predicting an ambient noised quantity. We ask whether this principle remains useful after images are mapped into a learned latent space, where compression has already removed much of the raw pixel variability. We instantiate this comparison with JLT, a controlled 130M latent diffusion Transformer over frozen FLUX.2 VAE codes, and compare clean-latent prediction with a matched velocity-prediction DiT under the same representation, backbone, and training settings. Although x, ϵ, and v are linearly convertible for a fixed corruption time, a local Gaussian analysis shows that velocity regression inherits an isotropic target-covariance floor and amplifies low-variance latent directions, while clean prediction damps them. On ImageNet 256 × 256, JLT-B/1 obtains FID-50K 2.50 with classifier-free guidance, with a large matched-target gap over velocity prediction. These results suggest that prediction targets in latent diffusion are representation-dependent geometric choices, rather than interchangeable algebraic parameterizations. Code is available at https: //github.com/akatsuki-neo/JLT.

For agents

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

get_harvested_code_for_paper("2605.27102")
get_code_for_paper("2605.27102")
have("2605.27102")

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

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

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

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

Connect an agent — have() is free.