<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>inference speed improvements in binary networks &#8211; Science</title>
	<atom:link href="https://scienmag.com/tag/inference-speed-improvements-in-binary-networks/feed/" rel="self" type="application/rss+xml" />
	<link>https://scienmag.com</link>
	<description></description>
	<lastBuildDate>Thu, 15 Oct 2026 15:52:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://scienmag.com/wp-content/uploads/2024/07/cropped-scienmag_ico-32x32.jpg</url>
	<title>inference speed improvements in binary networks &#8211; Science</title>
	<link>https://scienmag.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">73899611</site>	<item>
		<title>Enhancing BNN storage and performance requirements via efficient quantization and variable encoding</title>
		<link>https://scienmag.com/enhancing-bnn-storage-and-performance-requirements-via-efficient-quantization-and-variable-encoding/</link>
		
		<dc:creator><![CDATA[Blake Davidson]]></dc:creator>
		<pubDate>Thu, 15 Oct 2026 15:52:50 +0000</pubDate>
				<category><![CDATA[Science News]]></category>
		<category><![CDATA[Technology and Engineering]]></category>
		<category><![CDATA[Binary neural network optimization]]></category>
		<category><![CDATA[efficient]]></category>
		<category><![CDATA[efficient quantization in deep learning]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[enhancing]]></category>
		<category><![CDATA[FPGA acceleration of binary models]]></category>
		<category><![CDATA[fully connected layer footprint reduction]]></category>
		<category><![CDATA[hardware-efficient neural network deployment]]></category>
		<category><![CDATA[impact of quantization on model size and performance]]></category>
		<category><![CDATA[inference speed improvements in binary networks]]></category>
		<category><![CDATA[low-power edge device deep learning]]></category>
		<category><![CDATA[memory access bottleneck in BNNs]]></category>
		<category><![CDATA[model compression techniques for BNNs]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[quantization]]></category>
		<category><![CDATA[requirements]]></category>
		<category><![CDATA[Scientific Research]]></category>
		<category><![CDATA[state-of-the-art binary neural network architectures]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[variable]]></category>
		<category><![CDATA[variable encoding for neural networks]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=275777</guid>

					<description><![CDATA[Binary neural networks have long promised to bring deep learning to the smallest and most power-hungry devices on the planet. By storing every weight and input as a single bit, they slash memory requirements and replace the expensive multiply-accumulate operations]]></description>
										<content:encoded><![CDATA[<p>Binary neural networks have long promised to bring deep learning to the smallest and most power-hungry devices on the planet. By storing every weight and input as a single bit, they slash memory requirements and replace the expensive multiply-accumulate operations of conventional networks with simple XNOR and popcount functions that even modest hardware can execute at speed. Yet a team of computer architects at the Universitat Politècnica de Catalunya in Barcelona has shown that this promise has been quietly undermined by an overlooked bottleneck: the sheer number of memory accesses needed to load binary weights, and the surprisingly large footprint of the network&#8217;s final, fully connected output layer. Their new study, published in Frontiers in High Performance Computing, demonstrates that careful compression and quantization can shrink binary models by 1.5 times on average while accelerating inference by 2.2 times on a low-cost FPGA board, all without sacrificing the accuracy that makes these networks competitive.</p>
<p>The research, led by Marc Ordoñez and Franyell Silfa together with Antonio González, targets state-of-the-art binary models such as ReActNet and PokeBNN, which have recently closed the accuracy gap with full-precision networks designed for edge devices. ReActNet, for instance, achieves a top-1 accuracy of 69.4 percent on the ImageNet benchmark, within striking distance of the 72 percent obtained by MobileNet V2, a convolutional network explicitly tailored to constrained hardware. But the storage story is less flattering: ReActNet requires 29 million bits, actually slightly more than the 27 million bits of its full-precision rival. The Barcelona group observed that most of this footprint comes from two places: the 3 by 3 binary convolutional kernels, which account for 55.6 percent of ReActNet&#8217;s storage, and the output layer, which consumes another 36.3 percent. In PokeBNN the imbalance is even more dramatic, with the output layer alone representing 47.1 percent of the entire model.</p>
<p>The first key insight emerged from a simple frequency analysis. In a binarized 3 by 3 kernel, each channel consists of nine one-bit values, so there are exactly 512 possible bit sequences. In theory, all of them could appear with equal likelihood. In practice, the distribution is heavily skewed. For ReActNet, the 16 most common sequences account for 46 percent of all sequences in a representative block, and in some layers just 32 individual sequences cover more than half of everything. Across all blocks, the 256 most frequent sequences reach up to 92 and 96 percent of usage in the two models. Sequences composed entirely of zeros or ones alone represent a quarter of the total. This long-tailed distribution is precisely the kind of statistical structure that compression schemes exploit best.</p>
<p>To capitalize on it, the researchers designed a variable-length encoding based on a deliberately simplified Huffman tree. Rather than building a full Huffman tree with hundreds of nodes, which would demand complex decoding hardware or optimized lookup tables, they limited each tree to just four nodes. The first bits of each encoded sequence identify which node, and therefore which decode table, it belongs to, while the remaining bits address the table directly. For the chosen allocation, codeword lengths of 6, 8, 9, and 12 bits emerge, with the shortest codes reserved for the very-high-frequency tier. The result is that nearly half of all sequences can be stored using only 6 bits instead of the canonical 9. On its own, this Huffman encoding compresses the binary kernels by roughly 1.2 times.</p>
<p>The team then added a second, more aggressive optimization. They noticed that many rarely used bit sequences could be replaced by more common ones that differ by only a single bit, corresponding to flipping just one weight, without any measurable impact on network accuracy. Using a greedy nearest-neighbor heuristic based on Hamming distance, each uncommon sequence is paired with its most frequent one-bit-different counterpart, and the replacement is accepted only if validation accuracy remains unchanged. This conservative substitution raises the frequency of the top 32 sequences to 65 percent on average, pushing the kernel compression ratio to 1.32 times for ReActNet and 1.3 times for PokeBNN. Because the scheme works entirely offline and the network&#8217;s original accuracy is preserved, the transformation is essentially free.</p>
<p>The output layer posed a different and thornier challenge. To maintain competitive accuracy, binary networks conventionally store their final fully connected classifier weights as 16-bit floating-point values, which magnifies storage and slows execution. The Barcelona group found that applying traditional symmetric linear quantization to this layer severely damages accuracy, even at high bit widths of 16 bits, because the weight distribution is heavily skewed: more than 90 percent of ReActNet&#8217;s output weights are negative, while more than 70 percent of PokeBNN&#8217;s are positive. Symmetric quantization wastes half of its representable range on values that barely exist. Clipping the outliers, a common remedy, is also harmful; in ReActNet, treating 2.5 percent of the largest weights as outliers and clipping them drops accuracy by 1.2 percent even at 16-bit precision.</p>
<p>The solution, which the authors call split quantization, divides the output-layer weights into three regions: normal values clustered around the mean, positive outliers, and negative outliers. The boundary is set systematically using the standard deviation of the weight distribution, with a constant k of 1.5 classifying roughly 12 percent of weights as outliers. Normal values receive a very small bit-width, while outliers are quantized with a symmetric range split into separate positive and negative intervals, each with its own quantization step. The weight distribution is centered by shifting it by the group average before rounding, and an extra half-step shift corrects a subtle rounding error that becomes significant at low precision. Two bit-masks, one marking outliers and one marking their sign, allow the hardware to route each value to the correct accumulator during the dot product. Operating at 8 bits for normal values and 4 bits for outliers, split quantization compresses the output layer by 2.8 times with no accuracy loss at all, and by up to 4.9 times for PokeBNN with accuracy loss below 1 percent. The scheme is entirely post-training, requiring no retraining or fine-tuning of the published models.</p>
<p>Software alone, however, could not deliver these gains. When the researchers implemented kernel compression on the ARM Cortex-A9 processor of their test board, the overhead of decoding and repacking the variable-length sequences made execution 1.47 times slower than the uncompressed baseline. Similarly, split quantization on the CPU suffered a 1.3 times slowdown because standard instruction sets cannot efficiently handle bit-widths below 8 bits. The team therefore extended a previously proposed FPGA accelerator, based on the FracBNN design, with dedicated hardware. A new decoding unit streams compressed sequences from main memory, parses the node prefix, reads the sequence length from a small table, and retrieves the uncompressed 9-bit value from a 1-kilobyte BRAM-backed scratchpad, all while overlapping the next memory fetch with ongoing computation. A packing unit then channel-packs the decoded sequences into 128-bit registers for the convolution engine. For the output layer, the matrix-vector multiplication engine was extended with mask buffers and a runtime quantization unit for the input activations, which themselves can be compressed by up to 6 times without affecting accuracy.</p>
<p>The complete system was synthesized for a PYNQ-Z1 board containing a Xilinx Zynq-7000 SoC and evaluated end-to-end on ImageNet. The results are striking. The output layer, which the analysis showed accounts for nearly 50 percent of storage and 60 percent of execution latency in these models, runs 13 to 55 times faster depending on the chosen bit-width, thanks to fewer bytes fetched from memory and smaller multipliers in the vector engine. End-to-end speedups of 2.2 times for ReActNet and 2.3 times for PokeBNN were achieved, while combined kernel compression and output-layer quantization reduced overall model storage by 1.55 and 1.51 times respectively, without any accuracy loss. The added hardware is remarkably frugal: the decoding unit requires only about 1.5 kilobytes of internal storage, and the modified matrix-vector unit uses just 12 to 27 percent of the board&#8217;s lookup tables, far less than an equivalent floating-point implementation would demand.</p>
<p>The implications reach well beyond image classification. The researchers are careful to note that split quantization is most beneficial when the output layer represents a large fraction of the model, as in tasks with many classes like ImageNet&#8217;s 1000 categories; for a 200-class classifier the projected overall compression drops to about 1.32 times, and for a 10-class task to 1.26 times, with the remaining benefit coming almost entirely from kernel compression, which remains effective regardless of class count. Conversely, in large-vocabulary applications such as face recognition or speech recognition, the gains would grow. Because both techniques reduce the bytes moved per inference, energy per inference is expected to improve roughly in proportion to the 2.2 times latency gain, even though peak power remains dominated by the unchanged convolution engine. As edge devices proliferate and neural inference migrates from data centers to doorbells, hearing aids, and medical sensors, this work suggests that the humble binary network, properly compressed, may finally deliver on its founding bargain: full-precision accuracy at one-bit cost.</p>
<p><strong>Subject of Research:</strong> Enhancing BNN storage and performance requirements via efficient quantization and variable encoding</p>
<p><strong>Article Title:</strong> Enhancing BNN storage and performance requirements via efficient quantization and variable encoding</p>
<p><strong>Article References:</strong> Enhancing BNN storage and performance requirements via efficient quantization and variable encoding. (n.d.). <a href="https://doi.org/10.3389/fhpcp.2026.1853655" rel="noopener noreferrer">https://doi.org/10.3389/fhpcp.2026.1853655</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.3389/fhpcp.2026.1853655" rel="noopener noreferrer">10.3389/fhpcp.2026.1853655</a></p>
<p><strong>Keywords:</strong> Enhancing, storage, performance, requirements, efficient, quantization, variable, encoding, scientific research</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">275777</post-id>	</item>
	</channel>
</rss>
