Elamur Research

Variational image compression with a scale hyperprior

Paper · 2018 · Johannes Ballé, David C. Minnen, Saurabh Singh et al.

Summary

A compressed image carries a sequence of numbers from which a decoder can reconstruct the picture. How many bits that sequence needs depends on how well the encoder and decoder can predict the numbers. A probability distribution fitted across many photographs gives them a starting point, but an individual photograph has its own arrangement of smooth surfaces, edges, and textures. Ballé and colleagues show how a learned image compressor can send a compact description of that arrangement and use it to predict the spread of the numbers it has to encode. They call the resulting probability hierarchy a scale hyperprior.

The compressor first transforms the pixels into an internal representation, whose values are rounded for transmission. A second transform examines the internal representation and produces a smaller description of how its values vary. The decoder reads this side information first and uses it to estimate a standard deviation for each value in the main representation. A small standard deviation tells the decoder to expect values close to zero. A larger one gives more probability to values farther away. The training objective charges for both streams, so the side information earns its place by improving compression enough to justify its cost. The transforms that represent the image and the ones that estimate its local scales are learned together.

On the Kodak image set, the hyperprior improved the rate–distortion tradeoff over a learned compressor whose coding distribution treated all representation values as independent. When trained for squared error, it surpassed the published neural compression methods in the comparison on peak signal-to-noise ratio, or PSNR, and approached BPG, a still-image codec based on HEVC. When trained for multiscale structural similarity, or MS-SSIM, it surpassed the strongest method the authors identified for that measure across the tested range of rates. In the squared-error runs on Kodak, the average rate spent on side information remained far below 0.1 bits per pixel, even at the highest total rates tested.

The choice of training objective also changed where the reconstructions preserved detail. In an airplane photograph compressed at similar rates, the MS-SSIM-trained version preserved more of the grass while making the lettering on the aircraft less distinct. The squared-error version preserved the lettering better. Similarity scores can therefore reward a different allocation of detail from the one a viewer would prefer for a particular image. The paper’s strongest quality claims are tied to the metric used to train and evaluate the compressor.

Deep dive: Variational image compression with a scale hyperprior

Ballé and colleagues explain how a scale hyperprior spends a few extra bits to predict where image data will be cheaper to encode. · about 38 minutes to read

The problem and its context

What a codec needs to predict

A lossy codec faces two linked decisions. It must choose what information about an image to retain, and it must decide how to encode the retained information. The first decision determines what the decoder can reconstruct. The second determines how many bits it takes to convey that choice. In transform coding, the encoder first rewrites the image in a different coordinate system. It then quantizes those coordinates, mapping nearby values to a shared discrete value. The decoder can recover the transmitted discrete values exactly, while some of the distinctions in the original image disappear when the encoder quantizes them.

Entropy coding handles the second decision. It uses a shared probability distribution to assign short descriptions, on average, to values it expects often. The distribution has to be available on both sides of the channel. If the encoder uses information about the original image to choose probabilities the decoder cannot reproduce, the decoder cannot reliably interpret the stream. The practical question is how much of what the encoder knows about an individual image can be communicated economically enough to help.

The distinction between the actual frequencies of values and the distribution used by the codec is central to the paper. Actual frequencies arise from a population of images and from the transformation applied to those images. The codec uses an explicit approximation to those frequencies. Changing the transform can change what there is to predict, and changing the coding distribution can change how efficiently those same values are described. Training the two together makes it possible to decide whether a dependency should be removed by the transform or accounted for during coding.

A fully factorized distribution makes a convenient starting point. It assigns a probability to every coordinate separately and multiplies those probabilities to obtain the probability of the complete representation. Its individual distributions can be flexible. Even so, when used on their own, they can only express how common a value is at a coordinate in general. Suppose neighboring values tend to become large together in textured regions. Each individual distribution can learn that large values sometimes occur, but their product prices a whole cluster as if the neighboring occurrences gave no evidence about one another. This is the kind of mismatch the hyperprior is designed to reduce.

Side information in earlier codecs

The authors explain the value of side information through image partitioning. JPEG divides an image into fixed blocks of 8 × 8 pixels. HEVC can use variable-size blocks and tell the decoder how the image was partitioned. The flexibility matters because a large homogeneous area can be represented efficiently at a different block size from an area with more variation. The decoder reads the partition description before interpreting the associated block data. The encoder can afford to send that description when the improved coding of the blocks more than pays for it.

The connection to learned compression is that an encoder can likewise describe an aspect of the image that changes how the rest of the file should be read. There is a choice about what to describe. A conventional partition conveys positions and sizes from a pre-defined family. Ballé and colleagues let training determine the contents of an auxiliary representation, while specifying what those contents will be used for. The auxiliary decoder has to turn them into local scales for the main representation. The paper thus gives the side information a defined job and leaves the particular values and features it carries to be learned.

Earlier neural compressors had explored several ways of setting the probabilities. The direct predecessor used a nonlinear analysis and synthesis transform with independently fitted distributions for the latent values. Other work used a binarized representation, which made a separate entropy-coding step unnecessary in its basic form. The paper observes that this corresponds to a uniform prior over the binary representation. An adaptive extension improved the way the binary values were coded, but the coding cost was outside the objective used to learn the transforms. In another system, the encoder and decoder were trained with a fixed energy function for the prior and an adaptive coding distribution was designed afterwards. The authors’ concern is that separating these stages deprives the transform of feedback about what its outputs will actually cost to code.

There were also ways to relax independence by changing the unit of quantization. Work on soft-to-hard vector quantization grouped small pieces of the latent representation and learned to quantize them jointly. The resulting probabilities could account for some dependence inside each group. The hyperprior takes a different route through the same broad problem. Its main representation still consists of individually quantized values, and the side information changes the distributions applied to them. Soft-to-Hard Vector Quantization

Why predict scale?

The paper connects the proposed hierarchy to earlier observations about wavelet coefficients. Wavelet filters produce responses to local image structure. Earlier studies described in the paper found that such responses can have heavy-tailed distributions when viewed across images, with large values occurring more often than a single Gaussian would suggest. Neighboring responses can then be easier to describe by giving a local group a shared scale. A window with little activity gives a narrow distribution. A window around a strong edge gives a wider one. Averaging over windows with different scales produces a distribution quite different from the conditional distribution in any particular window.

This earlier work supplies a reason to focus on the spread of the values. The nonlinear transforms used for learned compression can produce their own version of this behavior. Around a contour, nearby coefficients may all have greater magnitudes without sharing the same sign or value. A scale prediction says that the region calls for a wider range of possibilities. It lets the decoder account for the tendency of magnitudes to vary together while keeping the conditional probability calculation simple.

The authors also draw on variational autoencoders. In this formulation, the image encoder infers an internal representation and the image decoder produces a reconstruction from it. A prior supplies probabilities for the internal values. Earlier work had already connected this formulation to lossy transform coding. The extension here is to let one set of internal variables govern the prior for another and to count the cost of conveying the variables that do the governing. The paper relates this hierarchy to earlier hierarchical autoencoders, with a choice of distributions shaped by the need to quantize and entropy-code the values. Auto-Encoding Variational Bayes

The method, step by step

