Papers › Tokenizer Generator Coupling in Medical Image Generation

Tokenizer Generator Coupling in Medical Image Generation

7 Aug 2026arXiv:2608.07713added by Syntology

Liam Chalcroft

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Latent medical image generators usually treat the tokenizer as fixed preprocessing. We test whether this separation is valid in a controlled ChestMNIST study at 64x64, crossing discrete tokenizers, generator families, and sampler settings under a shared latent grid, with continuous-latent reference cells. In this controlled setting, rankings depend jointly on the tokenizer, generator, and sampler: the best quantizer changes with the generator, and validation-based sampler selection changes the apparent generator ranking. We retrain the vocabulary-1024 interaction block at three seeds and the interaction survives (6 of 9 pairwise quantizer comparisons exceed three seed standard deviations), and we scope the wider single-seed grid accordingly. Reconstruction PSNR alone is not a reliable selection criterion; we instead introduce a generator-free statistic, neighbour-conditional predictive gain, that separates the quantizer families by downstream generation quality (rank-AUC 1.00) where reconstruction PSNR and marginal token entropy do not. On LFQ-1024, retuning D3PM and SE-D3PM (selected on a held-out validation split) moves them from default FID-192 0.44/0.41 to 0.09/0.10 at lower NFE, replicated across seeds; the continuous references were not given an equivalent sampler sweep. We report FID-192 as an internal ranking metric; it ranks consistently with standard FID-2048 (Spearman 0.80) and with a label-free classifier two-sample test (0.78). We interpret these results through a rate-distortion-modelability framing, where modelability is conditional on the generator, sampler, and inference budget. All experiments are at 64x64 on low-resolution medical-style images, unconditional, and evaluated with non-clinical FID-based metrics, and we scope every claim to that setting. Code: https://github.com/liamchalcroft/medtokenizers and https://github.com/liamchalcroft/medlatents.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2608.07713")

Code

Syntology Ran 14 of 20 code samples harvested from 2 repositories linked to this paper; 6 have no recorded run. Of those that ran: 14 ran with no contract checked.

By repository: found in paper text by Syntology: 20 samples from 2 repositories, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

liamchalcroft/medtokenizers found in paper text by Syntology report
liamchalcroft/medlatents found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 14 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14ran
6unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

collate_conditional_batch liamchalcroft/medlatents/src/medlatents/conditioning/collate.py found in paper text by Syntology ran MIT (permissive) · 2af91ede38d69da0 · report
compute_mae liamchalcroft/medtokenizers/src/medtokenizers/evaluation/metrics.py found in paper text by Syntology ran MIT (permissive) · 5c2e304ef7c3d032 · report
compute_mse liamchalcroft/medtokenizers/src/medtokenizers/evaluation/metrics.py found in paper text by Syntology ran MIT (permissive) · 4b806df4ec7208fb · report
compute_psnr liamchalcroft/medtokenizers/src/medtokenizers/evaluation/metrics.py found in paper text by Syntology ran MIT (permissive) · b6ddbbeb8cebe8e7 · report
create_conditional_collate_fn liamchalcroft/medlatents/src/medlatents/conditioning/collate.py found in paper text by Syntology ran MIT (permissive) · fe74f7596bc3cd62 · report
create_model_variants liamchalcroft/medlatents/src/medlatents/configs.py found in paper text by Syntology ran MIT (permissive) · a87d6af7f04a9527 · report
get_conv liamchalcroft/medtokenizers/src/medtokenizers/modules/layers.py found in paper text by Syntology ran MIT (permissive) · eaa2e30c02052d7b · report
get_cosine_schedule_with_warmup liamchalcroft/medlatents/src/medlatents/common/schedules.py found in paper text by Syntology ran MIT (permissive) · 6d05388476add5d7 · report
get_padding liamchalcroft/medtokenizers/src/medtokenizers/modules/layers.py found in paper text by Syntology ran fingerprinted MIT (permissive) · b10e8e79b1c89c97 · report
jaxtyped_compile_safe liamchalcroft/medtokenizers/src/medtokenizers/modules/utils.py found in paper text by Syntology ran MIT (permissive) · 3464031d3269e008 · report
load_latents liamchalcroft/medtokenizers/src/medtokenizers/inference.py found in paper text by Syntology ran MIT (permissive) · cb632039824220ae · report
pad_divisible liamchalcroft/medtokenizers/src/medtokenizers/preprocessing.py found in paper text by Syntology ran MIT (permissive) · d97836d8c1ecc9ee · report
percentile_normalize liamchalcroft/medtokenizers/src/medtokenizers/preprocessing.py found in paper text by Syntology ran MIT (permissive) · 834d158f1320c065 · report
resample_to_spacing liamchalcroft/medtokenizers/src/medtokenizers/preprocessing.py found in paper text by Syntology ran MIT (permissive) · 7061c151f4be243f · report
create_encoder liamchalcroft/medlatents/src/medlatents/conditioning/encoders.py found in paper text by Syntology unverified MIT (permissive) · 614326f7bc65a4c4 · report
get_config liamchalcroft/medtokenizers/src/medtokenizers/config.py found in paper text by Syntology unverified MIT (permissive) · 35851a6f82840307 · report
load_indices liamchalcroft/medtokenizers/src/medtokenizers/inference.py found in paper text by Syntology unverified MIT (permissive) · eb41b5ce332542b3 · report
sample_timesteps_u_shaped liamchalcroft/medlatents/src/medlatents/common/time.py found in paper text by Syntology unverified MIT (permissive) · de2375ed3a91d92c · report
sample_timesteps_uniform liamchalcroft/medlatents/src/medlatents/common/time.py found in paper text by Syntology unverified MIT (permissive) · c0b00bf63adf9872 · report
sample_timesteps_uniform_shifted liamchalcroft/medlatents/src/medlatents/common/time.py found in paper text by Syntology unverified MIT (permissive) · 78dfddf27211614b · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2608.07713, was issued in August 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections