---
title: "Bit-pragmatic deep neural network computing — Albericio 2017"
description: "How Bit-Pragmatic skips zero bits in neural-network arithmetic, accelerates convolution, and balances speed, energy, and hardware cost."
canonical: "https://research.elamur.ai/free/en/papers/albericio-2017-bit-pragmatic-deep-neural-network/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/albericio-2017-bit-pragmatic-deep-neural-network/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2017](https://md.research.elamur.ai/free/en/papers/2017/) / Bit-pragmatic deep neural network computing

# Bit-pragmatic deep neural network computing

Paper · 2017 · Jorge Albericio, Alberto Delmás, Patrick Judd et al.

**Authors:** Jorge Albericio, Alberto Delmás, [Patrick Judd](https://md.research.elamur.ai/free/en/authors/patrick-judd/), Sayeh Sharify, Gerard O’Leary, Roman Genov and Andreas Moshovos · **Year:** 2017 · **Venue:** Proceedings of the ... annual International Symposium on Microarchitecture/Proceedings of the annual International Symposium on Microarchitecture · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**216** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2541839172|W2942114164) · Proceedings of the ... annual International Symposium on Microarchitecture/Proceedings of the annual International Symposium on Microarchitecture · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [DOI 10.1145/3123939.3123982](https://doi.org/10.1145/3123939.3123982)
- [arXiv 1610.06920](https://arxiv.org/abs/1610.06920)
- [OpenAlex](https://openalex.org/W2541839172)

## Deep dive: Bit-pragmatic deep neural network computing

How Bit-Pragmatic skips zero bits in neural-network arithmetic, accelerates convolution, and balances speed, energy, and hardware cost. · about 33 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A multiplication can contain much less useful work than its fixed-width representation suggests. When an input value contains a zero bit, multiplying a weight by that bit contributes nothing to the answer. Conventional hardware nonetheless accommodates these contributions as part of the multiplication. Bit-Pragmatic Deep Neural Network Computing investigates how much work disappears when an accelerator processes only the non-zero bits of its inputs. The paper proposes Pragmatic, abbreviated PRA, a hardware architecture that turns those bits into an explicit sequence of useful arithmetic steps. Its subject belongs to [efficient neural computation and compression](https://md.research.elamur.ai/free/en/topics/efficient-models/), but its main intervention changes execution rather than storage: values remain compact in memory and acquire a different representation when they reach the computing units.

The paper distinguishes two reasons for wasted arithmetic. Fixed-width hardware may allocate more precision than a particular layer needs, introducing unnecessary bits at the ends of a value. Within the precision that remains, ordinary binary notation can still contain many zeros. Earlier Stripes hardware addresses the first source by processing inputs serially at a precision chosen for each layer. Pragmatic also addresses the second. It converts each input into positions of its non-zero bits, then uses those positions to shift a corresponding weight and accumulate the result. An individual product may require several cycles, so the architecture handles more independent inputs concurrently and reuses weights across different convolution windows. The central engineering challenge is to obtain this extra parallelism without demanding a much wider or more fragmented memory system.

The measurements establish a substantial opportunity and a smaller, practical improvement after hardware constraints are included. With a 16-bit fixed-point representation, the ideal useful arithmetic amounts to 10% of the baseline’s multiplication terms on average; software guidance reduces that estimate to 8%. These are operation-count estimates, not execution-time results. In the evaluated hardware, a straightforward Pragmatic design achieves an average convolution speedup of 2.59 over DaDianNao, compared with 1.85 for Stripes. Splitting shifts into separate local and shared operations retains essentially the same performance while lowering hardware cost. Allowing groups of computing lanes to advance more independently raises average speedup to 3.1 with a small buffer of recently fetched weights.

The strongest configuration also improves energy efficiency, although the paper shows why speed alone does not guarantee an energy benefit. The large, straightforward shifting design consumes enough additional power to be 5% less energy efficient than DaDianNao. A narrower shifting arrangement improves efficiency by 28%, and the configuration with finer synchronization reaches 48%. Benefits also persist with an 8-bit quantized representation, where the reported performance improvement approaches 3.5. The evidence concerns simulated convolution execution and hardware cost estimates for the evaluated image-classification networks. It does not establish the same acceleration for every layer, provide measured silicon results, or demonstrate an implementation in a language system.

### Ideas worth borrowing

Separate storage from execution. A representation that is economical to keep in memory need not be the best representation for performing arithmetic. Pragmatic stores ordinary fixed-width values and converts them into nonzero-bit positions close to computation. This avoids paying the storage cost of a potentially longer explicit list while still exposing useful work to the datapath. The idea applies whenever a compact representation hides information that could simplify execution. The important question is whether conversion can be shared, pipelined, or overlapped enough to make the execution savings worthwhile.

Measure useful work below the operation level. Counting multiplications treats every product as equally expensive and equally necessary. The paper instead examines the terms from which a multiplication is assembled. That reveals avoidable work inside non-zero operands, beyond the opportunities exposed by skipping entirely zero inputs. A researcher can borrow this way of defining the unit of analysis: inspect what an operation actually does internally before deciding which events deserve to count as useful computation. The same reasoning can guide a profiler even when the eventual implementation uses different hardware.

Exploit value structure without changing the answer. Removing a term generated by a zero bit preserves the product. This gives Pragmatic a source of acceleration that is distinct from deliberately reducing precision. The paper then adds precision trimming as an optional, separately evaluated intervention. Keeping these mechanisms conceptually separate makes experiments easier to interpret. An engineer can first establish the benefit of an exact transformation, then measure any additional gain from a transformation whose acceptability depends on application accuracy.

Match parallelism to data reuse. Serial processing would be slow if it merely replaced a parallel multiplier in place. Pragmatic makes it competitive by processing multiple windows together and sharing the same weights among them. Its parallel organization follows a reuse relationship already present in convolution. This suggests a broader design habit: before adding independent computing lanes, identify which operands they can share. Extra arithmetic capacity is useful only if the memory system can supply it without erasing the gain.

Relax synchronization through bounded buffering. Waiting for every lane to finish makes a group’s duration depend on its busiest member. Letting every lane run freely creates another problem: unrelated memory requests. Pragmatic’s intermediate solution gives window groups more independence while retaining recently fetched weight sets until all groups have consumed them. This is a reusable approach to variable-duration parallel work. A small buffer can absorb differences in progress while preserving a shared access pattern, provided the amount of permitted divergence remains controlled.

Optimize shared algebra before duplicating hardware. Pragmatic’s shifting optimization moves a common shift after an addition tree and leaves smaller relative shifts before it. The result preserves the intended arithmetic while reducing the width of heavily replicated components. The useful lesson is to inspect an expression across an entire group of operations, rather than optimize each operation in isolation. A shared transformation can reduce cost more effectively than making every individual unit fully general.

### How Mova uses it

For Mova, the small transparent language system written in Rust, this paper offers a concrete research direction instead of an established implementation claim. The demonstrated system is a convolution accelerator with specialized arithmetic units, buffers, and synchronization rules. Nothing in the paper establishes that Mova contains those components or that its current workload exposes the same reuse patterns. The most credible connection begins with measurement: determine whether numerical work in a proposed Mova component contains enough zero bits to justify a different way of executing it.

A possible Rust experiment would keep the ordinary representation of a value as the reference and derive an explicit sequence of its nonzero-bit positions. That sequence could drive a shift-and-accumulate implementation whose output is checked against the ordinary product. Such an experiment would make the paper’s arithmetic idea inspectable. It would also clarify a crucial boundary: expressing the algorithm in Rust does not reproduce the throughput of the proposed hardware. General software must still pay for finding bit positions, iterating over them, manipulating intermediate values, and coordinating work.

The distinction between exact skipping and precision reduction is especially useful for a transparent system. Mova could report that one experimental path merely omits contributions known to be zero, while another changes which bits a value retains. These are different explanations for reduced computation. The first can be checked through arithmetic equivalence for the supported representation. The second needs a task-level assessment of whether the altered values remain acceptable. Pragmatic supplies a reason to keep those claims separate even if both eventually contribute to the same performance result.

The paper also suggests what a useful diagnostic would record. A numerical component could expose the prevalence of entirely zero values, the nonzero-bit content of the remaining values, and the amount of waiting caused by groups that finish at different times. These observations would distinguish several explanations for poor performance. A workload may have few useful terms yet still run slowly because conversion is expensive, its groups are uneven, or its memory accesses cannot follow the desired schedule. Counting omitted arithmetic alone would leave those possibilities unresolved.

A further possibility concerns the boundary between software policy and execution. Pragmatic accepts per-layer precision information as metadata and uses it to mask outputs before storage. Mova could borrow the explicitness of that interface if it develops a component where such a policy is relevant: the component would declare what precision transformation it permits, and the execution path would make that transformation visible. This is a proposal for future design, not evidence of an existing feature. The paper supports investigating the separation between representation, policy, and execution; it supplies no measured Mova speedup or language-task result.

### The problem and its context

#### Useful values can still contain useless arithmetic

The paper begins from the computational demands of deep neural networks and the pressure to improve their performance without continually increasing power. It describes graphics processors as a practical way to exploit the parallelism in these networks, while treating specialized accelerators as a response to demands for greater speed and energy efficiency. Its immediate target is convolution. In the DaDianNao execution profile cited by the authors, convolutional layers occupy more than 92% of processing time.

A convolutional layer repeatedly combines input values with learned weights. The paper calls the inputs neurons and the weights synapses. For a particular output location and filter, corresponding neurons and synapses are multiplied, and their products are added. An individual multiplication is therefore part of an inner product, and an inner product is part of a larger collection of related computations. That nesting matters because Pragmatic gains speed by changing how many related products it handles together.

The first source of avoidable work is familiar from variable precision. An accelerator may use a fixed numeric width even though a layer requires a smaller range or fewer fractional positions. Bits beyond the useful range still occupy the representation and the datapath. The authors call this excess of precision, or EoP. Depending on the value and format, unnecessary zeros can occur before its significant integer positions or after its useful fractional positions.

The second source survives after the width is reduced. A binary number is positional: each position indicates whether a particular power of two participates in the value. A zero inside the useful span does not contribute to the number, but a conventional multiplication still provides for the corresponding partial product. The authors call this lack of explicitness, or LoE. The representation states the presence or absence of every possible contribution instead of directly listing the contributions that exist.

These sources differ in an important way. Precision selection can remove unnecessary positions around a useful span, but it does not generally remove zeros inside that span. An accelerator that adapts only to width therefore leaves a further opportunity unexplored. Pragmatic’s proposal is to make the execution cost depend more directly on how many contributing bits an input contains.

#### What earlier approaches already avoided

Stripes is the paper’s closest computational predecessor. It combines serial processing of neuron bits with parallel processing of the synapse. Each layer receives a chosen neuron precision. Rather than using a full-width multiplication in a single step, Stripes processes the neuron across that many cycles and accumulates the contributions.

Serial multiplication sounds like a loss until the surrounding parallelism is considered. Stripes handles more neuron–synapse pairs at once, taking advantage of independent convolution work and repeated use of weights. If the layer needs fewer neuron bits than the baseline representation provides, its expanded parallel organization can finish the required work sooner. The earlier system therefore turns reduced precision into a performance opportunity, instead of using it only to reduce switching or storage.

Stripes still visits zero bits within the retained precision. Those cycles may add nothing for an individual neuron. Pragmatic extends the approach by replacing the regular sequence of bit positions with an irregular sequence containing only contributing positions. This is why the paper describes its proposal as covering the opportunity addressed by Stripes while exposing another one.

Another line of work skips neurons whose entire value is zero. Cnvlutin is the practical example discussed in the paper; the authors also consider a hypothetical system that could skip all such inputs. This comparison prevents a misleading interpretation of bit-level sparsity. Pragmatic’s opportunity is not exhausted by finding zero-valued neurons. Even a non-zero neuron can contain many zero bits and therefore many absent contributions to its products.

The paper’s essential-bit measurements reinforce that distinction by reporting results both over all neurons and over non-zero neurons alone. Removing entirely zero inputs from the population raises the fraction of set bits, as expected, but still leaves substantial unused bit positions. The authors use this observation to motivate a finer unit of skipping than an entire value.

#### Why the memory organization matters

DaDianNao provides the architectural foundation. Its computing tiles receive input neurons and weights through wide interfaces, perform many products concurrently, and retain substantial data on chip. The design aims to reduce expensive off-chip traffic while keeping computation occupied. Pragmatic is proposed as a modification of that organization, so compatibility with its data supply is central to the argument.

An unconstrained bit-skipping design would let every input advance as soon as its useful bits were exhausted. That sounds attractive locally but can destroy a shared memory schedule. Different lanes could request different neurons and weights, turning a coordinated transfer into many unrelated accesses. The paper treats that outcome as undesirable because it would require changes such as partitioning or replicating weight storage and increasing the complexity of neuron delivery.

The challenge is consequently broader than finding the next non-zero bit. The accelerator must preserve enough agreement among lanes to keep wide transfers and weight reuse effective. Pragmatic’s synchronization schemes are not incidental control details. They determine how much of the arithmetic opportunity remains accessible under a realistic memory interface.

The related-work discussion places this design within value-based acceleration: hardware uses properties of the actual operands, beyond the regular structure of the computation, to avoid work. The paper also discusses approaches that reduce communication, exploit compressed representations, support a broader range of [machine-learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/) algorithms, or move computation closer to a sensor. It does not evaluate Pragmatic as a replacement for all of them. Its immediate comparison concerns a particular baseline, an established serial alternative, and the added benefit of exposing nonzero-bit content.

### The method, step by step

Pragmatic changes the route from a stored input value to an accumulated convolution result. The value is fetched normally, converted into useful bit positions, and combined with weights through shifts. Parallel windows provide enough concurrent work to compensate for serial processing. Synchronization and buffering then control how those windows progress through the shared data supply.

From stored neurons to useful convolution terms The steps in order.

#### Begin with the multiplication identity

A binary multiplication can be understood as a collection of shifted copies of one operand, selected by the bits of the other.

```
n × s = ∑ᵢ nᵢ · (s ≪ i)
```

Here, n is the neuron value, s is its corresponding synapse, nᵢ is the bit at position i in n, and the summation visits the represented bit positions. The symbol ≪ denotes a left shift. For an integer bit position, shifting s by i has the effect of multiplying it by the associated power of two. The fixed-point interpretation also depends on the format’s binary-point placement.

When nᵢ is zero, that term contributes zero. A conventional parallel multiplier handles the potential terms together to reduce product latency. Pragmatic instead seeks to issue only terms selected by non-zero neuron bits. The mathematical result does not require adding the omitted zeros.

The paper’s motivating fixed-point example uses an 8-bit unsigned format with 4 integer and 4 fractional bits. The value written as 10.101 in binary needs fewer meaningful positions than the format supplies. Some zeros arise from padding around its useful span; other zeros lie within that span. The example separates a width problem from a representation problem before proposing any hardware.

The same value can be described by its contributing powers: 1, -1, and -3. This description is explicit about which terms exist. It is not necessarily a smaller stored encoding, because each position needs its own description. The method therefore uses it as a transient execution representation.

#### Understand the convolution being reorganized

The accelerator does not change which input values belong to an output. It changes how their products are scheduled and formed.

```
o(k,l,f) = ∑ᵧ₌₀^(F_y−1) ∑ₓ₌₀^(F_x−1) ∑ᵢ₌₀^(I−1) sᶠ(y,x,i) · n(y+l·S,x+k·S,i)
```

In this expression, o(k,l,f) is an output neuron at spatial location k,l for filter f. The function n gives an input neuron, and sᶠ gives a synapse belonging to filter f. The variables x and y traverse the filter’s spatial extent, while i traverses input depth. F_x and F_y describe the spatial filter dimensions, I is the input depth, and S is the stride between successive window positions. The nested sums produce the inner product for a window and filter.

The layer repeats this operation across positions and filters. Inputs are reused across filters, and synapses are reused across windows. Pragmatic’s enlarged parallel organization relies on these relationships instead of demanding an unrelated weight for every concurrent operation.

The paper also gives the spatial output dimensions in terms of the input extent, filter extent, and stride.

```
O_x = (I_x − F_x)/S + 1
```

Here, O_x is the output extent along the horizontal dimension, I_x is the corresponding input extent, F_x is the filter extent, and S is the stride. The expression describes the positions reached by sliding the filter according to that stride.

```
O_y = (I_y − F_y)/S + 1
```

Here, O_y and I_y are the corresponding output and input extents along the other spatial dimension, F_y is the filter extent there, and S again denotes stride.

```
O_i = N
```

O_i is the depth of the output array, and N is the number of filters. Each filter produces its own output feature array.

For discussing transfers, the paper introduces bricks and pallets. A brick contains 16 values contiguous along input depth. A pallet contains 16 bricks drawn from neighboring convolution windows at the layer’s stride. These names describe the groups moved and processed together; they are architectural organization choices rather than changes to convolution.

#### Keep storage conventional and expose useful bits on demand

In the described implementation, neuron memory retains 16-bit fixed-point values. A dispatcher collects the bricks needed for a pallet. Oneffset generators then find the next useful bit in each neuron and broadcast its position to the computing tiles.

A oneffset is the position associated with a non-zero bit. The representation also carries an end-of-neuron signal so that a lane knows when it has no further contributions. The position field uses 4 bits in the described design, and a separate bit indicates completion. A neuron whose entire represented bit pattern is set can require 16 oneffsets.

The paper illustrates the distinction between numeric value and positional description with 5.5 in decimal, written as 0101.1 in binary. Its useful positions are 2, 0, and -1. The computing unit needs the positions to form contributions, while the stored value remains in its ordinary fixed-point representation.

The dispatcher feeds 256 oneffset generators operating concurrently. A leading-one detector is sufficient for the basic conversion mechanism. The authors argue that dispatch and conversion can be pipelined so their latency overlaps arithmetic in the tiles. This overlap is an architectural requirement: if conversion remained exposed on every critical path, counting fewer terms would not by itself establish a faster accelerator.

#### Replace full products with selected shifted terms

For a neuron represented by its useful positions, the product becomes a sum over that list.

```
s × n = ∑_{f ∈ nᴾᴿᴬ} s × 2ᶠ
```

Here, s is the synapse, n is the neuron, nᴾᴿᴬ denotes the explicit collection of contributing positions for n, and f is a position from that collection. Each term multiplies the synapse by the power of two associated with f. The sum reconstructs the original product.

The shift-based form makes the hardware operation more direct.

```
s × n = ∑_{f ∈ nᴾᴿᴬ} (s ≪ f)
```

The symbols retain the same meanings, and ≪ denotes the shift used to align the synapse contribution. The synapse is the operand being shifted. For fixed-point values, the representation determines how those positions map onto the numeric scale.

Each cycle, a lane handles the next useful position instead of the next consecutive bit position. A shifter forms the contribution, an addition tree combines contributions from the current group, and accumulated partial results retain work from earlier cycles. When a lane must wait after finishing its neuron, gating allows it to supply a null contribution.

This execution is serial in useful neuron bits and parallel in synapse width. A neuron with several contributing positions still needs several steps. The expected gain comes from having fewer steps than the full representation requires, together with enough simultaneous work elsewhere in the array.

#### Recover throughput through parallel windows

The paper’s simplified example makes the scheduling argument concrete. A small parallel unit handles neuron–synapse pairs together, while a serial alternative handles more neurons across the same weight reuse opportunities. With reduced precision, Stripes benefits from shortening the regular sequence of processed bit positions. Pragmatic shortens it further by avoiding positions that contain zero.

The general throughput relationship used to explain Stripes is:

```
ideal speedup = 16/p
```

Here, p is the neuron precision selected for a layer, and 16 is the baseline fixed-point width. The expression assumes that enough independent work is processed concurrently to compensate for serial execution. It is an ideal relationship under that scheduling assumption, not a prediction that every layer achieves exactly that speedup.

In DaDianNao, a tile handles 16 filters concurrently and computes 256 neuron–synapse products per cycle. A full chip contains 16 tiles. Inputs are shared across filters, while each filter supplies its own synapses. Pragmatic preserves the broad pattern of shared data delivery but changes the balance between inputs and their processed bits.

A Pragmatic tile combines each weight brick with neuron bricks from 16 windows. Rather than demanding a new independent weight for every added lane, it reuses the same weights across those windows. Across the tile, 256 useful neuron bits are processed in a cycle and combined with the available synapses to form 4K terms.

This is the key throughput exchange. The architecture performs less work on each neuron during a cycle but works on more neurons at once. The additional parallelism comes from convolution windows, while filters provide another shared dimension. A design that copied only the serial multiplier without this surrounding organization would miss the central reason the method can accelerate execution.

#### Preserve a manageable memory schedule

The initial synchronization scheme makes every neuron lane in a pallet advance together. Lanes that finish early wait until the neuron with the most useful bits is complete. The group then moves to the next pallet and its corresponding weights.

This policy preserves shared weight accesses, but its cost is waiting. The number of useful terms averaged across individual neurons does not determine a pallet’s duration. A neuron with unusually many contributing bits can hold back many lanes whose work has already ended.

Fetching the following pallet can overlap the current arithmetic. The paper expresses the resulting timing boundary as:

```
next-pallet interval = max(NM_C, P_C)
```

NM_C is the number of cycles required to obtain the next pallet from neuron memory, and P_C is the number of cycles required to process the current pallet. The max operation selects the longer duration. If memory delivery takes longer, arithmetic savings expose a memory stall instead of producing their full possible speed benefit.

This is why data supply appears throughout the design. Neurons from adjacent windows may be convenient to fetch together, but stride and alignment can spread them across memory rows. The dispatcher must assemble the required set while the computing array works on its predecessor.

#### Organize the arithmetic into reusable inner-product units

The tile contains 256 pragmatic inner-product units, or PIPs. Each PIP combines one window’s neuron contributions with one filter’s synapses. Units processing the same window receive the same oneffsets; units associated with a filter share the relevant weight brick.

Inside a PIP, 16 synapses are paired with their current oneffsets. Shifters align the synapses, an addition tree combines them, and the result contributes to an output accumulation. The straightforward shifter accepts a 16-bit synapse and can move it through 15 bit positions, producing a 31-bit output for the addition tree.

That flexibility has a hardware cost. Many wide shifters and wide addition inputs are replicated across the array. The paper’s next step reduces that duplication without abandoning the bit-skipping principle.

#### Split shifts around the addition tree

A large shift can be decomposed into a smaller relative shift and a common shift.

```
a ≪ K = (a ≪ K′) ≪ C
```

Here, a is the value being shifted, K is its full shift amount, K′ is the relative part of that amount, and C is the common part, with K equal to K′ plus C. The identity allows the same final alignment to be achieved in separate stages.

For a group of terms, the common component can move after the addition.

```
∑ᵢ (Sᵢ ≪ Kᵢ) = (∑ᵢ (Sᵢ ≪ K′ᵢ)) ≪ C
```

Sᵢ is synapse i, Kᵢ is its full requested offset, K′ᵢ is its relative offset after removing C, and C is shared across the group. The summation combines the shifted synapses. Moving the common shift after the sum permits narrower individual shifters and a narrower addition tree before the shared final shifter.

Control chooses a minimum current offset as the common component. Each individual offset is expressed relative to it. If a relative offset is too large for a local shifter, that contribution waits for a later cycle. The transformation therefore trades local flexibility for possible stalls.

The parameter L specifies how many control bits operate each local shifter.

```
supported relative offset < 2ᴸ
```

L is the local shift-control width. The bound states which differences from the shared offset can be handled together during a cycle.

The resulting term-width requirement is:

```
term width = 16 + 2ᴸ − 1
```

The 16 is the synapse width in the evaluated fixed-point design. L again controls the local shift range. The expression describes the width needed before the shared shift, showing why a restricted local range can reduce replicated datapath cost.

The evaluation varies this parameter rather than assuming that the most flexible local shifter is best. The selected configuration uses local shift control of 2 bits because it retains almost all the performance of the larger design while improving its area and energy behavior.

#### Let window groups progress more independently

Per-column synchronization reduces waiting by allowing different window groups to advance separately. Within a group, lanes still wait for their slowest neuron. Across groups, completion no longer needs to coincide.

This independence creates competing weight requests. The paper retains a shared weight-memory interface instead of adding another read port and another wide connection. Only a permitted shared access proceeds during a cycle; a conflicting request can wait.

Synapse set registers, abbreviated SSRs, hold recently fetched weight sets. Once a set enters this buffer, it remains until all relevant groups have copied it. Faster groups can therefore move ahead while slower groups later reuse the same fetched data. This policy keeps the number of weight-buffer reads aligned with the baseline schedule.

The number of SSRs limits how far groups can diverge. That limit also bounds how much input data the dispatcher needs to retain. The evaluation finds that a single SSR provides much of the performance opportunity, with a dispatcher buffer holding two pallets sufficient for that configuration.

#### Add optional software precision guidance

Pragmatic can operate without advance layer-precision information because it discovers useful positions in the actual neuron values. The paper nonetheless investigates whether software can create further savings by eliminating bits that a layer does not need.

The procedure uses profiling to determine layer-specific precision requirements. Software passes this information as metadata. Hardware derives masks and applies them to output neurons before writing them into neuron memory, clearing selected prefix and suffix positions.

There is no new training algorithm for Pragmatic in the paper. The work concerns execution of existing networks, their numeric representations, and the hardware organization that processes them. Precision profiling supplies an additional execution policy; the paper does not present a detailed training or data-split protocol for learning that policy.

This optional stage changes the values retained for subsequent layers. It should therefore be distinguished from omitting exactly zero multiplication terms. The latter follows directly from arithmetic; the former depends on which precision the application can tolerate.

### Experiments and results

#### What the evaluation measures

The evaluation combines cycle-accurate execution simulation with estimates of hardware area and power. The authors use the same methodology across the compared systems and schedule computation so they receive the same synapse reuse and incur the same weight-buffer read energy. That choice helps isolate differences in arithmetic and synchronization instead of allowing one design to benefit from a more favorable weight schedule.

Logic is synthesized with Design Compiler using a TSMC 65nm library. SRAM buffers are assessed with CACTI, while eDRAM area and energy are estimated with Destiny. These are architectural and circuit-estimation results. The paper does not report measurements from a fabricated Pragmatic chip.

The evaluated image-classification networks include AlexNet, NiN, and GoogLeNet, alongside VGG_M, VGG_S, and VGG_19. The paper reports neuron precision profiles for these networks but does not specify a named image dataset, a test split, or the number of evaluated images. Its main reported outcomes are convolution execution time, operation-count opportunity, chip area, power, and energy efficiency.

DaDianNao supplies the main fixed-point baseline. Stripes is the principal competing accelerator in the realized performance comparisons. Cnvlutin and a hypothetical system that skips every zero neuron appear in the arithmetic-opportunity analysis. All primary Pragmatic configurations use software-provided precision guidance unless the experiment explicitly examines its contribution.

#### How much arithmetic is potentially avoidable

The essential-bit measurements show why the authors pursue bit-level skipping. Across all neuron values, the fraction of non-zero bits in the 16-bit representation is 7.8% for AlexNet, 10.4% for NiN, and 6.4% for the network labeled Google in the table. The corresponding VGG entries are 5.1% for VGGM, 5.7% for VGGS, and 12.7% for VGG19.

Restricting the measurement to non-zero neurons raises these fractions but does not eliminate the opportunity. AlexNet reaches 18.1%, NiN 22.1%, and Google 19.0%. The VGG entries are 16.5%, 16.7%, and 24.2%, respectively. Therefore, a large share of bit positions remains zero even after entirely zero values are excluded.

The 8-bit quantized representation uses a greater fraction of its bit positions. Over all neurons, the reported fractions are 31.4% for AlexNet, 27.1% for NiN, and 26.8% for Google. The corresponding VGG values are 38.4%, 34.3%, and 16.5%. Over non-zero neurons, every listed fraction remains below 50%. The paper therefore finds useful bit-level sparsity under both representations, while showing that its size depends strongly on the encoding.

The following comparison counts multiplication terms relative to the fixed-point baseline. It describes an ideal arithmetic opportunity before the practical costs of lane coordination and data supply.

Convolution term counts with a 16-bit fixed-point baseline Explicit nonzero-bit processing exposes savings beyond precision reduction or whole-neuron skipping.

**The numbers**

| System or setting | terms remaining, % of baseline |
| --- | --- |
| Stripes | 53 |
| Hypothetical complete zero-neuron skipping | 39 |
| Cnvlutin | 63 |
| Ideal Pragmatic without precision guidance | 10 |
| Ideal Pragmatic with precision guidance (this paper) | 8 |

These entries count the terms implied by each strategy. They do not say that hardware runs for the same fraction of the baseline’s time. In particular, ideal Pragmatic assumes that the useful terms can be processed without the losses later introduced by shared scheduling.

For the quantized representation, the paper estimates that skipping all zero neurons would eliminate 30% of terms, whereas Pragmatic could remove up to 71%. Its broader conclusion is that narrower numeric storage leaves a further opportunity inside the stored values. Quantization and bit-level skipping address related but distinct sources of arithmetic cost.

#### Realized convolution performance

The single-stage Pragmatic design improves convolution performance by 2.59 on average relative to DaDianNao. The network-specific improvement ranges from 2.11 for VGG19 to 2.97 for VGGM. Stripes reaches an average improvement of 1.85 under the evaluated setup.

Restricted local shifting retains almost all of the larger design’s speed. Both the 2-bit and 3-bit local-shifter variants remain within 0.2% of the single-stage design. Even the variant with no local synapse shifters exceeds Stripes performance by 20% on average, although its common-shift scheduling is more restrictive.

Finer synchronization then improves performance without requiring a fully independent memory path for every group. A single synapse set register raises average speedup to 3.1, approaching the 3.45 ideal reported for the corresponding less constrained comparison.

Average convolution speedup over DaDianNao Bit skipping improves speed, and finer synchronization recovers more of its practical opportunity.

**The numbers**

| System or setting | speedup relative to DaDianNao |
| --- | --- |
| Stripes | 1.85 |
| Pragmatic single-stage shifting | 2.59 |
| Pragmatic with column synchronization and one SSR (this paper) | 3.1 |
| Pragmatic ideal synchronization comparison | 3.45 |

The ideal entry is a reference for remaining synchronization opportunity, not the selected implementable configuration. The comparison shows that useful-bit arithmetic and lane coordination contribute separately: choosing fewer terms is valuable, but organizing their uneven completion is also necessary.

#### Area, power, and energy

The selected pallet-synchronized 2-bit design has a whole-chip area of 122 mm², compared with 90 mm² for DaDianNao and 114 mm² for Stripes. Its reported whole-chip power is 38.2 W, while DaDianNao is 18.8 W and Stripes is 30.2 W. These figures make clear that Pragmatic does not obtain acceleration from a smaller or lower-power chip in the evaluated configuration.

The relevant question is whether reduced execution time compensates for increased power. The energy-efficiency definition is:

```
relative energy efficiency = E_base/E_new
```

E_base is the energy consumed by the baseline to execute the convolutional layers, and E_new is the energy consumed by the compared design for that work. A larger ratio indicates less energy required by the new design.

The unrestricted single-stage design fails this test: it is 5% less energy efficient than DaDianNao. Restricting the local shifts changes the result. The selected 2-bit version improves efficiency by 28%, while the version using column synchronization and a single SSR improves it by 48%.

Energy-efficiency improvement over DaDianNao for convolution Narrower shifting and reduced synchronization waiting turn speed gains into stronger energy savings.

**The numbers**

| System or setting | energy-efficiency improvement, % |
| --- | --- |
| Stripes | 16 |
| Pragmatic with 2-bit local shifting | 28 |
| Pragmatic with column synchronization and one SSR (this paper) | 48 |

The energy result is therefore configuration-specific. A claim that nonzero-bit processing automatically saves energy would miss the paper’s own negative comparison for the straightforward design. Replicated shifter width and synchronization policy determine whether the arithmetic idea pays for its extra hardware.

#### Software guidance and quantized execution

The software experiment attributes an average 19% performance benefit to layer-specific precision guidance for the strongest evaluated configuration. The reported contributions are 23% for AlexNet, 10% for NiN, and 18% for Google. For VGGM, VGGS, and VGG19, they are 22%, 21%, and 19%. The authors also conclude that Pragmatic would outperform the alternatives without this guidance.

The quantization experiment uses the 8-bit representation associated with TensorFlow and gemmlowp. Its 256 available codes are mapped linearly into separately selected neuron and synapse intervals for each layer. The intervals use the observed minimum and maximum values, and the experiment applies the recommended rounding procedure.

With this representation, the performance benefit for the single-SSR column-synchronized configuration is almost 3.5 relative to the quantized baseline. The paper leaves area and energy assessment for these narrower designs to future work. The quantized experiment therefore extends the performance finding across representations without establishing an equally complete energy result.

### What the ablations show

The paper offers a substantial architectural design-space study. Its controlled comparisons change shifter capability, synchronization, buffer capacity, precision guidance, and numeric representation. Together they explain why a large ideal arithmetic reduction becomes a more moderate practical acceleration.

#### Skipping bits adds something beyond skipping values

The term-count comparisons distinguish whole-value sparsity from bit-level sparsity. A zero-neuron accelerator avoids every product associated with a zero input. Pragmatic can also avoid absent contributions inside non-zero inputs. Measuring essential bits over non-zero neurons confirms that the latter opportunity is present rather than merely an indirect reflection of zero-valued activations.

Comparing with Stripes separates another explanation. Stripes already adapts execution to layer precision, so Pragmatic’s additional benefit cannot be attributed only to abandoning the baseline’s fixed width. The explicit list changes which positions are visited inside the useful numeric span.

These are conceptual controls as well as numerical ones. They divide the opportunity into categories that would otherwise be easy to combine under a vague claim about sparsity. The paper’s argument is stronger because it asks whether zeros in entire values, unnecessary representation width, and zeros inside useful values lead to different execution savings.

The ideal term-count experiment still has a clear boundary. It establishes what can be removed arithmetically, rather than what can be removed at full hardware throughput. Its role is to locate the opportunity and motivate the subsequent architecture.

#### Fully flexible shifting is unnecessary for most of the gain

The shifter sweep tests whether every local unit needs the ability to align a synapse across the entire input range. A full-range local shifter is convenient, but it expands both the shift hardware and the addition inputs. Restricting the local range can create extra scheduling steps when current offsets are too far apart.

The near equality of performance for the 2-bit and 3-bit variants and the single-stage design shows that this possible penalty is small in the evaluated workloads. Most useful performance can be retained with a more constrained local operation because a shared shift handles the common alignment.

The no-local-shifter comparison is also informative. Its performance remains above Stripes despite stronger restrictions on which contributions can proceed together. This suggests that eliminating internal zero-bit work is a substantial source of benefit, not an effect that appears only with the most expensive datapath.

The energy results explain why this analysis matters. The single-stage design is fast but loses energy efficiency, whereas the narrower configuration improves it. The winning choice is a balance between work avoided and hardware activated, instead of the configuration with the greatest local flexibility.

#### Group waiting is a measurable bottleneck

Pallet synchronization preserves simple data delivery by making many lanes move together. It also turns variation in useful-bit counts into waiting. Changing to column synchronization directly tests how costly that waiting is.

The improved average speed with a single SSR demonstrates that a meaningful part of the remaining opportunity lies in allowing groups to progress at different rates. It also shows that unrestricted independence is unnecessary to recover much of that benefit. A bounded amount of divergence can be enough.

The register-count study examines the cost of providing more room for that divergence. Additional SSR capacity permits groups to get farther apart but increases hardware resources and power. The selected configuration favors the small buffer because it already captures most of the attractive performance improvement.

This is a practical result about coordination. A design can have very sparse operands and still spend time waiting for the busiest member of a large synchronized group. Exposing sparsity is therefore only part of the method; matching synchronization granularity to that sparsity is another.

#### Precision guidance helps but does not define the method

Removing software guidance tests whether Pragmatic is primarily benefiting from precision information it shares with the earlier approach. The authors report that it still outperforms the alternatives without guidance. Its runtime mechanism therefore has an independent basis: useful positions can be discovered from the values themselves.

Guidance nevertheless adds a meaningful benefit by clearing bits before later layers process them. This intervention reduces the essential-bit content the hardware encounters. It connects an application-level decision about acceptable precision with an execution-level consequence.

The evidence should be read with the paper’s terminology in mind. The associated table describes a fraction of the performance benefit, while the surrounding prose also describes performance improvement due to guidance. It does not provide a full set of guided and unguided execution times from which every possible normalization can be reconstructed.

The safest conclusion is the one common to both descriptions: guidance is an additional source of performance, and the architecture does not depend on it to operate or to retain its reported advantage over the alternatives.

#### Quantization does not exhaust the opportunity

The representation comparison asks whether useful-bit skipping is simply a remedy for a wide fixed-point format. The 8-bit experiment shows a remaining performance benefit after values are placed in a narrower, more flexible numeric interval.

Its essential-bit fractions differ from the fixed-point results, so representation affects the available sparsity. Nonetheless, the approach continues to find absent contributions. The experiment supports combining the ideas rather than treating quantization as a substitute that necessarily removes all bit-level opportunity.

The comparison does not settle every design question for the narrower format. Since its area and energy are not measured, the authors establish performance persistence while leaving the full hardware tradeoff open.

### Limitations

#### The demonstrated scope is convolution execution

The authors explicitly restrict their reported speedups to convolutional layers. These dominate the cited DaDianNao execution profile, which makes the target important, but the paper also states that Pragmatic does not change execution time for the remaining layers.

A careful reader should therefore keep convolution speedup separate from complete-application speedup. The work does not provide a general result for every operation in a network. Its parallel-window organization depends on the workload structure described in the architecture, including repeated weight use and enough independent convolution work.

This boundary also matters when transferring the idea to a language system. The paper contains no language-task evaluation and no demonstration that a different workload supplies the same sharing opportunities. The general arithmetic observation is broader than the measured architecture, but the performance claim remains tied to the evaluated execution structure.

#### The hardware evidence comes from simulation and estimation

The evaluation explicitly uses cycle-accurate simulation, synthesized logic, and memory estimation tools. These methods support controlled architectural comparison, but the paper does not report a fabricated chip running the workloads.

This is a limit visible in the experimental setup, rather than an author claim that the estimates are unreliable. A physical implementation would be a different level of evidence. The reported results establish what the studied design and cost methodology predict under the specified assumptions.

The common scheduling methodology is a strength for comparison because it controls weight reuse. It is also part of the conditions under which the results hold. A different surrounding memory organization could alter which bottleneck dominates after arithmetic work is reduced.

#### The workload and accuracy account is incomplete

The paper names the evaluated networks and gives layer-precision profiles, but it does not supply a named image dataset, an evaluation split, a sample count, or a task-accuracy table. A reader cannot reconstruct the entire workload-selection and accuracy-validation procedure from the reported experimental description alone.

This matters most for precision trimming and quantization. Skipping a term whose bit is already zero preserves that product. Clearing a bit that was previously non-zero changes the represented value, and quantization also changes representation. Those transformations require an application-level justification beyond the multiplication identity.

The paper draws its precision settings from an earlier profiling methodology and explains how they enter the hardware. It does not provide enough accuracy evidence within the experiment to support an unrestricted claim that any chosen trimming policy preserves recognition quality.

The reported consistency with a distribution centered near zero and modified by a rectifier should also be read as an interpretation of the measurements. It is not a proof that all future activation streams have the same useful-bit content.

#### Ideal work reduction is an upper opportunity

The authors explicitly move from ideal term counts to hardware mechanisms that incur coordination costs. This progression prevents the smallest operation count from being mistaken for realized execution time.

A careful reader can see several reasons for the gap. Lanes wait for other lanes, restricted local shifters sometimes defer contributions, and neuron memory can become slower than the arithmetic stage. Conversion and dispatch also need to fit into the pipeline.

Consequently, a low average number of useful bits is necessary evidence for the proposal but insufficient evidence for a particular speedup. The distribution of useful bits across simultaneously processed groups matters, as does the ability to supply and retain the corresponding operands.

The method also does not eliminate all null activity everywhere in the finished architecture. Although its representation selects useful terms, synchronized lanes can supply null terms while waiting. That distinction separates the ideal arithmetic goal from the behavior of a practical shared datapath.

#### Energy benefits depend on the selected design

The single-stage result is an explicit warning against equating fewer issued arithmetic terms with lower total energy. Its wider replicated hardware raises power enough to outweigh the speed improvement in the reported efficiency comparison.

The favorable energy result belongs to the optimized configurations, especially narrower local shifts and finer synchronization. It does not justify a universal claim that any implementation of nonzero-bit processing will improve energy efficiency.

The quantized case has a further author-stated limit: area and energy assessment are left for future investigation. The paper argues that narrower data should reduce absolute costs and expects smaller relative overheads in the larger memory-dominated chip, but those expectations are not measured results for the quantized design.

#### Some reported cost figures do not align

The paper contains inconsistencies between its prose and tables. For the single-SSR column-synchronized configuration, the table gives relative whole-chip area as 1.36 and relative power as 2.06. The nearby discussion instead states area of 1.35 and power of 2.19. These values should be recognized as differing reports rather than silently reconciled into a new estimate.

Likewise, the introduction associates an energy-efficiency ratio of 1.48 with a broad description of the straightforward proposal, while the detailed energy section distinguishes the single-stage, narrower-shift, and column-synchronized configurations. The detailed evaluation assigns the strongest efficiency improvement to the synchronized configuration using the smaller local shifters.

These inconsistencies do not erase the architectural comparisons, but they limit the precision with which every overview statement can be attached to a specific configuration. The most reliable interpretation keeps the configurations separate and uses the detailed comparisons for their respective tradeoffs.

Finally, compatibility with other accelerators is presented as a future direction. The paper argues that its computing units or broader approach might fit other organizations, but it does not demonstrate all such integrations. That possibility remains an engineering hypothesis requiring its own dataflow, cost, and workload evaluation.

### What came after

No later citing work is identified in the available account, so a specific history of follow-up systems or later experimental results cannot be established. The papers discussed in the related-work section supply predecessors and contemporary context; they should not be recast as descendants of Pragmatic.

The authors themselves leave several directions open. They propose investigating compatibility with other accelerator organizations and leave the area and energy evaluation of the quantized designs unfinished. They also identify essential-bit content as something software might influence, beyond the particular precision-mask experiment they evaluate.

The lasting research question is precise: how much execution can depend on the contributions actually present in a value, while retaining an efficient shared memory schedule? Pragmatic demonstrates a concrete answer for convolution through runtime representation conversion, serial useful-bit processing, shared weights, narrower shifts, and bounded independence between window groups. Claims about later adoption, broader workloads, or completed implementations require evidence beyond this paper.

## Cite

Cite as Jorge Albericio, Alberto Delmás, Patrick Judd, Sayeh Sharify, Gerard O’Leary, Roman Genov and Andreas Moshovos. 2017. Bit-pragmatic deep neural network computing. Proceedings of the ... annual International Symposium on Microarchitecture/Proceedings of the annual International Symposium on Microarchitecture.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1145/3123939.3123982](https://doi.org/10.1145/3123939.3123982) · [arXiv 1610.06920](https://arxiv.org/abs/1610.06920)

```bibtex
@inproceedings{albericio2017bit,
  title = {{Bit-pragmatic deep neural network computing}},
  author = {Jorge Albericio, Alberto Delmás, Patrick Judd, Sayeh Sharify, Gerard O’Leary, Roman Genov and Andreas Moshovos},
  booktitle = {Proceedings of the ... annual International Symposium on Microarchitecture/Proceedings of the annual International Symposium on Microarchitecture},
  year = {2017},
  doi = {10.1145/3123939.3123982},
  eprint = {1610.06920},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1145/3123939.3123982}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