How an image becomes two streams

The image encoder applies an analysis transform to the pixels. Its output is a spatial array of numbers with multiple channels. Taken together, these numbers form the image’s latent representation, which is an internal description from which the reconstructed image can be produced. The encoder will quantize the values in this array for transmission. Before doing so, it also supplies the unrounded array to a second analysis transform. This transform produces another array, the hyperlatents, which carries information about the scales of the main latent values.

The encoder quantizes the hyperlatents and codes them with a shared, factorized distribution. It then runs a hyperprior synthesis transform on those quantized values. This step matters because the decoder will recover the quantized values from the side stream and needs to obtain the same scale estimates. If the encoder predicted scales from its original unrounded hyperlatents, the decoder could obtain different probabilities. The shared prediction gives each main latent value its own spread around zero, which the arithmetic coder uses to encode the quantized main representation.

At the other end, arithmetic decoding recovers the side stream first. The decoder can now run the hyperprior synthesis transform and reproduce the scales used by the encoder. With those scales available, it decodes the main representation. The image synthesis transform then takes the recovered main values and produces the reconstructed pixels. Hence, the side stream affects how the representation is read. The synthesis transform receives the main representation after entropy decoding is complete.

Encoding and decoding with a scale hyperprior

The steps in order.

Encoding and decoding with a scale hyperpriorStep 1: Transform pixels into image latents1. Transform pixels into image latentsStep 2: Summarize latent activity as hyperlatents2. Summarize latent activity as hyperlatentsStep 3: Quantize and encode the hyperlatents3. Quantize and encode the hyperlatentsStep 4: Predict scales from the quantized hyperlatents4. Predict scales from the quantized hyperlatentsStep 5: Quantize and encode image latents using those scales5. Quantize and encode image latents using those scalesStep 6: Decode hyperlatents and reproduce the scales6. Decode hyperlatents and reproduce the scalesStep 7: Decode image latents using the reproduced scales7. Decode image latents using the reproduced scalesStep 8: Reconstruct pixels from the decoded image latents8. Reconstruct pixels from the decoded image latents

From symbol probabilities to rate

The paper first describes the rate for a codec with a single stream. The best average code length under the shared coding distribution is its cross-entropy with the actual distribution of the quantized values. This average attaches a coding cost to every possible representation and weights that cost by how frequently the representation really occurs.

R = 𝔼[−log₂ p_ŷ(ŷ)]  for ŷ drawn from m

Here R is the expected rate for the representation. The expectation 𝔼 averages over ŷ, the vector of quantized latent values, drawn from the actual marginal distribution m. The function p_ŷ gives the shared probability of the entire vector. The negative base-two logarithm, written −log₂, converts a probability into an ideal coding cost in bits. A more accurate coding distribution assigns more probability to the events that occur often, reducing the expected cost. The minimum is attained when the coding distribution agrees with the actual marginal.

The marginal in this expression need never be explicitly tabulated to train a compressor. The authors can draw images from their training data, transform them, and estimate the expected cost from the representations that result. Written with the image as the input to the expectation, the expression also exposes the dependence of rate on the analysis transform.

R = 𝔼[−log₂ p_ŷ(Q(gₐ(x; φ_g)))]  for x drawn from pₓ

In this form, x is the vector of original pixel values, pₓ is the distribution of source images, and 𝔼 averages over that distribution. The function gₐ is the image analysis transform, φ_g collects its learned parameters, and Q quantizes its output. The function p_ŷ supplies the coding probability of the resulting discrete vector. R is again an expected code length, and −log₂ expresses its contribution in bits. Because the image transform appears inside the probability calculation, changing the transform can affect rate even when the probability distribution itself is held fixed.

The synthesis transform, gₛ, has its own learned parameters, θ_g. It receives the quantized representation and produces the reconstruction, x̂. To measure distortion, the authors compare the reconstruction with the original under a chosen loss. A transform that makes its outputs very cheap to transmit may leave too little information to reconstruct the source closely. A transform that preserves more distinctions may require more bits. The weight λ sets how much the training objective values a reduction in distortion relative to a reduction in rate. Training at several values of λ gives compressors suited to different operating points.

Replacing quantization during training

Quantization makes direct gradient-based training difficult. Small changes to a transform’s output generally leave its rounded value unchanged, so the derivative through quantization is zero almost everywhere. The authors train with additive uniform noise in place of rounding. Each latent value is perturbed within an interval of unit width centered on that value. The resulting continuous array can be passed through the image decoder, and its coding cost can be estimated with a continuous density. When actually compressing, the system returns to quantization.

In the paper’s notation a tilde identifies a variable produced using the noise approximation, and a hat identifies a quantized variable. The distinction is especially important in the hyperprior branch. The auxiliary transform produces z from the unperturbed y. Noise is added independently to the coordinates of y and z for the training calculation. At compression time, the side latents are quantized and the scale prediction is made from their quantized values.

In the single-stream compressor, the conditional density of the noisy latents is given by the following expression.

q(ỹ | x, φ_g) = ∏ᵢ 𝒰(ỹᵢ | yᵢ − 1/2, yᵢ + 1/2)

The density q is the approximate distribution of ỹ given the source image x and analysis parameters φ_g. The vector y is the unperturbed output of gₐ applied to x. The index i picks a coordinate, and ∏ᵢ multiplies the corresponding factors. Each 𝒰 is a uniform density evaluated at ỹᵢ with the displayed lower and upper bounds. The bar denotes conditioning. All coordinates have independently drawn noise once x is fixed, which is what allows the density to be written as a product.

The uniform factors have density equal to one inside their intervals, so the log of q at a training sample is zero. A noisy latent can still be informative about the image. The zero term comes from the particular width of the sampling interval. The rest of the objective evaluates how useful that sampled representation is for reconstructing the image and how expensive it is under the coding distribution.

The variational objective for the image representation

In the variational description, the encoder’s q approximates the posterior distribution of the latents given an image. The paper treats the true posterior under the generative description as intractable. It measures the difference using Kullback–Leibler divergence, which compares two probability distributions by averaging their log-density difference under the first distribution. Applying Bayes’ rule to the posterior separates the objective into terms with distinct roles in coding.

𝔼ₓ D_KL[q ∥ p_{ỹ|x}] =
    𝔼ₓ 𝔼_{ỹ~q}[log q(ỹ | x) − log p_{x|ỹ}(x | ỹ) − log p_{ỹ}(ỹ)] + const

The outer expectation 𝔼ₓ averages over x drawn from the image distribution pₓ. The inner expectation 𝔼_{ỹ~q} averages over noisy latent vectors ỹ drawn from q for that image. D_KL denotes the divergence from q to the posterior p_{ỹ|x}, with ∥ marking the order. The conditional density p_{x|ỹ} is the likelihood of the source image under the reconstruction description. The prior density p_{ỹ} assigns a probability density to the latent values before observing the source. The expression uses log for logarithms in the variational objective, and const collects the additive term in the decomposition. The q term vanishes for the chosen uniform sampling rule.

The likelihood term provides the connection to distortion. For squared error, the paper gives an explicit Gaussian example.

p_{x|ỹ}(x | ỹ, θ_g) = 𝒩(x | x̃, (2λ)⁻¹ I)

