Highly Compressed Tokenizer Can Generate Without Training

L. L. Beyer, T. Li, X. Chen, S. Karaman, K. He
2/14/2026

No official code found. Best implementation: lukaslaobeyer/token-opt (204 stars, last commit 2025-06-10).

Abstract

Commonly used image tokenizers produce a 2D grid of spatially arranged tokens. In contrast, so-called 1D image tokenizers represent images as highly compressed one-dimensional sequences of as few as 32 discrete tokens. We find that the high degree of compression achieved by a 1D tokenizer with vector quantization enables image editing and generative capabilities through heuristic manipulation of tokens, demonstrating that even very crude manipulations -- such as copying and replacing tokens between latent representations of images -- enable fine-grained image editing by transferring appearance and semantic attributes. Motivated by the expressivity of the 1D tokenizer's latent space, we construct an image generation pipeline leveraging gradient-based test-time optimization of tokens with plug-and-play loss functions such as reconstruction or CLIP similarity. Our approach is demonstrated for inpainting and text-guided image editing use cases, and can generate diverse and realistic samples without requiring training of any generative model.

View on arXivView PDF

Code Implementations(1)

Code for ICML 2025 Paper "Highly Compressed Tokenizer Can Generate Without Training"

20413Nix, PythonMay 24, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{beyer2026highly,
  title  = {Highly Compressed Tokenizer Can Generate Without Training},
  author = {L. L. Beyer and T. Li and X. Chen and S. Karaman and K. He},
  year   = {2026},
  eprint = {2506.08257},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2506.08257},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.08257.svg)](https://codeofpaper.com/paper/2506.08257)

Discussion