Denoising Hierarchical Representations: Joint Continuous Diffusion for Language Modeling
Organizations: Ecole Polytechnique · Archimedes, Athena RC · University of Crete · IACM-Forth
Abstract
Diffusion Language Models (DLMs) hold the promise of order-agnostic, parallel text generation. Recently, continuous diffusion and flow matching models have seen substantial gains, driven by carefully crafted token representations and diffusion/flow spaces. In this work, we introduce Hierarchical Continuous Diffusion Language Models (H-CDLMs), a simple framework that further improves continuous DLMs with minimal compute and parameter overhead. Drawing on the discrete DLM and continuous image diffusion literature on joint diffusion, we diffuse multiple modalities in parallel. These modalities represent tokens at different semantic granularities: in our instantiation, the tokens themselves and coarser clusters obtained by clustering pretrained token embeddings. We propose a general setup that allows per-modality samplers and schedules to enhance the interplay between modalities. Applied to CoBit, this yields H-CoBit, which delivers large empirical gains across benchmarks. At dataset entropy, H-CoBit improves MAUVE and reaches a generative perplexity (GenPPL) of 49.4 on LM1B and 50.4 on OWT, improving on the baseline by 24.2 and 20.7 points and surpassing even discrete DLMs of comparable size. On GSM8K, it reaches 27.4% accuracy, outperforming prior continuous diffusion and flow-based models. We further apply H-CDLM to the flow matching model FLM, obtaining consistent gains with H-FLM and demonstrating that the framework generalizes across continuous generative paradigms. Our code will be made publicly available at https://github.com/matol-16/HCDLM.git .
Figures & tables
| LM1B ( ) | OpenWebText ( ) | |||||||
| Model | Steps | NFE | GenPPL | Steps | NFE | GenPPL | ||
| Real text (test split) | – | – | 4.34 | 53.1 | – | – | 5.46 | 14.9 |
| Autoregressive | ||||||||
| AR baseline ( Franca and Tong, 2026 ) | – | – | 5.61 | 40.2 | ||||
| Discrete diffusion | ||||||||
| SEDD ( Lou et al., 2024 ) | – | – | 5.65 | 125.7 | ||||
| Model | Family | NFE | Acc. (%) |
| Autoregressive (reference ceiling) | |||
| AR (greedy) | autoregressive LM | – | 63.3 |
| AR (sampling) | autoregressive LM | – | 53.9 |
| Discrete DLMs | |||
| MDLM (low-T) | masked discrete diffusion | 1024 | 33 |
| Duo (low-T) | discrete diffusion | 1024 | 36 |
| GenPPL at token entropy | |||||
|---|---|---|---|---|---|
| Arm | MAUVE | ||||
| dual (per-modality schedule) | 46.4 | 46.9 | 51.6 | 57.3 | 0.973 |
| single (shared schedule) | 44.6 | 45.1 | 52.8 | 57.4 | 0.965 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
|---|---|
| Embeddings | pretrained LangFlow/S-FLM input embeddings, |
| Metric | Euclidean on unit-normalized rows ( cosine) |
| Clusters | LM1B , OWT / TinyGSM ; default |
| Initialization | -means++, restarts, best inertia |
| Max iterations / tolerance | / (relative centroid shift) |
| Seed |
| Corpus | size min / mean / max | Sil. | DBI | CH | |||
|---|---|---|---|---|---|---|---|
| LM1B | 30,522 | 16 | 848 / 1908 / 4210 | 0.050 | 3.50 | 506 | 0.969 |
| OpenWebText | 65,536 | 15 | 2279 / 4369 / 7671 | 0.057 | 3.41 | 1300 | 0.978 |
| Id | Usage | Most frequent members |
|---|---|---|
| 11 | 16.5% | the , of , in , a , for , of the , in the , with , by , on |
| 12 | 13.0% | to , that , is , ’s , are , as , it , were , has , have |
| 9 | 7.9% | , , and , , the , , and , or , , a , , but , -- , ; |
| 0 | 6.6% | . , : , . The , .\n\nThe , .’’ , . He , ? |
| 2 | 6.2% | was , had , said , ed , has been , made , did , left , says , called |
| 4 | 4.7% | two , 2 , 1 , 3 , 4 , three , 5 , $ , 10 |
| Model | Representation | Corruption path | VE-equivalent | Decoder |
|---|---|---|---|---|
| Analog Bits | analog bits in ; | VP (cosine), | threshold bits at | |
| CoBit | analog bits in , (LM1B) or (OWT codec); , patched to length | VE, native: , | (native) | threshold bit probabilities, invert codec |
| LangFlow | learned embeddings, -normalized and scaled by ; | VP -path, , | , i.e. | of predicted token probabilities |
| FLM, FMLM | one-hot vectors; | linear interpolant | per position | |
| ELF | frozen T5-small contextual embeddings ( ), linear bottleneck to | rectified flow, | network in decode mode at , then unembedding | |
| S-FLM | learned unit-norm embeddings, ; | geodesic, , | — (not additive Gaussian) | of |
| Model | Network output | Objective | Noise / time schedule | Sampler, stochasticity |
|---|---|---|---|---|
| Analog Bits ( 2023 ) | (analog bits) | MSE, | cosine (VP) | DDIM / ancestral; SC ( ); asymmetric time intervals |
| CoBit ( 2026 ) | bit posteriors in via matched-filter residual | weighted MSE, EDM | online entropy-rate, with and | DDIM PF-ODE full-band EDM churn , entropy-gated ; SC ( , carry mode) |
| LangFlow ( 2026 ) | token probabilities ; denoiser | cross-entropy (Bregman flow matching) scheduler loss | learnable Gumbel density over fitted to the information gain | Euler on the -path, deterministic by design; SC ( ) |
| FLM, FMLM ( 2026 ) | posterior through a tokenwise softmax ( ) | cross-entropy; FMLM: KL semigroup loss on the two-time denoiser | decoding-error reparametrization | Euler ODE; FMLM performs one/few-step flow-map jumps; no SC. (We add stochastic sampling). |
| ELF ( 2026 ) | clean embeddings ( -prediction), shared-weight decoding head at | velocity MSE ( , ) token cross-entropy at ( ) | logit-normal over ( , ), at training and inference | Euler ODE, or noise re-injection (“SDE”, scale ); SC ( ) training-time CFG |
| S-FLM ( 2026 ) | posterior ; tangent average | cross-entropy | truncation to the high-noise band , plus adaptive refit from (information gain). | geodesic Euler; exact, one-sample stochastic or top- velocity; temperature ; no SC |
| Model | Cluster encoder | Added state per position, | Per-modality schedule and remarks |
|---|---|---|---|
| CoBit | analog bits appended to the token’s bit patch | bits on (approx. parameters, Section 5.1 ) | Own entropy-rate density fitted on the cluster loss; churn can be set per-modality. Encoding the cluster inside the token code instead of appending it underperforms. |
| LangFlow | learned cluster embedding table , concatenated per position | channels on | A second learnable Gumbel scheduler over ; the deterministic sampler leaves no churn to tune. |
| FLM, FMLM | one-hot over | on | A second decoding-error curve , hence a second reparametrization . |
| ELF | extra embedding channels for the cluster, plus a second unembedding head at the decoding step | channels | No information-uniform schedule to fit; the logit-normal density would have to be shifted per-modality by hand, as in image latent forcing ( Baade et al., 2026 ) . |
| S-FLM | second unit-norm cluster table on , with its own SLERP interpolation | channels on | Own truncation threshold , which predicts the coarse-to-fine ordering. |
| LM1B | OpenWebText | TinyGSM | |
| Tokenizer | BERT-base-uncased | gpt2id_bpe16 | SmolLM-135M |
| Vocabulary | 30,522 | 65,536 | 49,153 |
| Sequence length | 128 | 1024 | 512 |
| Bits/token (CoBit / H-CoBit) | |||
| Steps (CoBit / H-CoBit) | 1M / 600k | 750k / 750k | 250k / 250k |
| LR schedule | cosine (1M) | cosine (1M) | constant |
| MAUVE at fixed entropy (best NFE) | |||||
| Model | steps | ||||
| LM1B (final checkpoints) | |||||
| target | ( ) | ( ) | ( ) | ||
| CoBit | 1M | – | 0.870 (64) | 0.861 (128) | 0.697 (256) |
| H-CoBit | 600k | 0.900 (64) | 0.903 (128) | 0.648 (512) | |
| OpenWebText (final checkpoints) | |||||
| Training (ms/step) | Inference ( s/call) | ||||||
|---|---|---|---|---|---|---|---|
| Dataset | bits/tok | CoBit | H-CoBit | CoBit | H-CoBit | ||
| LM1B | 15 19 | 123.5 | 125.8 | +1.9% | 292 | 301 | +2.9% |
| TinyGSM / GSM8K | 16 20 | 231.5 | 237.3 | +2.5% | 1174 | 1213 | +3.3% |
| OpenWebText | 16 20 | 244.3 | 250.0 | +2.3% | 2401 | 2503 | +4.2% |
| 16 22 | 244.3 | 252.2 | +3.2% | 2401 | 2520 | +5.0% | |
| Gen-PPL | vs. control (%) at NFE | |||||
|---|---|---|---|---|---|---|
| Arm | @ (NFE) | reach | 64 | 128 | 256 | 512 |
| LM1B: , 600k steps, , | ||||||
| control (shared churn) | 57.3 (256) | 4.356 | 0 | 0 | 0 | 0 |
| Cluster-churn magnitude | ||||||
| (frozen) | 57.8 (512) | 4.356 | -1.5 | +8.2 | +4.7 | -2.0 |
| 59.7 (256) | 4.357 | -3.5 | +0.9 | -0.8 | -1.1 | |