Here x is the original image, ỹ is the noisy image representation, and p_{x|ỹ} is the conditional image density. The reconstruction x̃ is the output of gₛ on ỹ, using synthesis parameters θ_g. The symbol 𝒩 denotes a Gaussian density, whose mean is x̃ and whose covariance is (2λ)⁻¹ times the identity matrix I. The inverse in the covariance reflects the role of λ as the weight on distortion. For a fixed λ, the negative log likelihood contributes a squared difference between original and reconstructed pixels weighted by λ, up to an additive term. The authors can also use MS-SSIM as a distortion objective, with the qualification that an arbitrary distortion measure need not correspond to a normalized likelihood.

The prior term estimates rate in the continuous training calculation. Its expectation is over the latent values induced by drawing images and then adding noise to their transformed representations. The paper writes their marginal as follows.

m(ỹ) = 𝔼ₓ q(ỹ | x)

In this expression m is the marginal density of the noisy vector ỹ, q is the conditional density produced by the encoder and the noise process, and 𝔼ₓ averages over source images x drawn from pₓ. The expected negative log of the prior under m is a differential cross-entropy. It works with densities, while the compression rate works with probability masses attached to discrete symbols. The paper uses the former as a training approximation to the latter and designs the densities so the discrete probabilities needed at compression time are available directly.

For the factorized comparison compressor, the coding density is constructed coordinate by coordinate.

p_{ỹ|ψ}(ỹ | ψ) = ∏ᵢ (p_{yᵢ|ψ⁽ⁱ⁾} ∗ 𝒰(−1/2, 1/2))(ỹᵢ)

Here ψ is the full set of prior parameters, and ψ⁽ⁱ⁾ is the subset for the scalar underlying density p_{yᵢ|ψ⁽ⁱ⁾}. The index i ranges over latent coordinates, and ∏ᵢ forms the product. The convolution operator ∗ combines each underlying density with 𝒰, the centered uniform density of unit width. The resulting factor is evaluated at noisy value ỹᵢ. This construction gives the comparison compressor flexible marginal densities, while the product fixes the independence assumption.

The conditional distribution and its cost

The hyperprior changes what the main coding distribution knows. Instead of giving each main value a fixed marginal density, it predicts that value’s standard deviation from a decoded set of auxiliary variables. In the relaxed training calculation the scale prediction is written as follows.

σ̃ = hₛ(z̃; θ_h)

The vector σ̃ contains the predicted standard deviations, with an entry for each value in the noisy image representation. The function hₛ is the hyperprior synthesis transform, θ_h is its parameter set, and z̃ contains the noisy hyperlatents. At compression time hₛ instead receives ẑ, the quantized hyperlatents, to produce σ̂.

p_{ỹ|z̃}(ỹ | z̃, θ_h) = ∏ᵢ (𝒩(0, σ̃ᵢ²) ∗ 𝒰(−1/2, 1/2))(ỹᵢ)

The density p_{ỹ|z̃} describes ỹ conditional on z̃ through the transform with parameters θ_h. The index i picks a main latent coordinate. The Gaussian 𝒩 has mean 0 and variance σ̃ᵢ², the square of that coordinate’s predicted standard deviation. The convolution ∗ with the uniform density 𝒰 gives the factor evaluated at ỹᵢ. The product ∏ᵢ says that, once the scales are known, the values are coded as conditionally independent. Across images, locations can receive jointly varying scales, so the unconditional distribution need not exhibit the same independence.

The analysis side learns to produce the auxiliary vector directly from the image representation.

z = hₐ(y; φ_h)

Here y is the unperturbed output of the main image analysis transform, z is the unperturbed auxiliary vector, hₐ is the hyperprior analysis transform, and φ_h contains its learned parameters. The use of y as input means that the auxiliary transform has access to the responses whose scales the codec will predict. Its job is to preserve whatever information about those responses can help coding at an acceptable cost.

q(ỹ, z̃ | x, φ_g, φ_h) =
    ∏ᵢ 𝒰(ỹᵢ | yᵢ − 1/2, yᵢ + 1/2) · ∏ⱼ 𝒰(z̃ⱼ | zⱼ − 1/2, zⱼ + 1/2)

The joint density q describes the two noisy vectors ỹ and z̃ given the image x and the two analysis parameter sets φ_g and φ_h. The indices i and j address the main and auxiliary arrays. The symbols ∏ᵢ and ∏ⱼ multiply factors within the respective arrays, and · multiplies those products together. The values yᵢ and zⱼ are coordinates computed before noise is added. Each 𝒰 gives the uniform density over the interval shown. The factorization concerns the draws of noise for a given image. The centers of the intervals are related because z is computed from y.

The auxiliary vector needs a coding distribution of its own. The authors use the same flexible family of scalar densities as in the factorized compressor.

p_{z̃|ψ}(z̃ | ψ) = ∏ᵢ (p_{zᵢ|ψ⁽ⁱ⁾} ∗ 𝒰(−1/2, 1/2))(z̃ᵢ)

Here z̃ is the noisy side representation, and z̃ᵢ is its coordinate at index i. The parameter vector ψ collects the parameters of the auxiliary prior, with ψ⁽ⁱ⁾ identifying those of the underlying scalar density p_{zᵢ|ψ⁽ⁱ⁾}. The product ∏ᵢ ranges over the side representation. Each scalar density is convolved, using ∗, with the centered uniform density 𝒰 and then evaluated at z̃ᵢ. Coordinates with the same channel index share a distribution across spatial locations, enabling the design to work with varying image sizes.

The variational objective now includes a coding term for each stream.

𝔼ₓ D_KL[q ∥ p_{ỹ,z̃|x}] =
    𝔼ₓ 𝔼_{(ỹ,z̃)~q}[log q(ỹ,z̃ | x) − log p_{x|ỹ}(x | ỹ)
                      − log p_{ỹ|z̃}(ỹ | z̃) − log p_{z̃}(z̃)] + const

The divergence D_KL compares the approximate joint posterior q with p_{ỹ,z̃|x}, the joint posterior under the generative description conditioned on x. The outer expectation 𝔼ₓ averages over images, and 𝔼_{(ỹ,z̃)~q} averages over the two noisy representations sampled for each image. The term log q is zero because each uniform factor has unit width. The negative log of p_{x|ỹ} supplies the distortion contribution. The negative logs of p_{ỹ|z̃} and p_{z̃} price the main representation and the side representation, respectively. The symbol const denotes the additive term in the variational decomposition.

This objective is where the allocation of bits takes place. If the auxiliary transform produces a description that predicts the main scales in great detail, the main representation may be cheaper to code. The coding term for the auxiliary values rises if that description itself becomes expensive. The opposite strategy, a description that carries very little, saves on side information while reducing the amount the decoder can know about the main values. Both consequences enter the same objective alongside the reconstruction error. The training procedure therefore has a way to favor a coarse or detailed scale description according to its measured contribution to the whole codec.

How a continuous density gives a coding probability

The arithmetic coder needs a probability for a discrete integer. The Gaussian supplies a probability for that integer by assigning it all the density in the interval that rounds to it. Convolving the underlying density with the centered uniform gives exactly that interval probability when the result is evaluated at an integer. In the conditional main stream the paper uses the following relation.

