dRAE: Representation Autoencoder with Hyper-Spherical Codes
Tianren Ma, Lin Long, Chuyan Chen, Mu Zhang, Junbo Zhao, Tong Zhang, Qixiang Ye
NeurIPS page · Open on the map
Category: Diffusion & Image Generation › Discrete Vision Tokenization · Type: new method · Keywords: visual tokenization, hyper-spherical quantization, codebook collapse, representation autoencoder, multi-modal models
Areas: Multimodal › Multimodal Creation and Editing › Unified multimodal models; Model Architectures & Sequence Modeling › Vision and Generative Architectures › Discrete Image Tokenization
Summary
dRAE introduces a hyper-spherical quantization method that discretizes vision representations, enabling scalable discrete latent spaces with high-fidelity reconstruction.
Explained to a 5-year-old
The paper makes a new way to turn pictures into tiny codes that computers can read. It uses angles to decide which code to pick, so the size of the picture doesn't mess things up. This helps the computer understand pictures better and also draw new pictures. The method works even when there are many different codes, making it useful for big projects. It solves a problem where old methods forgot many codes and stopped working well.
Explained to a 5-year-old, longer
The paper is about helping computers understand pictures by turning them into a special kind of code. Usually, pictures are turned into long lists of numbers, but those numbers can be too big for computers to handle easily. The authors noticed that some old ways of making codes forget many of the possible codes, which makes the computer less accurate. They found out that the problem happens because the codes are measured using regular distances, which don't match how picture information is spread out. To fix this, they created a new method that looks at the direction (angle) of the picture information instead of just its size. By focusing on angles, the codes can capture the meaning of the picture without being confused by how big the numbers are. This new method allows the computer to store pictures using a huge set of codes, up to 131,072 different ones. With many codes, the computer can keep more details about the picture, making it easier to understand and generate new images. The approach works well for both tasks where the computer needs to recognize what is in a picture and tasks where it needs to create new pictures. Experiments show that the performance keeps improving as they add more codes, unlike older methods that plateau. The result is a more reliable and scalable way to turn pictures into codes for multi-modal models. This helps future AI systems handle visual information more accurately and efficiently.
For a technical reader
The paper introduces a technique to turn continuous visual representations into discrete codes that can be used by language-model-style tokenizers. It observes that existing quantization methods often collapse many codes because they focus on the magnitude of the vectors, causing loss of semantic information. The solution routes vectors based on their direction (angle) rather than size, separating content from scale and preventing code collapse. This angular routing allows the system to scale to a very large codebook (131,072 codes) while keeping reconstruction quality high for both image understanding and generation tasks. The result is a more stable and scalable visual tokenizer that can be integrated into multi-modal models without sacrificing performance.
Problem
Discretizing continuous vision representations for visual tokenizers is challenging because existing quantization methods suffer from codebook collapse and cannot scale while preserving semantic coherence.
Method
The approach decouples semantic content from feature magnitude by routing based on angular similarity, using a hyper-spherical codebook to assign discrete codes, and training the quantization to preserve semantic relationships while scaling to large vocabularies.
Results
The approach shows consistent performance gains as the vocabulary size scales to 131,072 and achieves strong results on both visual understanding and generation benchmarks.
Contributions
It identifies metric mismatch as the cause of codebook collapse, proposes a hyper-spherical quantization technique that separates magnitude from semantics, and demonstrates scalable discrete latent spaces for vision representations.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction