Elamur Research

Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representations

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

Summary

A useful representation can still be expensive to store. An image encoder may turn a picture into a smaller collection of features, yet those features remain continuous values that need many bits. A trained neural network faces a related problem: its parameters may perform well while occupying more memory than deployment allows. This paper brings these problems together under efficient computation and compression. It asks how training can produce representations that preserve their task performance while becoming economical to encode.

The central difficulty is that compression introduces discrete decisions into an otherwise differentiable computation. A quantizer replaces a value, or a group of values, with a representative selected from a finite collection. The resulting sequence of representative indices can be stored efficiently if some indices occur much more often than others. But choosing the nearest representative is not differentiable, and neither is the histogram obtained by counting those choices. The authors address both obstacles with continuous approximations. During training, each value has a graded assignment to several representatives; those assignments support a smooth reconstruction and a smooth estimate of coding cost. An annealing process gradually sharpens the assignments until they approach the discrete choices required for storage.

This creates a common training framework for compressing intermediate features and compressing network parameters. The framework learns the surrounding network, the representative values, and the distribution of assignments together. It supports scalar quantization, where individual values receive assignments, and vector quantization, where a group of values shares an assignment. Its entropy estimate comes from assignment histograms, avoiding a prescribed parametric form for the marginal distribution. That flexibility has a qualification: the coding objective still approximates symbol sequences through independent, identically distributed entries, with separate histograms used where the application requires them.

The experiments examine image reconstruction and image classification. For image compression, a convolutional autoencoder trained with the method produces results competitive with established codecs. Below 0.4 bits per pixel, the authors report better MS-SSIM than JPEG and JPEG 2000 and performance competitive with BPG. For parameter compression, a 32-layer ResNet evaluated on the CIFAR-10 test set retains 92.1% accuracy, compared with 92.6% for its uncompressed starting point. Its compression factor is 19.15 with Huffman coding and 20.15 with arithmetic coding. These results establish that the same optimization idea can work in distinct compression settings. They do not establish universal superiority over specialized methods, nor do they demonstrate faster inference.

Interesting ideas

Learn for the eventual storage format. Compression becomes part of the training objective instead of a conversion applied after learning has finished. The network can therefore adjust the representation itself, rather than leaving a quantizer to approximate values chosen for an unrelated objective. This is useful whenever a learned representation must eventually cross a restricted storage or transmission interface. The transferable idea is to make that interface visible during optimization, including both the approximation it introduces and the coding cost it creates.

Relax the whole discrete pipeline. The authors soften both the replacement of values and the estimate of symbol entropy. Smoothing only the quantizer would leave a separate obstacle in the rate term; smoothing only the entropy would leave the reconstruction path blocked by discrete assignments. Treating these as connected parts of the same problem makes the training objective coherent. Elsewhere, a similar approach can help when a discrete bottleneck affects both task output and an additional resource objective.

Learn the representatives with the representation. A fixed set of allowed outputs forces the surrounding network to accommodate those outputs. Here, the centers move during learning as the network changes. This permits the locations of the representatives and their patterns of use to develop together. The idea applies to learned dictionaries, compact feature stores, and other settings where a small set of reusable values must serve a task. The benefit comes from optimizing the interface itself, not merely the computations on either side.

Use groups to absorb local dependence. The image system quantizes patches within each bottleneck channel. A symbol consequently represents a local configuration instead of an isolated scalar. This gives the representation a way to preserve relationships among nearby values even though the entropy calculation treats successive symbols independently. The broader lesson is that the unit being encoded can compensate partly for limitations in the coding distribution. Choosing that unit is therefore an important design decision, alongside choosing the entropy estimator.

Treat the soft-to-hard gap as an observable. A smooth training objective can look satisfactory while the discrete system still performs poorly. The image experiments explicitly compare reconstruction under soft and hard quantization, then use their difference to guide annealing. This suggests a reusable way to manage continuous surrogates: monitor the behavior that will actually be deployed throughout training. The discrepancy between surrogate and deployment behavior becomes a control signal, instead of an unpleasant discovery at the end.

Count the complete compressed object. The parameter-compression benchmark includes the stored centers as well as the encoded index stream. This matters because sharing values does not make the shared values free. For a compact system, auxiliary information can affect whether the proposed representation saves space at all. The same accounting principle applies to dictionaries, lookup tables, probability information, and other structures needed to interpret a compressed artifact. An attractive entropy estimate is useful evidence, but the final encoded size remains the practical test.

Deep dive: Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representations

How soft-to-hard vector quantization learns compact representations, balances storage against quality, and compresses images and network weights. · about 33 minutes to read

How Mova uses it

For Mova, the small transparent language system implemented in Rust, this paper offers a possible approach to compact numerical components. The connection is prospective: the paper reports image compression and ResNet parameter compression, and it establishes no implementation or measured outcome for Mova. Its relevance lies in how it organizes a compression problem. A component should be assessed through the task behavior it must preserve, the representation that would be quantized, and the complete cost of storing that representation.

A concrete candidate would be a learned numerical table used by a language-processing component. If such a table is present and occupies meaningful storage, its entries could be replaced by indices into a learned collection of centers. Scalar assignments would share individual values. Vector assignments would share groups of values. The paper supplies a training strategy for making those substitutions gradually while retaining a task loss. It does not establish that any particular Mova table has the redundancy needed for this to work.

The same distinction applies to intermediate features. A feature representation that must be saved or transmitted could be trained to pass through a discrete bottleneck, with the rate penalty encouraging economical symbol use. A representation that exists only briefly during computation would need a different practical justification. The paper measures compression of stored information; it does not show that adding quantization necessarily improves the execution time or working memory of every computation that produces such information.

Transparency makes the learned codebook especially worth examining. The centers and their usage histogram would be concrete artifacts that an engineer could inspect. One could see which numerical representatives are common and which are rarely selected. That inspection would explain the compression mechanism, but it would not automatically give the centers linguistic meanings. The paper’s assignments are optimized for task performance and coding cost. It provides no evidence that a center corresponds to a word category, a grammatical rule, or a semantic distinction.

An honest evaluation in Mova would therefore keep several observations separate. Task quality would show whether quantization damages the intended language behavior. Hard assignments would show what the stored representation actually does. The encoded index stream, centers, and required probability information would show its storage cost. Any claim about execution speed would require an additional measurement, because the paper’s compression factors do not answer that question.

