TL;DR
Kelix is a fully discrete, autoregressive unified multimodal model that bridges the long-standing performance gap between discrete and continuous visual representations. By leveraging a novel product-quantization-based tokenization mechanism and a next-block prediction paradigm, Kelix achieves state-of-the-art multimodal understanding (matching continuous-feature models on text-rich tasks) while maintaining top-tier image generation capabilities.
What Problem Does This Paper Address?
Mainstream vision-language models (VLMs) typically rely on a hybrid architecture: discrete text tokens paired with continuous visual features from a Vision Transformer (ViT). While highly effective for comprehension, this hybrid setup biases models toward understanding and prevents them from fully exploiting large-scale self-supervised learning on non-text data.
To achieve true unification, recent works have explored fully discrete autoregressive modeling, converting images into discrete tokens just like text. However, these models suffer from an information bottleneck: a single discrete token carries far less information capacity than a continuous embedding. This capacity limit leads to a severe drop in performance on fine-grained understanding tasks, particularly text-rich and OCR benchmarks, where discrete models have historically lagged far behind their continuous counterparts.
Methods
The authors introduce Kelix, which overcomes the discrete information bottleneck through three core architectural innovations:
- Product-Quantization Tokenizer (Kelix-Tok): Instead of mapping an entire image patch embedding to a single discrete token, Kelix decomposes each continuous patch feature into $N$ parallel subspaces via learned projection matrices. Each subspace is quantized independently using its own sub-codebook, exponentially expanding the combinatorial coding capacity.
- Next-Block Prediction (NBP): Generating $N$ tokens per patch would normally explode the LLM's context length. To prevent this, Kelix aggregates the $N$ sub-tokens via sum pooling into a single composite token on the input side. Autoregressively, the model organizes sequences into "blocks" (e.g., $N$ visual tokens plus an end-of-block
<eob>token). The LLM backbone (Qwen3-8B) predicts the entire next block at each step, maintaining the efficiency of single-token methods. - Diffusion-based Detokenizer (Kelix-DiT): For image generation, Kelix bypasses the quality limitations of traditional discrete decoders. It takes the continuous hidden states of the LLM's visual blocks and feeds them as semantic conditions into a customized Diffusion Transformer (based on SANA-DiT) to render high-resolution (1024×1024) images.
Datasets
Kelix is trained on a massive, diverse corpus exceeding 1 trillion tokens across four progressive stages:
- Understanding Data: Standard captioning and VQA datasets (LAION, DataComp, Coyo, ShareGPT-4o, Docmatix) alongside text-rich OCR datasets (OneVision, CodeOCR, SynthDoG). The authors specifically apply rejection sampling to natural images to curate text-dense, hard-to-read samples.
- Generation Data: CommonCatalog, midjourney-niji-1m-llavanext, and synthesized high-quality text-to-image datasets. Candidate images are filtered using Qwen2.5-VL-72B as a multi-dimensional judge evaluating text fidelity, aesthetics, and safety.
- Evaluation Benchmarks: Evaluated across a suite of standard benchmarks including SEED-Bench, RealWorldQA, MMBench, AI2D, MMMU, MathVista, ChartQA, TextVQA, and OCRBench for understanding; and GenEval, WISE, and DPG-Bench for image generation.
Key Insights and Ideas
- Asymmetric Design Balances Expressivity and Efficiency: Sum pooling the multi-token representations on the encoder side keeps the LLM's input sequence length identical to single-token baselines, while the decoder retains the full $N$-way discrete codes to preserve fine-grained details during generation.
- Independent Sub-codebooks Prevent Confusion: Ablation studies revealed that forcing sub-tokens to share a single codebook causes a catastrophic drop in performance (-12.3% on text-rich tasks). Independent sub-codebooks are essential for learning disentangled visual concepts.
- Sum Pooling Beats Mean Pooling: Summing sub-token embeddings preserves overall information content and signal magnitude much better than averaging, yielding a distinct advantage on detail-sensitive text-rich benchmarks.
Key Results
Kelix effectively eliminates the understanding penalty associated with discrete tokenization:
- OCRBench Breakthrough: Kelix achieves an OCRBench score of 86.7%, representing a 23% relative improvement over the previous best discrete model (X-Omni at 70.4%) and matching the performance of the continuous, understanding-only Qwen2.5-VL (7B) baseline (86.4%).
- Superior Visual Reasoning: On MathVista, Kelix scores 76.5%, vastly outperforming discrete competitors like Emu3 (47.6%) and even surpassing larger continuous/hybrid models like Bagel 14B (73.1%) and Manzano 30B (73.3%).
- State-of-the-Art Generation: On the object-focused GenEval benchmark, Kelix achieves a SOTA score of 87.6% among discrete unified models, outperforming Nextflow and X-Omni (both at 83.0%).
Limitations and Future Work
While Kelix successfully closes the visual understanding gap for static images, the current framework is limited to text and image modalities. The authors note that their next immediate step is extending the product-quantization and next-block prediction paradigms to video understanding and generation, moving closer toward a fully unified, discrete multimodal intelligence.
Summary updated