Elamur Research

Practical Full Resolution Learned Lossless Image Compression

Paper · 2019 · Fabian Mentzer, Eirikur Agustsson, Michael Tschannen et al.

Summary

A lossless compressor has an uncompromising job: its output must contain enough information to restore the input exactly. For images, recognizable objects, convincing texture, and plausible colors cannot compensate for an altered channel value. “Practical Full Resolution Learned Lossless Image Compression” asks whether neural probability prediction can satisfy that requirement without making decompression prohibitively slow. Its answer is L3C, a system that reorganizes prediction around a hierarchy of transmitted features. Rather than repeatedly evaluating a network as individual pixels become available, the decoder recovers a coarse representation and uses it to predict distributions across a finer grid.

The essential move is to make supporting information part of the compressed description. Feature extractors produce progressively smaller arrays, whose entries are restricted to a finite alphabet. These arrays help predict both the original image and the other arrays. Their usefulness is not free: every transmitted feature contributes to the objective alongside the image values. Training adjusts the extractors and predictors together, seeking representations that provide valuable context while remaining economical to encode. The strongest configuration therefore differs from an ordinary pyramid of resized pictures. Its intermediate contents are selected through the compression objective, rather than determined by a resizing operation.

Recovery proceeds from coarse information towards finer information. The smallest feature array is coded under a uniform distribution, so the receiver can begin without knowing any other image-specific context. After recovering that array, it evaluates a predictor, obtains probabilities for the next array, and uses an arithmetic decoder to recover its symbols. Repetition eventually supplies the probabilities needed for RGB. With the authors’ chosen hierarchy, the neural part of decoding needs three forward evaluations. Each evaluation processes spatial positions together. Dependencies remain between hierarchy levels and between color channels, and entropy decoding still takes work; the important saving is the removal of a neural evaluation sequence running through all image positions.

On the full-resolution collections, L3C achieves shorter descriptions than WebP, JPEG2000, and PNG, although FLIF remains slightly better in compressed size. Experiments with fixed RGB pyramids show that optimizing the intermediate representations contributes materially to the result. The comparison with autoregressive prediction reveals a different compromise. On ImageNet32, L3C requires 20.6% more bits than MS-PixelCNN, but the sampling comparison for 320 × 320 images gives L3C a speed advantage of at least 5.06·10²×. Those timing estimates have qualifications involving hardware, available implementations, and extrapolation.

The paper’s contribution to efficient computation and compression is thus a workable combination of exact recovery, competitive rate, and a short neural dependency chain. It does not establish the best compression rate among all competitors, nor the fastest conventional decoder. Indeed, the measured L3C decoder is slower than the conventional decoders tested. What it demonstrates is that the arrangement of conditional probabilities can transform the practicality of a learned compressor. Statistical prediction, decoding order, memory movement, and entropy coding must fit together; favorable likelihood alone does not settle whether a system is usable.

Interesting ideas

Choose intermediate information by its eventual contribution. A familiar representation can be convenient without being efficient. L3C tests this distinction by contrasting resized RGB pictures with features optimized for coding. The more general lesson is to evaluate an intermediate description through the work it enables downstream. A cache entry, a document representation, or an index structure should earn its place through improved outcomes under an explicit resource budget. Human-readable structure can still be desirable, but familiarity is not evidence that a representation is economical.

Include supporting structures in the objective. A final prediction can look inexpensive because an earlier component has already supplied an elaborate description. L3C prevents this accounting shortcut by charging for the auxiliary hierarchy as well as RGB. Elsewhere, the same principle applies to dictionaries, shared templates, preprocessing results, and reusable summaries. Measuring only the last operation can reward moving expense out of view. A complete objective makes it possible to decide whether the entire arrangement saves resources.

Design around what the receiver can know. Conditional prediction is useful for decoding only when its inputs can be reconstructed at the required moment. L3C makes that constraint architectural: coarser symbols become available before they are used to describe finer symbols. This principle transfers to distributed processing, reproducible pipelines, and staged inference. A component should declare which inputs must already exist, how they become available, and what happens if they cannot be obtained.

Remove expensive dependencies selectively. L3C does not pursue independence everywhere. It discards spatial autoregression but retains a small dependence among color channels through updates to already predicted parameters. This suggests examining the computational weight of a dependency, rather than treating all sequential operations alike. Repeated execution of a large predictor may dominate runtime, whereas a limited arithmetic update may preserve useful information at modest cost.

Allow intermediate targets to improve. The auxiliary arrays are outputs of learned extractors and targets for probability prediction. Their values must be able to change in response to both responsibilities. The gradient-stopping experiment shows how badly training can suffer when this relationship is interrupted. Beyond compression, a jointly optimized system may need to reconsider the contents of an intermediate target instead of endlessly improving a predictor against an unsuitable target.

Measure the implemented path, then explain its parts. The paper separates likelihood-related rate, sampling speed, and complete encoding or decoding. These quantities answer different questions. Fast prediction does not remove entropy-coding costs, and a short neural sequence does not prevent large probability arrays from becoming a memory bottleneck. Component measurements explain a system’s behavior, but deployment claims need measurements that include the actual operations required to deliver the result.

Audit preparation as part of the scientific comparison. The revised experiments address a preprocessing choice that created a recognizable distribution through JPEG storage and fixed resizing. Both learned prediction and conventional compression were affected. Data preparation therefore belongs inside the explanation of an experiment. The reusable practice is to preserve the identity of the evaluated data, document transformations, and reconsider conclusions when a seemingly incidental preparation step changes the task.

Deep dive: Practical Full Resolution Learned Lossless Image Compression

L3C makes lossless image compression practical through learned auxiliary features, parallel probability prediction, and arithmetic coding. · about 40 minutes to read

How Mova uses it

Mova is not an allowed link target in this article’s reference set, so Mova is discussed here by name. It is a compact language system implemented in Rust, with explicit rules, statistical components, retained knowledge, and storage machinery. The connections below concern engineering principles that can be adapted without adopting L3C’s image architecture. Their status marks compare each proposal with the documented Mova mechanisms; they do not certify an application of this paper. No compression gain, language-understanding gain, or runtime improvement is established by these proposals.

Idea: Select useful intermediate representations. Where: Method, Architecture; Results, Compression. Area: representation design. Mova: частково є (pack preparation, retained document graphs). Mova already transforms information before storing or using it. L3C suggests comparing alternative transparent representations by their complete downstream contribution, instead of assuming that the most familiar structure is best. A candidate could be a different arrangement of shared linguistic fields, with exact reconstruction required for stored data. Why Mova: this could improve resource use while preserving inspectable records; the effect is unknown until measured.

Idea: Account for the complete description. Where: Method, Loss. Area: storage evaluation. Mova: вже є (pack, verified repacking and prepared storage). Mova’s storage preparation already includes templates and value dictionaries as parts of a recoverable representation. The transferable criterion is to measure the entire stored result, including these supporting structures, instead of celebrating a smaller payload after excluding its dictionary. Why Mova: complete accounting prevents a storage change from appearing beneficial merely because its expense has moved elsewhere.

Idea: Declare reconstruction prerequisites. Where: Method, Lossless Compression; Appendix, Encoding and Decoding Details. Area: reproducibility. Mova: частково є (groupant interfaces, explicit worker inputs, retained-state loading). L3C requires each decoding context to be reproducible before use. Mova could apply the same discipline to caches and compressed linguistic resources by recording the exact prerequisite representation and version. Why Mova: a result is operationally useful only if a fresh process can obtain the information on which it depends.

Idea: Audit the cost of each dependency. Where: Method, Mixture Model; Relationship to MS-PixelCNN. Area: execution design. Mova: частково є (bounded worker protocols, threaded document specialists in mice.rs). The proposal is to distinguish a dependency that forces repeated expensive analysis from one that only updates a small state. Independent checks over a shared parse might run together, while genuinely dependent world updates retain their order. Why Mova: this could shorten processing without treating linguistic events as independent when their meaning requires sequence.

Idea: Reconsider intermediate targets. Where: Method, Loss, Propagating Gradients through Targets. Area: learning design. Mova: нове. A proposed rule-based adaptation would let a bounded search revise an intermediate representation while evaluating both its own complexity and the reader behavior it supports. This is an analogy to L3C’s optimization, not a proposal to copy differentiable feature arrays into the language core. Why Mova: the current direction favors explicit logic and statistics, so a transparent representation search could explore the principle within that design preference.

Idea: Measure complete execution separately from prediction. Where: Results, Comparison with PixelCNN; Encoding / Decoding Time. Area: evaluation. Mova: вже є (dictindex measurement scopes, worker outcomes, cost calibration in twin). Existing mechanisms already distinguish bounded work and actual outcomes. L3C reinforces the need to report parser time, record retrieval, storage decoding, and final task completion separately when they differ. Why Mova: a fast local component does not establish that the user’s complete task becomes faster.

Idea: Version data preparation. Where: Appendix, Changes in Version 3. Area: data provenance. Mova: вже є (dictindex source versions and epochs, enrichment fingerprints). Mova already refuses to disguise changed parses as an unchanged indexed source. The paper supplies a reason to extend that discipline to preprocessing configurations and derived representations used in comparisons. Why Mova: an apparent algorithmic gain may instead reflect altered input preparation, and immutable identities make that possibility examinable.

Idea: Begin with simple dependency-free storage. Where: Method, Architecture; Appendix, Decoding. Area: storage architecture. Mova: нове. A proposed hierarchical linguistic store could give its initial layer a self-contained representation, then decode additional structures using only earlier recovered material. L3C’s uniform coarsest distribution illustrates a clean starting condition, although it does not establish the right initial representation for text. Why Mova: this could simplify bootstrapping and expose hidden reliance on unavailable dictionaries or previously loaded context.

Idea: Bound intermediate capacity explicitly. Where: Method, Architecture and Quantization. Area: resource control. Mova: частково є (bounded plans, bounded query outputs, worker budgets). L3C restricts the shape and alphabet of its feature arrays. Mova could similarly state limits for a retained summary, candidate list, or shared context object before judging its usefulness. Why Mova: explicit capacity makes comparisons fairer and prevents an allegedly compact intermediary from growing without a corresponding charge.

Idea: Specialize by level when distributions differ. Where: Experiments, Models; Results, Compression. Area: statistical design. Mova: частково є (layers domain routing, language-specific rules). The RGB and RGB Shared comparison suggests testing whether a reused scoring rule loses value across structurally different stages. Mova could compare a common scorer with stage-specific parameters while retaining common types and evidence requirements. Why Mova: specialization may help where genuinely different inputs have been forced through an overly uniform decision procedure.

Idea: Keep value neighborhoods meaningful. Where: Method, Mixture Model. Area: mathematics and statistical representation. Mova: нове. L3C uses ordered numerical values to shape a compact probability family. An analogous Mova experiment could exploit meaningful adjacency for quantities or bounded confidence values, while avoiding the assumption that neighboring concept identifiers are semantically close. Why Mova: numerical structure can support economical statistics, but applying it only where justified protects the system’s typed symbolic distinctions.

Idea: Separate exact coding from training approximations. Where: Method, Quantization. Area: verification. Mova: частково є (exact CPU reference, explicitly measured GPU approximants). L3C performs hard assignments in the forward calculation while using a smooth expression for backward optimization. Mova’s analogous requirement is to label a search aid or approximant separately from the exact operation whose behavior is claimed. Why Mova: a useful approximation should help exploration without silently changing the meaning of an exact result.

Idea: Preserve joint accounting across a hierarchy. Where: Method, Loss. Area: objective design. Mova: нове. A proposed retained-knowledge experiment could penalize both the size of supporting representations and the errors or work remaining for their consumers. That would differ from optimizing each stage independently and assuming the complete system improves. Why Mova: local simplification can make a later reader more expensive or less reliable, so the combined consequence needs a declared objective.

Idea: Test the mechanism by disabling its communication path. Where: Experiments, Architecture Ablations. Area: experimental design. Mova: вже є (negative controls, regression gates, frozen comparisons). The gradient-stopping analysis demonstrates a useful intervention: interrupt the pathway through which a claimed mechanism should operate. Mova can use corresponding interventions for graph access, coreference links, or rule evidence. Why Mova: a result becomes more explanatory when the proposed source of improvement can be removed and its consequence observed.

Idea: Isolate representation changes from predictor changes. Where: Experiments, Models. Area: controlled comparison. Mova: частково є (feature ablations and regression-gated revisions). L3C’s RGB baseline helps separate scale-specific prediction from learned feature extraction. A Mova comparison could hold a reader fixed while changing stored evidence, then hold evidence fixed while changing the reader. Why Mova: this helps identify whether a gain comes from better knowledge organization, better inference, or simultaneous changes that remain difficult to disentangle.

Idea: Treat memory as a primary runtime variable. Where: Appendix, Notes on Code Optimization. Area: systems engineering. Mova: частково є (pack block access, dictindex compact postings and explicit cache scopes). The paper’s cumulative-probability arrays show that compact parameters can still expand into large working structures. Mova should measure decoded working memory as well as compressed bytes when evaluating a representation. Why Mova: saving disk space can be counterproductive if ordinary queries require excessive expansion.

Idea: Materialize only what the consumer needs. Where: Appendix, Notes on Code Optimization. Area: storage and query execution. Mova: частково є (pack record access, dictindex block and selector retrieval). The authors observe that encoding does not require a complete cumulative array for every possible symbol. Mova can apply the same reasoning to selective record decoding and evidence retrieval. Why Mova: bounded access can reduce work, provided the measured query still returns all evidence required by its contract.

Idea: Share analysis across independent consumers. Where: Method, Architecture; Appendix, Notes on Code Optimization. Area: parallel computation. Mova: вже є (mice.rs, shared parsing and retained graph). L3C computes reusable predictor features before many symbol probabilities are obtained. Mova’s document specialists already work over shared structures instead of each rebuilding a separate analysis. Why Mova: shared preparation can make specialization economical; its benefit must still include synchronization, memory, and the preparation cost itself.

Idea: Measure batching before drawing latency conclusions. Location: the appendix note discussing time comparisons for images measuring 32 × 32. Area: performance evaluation. Mova: частково є (dictindex bounded import batches, threaded reading profiles). The proposed extension is to report single-task latency separately from sustained throughput for parser and indexing work. Why Mova: a configuration that processes a queue efficiently may behave differently for an isolated request, and those uses should not inherit each other’s performance claims.

Idea: Expose the cost of partitioning. Where: Experiments, Datasets. Area: data processing. Mova: частково є (document units, compressed blocks, bounded enrichment packets). L3C divides oversized images when memory is insufficient, which can restrict available context. Mova could measure whether document splitting changes coreference, discourse relations, or retrieval evidence. Why Mova: a memory-management boundary may also become a meaning boundary, so partition size belongs in the experimental conditions.

Idea: Keep visual or semantic plausibility separate from exact recovery. Where: Results, Sampling Representations. Area: validation. Mova: вже є (pack byte-exact checks; retained-learning and assessment boundaries). A fluent reconstruction or similar answer cannot validate an exact data transform. Conversely, an exact stored transcript does not establish understanding. Why Mova: the system handles tool receipts, linguistic evidence, and learned knowledge, whose correctness requirements differ and should remain explicitly typed.

Idea: Reuse partial representations only after a task test. Where: Appendix, Visualizing Representations. Area: inference architecture. Mova: частково є (fastread.rs, direct reading and prepared-graph evaluation). L3C suggests operating on partially recovered features but does not evaluate the proposed understanding task. Mova could compare retrieval or question answering from a compact retained graph against a fuller representation. Why Mova: partial access could save work, but its adequacy must be demonstrated for the actual questions asked.

Idea: Separate qualitative diagnosis from scored improvement. Where: Results, Sampling Representations; Appendix, Visualizing Representations. Area: evaluation. Mova: вже є (traces, source-bound reasons, same-question improvement checks). Heatmaps help explain feature content without establishing downstream accuracy. Mova’s traces and graph inspections should serve the same diagnostic role alongside controlled assessment. Why Mova: understandable examples reveal mechanisms and failures, while comparable tests establish whether behavior improved.

Idea: Use domain adaptation as a bounded question. Where: Conclusion. Area: domain evaluation. Mova: частково є (layers domain registry and coverage routing). The authors propose domain-specific image applications without claiming their success. Mova can follow that discipline when extending a reader to another language, grammar, or technical corpus: specify the domain and evaluate it separately. Why Mova: a successful general component does not automatically establish adequate coverage for a specialized deployment.

Idea: Include the cost of reproducing shared machinery. Where: Method, Lossless Compression; Appendix, Hardware Used. Area: deployment accounting. Mova: частково є (external resource paths, versioned stores, explicit execution modes). L3C assumes that the receiver can reproduce the probability predictions. For Mova, storage comparisons should state which dictionaries, binaries, or retained state are already installed. Why Mova: identical payload sizes can represent different practical costs when their prerequisites differ.

Idea: Preserve distinctions between observations and proposals. Where: Results, Sampling Representations; Conclusion. Area: epistemic status. Mova: вже є (Frame::evid, reported-content admission rules, review-only consultant notes). The authors’ observed feature behavior motivates further applications without demonstrating them. Mova can retain the same boundary when storing research suggestions: a proposed transfer remains a hypothesis. Why Mova: source-bound knowledge should not turn an attractive analogy into an established capability merely because it has been recorded.

The problem and its context

Exactness makes probability operational

Image compression is frequently discussed through a balance between file size and visual quality. This paper addresses a different setting. The reconstructed array must match the source array, so the compressor cannot purchase a smaller file by accepting a different image. It must instead exploit regularity in how values occur.

Probability provides a route to that exploitation. If a value is expected in its context, it can receive a short effective description. If it is surprising, its description becomes longer. Across many values, accurate probability assignments can reduce the total coded length.

The relevant context is not necessarily a neighboring pixel alone. Image structure may extend across an area, and the channels at a location are related. A useful compressor needs to capture enough of these relationships to make the remaining uncertainty small.

Yet a context must also be available during recovery. An encoder can inspect the complete source image, but a decoder begins with a bitstream. If a probability depends on a value not yet recovered, the decoder cannot simply reproduce that probability. This makes the organization of dependencies part of the compression method.

L3C’s hierarchy is a response to that asymmetry. The encoder extracts information from the complete image and explicitly transmits it. The receiver then recovers that information in a permitted order. What was freely visible during encoding becomes paid-for context during decoding.

Why autoregressive prediction was expensive

The paper describes PixelRNN and PixelCNN as systems that turn image prediction into a sequence. Each channel value is assigned a distribution conditioned on earlier values. PixelRNN expresses this organization through recurrent computation; PixelCNN restricts convolutional access through masks.

This strategy is attractive statistically because previously recovered values provide context. Its runtime difficulty appears when those values are produced one after another. The next neural evaluation must wait until another part of the image has been generated or decoded.

For RGB images, the original formulation described by the authors requires 3·W·H neural evaluations. W and H are image dimensions, and the channel factor accounts for the separate values at each location. The sequence grows with image area.

PixelCNN++ changes the treatment of a pixel’s channels and reduces the evaluation count to W·H. That removes an important source of repetition but retains the dependence between spatial positions. A large image still implies a long succession of network evaluations.

MS-PixelCNN takes a more parallel approach. It reduces dependencies between groups of pixels and uses shallow predictors inside a multiscale organization. The paper characterizes its forward-evaluation complexity as O(log WH). Nonetheless, the practical sampling comparison remains unfavorable for full-resolution compression.

Other cited approaches enlarge the available context through attention. In the paper’s account, this concerns PixelSNAIL and the Image Transformer. L3C’s immediate problem is different: useful context must be supplied without reinstating an expensive spatial decoding sequence.

Conventional compression sets the practical standard

The authors argue that likelihood research had frequently stopped short of codec evaluation. A probability distribution over discrete images can, in principle, drive an entropy coder. That possibility does not on its own establish a usable compressor or a favorable comparison with established formats.

PNG supplies a relatively direct reference. A reversible filter uses nearby image values to create a more compressible stream, which is then processed by deflate. Exactness survives because the transformation can be undone.

The paper describes WebP as using a richer collection of transformations, including reuse of image fragments when describing new pixels. Its entropy-coding arrangement is also specialized. Thus its practical behavior comes from an integrated collection of decisions.

For JPEG2000, the relevant comparison is the lossless mode. The paper distinguishes reversible transformation of image tiles from irreversible frequency removal. Only the exact-recovery configuration belongs in the reported comparison.

FLIF provides the strongest conventional rate reference in the paper. It combines preprocessing with MANIAC, which the authors connect to CABAC. During encoding, its context machinery develops a dynamic decision tree for each channel.

These comparisons matter because L3C does not merely need to outperform an elementary independent-symbol baseline. It competes against codecs whose transformations and coding procedures have been designed together. The claimed advance is consequently about a complete learned system, with both output size and runtime under examination.

The paper situates its auxiliary representations among earlier attempts to provide high-level image information. It discusses PixelCNN work that used grayscale images or RGB pyramids as additional variables. Those variables could encourage useful structure in the resulting predictions.

MS-PixelCNN also uses a pyramid and upscaling networks. L3C’s fixed-pyramid baselines therefore share an important ingredient with that approach. The difference is not the bare presence of coarse-to-fine information.

The distinguishing step in the strongest L3C configuration is to optimize what the auxiliary information contains. Resizing RGB determines a representation through an image-processing rule. Learned extraction allows the coding objective to choose a different allocation of information.

The paper also connects its architecture to hierarchical context in lossy compression. In the hyperprior approach it discusses, an auxiliary path helps describe a compressed representation. L3C must additionally predict a distribution over original RGB values because its task retains the source exactly.

Its auxiliary distributions are richer than predicting uncertainty parameters alone, and its hierarchy can continue recursively. These distinctions explain why a visually familiar encoder–decoder structure performs a different job here.

Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representations appears among the cited learned-compression works. The scalar quantization procedure actually used by L3C is attributed in the method to Conditional Probability Models for Deep Image Compression. Keeping those roles separate avoids assigning the implementation to the wrong cited contribution.

Continuous density is not yet a discrete codec

Continuous likelihood methods offer another related route, including variational autoencoders associated with Auto-Encoding Variational Bayes. The paper explains that adding uniform quantization noise connects a continuous density with probabilities over discrete images.

That mathematical connection does not eliminate the practical work. A codec needs the discrete probabilities themselves, which may require nontrivial integration. It also needs a factorization whose individual domains remain manageable.

A whole-image variable has an enormous domain. Without suitable decomposition, an adaptive arithmetic coder cannot usefully enumerate the possibilities. L3C therefore makes both the discrete alphabet and the reconstruction order explicit in its construction.

The method, step by step

The system combines extraction, probability prediction, and entropy coding. Extraction determines the auxiliary symbols. Prediction supplies distributions over symbols at finer stages. Entropy coding turns those distributions and actual symbol values into a recoverable stream.

L3C’s analysis and recovery sequence

The steps in order.

L3C’s analysis and recovery sequenceStep 1: Extract progressively coarser feature arrays1. Extract progressively coarser feature arraysStep 2: Quantize every auxiliary array2. Quantize every auxiliary arrayStep 3: Predict probabilities from available coarser information3. Predict probabilities from available coarser informationStep 4: Arithmetic-code features and original RGB4. Arithmetic-code features and original RGBStep 5: Recover the uniformly coded coarsest array5. Recover the uniformly coded coarsest arrayStep 6: Predict and decode successively finer arrays6. Predict and decode successively finer arraysStep 7: Decode color channels and assemble the image7. Decode color channels and assemble the image

From probabilities to expected length

Start with a finite alphabet, written 𝒳. Each member j has a true occurrence probability and an assigned description length. The expected coding length is their probability-weighted average.

L̃ = Σⱼ∈𝒳 P_real(j) ℓ(j)

L̃ denotes expected bits per symbol. P_real(j) is the true probability of symbol j, while ℓ(j) is its code length. The summation ranges over every member of 𝒳.

Entropy gives the lower bound used in the paper’s explanation.

L̃ ≥ H(P_real) = Eⱼ∼P_real[−log P_real(j)]

H is entropy, and E denotes an expectation under the stated distribution. The negative logarithm expresses the ideal information cost associated with a symbol. In the coding interpretation, logarithms measure that cost in bits.

The true probabilities are generally unavailable. A compressor instead uses an estimate p. Its expected cost then becomes cross-entropy.

H(P_real, p) = Eⱼ∼P_real[−log p(j)]

The first argument describes where the data actually come from; the second specifies the probabilities used for coding. A poor estimate can assign too little probability to observed events and thereby require longer descriptions.

This is the link to machine learning in L3C. Training minimizes a quantity directly associated with coding expense. It does not optimize a visual-similarity score and hope that exact compression follows.

Arithmetic coding requires agreement

The arithmetic coder repeatedly refines an interval according to the next symbol’s probability. More probable outcomes receive larger portions of the interval. A final numerical description identifies a point inside the portion corresponding to the complete symbol sequence.

Recovery requires the receiver to reproduce the same sequence of subdivisions. It must know how many symbols are represented and which probability distribution applies at each step. The agreement requirement remains when distributions change with context.

For an image arranged as a symbol sequence, the standard causal decomposition is:

P_img(x) = ∏ₜ P(xₜ | xₜ₋₁, …, x₁)

P_img(x) is the probability of the complete image x. The variable xₜ denotes a channel value at position t in the sequence. Each factor conditions on previously available values.

Adaptive arithmetic coding permits a different distribution at each step. However, it does not grant the decoder access to future symbols. The context must be known beforehand or recoverable from information already decoded.

L3C retains that causality requirement while replacing spatially sequential neural prediction with a hierarchy. The arithmetic coder is not responsible for solving the dependency problem; the probability factorization must already be executable.

Define auxiliary arrays with limited capacity

For an image of height H and width W, the representation at level s has a fixed channel count and reduced spatial dimensions.

shape(z⁽ˢ⁾) = C × H′ × W′, where H′ = H/2ˢ and W′ = W/2ˢ

z⁽ˢ⁾ is the auxiliary array at scale s. C counts its channels. H′ and W′ are its height and width, determined by the image dimensions and the scale index.

The reported configuration uses C=5. Quantization further limits how much information an array can hold. Together, finite dimensions and a finite alphabet impose a concrete capacity constraint.

The hierarchy contains S such arrays. For compact notation, the original image can also be treated as scale zero by setting z⁽⁰⁾=x. This convention lets the same discussion cover feature prediction and RGB prediction.

The complete probability assignment is joint over the image and the auxiliary arrays.

p(x, z⁽¹⁾, …, z⁽S⁾) = p(x | z⁽¹⁾, …, z⁽S⁾) ∏ₛ₌₁^S p(z⁽ˢ⁾ | z⁽ˢ⁺¹⁾, …, z⁽S⁾)

p denotes the probability assignment, x the image, and S the coarsest level. Each array is predicted using coarser arrays. At the final level, the corresponding factor is the unconditional distribution p(z⁽S⁾), chosen to be uniform.

The equation explains why side information cannot be ignored in rate accounting. The stream contains the auxiliary symbols as well as RGB. A hierarchy is useful only if the conditional savings justify its own description.

Compare fixed extraction with learned extraction

A fixed representation uses bicubic sub-sampling.

z⁽ˢ⁾ = Bicubic₂ˢ(x)

Bicubic₂ˢ denotes bicubic spatial reduction by factor 2ˢ. Its output remains an RGB picture at a smaller scale. Training can adapt the predictor that consumes it, but cannot change what the resizing rule retains.

The learned alternative composes extraction blocks and quantization.

F⁽ˢ⁾ = Q ∘ E⁽ˢ⁾ ∘ … ∘ E⁽¹⁾

E⁽ˢ⁾ is the extractor at scale s, Q is scalar quantization, and ∘ means composition. F⁽ˢ⁾ is the resulting mapping from the source image to z⁽ˢ⁾.

Extractors and predictors are convolutional networks. Their responsibilities differ: the extractor chooses intermediate values, while the predictor assigns distributions using recovered intermediate information.

The decoder does not need to run the extraction path. It obtains those selected values from the coded stream. Extraction is how the encoder constructs the side information, not an additional source of information available freely at the receiver.

Carry information through predictor features

Predictor features summarize what has been recovered from the coarser hierarchy.

f⁽ˢ⁾ = D⁽ˢ⁾(f⁽ˢ⁺¹⁾, z⁽ˢ⁾)

D⁽ˢ⁾ is a predictor block. It combines the current auxiliary array z⁽ˢ⁾ with coarser predictor features f⁽ˢ⁺¹⁾. Its output f⁽ˢ⁾ supports prediction at the next finer stage.

At the coarsest end, the extra feature input is zero. Elsewhere, a connection between scales adds coarser features into finer processing. Thus information can persist through the hierarchy rather than being discarded whenever a new array is decoded.

The conditional probability is parameterized through that summary.

p(z⁽ˢ⁾ | z⁽ˢ⁺¹⁾, …, z⁽S⁾) = p(z⁽ˢ⁾ | f⁽ˢ⁺¹⁾)

The left side names the coarser arrays explicitly. The right side expresses their influence through predictor features. These features are deterministic computations from information available to the decoder.

The architecture draws on EDSR because both tasks involve dense prediction at increasing spatial resolution. Pixelshuffling performs upsampling. The extraction path mirrors the predictor structure.

Ordinary convolutional layers use C_f=64 filters unless a different setting is specified. The authors omit BatchNorm. Near the predictor output, an atrous block combines convolutions with rates 1, 2, and 4. These operate at different spatial spacings before their outputs are concatenated.

Quantization creates a finite alphabet

Unrestricted continuous features cannot directly serve as the intended transmitted symbols. The authors restrict them to L=25 evenly spaced levels spanning [−1, 1].

The hard assignment selects the closest level.

Q(z′) = argminⱼ ‖z′ − ℓⱼ‖

z′ is the unquantized scalar, ℓⱼ is level j, and the distance determines the nearest choice. The resulting index identifies the level used as the discrete feature value.

Hard nearest-neighbor selection does not provide the ordinary smooth derivative needed by the extractors. For backward optimization, the method substitutes a soft expression.

Q̃(z′) = Σⱼ₌₁ᴸ [exp(−σ_q‖z′ − ℓⱼ‖) / Σₗ₌₁ᴸ exp(−σ_q‖z′ − ℓₗ‖)] ℓⱼ

Q̃ is the differentiable approximation. exp is the exponential function, and σ_q controls the concentration of the weights around nearby levels. The indices j and l both range over the alphabet.

The actual forward values remain quantized. The soft calculation supplies gradients instead of a different transmitted representation. The selected softness is σ_q=2.

This distinction matters because exact recovery concerns the discrete symbols that were coded. Smooth optimization is a means of finding a useful encoder, not permission to reconstruct approximately.

Describe symbols with logistic mixtures

Instead of emitting an unrelated probability parameter for every possible value, the predictor produces parameters of a discretized logistic mixture.

p_mix(z) = Σₖ πᵏ p_logistic(z | μᵏ, σᵏ)

z is the symbol being evaluated. The index k selects a mixture component. πᵏ is its weight, μᵏ its location parameter, and σᵏ its spread parameter.

These parameters vary with channel and spatial location. They are obtained from predictor features through a final 1×1 convolution. The mixture provides a compact way to express several possible value regions.

The paper motivates this choice through memory, training feedback, and numerical structure. Separate logits for every value require more outputs. They also do not directly encode the idea that nearby numerical values should receive related treatment.

A discrete component assigns mass to the bin surrounding a value.

p_logistic(z | μ, σ) = sigmoid((z + b/2 − μ)/σ) − sigmoid((z − b/2 − μ)/σ)

b is the quantization-bin width. The two sigmoid terms evaluate cumulative probability at the bin boundaries. Their difference supplies the bin’s probability.

For RGB, b=1. For auxiliary values, b=1/12. The RGB endpoints, 0 and 255, use boundary handling inherited from the cited PixelCNN++ construction.

Retain a restricted color dependency

Given predictor features, the RGB distribution separates across spatial locations.

p(x | f⁽¹⁾) = ∏ᵤ,ᵥ p(x₁ᵤᵥ, x₂ᵤᵥ, x₃ᵤᵥ | f⁽¹⁾)

u and v index image position. The subscripts 1, 2, and 3 identify color channels. No factor waits for a previously decoded neighboring position.

Within each location, the channels are still conditionally ordered.

p(x₁, x₂, x₃ | f⁽¹⁾) = p_mix(x₁ | f⁽¹⁾) · p_mix(x₂ | f⁽¹⁾, x₁) · p_mix(x₃ | f⁽¹⁾, x₁, x₂)

Spatial indices are suppressed here. The first channel uses the features alone; later channels additionally use earlier channel values.

Those dependencies modify mixture means instead of requiring another spatial neural prediction.

μ̃₁ᵏ = μ₁ᵏ

The first-channel mean μ̃₁ᵏ equals the predicted mean μ₁ᵏ because no earlier channel contributes.

μ̃₂ᵏ = μ₂ᵏ + λ_αᵏ x₁

λ_αᵏ is a predicted coefficient controlling the contribution of the recovered first-channel value x₁.

μ̃₃ᵏ = μ₃ᵏ + λ_βᵏ x₁ + λ_γᵏ x₂

λ_βᵏ and λ_γᵏ control the contributions of the earlier channels to the final channel’s mean.

For auxiliary arrays, this color-style dependence is omitted.

p(z⁽ˢ⁾ | f⁽ˢ⁺¹⁾) = ∏𝚌,ᵤ,ᵥ p_mix(z⁽ˢ⁾𝚌ᵤᵥ | f⁽ˢ⁺¹⁾)

c indexes an auxiliary channel. Given the coarser features, the entries separate across channels and locations. Their component means require no corresponding channel update.

RGB therefore needs distribution parameters and additional dependency coefficients.

C_p⁽⁰⁾ = 3 · 3 · K + 3 · K

C_p⁽⁰⁾ counts output channels in the parameter-producing layer, and K is the number of mixture components. The expression includes the mixture parameters and the coefficients used for RGB mean adjustment.

At an auxiliary scale, the output requirement is:

C_p⁽ˢ⁾ = 3 · C · K

C_p⁽ˢ⁾ is the auxiliary parameter-channel count. C denotes representation channels. No extra mean-adjustment coefficients are included.

Optimize the total transmitted information

For training image i, the extractors produce auxiliary arrays zᵢ⁽ˢ⁾. The objective charges for all of them and for RGB.

ℒ = −Σᵢ₌₁ᴺ [log p(xᵢ | zᵢ⁽¹⁾, …, zᵢ⁽S⁾) + Σₛ₌₁^S log p(zᵢ⁽ˢ⁾ | zᵢ⁽ˢ⁺¹⁾, …, zᵢ⁽S⁾)]

ℒ is the training objective, N the number of examples, and i the example index. The first term measures image description cost conditional on the hierarchy. The inner sum measures auxiliary description cost.

The coarsest term again uses the uniform prior. Written this way, the objective exposes the competing demands on each intermediate array. It should help describe finer information, but should also be easy to describe from coarser information.

Gradients reach the extractors through the representation values themselves. They also reach the predictors through the distribution parameters. The auxiliary arrays are therefore not fixed targets that the predictor must accept indefinitely.

Training uses RMSProp and batch size 30. Inputs are random 128×128 crops with random horizontal reflection. The loss has no additional regularization term. The initial learning rate is 1·10⁻⁴, with multiplication by 0.75 every 5 epochs; the ImageNet experiments apply decay every epoch.

The main configuration and the learned baselines reach convergence at 700k iterations. The authors identify their released implementation as L3C-PyTorch.

Construct the stream and recover it

Encoding has access to the complete image, so it can calculate all representations and predictor features before coding. The coarsest array uses an equal-probability alphabet.

cost = log₂(L)

cost is bits per coarsest-array symbol under the uniform distribution. L is the alphabet size.

For arithmetic coding, the implementation obtains cumulative probabilities. A logistic component has the cumulative function:

C_l(z | μ, σ) = sigmoid((z − μ)/σ)

C_l denotes that component’s cumulative distribution. z is the evaluation point, with μ and σ retaining their location and spread roles.

The corresponding mixture combines cumulative functions with mixture weights.

C_mix(z) = Σₖ πᵏ C_l(z | μᵏ, σᵏ)

C_mix supplies cumulative values for the arithmetic-coding intervals. RGB uses the appropriate adjusted means once earlier channels are known.

Each coded substream begins with its dimensions, represented as a triplet of uint16 values. Concatenating the substreams creates the final stream.

The receiver begins with the uniformly coded coarsest array. A predictor then supplies cumulative probabilities for the next array. Arithmetic decoding recovers those symbols, enabling the next predictor.

After the auxiliary hierarchy has been recovered, RGB decoding proceeds channel by channel. The known earlier channel values support the mean updates for later channels. Assembling the decoded channels restores the image array.

The chosen setting is S=3. Larger hierarchies make training slower while offering negligible rate improvement in the authors’ exploration. That short hierarchy is the operational reason the neural decoding sequence remains manageable.

Experiments and results

Training data and evaluation data have different roles

The main training collection contains 362,551 randomly chosen Open Images training images. The preparation applies random resizing while keeping at least 512 pixels along the longer dimension. Cases that cannot support at least 1.25× downscaling are discarded.

The authors also filter using HSV statistics. Images with mean S>0.9 or V>0.8 are excluded to reduce highly saturated or non-photographic material. These decisions define the training distribution; the experiments are not an unrestricted test over arbitrary image arrays.

The principal Open Images evaluation uses 500 randomly selected validation images. Full-resolution testing also includes DIV2K, with 100 images, and RAISE-1k, with 1000 images. These provide distinct collections for assessing compression.

Images exceeding available GPU memory are divided into equal-sized pieces and processed sequentially. The authors regard this as unfavorable to L3C. Partitioning restricts the context accessible within a piece and adds a practical condition to the full-resolution claim.

For small-image comparisons, L3C is trained separately on ImageNet32 and ImageNet64. Each dataset contains 1,281,151 training examples and 50,000 validation examples. Their dimensions are 32×32 and 64×64, respectively.

The revision changes how preparation should be read

The supplementary discussion explains an important correction. An earlier pipeline stored the training and validation images as JPEG with Q=95 and used a fixed resizing factor of 0.75. The resulting artifacts were regular enough for the network to exploit, while also making conventional compression easier.

The revised storage format is PNG. Validation images are not resized; they are divided into pieces when needed for memory. Training uses random downscaling, widening the range of resizing artifacts instead of repeatedly applying the same factor.

This revision qualifies a generic description of Open Images preparation. The explicit version discussion says that the corrected validation processing preserves scale. A careful account must keep that statement visible rather than treating training and validation resizing as identical.

The significance is methodological as well as practical. Compression systems respond to the actual numerical arrays they receive. A preparation step can alter those arrays’ regularity even when the subject matter still appears unchanged.

Conventional and learned baselines

FLIF and WebP are evaluated using their official implementations. The PNG comparison uses Pillow, while Kakadu supplies the lossless JPEG2000 implementation. These details identify the actual tested systems.

The learned baselines make a more targeted comparison. RGB Shared retains bicubic auxiliary pictures and reuses a predictor across scales. RGB uses the same kind of fixed pictures but gives each scale a separately trained predictor.

L3C adds learned extraction to the scale-specific prediction arrangement. As a result, comparison with RGB tests the representation change more directly than comparison with RGB Shared alone would.

The rate metric is bits per sub-pixel, or bpsp. A sub-pixel means an individual color-channel value. Lower values indicate shorter descriptions under the same exact-recovery requirement.

The narrative reports several relative size comparisons, but does not supply the numerical entries of the referenced bitrate tables. The defensible account therefore uses those stated comparisons without fabricating missing absolute bpsp values.

Full-resolution rate comparisons

All the learned configurations beat PNG on the full-resolution datasets. The authors state that PNG requires at least 43% more storage across those evaluations. This is the largest relative conventional-codec disadvantage described in the results narrative.

L3C also improves on WebP and lossless JPEG2000 throughout the tested full-resolution collections. The reported size advantage reaches up to 3.3%, which is considerably more modest than the PNG comparison.

FLIF retains a small rate advantage over L3C. The authors contrast FLIF’s specialized engineering with their convolutional construction, but that architectural preference does not change which system produces the smaller outputs.

Among the learned alternatives, RGB improves on RGB Shared across the datasets. That supports using predictors adapted to the different scales. A shared predictor is not equally effective everywhere in the hierarchy.

Learning the representations improves the rate again. The fixed-pyramid baselines require at least 7.8% more bits than L3C throughout the comparisons. The result directly supports the claim that a resized image is not the most effective auxiliary description among the tested alternatives.

These findings establish a useful position between baselines. L3C outperforms several widely used formats and the fixed-representation variants, while remaining behind FLIF on rate. They do not establish a universal ranking outside the evaluated data and implementations.

Small images expose a rate–computation exchange

The ImageNet comparisons ask how L3C fares against stronger spatial autoregressive prediction. They do not merely repeat the conventional-codec test on another dataset.

On ImageNet32, L3C’s description is 20.6% larger than MS-PixelCNN’s. On ImageNet64, its corresponding excess is 23.8%.

L3C size excess relative to MS-PixelCNN on ImageNet validation sets

The parallel hierarchy uses more bits than MS-PixelCNN on both small-image datasets.

L3C size excess relative to MS-PixelCNN on ImageNet validation setsL3C, ImageNet32 (this paper): 20.6L3C, ImageNet32 (this paper)20.6L3C, ImageNet64: 23.8L3C, ImageNet6423.8
The numbers
System or setting% larger compressed size
L3C, ImageNet32 (this paper)20.6
L3C, ImageNet6423.8

Against the original PixelCNN, the reported excess is 24.4% for ImageNet32 and 19.4% for ImageNet64. Thus the hierarchy does not match every autoregressive probability assignment in coding efficiency.

Nonetheless, L3C remains ahead of the conventional approaches in those small-image comparisons. The result locates its compromise: it gives up rate relative to the neural autoregressive alternatives while gaining a substantially more parallel recovery procedure.

The chart compares size excess under a common reference method, not absolute bitrates. Its rows belong to different validation sets, so they should not be read as a controlled experiment changing image size while holding the image collection fixed.

Sampling speed is a separate measurement

The speed comparison follows the PixelCNN literature by measuring sampling. Generating symbols from the predicted distributions exercises the dependency structure, but it does not include every operation of a complete image decoder.

For 320×320 images, the paper gives a speed advantage over original PixelCNN exceeding 1.63·10⁵× at batch size 1. At batch size 30, the reported bound exceeds 5.31·10⁴×. Relative to MS-PixelCNN, the advantage is at least 5.06·10²×.

These are not all direct, identical-hardware measurements. The authors run released PixelCNN++ code on the Titan X Pascal used for L3C. Other timings come from reported results, including measurements on a Quadro M4000.

The comparison for the larger images also uses linearly extrapolated competing runtimes. The paper explicitly acknowledges differences in available code, devices, and software frameworks. Those conditions prevent interpreting the exact speedup as a fully controlled implementation contest.

The architectural explanation is stronger than an isolated timing number. Spatial autoregression repeatedly waits for new image values before another predictor evaluation. L3C places the main neural sequence along the hierarchy instead.

Batching also changes the interpretation. The supplementary analysis says that up to 480 images of size 32×32 can be processed together. Per-image sampling time falls as the batch grows, indicating overhead at the smaller comparison batch.

A functioning codec includes entropy decoding

The paper measures actual encoding and decoding using 512×512 DIV2K crops. This comparison includes the work required to convert probabilities into a stream and recover values from it.

L3C encoding is in a comparable runtime range to the conventional encoders. Its decoder takes longer than the conventional decoders tested. The authors attribute part of this to implementation maturity and part to how work is divided between encoding and decoding.

In L3C, decoding includes substantial neural prediction rather than being a lightweight inverse of an expensive encoder. Combining both directions gives L3C an advantage over FLIF in total time. Against the other conventional systems, its favorable property is the smaller description.

The measured machine contains a Titan X Pascal GPU and an Intel Xeon E5-2680 v3 CPU. Arithmetic coding runs on the CPU, so probability information generated with GPU computation must be accessible there.

This creates a substantial memory concern. For a 512×512 RGB channel, the described cumulative array occupies 257MB. The authors use managed memory and a custom CUDA kernel to avoid an expensive explicit transfer arrangement.

They do not present that kernel or their arithmetic coder as fully optimized. The codec experiments establish workable execution, but they leave room for implementation improvements whose effects are not measured.

Partial sampling examines the representation

Another analysis stores selected hierarchy levels and samples the missing information. This is not a lossless setting: generated values are not guaranteed to match the original. Its purpose is to inspect what the hierarchy retains.

For the illustrated 512×512 image, storing the auxiliary arrays while sampling RGB requires 27.8% of the complete lossless bitcost. The authors report little apparent visual deterioration in that example.

Sampling the finest auxiliary array as well as RGB leaves a stored share of 10.2% and produces blur. Keeping only the coarsest array leaves 3.00%, with substantial artifacts, although the source remains recognizable.

Those observations suggest a distribution of information across scales. Coarse features retain broad arrangement, while finer transmitted information supplies detail needed for faithful reconstruction.

The percentages describe the pictured example. They are not dataset-wide lossless rates, and visual resemblance cannot turn them into exact-compression results.

What the ablations show

The representation comparison isolates a central claim

The RGB variants are more than weak baselines. They divide the problem into whether scale-specific prediction helps and whether the auxiliary content should itself be optimized.

RGB Shared uses the same predictor repeatedly. RGB gives different scales their own predictors without changing the principle of bicubic extraction. Its improvement shows that the distributions encountered at different levels benefit from specialization.

L3C then changes the extraction procedure while preserving the multiscale task. Its advantage over RGB gives evidence for the learned representations themselves. Without that intermediate comparison, an improvement over RGB Shared could have been attributed too easily to predictor specialization.

The scope remains specific. The experiment compares the chosen learned features with the selected RGB pyramids. It does not prove that every possible hand-designed representation is inferior.

Blocking target gradients disrupts learning

The gradient intervention directly tests the proposed optimization mechanism. Auxiliary arrays occur as prediction targets, but those targets are generated by the extractors and are allowed to move during training.

When the authors stop gradients through that target role, performance becomes substantially worse. They report that the optimizer cannot meaningfully reduce the cross-entropy of the auxiliary representations.

The interpretation is that useful targets must become easier to encode as well as informative for later prediction. Predictor improvement alone is insufficient under the interrupted training arrangement.

This does not rule out every alternative optimization strategy. It shows that the successful procedure depends on the pathway being tested, making the analysis more informative than a favorable final score alone.

Quantization affects optimization

The backward approximation to quantization has an adjustable softness. A choice resembling the identity operation is a useful starting point, according to the cited approach. L3C finds a somewhat smoother choice beneficial for extractor gradients.

The selected setting, σ_q=2, concerns training behavior. It does not expand the transmitted alphabet into continuous values.

The authors also explore channel count C and level count L. Within that exploration, increasing the number of levels is more useful than increasing channels. Their interpretation favors a finer value grid for training.

The paper supplies a directional account rather than a numerical sweep in the narrative. It therefore supports the final design choice without establishing a universal rule about representation width and quantization resolution.

Smaller architecture changes support the final configuration

Adding BatchNorm produces a slight degradation. Replacing the atrous arrangement with a single convolution also reduces performance slightly. These observations explain retained architectural choices, although the narrative does not quantify their individual effects.

The scale count is selected through a practical rate–training compromise. Additional levels slow optimization and yield negligible coding benefit. With S=3, the uniformly coded final bottleneck accounts for roughly 4% of the total rate.

That remaining expense helps explain why recursion does not continue indefinitely in the reported configuration. Another stage must justify extra machinery against a relatively limited remaining part of the coded description.

Diagnostics clarify operation without proving another task

Batch-size variation diagnoses utilization and overhead. It does not change the evidence about compression rate. The same probability structure can have different per-image runtime depending on how many examples occupy the device together.

Feature visualizations answer a different question. Their coarse levels preserve broad image organization, and finer levels show additional detail. The sampling analysis makes a related point by revealing which visible structures survive when some transmitted information is replaced by generated values.

The authors suggest that partial representations might support image understanding. No task-specific experiment establishes that proposal. The analysis motivates further investigation without supplying a downstream accuracy result.

Limitations

The authors report rate disadvantages as well as gains

The paper explicitly acknowledges that FLIF compresses slightly better on the full-resolution evaluations. It also reports better rates for PixelCNN and MS-PixelCNN on the small ImageNet variants.

These results constrain the headline claim. L3C demonstrates a favorable practical combination, rather than dominance on every axis. Its hierarchy reduces sequential prediction while leaving residual statistical dependencies unexploited.

The authors propose weak spatial autoregression and adaptation to the current image as possible improvements. Both suggestions concern information that a fixed, spatially independent conditional prediction may miss. Their effectiveness remains future work in this paper.

Medical imagery is another proposed direction. The paper supplies no domain-specific evaluation establishing that the trained photographic-image configuration is adequate there.

The authors’ runtime qualifications are material

The actual decoder is slower than the conventional decoders in the comparison. A reader choosing primarily for decompression latency should not substitute the large PixelCNN sampling advantage for that measured result.

The authors identify unimplemented optimizations. Once the encoder has predicted its distributions, coding across scales could be parallelized. Auxiliary channels also admit parallel decoding because their distributions do not depend on earlier channels.

Those possibilities describe available engineering directions. They do not justify reporting a runtime for an implementation that was not measured.

The probability arrays remain large even though neural prediction is parallel. Their construction and availability to a CPU entropy coder are part of the practical cost. Managed memory addresses that organization, but does not eliminate the need to represent or access probability information.

Cross-system sampling comparisons are not fully controlled

The authors themselves state that identical conditions are unavailable for all PixelCNN comparisons. Some code is missing, published measurements use different hardware, and framework differences remain.

Extrapolation adds another qualification to the large-image comparison. It illustrates the consequences of an expensive prediction sequence, but differs from executing every competing system on the same images and machine.

The strongest defensible distinction is therefore twofold. The reported speedups describe the authors’ comparison procedure, while the architecture directly establishes the different dependency schedules. These are related forms of evidence, but they are not interchangeable.

The setup narrows generalization

A limitation inferred from the experiments is their dependence on selected image distributions. Training filters certain saturation and brightness statistics and uses photographic collections. The results do not establish behavior on every form of raster data.

The training crops and memory-driven evaluation partitioning also matter. Full-resolution compression here does not mean that any image, regardless of size, fits into an uninterrupted computation on the tested GPU.

The authors call partitioning a bias against their method. However, the narrative does not quantify the size of that effect. It would be unjustified to add an imagined rate improvement for processing all images intact.

The correction to preprocessing further shows that input preparation can affect conclusions. It is evidence of a confound the authors addressed, not proof that all possible preparation effects have been exhausted.

Independence is a deliberate restriction

A limitation visible in the equations is the separation of spatial positions after conditioning on coarser features. Whatever relationships remain outside those features cannot be exploited through a spatial prediction sequence.

The representation can carry more information, but that information must be paid for. Reducing auxiliary cost can leave RGB harder to predict; strengthening auxiliary detail can increase its own rate.

The joint objective manages this conflict but does not prove that the selected hierarchy is optimal. The tested channel count, alphabet, and depth are design choices supported by the reported exploration.

This explains why the rate disadvantage against autoregressive prediction is not merely an implementation accident. L3C changes which dependencies it uses in order to change execution.

Partial recovery has a different correctness criterion

The sampled-image analysis does not preserve the lossless guarantee. An image may remain recognizable after generated values replace source values, yet fail exact comparison throughout substantial parts of the array.

Accordingly, the stored-bit shares cannot be treated as improved lossless rates. They describe an information-removal experiment with visible consequences.

Similarly, a heatmap that resembles scene structure does not establish usefulness for classification, detection, or another understanding task. Such a claim needs its own evaluation.

The paper is careful to frame image generation as incidental to its compression investigation. A careful reader should preserve that boundary when interpreting the illustrations.

Some deployment costs remain outside the reported comparison

An additional limitation inferred from the setup concerns shared machinery. The receiver must possess the trained predictor and compatible coding implementation. The image-rate objective does not separately investigate every cost of distributing those prerequisites.

This does not invalidate the stated image bitcosts. It limits what those numbers establish for deployments with newly initialized receivers or different resource constraints.

The hardware evaluation also does not demonstrate corresponding CPU-only performance. The measured GPU–CPU division is part of the tested implementation.

For practical adoption, the open questions therefore include resource availability, memory behavior, and the value placed on decoding latency relative to rate. The paper provides a concrete reference implementation and measurements, instead of a platform-independent performance guarantee.

What came after

Language Modeling Is Compression, from 2023, cites L3C. The established connection is bibliographic: this later work recognizes the image-compression paper among its references.

That citation does not establish which architectural ideas were reused. It supplies no basis for attributing L3C’s learned feature hierarchy, logistic mixtures, or decoding schedule to the later work. Nor does it provide a follow-up measurement of those components.

L3C’s own contribution remains clear without extending the citation beyond its evidence. It joins a probability objective to a specific recoverable representation, then tests both coding efficiency and computation. Its hierarchy demonstrates how information can be transmitted to make broad parallel prediction possible, while the ImageNet comparisons reveal that the resulting speed has a rate cost.

For later work relating prediction and compression, that distinction is consequential. A probability assignment must not only describe observations economically; it must also be available to the receiver at the right moment. L3C makes that requirement concrete through its stream, its dependency order, and its measured implementation.

Cite

Cite as Fabian Mentzer, Eirikur Agustsson, Michael Tschannen, Radu Timofte and Luc Van Gool. 2019. Practical Full Resolution Learned Lossless Image Compression. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1109/cvpr.2019.01088 · arXiv 1811.12817

@inproceedings{mentzer2019practical,
  title = {{Practical Full Resolution Learned Lossless Image Compression}},
  author = {Fabian Mentzer, Eirikur Agustsson, Michael Tschannen, Radu Timofte and Luc {Van Gool}},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2019},
  doi = {10.1109/cvpr.2019.01088},
  eprint = {1811.12817},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr.2019.01088}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/mentzer-2019-practical-full-resolution-learned-lossless/

References