The most immediately reusable idea may be the discipline of watching the discrete system while training its continuous approximation. A compact component can appear healthy under soft assignments even while its eventual stored version behaves differently. The authors’ soft-versus-hard comparison provides a concrete safeguard against that mismatch. For Mova, it is a research direction for a suitable numerical component, with applicability determined by measurements on that component rather than by the success of the image experiments alone.

The problem and its context

Compression requires more than fewer values

The paper begins from the observation that deep networks can contain substantial redundancy, both in their parameters and in the features they produce. Large parameter collections can be inconvenient for devices with limited storage. Intermediate representations also create an opportunity: if a network learns features that can be encoded efficiently, it can become part of a compression system for the original data.

These opportunities have different outward forms. Parameter compression creates a compact version of a trained computational object. Image compression creates a reusable encoder and decoder that process many inputs. The authors’ central move is to describe both through the same ingredients: continuous values, a finite collection of representatives, assignments to those representatives, a task loss, and a coding cost.

Quantization introduces approximation. Replacing a feature vector may change the reconstructed image; replacing network parameters may change classification behavior. The paper uses distortion as the general name for the task cost associated with such changes. Distortion need not mean a direct distance between the original and replacement parameters. For a classifier, the important consequence is what happens to its output and predictive performance.

Storage introduces a separate issue. Suppose values have already been replaced by representative indices. The existence of a small representative collection does not fully determine the stream’s compressibility. Its distribution also matters. A stream concentrated on a few symbols can receive shorter codes than one using its available symbols more evenly. The paper therefore seeks to optimize an entropy-based rate term alongside the task loss.

This is a rate–distortion problem. Better preservation of the task may require a richer, less compressible representation. A stronger demand for compactness may force more approximation. The method does not remove that tension. It makes the tension explicit in the training objective so that the representation and its quantization can adapt together.

What earlier image-compression work supplied

The authors describe recent image-compression research built around recurrent networks and convolutional autoencoders. The recurrent approach associated with Toderici and colleagues learned progressive compression and used stochastic quantization during training. The autoencoder approaches associated with Ballé and colleagues and with Theis and colleagues learned transformations between images and compact internal features.

These earlier systems established that learned image compression could compete with traditional codecs. They also supplied architectural and optimization choices against which the new method could be positioned. The paper uses a variant of the autoencoder architecture associated with Theis and colleagues, while changing the treatment of quantization and entropy.

One difficulty was how to pass learning signals through quantization. The paper identifies stochastic approximations as a popular strategy. Another strategy used rounding in the forward computation with a smooth substitute for its derivative. Both address the fact that the discrete operation does not supply the ordinary derivatives needed by gradient-based optimization.

A related difficulty was estimating the rate. Earlier approaches described in the paper often assumed independent symbols and fitted a parametric marginal distribution. The examples include Gaussian mixtures, piecewise linear distributions, and Bernoulli distributions for binary symbols. These are ways to obtain manageable probability estimates, but they also commit the method to a particular distribution family.

The proposed histogram approach changes that marginal estimation choice. It does not claim to remove the need for statistical assumptions altogether. Its simplification of the sequence distribution remains important to understanding what its entropy objective measures.

What earlier parameter-compression work supplied

The parameter-compression literature described by the authors frequently used a sequence of separate operations. A pretrained network was pruned, surviving weights were grouped through a clustering procedure, the network was retrained, and the result was entropy-coded. The clustering stage resembled k-means, with shared representative values replacing many individual parameters.

Such pipelines can achieve strong compression, but their components are not necessarily optimized through one common objective. Pruning determines which parameters survive. Clustering determines which values they share. Retraining repairs task performance. A storage representation for sparse indices introduces further decisions.

The paper contrasts that sequence with a direct entropy penalty during learning. Frequent use of a small number of centers can emerge from the objective without a separate requirement that a particular value dominate. In the reported ResNet experiment, the method compresses the complete parameter vector rather than first constructing a sparse parameter structure through pruning.

The authors also discuss the minimum description length principle used by Ullrich and colleagues. That work treats compression through a Bayesian formulation and a parametric distributional assumption. It is relevant because it, too, seeks a more integrated learning procedure. The distinction is therefore not simply integrated training versus every earlier approach; it also concerns how assignments, distributions, and optimization are formulated.

Compression and low-precision computation are different goals

Another nearby research direction reduces numerical precision to support efficient computation on suitable hardware. The authors distinguish that objective from learning an information-theoretically compressible symbol stream. Restricting each value to a limited set can facilitate low-precision arithmetic, yet it does not by itself encourage an uneven distribution of symbols.

Conversely, a low-entropy stream can be highly compact when encoded without immediately implying faster arithmetic. Decoding, lookup, and the numerical form used during execution remain practical considerations. The paper’s principal measurements concern representation size and task quality.

Finally, the optimization idea belongs to a broader family of continuation methods. These methods start with an easier problem and gradually approach the difficult target problem. The paper also relates its approach to deterministic annealing for clustering and to earlier continuation-based nearest-neighbor assignments in prototype classification. The authors’ novelty claim concerns bringing this strategy into end-to-end learned image and parameter compression, rather than inventing the general notion of gradually hardening an optimization problem.

The method, step by step

The method has a continuous training form and a discrete storage form. The storage form chooses a center for each item and encodes the resulting indices. The training form replaces those choices with weighted assignments so that both task quality and compressibility can influence the learned representation.

Learning a representation that becomes discretely encodable

The steps in order.

Learning a representation that becomes discretely encodableStep 1: Train an initial continuous representation1. Train an initial continuous representationStep 2: Initialize representative centers2. Initialize representative centersStep 3: Compute soft assignments to centers3. Compute soft assignments to centersStep 4: Estimate symbol frequencies and entropy4. Estimate symbol frequencies and entropyStep 5: Optimize task quality and coding cost5. Optimize task quality and coding costStep 6: Gradually sharpen assignments6. Gradually sharpen assignmentsStep 7: Encode hard assignments with entropy coding7. Encode hard assignments with entropy coding

Start with the task loss

The surrounding network is an ordinary composition of parameterized layers:

F = F_K ∘ ⋯ ∘ F_1

Here, F is the complete network, F_i is its layer indexed by i, K is the number of layers, and ∘ denotes function composition. Each layer takes the preceding layer’s output as its input. W denotes the collection of learnable parameters across these layers.

For supervised learning, the starting objective averages a sample loss and adds a parameter regularizer:

ℒ = (1/N) Σᵢ₌₁ᴺ ℓ(F(xᵢ), yᵢ) + λR(W)

