SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.19722 · ICLR · 2025

JetFormer: An Autoregressive Generative Model of Raw Images and Text

Michael Tschannen, Alexander Kolesnikov, Susano Pinto

arXiv · PDF · Open in the Atlas

Code that ran

2 of 3 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 1 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2411.19722.json · badge: /api/ran/2411.19722.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
google-research/big_vision canonical (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
FunctionStatusWhere it lives
text_to_image_retrieval_eval Ran
ran; our contract draft was wrong, not the code
google-research/big_vision/big_vision/evaluators/proj/image_text/image_text_retrieval.py
code served (permissive licence) · get_code("71393273a1210e33")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned dict. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-05T00:22:34Z). 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

# Create a small distance matrix: 3 images x 4 texts
# Shape: (N_IMAGES, N_TEXTS) = (3, 4)
dist_matrix = np.array([
    [0.1, 0.5, 0.9, 1.2],
    [1.5, 0.2, 0.3, 0.8],
    [2.0, 1.8, 0.4, 0.1]
], dtype=np.float32)

# Correspondence: 4 texts mapped to 3 images
# text 0 -> image 0
# text 1 -> image 0
# text 2 -> image 1
# text 3 -> image 2
text_image_correspondence = [0, 0, 1, 2]

ARGS = {
    "dist_matrix": dist_matrix,
    "text_image_correspondence": text_image_correspondence,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
right_align Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
google-research/big_vision/big_vision/models/proj/jetformer/jetformer.py
code served (permissive licence) · get_code("ecdd49907e267cdc")
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 jax
import jax.numpy as jnp

# Set seed for reproducibility
jax.config.update('jax_platform_name', 'cpu')

# Create small test tensors
batch_size = 2
seq_len = 4

# x: shape (batch_size, seq_len, feature_dim) - but vmap removes first dim
# So inside vmap, x has shape (seq_len, feature_dim)
x = jnp.ones((seq_len, 3), dtype=jnp.float32)

# attn_mask: shape (batch_size, seq_len, seq_len) - vmap removes first dim
# So inside vmap, attn_mask has shape (seq_len, seq_len)
attn_mask = jnp.ones((seq_len, seq_len), dtype=jnp.float32)

# input_mask: shape (batch_size, seq_len) - vmap removes first dim
# So inside vmap, input_mask has shape (seq_len,)
input_mask = jnp.array([1, 1, 1, 0], dtype=jnp.float32)

# Wrap in batch dimension for vmap
x_batched = jnp.stack([x, x])  # shape (2, 4, 3)
attn_mask_batched = jnp.stack([attn_mask, attn_mask])  # shape (2, 4, 4)
input_mask_batched = jnp.stack([input_mask, input_mask])  # shape (2, 4)

ARGS = {
    "x": x_batched,
    "attn_mask": attn_mask_batched,
    "input_mask": input_mask_batched,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
jax — 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
image_to_text_retrieval_eval Not yet run
unverified (harvested, no recorded run)
google-research/big_vision/big_vision/evaluators/proj/image_text/image_text_retrieval.py
code served (permissive licence) · get_code("fa422d5f3b0b46d9")
How it ran

no invocation recorded. this sample carries JSON test cases instead of a setup block; get_reference_implementation serves them with the level they back.

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 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 3 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

Removing modeling constraints and unifying architectures across domains has been a key driver of the recent progress in training large multimodal models. However, most of these models still rely on many separately trained components such as modality-specific encoders and decoders. In this work, we further streamline joint generative modeling of images and text. We propose an autoregressive decoder-only transformer-JetFormer-which is trained to directly maximize the likelihood of raw data, without relying on any separately pretrained components, and can understand and generate both text and images. Specifically, we leverage a normalizing flow model to obtain a soft-token image representation that is jointly trained with an autoregressive multimodal transformer. The normalizing flow model serves as both an image encoder for perception tasks and an image decoder for image generation tasks during inference. JetFormer achieves text-toimage generation quality competitive with recent VQVAE-and VAE-based baselines. These baselines rely on pretrained image autoencoders, which are trained with a complex mixture of losses, including perceptual ones. At the same time, JetFormer demonstrates robust image understanding capabilities. To the best of our knowledge, JetFormer is the first model that is capable of generating highfidelity images and producing strong log-likelihood bounds.

For agents

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

get_harvested_code_for_paper("2411.19722")
get_code_for_paper("2411.19722")
have("2411.19722")

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

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

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

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

Connect an agent — have() is free.