Lune

ICLR2025Top-tier venue

Adaptive Length Image Tokenization via Recurrent Allocation

Shivam Duggal, Phillip Isola, Antonio Torralba, William T. Freeman

Abstract

Current vision systems typically assign fixed-length representations to images, regardless of the information content. This contrasts with human intelligence -and even large language models-which allocate varying representational capacities based on entropy, context and familiarity. Inspired by this, we propose an approach to learn variable-length token representations for 2D images. Our encoder-decoder architecture recursively processes 2D image tokens, distilling them into 1D latent tokens over multiple iterations of recurrent rollouts. Each iteration refines the 2D tokens, updates the existing 1D latent tokens, and adaptively increases representational capacity by adding new tokens. This enables compression of images into a variable number of tokens, ranging from 32 to 256. We validate our tokenizer using reconstruction loss and FID metrics, demonstrating that token count aligns with image entropy, familiarity and downstream task requirements. Recurrent token processing with increasing representational capacity in each iteration shows signs of token specialization, revealing potential for object / part discovery. Code available at https://github.com/ ShivamDuggal4/adaptive-length-tokenizer .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

27 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Emerging Properties in Self-Supervised Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Latent Denoising Makes Good Tokenizers cites Emerging Properties in Self-Supervised Vision Transformers
  • Latent Denoising Makes Good Tokenizers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Attend Before Attention: Efficient and Scalable Video Understanding via Autoregressive Gazing cites DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification
  • Attend Before Attention: Efficient and Scalable Video Understanding via Autoregressive Gazing cites Single-pass Adaptive Image Tokenization for Minimum Program Search
  • An Empirical Study of Training Self-Supervised Vision Transformers cites Emerging Properties in Self-Supervised Vision Transformers
  • An Empirical Study of Training Self-Supervised Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Dynamic Chunking for End-to-End Hierarchical Sequence Modeling cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Single-pass Adaptive Image Tokenization for Minimum Program Search cites Emerging Properties in Self-Supervised Vision Transformers
  • Single-pass Adaptive Image Tokenization for Minimum Program Search cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Single-pass Adaptive Image Tokenization for Minimum Program Search cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • CAT: Content-Adaptive Image Tokenization cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • CAT: Content-Adaptive Image Tokenization cites DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers27

  1. Dynamic Chunking for End-to-End Hierarchical Sequence ModelingSukjun Hwang, Brandon Wang, Albert GuICLR 2026 · 76 citations
  2. Latent Denoising Makes Good TokenizersJiawei Yang, Tianhong Li, Lijie Fan, Yonglong Tian et al.ICLR 2026 · 17 citations
  3. CAT: Content-Adaptive Image TokenizationJunhong Shen, Kushal Tirumala, Michihiro Yasunaga, Ishan Misra et al.NeurIPS 2025 · 17 citations
  4. Single-pass Adaptive Image Tokenization for Minimum Program SearchShivam Duggal, Sanghyun Byun, Bill Freeman, Antonio Torralba et al.NeurIPS 2025 · 11 citations
  5. Attend Before Attention: Efficient and Scalable Video Understanding via Autoregressive GazingBaifeng Shi, Stephanie Fu, Long Lian, Hanrong Ye et al.CVPR 2026 · 9 citations

Builds on22

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
  3. Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
  4. An Empirical Study of Training Self-Supervised Vision TransformersXinlei Chen, Saining Xie, Kaiming HeICCV 2021 · 2,340 citations
  5. DynamicViT: Efficient Vision Transformers with Dynamic Token SparsificationYongming Rao, Wenliang Zhao, Benlin Liu, Jiwen Lu et al.NeurIPS 2021 · 1,343 citations

Related papers

  1. GigaTok: Scaling Visual Tokenizers to 3 Billion Parameters for Autoregressive Image GenerationTianwei Xiong, Jun Hao Liew, Zilong Huang, Jiashi Feng et al.ICCV 2025 · 2 citations
  2. Variable-Length Tokenization via Learnable Global Merging for Diffusion TransformersDong Hoon Lee, Seunghoon HongICML 2026
  3. VideoFlexTok: Flexible-Length Coarse-to-Fine Video TokenizationAndrei Atanov, Jesse Allardice, Roman Bachmann, Oğuzhan Fatih Kar et al.ICML 2026 · 3 citations
  4. DPAR: Dynamic Patchification for Efficient Autoregressive Visual GenerationDivyansh Srivastava, Akshay Mehra, Pranav Maneriker, Debopam Sanyal et al.CVPR 2026 · 1 citation
  5. ElasticTok: Adaptive Tokenization for Image and VideoWilson Yan, Volodymyr Mnih, Aleksandra Faust, Matei Zaharia et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines