mlsanityData to 14 Oct 2026

Multidimensional Byte Pair Encoding: Shortened Sequences for Improved Visual Data Generation

arXiv 2411.10281 ↗First posted 15 Nov 2024cs.CV cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

In language processing, transformers benefit greatly from text being condensed. This is achieved through a larger vocabulary that captures word fragments instead of plain characters. This is often done with Byte Pair Encoding. In the context of images, tokenisation of visual data is usually limited to regular grids obtained from quantisation methods, without global content awareness. Our work improves tokenisation of visual data by bringing Byte Pair Encoding from 1D to multiple dimensions, as a complementary add-on to existing compression. We achieve this through counting constellations of token pairs and replacing the most frequent token pair with a newly introduced token. The multidimensionality only increases the computation time by a factor of 2 for images, making it applicable even to large datasets like ImageNet within minutes on consumer hardware. This is a lossless preprocessing step. Our evaluation shows improved training and inference performance of transformers on visual data achieved by compressing frequent constellations of tokens: The resulting sequences are shorter, with more uniformly distributed information content, e.g. condensing empty regions in an image into single tokens. As our experiments show, these condensed sequences are easier to process. We additionally introduce a strategy to amplify this compression further by clustering the vocabulary.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 46 of its 69 references that are in the map. First posted on arXiv 15 Nov 2024.

Builds on

46 of 69 references.

References · 46

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2022Flow Matching for Generative Modelingcited by 5,702
  7. 2016PointNet: Deep Learning on Point Sets for 3D Classification and Segmentationcited by 5,248
  8. 2017Neural Discrete Representation Learningcited by 4,712
  9. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  10. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  11. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  12. 2014Going Deeper with Convolutionscited by 4,241
34 more
  1. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  2. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  3. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  4. 2015ShapeNet: An Information-Rich 3D Model Repositorycited by 2,897
  5. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  6. 2021Mip-NeRF: A Multiscale Representation for Anti-Aliasing Neural Radiance Fieldscited by 1,964
  7. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,387
  8. 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 774
  9. 2022Autoregressive Image Generation using Residual Quantizationcited by 722
  10. 2021VideoGPT: Video Generation using VQ-VAE and Transformerscited by 658
  11. 2024Movie Gen: A Cast of Media Foundation Modelscited by 644
  12. 2024An Image is Worth 32 Tokens for Reconstruction and Generationcited by 302
  13. 2023Emu: Enhancing Image Generation Models Using Photogenic Needles in a Haystackcited by 279
  14. 2017GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibriumcited by 213
  15. 2017PixelSNAIL: An Improved Autoregressive Generative Modelcited by 137
  16. 2023CCEdit: Creative and Controllable Video Editing via Diffusion Modelscited by 82
  17. 2023Towards Accurate Image Coding: Improved Autoregressive Image Generation with Dynamic Vector Quantizationcited by 60
  18. 2024MambaByte: Token-free Selective State Space Modelcited by 59
  19. 2020Robust Training of Vector Quantized Bottleneck Modelscited by 54
  20. 2023Designing a Better Asymmetric VQGAN for StableDiffusioncited by 45
  21. 2024Adaptive Length Image Tokenization via Recurrent Allocationcited by 43
  22. 2021Octree Transformer: Autoregressive 3D Shape Generation on Hierarchically Structured Sequencescited by 39
  23. 2023Vision Transformers with Mixed-Resolution Tokenizationcited by 36
  24. 2023Efficient-VQGAN: Towards High-Resolution Image Generation with Efficient Vision Transformerscited by 33
  25. 2023BIVDiff: A Training-Free Framework for General-Purpose Video Synthesis via Bridging Image and Video Diffusion Modelscited by 20
  26. 2024LookupViT: Compressing visual information to a limited number of tokenscited by 17
  27. 2024From Pixels to Tokens: Byte-Pair Encoding on Quantized Visual Modalitiescited by 16
  28. 2021EdiBERT, a generative model for image editingcited by 13
  29. 2022A Novel Sampling Scheme for Text- and Image-Conditional Image Synthesis in Quantized Latent Spacescited by 11
  30. 2024T-FREE: Subword Tokenizer-Free Generative LLMs via Sparse Representations for Memory-Efficient Embeddingscited by 10
  31. 2023Viewpoint Textual Inversion: Discovering Scene Representations and 3D View Control in 2D Diffusion Modelscited by 7
  32. 2021Discrete Acoustic Space for an Efficient Sampling in Neural Text-To-Speechcited by 3
  33. 2024Quantised Global Autoencoder: A Holistic Approach to Representing Visual Datacited by 3
  34. 2024One-Shot Learning Meets Depth Diffusion in Multi-Object Videoscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.