p_{ŷᵢ}(ŷᵢ | σ̂ᵢ) = p_{ỹᵢ}(ŷᵢ | σ̂ᵢ)
                    = ∫[ŷᵢ−1/2, ŷᵢ+1/2] 𝒩(v | 0, σ̂ᵢ²) dv

The left-hand side is the probability mass of the quantized value ŷᵢ at coordinate i, given the standard deviation σ̂ᵢ predicted from the decoded side information. On the right, p_{ỹᵢ} is the uniform-convolved density evaluated at that integer with the same scale. The integral ∫ adds the values of the underlying Gaussian density across the displayed bin, v is the integration variable, and dv denotes integration with respect to it. The Gaussian has mean 0 and variance σ̂ᵢ². Its cumulative distribution gives a closed-form way to evaluate the bin mass.

The same construction works for the flexible densities that code the side stream. It can be written for any of the underlying scalar densities using its cumulative distribution.

p_{ỹ}(ỹ) = (p ∗ 𝒰(−1/2, 1/2))(ỹ) = c(ỹ + 1/2) − c(ỹ − 1/2)

Here ỹ is a scalar argument, p is the underlying density, and c is its cumulative distribution, the probability up to a given argument. The convolution ∗ with 𝒰 averages the underlying density over the unit-width interval centered at ỹ. The difference of cumulative values gives the probability in that interval. The notation p_{ỹ} denotes the resulting convolved density. The same computation applies to hyperlatents with their own underlying densities.

The authors give another reason for this construction. A compressor may learn that it can leave a coordinate unused. In their appendix they consider a scalar output that takes a constant value for every image.

y = gₐ(x) = c

Here x is a source image, gₐ denotes the relevant analysis output, y is the scalar latent value, and c is its constant value across images. The letter c denotes a constant in this example. It denoted the cumulative function in the preceding equation. During training, additive noise is the only variation in this coordinate.

m(ỹ) = q(ỹ | x) = 𝒰(ỹ | c − 1/2, c + 1/2)

In this expression ỹ is the noisy scalar, m is its marginal over images, and q is its conditional density for a given image x. Both are the uniform density 𝒰 centered at the constant c. Since its quantized value is deterministic, the ideal rate for the coordinate is zero. The appendix expresses the continuous training cost for it as follows.

𝔼_{ỹ~m}[−log₂ p_{ỹ}(ỹ)]

The expectation 𝔼_{ỹ~m} averages over noisy scalar values ỹ drawn from m. The density p_{ỹ} is the coding prior in the training calculation, and −log₂ expresses the cost in bits. It reaches zero in this example when the prior agrees with the unit-width uniform. Smooth densities have difficulty matching the abrupt boundaries of that uniform. An underlying density that becomes concentrated around the constant, followed by convolution with the uniform, can approach the required shape. Consequently the probability family can accommodate coordinates that carry little or no varying information.

How the flexible scalar densities are built

The earlier compressor used a piecewise linear density that needed a predetermined finite range for its non-zero probabilities. The paper describes practical complications in keeping that density normalized and differentiating through the indexing operations used to evaluate it. The replacement begins with the cumulative distribution. Its derivative is the density, so constraints on the cumulative give the authors a direct way to ensure a non-negative, normalized result.

c(−∞) = 0,  c(∞) = 1,  p(x) = ∂c(x)/∂x ≥ 0

In this equation x is a scalar argument, c is the cumulative distribution, and p is the corresponding density. The symbols −∞ and ∞ indicate the limits at the two ends of the real line. The derivative ∂c(x)/∂x gives the density at x, and ≥ requires that density to be non-negative. The endpoint limits ensure that the full mass sums to one by integration.

c = f_K ∘ f_{K−1} ∘ ⋯ ∘ f₁

The symbol c still denotes the scalar cumulative. The functions f₁ through f_K are its successive layers, K is the number of layers, ∘ denotes function composition, and ⋯ stands for intervening layers. The interior functions can have vector inputs and outputs. Only the first input and final output have to be scalar for the composition to define a univariate cumulative distribution.

f_k : ℝ^{d_k} → ℝ^{r_k}

Here f_k is the function at layer k, ℝ denotes the real numbers, and d_k and r_k are the dimensions of its domain and output. The arrow indicates the direction of the mapping. The first input dimension d₁ and last output dimension r_K are both 1. The inner dimensions permit more flexible shapes while preserving a one-dimensional scalar density at the end.

p = f′_K · f′_{K−1} · ⋯ · f′₁

The symbol p denotes the derivative of the composed cumulative. Each f′ is the corresponding layer’s Jacobian, the matrix of its partial derivatives evaluated at that layer’s input. The index K identifies the final layer, and the dots · denote matrix multiplication. Since the composition begins and ends with a scalar, applying the chain rule gives a scalar derivative. Requiring the Jacobians to have non-negative entries keeps that scalar non-negative.

f_k(u) = g_k(H⁽ᵏ⁾u + b⁽ᵏ⁾)  for 1 ≤ k < K

The variable u is a layer input. The index k ranges over the layers before the final one, K. The matrix H⁽ᵏ⁾ and vector b⁽ᵏ⁾ define the affine part, with matrix multiplication followed by addition. The function g_k then applies a coordinatewise nonlinearity. The inequalities specify the layers to which the expression applies.

f_K(u) = sigmoid(H⁽ᴷ⁾u + b⁽ᴷ⁾)

The function f_K is the last layer. Its input u is transformed by the final matrix H⁽ᴷ⁾ and offset b⁽ᴷ⁾. The sigmoid maps the resulting scalar into the interval between zero and one. This lets the cumulative approach its required endpoint values.

g_k(u) = u + a⁽ᵏ⁾ ⊙ tanh(u)

The map g_k is the hidden-layer nonlinearity at index k, u is its input, and a⁽ᵏ⁾ is the learned vector controlling the strength of the adjustment. The symbol ⊙ denotes elementwise multiplication. The function tanh is the hyperbolic tangent, applied to each component of u. Positive coefficients stretch the mapping near zero and negative coefficients can compress it there. Allowing both directions helps the density vary between peaks and troughs.

g′_k(u) = 1 + a⁽ᵏ⁾ ⊙ tanh′(u)

The prime in g′_k gives the derivatives of the coordinatewise map, and tanh′ is the coordinatewise derivative of the hyperbolic tangent at u. The vector a⁽ᵏ⁾ and product ⊙ have the same roles as before. The 1 is added to every derivative entry. This formula shows why keeping the entries of a⁽ᵏ⁾ above −1 is sufficient for non-negative slopes.

f′_k(u) = diag(g′_k(H⁽ᵏ⁾u + b⁽ᵏ⁾)) · H⁽ᵏ⁾  for 1 ≤ k < K

Here f′_k is the Jacobian of layer k before the final layer K. The argument u, matrix H⁽ᵏ⁾, and offset b⁽ᵏ⁾ form the same affine input used by g_k. The operator diag forms a diagonal matrix from the entries of g′_k, the coordinatewise derivatives at that input. The dot denotes matrix multiplication. Non-negative slopes and non-negative entries in H⁽ᵏ⁾ together give non-negative Jacobian entries.