The symbol ℒ denotes the training objective, N is the number of training examples, xᵢ is an input, and yᵢ is its target. The function ℓ measures the error for an example. R(W) is a regularization term over the parameters, and λ controls its strength. This R(W) is a parameter regularizer; it should be distinguished from the rate denoted by R in the simpler rate–distortion expression below.

The paper uses the same framework for different tasks. In classification, the output describes class probabilities and the sample loss is categorical cross-entropy. In an autoencoder, the output is trained to reproduce the input. The image experiments measure reconstruction distortion through mean squared error.

An autoencoder contains an internal bottleneck: a feature representation with substantially lower dimensionality than the input. Its image encoder maps an image into this representation, and its image decoder maps the representation back into an image. These image-level components are distinct from the symbol encoder and symbol decoder introduced for quantization.

Identify what must be stored

Let z be the continuous representation to compress. It might be the bottleneck features generated for an image, or it might contain network parameters. A symbol encoder converts it into a finite sequence:

E: ℝᵈ → [L]ᵐ

The function E is the symbol encoder. The input dimension is d. Its output contains m symbols, each selected from [L], the index set for a collection of L representatives. The notation ℝᵈ describes a real-valued vector space.

A symbol decoder turns those indices back into a numerical approximation:

ẑ = D(E(z))

The function D is the symbol decoder, and ẑ is the reconstructed representation. Its purpose is to supply values that the rest of the network can use. It does not recover the original continuous representation exactly.

In image compression, a new input creates a new z and therefore a new symbol sequence. In parameter compression, the goal is to encode the particular parameter vector being deployed. The authors explicitly distinguish learning to compress a source of many examples from compressing a single fixed collection of parameters.

Express the storage-quality trade-off

The paper summarizes the basic aim as:

D + βR

D denotes distortion, R denotes the coding rate, and β is a positive coefficient controlling how strongly rate is penalized. A larger penalty makes economical encoding more influential relative to task preservation. The notation captures the general tradeoff; the implemented objective uses a task loss and an estimated entropy.

For a source of symbol sequences, the ideal entropy is:

H(E(Z)) = −Σₑ P(E(Z) = e) log P(E(Z) = e)

Z denotes the random continuous representation induced by the input source, while e ranges over possible encoded sequences. P(E(Z) = e) is the probability of a particular sequence. H is entropy, the probability-weighted measure used to characterize coding cost.

The full sequence distribution is impractical to estimate directly. Each position can contain any of L symbols, and the space of possible sequences grows with m. The authors therefore approximate the sequence probability through a common marginal distribution:

P(E(Z) = e) ≈ ∏ₗ₌₁ᵐ pₑₗ

The sequence e contains entries eₗ, and pₑₗ is the estimated probability of the symbol appearing at position l. The product expresses the independent, identically distributed approximation. It discards dependencies between positions and uses the same marginal distribution within the population covered by the histogram.

The marginal probabilities come from counts:

pⱼ = count of assignments to center j / (mN)

Here, pⱼ is the empirical frequency of center j. The denominator counts all m assignments from each of N examples. For parameter compression, the counts instead range over the fixed parameter vector, with N=1 in the paper’s formulation.

This reduces the entropy estimate to:

H(E(Z)) ≈ mH(p)

The vector p contains the marginal frequencies, and H(p) is their entropy. Multiplication by m converts a per-symbol entropy into an estimate for the complete sequence. The paper notes that, with exact marginals, this quantity also bounds the true sequence entropy from above when dependence is present.

The practical training objective becomes:

J = (1/N) Σᵢ₌₁ᴺ ℓ(F̂(xᵢ), yᵢ) + λR(W) + βmH(p)

J denotes the combined objective, and F̂ is the network using the quantized representation. The other terms retain their earlier meanings. This formulation makes the task loss and estimated coding cost compete directly. It also exposes the remaining problem: both F̂ and p depend on hard assignments, so ordinary differentiation cannot yet optimize the desired computation.

Define the centers and hard assignments

The representation z is reshaped into m subvectors. Each subvector has dimension d/m and receives an assignment to a center from a collection C. The collection contains L centers, written cⱼ.

For scalar quantization, a subvector is an individual value. For vector quantization, it is a group of values. The grouping determines what patterns a single symbol can preserve.

The hard assignment chooses the closest center:

e(z̄) = argminⱼ ‖z̄ − cⱼ‖²

The symbol z̄ denotes a subvector being quantized. The expression ‖z̄ − cⱼ‖² is its squared Euclidean distance from center cⱼ. The argmin operation returns the index j with the smallest distance.

The reconstructed subvector is then the selected center. This supplies a simple deployment mechanism: store indices, recover centers by lookup, and reshape the recovered subvectors into the representation expected by the surrounding network.

The obstacle is at the assignment boundary. Moving a subvector slightly may leave its selected index unchanged, while crossing a boundary changes it abruptly. Hard nearest-center selection therefore lacks the smooth relationship between inputs and outputs that gradient-based training needs.

Replace selection with soft assignment

The continuous approximation assigns each subvector a distribution over centers:

φⱼ(z̄) = exp(−σ‖z̄ − cⱼ‖²) / Σₖ₌₁ᴸ exp(−σ‖z̄ − cₖ‖²)

The value φⱼ(z̄) is the assignment weight for center j. The exponential favors centers with smaller squared distances. The denominator normalizes the weights across the L centers. The positive parameter σ controls hardness: increasing it concentrates the distribution more strongly around the nearest center.

The soft reconstruction is a weighted combination:

Q̃(z̄) = Σⱼ₌₁ᴸ cⱼφⱼ(z̄)

Q̃ denotes soft quantization. Each center contributes in proportion to its assignment weight. Because both the distances and normalized weights vary continuously, learning signals can affect the subvector and the centers.

For a subvector with a unique nearest center, increasing σ makes the reconstruction approach that center. The paper describes this limit as convergence from a soft assignment to a one-hot hard assignment. The final stored representation still uses the discrete index; the weighted combination is the training device that makes reaching that representation manageable.

Applying this operation across all subvectors gives a soft version of the quantized representation. Inserting it into the surrounding network produces F̃, the differentiable approximation to F̂. The network can now learn how to generate useful inputs to the quantizer and how to use its outputs.

Soften the histogram as well

The same assignment weights define a continuous frequency estimate:

qⱼ = (1/(mN)) Σᵢ₌₁ᴺ Σₗ₌₁ᵐ φⱼ(z̄ᵢ⁽ˡ⁾)

