Skip to main content
QUICK REVIEW

[Paper Review] NullaNet: Training Deep Neural Networks for Reduced-Memory-Access Inference

Mahdi Nazemi, Ghasem Pasandi|arXiv (Cornell University)|Jul 23, 2018
Advanced Neural Network ApplicationsComputer Science12 citations
TL;DR

NullaNet proposes a novel training method that transforms deep neural network layers into Boolean logic functions by constraining activations to binary values, enabling memory-free inference through logic optimization. This approach reduces memory accesses by up to 2,095×, cuts computational cost by 77%, and lowers power consumption by eliminating floating-point operations and DRAM access, achieving high efficiency on FPGAs with minimal accuracy loss.

ABSTRACT

Deep neural networks have been successfully deployed in a wide variety of applications including computer vision and speech recognition. However, computational and storage complexity of these models has forced the majority of computations to be performed on high-end computing platforms or on the cloud. To cope with computational and storage complexity of these models, this paper presents a training method that enables a radically different approach for realization of deep neural networks through Boolean logic minimization. The aforementioned realization completely removes the energy-hungry step of accessing memory for obtaining model parameters, consumes about two orders of magnitude fewer computing resources compared to realizations that use floatingpoint operations, and has a substantially lower latency.

Motivation & Objective

  • To address the high energy and latency costs of memory access in deep neural networks (DNNs), especially on energy-constrained platforms like mobile devices.
  • To eliminate the need for memory access during inference by redefining DNN layers as Boolean functions with binary activations.
  • To achieve substantial reductions in computational and memory resource usage without significant accuracy degradation.
  • To enable efficient hardware realization of DNNs using Boolean logic optimization instead of floating-point arithmetic.
  • To demonstrate that full-precision weights can be preserved while achieving ultra-low memory access and power consumption.

Proposed method

  • Train DNN layers to have binary input and output activations, transforming each layer into a multi-input, multi-output Boolean function.
  • Use offline simulation to extract the truth table of each neuron’s activation behavior under binary inputs.
  • Apply Boolean logic minimization algorithms to optimize the logic function of each neuron, reducing hardware complexity.
  • Implement the optimized Boolean functions using technology mapping and FPGA synthesis, avoiding floating-point operations.
  • Use pipelining and parallelization to achieve low-latency, high-throughput inference on FPGAs.
  • Preserve full-precision floating-point weights and biases, avoiding quantization-induced accuracy loss.

Experimental results

Research questions

  • RQ1Can deep neural network inference be performed without accessing memory for model parameters?
  • RQ2To what extent can Boolean logic optimization reduce hardware resource usage and latency in DNNs?
  • RQ3How does preserving full-precision weights affect accuracy compared to quantized or binarized networks?
  • RQ4What are the gains in energy efficiency and computational savings when replacing MAC operations with Boolean logic?
  • RQ5Can the proposed method achieve high accuracy while eliminating memory access for weights?

Key findings

  • NullaNet reduced memory accesses by up to 2,095× compared to 32-bit floating-point implementations in a CNN, with 110 bits accessed per input patch versus 28.13 KB.
  • The method achieved 77% reduction in memory accesses and 76% reduction in MAC operations for the full network compared to a full-precision baseline.
  • Hardware realization consumed only 15,990 ALMs and 41.77 mW power, with a latency of 14.26 ns, achieving 0.41× and 0.67× the latency of single-precision and half-precision MACs, respectively.
  • Classification accuracy dropped by only 0.29% when using optimized ISFs (implication-specific functions) compared to standard dot-product computation, with a 0.79% drop when quantizing activations to binary.
  • The approach enables inference without any memory access for weights, eliminating the energy cost of DRAM access (up to 13,000× normalized energy per bit).
  • The method achieves two orders of magnitude lower computing resource usage compared to floating-point-based DNN realizations, with minimal accuracy degradation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.