f′_K(u) = sigmoid′(H⁽ᴷ⁾u + b⁽ᴷ⁾) · H⁽ᴷ⁾

The final-layer Jacobian f′_K applies the derivative sigmoid′ to the affine scalar obtained from u using H⁽ᴷ⁾ and b⁽ᴷ⁾. The dot combines that derivative with the final matrix. The sigmoid’s derivative is non-negative, so the same sign constraint on the matrix is sufficient here.

H⁽ᵏ⁾ = softplus(Ĥ⁽ᵏ⁾)

In this equation Ĥ⁽ᵏ⁾ holds the unconstrained trainable entries for layer k. The elementwise softplus converts them to positive entries in H⁽ᵏ⁾. These hats identify raw parameters in the appendix’s parameterization. They do not indicate quantization.

a⁽ᵏ⁾ = tanh(â⁽ᵏ⁾)

The raw trainable vector â⁽ᵏ⁾ is mapped by the elementwise hyperbolic tangent to the coefficients a⁽ᵏ⁾. Index k again denotes the layer. The resulting coefficients lie within the bounds that preserve non-negative slopes in the hidden nonlinearity. The bias vectors, matrices and adjustment vectors together form the learned parameter set for each scalar density.

As a check on what this family represents, the authors describe the case K = 1. This gives a logistic distribution.

c(x) = sigmoid(hx + b)

The scalar x is the argument of the cumulative c, h is its positive slope parameter, and b is an offset. The sigmoid is applied to the affine scalar hx + b. There are no hidden vector layers in this case.

p(x) = (h/2) · 1/(1 + cosh(hx + b))

The function p is the density at x. The parameters h and b are the slope and offset of the logistic cumulative, cosh is the hyperbolic cosine, and · indicates multiplication. The displayed density is the derivative of that cumulative. For the compression experiments, the authors used K = 4 with internal output dimensions r₁ = r₂ = r₃ = 3. Their illustrative fit to a Gaussian mixture used K = 3. These choices concern the scalar probability distributions, separate from the widths of the image transforms.

Architecture, coding, and training data

The image analysis and synthesis transforms use convolutions and generalized divisive normalization, abbreviated GDN. The synthesis side uses its inverse counterpart, IGDN. Divisive normalization changes a response according to local activity. The hyperprior analysis and synthesis transforms use convolutions and rectified linear units instead. The authors give the factorized and hyperprior compressors the same image analysis and synthesis architecture so the comparison keeps the main transform capacity comparable.

The architecture uses widths denoted by N and M, with M specifying the bottleneck width. For the 5 lower values of λ, the authors set N = 128 and M = 192. For the 3 higher values, they use N = 192 and M = 320. The chosen widths reflect preliminary experiments showing that increasing capacity helps until the performance curve levels off at a given λ. The authors also found that a wider bottleneck could preserve performance with a smaller width in the other parts of the transforms.

The entropy coder itself uses non-adaptive binary arithmetic coding. The implementation converts each quantized value to a binary integer representation and codes its bits from most significant to least significant. The probabilities required for this operation are determined by the discrete distributions for the main and auxiliary latents. The coder can be used without a separate fitting stage. By the time it reads each main value, the decoder already has the scale supplied by the side stream, and the probability of that value can be computed for the particular image.

Training used approximately 1 million color JPEG images collected from the web. Their source dimensions were between 3000 and 5000 pixels. The authors screened out images with excessive saturation to reduce the presence of non-photographic material. They then downsampled each image by a randomized amount so that its shorter side fell between 640 and 1200 pixels. The downsampling was intended to reduce existing compression artifacts. Randomly positioned crops of 256 × 256 pixels supplied the actual training inputs.

The authors used minibatches of 8 crops and an Adam learning rate of 10⁻⁴ in TensorFlow. The training runs varied the presence of the hyperprior, the choice of squared error or MS-SSIM, and the distortion weight. There were 8 values of λ for each architecture and loss combination, making 32 separately trained compressors. The resulting operating points come from separate optimizations, with each run learning its own transforms and probability parameters. Adam

Experiments and results

What the rate–distortion curves measure

The main test set is Kodak’s collection of color images. The paper measures both the cost of compression and the quality achieved at that cost. Rate is expressed in bits per pixel, or bpp. For the hyperprior, total rate includes the main image representation and the auxiliary stream. A curve shows how much quality a family of compressors achieves as rate changes. A position on the curve comes from a particular training weight, and the curve therefore describes the behavior of a family of trained operating points.

The authors use PSNR and MS-SSIM to measure different aspects of reconstruction. PSNR reports a logarithmic transformation of the mean squared error between the source and the reconstruction. A reduction in squared pixel error raises PSNR. The paper uses the following conversion.

PSNR = 10 log₁₀(255² / d)

Here PSNR is peak signal-to-noise ratio in decibels, d is the mean squared error, and 255 is the peak pixel value used in the formula. The operation log₁₀ is the base-ten logarithm, with the factor 10 giving the decibel scale. The squared peak value 255² is divided by d inside the logarithm. At a given rate, higher PSNR indicates smaller squared error under this evaluation.

MS-SSIM, short for multiscale structural similarity, measures agreement through image structure and contrast across scales. It yields a score between 0, the worst end of the scale, and 1, the best. Most of the compared methods reach values above 0.9. The authors transform the scores for the aggregate plots to make differences near the upper end easier to see.

MS-SSIM in decibels = −10 log₁₀(1 − d)

In this equation d is the original MS-SSIM similarity score, and 1 − d is its shortfall from the top of the scale. The symbol log₁₀ is the base-ten logarithm, and the factor −10 expresses the transformed score in decibels. Increasing the original similarity score also increases the transformed score. The values reported for the airplane illustration are on the original similarity scale.

The Kodak plots use different aggregation rules for their two metrics. For PSNR, the authors average measured rates and distortions across images at each common λ, without interpolation. Images compressed with the same λ can end up at different rates. The resulting average describes the consequences of running that operating point across the collection. For MS-SSIM, they interpolate each image’s rate–distortion curve with a cubic spline, then average values at common rates. That approach compares quality when the rate is aligned across images. The authors choose these rules to match the results available from the strongest comparison method for each metric. The PSNR and MS-SSIM plots should therefore be read according to the aggregation used for each.

How the systems compare on Kodak

On PSNR, the comparison includes conventional image codecs as well as published neural compression systems. JPEG provides a fixed-block conventional comparison. BPG is the stronger conventional baseline highlighted in the discussion. It packages HEVC for use on still images. The squared-error factorized compressor outperforms JPEG and the earlier learned methods trained for squared error that the authors compare against. The hyperprior improves on that factorized result and brings the curve close to BPG, with the better relative showing at higher rates. The paper’s discussion still places BPG ahead overall on PSNR. The expanded Kodak comparison also reports higher performance for the squared-error hyperprior than for JPEG 2000 and WebP.

