To improve the throughput and energy efficiency of Deep Neural Networks (DNNs) on customized hardware, lightweight neural networks constrain the weights of DNNs to be a limited combination (denoted as $k\in\{1,2\}$) of powers of 2. In such networks, the multiply-accumulate operation can be replaced with a single shift operation, or two shifts and an add operation. To provide even more design flexibility, the $k$ for each convolutional filter can be optimally chosen instead of being fixed for every filter. In this paper, we formulate the selection of $k$ to be differentiable, and describe model training for determining $k$-based weights on a per-filter basis. Over 46 FPGA-design experiments involving eight configurations and four data sets reveal that lightweight neural networks with a flexible $k$ value (dubbed FLightNNs) fully utilize the hardware resources on Field Programmable Gate Arrays (FPGAs), our experimental results show that FLightNNs can achieve 2$\times$ speedup when compared to lightweight NNs with $k=2$, with only 0.1\% accuracy degradation. Compared to a 4-bit fixed-point quantization, FLightNNs achieve higher accuracy and up to 2$\times$ inference speedup, due to their lightweight shift operations. In addition, our experiments also demonstrate that FLightNNs can achieve higher computational energy efficiency for ASIC implementation.
Quantized neural network for complex hologram generation
Institute of Science and Engineering, Kanazawa University(金泽大学科学与工程学院);Science and Technology Unit, Natural Sciences Cluster, Kochi University(高知大学自然科学集群科学技术单元);University of Cambridge(剑桥大学);Graduate School of Engineering, Chiba University(千叶大学工程研究生院)
Democratizing planetary-scale analysis: An ultra-lightweight Earth embedding database for accurate and flexible global land monitoring
The University of Hong Kong(香港大学);Pengcheng Laboratory(鹏城实验室);Tsinghua University(清华大学);The Hong Kong Polytechnic University(香港理工大学);Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);Sun Yat-sen University(中山大学)