The value qⱼ is the soft frequency for center j. The subvector z̄ᵢ⁽ˡ⁾ is position l from example i. Instead of contributing an indivisible count to a selected center, every subvector contributes fractional mass through φⱼ.

The vector q is a valid probability distribution. As assignments harden, it approaches the hard histogram p. This creates a differentiable connection between representation learning and the frequencies that determine coding cost.

The authors first define an entropy surrogate through cross-entropy:

H(p, q) = −Σⱼ₌₁ᴸ pⱼ log qⱼ = H(p) + D_KL(p ∥ q)

H(p,q) is cross-entropy with p supplying the weights and q supplying the probabilities inside the logarithm. D_KL(p ∥ q) is the Kullback–Leibler divergence between the distributions. Its non-negative value makes this expression an upper bound on H(p).

During gradient computation, the hard histogram p is treated as fixed. The smooth dependence runs through q. Minimizing the surrogate can therefore reduce an upper bound on the hard histogram entropy while also bringing the soft and hard distributions closer.

This formulation has a practical limitation. Although q is formed by averaging contributions from examples, taking its logarithm prevents the loss from separating conveniently into independent example-level terms. That matters for large datasets trained with mini-batches.

Choose a mini-batch-compatible entropy surrogate

For the image setting, the authors reverse the cross-entropy arguments:

H(q, p) = −Σⱼ₌₁ᴸ qⱼ log pⱼ

Here, q supplies the differentiable weights, and p provides the hard histogram probabilities. This quantity still approaches H(p) as the assignments become hard. It no longer has the same upper-bound guarantee for H(p).

Its benefit appears after substituting the definition of q:

H(q, p) = −(1/(mN)) Σᵢ₌₁ᴺ Σₗ₌₁ᵐ Σⱼ₌₁ᴸ φⱼ(z̄ᵢ⁽ˡ⁾) log pⱼ

Every term now belongs to an example and subvector. The factors involving p are treated as fixed during differentiation, so mini-batches can provide additive contributions to the training loss.

This choice is an important part of the method’s practical character. The paper presents a surrogate with a useful bound, then gives up that bound when doing so enables scalable optimization. The resulting procedure remains motivated by the discrete entropy objective, but its finite-hardness training loss should not be mistaken for an exact evaluation of that objective.

Move gradually toward the discrete computation

Soft assignments can preserve information through mixtures that the final discrete system cannot retain. Training must therefore reduce the mismatch between its continuous approximation and the deployment computation.

The authors increase σ during learning. This makes the soft quantizer resemble hard nearest-center selection more closely. The schedule matters because increasing hardness changes the optimization landscape as well as the representation.

If hardening proceeds too slowly, the surrounding network may learn to undo the soft assignment operation. The authors associate this behavior with growing weights. If hardening proceeds too quickly, useful gradients can disappear before the network has adapted. A successful schedule must permit adjustment while progressively removing the freedom offered by soft mixtures.

The centers can be initialized from observed subvectors. The paper then refines that initialization by minimizing a soft clustering energy:

E_C = Σ_z̄ ‖z̄ − Q̃(z̄)‖²

E_C denotes the clustering objective, and the sum ranges over collected subvectors. It encourages their soft reconstructions to remain close to the original values. This provides an initial collection of centers suited to the representation before the full compression objective reshapes it.

Specialize the representation for images

The image system uses a convolutional autoencoder related to the architecture of Theis and colleagues. Its encoder begins with convolutional layers that reduce spatial dimensions and expand the channel dimension from 3 to 128. Residual blocks operate at that channel width. A later convolution reduces spatial size again and produces the chosen number of bottleneck channels.

For an input with spatial dimensions w × h, the bottleneck has the form:

bottleneck shape = w/8 × h/8 × c

The symbols w and h denote image width and height, and c is the selected bottleneck channel count. The decoder reverses the spatial reduction through upsampling and deconvolutions. The authors use standard deconvolutions in place of the subpixel layers used in the architecture they adapt.

Each channel receives its own histogram and entropy term. This reflects the authors’ expectation that different channels need not share a distribution. The same coefficient β weights the channel entropy terms in the total objective.

Within a channel, the main system groups values into 2 × 2 patches and assigns them to L=1000 centers. These are vector assignments: a symbol identifies an entire local patch in bottleneck space. The grouping allows a symbol to carry local relationships that a scalar assignment would separate.

Train the image system in stages

The training images are drawn from a subset of ImageNET containing 90,000 images. The authors downsample them by a factor of 0.7 and train on 128 × 128 crops with a batch size of 15. Adam is the optimizer.

The first training stage omits quantization. The autoencoder learns a useful continuous representation, with bottleneck channels gradually released for learning. The authors report a slight benefit from this gradual release compared with making every channel available from the outset. The resulting representation supports initialization of the centers and assignment hardness.

The initial stage runs for 250k iterations with a learning rate of 1e−4. The compression stage then jointly trains network parameters and centers for 800k iterations at a learning rate of 1e−5. Both stages use an l₂ regularizer with λ=1e−12.

For the hard histogram used during compression training, the system maintains information over 5,000 images. It updates that histogram every 10 iterations using the current batch. Thus the probability information is not recomputed over the entire training collection after every update.

The paper explores bottleneck channel counts from {8, 16, 32, 48} and a range of entropy penalties. It selects 5 representative configurations whose average rates are spread approximately across [0.1, 0.8] bits per pixel. These configurations provide different quality settings for the resulting image compressor.

Guide image annealing through reconstruction behavior

The image training schedule compares soft and hard reconstruction errors:

e_S = ‖F̃(x) − x‖²

The symbol e_S is the reconstruction error when the network uses soft quantization. The input image is x, and F̃ is the network with the soft bottleneck.

e_H = ‖F̂(x) − x‖²

The symbol e_H is the corresponding error using hard quantization. F̂ is the network with actual nearest-center assignments.

Their difference defines the observed gap:

g(t) = e_H − e_S

The symbol g(t) denotes the gap at training iteration t. A large gap means the soft computation is a poor guide to the hard computation at that point.

The schedule compares this gap with a decaying target:

e_G(t) = g(t) − (T/(T + t))g(0)

The quantity e_G(t) is the deviation from the desired gap. The parameter T controls the target’s decay, and g(0) is the initial gap. The paper describes the target as halving after T iterations.

Hardness is then updated through:

σ(t + 1) = σ(t) + K_G e_G(t)

The coefficient K_G determines how strongly the gap deviation changes σ. For image training, the authors use T=50k and K_G=100. The schedule ties increasing discreteness to observed reconstruction behavior, instead of relying only on elapsed training.