Training with MS-SSIM gives a different ordering on the same PSNR evaluation. Both the factorized and hyperprior versions perform poorly on PSNR when trained for MS-SSIM, relative to the squared-error versions. Because PSNR is derived from squared error, this is a test of a different reconstruction objective from the one those compressors were trained to optimize. It also shows why the question of whether the hyperprior helps is best asked within a fixed training loss and evaluation metric.

On MS-SSIM, JPEG and BPG are toward the low end of the comparison. The paper describes these conventional codecs as having been optimized around squared error, with design constraints intended to protect visual quality. The strongest published MS-SSIM comparison the authors identify is Rippel and Bourdev’s adaptive image compressor. The MS-SSIM-trained factorized version performs similarly to it overall, doing better at high rates and slightly worse at low rates. Adding the hyperprior raises performance across the tested tradeoffs and places the new compressor ahead of that comparison. The broader Kodak plot also shows that the squared-error hyperprior reaches higher MS-SSIM scores than the conventional codecs included there.

The aggregate plots give the comparative ordering and show where the curves are close. The paper also reports qualitative agreement between Kodak and the additional Tecnick plots. The Tecnick appendix averages rate and distortion across common λ values for both metrics. The rate–distortion results on that dataset thus extend the evaluation to another image collection, with an aggregation convention that readers need to keep in mind when comparing its MS-SSIM plot with the main Kodak one.

What the airplane example shows at similar rates

The paper gives exact rates and scores for two reconstructions of an airplane photograph. Both use the hyperprior architecture. One was trained for MS-SSIM and produced its reconstruction at 0.1864 bpp. The other was trained for squared error and produced its reconstruction at 0.1932 bpp. This is an illustrative comparison at similar rates. The caption identifies the two reconstructions and their scores, while the dataset-wide conclusions come from the rate–distortion curves.

Airplane example reconstruction PSNR at similar bit rates

The squared-error training objective gives the higher PSNR in the illustrated pair.

Airplane example reconstruction PSNR at similar bit ratesHyperprior trained for MS-SSIM: 27.99Hyperprior trained for MS-SSIM27.99Hyperprior trained for squared error (this paper): 32.26Hyperprior trained for squared error(this paper)32.26
The numbers
System or settingPSNR in dB
Hyperprior trained for MS-SSIM27.99
Hyperprior trained for squared error (this paper)32.26

Airplane example reconstruction MS-SSIM at similar bit rates

The MS-SSIM training objective gives the higher structural similarity score in the illustrated pair.

Airplane example reconstruction MS-SSIM at similar bit ratesHyperprior trained for squared error: 0.9713Hyperprior trained for squared error0.9713Hyperprior trained for MS-SSIM (this paper): 0.9803Hyperprior trained for MS-SSIM (thispaper)0.9803
The numbers
System or settingMS-SSIM
Hyperprior trained for squared error0.9713
Hyperprior trained for MS-SSIM (this paper)0.9803

The scores align with their respective training losses. The images show what that means for particular regions. The MS-SSIM-trained compressor spends more of its detail on the lower-contrast grass. The lettering on the fuselage loses detail. In the squared-error reconstruction, the high-contrast lettering is clearer. The authors attribute this allocation to the greater tolerance MS-SSIM gives to discrepancies in high-contrast regions and its greater sensitivity to discrepancies in low-contrast ones. That behavior can be beneficial when an image contains textures at several contrast levels. The airplane is a case where the content a viewer may care about is concentrated in a high-contrast region, and the metric’s allocation can be at odds with that preference.

When instead comparing reconstructions with and without the hyperprior under corresponding training conditions, the authors report a different kind of change. They observed broadly similar kinds of artifacts. The hyperprior tended to preserve more detail while using less rate. Within their visual comparisons, the change in distortion objective had the more obvious effect on where the artifacts appeared.

How much the auxiliary stream costs

The paper plots the rate of the auxiliary stream separately for the squared-error hyperprior on Kodak. The measurements are averaged over images and expressed per pixel, with the total rate including both streams. The side-stream rate grows as the total rate grows. It remains far below 0.1 bpp even at the highest rates in this plot. The gain over the factorized compressor is measured with this side cost included.

There is no architectural constraint fixing a share of the bit budget for the side stream. Its observed size is an outcome of optimization. The scale description can get more expensive when the training objective tolerates a larger total rate and when spending those bits helps describe the main representation. The plot reports the resulting allocation in the tested squared-error runs. It gives a concrete measure of overhead alongside the performance comparison, which is important because a more accurate conditional distribution would be of limited compression value if transmitting its parameters consumed the savings.

The paper also reports computational measurements for its Python and TensorFlow implementation, with custom C++ for arithmetic coding. It averages encoding and decoding times over Kodak and Tecnick and includes both CPU and GPU operation. The observed average increase in runtime for the hyperprior relative to the factorized version was between 20% and 50%. The authors chose widths to avoid constraining the transforms during the compression experiments and did not tune the implementation for speed. The timing comparison captures the extra work of this implementation under those choices.

What the ablations show

Holding the image transforms comparable

The main controlled comparison trains compressors with and without the hyperprior while giving them the same architecture for image analysis and synthesis. Training can still yield different transform parameters, which is part of what end-to-end optimization is meant to allow. The comparable architecture helps rule out a simple explanation in which the image branch wins merely because it has more filters or a different reconstruction transform. The hyperprior system adds the auxiliary transforms, the side stream, and the conditional probabilities as a package.

Within a given training loss, the improvement shows that this package beats the factorized alternative even after the auxiliary rate is charged. The experiment does not assign a separate share of the gain to each added component. In particular, the image latents can change when the downstream rate calculation changes. Both a better account of observed dependencies and a representation adapted to that account can contribute to the final result. The comparison tests their combined value for compression.

The authors compare those outcomes with a visual diagnostic of latent activity. Selected maps from the factorized compressor show responses clustered around contours and textures. The hyperprior’s predicted scales have visible spatial structure as well. Dividing latent values by their predicted standard deviations makes the resulting maps look more uniform than the unscaled ones. This is what the hypothesis about locally varying scale would lead one to expect. It shows where the prediction acts and gives a concrete sense of what the added stream is describing. It remains a visual demonstration, without a quantitative estimate of the dependence left after normalization.

Changing the loss while retaining the architecture

The squared-error and MS-SSIM runs form another controlled comparison. Both losses are used with each of the two entropy designs and over the same range of experimental operating points. This lets the paper examine the effect of changing the distortion objective while keeping the architecture comparable. It also distinguishes two questions that would otherwise be easy to conflate. The first is whether the added scale information reduces the cost of encoding a useful representation. The second is which details the encoder preserves when faced with a tradeoff.

The direction of the Kodak results follows the training loss. Training for squared error gives better PSNR, while training for MS-SSIM is important for the strongest performance on structural similarity. The airplane reconstructions show that this difference is visible within individual images. The grass and lettering each receive different treatment even though the total rates are close. The experiment supports statements about the behavior of the two objectives in this architecture and about the visual consequences seen in the examples. A preference across a population of viewers would require a different measurement.

Testing whether wider transforms explain the gain

A natural explanation for the clustered responses of the factorized compressor is that its transforms lack capacity. A more powerful analysis transform might be able to produce a representation closer to independence. The appendix addresses the explanation by increasing the filter counts in the factorized architecture and studying when additional width stops improving the rate–distortion curve. For that experiment, N and M were set equal so the width change could be examined across the transforms.

