Logic Synthesis of Binarized Neural Networks for Efficient Circuit Implementation
Journal
IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
Date Issued
2021
Author(s)
Chi C
Abstract
Neural networks (NNs) are key to deep learning systems. Their efficient hardware implementation is crucial to applications at the edge. Binarized NNs (BNNs), where the weights and output of a neuron are of binary values {-1,+1❵ (or encoded in {0,1❵), have been proposed. As no multiplier required, binarized neural networks are particularly attractive and suitable for hardware realization. Most prior NN synthesis methods target on hardware architectures with neural processing elements (NPEs), where the weights of a neuron are loaded and the output of the neuron is computed. The load-and-compute method, though area efficient, requires expensive memory access, which deteriorates energy and performance efficiency. In this work we aim at synthesizing BNN layers into dedicated logic circuits. We formulate the corresponding model pruning problem and matrix covering problem to reduce the area and routing cost of BNNs. For model pruning, we propose and compare three strategies at the BNN training stage. For matrix covering, we propose a scalable logic-sharing algorithm. By combining these two methods, experimental results justify the effectiveness of the method in terms of area and net savings on FPGA implementation. Our method provides an alternative implementation of BNNs, and can be applied in combination with NPE-based implementation for area, speed, and power tradeoffs. IEEE
Subjects
binarized neural network
Biological neural networks
Complexity theory
Convolution
Integrated circuit interconnections
Integrated circuit modeling
Logic gates
logic synthesis
matrix covering.
model pruning
Neurons
Computer circuits
Deep learning
Learning systems
Logic circuits
Logic Synthesis
Memory architecture
Timing circuits
Circuit implementation
FPGA implementations
Hardware architecture
Hardware implementations
Hardware realization
Neural networks (NNS)
Neural-processing
Performance efficiency
Neural networks
Type
journal article