arXiv:2610.11031cs.ITOct 2026

Manuscript Offprint

arXiv:2610.11031

Language Modeling is Monotone Compression

Noam Mazor, Andrew Morgan, Rafael Pass

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A long-standing hypothesis in artificial intelligence and neuroscience posits that intelligence is closely related to compression: the ability to compress information efficiently intuitively reflects capacities associated with intelligence and learning. Indeed, recent experimental works verify this intuition by showing connections between the capabilities of large language models (LLMs) and their ability as compressors: for instance, Delétang et al. (ICLR'24) demonstrate that LLMs can be used as powerful compressors, and Huang et al. (COLM'24) show that the compression ability of LLMs is highly correlated with their performance on benchmarks for knowledge and reasoning.

In this work, we initiate a theoretical study of this connection. Our main result is that LLMs (formally modeled as next-token predictors) are equivalent to monotone (a.k.a. order-preserving) compression algorithms—namely, compression algorithms where the encoding process preserves the ordering of the inputs—in the sense that the one can be constructed from the other while preserving the same error up to an additive gap of 2.

We next show that the monotonicity is required for this equivalence to hold if and only if cryptographic (infinitely-often) one-way functions exist.

As a direct corollary, we get a cryptographic result of independent interest: the notion of next-bit pseudoentropy (a computational analogue of entropy) of a distribution is equivalent to monotone incompressibility of the distribution. (Previously, it was only known (Haitner et al., ITCS'23) that incompressibility implies next-bit pseudoentropy.)

1 Introduction

A central question in the study of artificial intelligence is: can “intelligence” be defined? Turing’s classic “imitation game” [Tur50], which posits that a machine should be considered intelligent if a human is unable to distinguish it from another human given a transcript of a conversation, gives an elegant answer, but one that depends on human judgment. Towards a more mathematical and quantitative definition of intelligence, the work of Shannon [Sha48, Sha51] laid the groundwork for a line of research suggesting that learning or understanding something is closely related to being able to process and describe it in a simple way [Mah99, HO98]—that is, intelligence, intuitively, corresponds to the ability to succinctly compress information.

Recently, autoregressive models such as large language models (LLMs) have made this suggested connection more explicit. Such models are trained on data sampled from a distribution DD to predict the next token in a sequence: given a prefix of tokens t1,t2,…,tkt_1, t_2, \ldots, t_k, they output a probability distribution that is supposed to approximate the conditional distribution {tk+1∣t1,…,tk}\{t_{k+1} \mid t_1, \ldots, t_k\}. A model is considered “good” if its loss, measured as the expected negative log-likelihood on data drawn from DD, or equivalently, the cross-entropy between DD and the model’s predicted distribution, is close to minimal.

*New York University. Research supported by the Simons Foundation.

†^{\dagger}Cornell Tech. Supported by AFOSR Award FA9550-24-1-0267.

‡^{\ddagger}Cornell Tech, Technion and Tel-Aviv University. Supported in part by AFOSR Award FA9550-24-1-0267, ISF Award 2338/23 and ERC Advanced Grant KolmoCrypt - 101142322. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the United States Government, the AFOSR, the European Union or the European Research Council Executive Agency.

It is well known that good compression schemes can be constructed from good autoregressive models by leveraging arithmetic encoding [Sha48, GM59]: arithmetic encoding is known to produce a near-optimal compression rate for a given distribution, so, intuitively, applying it to the distribution of a model's autoregressively sampled outputs should likewise give a near-optimal compression rate for D if the model is good. This was first empirically studied using neural network predictors [SH94] (see also, e.g., [SH96, Mah00, SLM18]), but subsequently has been applied to LLMs, with recent research suggesting not only that compression rivaling state-of-the-art algorithms can be constructed from LLMs (e.g., [DRD +^{+}24, ZZH +^{+}26, Tsa26]), but also that compression ability of LLMs is highly correlated with performance on benchmarks measuring knowledge, reasoning, and coding abilities [HZSH24].

Given that compression can be constructed from LLMs, a natural question is whether the converse may also hold—that is, whether one can construct accurate next-token predictors from good compression algorithms. This idea was originally empirically explored in the work of [FCW00] constructing models for text categorization from compression algorithms, and is of particular interest because it would imply an intuitive equivalence between predictive modeling and compression. More recently, Delétang et al. [DRD +^{+}24] suggest and evaluate a heuristic construction of an autoregressive next-token prediction model from compression, leading them to their titular assertion that “language modeling is compression”.

However, when one compares the results in each direction of this proposed empirical equivalence, there is a clear difference in terms of the empirical quality of results: compression algorithms constructed from LLMs exhibit competitive compression ratios, whereas works constructing autoregressive models from compression exhibit relatively poor predictive ability compared to state-of-art LLMs. While there are certainly plausible intuitive explanations for this disparity—for instance, the difference in computational power between state-of-the-art LLMs and state-of-the-art compression algorithms—it nonetheless raises a fundamental question:

Is there a formal connection between autoregressive models (i.e., LLMs) and compression?

In this work, we address this question, initiating a theoretical study of the intuitive connection between autoregressive models and compression. Our main result shows that, intuitively, “good” autoregressive models are equivalent to “good” monotone compression schemes. (Furthermore, this equivalence holds quantitatively up to a constant additive accuracy gap between the cross-entropy loss of the autoregressive model and the compression loss of the monotone compressor.) We additionally show that the monotonicity condition is necessary if and only if cryptographic (infinitely-often) one-way function (ioOWFs) exist; this explains the disparity observed above.