{"slug": "same-tokenizer-better-tokens-choosing-image-tokens-by-map-inference", "title": "Same Tokenizer, Better Tokens: Choosing Image Tokens by MAP Inference", "summary": "Researchers introduced RecaP (Reconstruction and Predictability), a method that selects discrete visual tokens for a frozen vector-quantized tokenizer by balancing reconstruction fidelity against the likelihood of the code sequence under a pretrained autoregressive prior, with code released at github.com/gmum/recap. On ImageNet, LlamaGen GPT-B trained on RecaP tokens achieved lower early-checkpoint FID against training images than GPT-B trained on nearest-neighbour tokens, though the difference was smaller against held-out images, and on an ImageNet subset the prior improved generation at comparable reconstruction FID. The work targets a known weakness in tokenizers that assign each encoder feature its nearest code independently, since the decoder uses codes jointly and a sequence of individually nearest codes can reconstruct an image less faithfully than an alternative assignment.", "body_md": "arXiv:2611.33261v1 Announce Type: new \nAbstract: Discrete visual tokens encode images for reconstruction and serve as training targets for autoregressive image generators. Vector-quantized tokenizers typically assign each encoder feature its nearest code independently. The decoder uses these codes jointly, so a sequence of individually nearest codes can reconstruct an image less faithfully than an alternative assignment. A local model of the reconstruction loss yields a closest-vector problem with a decoder-dependent target and metric. Reconstruction-only search improves PSNR across the frozen tokenizers we test. Different code sequences can achieve similar reconstruction quality, leaving room to favour more predictable ones.\n  We introduce RecaP (Reconstruction and Predictability), which selects codes for a frozen tokenizer by balancing how faithfully they reconstruct the image with how likely their sequence is under a pretrained autoregressive prior. On ImageNet, LlamaGen GPT-B trained on RecaP tokens achieves lower early-checkpoint FID against training images than GPT-B trained on nearest-neighbour tokens. The difference is smaller against held-out images. On an ImageNet subset, the prior improves generation at comparable reconstruction FID. Our code is available at: https://github.com/gmum/recap", "url": "https://wpnews.pro/news/same-tokenizer-better-tokens-choosing-image-tokens-by-map-inference", "canonical_source": "https://arxiv.org/abs/2611.33261", "published_at": "2026-11-26 05:00:00+00:00", "updated_at": "2026-11-26 05:15:15.687118+00:00", "lang": "en", "topics": ["machine-learning", "generative-ai", "computer-vision", "ai-research", "neural-networks"], "entities": ["RecaP", "LlamaGen", "ImageNet", "GPT-B", "gmum"], "also_reported_by": [], "takeaway": "Selecting visual tokens by joint reconstruction-plus-prior likelihood (RecaP) instead of per-feature nearest-neighbour assignment lowered early-checkpoint FID for LlamaGen GPT-B on ImageNet, with the gain shrinking against held-out images.", "recommendation": {"advice": "When training autoregressive image generators, choose tokenizer codes by balancing reconstruction loss against sequence likelihood under the prior rather than nearest-neighbour assignment; RecaP lowered early-checkpoint FID on ImageNet.", "playbook": "training-data", "playbook_url": "https://wpnews.pro/playbooks/training-data"}, "alternates": {"html": "https://wpnews.pro/news/same-tokenizer-better-tokens-choosing-image-tokens-by-map-inference", "markdown": "https://wpnews.pro/news/same-tokenizer-better-tokens-choosing-image-tokens-by-map-inference.md", "text": "https://wpnews.pro/news/same-tokenizer-better-tokens-choosing-image-tokens-by-map-inference.txt", "jsonld": "https://wpnews.pro/news/same-tokenizer-better-tokens-choosing-image-tokens-by-map-inference.jsonld"}}