At 0.5 bpp, the paper describes an appreciable performance gain when the factorized compressor goes from 64 to 128 filters. Raising the width to 192 yields a negligible further gain, and going to 256 yields no benefit in that comparison. The number of filters needed before performance leveled off grew with λ. These observations guided the widths used for the main results. They help explain why the main experiments use different widths at lower and higher distortion weights instead of selecting a single width for every rate.

For the configurations the authors examined, continuing to widen the factorized transforms was therefore an unpromising way to close the gap. The authors also note that a rate–distortion objective gives the transform reasons to keep a dependency if it helps reconstruction. Increasing λ gives the distortion term more weight, so the incentive to make the representation easy for a factorized prior to describe is weaker relative to the demand for faithful reconstruction. The capacity study makes that explanation plausible. It cannot settle whether a different architecture or a different optimization outcome could reach a better factorized solution.

Checking the probability construction

The appendix’s density demonstrations address smaller pieces of the method. The Gaussian-mixture fit shows that the cumulative-based scalar family can represent a distribution with more structure than a single logistic. The authors report that this family fitted a range of densities and performed comparably to their earlier piecewise linear formulation in compression. The paper uses those observations to justify the change in parameterization, whose cumulative is convenient both for fitting and for computing discrete bin probabilities.

The uniform-fitting illustration isolates the effect of convolving a smooth density with the centered uniform used to relax quantization. A direct smooth fit struggles with the uniform’s abrupt boundaries. The convolved family produces a much closer fit in the illustration. This supports the mechanism behind the example of an unused coordinate. The density can approach the appropriate shape, allowing its noisy training cost to approach the ideal cost of a deterministic quantized value. The illustration tests a specific property of the prior family. The comparative codec curves measure the behavior of the complete compressor.

Finally, the authors report that batch normalization and learning-rate decay did not improve their setup. They suggest that GDN’s local normalization, which includes global normalization as a special case, may help account for the result. The report establishes what the authors observed in these runs. It leaves the contribution of GDN to that outcome open, since the paper does not present a controlled removal of GDN for this question.

Limitations

Limits the authors identify

The authors give their quality claims in metric-specific terms. Their PSNR comparison still favors BPG overall, even though the squared-error hyperprior came close and surpassed the neural methods included in the comparison. Their MS-SSIM result establishes an advantage under the structural similarity measure for which that compressor was trained. The authors explicitly distinguish such scores from human judgments and discuss the absence of image semantics in either distortion objective. The loss can react to contrast and structure, while the importance of recognizing lettering or retaining a salient object is a separate issue.

They also identify a limit of RD aggregation. Interpolating at common rates gives a different average from pooling measurements from common values of λ. An apparent difference between curves can be misleading if the two curves used different aggregation procedures. The authors match each main Kodak plot to the convention of its leading baseline and regard comparisons on individual images as more reliable. They could not make the full individual-image comparison with Rippel and Bourdev because they lacked those data. This limits what the aggregate MS-SSIM result says about the consistency of the advantage on particular images.

The continuous training approximation has a related boundary. The noise construction gives the authors a practical connection from continuous densities to discrete coding masses, and earlier work cited in the paper checked how closely the relaxed rate tracked the discrete one. The authors explain that the relaxation they use supplies no upper bound on the discrete rate objective. The exact bin calculation at coding time and the suitability of the training surrogate are separate properties. The first follows from the construction. The second rests on the approximation and its empirical behavior.

The capacity analysis also leaves the question of global optimality unresolved. The authors acknowledge that transform capacity or failure to reach a global optimum could contribute to the dependencies they observe. Their widening experiment reduces concern about an obvious width bottleneck in their own architectures. It does not establish what independence a different transform or training procedure could attain. Likewise, the runtime numbers show that the codec is implementable with the reported setup, while the authors explicitly limit their use for performance comparisons with other implementations.

Limits of the experimental design

The conditional family predicts a standard deviation for every main latent. Its Gaussian factors have fixed zero means, and the variables are treated as independent given the side information. This is sufficient to account for the partial regularity the authors target, namely groups of neighboring values becoming large or small together. The method has no explicit conditional mean prediction or direct conditional dependence among the main symbols once the scales are known. The experiments show that scale prediction is worth its cost on the examined tasks. They leave the extent and coding value of the remaining structure open.

The comparison also changes the probability family used for the main latents along with introducing the auxiliary branch. The factorized version uses flexible fixed scalar densities, while the hyperprior uses Gaussian factors whose scales vary by image and location. This is an informative comparison of two complete designs. It leaves open the effects of exchanging their individual ingredients. For instance, the improvement cannot be partitioned into an effect from conditioning alone and an effect from retraining the main transform under the new conditional distribution.

The quantitative evaluation concentrates on Kodak, with a qualitative comparison of rate–distortion curves on Tecnick. The training set is large, but its preparation deliberately favors photographic material and uses crops of downsampled JPEGs. The score comparisons establish performance on the reported image collections under those training choices. They leave other source distributions and other distortions unmeasured. The airline lettering example provides evidence of a specific failure of metric alignment. It gives no estimate of how often that failure would matter for viewers or for a particular use of compressed images.

Finally, the side-rate measurement is for the squared-error hyperprior on Kodak. It is evidence that this auxiliary representation can be economical in those runs. A different loss or image distribution can give the training procedure a different reason to spend bits on the side stream. The paper’s description of the bit allocation follows from the terms in the objective, while the amount actually spent is an empirical property of the tested configuration.

What came after

Mentzer and colleagues cite the paper in work on learned lossless compression of full-resolution images. The change in reconstruction requirements matters for interpreting the connection. Ballé and colleagues charge the compressor for two bitstreams and allow image distortion in exchange for a lower total rate. Lossless compression requires exact recovery, so the relevance of their work is on the probability and coding side of the problem. Predicting the data more precisely can lower the cost of describing it even when the decoder has to recover every original value. The citation connects that question to a learned system for full-resolution still images. It does not establish that the later compressor uses the same scale hierarchy. Practical Full Resolution Learned Lossless Image Compression

Habibian and colleagues cite the paper in work on rate–distortion autoencoders for video. Here the connection is the use of a learned representation whose coding cost is weighed against the quality of the reconstruction. The image paper establishes how such an objective can pay for a separate description of local probability parameters when that description reduces overall rate. The later work carries the autoencoder rate–distortion formulation into video compression, where the material to encode is a sequence of images. The citation and the work’s stated scope support that connection. They leave the specific inheritance of the scale prediction mechanism unspecified. Video Compression With Rate-Distortion Autoencoders

Cite

Cite as Johannes Ballé, David C. Minnen, Saurabh Singh, Sung Jin Hwang and Nick Johnston. 2018. Variational image compression with a scale hyperprior. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1802.01436 · arXiv 1802.01436

@misc{balle2018variational,
  title = {{Variational image compression with a scale hyperprior}},
  author = {Johannes Ballé, David C. Minnen, Saurabh Singh, Sung Jin Hwang and Nick Johnston},
  year = {2018},
  doi = {10.48550/arxiv.1802.01436},
  eprint = {1802.01436},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1802.01436}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/balle-2018-variational-image-compression-scale-hyperprior/