50 references, from the paper's own bibliography.

  1. E. Agustsson, F. Mentzer, M. Tschannen, L. Cavigelli, R. Timofte, L. Benini, and L. V. Gool. Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representations. In NIPS, 2017. our card
  2. E. Agustsson and R. Timofte. NTIRE 2017 Challenge on Single Image Super-Resolution: Dataset and Study. In CVPR Workshops, 2017. OpenAlex ↗ · Scholar ↗
  3. E. Agustsson, M. Tschannen, F. Mentzer, R. Timofte, and L. Van Gool. Generative Adversarial Networks for Extreme Learned Image Compression. arXiv preprint arXiv:1804.02958, 2018. OpenAlex ↗ · Scholar ↗
  4. J. Ballé, V. Laparra, and E. P. Simoncelli. End-to-end Optimized Image Compression. ICLR, 2016. OpenAlex ↗ · Scholar ↗
  5. J. Ballé, D. Minnen, S. Singh, S. J. Hwang, and N. Johnston. Variational Image Compression with a Scale Hyperprior. ICLR, 2018. OpenAlex ↗ · Scholar ↗
  6. L.-C. Chen, G. Papandreou, F. Schroff, and H. Adam. Rethinking Atrous Convolution for Semantic Image Segmentation. arXiv preprint arXiv:1706.05587, 2017. OpenAlex ↗ · Scholar ↗
  7. X. Chen, N. Mishra, M. Rohaninejad, and P. Abbeel. PixelSNAIL: An Improved Autoregressive Generative Model. In ICML, 2018. OpenAlex ↗ · Scholar ↗
  8. P. Chrabaszcz, I. Loshchilov, and F. Hutter. A downsampled variant of ImageNet as an alternative to the CIFAR datasets. arXiv preprint arXiv:1707.08819, 2017. OpenAlex ↗ · Scholar ↗
  9. T. M. Cover and J. A. Thomas. Elements of Information Theory. John Wiley & Sons, 2012. OpenAlex ↗ · Scholar ↗
  10. D.-T. Dang-Nguyen, C. Pasquini, V. Conotter, and G. Boato. RAISE: A Raw Images Dataset for Digital Image Forensics. In ACM MMSys. ACM, 2015. OpenAlex ↗ · Scholar ↗
  11. P. Deutsch. DEFLATE compressed data format specification version 1.3. Technical report, 1996. OpenAlex ↗ · Scholar ↗
  12. L. Dinh, J. Sohl-Dickstein, and S. Bengio. Density estimation using Real NVP. ICLR, 2017. OpenAlex ↗ · Scholar ↗
  13. J. Duda, K. Tahboub, N. J. Gadgil, and E. J. Delp. The use of asymmetric numeral systems as an accurate replacement for huffman coding. In PCS, 2015. OpenAlex ↗ · Scholar ↗
  14. F. Giesen. Interleaved entropy coders. arXiv preprint arXiv:1402.3392, 2014. OpenAlex ↗ · Scholar ↗
  15. G. Hinton, N. Srivastava, and K. Swersky. Neural Networks for Machine Learning Lecture 6a Overview of mini-‐batch gradient descent. OpenAlex ↗ · Scholar ↗
  16. S. Ioffe. Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-Normalized Models. In NIPS, 2017. OpenAlex ↗ · Scholar ↗
  17. S. Ioffe and C. Szegedy. Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift. In ICML, 2015. OpenAlex ↗ · Scholar ↗
  18. Kakadu JPEG2000 implementation. http://kakadusoftware.com. OpenAlex ↗ · Scholar ↗
  19. D. P. Kingma and M. Welling. Auto-Encoding Variational Bayes. In ICLR, 2014. our card
  20. A. Kolesnikov and C. H. Lampert. PixelCNN Models with Auxiliary Variables for Natural Image Modeling. In ICML, 2017. OpenAlex ↗ · Scholar ↗
  21. I. Krasin, T. Duerig, N. Alldrin, V. Ferrari, S. Abu-El-Haija, A. Kuznetsova, H. Rom, J. Uijlings, S. Popov, S. Kamali, M. Malloci, J. Pont-Tuset, A. Veit, S. Belongie, V. Gomes, A. Gupta, C. Sun, G. Chechik, D. Cai, Z. Feng, D. Narayanan, and K. Murphy. OpenImages: A public dataset for large-scale multi-label and multi-class image classification. Dataset available from https://storage.googleapis.com/openimages/web/index.html, 2017. OpenAlex ↗ · Scholar ↗
  22. M. Li, W. Zuo, S. Gu, D. Zhao, and D. Zhang. Learning Convolutional Networks for Content-weighted Image Compression. In CVPR, 2018. OpenAlex ↗ · Scholar ↗
  23. B. Lim, S. Son, H. Kim, S. Nah, and K. M. Lee. Enhanced Deep Residual Networks for Single Image Super-Resolution. In CVPR Workshops, 2017. OpenAlex ↗ · Scholar ↗
  24. D. Marpe, H. Schwarz, and T. Wiegand. Context-based adaptive binary arithmetic coding in the h. 264/avc video compression standard. IEEE Transactions on circuits and systems for video technology, 13(7):620–636, 2003. OpenAlex ↗ · Scholar ↗
  25. F. Mentzer, E. Agustsson, M. Tschannen, R. Timofte, and L. Van Gool. Conditional Probability Models for Deep Image Compression. In CVPR, 2018. our card
  26. B. Meyer and P. Tischer. TMW - a new method for lossless image compression. In PCS, 1997. OpenAlex ↗ · Scholar ↗
  27. B. Meyer and P. E. Tischer. Glicbawls - Grey Level Image Compression by Adaptive Weighted Least Squares. In Data Compression Conference, 2001. OpenAlex ↗ · Scholar ↗
  28. D. Minnen, J. Ballé, and G. D. Toderici. Joint Autoregressive and Hierarchical Priors for Learned Image Compression. In NeurIPS. 2018. OpenAlex ↗ · Scholar ↗
  29. N. Parmar, A. Vaswani, J. Uszkoreit, Ł. Kaiser, N. Shazeer, and A. Ku. Image Transformer. ICML, 2018. OpenAlex ↗ · Scholar ↗
  30. Pillow Library for Python. https://python-pillow.org. OpenAlex ↗ · Scholar ↗
  31. Portable Network Graphics (PNG). http://libpng.org/pub/png/libpng.html. OpenAlex ↗ · Scholar ↗
  32. S. Reed, A. Oord, N. Kalchbrenner, S. G. Colmenarejo, Z. Wang, Y. Chen, D. Belov, and N. Freitas. Parallel Multiscale Autoregressive Density Estimation. In ICML, 2017. OpenAlex ↗ · Scholar ↗
  33. I. E. Richardson. H. 264 and MPEG-4 video compression: video coding for next-generation multimedia. John Wiley & Sons, 2004. OpenAlex ↗ · Scholar ↗
  34. O. Rippel and L. Bourdev. Real-Time Adaptive Image Compression. In ICML, 2017. OpenAlex ↗ · Scholar ↗
  35. T. Salimans, A. Karpathy, X. Chen, and D. P. Kingma. PixelCNN++: A PixelCNN Implementation with Discretized Logistic Mixture Likelihood and Other Modifications. ICLR, 2017. OpenAlex ↗ · Scholar ↗
  36. C. E. Shannon. A Mathematical Theory of Communication. Bell System Technical Journal, 27(3):379–423, 1948. OpenAlex ↗ · Scholar ↗
  37. W. Shi, J. Caballero, F. Huszár, J. Totz, A. P. Aitken, R. Bishop, D. Rueckert, and Z. Wang. Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network. CVPR, 2016. OpenAlex ↗ · Scholar ↗
  38. A. Skodras, C. Christopoulos, and T. Ebrahimi. The JPEG 2000 still image compression standard. IEEE Signal processing magazine, 18(5):36–58, 2001. OpenAlex ↗ · Scholar ↗
  39. J. Sneyers and P. Wuille. FLIF: Free lossless image format based on MANIAC compression. In ICIP, 2016. OpenAlex ↗ · Scholar ↗
  40. L. Theis, A. v. d. Oord, and M. Bethge. A note on the evaluation of generative models. ICLR, 2016. OpenAlex ↗ · Scholar ↗
  41. L. Theis, W. Shi, A. Cunningham, and F. Huszar. Lossy Image Compression with Compressive Autoencoders. ICLR, 2017. OpenAlex ↗ · Scholar ↗
  42. G. Toderici, D. Vincent, N. Johnston, S. J. Hwang, D. Minnen, J. Shor, and M. Covell. Full Resolution Image Compression with Recurrent Neural Networks. In CVPR, 2017. OpenAlex ↗ · Scholar ↗
  43. R. Torfason, F. Mentzer, E. Agustsson, M. Tschannen, R. Timofte, and L. Van Gool. Towards Image Understanding from Deep Compression without Decoding. ICLR, 2018. OpenAlex ↗ · Scholar ↗
  44. M. Tschannen, E. Agustsson, and M. Lucic. Deep Generative Models for Distribution-Preserving Lossy Compression. In NeurIPS. 2018. OpenAlex ↗ · Scholar ↗
  45. A. van den Oord, N. Kalchbrenner, L. Espeholt, k. kavukcuoglu, O. Vinyals, and A. Graves. Conditional Image Generation with PixelCNN Decoders. In NIPS, 2016. OpenAlex ↗ · Scholar ↗
  46. A. Van Oord, N. Kalchbrenner, and K. Kavukcuoglu. Pixel Recurrent Neural Networks. In ICML, 2016. OpenAlex ↗ · Scholar ↗
  47. WebP Image format. https://developers.google.com/speed/webp/. OpenAlex ↗ · Scholar ↗
  48. M. J. Weinberger, J. J. Rissanen, and R. B. Arps. Applications of Universal Context Modeling to Lossless Compression of Gray-Scale images. IEEE Transactions on Image Processing, 5(4):575–586, 1996. OpenAlex ↗ · Scholar ↗
  49. I. H. Witten, R. M. Neal, and J. G. Cleary. Arithmetic coding for data compression. Communications of the ACM, 30(6):520–540, 1987. OpenAlex ↗ · Scholar ↗
  50. X. Wu, E. Barthel, and W. Zhang. Piecewise 2D autoregression for predictive image coding. In ICIP, 1998. OpenAlex ↗ · Scholar ↗