OpenOneRec commited on
Commit
9ac6353
·
verified ·
1 Parent(s): e6b968d

Update README model card (Kelix technique report)

Browse files
Files changed (1) hide show
  1. README.md +96 -0
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ library_name: "muse"
5
+ tags:
6
+ - text-to-image
7
+ - image-generation
8
+ - diffusion
9
+ - diffusion-transformer
10
+ - DiT
11
+ - flow-matching
12
+ - unified-multimodal
13
+ - discrete-token
14
+ - kelix
15
+ base_model: "Efficient-Large-Model/Sana_1600M_1024px_diffusers"
16
+ pipeline_tag: text-to-image
17
+ arxiv: "https://arxiv.org/pdf/2602.09843"
18
+ ---
19
+
20
+ # Kelix-DiT
21
+
22
+ **Kelix-DiT** is the **pretraining-stage** checkpoint of the diffusion-based image de-tokenizer of **Kelix**, a fully discrete autoregressive unified multimodal model proposed by the OneRec Team. It renders high-fidelity **1024×1024** images from the semantic hidden states produced by the Kelix unified LLM, closing the long-standing understanding gap between discrete and continuous visual representations.
23
+
24
+ > 📄 **Technical report**: <https://arxiv.org/pdf/2602.09843>
25
+
26
+ ## Background
27
+
28
+ Most vision–language models (VLMs) rely on a hybrid interface — discrete text tokens paired with continuous ViT features — and are biased toward understanding. Fully autoregressive unified models that use **discrete** visual tokens, on the other hand, have historically suffered from an information bottleneck: a single discrete code carries far less information than the continuous embedding it replaces, which degrades multimodal understanding (especially on text-rich tasks such as OCRBench).
29
+
30
+ Kelix addresses this with a **multi-token vision tokenizer** (Kelix-Tok) that decomposes each patch embedding into `N` parallel discrete codes, expanding the coding capacity exponentially while keeping the LLM context length unchanged via sum pooling on the encoder side. The unified LLM (Qwen3-8B) is trained with a **Next-Block Prediction (NBP)** paradigm, and a diffusion-based **image de-tokenizer (Kelix-DiT)** turns the LLM's hidden states into high-resolution images — forming a modular *Tokenizer → LLM → Detokenizer* pipeline that unifies understanding and generation under a single autoregressive objective.
31
+
32
+ Kelix achieves state-of-the-art results among comparable-scale unified models on both understanding and generation benchmarks; notably, it reaches **86.7 on OCRBench**, matching continuous-feature VLMs and surpassing the previous best discrete model by **+23%**.
33
+
34
+ ## Model Overview
35
+
36
+ | Item | Value |
37
+ |---|---|
38
+ | Role | Diffusion-based image de-tokenizer (pretraining stage) |
39
+ | Base architecture | SANA-DiT (customized) |
40
+ | Training objective | Flow-matching |
41
+ | Latent VAE | DC-AE-F32C32 (32× spatial downsampling → 32×32 latent) |
42
+ | Condition | Last hidden states from the Kelix LLM (between vision start/end tokens) |
43
+ | Output resolution | **1024 × 1024** |
44
+ | Training stage | **Pretraining** (Stage 1 of 2) |
45
+
46
+ ## Training (Pretraining Stage)
47
+
48
+ This checkpoint corresponds to the **Pretraining Stage** of Kelix-DiT:
49
+
50
+ - **Data**: inverted large-scale image-caption pairs.
51
+ - **Condition image**: resized to **504×504** for Kelix-LLM hidden-state extraction.
52
+ - **Target image**: resized to **1024×1024** and encoded into a 32×32 latent via the frozen DC-AE.
53
+ - **Aspect ratio**: source images constrained to 0.67–1.5 to preserve native composition.
54
+ - **Optimization**: all DiT parameters are updated; the Kelix LLM, DC-AE encoder, and DC-AE decoder are frozen.
55
+
56
+ This stage equips the de-tokenizer with robust semantic–image alignment and strong generalization to diverse, unseen scenarios. The companion **SFT-stage** checkpoint is released as [`OpenOneRec/Kelix-SFT`](https://huggingface.co/OpenOneRec/Kelix-SFT), which further enhances instruction-following and fine-grained control.
57
+
58
+ ## Usage
59
+
60
+ Kelix-DiT is designed to be driven by the hidden states of the Kelix unified LLM. A typical generation pipeline is:
61
+
62
+ 1. Feed a text prompt (and optional images) into the **Kelix LLM**, which autoregressively produces last hidden states `{h_*}` for the image blocks.
63
+ 2. Use `{h_*}` as the semantic condition (y-embedder input) for Kelix-DiT.
64
+ 3. Run flow-matching denoising in the DC-AE latent space (32×32) and decode with DC-AE to obtain a 1024×1024 image.
65
+
66
+ > ⚠️ This checkpoint is a **component** of the Kelix pipeline, not a standalone text-to-image model. To generate images end-to-end you also need the Kelix unified LLM and the frozen DC-AE-F32C32 VAE.
67
+
68
+ ## Key Results
69
+
70
+ Kelix (8B, with Kelix-DiT) image-generation results:
71
+
72
+ | Benchmark | Score |
73
+ |---|---|
74
+ | GenEval (Overall) | **87.6** |
75
+ | WISE (Overall) | **57.0** |
76
+ | DPG-Bench (Overall) | **85.5** |
77
+
78
+ Highlights (see the technical report for full tables):
79
+ - GenEval **87.6** — SOTA among discrete-tokenization unified models, **+0.6** over the 27B Qwen-Image.
80
+ - WISE **57.0** — 2nd only to Nextflow (7B, 59.0), beating all continuous-tokenization unified models and larger dedicated T2I models (e.g., FLUX.1-dev 12B, 50.0).
81
+ - DPG-Bench **85.5** — competitive with the SOTA X-Omni (7B, 87.7) without using reinforcement learning.
82
+
83
+ ## Citation
84
+
85
+ ```bibtex
86
+ @techreport{kelix2026,
87
+ title = {Kelix Technique Report: Closing the Understanding Gap of Discrete Tokens in Unified Multimodal Models},
88
+ author = {OneRec Team},
89
+ year = {2026},
90
+ url = {https://arxiv.org/pdf/2602.09843}
91
+ }
92
+ ```
93
+
94
+ ## License
95
+
96
+ Please contact the OneRec Team for the license of the Kelix series. The base SANA-DiT and DC-AE components are subject to their respective original licenses.