References

28 references, from the paper's own bibliography.

  1. Eiríkur\bibnamedelima Þór Ágústsson, Fabian Mentzer, Michael Tschannen, Lukas Cavigelli, Radu Timofte, Luca Benini, Luc\bibnamedelima V. Gool. 2017. Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representations. Advances in Neural Information Processing Systems 30. our card
  2. N. Asuni, A. Giachetti. 2014. TESTIMAGES: A large-scale archive for testing visual devices and basic image processing algorithms. Proc. of STAG: Smart Tools and Apps for Graphics. OpenAlex ↗ · Scholar ↗
  3. Mohammad\bibnamedelima Haris Baig, Lorenzo Torresani. 2017. Multiple hypothesis colorization and its application to image compression. Computer Vision and Image Understanding. doi:10.1016/j.cviu.2017.01.010. OpenAlex ↗ · Scholar ↗
  4. Johannes Ballé, Valero Laparra, Eero\bibnamedelima P. Simoncelli. 2016. Density Modeling of Images Using a Generalized Normalization Transformation. arXiv e-prints. OpenAlex ↗ · Scholar ↗
  5. Johannes Ballé, Valero Laparra, Eero\bibnamedelima P. Simoncelli. 2016. End-to-end optimization of nonlinear transform codes for perceptual quality. Picture Coding Symposium (PCS), 2016. doi:10.1109/PCS.2016.7906310. OpenAlex ↗ · Scholar ↗
  6. Johannes Ballé, Valero Laparra, Eero\bibnamedelima P. Simoncelli. 2017. End-to-end Optimized Image Compression. arXiv e-prints. OpenAlex ↗ · Scholar ↗
  7. Fabrice Bellard. 2014. BPG Image Format. http://bellard.org/bpg/ OpenAlex ↗ · Scholar ↗
  8. Christopher\bibnamedelima M. Bishop. 1999. Latent variable models. Learning in Graphical Models. OpenAlex ↗ · Scholar ↗
  9. Jean-François Cardoso. 2003. Dependence, Correlation and Gaussianity in Independent Component Analysis. Journal of Machine Learning Research. OpenAlex ↗ · Scholar ↗
  10. Eastman Kodak. 1993. Kodak Lossless True Color Image Suite (PhotoCD PCD0992). http://r0k.us/graphics/kodak/ OpenAlex ↗ · Scholar ↗
  11. Vivek\bibnamedelima K. Goyal. 2001. Theoretical Foundations of Transform Coding. IEEE Signal Processing Magazine. doi:10.1109/79.952802. OpenAlex ↗ · Scholar ↗
  12. Karol Gregor, Frederic Besse, Danilo Jimenez\bibnamedelima Rezende, Ivo Danihelka, Daan Wierstra. 2016. Towards Conceptual Compression. Advances in Neural Information Processing Systems 29. OpenAlex ↗ · Scholar ↗
  13. . 2013. ITU-R Rec. H.265 \& ISO/IEC 23008-2: High Efficiency Video Coding. OpenAlex ↗ · Scholar ↗
  14. . 1992. ITU-R Rec. T.81 \& ISO/IEC 10918-1: Digital compression and coding of continuous-tone still images. OpenAlex ↗ · Scholar ↗
  15. Nick Johnston, Damien Vincent, David Minnen, Michele Covell, Saurabh Singh, Troy Chinen, Sung\bibnamedelima Jin Hwang, Joel Shor, George Toderici. 2017. Improved Lossy Image Compression with Priming and Spatially Adaptive Bit Rates for Recurrent Networks. arXiv e-prints. OpenAlex ↗ · Scholar ↗
  16. Diederik\bibnamedelima P. Kingma, Jimmy Ba. 2015. Adam: A Method for Stochastic Optimization. arXiv e-prints. our card
  17. Diederik\bibnamedelima P. Kingma, Max Welling. 2014. Auto-Encoding Variational Bayes. arXiv e-prints. our card
  18. Siwei Lyu, Eero\bibnamedelima P. Simoncelli. 2009. Modeling Multiscale Subbands of Photographic Images with Fields of Gaussian Scale Mixtures. IEEE Transactions on Pattern Analysis and Machine Intelligence. doi:10.1109/TPAMI.2008.107. OpenAlex ↗ · Scholar ↗
  19. Oren Rippel, Lubomir Bourdev. 2017. Real-Time Adaptive Image Compression. Proc. of Machine Learning Research. OpenAlex ↗ · Scholar ↗
  20. Jorma Rissanen, Glen\bibnamedelima G. Langdon. 1981. Universal modeling and coding. IEEE Transactions on Information Theory. doi:10.1109/TIT.1981.1056282. OpenAlex ↗ · Scholar ↗
  21. Shibani Santurkar, David Budden, Nir Shavit. 2017. Generative Compression. arXiv e-prints. OpenAlex ↗ · Scholar ↗
  22. Casper\bibnamedelima Kaae Sønderby, Tapani Raiko, Lars Maaløe, Søren\bibnamedelima Kaae Sønderby, Ole Winther. 2016. Ladder variational autoencoders. Advances in Neural Information Processing Systems 29. OpenAlex ↗ · Scholar ↗
  23. David\bibnamedelima S. Taubman, Michael\bibnamedelima W. Marcellin. 2002. JPEG 2000 -- Image Compression Fundamentals, Standards and Practice. OpenAlex ↗ · Scholar ↗
  24. Lucas Theis, Wenzhe Shi, Andrew Cunningham, Ferenc Huszár. 2017. Lossy Image Compression with Compressive Autoencoders. arXiv e-prints. OpenAlex ↗ · Scholar ↗
  25. George Toderici, Damien Vincent, Nick Johnston, Sung\bibnamedelima Jin Hwang, David Minnen, Joel Shor, Michele Covell. 2017. Full Resolution Image Compression with Recurrent Neural Networks. 2017 IEEE Conf. on Computer Vision and Pattern Recognition (CVPR). doi:10.1109/CVPR.2017.577. OpenAlex ↗ · Scholar ↗
  26. Martin\bibnamedelima J. Wainwright, Eero\bibnamedelima P. Simoncelli. 2000. Scale Mixtures of Gaussians and the Statistics of Natural Images. Advances in Neural Information Processing Systems 12. OpenAlex ↗ · Scholar ↗
  27. Zhou Wang, Alan\bibnamedelima Conrad Bovik, H.\bibnamedelimi R. Sheikh, Eero\bibnamedelima P. Simoncelli. 2004. Image Quality Assessment: From Error Visibility to Structural Similarity. IEEE Transactions on Image Processing. doi:10.1109/TIP.2003.819861. OpenAlex ↗ · Scholar ↗
  28. Zhou Wang, Eero\bibnamedelima P. Simoncelli, Alan\bibnamedelima Conrad Bovik. 2003. Multi-Scale Structural Similarity for Image Quality Assessment. Conf. Rec. of the 37th Asilomar Conf. on Signals, Systems and Computers. doi:10.1109/ACSSC.2003.1292216. OpenAlex ↗ · Scholar ↗