Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
Paper · 2017 · Benoit Jacob, Skirmantas Kligys, Bo Chen et al.
Summary
Running a neural network on a phone requires more than good recognition accuracy. The network must fit in limited memory and return an answer quickly enough for an interactive application. This paper addresses that practical problem by changing both how a network represents its numbers and how it prepares for deployment. Instead of performing inference with floating-point weights and activations, the authors use integer representations and design the arithmetic so that the deployed computation can remain completely within integer operations.
The main representation assigns an integer value, a scale, and a zero-point to each weight or activation array. Weights and activations use 8-bit storage, while biases use 32-bit integers. The zero-point makes mathematical zero exactly representable, which matters when a convolution pads image boundaries with zeros. Multiplication accumulates into a wider integer result, and a fixed-point multiplier followed by a carefully rounded shift converts that result into the output’s numerical scale. This is more than a storage format: the paper follows the representation through matrix multiplication, bias addition, activation functions, and the interfaces between layers.
The accompanying training procedure exposes the network to the rounding and clipping it will encounter after deployment. Training still keeps adjustable parameters in floating point, allowing small updates, but the forward computation includes simulated quantization at the locations where inference will reduce precision. Where batch normalization changes the effective convolution weights, the simulation quantizes those transformed weights. The central engineering principle is that training should approximate the arithmetic that the inference implementation will actually execute.
The experiments cover ImageNet classification, COCO object detection, face detection, and face-attribute classification. They include large networks for comparison, but place particular emphasis on MobileNets, whose architecture already targets efficient execution. On COCO, the authors report running-time reductions reaching 50%, with an accuracy change described as −1.8% relative. In face detection, the quantized version of the 25% network takes 28 ms on a single Snapdragon 835 big core, compared with 44 ms for its floating-point counterpart. The wider conclusion concerns the available accuracy at a given latency: integer arithmetic can make a more capable network usable within the same time budget, even when quantization slightly lowers that network’s own accuracy. The paper also states that TensorFlow Lite adopted its quantization scheme and describes a 4× reduction in network size.
Interesting ideas
Preserve the values that operators depend on. Quantization is frequently introduced as a question of how closely a short numerical representation approximates a longer one. This paper adds an operational requirement: zero must remain exact because other parts of the computation rely on it. The zero-point supplies that guarantee without requiring the representable range to be symmetric. The broader lesson applies whenever an approximation feeds a system with special values or boundary conventions. A representation should preserve the semantics needed by its consumers, as well as approximate ordinary values accurately.
Design training around the deployed computation. The authors do not treat low precision as a final packaging decision. They place simulated quantization where the integer implementation will round its intermediate results, including after fused operations. This lets optimization respond to the errors that matter at deployment. The idea transfers to other approximate computation settings: when the final implementation changes numerical behavior, training or parameter fitting should encounter a close version of that behavior rather than an idealized substitute.
Measure against an already efficient baseline. Compressing an oversized network can demonstrate that redundancy exists, but it provides weaker evidence about practical deployment. By emphasizing MobileNets, the paper asks whether quantization still helps after architectural efficiency has already been pursued. This is a useful experimental habit beyond numerical compression. An optimization becomes more convincing when it improves a strong baseline that already addresses the same resource constraint.
Judge accuracy together with latency. A fixed-architecture comparison asks how much accuracy quantization removes. A deployment comparison asks what accuracy is available before a deadline. Those questions can lead to different decisions, because a faster representation may allow a more capable architecture to fit the budget. The paper’s latency-versus-accuracy comparisons make this distinction visible. The same reasoning applies to any system where architecture, input resolution, or capacity can change alongside the implementation.
Spend precision according to error propagation. Biases occupy little storage, but their errors are repeatedly added to outputs. The authors therefore retain 32-bit bias representations while using 8-bit weights and activations. The justification concerns the structure of the resulting error, especially a persistent shift, rather than a blanket rule that every tensor should have the same width. A reusable design principle follows: examine where an error is reused, accumulated, or systematically directed before deciding which quantities can tolerate aggressive approximation.
Make numerical details part of the contract. The paper connects a small restriction on representable weights to a faster ARM NEON accumulation strategy. It also explains how an apparently suitable rounding instruction can introduce a directional error and damage recognition accuracy. These details show why a numerical method and its kernel implementation cannot be assessed independently. When an algorithm depends on a particular rounding rule or value range, those conditions belong in the interface specification, verification process, and performance argument.
Deep dive: Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
How integer-only quantization and simulated low-precision training improve neural network speed while preserving accuracy on mobile CPUs. · about 38 minutes to read
How Mova uses it
For Mova, the small transparent language system written in Rust, this paper offers a design reference for any learned component that would benefit from compact storage or integer execution. It does not establish that Mova already has quantized kernels, quantization-aware training, or the same numerical pipeline. The concrete connection is therefore a possible implementation direction: make reduced-precision computation explicit, inspectable, and testable rather than treating compression as an opaque conversion.
An affine quantized array would fit that aim. Such an array would carry its integer contents together with the scale and zero-point needed to interpret them. In Rust, these could be explicit fields associated with a numerical buffer. The useful property is conceptual clarity: an integer is not silently treated as the original real value, and the conversion rule remains visible wherever the array crosses an operator boundary. This would make it easier to inspect why a particular integer represents zero or how an output scale relates to its inputs.
The paper also suggests how Mova could define an honest integer-inference boundary. Storing parameters in a compact integer format would be only the beginning. A complete implementation would need to specify accumulation width, bias representation, output rescaling, rounding, saturation, and nonlinear operations. If any of those steps returned to floating point, Mova should describe that execution path accordingly. The distinction matters because the paper’s claim is about the arithmetic of inference, not merely the file size of stored weights.
A further application concerns development and evaluation. Before choosing reduced precision, Mova could compare task quality and execution time on its actual target hardware. The paper shows why a generic promise of faster integer arithmetic is insufficient: the benefit changes with the processor’s relative strengths. For a transparent system, reporting the numerical format together with measured latency would be more informative than reporting a storage reduction alone. The same comparison should preserve the task, inputs, and execution conditions.
If Mova later trains learned components, simulated quantization could help align training with deployment. The borrowed idea would be to expose the forward computation to the same clipping and rounding boundaries that the Rust implementation will use. That is a proposal, not evidence that the vision results transfer directly to language processing. The paper evaluates convolutional recognition systems; it does not test Mova’s tasks, representations, or architecture.
There is also a useful lesson for operations that join branches. The paper treats addition and concatenation as numerical interfaces with different requirements. Mova could likewise make compatible scales an explicit condition where arrays are combined. That would turn an otherwise hidden source of approximation into a deliberate design choice. Whether such machinery is worthwhile would depend on Mova’s actual learned computations and measured bottlenecks; the paper supplies a disciplined method for investigating the question, rather than a ready-made result for the system.
The problem and its context
The paper sits within machine learning, but its immediate concern is deployment engineering. A recognition system that performs well under an accuracy benchmark may still be unsuitable for a phone. Memory is limited, and an application may need an answer quickly enough to remain responsive. The authors identify smartphones, augmented- and virtual-reality devices, and drones as examples where network size and inference latency matter alongside recognition quality.
Their historical argument begins with the priorities used to evaluate convolutional networks. Following the success associated with AlexNet, architectural development emphasized classification and detection accuracy. In the authors’ account, this encouraged designs whose computational demands were not well matched to mobile deployment. Their proposed response is not to abandon accuracy, but to evaluate it together with the resources required to obtain it.
Architecture and numerical representation
The paper distinguishes architectural efficiency from numerical efficiency. Architectural approaches alter the structure of the network so that its operations consume less memory or computation. MobileNets are central to the experiments because they already pursue that objective. The authors also place SqueezeNet, ShuffleNet, and DenseNet within this broad architectural category.
Quantization changes the representation used for weights, activations, or both. Instead of retaining the precision of 32-bit floating point, it assigns values to a smaller set of representable levels. This can reduce storage and may accelerate arithmetic, but those benefits depend on exactly what is quantized and how the resulting computation is implemented.
The distinction matters because compact storage does not automatically produce faster execution. A method that compresses only weights can help a device hold the network, while leaving much of its arithmetic unchanged. Conversely, reducing both weights and activations can allow narrower multiply-and-accumulate operations throughout the expensive part of inference. The paper therefore studies the full numerical path rather than treating parameter compression as sufficient evidence of runtime improvement.
The authors discuss XNOR-Net, DoReFa-Net, and binary networks as examples of approaches that push precision much lower. Their account recognizes the appeal of bit operations for very low-precision computation. It also emphasizes the accompanying risk: a representation that is extremely cheap to manipulate may remove too much representational capacity.
The paper’s choice of 8-bit weights and activations is therefore a practical compromise. It seeks enough numerical flexibility to retain accuracy while making good use of integer instructions available on ordinary hardware. The goal is not to minimize bit depth in isolation. It is to improve the combination of latency and accuracy that a deployable system can achieve.
Why the baseline matters
A major criticism concerns the architectures on which earlier compression methods were demonstrated. The authors describe AlexNet, VGG, and GoogleNet as having substantial redundancy. In their view, strong compression on such architectures can remain a proof of possibility instead of a demanding test of mobile usefulness.
MobileNets pose a more revealing challenge. Because their design already targets efficient execution, less obvious redundancy is available for a later numerical method to exploit. A successful quantization scheme must therefore preserve useful computation in a relatively constrained architecture. This is why the paper’s mobile experiments are more central to its argument than its larger-network comparisons.
The authors still include ResNets and Inception v3. Those experiments help compare quantized training with established recognition systems and earlier quantization schemes. They serve a different purpose from the mobile benchmarks: showing that the training method applies beyond the compact architecture family, rather than demonstrating that those larger networks become suitable for the same deployment conditions.
Why hardware measurements matter
The second criticism concerns efficiency claims that stop before measurement. Some earlier approaches use weights drawn from zero and powers of 2 so that multiplication can be replaced by shifts. The authors argue that this does not necessarily help on existing processors. With suitable pipelining, available multiply-add instructions may already be competitive with addition, particularly when their operands are narrow.
This argument shifts attention from abstract operation names to actual instruction behavior. Replacing multiplication sounds beneficial if multiplication is assumed expensive. It is less persuasive when the processor already executes the relevant narrow arithmetic efficiently. The paper therefore treats hardware support as part of the scientific setup instead of an implementation detail to be considered afterwards.
The work draws inspiration from earlier low-precision research with different targets. Gupta and colleagues studied fixed-point arithmetic for faster training. Vanhoucke and colleagues used 8-bit fixed point for inference on x86 processors. The authors position their own contribution around mobile inference and the tradeoff between execution time and accuracy.
That context explains the combination of contributions. A numerical representation alone would not establish that accuracy survives. A training procedure alone would not establish that the deployed arithmetic is efficient. A benchmark on a redundant architecture would leave the harder mobile question unresolved. The paper links representation, training, kernel design, and measurements so that each addresses a weakness in the others.
The method, step by step
The method starts by defining what an integer means, then works outward to complete inference operators. Training is designed to reproduce the important numerical effects of those operators. This order is useful because it prevents an implementation from adopting convenient arithmetic that the training procedure never anticipated.
From floating-point training to integer inference
The steps in order.
Give each integer array a numerical meaning
The basic representation is affine:
r = S(q − Z)
Here, r is the real value being approximated, q is the stored integer, S is a positive scale, and Z is the zero-point. Subtracting Z places the integer relative to mathematical zero; multiplying by S converts that displacement into the real-value scale.
The scale determines the spacing between adjacent representable values. The zero-point determines which integer stands for zero. These parameters are shared by all values within an activation array or a weight array, while different arrays can have different parameters. This is important later: operations joining independently quantized arrays may need to reconcile their scales.
For the main inference scheme, weights and activations use 8-bit integers. The paper describes unsigned storage in its fused-layer discussion but notes that a signed representation can express the same scheme with adjusted zero-points. Biases receive a wider representation for a separate reason discussed below.
Exact zero is a functional requirement. A convolution frequently extends an input array with zeros near its boundaries. If the stored padding value represented a small non-zero quantity instead, the boundary operation would introduce a numerical contribution where the mathematical computation specifies none. By assigning zero its own exact integer representation, the affine scheme avoids that problem.
The scale may be stored as a floating-point quantity in a description of the network. That does not mean the deployed inference arithmetic must use floating point. The paper separates the representation’s mathematical definition from the operations used to execute it. Constants derived from scales can be prepared before inference and then applied through fixed-point integer arithmetic.
Translate matrix multiplication into quantized arithmetic
Matrix multiplication is the central computational example. The paper first considers square matrices to make the derivation clear. Each matrix has its own scale and zero-point:
rᵅ⁽ⁱ,ʲ⁾ = Sᵅ(qᵅ⁽ⁱ,ʲ⁾ − Zᵅ)
The index α identifies a matrix, with the input matrices and their product distinguished by that index. The indices i and j identify an entry. The symbols rᵅ and qᵅ denote its real and integer forms, while Sᵅ and Zᵅ are the parameters shared across that matrix.
Applying this representation to the product gives:
S₃(q₃⁽ⁱ,ᵏ⁾ − Z₃) = Σⱼ₌₁ᴺ S₁(q₁⁽ⁱ,ʲ⁾ − Z₁)S₂(q₂⁽ʲ,ᵏ⁾ − Z₂)
The subscripted matrices identify the left input, right input, and output. The output position is indexed by i and k, and j runs over the shared matrix dimension N. Each term multiplies the interpreted real values of an input pair before summing them.
Rearranging isolates the integer output:
q₃⁽ⁱ,ᵏ⁾ = Z₃ + M Σⱼ₌₁ᴺ (q₁⁽ⁱ,ʲ⁾ − Z₁)(q₂⁽ʲ,ᵏ⁾ − Z₂)
Here, q₃⁽ⁱ,ᵏ⁾ is the output integer at position i, k, and Z₃ supplies its zero-point offset. The sum is an integer accumulation after subtracting the input zero-points. M converts the accumulated input scale into the output scale.
The multiplier is determined by the array scales:
M = S₁S₂ / S₃
S₁ and S₂ are the input scales, and S₃ is the output scale. M depends on the quantization parameters rather than on individual entries, so it can be prepared outside the inference workload.
At this point, the mathematical expression still contains a non-integer multiplier. The paper removes that remaining obstacle by representing the multiplier in fixed point.
Replace the real multiplier with integer operations
The authors report that M lies between 0 and 1 in their experience. They express it as a normalized multiplier and a power-of-two factor:
M = 2⁻ⁿM₀
M₀ is the normalized multiplier, lying in [0.5, 1), and n is a non-negative integer controlling the shift. This n belongs to the multiplier decomposition; the later quantization formula uses the same letter for a different quantity.
The normalized value can be encoded as a fixed-point integer. For an int32 implementation, the paper chooses the nearest integer to the scaled value:
m₀ = round(2³¹M₀)
Here, m₀ names the integer encoding of M₀, and round selects the nearest integer. The factor 2³¹ places the normalized fraction into the fixed-point representation. The paper explains that this encoding retains at least 30 bits of relative precision.
Inference can then apply an integer fixed-point multiplication followed by a right shift corresponding to n. The scale is no longer processed as a floating-point quantity during the workload. This is the crucial bridge between an affine representation with real-valued scales and an integer-only implementation.
Rounding is part of that bridge. A shift that truncates, or one that handles negative ties differently from the intended rule, changes the numerical method. The appendix returns to this issue because repeated directional rounding errors can affect final recognition accuracy.
Move zero-point corrections outside the inner loop
The direct matrix-product expression subtracts zero-points from every pair of operands. That is mathematically simple but computationally inconvenient. It adds work inside the expensive loop and can require wider temporary operands before multiplication.
The paper expands the product:
q₃⁽ⁱ,ᵏ⁾ = Z₃ + M(NZ₁Z₂ − Z₁a₂⁽ᵏ⁾ − Z₂ā₁⁽ⁱ⁾ + Σⱼ₌₁ᴺ q₁⁽ⁱ,ʲ⁾q₂⁽ʲ,ᵏ⁾)
The output integer q₃⁽ⁱ,ᵏ⁾ uses the same output zero-point Z₃ and rescaling multiplier M as before. N is the shared matrix dimension. The quantities a₂⁽ᵏ⁾ and ā₁⁽ⁱ⁾ summarize a column of the right input and a row of the left input, respectively.
The column sum is:
a₂⁽ᵏ⁾ = Σⱼ₌₁ᴺ q₂⁽ʲ,ᵏ⁾
The symbol a₂⁽ᵏ⁾ denotes the sum of the quantized entries in column k of the right-hand matrix. The index j traverses that column, and N is its length.
The row sum is:
ā₁⁽ⁱ⁾ = Σⱼ₌₁ᴺ q₁⁽ⁱ,ʲ⁾
The symbol ā₁⁽ⁱ⁾ denotes the sum of the quantized entries in row i of the left-hand matrix. Again, j traverses the shared dimension N.
These summaries let the implementation keep the main multiplication in its narrow integer form. The correction terms are computed around that core rather than repeating zero-point subtraction for every product. The paper gives 2N² additions for the collected row and column sums, while the main matrix multiplication requires 2N³ arithmetic operations.
The distinction is useful because it shows how a flexible representation can retain an efficient kernel. Arbitrary zero-points initially appear to complicate every multiplication. Algebra moves most of that complexity into work that grows more slowly with matrix size. The authors qualify this advantage for very small matrices, where the surrounding overhead occupies a larger share of execution.
Fuse multiplication, bias, and activation
A deployed layer generally does more than multiply matrices. It also adds a bias, changes scale, and applies an activation function. The authors combine these stages within a fused operator that consumes an 8-bit array and produces another 8-bit array.
The core accumulation has the following type structure:
int32 += uint8 × uint8
The uint8 operands are unsigned 8-bit weight and activation values. Their products contribute to a signed int32 accumulator. The wider accumulation preserves the intermediate range needed before the output is reduced to its final precision.
Bias values must be compatible with that accumulator. Their scale is therefore:
S_bias = S₁S₂
S_bias is the bias scale, and S₁ and S₂ are the weight and input-activation scales. Matching their product means a quantized bias can be added directly to the accumulated products.
Their zero-point is:
Z_bias = 0
Z_bias is the integer offset used to interpret the bias array. Setting it to zero allows the stored signed bias value to enter the accumulator without an additional offset conversion.
The paper’s reason for wider biases is not simply caution. A bias entry is reused across many output activations. An error in that entry can therefore impose a consistent shift instead of an error that varies around zero. Bias arrays account for a small part of the parameter storage, so retaining greater precision there addresses a meaningful accuracy risk at limited storage cost.
After bias addition, the accumulator is rescaled through the fixed-point multiplier and rounded shift. A saturating conversion then places the result in the unsigned output range [0, 255]. Saturation means that an out-of-range result is clipped to an endpoint rather than wrapped around.
For ReLU and ReLU6, activation can be implemented by restricting the allowed output interval. The fused implementation therefore needs only integer clamping after rescaling. The authors observe that training frequently adapts the output range so that the ordinary saturating conversion already performs the necessary restriction.
Fusion also determines where rounding occurs. If inference keeps an intermediate result wide until after bias and activation, training should not insert a low-precision boundary at some earlier location. Conversely, if the deployed operator writes an 8-bit result, the training simulation must reproduce that reduction. Operator boundaries and simulated-quantization boundaries are consequently part of the same design.
Simulate low precision while retaining adjustable parameters
The training procedure keeps weights and biases in floating point. This allows optimization to make updates smaller than a quantization step. During the forward pass, however, selected values are clipped and rounded to the levels that deployment will use.
The clipping function is:
clamp(r; a, b) = min(max(r, a), b)
The value r is the real-valued input to clipping, and a and b are the lower and upper boundaries. The functions max and min first enforce the lower boundary and then the upper boundary.
The spacing between quantization levels is:
s(a, b, n) = (b − a) / (n − 1)
Here, s is the step size, a and b define the interval, and n is the number of representable levels. In this formula, n counts levels rather than the shift used in multiplier normalization.
The simulated quantizer is:
q(r; a, b, n) = round((clamp(r; a, b) − a) / s(a, b, n))s(a, b, n) + a
The function q returns a floating-point value lying on the quantization grid. It clips r, expresses the clipped position in units of the step size s, rounds to the nearest level, and converts that level back to the interval’s real scale. The parameters a, b, and n control the range and resolution.
This q is a function used during training, whereas q in the affine representation denotes an integer value. The training output remains a floating-point quantity, but it has undergone the same kind of precision loss that integer storage will impose. For 8-bit training, the authors use n = 2⁸ = 256.
Weights are simulated at the point where the convolution consumes them. Activations are simulated where inference stores low-precision outputs, including after activation functions and at relevant branch combinations. The authors describe ordinary back-propagation with floating-point parameter storage; the aim is to change the forward numerical experience without losing the ability to adjust parameters finely.
Estimate ranges without destabilizing early training
The quantization grid depends on its endpoints. For weights, the basic choice is the minimum and maximum within the weight array. A small modification prevents the signed quantized weights from taking −128, leaving them within [−127, 127]. That restriction later enables a more efficient NEON accumulation strategy.
Activation ranges require observation because they depend on input data and the changing network. The authors collect observed activation bounds during training and smooth them with exponential moving averages. A smoothing parameter near 1 makes the estimate reflect behavior across many training steps rather than follow each batch abruptly.
This stability has a cost. If activation ranges move quickly, the moving average can lag behind and clip a substantial portion of the current values. The paper therefore delays activation quantization at the beginning of training. It gives a broad example interval of 50 thousand to 2 million steps, allowing the network to reach a more stable state before applying the activation grid.
Both weight and activation endpoints are adjusted so that zero is representable. The learned grid maps back to the inference representation through:
S = s(a, b, n)
S is the affine scale used at inference, and s(a, b, n) is the training grid’s spacing. The endpoint adjustment preserves the intended relationship between grid levels and real values.
The corresponding zero-point is:
Z = z(a, b, n)
Z is the inference zero-point, and z(a, b, n) denotes the integer grid position representing zero after the boundaries have been adjusted. The paper defines this correspondence without giving a separate expanded formula for z.
Biases do not receive the same simulated low-precision operation in training. Their inference representation is already much wider, and their quantization parameters follow from the weight and activation parameters. The training design therefore concentrates its simulation on the narrower quantities where rounding is more consequential.
Quantize the weights that inference will actually use
Batch normalization introduces a further mismatch between a straightforward training graph and an efficient inference graph. During training, normalization appears as separate operations. During inference, its effects can be incorporated into convolution weights and biases.
The folded weights are:
w_fold = γw / √(EMA(σ²_B) + ε)
The original weight is w, and w_fold is the weight after incorporating the normalization scale. The parameter γ is batch normalization’s learned scaling factor. The quantity σ²_B is the variance of convolution outputs across a batch, EMA denotes its moving-average estimate, and ε is a small stability constant.
The training simulation quantizes w_fold instead of the unmodified w. Otherwise, it would prepare the network for the rounding of a quantity that deployment does not actually store or multiply. The corresponding bias is folded as well, leaving a simpler inference layer.
This is one of the clearest examples of the paper’s general method. Training must imitate the optimized inference graph, including transformations that alter numerical ranges. Merely attaching a quantizer to an early conceptual version of the network is not sufficient.
The authors describe their graph transformations and inference support as available through TensorFlow contributions. The CPU implementation uses gemmlowp for low-precision matrix multiplication. These software references identify the concrete machinery behind the scheme without changing the central requirement: the training graph and integer operator must agree about where precision is reduced.
Handle operations beyond convolution
Elementwise addition needs special treatment when its inputs have different scales. The paper describes aligning an input through a fixed-point multiplier:
M_add = S₁ / S₂
M_add is the scale-conversion multiplier for addition, while S₁ and S₂ are the scales of the input arrays. Once aligned, the integer values can be added, and the result must then be expressed in the output array’s scale.
This makes quantized addition relatively more expensive than its floating-point counterpart. A simple-looking graph operation can require several numerical conversions, so the cost of quantization is not uniform across operator types.
For concatenation, the authors prefer a different rule. All inputs and the output must share quantization parameters. Concatenation can then copy values without rescaling them and remains lossless with respect to those integer values. The choice avoids adding approximation to an operation whose purpose is only to join arrays.
The appendix also discusses functions such as tanh, the logistic function, and softmax. These are handled through fixed-point arithmetic rather than lookup tables. They are distinct from the clamp-like activations fused into the matrix-multiplication pipeline. The paper favors arithmetic implementations that suit SIMD execution, where the same instruction processes several values together.
Make the kernel obey the numerical design
On ARM NEON, the fixed-point multiplication maps to SQRDMULH. The authors emphasize its rounding behavior and distinguish it from SQDMULH. Choosing the instruction is therefore part of implementing the specified arithmetic.
Right shifts need additional care. The NEON RSHL instruction resolves ties upward, while the desired behavior treats the relevant ties away from zero. The paper illustrates the issue with −12/2³: the instruction can produce −1 where the intended rounded result is −2. Repeated upward errors can create a systematic numerical shift, so the implementation adds corrective arithmetic around the instruction.
The core multiply-and-accumulate can also use signed operands:
int32 += int8 × int8
The int8 values are signed 8-bit operands, and their products eventually enter the int32 accumulator. The representation changes from unsigned to signed by adjusting values and zero-points together, preserving their real interpretation.
The restriction excluding −128 from weights now becomes useful. It prevents the problematic product involving that endpoint in both operands. The paper shows that products then remain below 2¹⁴ in absolute value, allowing two products to enter a local int16 accumulator before transfer to the wider accumulator.
This supports a sequence using SMULL, SMLAL, and SADALP. The broader point is that training accepts a carefully chosen representational restriction because the deployed kernel can exploit it. Accuracy preparation and hardware efficiency meet in a specific numerical condition, rather than remaining separate stages of development.
Experiments and results
The experiments address two related questions. First, can simulated quantization preserve recognition quality in established large networks? Second, does the combined training and integer-inference scheme improve the practical relationship between latency and accuracy on mobile processors?
The implementation comparison uses gemmlowp for 8-bit matrix multiplication and Eigen for 32-bit floating-point matrix multiplication. These are concrete software paths, so the measurements reflect their interaction with the tested hardware. They should not be read as a processor-independent ratio between abstract integer and floating-point arithmetic.
ImageNet with larger networks
The ResNet experiments compare floating-point and integer-quantized networks at different depths on ImageNet. The authors describe the quantized accuracies as within 2% of their floating-point counterparts. This supports the claim that the training approach can retain much of the original recognition quality outside the compact architecture family.
For ResNet50, the paper also compares earlier quantization schemes. It reports stronger accuracy than FGQ, which uses 2-bit weights, and accuracy similar to INQ, which uses 5-bit weights while retaining floating-point activations. The contrast with INQ matters because similar recognition quality does not imply the same inference arithmetic. The paper’s scheme quantizes activations as well and is designed around integer execution.
The numerical table entries for these comparisons are not present in the paper text available for these results. As a consequence, the supported account is the authors’ stated comparison rather than a reconstructed accuracy table. No exact ResNet50 score or depth-by-depth accuracy should be inferred from the captions.
The ResNet preprocessing resizes each image while preserving its aspect ratio until its shorter side is 256, then takes a central 224×224 crop and subtracts channel means. Optimization uses momentum 0.9 with batches of 32. The learning rate begins at 10⁻⁵ and is reduced by 0.1 every 30 epochs.
Activation quantization starts after 500,000 steps. Training uses 50 asynchronous workers and typically reaches its validation plateau after 100 epochs. These settings show that the accuracy claim comes from a specific quantized-training procedure, rather than simply converting a finished floating-point network and measuring it immediately.
The Inception v3 experiments compare 8-bit and 7-bit training, and also compare ReLU with ReLU6. The authors report that the 7-bit results remain close to the 8-bit results, while ReLU6 incurs less degradation from quantization. The reported metrics are accuracy and recall 5, though the corresponding table values are not available as numerical entries.
For Inception, training uses labeled ImageNet 2012 images at 299 × 299 resolution. Augmentation includes random crops, horizontal flips, and color changes. Each run continues for approximately 10 million steps, using 50 asynchronous workers and a batch size of 32.
RMSProp begins with learning rate 0.045, reduced by a factor of 0.94 every 2 epochs. Its momentum and decay are both 0.9, and its epsilon term is 1.0. The trained parameters are averaged with EMA decay 0.9999. These details establish the substantial training context behind the precision comparisons.
MobileNet classification on mobile processors
The ImageNet mobile benchmarks vary MobileNet depth multipliers and input resolutions. This produces families of operating points instead of a single fixed network. The central comparison is the accuracy available at different measured latencies.
The tested processor configurations include the Snapdragon 835 LITTLE core, Snapdragon 835 big core, and Snapdragon 821 big core. The paper associates the Snapdragon 835 measurements with Pixel 2 and the Snapdragon 821 measurements with Pixel 1. The big and LITTLE configurations represent different performance characteristics within the mobile setting.
Across these comparisons, the authors report that integer MobileNets provide better accuracy for a given execution-time allowance. The most striking stated example concerns the Snapdragon 835 LITTLE core: at the 33ms budget associated with 30 fps operation, the accuracy advantage is described as approximately 10%.
That result requires careful interpretation. It does not mean changing a particular network from floating point to integers raises its accuracy by that amount. Instead, faster inference changes which network configuration can fit the budget. The comparison concerns available operating points across architecture and resolution choices.
The processor dependence is also explicit. The authors describe the Snapdragon 821 as better optimized for floating-point computation, making its quantized latency improvement less pronounced. This observation supports the paper’s insistence on actual-device measurements: a favorable representation does not produce an identical speed advantage across hardware.
COCO object detection
For object detection, the authors use MobileNet SSD on Microsoft COCO. They modify the SSD prediction layers by replacing regular convolutions with depthwise convolution followed by a 1×1 projection. The change follows the efficiency-oriented structure used by MobileNets.
Both floating-point and 8-bit systems are trained and evaluated through the TensorFlow Object Detection API. During training, images receive random crops and are resized to 320×320. Evaluation directly resizes them to 320×320, and input values are normalized to [−1, 1].
The optimizer is RMSprop with batches of 32. Its learning rate starts at 4×10⁻³ and drops by a factor of 0.1 every 100 epochs. Training uses 20 asynchronous workers and generally plateaus after roughly 6 million steps.
Activation quantization is delayed for 500,000 steps. The authors separately describe delaying quantization for 500 thousand steps as substantially shortening convergence time in this setting. That is evidence about training behavior, alongside the final deployment results.
Detection quality uses the COCO primary challenge metric, AP at IoU=.50:.05:.95. Intersection over union measures overlap between a predicted box and its reference box; the reported metric evaluates across the specified overlap thresholds. The authors follow the train/evaluation partition used by the cited detection protocol.
Latency is measured with a single thread on Snapdragon 835 big and LITTLE cores. The paper reports running-time reductions reaching 50%, accompanied by a relative accuracy change of −1.8%. These are the authors’ stated aggregate findings for the comparison; the available table caption does not supply the individual network rows.
The result is significant within the paper’s argument because it extends beyond image classification. An object detector combines a feature extractor with prediction layers and produces spatial outputs. The improved tradeoff therefore survives in a more elaborate recognition pipeline, under a named detection metric and explicit mobile timing conditions.
Face detection
The face-detection experiments use the Flickr-based face-attribute dataset associated with the MobileNet work. The authors contacted that work’s authors so the quantized systems could be evaluated under the same detection and attribute protocols.
Training takes random 1:1 crops and resizes them to 320×320 for detection. Horizontal flipping occurs with 50% probability, and RGB values are normalized to [−1, 1]. Optimization again uses RMSprop, batch size 32, and an initial learning rate of 4×10⁻³.
The learning rate decreases by 0.1 every 100 epochs. Activation quantization is postponed for 500,000 steps, and training uses 20 asynchronous workers. The detector usually reaches its validation plateau after roughly 3 million steps.
The authors describe the overall timing benefit as close to 2× on Snapdragon 835 big or LITTLE cores, with an average-precision reduction of roughly 2%. The detection evaluation averages across overlap criteria from 0.5 through 0.95, with 0.55 among the stated thresholds.
A concrete deployment comparison concerns the 25% face detector on a single big core:
Face detection on the Flickr-based dataset, 25% network, Snapdragon 835 big core
Integer inference lowers latency enough to meet the paper’s real-time criterion.
The numbers
| System or setting | latency ms |
|---|---|
| Floating-point face detector | 44 |
| Integer-only face detector (this paper) | 28 |
The authors express those runtimes as approximately 23 fps for floating point and roughly 36 fps for integer inference. The practical change is crossing the real-time boundary used in their discussion, rather than simply improving a benchmark score.
The latency protocol repeatedly runs the detector and attribute classifier on random inputs for 100 seconds. The binaries execute on Pixel and Pixel 2 phones, with execution assigned to selected big or LITTLE cores. The reported values are average runtimes for the specified input sizes.
The authors also test multithreading. Using 4 cores produces speedups from 1.5 to 2.2× for the quantized networks. Larger networks benefit more because thread-management overhead occupies a smaller share of their computation. This is a separate effect from quantization itself, showing that integer execution can also be combined with parallel CPU execution.
Face-attribute classification
Face-attribute classification uses 128×128 crops from the same Flickr-based dataset. The preprocessing otherwise follows the stated face protocol, including random cropping, horizontal flipping, and input normalization.
Training uses Adagrad with batch size 32 and a constant learning rate of 0.1. It runs with 12 asynchronous workers and stops at 20 million steps. The paper evaluates the latency-versus-accuracy relationship on Snapdragon 821.
The authors report little loss of attribute-classification quality after quantized training, producing an improved tradeoff even on a processor whose floating-point implementation is described as strong. This complements the ImageNet hardware comparison: smaller timing advantages can still matter when recognition quality is retained closely.
The face-attribute experiments also supply the paper’s explicit bit-depth ablation. They therefore serve both as a deployment demonstration and as a controlled investigation of how precision allocation affects quality.
What the ablations show
The most direct ablation changes weight and activation precision in the face-attribute classifier. Rather than evaluating only the main 8-bit configuration, the authors vary the two kinds of precision and compare their effects against floating point.
The reported measures are relative average category precision for binary attributes and age precision under a difference of 5 years. These are distinct task outcomes. Agreement between them is more informative than observing a precision trend on only a single attribute score.
The numerical entries of the bit-depth tables are not available in the paper text, so their individual settings cannot be plotted reliably. The authors nonetheless state clear qualitative conclusions from those tables, and those conclusions support several useful distinctions.
Weight precision and activation precision are not interchangeable
Reducing weight precision is more damaging than reducing activation precision in this experiment. This shows that the numerical role of an array matters. A bit removed from a weight representation does not necessarily have the same task-level effect as a bit removed from an activation representation.
The result should remain tied to the tested setting. It does not establish a universal ordering for every architecture or task. It shows that, in this face-attribute evaluation, allocating precision without distinguishing weights from activations would ignore an observed asymmetry.
The paper also reports that 8-bit and 7-bit configurations remain close to floating point. This supports the practical choice of moderate low precision. It suggests that the tested classifier can tolerate a substantial reduction from its original representation without the severe quality loss that motivates the paper’s criticism of more extreme quantization.
Balanced allocation matters under a fixed combined budget
When the combined weight and activation bit depths are held equal across configurations, the authors find that matching their precision works better. This qualifies the sensitivity result rather than contradicting it.
Weights may be more sensitive to precision loss, but leaving one part of the computation much less precise can still create a bottleneck. The controlled comparison asks about the joint system under an equal combined allocation, not only the marginal effect of changing one array type.
The reusable lesson is to evaluate precision combinations rather than optimize each category independently. A sensible local preference does not automatically identify the best end-to-end configuration. The paper’s evidence supports balanced allocation for the tested combinations; it does not provide an optimization rule covering all possible bit budgets.
A bounded activation range helps Inception
The Inception experiments offer a separate controlled comparison between ReLU and ReLU6. Both can be implemented through clamping, but their numerical ranges differ. ReLU6 naturally limits activations to [0, 6], while ReLU can produce larger values.
The authors report less quantization degradation with ReLU6. Their explanation is that a fixed bounded range is easier to represent precisely. When an array’s range becomes broad, the spacing between quantization levels grows, making smaller values less accurately represented.
They also compare 7-bit with 8-bit quantized training and describe the resulting accuracies as close. Together, the comparisons show that precision loss depends on both the number of levels and how the values occupy the available interval. Bit depth alone does not fully describe the difficulty of quantization.
Training stability and implementation analyses
The paper offers additional analyses that are useful but should not be confused with complete ablation tables. It identifies large channel-to-channel range differences and isolated extreme weights as failure modes for straightforward post-training quantization. With one scale per weight array, either pattern can leave many weights poorly resolved.
Delaying activation quantization addresses a different problem: range estimates can trail rapidly changing early activations. The COCO discussion reports faster convergence after introducing the delay, but does not supply a numerical convergence curve or a complete controlled result table.
The NEON appendix likewise explains a mechanism instead of presenting a broad ablation study. It connects upward tie rounding to systematic numerical error and observed end-to-end accuracy loss. This supports the need for the chosen rounding correction, while leaving the size of that effect unquantified in the reported text.
Finally, the multithreading results analyze execution overhead. Larger networks obtain greater parallel speedups because their useful work better amortizes thread overhead. That helps explain runtime behavior, but it does not isolate the contribution of simulated quantization to accuracy. The paper’s analyses answer several different questions, and their evidential roles should remain separate.
Limitations
The paper establishes a practical combination of quantization, training, and CPU execution for the tested vision systems. It does not establish that every neural computation becomes faster when represented with the same bit depth. Several limitations are stated directly by the authors, while others follow from the evaluation’s scope.
Limits the authors identify
The authors explicitly make the speed benefit dependent on hardware. Their Snapdragon 821 discussion describes stronger floating-point support and a less pronounced quantization advantage. The method therefore cannot be assigned a universal speedup independent of the processor and implementation.
They also identify a cost for quantized addition. Inputs with different scales require conversion before addition, followed by conversion into the output scale. A graph with many such interfaces may incur overhead that is not visible in a matrix-multiplication-only argument.
Concatenation introduces a representational constraint. The chosen implementation requires shared quantization parameters across its inputs and output. This preserves the integer contents without rescaling, but it couples the ranges of arrays that might otherwise have been chosen independently.
The training procedure depends on range behavior. Moving averages stabilize activation estimates, yet can respond too slowly during early training. Delaying activation quantization is the authors’ practical response. The paper gives examples and task-specific schedules, rather than a general rule guaranteeing that a particular delay is appropriate for every network.
The authors also place optimization of the inference graph through fusion and operation removal outside their treatment’s scope. They describe the need for alignment between fused operators and training simulation, but do not present a complete general account of every graph transformation needed for arbitrary deployment.
The rescaling derivation uses the empirical observation that the relevant multiplier lies between 0 and 1. That supports the normalized multiplier and right-shift construction described in the paper. It should not be treated as a proof that every conceivable collection of array scales must produce a multiplier in that interval.
Limits visible in the evaluation
A careful reader should distinguish the scope of the workloads from the generality of the arithmetic. The experiments concern classification and detection in computer vision. They do not establish quality retention for language generation, long-context processing, or Mova’s language tasks.
The paper’s integer-only framework is broader than a single convolution, but its strongest practical evidence comes from the tested networks and CPUs. Hardware such as Qualcomm Hexagon motivates the integer-only design, while the reported mobile timing comparisons center on ARM CPU execution. Mentioning a compatible hardware class is not equivalent to benchmarking every member of that class.
The experiments report latency and recognition metrics, not a full mobile resource profile. They do not provide direct energy measurements or a complete battery-life study. Faster execution and narrower storage may be relevant to such questions, but the paper’s timing results do not quantify those outcomes.
The headline 4× size reduction describes the change associated with the numerical representation. Biases remain wider, and deployment also involves scales, graph information, and other data. The stated factor should therefore be understood as the paper’s compression claim, rather than independently extended into a guarantee about every complete application package.
The latency measurements use repeated execution, with the face protocol specifying random inputs and a 100-second run. This supports comparison of the numerical execution paths under that procedure. It does not by itself characterize every surrounding cost in an interactive application, such as input acquisition or other application processing.
There are also reporting limits. Several tables are represented by captions without numerical rows. The paper’s prose supports its stated accuracy comparisons and aggregate improvements, but not a reconstruction of every experimental operating point. Exact values should not be supplied for those missing rows or estimated from the figures.
What the comparisons cannot isolate
The overall result combines several decisions: affine quantization, simulated training, delayed activation quantization, normalization folding, fused operators, and optimized kernels. The paper explains their relationships, but does not provide a complete factorial experiment separating every contribution.
For instance, the mobile speed comparisons establish the benefit of the implemented integer path against the implemented floating-point path. They do not isolate a pure arithmetic effect independent of library quality. That is not a defect in a deployment comparison, but it limits claims about what another implementation must achieve.
Likewise, the discussion of post-training failures explains why the authors introduce simulated quantization, especially for compact networks. Without a full numerical comparison for every task and conversion strategy, the paper cannot establish that all alternative post-training procedures would fail similarly.
The strongest supported conclusion is therefore specific and useful: a carefully aligned numerical representation, training process, and mobile implementation can improve the measured accuracy-latency frontier of already efficient vision networks. Broader claims require additional experiments.
What came after
The later citation record reaches well beyond mobile vision. It includes integer execution for language systems, quantization-aware training, matrix-multiplication kernels, and other ways to reduce inference cost. A citation connects these works to the paper’s research context, but does not by itself show that they adopted its exact affine scheme or reproduced its training procedure.
The titles identify the subjects of these later works, while their individual methods and results are not described in detail here. The clearest account therefore distinguishes direct thematic continuations from broader efficiency research and avoids assigning unreported mechanisms or accuracy gains.
Integer execution and quantization-aware training
I-BERT: Integer-only BERT Quantization continues the explicit objective of integer-only computation in a BERT setting. Its title connects directly to the earlier paper’s central distinction between storing compact parameters and executing inference without floating-point arithmetic. The citation does not establish that every operator or scaling choice is identical.
LLM-QAT: Data-Free Quantization Aware Training for Large Language Models carries the training-side theme into large language models. Its stated subject combines quantization-aware training with a data-free setting. The conceptual connection is preparation for reduced-precision deployment; the title alone does not specify how its training data are obtained or how its numerical simulation differs from the vision procedure.
PE-QAT: Parameter-Efficient Quantization-Aware Training for Large Language Models adds parameter efficiency to that training question. It belongs to the continuation of the idea that deployment constraints should influence training, instead of being imposed only after optimization. Its citation supports that connection without establishing which parameters are updated or the size of any training-cost reduction.
These works illustrate the enduring reach of the original design question. Once an inference representation changes, training may need to account for its numerical effects. The later titles move that question into language systems and different training constraints, while the original paper’s evidence remains rooted in vision.
Low precision as an inference and serving choice
The case for 4-bit precision: k-bit Inference Scaling Laws examines precision through an inference-scaling perspective. Its title signals a different emphasis from choosing the paper’s practical 8-bit mobile representation: it treats bit width itself as a central variable in the efficiency question. No specific scaling result follows from the citation information alone.
Atom: Low-bit Quantization for Efficient and Accurate LLM Serving places low precision within serving. The connection is especially relevant to the original paper’s insistence that reduced precision should improve an operational tradeoff. Atom’s title names both efficiency and accuracy, but does not provide evidence here about its kernels, supported hardware, or measured gains.
LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Models returns to matrix multiplication, the expensive core emphasized by the mobile paper. Its title identifies lookup tables as the organizing technique. This is a useful contrast with the earlier authors’ preference for pure arithmetic on their SIMD target: a representation’s implementation strategy remains a hardware-sensitive choice.
SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Acceleration brings reduced precision to attention. The title connects accuracy and execution speed at the level of a particular operation. It broadens the setting beyond the convolution-centered fused layers studied in the earlier experiments, without establishing identical quantization semantics.
Precision allocation and quantization error
Exploring Layer-wise Information Effectiveness for Post-Training Quantization in Small Language Models focuses on layer-level behavior in a compact-language setting. That subject is adjacent to the original paper’s concern that efficient networks may be less forgiving of numerical changes. Its post-training emphasis is distinct from the earlier method’s simulated-quantization training.
ACBQ: Adaptive Cross-Block Quantization of Large Language Models identifies adaptive treatment across blocks as its topic. CoopQ: Cooperative Game Inspired Layerwise Mixed Precision Quantization for LLMs explicitly concerns layerwise mixed precision. Both titles move toward allocating approximation across parts of a system, a broader question than the earlier experiments’ shared bit-depth settings.
FAQ: Mitigating Quantization Error via Regenerating Calibration Data with Family-Aware Quantization names calibration-data regeneration as a means of addressing quantization error. The connection to the original work is the importance of matching numerical ranges to actual behavior. The later title does not establish that it uses the same moving-average procedure or activation-delay strategy.
SPQ: An Ensemble Technique for Large Language Model Compression places ensembles within compression. Its relationship is broader: it belongs to the continuing search for smaller or cheaper learned systems. The citation record does not explain how its ensemble technique interacts with affine integer arithmetic.
Other ways to improve inference efficiency
Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time names sparsity as its efficiency mechanism. H₂O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models also concerns efficient generative inference, through the heavy-hitter framing identified by its title. These works share the deployment objective, but their titles do not establish that quantization is their main contribution.
Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding describes acceleration through a decoding procedure. Hybrid LLM: Cost-Efficient and Quality-Aware Query Routing instead places the efficiency decision at query routing. Their relevance is the broader principle that useful performance must be assessed together with cost and quality, even when the optimization acts at a different system level.
Similarity-Preserving Knowledge Distillation represents another compression-related direction, centered on transferring similarity structure. It can be situated beside quantization as a different way to pursue a more economical learned system. The citation does not show that the distillation procedure requires integer-only execution.
BitMar: Low-Bit Multimodal Fusion with Episodic Memory for Edge Devices is thematically close to the original deployment setting because its title combines low precision with edge devices. Its multimodal fusion and episodic-memory setting differs from the mobile vision pipelines evaluated here, so the connection should not be mistaken for a direct replication.
Broader systems and application citations
DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence names efficiency and extended context as system-level concerns. DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression specifically names cache compression. These titles show how the resource question expands from weights and ordinary activations to other stored state, but do not identify their exact use of this paper’s arithmetic.
Kimi K3: Open Frontier Intelligence also appears in the citation record. Its title does not identify a particular quantization contribution, so a stronger technical connection would require more evidence than the citation supplies.
The remaining titles sit farther from the paper’s immediate numerical method. Multi-Step Reasoning with Large Language Models, a Survey concerns reasoning research. Common Objects Out of Context investigates multimodal context and semantic scene violations. Similar Region Search using LLMs on Spatial Feature Space concerns spatial search. Their citations establish that the earlier work enters their scholarly context; their titles do not establish a new integer-inference method.
Across the directly related later work, the recurring research problem is how to make numerical approximation useful in a complete system. Precision affects storage, arithmetic, training, and the quality of outputs together. The original paper’s contribution is a particularly concrete treatment of that problem: it defines the representation, derives executable integer operations, prepares the network for their errors, and measures the resulting tradeoff on mobile hardware.
Cite
Cite as Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam and Dmitry Kalenichenko. 2017. Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference. arXiv:1712.05877.
@misc{jacob2017quantization,
title = {{Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference}},
author = {Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam and Dmitry Kalenichenko},
year = {2017},
doi = {10.48550/arxiv.1712.05877},
eprint = {1712.05877},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1712.05877}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/jacob-2017-quantization-training-neural-networks-efficient/
References
- M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, et al. Tensorflow: Large-scale machine learning on heterogeneous systems, 2015. Software available from tensorflow. org, 1, 2015. OpenAlex ↗ · Scholar ↗
- W. Chen, J. T. Wilson, S. Tyree, K. Q. Weinberger, and Y. Chen. Compressing neural networks with the hashing trick. CoRR, abs/1504.04788, 2015. OpenAlex ↗ · Scholar ↗
- J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on, pages 248–255. IEEE, 2009. OpenAlex ↗ · Scholar ↗
- Y. Gong, L. Liu, M. Yang, and L. Bourdev. Compressing deep convolutional networks using vector quantization. arXiv preprint arXiv:1412.6115, 2014. OpenAlex ↗ · Scholar ↗
- Google. TensorFlow Lite. https://www.tensorflow.org/mobile/tflite. OpenAlex ↗ · Scholar ↗
- G. Guennebaud, B. Jacob, et al. Eigen v3. http://eigen.tuxfamily.org. OpenAlex ↗ · Scholar ↗
- S. Gupta, A. Agrawal, K. Gopalakrishnan, and P. Narayanan. Deep learning with limited numerical precision. In Proceedings of the 32nd International Conference on Machine Learning (ICML-15), pages 1737–1746, 2015. OpenAlex ↗ · Scholar ↗
- S. Han, H. Mao, and W. J. Dally. Deep compression: Compressing deep neural network with pruning, trained quantization and huffman coding. CoRR, abs/1510.00149, 2, 2015. OpenAlex ↗ · Scholar ↗
- K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016. our card
- A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. CoRR, abs/1704.04861, 2017. our card
- G. Huang, Z. Liu, L. van der Maaten, and K. Q. Weinberger. Densely connected convolutional networks. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017. OpenAlex ↗ · Scholar ↗
- J. Huang, V. Rathod, D. Chow, C. Sun, and M. Zhu. Tensorflow object detection api, 2017. OpenAlex ↗ · Scholar ↗
- J. Huang, V. Rathod, C. Sun, M. Zhu, A. Korattikara, A. Fathi, I. Fischer, Z. Wojna, Y. Song, S. Guadarrama, et al. Speed/accuracy trade-offs for modern convolutional object detectors. arXiv preprint arXiv:1611.10012, 2016. OpenAlex ↗ · Scholar ↗
- I. Hubara, M. Courbariaux, D. Soudry, R. El-Yaniv, and Y. Bengio. Binarized neural networks. In Advances in neural information processing systems, pages 4107–4115, 2016. OpenAlex ↗ · Scholar ↗
- I. Hubara, M. Courbariaux, D. Soudry, R. El-Yaniv, and Y. Bengio. Quantized neural networks: Training neural networks with low precision weights and activations. arXiv preprint arXiv:1609.07061, 2016. our card
- F. N. Iandola, M. W. Moskewicz, K. Ashraf, S. Han, W. J. Dally, and K. Keutzer. Squeezenet: Alexnet-level accuracy with 50x fewer parameters and< 1mb model size. arXiv preprint arXiv:1602.07360, 2016. OpenAlex ↗ · Scholar ↗
- S. Ioffe and C. Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32Nd International Conference on International Conference on Machine Learning - Volume 37, ICML'15, pages 448–456. JMLR.org, 2015. OpenAlex ↗ · Scholar ↗
- B. Jacob, P. Warden, et al. gemmlowp: a small self-contained low-precision gemm library. https://github.com/google/gemmlowp. OpenAlex ↗ · Scholar ↗
- S. Kligys, S. Sivakumar, et al. Tensorflow quantized training support. https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/quantize. OpenAlex ↗ · Scholar ↗
- A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097–1105, 2012. our card
- C. Leng, H. Li, S. Zhu, and R. Jin. Extremely low bit neural network: Squeeze the last bit out with admm. arXiv preprint arXiv:1707.09870, 2017. OpenAlex ↗ · Scholar ↗
- F. Li, B. Zhang, and B. Liu. Ternary weight networks. arXiv preprint arXiv:1605.04711, 2016. OpenAlex ↗ · Scholar ↗
- T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick. Microsoft coco: Common objects in context. In European conference on computer vision, pages 740–755. Springer, 2014. our card
- T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick. Microsoft COCO: Common objects in context. In ECCV, 2014. our card
- W. Liu, D. Anguelov, D. Erhan, C. Szegedy, and S. Reed. Ssd: Single shot multibox detector. arXiv preprint arXiv:1512.02325, 2015. OpenAlex ↗ · Scholar ↗
- N. Mellempudi, A. Kundu, D. Mudigere, D. Das, B. Kaul, and P. Dubey. Ternary neural networks with fine-grained quantization. arXiv preprint arXiv:1705.01462, 2017. OpenAlex ↗ · Scholar ↗
- M. Rastegari, V. Ordonez, J. Redmon, and A. Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. arXiv preprint arXiv:1603.05279, 2016. our card
- K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. our card
- C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1–9, 2015. OpenAlex ↗ · Scholar ↗
- C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2818–2826, 2016. OpenAlex ↗ · Scholar ↗
- V. Vanhoucke, A. Senior, and M. Z. Mao. Improving the speed of neural networks on cpus. In Proc. Deep Learning and Unsupervised Feature Learning NIPS Workshop, volume 1, page 4, 2011. OpenAlex ↗ · Scholar ↗
- X. Zhang, X. Zhou, M. Lin, and J. Sun. Shufflenet: An extremely efficient convolutional neural network for mobile devices. CoRR, abs/1707.01083, 2017. OpenAlex ↗ · Scholar ↗
- A. Zhou, A. Yao, Y. Guo, L. Xu, and Y. Chen. Incremental network quantization: Towards lossless cnns with low-precision weights. arXiv preprint arXiv:1702.03044, 2017. OpenAlex ↗ · Scholar ↗
- S. Zhou, Y. Wu, Z. Ni, X. Zhou, H. Wen, and Y. Zou. Dorefa-net: Training low bitwidth convolutional neural networks with low bitwidth gradients. arXiv preprint arXiv:1606.06160, 2016. our card
- C. Zhu, S. Han, H. Mao, and W. J. Dally. Trained ternary quantization. arXiv preprint arXiv:1612.01064, 2016. OpenAlex ↗ · Scholar ↗