Specialize the same method for parameters

For the classification experiment, the complete ResNet parameter collection is concatenated into a vector containing 464,154 trainable values. The authors use scalar quantization, with L=75 centers and β=0.1. They start from an already trained classifier.

The optimization uses stochastic gradient descent with momentum 0.9 and the learning settings of the original network. Here the hardness schedule is exponential:

σ(t + 1) = 1.001 · σ(t)

The symbol t indexes training updates, and σ begins at 0.4. After 4 epochs, the authors replace the soft quantizer with hard assignments and continue fine-tuning at a 10× lower learning rate.

This explicit switch addresses large gradients that can occur near a boundary between centers as the quantizer becomes hard. The authors also mention gradient clipping as a possible response. The final stored object consists of centers and an entropy-coded stream of their indices.

Experiments and results

What the image benchmark measures

The image evaluation uses Kodak, B100, Urban100, and ImageNET100. Their content and preparation differ, making performance across them informative about how the compressor behaves beyond the distribution used for training.

Kodak contains 24 color images with dimensions 768 × 512. B100 supplies 100 color test images at 481 × 321. Urban100 contains 100 color images selected around urban subjects, with the longer dimension exceeding 992 pixels. ImageNET100 contains 100 randomly selected ImageNET images, with downsampling and cropping connected to the training preparation.

For every dataset, the authors reconstruct each compressed image, compare it with the uncompressed version, and average quality scores over the collection. They report peak signal-to-noise ratio, or PSNR; structural similarity, or SSIM; and its multiscale variant, MS-SSIM.

These metrics answer related but different questions. PSNR has a monotonic relationship with mean squared reconstruction error. SSIM and MS-SSIM are intended to reflect image similarity in a way that the paper describes as more closely associated with human perception. The training objective uses reconstruction MSE, so the perceptual metrics supply additional views of the result.

The principal codec comparisons are against JPEG, JPEG 2000, and BPG. The authors focus on rates below 1 bit per pixel, where aggressive compression makes the quality tradeoff especially demanding.

What the image comparisons establish

The strongest textual result concerns the low-rate region. At rates below 0.4 bits per pixel, SHA obtains higher MS-SSIM than JPEG and JPEG 2000 and is competitive with BPG. The paper describes a similar pattern for SSIM.

The dataset matters. Relative to JPEG 2000, SHA has its most favorable results on ImageNET100 and its most difficult comparison on Kodak. This variation prevents the headline result from being read as a uniform advantage across every source of images.

The authors also report that their reconstructions show fewer visible artifacts than JPEG 2000 in the examples they discuss. That observation complements the numerical measures, but it remains tied to the examples and operating points shown. It does not supply a general preference score from human evaluators.

The image findings are presented primarily through rate–quality curves. The paper’s prose does not give exact per-codec quality values at matched rates, so the defensible numerical statements are the rate regions, dataset sizes, and settings it explicitly reports. The curves support the stated comparative trends without licensing invented coordinates.

BPG is an important reference because the authors describe it as the leading image-compression method in their comparison. Its coding machinery includes context-adaptive binary arithmetic coding. The authors emphasize that their own competitive results come from a convolutional autoencoder, learned quantization, and comparatively simple entropy coding. This supports a claim about the general framework’s capability, while leaving room for specialized systems to perform better at particular rates or metrics.

Rate accounting and implementation choices

For JPEG, the evaluation uses libjpeg. For JPEG 2000, it uses Kakadu. In both cases the authors subtract header size when calculating the rate. For BPG, they use the reference implementation and take the picture-data length recorded in its header.

Those choices define what the rate comparison measures. It concerns the encoded picture payload under the stated accounting conventions. It should not automatically be interpreted as the full size of every file or container produced by an arbitrary codec implementation.

The learned compressor also depends on its trained encoder and decoder. The image experiment evaluates a reusable compression system, so its per-image rate is conceptually different from the parameter experiment’s accounting for a complete compressed network. Keeping those settings distinct avoids conflating a stream’s coding cost with the storage cost of the machinery that processes it.

The paper’s comparison with related learned methods is likewise qualified. It discusses architectural and optimization differences, including generalized divisive normalization and parametric marginal estimation in the work of Ballé and colleagues. It also discusses concurrent work that optimizes an image-similarity objective. These descriptions explain the design space; they do not provide a complete numerical ranking of all learned approaches under one shared implementation.

Classification quality after parameter compression

The parameter experiment adopts the ResNet setup used by Choi and colleagues: a 32-layer network trained for CIFAR-10. All 464,154 trainable parameters are included in the compression task.

The starting network has 92.6% test accuracy. After entropy-regularized quantization and fine-tuning, the compressed network has 92.1% test accuracy. The result demonstrates preservation of substantial classification performance under the reported compression settings, while also showing that the task behavior is not unchanged.

CIFAR-10 test accuracy for the 32-layer ResNet

The quantized network retains accuracy close to the uncompressed starting network.

CIFAR-10 test accuracy for the 32-layer ResNetUncompressed starting network: 92.6Uncompressed starting network92.6Soft-to-hard compressed network (this paper): 92.1Soft-to-hard compressed network (thispaper)92.1
The numbers
System or settingaccuracy %
Uncompressed starting network92.6
Soft-to-hard compressed network (this paper)92.1

The chart reports accuracy only. It does not incorporate storage into its vertical scale or imply that the higher-accuracy system is preferable under every deployment constraint. The experiment is specifically about accepting a task-quality tradeoff to obtain a compact representation.

Encoded parameter size

The compression factor compares the original float representation with the complete encoded parameter representation. The original accounting assigns 32 bits to each parameter. The compressed accounting includes L×32 bits for the centers and the size of the coded index stream.

The same learned parameter assignments receive different final sizes under different entropy coders. Huffman coding gives a compression factor of 19.15. Arithmetic coding gives 20.15.

Compression factor for the CIFAR-10 32-layer ResNet parameters

Arithmetic coding produces the larger compression factor for the learned assignments.

Compression factor for the CIFAR-10 32-layer ResNet parametersSHA with Huffman coding: 19.15SHA with Huffman coding19.15SHA with arithmetic coding (this paper): 20.15SHA with arithmetic coding (this paper)20.15
The numbers
System or settingcompression factor
SHA with Huffman coding19.15
SHA with arithmetic coding (this paper)20.15

These values establish that the entropy penalty leads to an actually encodable parameter representation, rather than only a favorable surrogate objective. They also show why the entropy coder belongs in the evaluation: the learned distribution and the final encoding procedure jointly determine the stored size.

