Diffuse to Compress: Leveraging Diffusion LMs for Lossless Compression
Summary
This paper introduces Diffusion Language Models (DLMs) as a new inference paradigm for lossless text compression, aiming to overcome the throughput bottlenecks of autoregressive LLM-based compressors while achieving state-of-the-art compression ratios.
View Cached Full Text
Cached at: 08/13/26, 03:25 PM
# Diffuse to Compress: Leveraging Diffusion LMs for Lossless Compression
Source: [https://arxiv.org/html/2608.11249](https://arxiv.org/html/2608.11249)
###### Abstract
We study the problem of lossless text compression, motivated by the rapid growth in the collection and storage of digital textual data — including plain text, source code, and structured formats such as XML — and by recent advances in neural language model\-based compression\. In particular, recent LLM\-based approaches, whether built on symbol\-ranking pipelines or paired with a statistical compressor, have demonstrated compression ratios significantly superior to general\-purpose compressors such aszstd,gzip, orbzipon text and code\. However, these neural approaches suffer from severe throughput limitations, making them not yet practically usable\.
For the first time in the context of lossless neural text compression, we introduce Diffusion Language Models \(DLMs\) as an alternative inference paradigm to autoregressive LLM\-based approaches\. We argue that replacing autoregressive LLMs with DLMs within the same compression framework could overcome the throughput bottleneck caused by their one\-symbol\-per\-step limitation\. However, achieving these improvements requires addressing algorithmic challenges introduced by applying DLMs to lossless compression, where the architecture allows the number and positions of symbols encoded at each forward pass to be decided independently\. We design efficient and effective strategies to solve these challenges and evaluate them experimentally against LLM\-based and general\-purpose compressors onenwik8, a well\-established textual benchmark\.
Our results show that the newly proposed DLM\-based framework advances the state of the art in lossless text compression\. Moreover, as DLMs are still a relatively young paradigm, recent advances toward increasingly capable and efficient models suggest substantial room for further improvements\.
## Introduction
Data compression is one of the most fundamental problems in Computer Science, with direct implications for storage costs, data transfer speed, energy consumption, and scalability of HPC systems\. The rapid growth of digital data — fueled in large part by the demand for large\-scale datasets to train and deploy AI models — has made these concerns increasingly pressing\. Among the data types that have seen the sharpest growth is textual data: plain text, source code, and structured formats such as XML and JSON now populate vast digital archives worldwide\. Prominent examples includeCommon Crawl\(Common Crawl Foundation[2007](https://arxiv.org/html/2608.11249#bib.bib53)\), one of the largest open repositories of plain text web data, andSoftware Heritage\(Software Heritage[2025](https://arxiv.org/html/2608.11249#bib.bib13)\), the largest archive of public source code\.
A significant share of such archives falls into the category ofcold storage: systems optimized for long\-term preservation of massive datasets at very low cost, where data is written once and retrieved rarely\. In this setting, compression ratio is the dominant concern — even at the cost of slower compression speed\. General\-purpose compressors, such aszstdorlzma, offer a good speed\-ratio trade\-off but fail to capture the grammatical and lexical regularities inherent in natural language, leaving substantial compression gains on the table\.
This limitation, combined with the well\-known connection between accurate language prediction and compression efficiency, dating back to\(Shannon[1951](https://arxiv.org/html/2608.11249#bib.bib28)\), has motivated a growing body of work on lossless text compression based on Large Language Models \(LLMs\), such as\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18); Valmeekamet al\.[2023](https://arxiv.org/html/2608.11249#bib.bib17); Narashiman and Chandrachoodan[2024](https://arxiv.org/html/2608.11249#bib.bib19); Delétanget al\.[2024](https://arxiv.org/html/2608.11249#bib.bib22)\)\. These approaches have proven remarkably effective, achieving compression ratios well beyond those of general\-purpose tools — making them particularly promising for cold storage archives\. However, even in this setting, where speed requirements are relaxed, their throughput remains impractically low, as inference dominates the computational cost because autoregressive LLMs are constrained to sequential symbol generation\. Consequently, new neural\-based architectures are needed to preserve the compression quality achieved by LLMs while providing better speed performance\.
In this work, we introduce, for the first time in the context of neural lossless text compression,*Diffusion Language Models*\(DLMs\) as an alternative inference paradigm to autoregressive LLM\-based approaches\. Unlike autoregressive LLMs, DLMs make the selection of symbols to be encoded at each inference step a design choice rather than a model constraint, allowing the number and positions of encoded symbols to be controlled independently\. We therefore argue that the ability of DLMs to predict multiple symbols per forward pass may be leveraged to mitigate the architectural bottleneck imposed by one\-symbol\-per\-step inference\. However, this requires solving two main algorithmic challenges that are raised by the DLM architecture\. The first one concerns the symbol commitment schedule employed by DLMs during the compression process; the second one relates to identifying effective initial contexts that may allow DLMs to avoid inefficient first\-step predictions and consequently improve compression quality\. We design strategies for solving both these challenges and evaluate them experimentally against LLM\-based and general\-purpose compressors onenwik8, a well\-established benchmark in this setting\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18)\)\. Our DLM\-based compressors improve compression–throughput trade\-offs over prior neural approaches and open promising directions for future research\.
### State of the Art
The idea of leveraging neural networks for lossless data compression is not new\(Mahoney[2000](https://arxiv.org/html/2608.11249#bib.bib14); Schmidhuber and Heil[1996](https://arxiv.org/html/2608.11249#bib.bib15)\)\. However, the recent progress of neural language models has reignited interest, leading to two main pipelines: \(i\) using the neural model as a probability estimator paired with a statistical coder, typically arithmetic coding\(Wittenet al\.[1987](https://arxiv.org/html/2608.11249#bib.bib23)\); or \(ii\) using the neural model as a predictor within the Symbol Ranking pipeline\(Shannon[1951](https://arxiv.org/html/2608.11249#bib.bib28)\), paired with a general\-purpose compressor\.
In the former class belong approaches such as*DeepZip*\(Goyalet al\.[2018](https://arxiv.org/html/2608.11249#bib.bib16)\)and*NNCP*\(Bellard[2021](https://arxiv.org/html/2608.11249#bib.bib20)\), which combine RNN/LSTM\-based predictors with Arithmetic Coding, thus achieving promising compression ratios at substantial computational cost\. The introduction of the Transformer architecture\(Vaswaniet al\.[2017](https://arxiv.org/html/2608.11249#bib.bib21)\)marked a turning point, positioning LLM\-based methods as the strongest candidates for designing probability estimators\.*LLMZip*\(Valmeekamet al\.[2023](https://arxiv.org/html/2608.11249#bib.bib17)\)was among the first to combine LLMs with both Symbol Ranking and Arithmetic Coding\.*FineZip*\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18)\)then extended*LLMZip*with parameter\-efficient fine\-tuning via LoRA, while*AlphaZip*\(Narashiman and Chandrachoodan[2024](https://arxiv.org/html/2608.11249#bib.bib19)\)focused on smaller models paired withgzipor Brotli\(Alakuijalaet al\.[2018](https://arxiv.org/html/2608.11249#bib.bib24)\)\. More recently,Delétanget al\.\([2024](https://arxiv.org/html/2608.11249#bib.bib22)\)studied the use of arithmetic coding with three foundation models of varying scale, showing that pretrained models can act as compressors across text, video, and images\.Heurtel\-Depeigeset al\.\([2024](https://arxiv.org/html/2608.11249#bib.bib55)\)extended this analysis to byte\-level multimodal compression, showing that small pretrained models can outperform standard compressors, even accounting for model size, although they struggle with unseen modalities\. Finally,\(Nardone and Ferragina[2026](https://arxiv.org/html/2608.11249#bib.bib58)\)studied 30 pretrained LLMs for source code compression, showing that the compression ratio–throughput trade\-off depends strongly on model size and quantization, that small models enable high throughput, and that source code is even more compressible than standard text\.
Despite their differences, all these approaches share a common limitation\. While outperforming general\-purpose compressors in compression ratio, they suffer from severely limited throughput\. Since Transformers scale quadratically with context length, recent works\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18); Delétanget al\.[2024](https://arxiv.org/html/2608.11249#bib.bib22)\)tried to address this limitation by partitioning the input into independently compressed chunks, enabling parallel processing across multiple GPUs\. This strategy slightly degrades compression quality, but does not achieve a significant improvement in throughput, which remains in the order of kilobits per second\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18)\), thus making these methods impractical even with multi\-GPU parallelization\.
Crucially, throughput is rarely treated as a primary metric in this setting: in fact,Delétanget al\.\([2024](https://arxiv.org/html/2608.11249#bib.bib22)\)reports no explicit timing data, and decompression time is never reported in any of these works\. More recently,\(Nardone and Ferragina[2026](https://arxiv.org/html/2608.11249#bib.bib58)\)provided the first systematic study of the compression–throughput trade\-off, showing that both metrics can be improved through proper algorithmic choices, but all of them remain constrained by the autoregressive paradigm adopted by LLMs\. Closing the gap between neural and general\-purpose compressors in throughput — while preserving a compression ratio advantage — is therefore a key challenge\. We argue that achieving this goal requires an change in the compression paradigm: the throughput bottleneck is architectural, rooted in the fact that LLMs are designed to generate one symbol per forward pass — a consequence of the autoregressive next\-symbol prediction paradigm that cannot be overcome by optimizing existing pipelines\.
### Our Contribution
Motivated by these limitations, we advance neural lossless compression with the following contributions\.
1. 1\.We introduce, for the first time in the literature, the use of Diffusion Language Models \(DLMs\) for lossless text compression, establishing a newnon\-autoregressive compression paradigm\. Unlike autoregressive LLMs, DLMs make the selection of symbols to be encoded at each inference step a design choice rather than a model constraint, allowing the number and positions of encoded symbols to be controlled independently\. We instantiate this framework using*LLaDA*\(Nieet al\.[2025](https://arxiv.org/html/2608.11249#bib.bib29)\), one of the first masked DLMs released on Hugging Face, which is competitive with autoregressive LLMs such as LLaMA 3 8B\(Grattafioriet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib30)\)in language modeling\.
2. 2\.Our paradigm change needs to solve two novel algorithmic challenges raised by the DLM architecture\. The first concerns the symbol commitment schedule employed during the compression process; the second hinges on the ability to provide arbitrary initial contexts to avoid inefficient first\-step predictions, reduce the number of symbol\-generation stages, and thus improve compression performance\. We design and evaluate various strategies for solving both challenges efficiently \(cfr\. throughput\) and efficaciously \(cfr\. compression ratio\), thus improving prediction quality while avoiding wasteful inference time\.
3. 3\.We experimentally evaluate our DLM\-based compression framework against prior LLM\-based approaches and general\-purpose compressors onenwik8, a standard benchmark shared with prior work\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18)\)\. Our results corroborate the theoretical analysis and confirm that our DLM\-based compressors advance the state of the art in neural lossless compression, coming closer to usable end\-to\-end neural compressors\. Moreover, DLMs are still a relatively young paradigm, and recent advances already suggest substantial room for further improvements\.
## Theoretical Background
### General\-Purpose Compressors
Modern general\-purpose compressors follow three main algorithmic paradigms, differing in how they identify and encode redundancy\. Statistical compressors operate through a modeling phase, where symbol probabilities are estimated or fixed in advance, followed by a coding phase using entropy coders such as Huffman coding\(Huffman[1952](https://arxiv.org/html/2608.11249#bib.bib31)\), Arithmetic Coding\(Rissanen and Langdon[1979](https://arxiv.org/html/2608.11249#bib.bib32)\), or Asymmetric Numeral Systems\(Duda[2009](https://arxiv.org/html/2608.11249#bib.bib54)\)\. We adoptrange Asymmetric Numeral Systems\(rANS\), which combines near\-optimal entropy coding efficiency with high throughput\. Dictionary\-based compressors exploit repeated substrings through dictionary references, typically based onLZ77\(Ziv and Lempel[1977](https://arxiv.org/html/2608.11249#bib.bib35)\)\. We consider three representative implementations:gzip\(Deutsch[1996](https://arxiv.org/html/2608.11249#bib.bib36)\),lzma\(Pavlov[2024](https://arxiv.org/html/2608.11249#bib.bib37)\), andzstd\(Collet and Kucherawy[2018](https://arxiv.org/html/2608.11249#bib.bib38)\)\. Finally, block\-sorting compressors apply the reversibleBurrows\-Wheeler Transform\(BWT\)\(Burrows and Wheeler[1994](https://arxiv.org/html/2608.11249#bib.bib39)\), followed byMove\-to\-Front\(Bentleyet al\.[1986](https://arxiv.org/html/2608.11249#bib.bib40)\),Run\-Length Encoding\(Ferragina[2023](https://arxiv.org/html/2608.11249#bib.bib41)\), and an entropy coder\. We use the representative implementationbzip2\(Seward[1996](https://arxiv.org/html/2608.11249#bib.bib25)\)\.
### Neural Language Model\-Based Compressors
Neural language model\-based compressors specialize on textual data, achieving compression ratios well beyond general\-purpose tools\. They integrate into two main pipelines: feeding predicted distributions to a statistical coder, or using them within thesymbol rankingpipeline\.
#### Predictive Approaches\.
These are statistical approaches mainly solving thenext\-symbol predictiontask, which is defined as follows\.
###### Definition 1\.
LetS=s1,…,snS=s\_\{1\},\\dots,s\_\{n\}be a sequence of symbols over an alphabetΣ\\Sigma, and letWt,k=st−k,…,st−1W\_\{t,k\}=s\_\{t\-k\},\\dots,s\_\{t\-1\}denote the window \(context\) ofkksymbols preceding positionttin S\. Thenext\-symbol predictionestimates, for eachtt, a distributionp\(⋅∣Wt,k\)p\(\\cdot\\mid W\_\{t,k\}\)overΣ\\Sigmaso as to maximizep\(st∣Wt,k\)p\(s\_\{t\}\\mid W\_\{t,k\}\)\.
The classical instantiation of this approach isPPM\(Cleary and Witten[1984](https://arxiv.org/html/2608.11249#bib.bib42); Moffat[1990](https://arxiv.org/html/2608.11249#bib.bib43); Cleary and Teahan[1997](https://arxiv.org/html/2608.11249#bib.bib45); Ferragina[2023](https://arxiv.org/html/2608.11249#bib.bib41)\), which uses explicit variable\-length context matching over the prefixWt,t−1W\_\{t,t\-1\}\. Large Language Models \(LLMs\) represent a far more powerful instantiation: trained to optimize thelanguage modelingobjective — by assigning a joint probability distribution to sequences of symbols via the chain rule:
pθ\(S\)=∏t=1npθ\(st∣s1,…,st−1\)p\_\{\\theta\}\(S\)=\\prod\_\{t=1\}^\{n\}p\_\{\\theta\}\(s\_\{t\}\\mid s\_\{1\},\\dots,s\_\{t\-1\}\)— they reduce exactly to next\-symbol prediction at every position\. Unlike PPM, LLMs learn contextual representations and capture long\-range statistical dependencies beyond what exact context matching can achieve\(Vaswaniet al\.[2017](https://arxiv.org/html/2608.11249#bib.bib21)\)\. This makes them ideal for implementing the modeling phase of a predictive compressor: their predicted distributions over the next symbol are fed directly to a statistical coder such as Arithmetic Coding\. This is exactly what a robust line of research has investigated recently, starting with the papers of\(Delétanget al\.[2024](https://arxiv.org/html/2608.11249#bib.bib22); Valmeekamet al\.[2023](https://arxiv.org/html/2608.11249#bib.bib17); Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18)\), and yielding compression ratios well beyond general\-purpose compressors\. However, this comes at the cost of extremely low throughput\.
#### Symbol Ranking\.
Rather than feeding distributions to a statistical coder, symbol ranking orders symbols by likelihood, as originally suggested by\(Shannon[1951](https://arxiv.org/html/2608.11249#bib.bib28)\)\.
###### Definition 2\(Symbol Ranking\)\.
LetS=s1,…,snS=s\_\{1\},\\dots,s\_\{n\}be a sequence of symbols over an alphabetΣ\\Sigma, and letp\(⋅∣Wt,k\)p\(\\cdot\\mid W\_\{t,k\}\)be the next\-symbol prediction distribution \(Definition[1](https://arxiv.org/html/2608.11249#Thmdfn1)\) at positiontt\. This induces an ordered list of symbolsσ0,…,σ\|Σ\|−1\\sigma\_\{0\},\\dots,\\sigma\_\{\|\\Sigma\|\-1\}such thatp\(σ0∣Wt,k\)≥⋯≥p\(σ\|Σ\|−1∣Wt,k\)p\(\\sigma\_\{0\}\\mid W\_\{t,k\}\)\\geq\\dots\\geq p\(\\sigma\_\{\|\\Sigma\|\-1\}\\mid W\_\{t,k\}\)\. This way, the next symbolsts\_\{t\}is assigned the rank
Rank\(st∣Wt,k\)=j⇔st=σj\.\\text\{Rank\}\(s\_\{t\}\\mid W\_\{t,k\}\)=j\\iff s\_\{t\}=\\sigma\_\{j\}\.Applying this at every position defines the transformation from the sequence of symbolsSSto the sequence of ranks \(integers\)R=r1,…,rnR=r\_\{1\},\\dots,r\_\{n\}, withrt=Rank\(st∣Wt\)r\_\{t\}=\\text\{Rank\}\(s\_\{t\}\\mid W\_\{t\}\)\.
Since symbol ranking is a transformation rather than a compressor, the rank sequenceRRmust be compressed by a downstream general\-purpose compressor\.Fenwick \([1997](https://arxiv.org/html/2608.11249#bib.bib46)\)observed that this approach is related to block\-sorting compressors, as both produce skewed output distributions\.
Prior LLM\-based works\(Valmeekamet al\.[2023](https://arxiv.org/html/2608.11249#bib.bib17); Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18); Narashiman and Chandrachoodan[2024](https://arxiv.org/html/2608.11249#bib.bib19)\)have employed general\-purpose compressors such asgzip\(Deutsch[1996](https://arxiv.org/html/2608.11249#bib.bib36)\),zlib\(Deutsch and Gailly[1996](https://arxiv.org/html/2608.11249#bib.bib26)\),bzip2\(Seward[1996](https://arxiv.org/html/2608.11249#bib.bib25)\), and adaptive Huffman coding\(Gallager[1978](https://arxiv.org/html/2608.11249#bib.bib47)\), showing that symbol ranking yields slightly worse compression ratio than Arithmetic Coding, but higher throughput, as compressing integer ranks with general\-purpose compressors is considerably faster than the application of Arithmetic Coding over model\-predicted distributions\.
## Diffusion\-Based Compression
Rather than further optimizing existing LLM\-based pipelines, we address their limitations by introducing Diffusion Language Models \(DLMs\) as an alternative backbone for neural compression\. This substitution preserves the compression pipeline while introducing new algorithmic challenges, whose solution enables a new compression paradigm with state\-of\-the\-art compression–throughput trade\-offs\.
### Diffusion Language Models
Diffusion Language Models \(DLMs\) are a class of non\-autoregressive Transformer\-based sequence models that generate text through an iterative denoising process, in contrast to autoregressive generation\. Rather than parameterizingpθ\(S\)p\_\{\\theta\}\(S\)as an ordered product of conditional probabilities, DLMs model a forward corruption process and learn to invert it\. Interest in DLMs is growing rapidly, with recent models such asDiffusionGemma\(Google DeepMind[2026](https://arxiv.org/html/2608.11249#bib.bib48)\)demonstrating throughput far exceeding autoregressive alternatives\.
Different forward corruption processes give rise to families of DLMs with different inference properties\(von Rütteet al\.[2025](https://arxiv.org/html/2608.11249#bib.bib49)\)\. We focus onmasked diffusion, in which subsets of symbols are replaced by\[MASK\]and the model reconstructs them from the remaining context\.
###### Definition 3\(Masked Diffusion Language Model\)\.
Amasked diffusion language modelis a parametric functionpθ\(⋅∣⋅\)p\_\{\\theta\}\(\\cdot\\mid\\cdot\)that, given a partially observed sequenceS~=s~1,…,s~n\\tilde\{S\}=\\tilde\{s\}\_\{1\},\\dots,\\tilde\{s\}\_\{n\}overΣ∪\{\[MASK\]\}\\Sigma\\cup\\\{\\texttt\{\[MASK\]\}\\\}, estimates in a single forward pass a probability distribution overΣ\\Sigmafor each masked positiont∈ℳ=\{x:s~x=\[MASK\]\}t\\in\\mathcal\{M\}=\\\{x:\\tilde\{s\}\_\{x\}=\\texttt\{\[MASK\]\}\\\}:
pθ\(⋅∣S~\)∈Δ\(Σ\)\|ℳ\|,p\_\{\\theta\}\(\\cdot\\mid\\tilde\{S\}\)\\in\\Delta\(\\Sigma\)^\{\|\\mathcal\{M\}\|\},whereΔ\(Σ\)\\Delta\(\\Sigma\)denotes the probability simplex overΣ\\Sigma\.
Predictions are*not conditioned on a fixed left\-to\-right prefix*: each masked position attends to all available unmasked positions, regardless of order\. Masked diffusion thus produces, at each inference step, a well\-defined probability distribution over all masked positions, enabling masked DLMs to replace LLMs in compression pipelines while avoiding their sequential decoding bottleneck\. While other diffusion formulations, such asuniform diffusion, exist, they do not naturally provide the conditional token distributions required by entropy coding and therefore require non\-trivial adaptations\.
Figure 1:Iterative DLM\-based pipeline for lossless text compression\.
### Diffusion\-Based Compression Pipeline
Given a sequence of symbolsS=s1,…,snS=s\_\{1\},\\dots,s\_\{n\}overΣ\\Sigmato be compressed, a diffusion\-based pipeline starts from the fully masked stateS\(0\)=\[MASK\],…,\[MASK\]S^\{\(0\)\}=\\texttt\{\[MASK\]\},\\dots,\\texttt\{\[MASK\]\}, and iteratively reconstructs the sequence overKKinference steps:
S\(k\+1\)=fθ\(S\(k\)\),k=0,…,K−1\.S^\{\(k\+1\)\}=f\_\{\\theta\}\\\!\\left\(S^\{\(k\)\}\\right\),\\qquad k=0,\\dots,K\-1\.At each step, the DLM produces conditional probability distributions over all currently masked positions simultaneously, with no ordering constraint imposed by the model itself\. The commitment schedule selects a subset of positions, and the corresponding original symbols are encoded using their predicted distributions\. As in LLM\-based compression pipelines, these distributions can be directly provided to a statistical coder \(e\.g\., rANS\) or converted into symbol rankings\. Once encoded, the original symbols are revealed in the sequence state and become additional context for subsequent inference steps, until the full sequence is reconstructed\.
The number of inference stepsKKis freely tunable and depends on the schedule used to select symbols at each step\. For smallKK, many positions are committed per forward pass, reducing inference cost but providing less context for future predictions\. Conversely, largerKKvalues reveal symbols gradually, improving prediction accuracy at the cost of additional inference time\. Therefore, the commitment schedule, includingwhichsymbols to commit andhow manyat each step, governs the compression ratio–throughput trade\-off\.
Prior work on LLM\-based compressors has shown that their computational cost is dominated by model inference and can be characterized by the number of sequential forward passes for a fixed context length\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18); Valmeekamet al\.[2023](https://arxiv.org/html/2608.11249#bib.bib17)\)\. While the absolute cost of each pass depends on factors such as model size, quantization, and hardware, when comparing DLMs and LLMs of similar size, the number of inference passes remains the dominant factor determining throughput\.
In the autoregressive setting, the factorization ofpθ\(S\)p\_\{\\theta\}\(S\)requires computingpθ\(⋅∣s1,…,st−1\)p\_\{\\theta\}\(\\cdot\\mid s\_\{1\},\\dots,s\_\{t\-1\}\)for eacht=1,…,nt=1,\\dots,nsequentially, resulting innnforward passes\. Diffusion\-based compression instead requires onlyKKevaluations, whereKKis tunable through the commitment schedule, transforming sequential depth from a model constraint into a design choice that, actually, opens a spectrum of compression ratio–throughput operating points, and consequent trade\-offs, unavailable to autoregressive models\.
### Symbol Commitment Schedules
Unlike LLMs, DLMs decouple inference from symbol encoding order, allowing the commitment schedule to be optimized independently of the model\. This introduces a new algorithmic challenge: the choice of which symbols to encode at each inference step and how many to commit\. We denote byuku\_\{k\}the number of symbols committed at inference stepkk, with coverage constraint∑k=1Kuk=n\\sum\_\{k=1\}^\{K\}u\_\{k\}=n\. The two extreme cases — one\-shot \(K=1K=1\) and autoregressive \(K=nK=n\) — represent undesirable operating points: the former requires predicting the full stringSSin one\-shot from an almost empty context, while the latter recovers the sequential decoding bottleneck\. We study and design three commitment strategies of increasing sophistication between these two extremes\.
#### 1\. Uniform Block Schedule\.
Given a fixed hyperparameterKK, we commitu=⌊n/K⌋u=\\lfloor n/K\\rfloorsymbols per inference step in contiguous left\-to\-right blocks\. This schedule generalizes the autoregressive setting by committinguuconsecutive symbols at each step\.
#### 2\. Progressive Schedule\.
This schedule is controlled by the initial budgetu1u\_\{1\}and growth ratiorr\. Early inference steps operate with limited revealed context and thus may yield less reliable predictions; later steps have access to additional context and can therefore commit more symbols\. We deploy this observation as follows: as in uniform block scheduling, symbols are committed left\-to\-right, but according to a*geometric schedule*:uk=⌊u1⋅rk−1⌉u\_\{k\}=\\left\\lfloor u\_\{1\}\\cdot r^\{\\,k\-1\}\\right\\rceil\. Whenr=1r=1, this reduces to uniform block scheduling\.
#### 3\. Entropy\-Based Schedule\.
This schedule is controlled by an entropy thresholdτ\\tauand the minimum number of committed symbolsmm\. Unlike the two strategies above, it exploits the bidirectional context of DLMs, that is, rather than committing symbols left\-to\-right, it lets the model decide*which*positions to reveal based on prediction confidence\. More precisely, for each currently masked positionjj, we definepj\(k\)\(v\)=pθ\(v∣S\(k−1\)\)p\_\{j\}^\{\(k\)\}\(v\)=p\_\{\\theta\}\(v\\mid S^\{\(k\-1\)\}\)and compute the entropy
Hj\(k\)=−∑v∈Σpj\(k\)\(v\)logpj\(k\)\(v\)\.H\_\{j\}^\{\(k\)\}=\-\\sum\_\{v\\in\\Sigma\}p\_\{j\}^\{\(k\)\}\\\!\(v\)\\\>\\log\{p\_\{j\}^\{\(k\)\}\\\!\(v\)\}\.At each step, we commit all positions with entropyHj\(k\)≤τH\_\{j\}^\{\(k\)\}\\leq\\tau, namely, positions whose predictions are "almost surely" correct according to the parameterτ\\tau\. If fewer thanmmpositions satisfy this criterion, we then commit themmpositions with the lowest entropy, regardless of the threshold\.
All strategies are deterministic given their hyperparameters and therefore require no additional side information beyond the compressed file header, allowing the decompressor to reproduce the same commitment decisions\.
### Initial Context Strategies
Existing LLM\-based compression pipelines start encoding text from an empty context\(Narashiman and Chandrachoodan[2024](https://arxiv.org/html/2608.11249#bib.bib19); Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18); Valmeekamet al\.[2023](https://arxiv.org/html/2608.11249#bib.bib17); Delétanget al\.[2024](https://arxiv.org/html/2608.11249#bib.bib22)\)\. However, this leads to poor predictions in the first inference step: without sufficient context, the model produces uncertain distributions that waste computation and hurt compression quality\. This limitation is particularly relevant when multiple symbols are committed at the first step\. Providing initial context could mitigate this issue, but autoregressive models are restricted to left\-to\-right prefixes\. Conversely, DLMs allow any subset of symbols to be exposed before the first inference step, creating an optimization dimension unavailable to LLM\-based compressors\.
We study initial context by leavingccsymbols unmasked and storing them in the compressed file\. Whilec=0c=0recovers the fully masked approach and largeccapproaches direct storage, intermediate values trade conditioning information for storage overhead\. Since DLMs attend bidirectionally,*any*subset of positions can serve as context\. We instantiate this optimization problem through four context selection policies, from simple baselines to model\-dependent strategies\.
#### 1\. Contiguous Context\.
The firstccsymbols are left visible, and the rest are masked\. This is the classical prefix\-based initialization, also applicable to LLM\-based pipelines\.
#### 2\. Random Context\.
ccarbitrary positions are selected uniformly at random and left unmasked\. This provides a simple non\-contiguous baseline that ignores structural information\.
#### 3\. Frequency\-Based Context\.
Token frequency, derived from the tokenizer vocabulary statistics, reflects how often symbols appear in the training distribution: frequent symbols are less informative, as they are easier to predict\. We exploit the frequency statistics of the adopted tokenizer by leaving theccleast frequent symbols inSSunmasked, as rare tokens provide richer conditioning information\.
#### 4\. Attention\-Based Context\.
Two complementary forward passes — one with even\-indexed positions masked and one with odd\-indexed positions masked — estimate the importance of each position through the attention it receives from masked tokens, aggregated viaAttention Rollout\(Abnar and Zuidema[2020](https://arxiv.org/html/2608.11249#bib.bib52)\)\. Thecchighest\-scoring positions are selected as initial context\. This strategy requires two additional inferences during compression, increasing encoding time, but the selected context is stored in the file header and reused during decompression without additional cost\.
## Experimental Methodology
#### Evaluation Setup\.
We evaluate our approach onenwik8, a standard benchmark for lossless text compression, also adopted by previous LLM\-based compression works such as\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18)\)\. Following prior work, we perform extensive ablation experiments on the first 1 MB ofenwik8and evaluate final comparisons on its first 10 MB to ensure consistency with previous approaches\.
We compare against neural compression methods based on LLMs, including\(Valmeekamet al\.[2023](https://arxiv.org/html/2608.11249#bib.bib17); Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18)\), as well as general\-purpose compressors includinggzip\(Deutsch[1996](https://arxiv.org/html/2608.11249#bib.bib36)\),lzma\(Pavlov[2024](https://arxiv.org/html/2608.11249#bib.bib37)\),zstd\(Collet and Kucherawy[2018](https://arxiv.org/html/2608.11249#bib.bib38)\), andbzip2\(Seward[1996](https://arxiv.org/html/2608.11249#bib.bib25)\)\. For a controlled comparison with autoregressive models, we additionally evaluate*Llama\-3\.1\-8B*\(Grattafioriet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib30)\)using our pipeline, without providing any initial context and reconstructing each sequence autoregressively\.
We report compression ratio, measured as compressed size over original size, and \(de\)compression throughput in MB/s\. All experiments are conducted on an NVIDIA DGX H100 server equipped with H100 GPUs\.
#### Implementation Details\.
Our experiments use*LLaDA*\(Nieet al\.[2025](https://arxiv.org/html/2608.11249#bib.bib29)\), a masked diffusion language model, as the DLM backbone\. The choice of LLaDA is not intrinsic to our framework, but is motivated by its being one of the few publicly available masked DLMs on Hugging Face and by its competitive language modeling performance\. The model and tokenizer are accessed through Hugging Face Transformers\. The input text is tokenized using the LLaDA tokenizer and divided into non\-overlapping windows of fixed sizeww\. This parameter is configurable and stored in the compressed file header to enable deterministic decoding\. Longer windows provide richer context and can improve compression quality, but increase the computational cost due to the quadratic scaling of Transformers with sequence length\. Non\-overlapping windows also enable parallel processing across multiple GPUs\. The resulting windows are processed by our iterative pipeline shown in Figure[1](https://arxiv.org/html/2608.11249#Sx3.F1)\.
The tokens are encoded using either \(i\) rANS\(Duda[2009](https://arxiv.org/html/2608.11249#bib.bib54)\)for the statistical coding approach, or \(ii\) Symbol Ranking, where integer ranks are encoded using byte\-aligned variable\-length integer \(varint\) encoding and subsequently compressed using the general\-purpose compressors described above\. A list of hyperparameter configurations explored is provided in the supplementary material \(Table 2\)\.
## Results
Our experiments show that the proposed approach not only introduces a new compression–throughput trade\-off, but also substantially improves throughput over prior neural compressors while preserving competitive compression ratios, making DLM\-based compression a promising step toward practical end\-to\-end usability\.
Figure[2](https://arxiv.org/html/2608.11249#Sx5.F2)\(whereyy\-axis is on a log scale\) summarizes the results of our DLM\-based compression pipeline \(green region\), compared with general\-purpose compressors \(blue region\) and an LLM\-based implementation of our pipeline \(red region\)\. The three approaches occupy clearly distinct regions of the throughput–compression ratio space\. General\-purpose compressors achieve the lowest compression ratios but provide up to six orders of magnitude higher throughput than the LLM\-based pipeline\. Conversely, the LLM\-based approach achieves the best compression ratios, with the statistical rANS pipeline providing better compression at the cost of lower throughput than Symbol Ranking\. This confirms the current performance gap already observed in the literature\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18); Delétanget al\.[2024](https://arxiv.org/html/2608.11249#bib.bib22); Nardone and Ferragina[2026](https://arxiv.org/html/2608.11249#bib.bib58)\)\. So, here comes the novelty and contribution of our DLM\-based proposal that enables a substantially broader trade\-off depending on the adopted "symbol committed schedule" and "initial context strategy", described in the previous sections\. In the autoregressive configuration, which actually mimics LLMs via DLM architectures, our DLM\-based pipeline achieves compression and throughput comparable to the LLM\-based Symbol Ranking pipeline, showing that*LLaDA*\-8B remains competitive with*Llama\-3\.1\-8B*when used autoregressively\. However, increasing the number of tokens generated per inference step progressively shifts the operating point of DLMs toward higher throughput, at the cost of a slightly worse compression ratio\. In particular, our DLM\-based approach achieves up to four orders of magnitude higher throughput than LLM\-based approaches while still outperforming general\-purpose compressors in compression ratio\. Actually, the DLM\-based compression pipeline can be broadly configured to favor either compression ratio or throughput depending on the underlying application requirements\. These figures become even more interesting in the light of the current developments and potentially appealing progress underlying the design of more and more efficient DLMs, as shown in\(Anagnostidiset al\.[2025](https://arxiv.org/html/2608.11249#bib.bib56); Kimet al\.[2025](https://arxiv.org/html/2608.11249#bib.bib57); Google DeepMind[2026](https://arxiv.org/html/2608.11249#bib.bib48); von Rütteet al\.[2025](https://arxiv.org/html/2608.11249#bib.bib49)\)\.
Figure 2:Compression ratio versus compression throughput \(log scale\) on the first 1 MB ofenwik8\. Blue, red, and green regions denote the operating ranges of general\-purpose compressors \(blue\), LLM\-based pipeline \(red\), and our novel DLM\-based approach \(green\), respectively\.Table 1:Results on the first 10 MB ofenwik8\. CR = compression ratio; C/D\-Thr\. = compression/decompression throughput \(kbit/s\)\. Prior LLM results are copied fromMittuet al\.\([2024](https://arxiv.org/html/2608.11249#bib.bib18)\); decompression throughput is not reported in that paper but, as commented in text, it is surely≪\{\\ll\}C\-Thr\.Let us now dig more into the technical details of our proposal and compare it with prior work\. Table[1](https://arxiv.org/html/2608.11249#Sx5.T1)reports the results of LLMZip\(Valmeekamet al\.[2023](https://arxiv.org/html/2608.11249#bib.bib17)\)and FineZip\(Mittuet al\.[2024](https://arxiv.org/html/2608.11249#bib.bib18)\)on the first 10MB ofenwik8, as reported byMittuet al\.\([2024](https://arxiv.org/html/2608.11249#bib.bib18)\), for their two final token compression methods: arithmetic coding \(AC\) and Symbol Ranking \(sym\)\. Our approach provides up to four orders of magnitude throughput improvements over prior LLM\-based compressors, while maintaining a close compression ratio\. An important point to stress is that both LLMZip and FineZip useteacher forcingduring compression, which allows the entire sequence to be processed in a single inference step\. However, teacher forcing is unavailable during decompression, as the original symbols are not known in advance\. Consequently, those autoregressive decoders must reconstruct each window sequentially, requiringnninference steps for a window ofnntokens\. As a result, the throughput advantage obtained from teacher forcing during compression is largely lost during decompression, which is expected to be approximately two orders of magnitude slower\. In contrast, our DLM\-based approach maintains nearly identical compression and decompression throughput, providing up to six orders of magnitude higher throughput than LLM\-based methods during decoding, while preserving a strong compression ratio\.
Having established that DLM\-based compression provides a new and appealing compression–throughput trade\-off, we now analyze the impact of the different configurations\. As shown in the supplementary material \(Figures 4 and 5\), all compressors adopted in the last step of the DLM\-based approach achieve comparable throughput — DLM inference remains the main bottleneck — whilelzma\-9provides the best compression ratio, with windows ofw=256−512w=256\-512tokens offering the best overall trade\-offs\.
Figure 3:Compression ratio of commitment schedules as the minimum number of tokens encoded per step varies, using Symbol Ranking withcc=2 initial context tokens\.Let us now concentrate on the two key algorithmic ingredients of DLM\-based compressors: commitment schedule and initial context\. Regarding the commitment schedule, the results show that the entropy\-based schedule achieves the best compression ratio \(Figure[3](https://arxiv.org/html/2608.11249#Sx5.F3)\), while uniform\-block provides the best trade\-off between compression and throughput \(Figure 7 of the supplementary material\)\. More precisely, Figure[3](https://arxiv.org/html/2608.11249#Sx5.F3)reports the compression ratio of the DLM compressor using the Symbol Ranking pipeline withc=2c=2tokens left unmasked as initial context\. Each curve corresponds to a different commitment schedule, while the points along each curve represent different numbers of tokens encoded per step\. Progressive is consistently the worst\-performing strategy, while the entropy\-based schedule achieves the best compression for every number of encoded tokens per step\. Uniform\-block schedule performs comparably to the entropy\-based one when encoding only one or two tokens per step, but increasingly approaches the progressive schedule as more tokens are encoded per step\. Figure 6 in the supplementary material corroborates these results, showing experimentally that the entropy\-based schedule provides better compression at a small throughput cost compared to uniform\-block, while progressive consistently achieves worse compression ratios\.
Overall, these results highlight two important points: \(i\) relaxing the autoregressive constraint on the number of tokens encoded per step can improve compression quality; and \(ii\) when increasing the number of tokens encoded per step to overcome the throughput bottleneck, only entropy\-based scheduling preserves a favorable compression ratio\. This flexibility is unique to diffusion\-based generation and unavailable to prior autoregressive compression approaches\.
Finally, we investigate the effect of providing an initial context ofccunmasked tokens to avoid context\-free first\-step predictions\. For space reasons, Figures 8\-11 are reported in the supplementary material\. Specifically, Figure 8 shows that a proper initial context improves compression across all configurations except the autoregressive one, and that its importance grows with the number of tokens encoded per step\. Hence the initial context becomes increasingly important when targeting higher throughput\. The choice of which tokens to expose is also crucial\. Figures 9–11 report the average results of the adopted initial\-context strategies across pipelines, commitment schedules, and numbers of tokens generated per step\. The contiguous strategy, which is the only one naturally applicable to LLMs, performs well with the uniform\-block schedule at low numbers of tokens generated per step, but degrades substantially at higher token counts and even more under entropy\-based scheduling\. At higher throughputs, it eventually performs worse than random selection\! Conversely, attention\-based context consistently provides the best results across all configurations\.
## Conclusions and Future Works
Our paper introduces the use of Diffusion Language Models \(DLMs\) for lossless text compression as an alternative inference paradigm to autoregressive LLM\-based approaches\. We show that replacing autoregressive LLMs with DLMs within the same compression framework can mitigate the throughput bottleneck imposed by their one\-symbol\-per\-step limitation\. Doing so, however, introduces novel algorithmic challenges, which we address through the design of novel commitment schedules and initial context strategies suitable for the compression setting at hand\. Experiments onenwik8, a well\-established textual benchmark, demonstrate the effectiveness of our approach against both LLM\-based and general\-purpose compressors\.
The main message of our study is that higher throughput in neural text compression requires encoding multiple tokens per inference step and moving beyond the autoregressive structure of LLMs\. In this respect, the architectural advantages of DLMs, identified and studied in this paper for the first time, proved very effective\. Our experimental results are particularly promising given that DLMs are still a relatively young paradigm, with recent advances already pointing toward increasingly capable and efficient models\(Anagnostidiset al\.[2025](https://arxiv.org/html/2608.11249#bib.bib56); Kimet al\.[2025](https://arxiv.org/html/2608.11249#bib.bib57); Google DeepMind[2026](https://arxiv.org/html/2608.11249#bib.bib48); von Rütteet al\.[2025](https://arxiv.org/html/2608.11249#bib.bib49)\), thus suggesting substantial room for further improvements in diffusion\-based neural compression\. This potential is further amplified by the fact that we deployed an 8B\-parameter DLM: prior work\(Heurtel\-Depeigeset al\.[2024](https://arxiv.org/html/2608.11249#bib.bib55); Nardone and Ferragina[2026](https://arxiv.org/html/2608.11249#bib.bib58)\)on LLMs has shown that much smaller distilled models can substantially improve the throughput with limited compression loss: a successful approach that could be investigated on DLMs too\.
## References
- S\. Abnar and W\. H\. Zuidema \(2020\)Quantifying attention flow in transformers\.InProceedings of the 58th Annual Meeting of the Association for Computational Linguistics,Online,pp\. 4190–4197\.External Links:[Document](https://dx.doi.org/10.18653/v1/2020.acl-main.385)Cited by:[4\. Attention\-Based Context\.](https://arxiv.org/html/2608.11249#Sx3.SSx4.SSS0.Px4.p1.1)\.
- J\. Alakuijala, A\. Farruggia, P\. Ferragina, E\. Kliuchnikov, R\. Obryk, Z\. Szabadka, and L\. Vandevenne \(2018\)Brotli: a general\-purpose data compressor\.ACM Transactions on Information Systems \(TOIS\)37\(1\),pp\. 1–30\.Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1)\.
- S\. Anagnostidis, G\. Bachmann, Y\. Kim, J\. Kohler, M\. Georgopoulos, A\. Sanakoyeu, Y\. Du, A\. Pumarola, A\. Thabet, and E\. Schönfeld \(2025\)FlexiDiT: your diffusion transformer can easily generate high\-quality samples with less compute\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 28316–28326\.Cited by:[Results](https://arxiv.org/html/2608.11249#Sx5.p2.1),[Conclusions and Future Works](https://arxiv.org/html/2608.11249#Sx6.p2.1)\.
- F\. Bellard \(2021\)NNCP v2: Lossless Data Compression with Transformer\.Note:https://bellard\.org/nncp/nncp\_v2\.pdfTechnical reportCited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1)\.
- J\. L\. Bentley, D\. D\. Sleator, R\. E\. Tarjan, and V\. K\. Wei \(1986\)A locally adaptive data compression scheme\.Communications of the ACM29\(4\),pp\. 320–330\.Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1)\.
- M\. Burrows and D\. J\. Wheeler \(1994\)A Block\-Sorting Lossless Data Compression Algorithm\.Technical reportTechnical Report124,Digital Equipment Corporation, Systems Research Center\.Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1)\.
- J\. G\. Cleary and W\. J\. Teahan \(1997\)Unbounded length contexts for PPM\.The Computer Journal40\(2–3\),pp\. 67–75\.Cited by:[Predictive Approaches\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px1.p2.1)\.
- J\. G\. Cleary and I\. H\. Witten \(1984\)Data compression using adaptive coding and partial string matching\.IEEE Transactions on Communications32\(4\),pp\. 396–402\.Cited by:[Predictive Approaches\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px1.p2.1)\.
- Y\. Collet and M\. Kucherawy \(2018\)Zstandard Compression and the Application/zstd Media Type\.Technical reportTechnical ReportRFC 8478,RFC Editor\.Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1),[Evaluation Setup\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px1.p2.1)\.
- Common Crawl Foundation \(2007\)Common Crawl — Open Repository of Web Crawl Data\.Note:https://commoncrawl\.orgAccessed: 2026\-07\-23Cited by:[Introduction](https://arxiv.org/html/2608.11249#Sx1.p1.1)\.
- G\. Delétang, A\. Ruoss, P\. Duquenne, E\. Catt, T\. Genewein, C\. Mattern, J\. Grau\-Moya, L\. K\. Wenliang, M\. Aitchison, L\. Orseau, M\. Hutter, and J\. Veness \(2024\)Language modeling is compression\.InInternational Conference on Learning Representations,Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1),[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p3.1),[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p4.1),[Introduction](https://arxiv.org/html/2608.11249#Sx1.p3.1),[Predictive Approaches\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px1.p2.2),[Initial Context Strategies](https://arxiv.org/html/2608.11249#Sx3.SSx4.p1.1),[Results](https://arxiv.org/html/2608.11249#Sx5.p2.1)\.
- L\. P\. Deutsch and J\. Gailly \(1996\)ZLIB Compressed Data Format Specification Version 3\.3\.Technical reportTechnical ReportRFC 1950,RFC Editor\.Cited by:[Symbol Ranking\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px2.p3.1)\.
- L\. P\. Deutsch \(1996\)DEFLATE Compressed Data Format Specification Version 1\.3\.Technical reportTechnical ReportRFC 1951,RFC Editor\.Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1),[Symbol Ranking\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px2.p3.1),[Evaluation Setup\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px1.p2.1)\.
- J\. Duda \(2009\)Asymmetric numeral systems\.External Links:0902\.0271Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1),[Implementation Details\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px2.p2.1)\.
- P\. Fenwick \(1997\)Symbol ranking text compression with Shannon recoding\.Journal of Universal Computer Science3\(2\),pp\. 70–85\.Cited by:[Symbol Ranking\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px2.p2.1)\.
- P\. Ferragina \(2023\)Pearls of algorithm engineering\.Cambridge University Press\.Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1),[Predictive Approaches\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px1.p2.1)\.
- R\. G\. Gallager \(1978\)Variations on a theme by Huffman\.IEEE Transactions on Information Theory24\(6\),pp\. 668–674\.Cited by:[Symbol Ranking\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px2.p3.1)\.
- Google DeepMind \(2026\)DiffusionGemma: 4x faster text generation\.Note:https://deepmind\.google/models/gemma/diffusiongemma/Accessed: 2026\-06\-22Cited by:[Diffusion Language Models](https://arxiv.org/html/2608.11249#Sx3.SSx1.p1.1),[Results](https://arxiv.org/html/2608.11249#Sx5.p2.1),[Conclusions and Future Works](https://arxiv.org/html/2608.11249#Sx6.p2.1)\.
- M\. Goyal, K\. Tatwawadi, S\. Chandak, and I\. Ochoa \(2018\)DeepZip: Lossless Data Compression Using Recurrent Neural Networks\.External Links:1811\.08162Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1)\.
- A\. Grattafiori, A\. Dubey, A\. Jauhri, A\. Pandey, A\. Kadian, A\. Al\-Dahle, A\. Letman, A\. Mathur, A\. Schelten, and A\. Vaughan \(2024\)The Llama 3 Herd of Models\.External Links:2407\.21783Cited by:[item 1](https://arxiv.org/html/2608.11249#Sx1.I1.i1.p1.1),[Evaluation Setup\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px1.p2.1)\.
- D\. Heurtel\-Depeiges, A\. Ruoss, J\. Veness, and T\. Genewein \(2024\)Compression via Pre\-Trained Transformers: A Study on Byte\-Level Multimodal Data\.External Links:2410\.05078Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1),[Conclusions and Future Works](https://arxiv.org/html/2608.11249#Sx6.p2.1)\.
- D\. A\. Huffman \(1952\)A method for the construction of minimum\-redundancy codes\.Proceedings of the IRE40\(9\),pp\. 1098–1101\.Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1)\.
- Y\. Kim, S\. Anagnostidis, Y\. Du, E\. Schönfeld, J\. Kohler, M\. Georgopoulos, A\. Pumarola, A\. Thabet, and A\. Sanakoyeu \(2025\)Autoregressive distillation of diffusion transformers\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 15745–15756\.Cited by:[Results](https://arxiv.org/html/2608.11249#Sx5.p2.1),[Conclusions and Future Works](https://arxiv.org/html/2608.11249#Sx6.p2.1)\.
- M\. V\. Mahoney \(2000\)Fast text compression with neural networks\.\.InFLAIRS,pp\. 230–234\.Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p1.1)\.
- F\. Mittu, Y\. Bu, A\. Gupta, A\. Devireddy, A\. E\. Ozdarendeli, A\. Singh, and G\. Anumanchipalli \(2024\)FineZip: Pushing the Limits of Large Language Models for Practical Lossless Text Compression\.External Links:2409\.17141Cited by:[item 3](https://arxiv.org/html/2608.11249#Sx1.I1.i3.p1.1),[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1),[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p3.1),[Introduction](https://arxiv.org/html/2608.11249#Sx1.p3.1),[Introduction](https://arxiv.org/html/2608.11249#Sx1.p4.1),[Predictive Approaches\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px1.p2.2),[Symbol Ranking\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px2.p3.1),[Diffusion\-Based Compression Pipeline](https://arxiv.org/html/2608.11249#Sx3.SSx2.p3.1),[Initial Context Strategies](https://arxiv.org/html/2608.11249#Sx3.SSx4.p1.1),[Evaluation Setup\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px1.p1.1),[Evaluation Setup\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px1.p2.1),[Table 1](https://arxiv.org/html/2608.11249#Sx5.T1),[Table 1](https://arxiv.org/html/2608.11249#Sx5.T1.4.7.3.1.1),[Results](https://arxiv.org/html/2608.11249#Sx5.p2.1),[Results](https://arxiv.org/html/2608.11249#Sx5.p3.2)\.
- A\. Moffat \(1990\)Implementing the PPM data compression scheme\.IEEE Transactions on Communications38\(11\),pp\. 1917–1921\.Cited by:[Predictive Approaches\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px1.p2.1)\.
- S\. S\. Narashiman and N\. Chandrachoodan \(2024\)AlphaZip: Neural Network\-Enhanced Lossless Text Compression\.External Links:2409\.15046Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1),[Introduction](https://arxiv.org/html/2608.11249#Sx1.p3.1),[Symbol Ranking\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px2.p3.1),[Initial Context Strategies](https://arxiv.org/html/2608.11249#Sx3.SSx4.p1.1)\.
- A\. Nardone and P\. Ferragina \(2026\)LLM\-based Source Code Compression via Thresholded Symbol Ranking\.External Links:2607\.24192Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1),[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p4.1),[Results](https://arxiv.org/html/2608.11249#Sx5.p2.1),[Conclusions and Future Works](https://arxiv.org/html/2608.11249#Sx6.p2.1)\.
- S\. Nie, F\. Zhu, Z\. You, X\. Zhang, J\. Ou, J\. Hu, J\. Zhou, Y\. Lin, J\. Wen, and C\. Li \(2025\)Large language diffusion models\.InAdvances in Neural Information Processing Systems,Vol\.38,pp\. 50608–50646\.Cited by:[item 1](https://arxiv.org/html/2608.11249#Sx1.I1.i1.p1.1),[Implementation Details\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px2.p1.1)\.
- I\. Pavlov \(2024\)LZMA SDK \(Software Development Kit\)\.Note:https://www\.7\-zip\.org/sdk\.htmlAccessed: 2026\-06\-17Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1),[Evaluation Setup\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px1.p2.1)\.
- J\. Rissanen and G\. G\. Langdon \(1979\)Arithmetic coding\.IBM Journal of Research and Development23\(2\),pp\. 149–162\.Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1)\.
- J\. Schmidhuber and S\. Heil \(1996\)Sequential neural text compression\.IEEE Transactions on Neural Networks7\(1\),pp\. 142–146\.Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p1.1)\.
- J\. Seward \(1996\)bzip2 and libbzip2\.Note:https://sourceware\.org/bzip2/Accessed: 2026\-06\-15Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1),[Symbol Ranking\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px2.p3.1),[Evaluation Setup\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px1.p2.1)\.
- C\. E\. Shannon \(1951\)Prediction and entropy of printed english\.Bell System Technical Journal30\(1\),pp\. 50–64\.Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p1.1),[Introduction](https://arxiv.org/html/2608.11249#Sx1.p3.1),[Symbol Ranking\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px2.p1.1)\.
- Software Heritage \(2025\)Software Heritage Activity Report 2025\.Note:https://www\.softwareheritage\.org/2026/01/16/software\-heritage\-activity\-report\-2025/Accessed: 2026\-06\-11Cited by:[Introduction](https://arxiv.org/html/2608.11249#Sx1.p1.1)\.
- C\. S\. K\. Valmeekam, K\. Narayanan, D\. Kalathil, J\. Chamberland, and S\. Shakkottai \(2023\)LLMZip: Lossless Text Compression Using Large Language Models\.External Links:2306\.04050Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1),[Introduction](https://arxiv.org/html/2608.11249#Sx1.p3.1),[Predictive Approaches\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px1.p2.2),[Symbol Ranking\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px2.p3.1),[Diffusion\-Based Compression Pipeline](https://arxiv.org/html/2608.11249#Sx3.SSx2.p3.1),[Initial Context Strategies](https://arxiv.org/html/2608.11249#Sx3.SSx4.p1.1),[Evaluation Setup\.](https://arxiv.org/html/2608.11249#Sx4.SSx4.SSS0.Px1.p2.1),[Results](https://arxiv.org/html/2608.11249#Sx5.p3.2)\.
- A\. Vaswani, N\. Shazeer, N\. Parmar, J\. Uszkoreit, L\. Jones, A\. N\. Gomez, Ł\. Kaiser, and I\. Polosukhin \(2017\)Attention is all you need\.InAdvances in Neural Information Processing Systems,Vol\.30\.Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p2.1),[Predictive Approaches\.](https://arxiv.org/html/2608.11249#Sx2.SSx2.SSS0.Px1.p2.2)\.
- D\. von Rütte, M\. Weiss, H\. Nakhost,et al\.\(2025\)Scaling Behavior of Discrete Diffusion Language Models\.External Links:2512\.10858Cited by:[Diffusion Language Models](https://arxiv.org/html/2608.11249#Sx3.SSx1.p2.1),[Results](https://arxiv.org/html/2608.11249#Sx5.p2.1),[Conclusions and Future Works](https://arxiv.org/html/2608.11249#Sx6.p2.1)\.
- I\. H\. Witten, R\. M\. Neal, and J\. G\. Cleary \(1987\)Arithmetic coding for data compression\.Communications of the ACM30\(6\),pp\. 520–540\.Cited by:[State of the Art](https://arxiv.org/html/2608.11249#Sx1.SSx1.p1.1)\.
- J\. Ziv and A\. Lempel \(1977\)A universal algorithm for sequential data compression\.IEEE Transactions on Information Theory23\(3\),pp\. 337–343\.Cited by:[General\-Purpose Compressors](https://arxiv.org/html/2608.11249#Sx2.SSx1.p1.1)\.Similar Articles
@_akhaliq: Unlocking Lossless Speedups in LLMs via Discrete Diffusion paper: https://huggingface.co/papers/2609.04010…
This paper proposes a method using discrete diffusion to unlock lossless speedups in large language models, aiming to improve efficiency without compromising performance.
HyperZip: Efficient Data Compression through Personalized Diffusion LLMs with Hypernetworks
HyperZip proposes an efficient LLM-based lossless data compression framework that uses diffusion-based LLMs with Multi-Token Prediction and a hypernetwork to adapt models to target data without fine-tuning, achieving a superior compression-rate/throughput trade-off over autoregressive baselines.
ALoDLM: Adaptively Looped Diffusion Language Models
ALoDLM introduces token-adaptive latent recurrence for diffusion language models, allocating extra computation to difficult tokens and using a conditional negative ELBO to jointly learn prediction and compute allocation, outperforming other DLMs and AR baselines at 1.7B and 8B scales across eleven benchmarks.
$R^2$-dLLM: Accelerating Diffusion Large Language Models via Spatio-Temporal Redundancy Reduction
R²-dLLM introduces spatio-temporal redundancy reduction techniques that cut diffusion LLM decoding steps by up to 75% while preserving generation quality, addressing a key deployment bottleneck.
@DailyDoseOfDS_: Turn any Autoregressive LLM into a Diffusion LM. dLLM is a Python library that unifies the training & evaluation of dif…
dLLM is an open-source Python library that allows converting any autoregressive language model into a diffusion language model with minimal compute, unifying training and evaluation.