Reproduce “Same Tokenizer, Better Tokens: Choosing Image Tokens by MAP Inference” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Piotr Kubaty, Jacek Tabor, Łukasz Struski

RecaP changes image-tokenization assignments for a fixed tokenizer, searching for codes that preserve reconstruction while improving predictability for a frozen autoregressive prior. It leaves the tokenizer and generator training recipe unchanged. On ImageNet-1k, class-conditional LlamaGen GPT-B reached epoch-100 training-reference gFID-50k of 5.77, versus 6.90 with nearest-neighbour tokens. The held-out comparison was smaller and statistically inconclusive.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.