The paper states that leading pruning-based approaches also reach accuracies above 92% and compression factors above 20×. Its argument is therefore about competitive performance with a simpler integrated route. The numerical rows for those methods are not reproduced in the paper’s rendered table content, so a more detailed method-by-method ranking is not supported by the reported text.

What the ablations show

Vector assignments preserve useful local structure

The image ablation replaces the main system’s 2 × 2 vector quantization with scalar quantization. The scalar configuration uses L=6 centers. The authors choose this setting because the possible assignments across a 2 × 2 group are approximately comparable to the L=1000 vector-center setting.

This is an informative comparison because scalar quantization still has multiple values available. The experiment is not merely asking whether a rich codebook beats an obviously impoverished alternative. It asks whether selecting a representative for a local group is more effective than selecting representatives separately for its individual entries under the chosen configurations.

On ImageNET100, the rate–PSNR analysis favors vector quantization. Expressed in terms of reconstruction error, the authors report greater compressibility at a given MSE. A local vector representative can encode a pattern jointly, while the scalar alternative treats its constituent values separately.

This finding supports the paper’s explanation that grouping can absorb local correlations before the independent-symbol coding assumption is applied. It does not prove that the selected patch size is optimal. The experiment compares the stated scalar and vector configurations; it does not explore every grouping or center allocation.

Quantization alone does not optimize the rate

A separate ablation keeps vector quantization and removes the entropy penalty by setting β=0. The authors train across the selected bottleneck channel counts and compare the resulting rate–quality behavior.

The entropy-regularized systems achieve better compression at comparable reconstruction MSE. This is a central check on the objective’s motivation. A representation can learn to reconstruct well through a discrete bottleneck while using its available symbols in a way that remains expensive to encode.

The entropy term changes what the network finds useful. It rewards representations that reuse some centers frequently, provided that the resulting approximation remains acceptable to the task loss. Without that term, there is no equivalent pressure to make the empirical assignment distribution economical.

The analysis therefore separates having discrete outputs from learning compressible outputs. It also helps explain why reducing the numerical precision of parameters or features does not automatically solve the same problem. The number of available representatives and their observed frequencies both matter.

Annealing is examined through the deployment mismatch

The annealing analysis follows the soft and hard reconstruction behavior, assignment hardness, and the gap between the losses. It also shows entropy behavior for different penalty settings.

This analysis checks whether the continuous approximation becomes a better guide to the discrete system as training progresses. That is the intended role of annealing: remove the advantage of soft mixtures while allowing the surrounding network to adapt.

The evidence is diagnostic rather than a complete schedule comparison. The paper does not report a broad controlled ranking of alternative annealing families. It presents an image schedule driven by the reconstruction gap and a parameter schedule based on exponential growth, demonstrating that the general framework can be instantiated in different ways.

The authors’ practical warnings remain relevant to interpreting these plots. A shrinking gap is valuable because low soft error on its own could be misleading. At the same time, rapidly sharpening assignments can damage learning by eliminating useful gradients. The plotted quantities reveal the mechanism’s behavior without establishing a universal tuning rule.

Parameter histograms reveal the source of compression

The ResNet analysis tracks sample entropy and assignment histograms during training. The reported entropy is H=4.07 at t=216, then 2.90 bits per weight at t=475, and finally 1.58 bits per weight at t=520.

The histograms show assignments concentrating around a small subset of centers. This is the mechanism that entropy coding can exploit. The parameter vector becomes compact because many positions refer to commonly used representatives.

The authors contrast this with pruning-based methods that make zero the dominant value through an explicit pruning step. Their method encourages concentration through the learned objective, allowing the frequent centers to emerge from training.

These observations support the claim that the entropy term changes the representation’s statistical structure. They should not be confused with final file sizes: the entropy values characterize assignments, whereas the compression factors include the centers and the actual coded stream.

Initialization receives a smaller comparison

The authors report a slight improvement from gradually unfreezing bottleneck channels during the initial autoencoder training. No numerical effect size is stated. This is useful procedural evidence, but it cannot support a claim that the initialization choice is responsible for a large share of the final performance.

Taken together, the analyses isolate several parts of the design: grouping values helps, penalizing entropy helps, and monitoring the hard computation exposes the training-to-storage mismatch. They provide less evidence about how sensitive the method is to every hyper-parameter or how much each component contributes across other tasks.

Limitations

The authors identify a delicate optimization transition

The paper explicitly warns that annealing can fail in opposing ways. Slow hardening can let the network compensate for soft assignments rather than preparing for actual quantization. Fast hardening can remove gradients before useful adaptation has occurred.

This means that the continuous relaxation is not a free substitute for the discrete problem. Its usefulness depends on how training moves between them. The gap-controlled image schedule is a practical response, but it introduces its own settings and observations.

The parameter experiment exposes another issue near the hard limit. Weights close to assignment boundaries can receive large gradients. The authors respond by switching to hard assignments and fine-tuning, while mentioning clipping as another possibility. Thus the final approach includes a deliberate change in optimization behavior; it does not simply increase hardness indefinitely and assume numerical stability.

Histogram flexibility does not eliminate dependence assumptions

The authors avoid selecting a Gaussian mixture, spline family, or another parametric form for the marginal distribution. That is a meaningful reduction in assumptions about how frequently centers are used.

However, their sequence entropy approximation still treats symbols as independent and identically distributed within the relevant histogram. Separate channel histograms relax the identical-distribution assumption across image channels, and vector grouping captures relationships within patches. Dependencies between successive vector symbols remain outside that basic estimate.

The paper’s discussion of an upper bound clarifies the consequence. With exact marginals, summing marginal entropies can overestimate the true sequence entropy when symbols are dependent. This is a defensible simplification, but it also leaves potential compression gains for a richer treatment of context.

A careful reader should therefore distinguish freedom in the marginal histogram from a complete statistical description of the encoded representation. The method provides the former, not the latter.

The scalable entropy surrogate gives up a guarantee

The original cross-entropy surrogate bounds the hard marginal entropy from above. The mini-batch-compatible version reverses the cross-entropy arguments and loses that guarantee.

The authors state this tradeoff directly. It permits additive training contributions and makes the procedure practical for image data, while weakening the mathematical interpretation of the finite-hardness objective.

Convergence toward hard assignments brings the surrogate towards the desired entropy, but that limiting relationship does not establish that every intermediate update decreases actual encoded size. The final hard representation and its coding performance remain necessary checks.

The maintained image histogram is also an estimate based on a limited, periodically updated collection. It provides a usable training signal, not exact knowledge of the distribution of every future encoded image.

The demonstrated scope is narrower than the general formulation

The framework can describe many compressible representations, and the introduction mentions data types beyond images. The experiments establish results for image bottleneck features and one ResNet parameter-compression setup.

They do not establish performance for audio, video, text, or a language-processing system. Nor do they establish that the same center counts, grouping strategy, or annealing schedule transfer unchanged to those settings.

The distinction between scalar and vector quantization also matters. The reported image system uses vector quantization, whereas the ResNet experiment uses scalar quantization. The parameter results therefore do not demonstrate an advantage from grouping network weights into vectors.

These are limits of the experimental scope, rather than objections to the general objective. The method supplies a plausible framework for further applications, but those applications still require their own representation choices and evidence.

Image quality depends on the operating point and metric

The paper’s strongest image claim is tied to a low-rate region and to MS-SSIM, with a similar trend reported for SSIM. It does not establish dominance over BPG across every dataset, rate, and quality measure.

The relative difficulty of Kodak is particularly important. The learned compressor does not behave identically across the evaluation collections, and its favorable ImageNET100 comparison should not be generalized without qualification.

The training loss measures reconstruction MSE, while evaluation also considers structural similarity. These views can disagree about what constitutes a desirable reconstruction. The paper discusses concurrent work that incorporates an image-similarity measure directly into optimization, underscoring that the objective itself influences which qualities are preserved.

Visual examples add useful evidence about artifacts, but they do not amount to a systematic human preference experiment. The paper’s claims about appearance should be read within that evidential scope.

Compression is not a measured speedup

The parameter benchmark measures encoded size and classification accuracy. It does not provide inference latency, arithmetic throughput, or energy measurements.

An entropy-coded index stream is a storage format. Using the corresponding parameters during execution may involve reconstruction or lookup choices that are not resolved by the compression factor. A compact artifact can be valuable without implying a proportional execution benefit.

Likewise, the image results demonstrate rate–quality behavior under the authors’ implementation and accounting choices. They do not establish that the compressor is faster or less resource-intensive than the compared codecs.

These limits follow from what the experiments measure. They matter especially when transferring the work to constrained deployment, where storage, working memory, and runtime may each impose different requirements.

The comparisons support competitiveness more clearly than causal superiority

The paper reports competitive results against established methods and supplies targeted ablations. It does not isolate every architectural, optimization, and coding choice across all competing systems.

For images, the authors adapt an existing architecture and change important training mechanisms. For parameters, they contrast an integrated entropy objective with pipelines containing pruning and specialized sparse representations. These are informative system comparisons, but their differences extend beyond a single controlled component.

The clearest causal evidence comes from the paper’s own vector-versus-scalar and entropy-versus-no-entropy analyses. The broader state-of-the-art comparisons show that the complete approach works well enough to be credible, while leaving the contribution of every cross-system difference unresolved.

What came after

The paper closes by proposing that its framework could be adapted to other settings where learned representations need compact encodings. That is a statement of future opportunity. No later citing works are identified in the available research record for this account, so a specific chain of successors cannot be established.

The concurrent image-compression work discussed by the authors should also remain distinct from later influence. It builds on an earlier recurrent architecture and demonstrates the value of optimizing an image-similarity objective. The paper presents it as work developing alongside the proposed method, not as evidence that another group subsequently adopted soft-to-hard quantization.

The outstanding research directions follow directly from the method’s open choices. Different applications could change what gets grouped into a symbol, how assignment probabilities are estimated, and how the soft-to-hard transition is controlled. More expressive coding distributions could address dependence that the marginal histograms omit. Other task losses could determine which kinds of distortion the compressed representation is allowed to introduce.

Those possibilities are supported as questions by the formulation, not as completed findings. The established contribution is the working connection between differentiable assignment, histogram-based rate control, and eventual discrete encoding. The image and parameter experiments show that this connection can preserve useful task behavior while producing compact representations; claims about its later adoption require evidence beyond the paper’s own results.

Cite

Cite as Eirikur Agustsson, Fabian Mentzer, Michael Tschannen, Lukas Cavigelli, Radu Timofte, L. Benini and Luc Van Gool. 2017. Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representations. arXiv (Cornell University).

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

@misc{agustsson2017soft,
  title = {{Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representations}},
  author = {Eirikur Agustsson, Fabian Mentzer, Michael Tschannen, Lukas Cavigelli, Radu Timofte, L. Benini and Luc {Van Gool}},
  year = {2017},
  doi = {10.48550/arxiv.1704.00648},
  eprint = {1704.00648},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1704.00648}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/agustsson-2017-soft-hard-vector-quantization-end/

References

43 references, from the paper's own bibliography.

  1. Kodak PhotoCD dataset. http://r0k.us/graphics/kodak/, 1999. OpenAlex ↗ · Scholar ↗
  2. Eugene L Allgower and Kurt Georg. Numerical continuation methods: an introduction, volume 13. Springer Science & Business Media, 2012. OpenAlex ↗ · Scholar ↗
  3. Johannes Ballé, Valero Laparra, and Eero P Simoncelli. End-to-end optimization of nonlinear transform codes for perceptual quality. arXiv preprint arXiv:1607.05006, 2016. OpenAlex ↗ · Scholar ↗
  4. Johannes Ballé, Valero Laparra, and Eero P Simoncelli. End-to-end optimized image compression. arXiv preprint arXiv:1611.01704, 2016. OpenAlex ↗ · Scholar ↗
  5. Yoojin Choi, Mostafa El-Khamy, and Jungwon Lee. Towards the limit of network quantization. arXiv preprint arXiv:1612.01543, 2016. OpenAlex ↗ · Scholar ↗
  6. Matthieu Courbariaux, Yoshua Bengio, and Jean-Pierre David. Binaryconnect: Training deep neural networks with binary weights during propagations. In Advances in Neural Information Processing Systems, pages 3123–3131, 2015. our card
  7. Thomas M Cover and Joy A Thomas. Elements of information theory. John Wiley & Sons, 2012. OpenAlex ↗ · Scholar ↗
  8. J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR09, 2009. OpenAlex ↗ · Scholar ↗
  9. Andre Esteva, Brett Kuprel, Roberto A Novoa, Justin Ko, Susan M Swetter, Helen M Blau, and Sebastian Thrun. Dermatologist-level classification of skin cancer with deep neural networks. Nature, 542(7639):115–118, 2017. OpenAlex ↗ · Scholar ↗
  10. Bellard Fabrice. BPG Image format. https://bellard.org/bpg/, 2014. OpenAlex ↗ · Scholar ↗
  11. Song Han, Huizi Mao, and William J Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. arXiv preprint arXiv:1510.00149, 2015. OpenAlex ↗ · Scholar ↗
  12. Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In Advances in Neural Information Processing Systems, pages 1135–1143, 2015. OpenAlex ↗ · Scholar ↗
  13. Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2016. our card
  14. Jia-Bin Huang, Abhishek Singh, and Narendra Ahuja. Single image super-resolution from transformed self-exemplars. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5197–5206, 2015. OpenAlex ↗ · Scholar ↗
  15. Itay Hubara, Matthieu Courbariaux, Daniel Soudry, Ran El-Yaniv, and Yoshua Bengio. Quantized neural networks: Training neural networks with low precision weights and activations. arXiv preprint arXiv:1609.07061, 2016. our card
  16. Nick Johnston, Damien Vincent, David Minnen, Michele Covell, Saurabh Singh, Troy Chinen, Sung Jin Hwang, Joel Shor, and George Toderici. Improved lossy image compression with priming and spatially adaptive bit rates for recurrent networks. arXiv preprint arXiv:1703.10114, 2017. OpenAlex ↗ · Scholar ↗
  17. Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR, abs/1412.6980, 2014. our card
  18. Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009. OpenAlex ↗ · Scholar ↗
  19. Alex Krizhevsky and Geoffrey E Hinton. Using very deep autoencoders for content-based image retrieval. In ESANN, 2011. OpenAlex ↗ · Scholar ↗
  20. Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097–1105, 2012. our card
  21. Detlev Marpe, Heiko Schwarz, and Thomas 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 ↗
  22. D. Martin, C. Fowlkes, D. Tal, and J. Malik. A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In Proc. Int'l Conf. Computer Vision, volume 2, pages 416–423, July 2001. OpenAlex ↗ · Scholar ↗
  23. Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. In European Conference on Computer Vision, pages 525–542. Springer, 2016. our card
  24. Kenneth Rose, Eitan Gurewitz, and Geoffrey C Fox. Vector quantization by deterministic annealing. IEEE Transactions on Information theory, 38(4):1249–1257, 1992. OpenAlex ↗ · Scholar ↗
  25. Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision (IJCV), 115(3):211–252, 2015. our card
  26. Wenzhe Shi, Jose Caballero, Ferenc Huszár, Johannes Totz, Andrew P Aitken, Rob Bishop, Daniel Rueckert, and Zehan Wang. Real-time single image and video super-resolution using an efficient sub-pixel convolutional neural network. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1874–1883, 2016. OpenAlex ↗ · Scholar ↗
  27. Wenzhe Shi, Jose Caballero, Lucas Theis, Ferenc Huszar, Andrew Aitken, Christian Ledig, and Zehan Wang. Is the deconvolution layer the same as a convolutional layer? arXiv preprint arXiv:1609.07009, 2016. OpenAlex ↗ · Scholar ↗
  28. David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. Nature, 529(7587):484–489, 2016. OpenAlex ↗ · Scholar ↗
  29. David S. Taubman and Michael W. Marcellin. JPEG 2000: Image Compression Fundamentals, Standards and Practice. Kluwer Academic Publishers, Norwell, MA, USA, 2001. OpenAlex ↗ · Scholar ↗
  30. Lucas Theis, Wenzhe Shi, Andrew Cunningham, and Ferenc Huszar. Lossy image compression with compressive autoencoders. In ICLR 2017, 2017. OpenAlex ↗ · Scholar ↗
  31. Radu Timofte, Vincent De Smet, and Luc Van Gool. A+: Adjusted Anchored Neighborhood Regression for Fast Super-Resolution, pages 111–126. Springer International Publishing, Cham, 2015. OpenAlex ↗ · Scholar ↗
  32. George Toderici, Sean M O'Malley, Sung Jin Hwang, Damien Vincent, David Minnen, Shumeet Baluja, Michele Covell, and Rahul Sukthankar. Variable rate image compression with recurrent neural networks. arXiv preprint arXiv:1511.06085, 2015. OpenAlex ↗ · Scholar ↗
  33. George Toderici, Damien Vincent, Nick Johnston, Sung Jin Hwang, David Minnen, Joel Shor, and Michele Covell. Full resolution image compression with recurrent neural networks. arXiv preprint arXiv:1608.05148, 2016. OpenAlex ↗ · Scholar ↗
  34. Karen Ullrich, Edward Meeds, and Max Welling. Soft weight-sharing for neural network compression. arXiv preprint arXiv:1702.04008, 2017. OpenAlex ↗ · Scholar ↗
  35. Gregory K Wallace. The JPEG still picture compression standard. IEEE transactions on consumer electronics, 38(1):xviii–xxxiv, 1992. OpenAlex ↗ · Scholar ↗
  36. Z. Wang, E. P. Simoncelli, and A. C. Bovik. Multiscale structural similarity for image quality assessment. In Asilomar Conference on Signals, Systems Computers, 2003, volume 2, pages 1398–1402 Vol.2, Nov 2003. OpenAlex ↗ · Scholar ↗
  37. Zhou Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4):600–612, April 2004. OpenAlex ↗ · Scholar ↗
  38. Wei Wen, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Learning structured sparsity in deep neural networks. In Advances in Neural Information Processing Systems, pages 2074–2082, 2016. our card
  39. Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992. OpenAlex ↗ · Scholar ↗
  40. Ian H. Witten, Radford M. Neal, and John G. Cleary. Arithmetic coding for data compression. Commun. ACM, 30(6):520–540, June 1987. OpenAlex ↗ · Scholar ↗
  41. Paul Wohlhart, Martin Kostinger, Michael Donoser, Peter M. Roth, and Horst Bischof. Optimizing 1-nearest prototype classifiers. In IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2013. OpenAlex ↗ · Scholar ↗
  42. Eyal Yair, Kenneth Zeger, and Allen Gersho. Competitive learning and soft competition for vector quantizer design. IEEE transactions on Signal Processing, 40(2):294–309, 1992. OpenAlex ↗ · Scholar ↗
  43. Aojun Zhou, Anbang Yao, Yiwen Guo, Lin Xu, and Yurong Chen. Incremental network quantization: Towards lossless cnns with low-precision weights. arXiv preprint arXiv:1702.03044, 2017. OpenAlex ↗ · Scholar ↗