Skip to main content
QUICK REVIEW

[논문 리뷰] AdderNet and its Minimalist Hardware Design for Energy-Efficient Artificial Intelligence

Yunhe Wang, Mingqiang Huang|arXiv (Cornell University)|2021. 01. 25.
Advanced Memory and Neural ComputingEngineering참고 문헌 40인용 수 22
한 줄 요약

이 논문은 기존의 곱셈 기반 컨볼루션을 단순히 덧셈 연산으로 대체하는 새로운 신경망 아키텍처인 AdderNet을 제안한다. 이는 에너지 효율성과 하드웨어 효율성을 크게 향상시킨다. int8/int16 정밀도 양자화와 최소한의 FPGA 기반 하드웨어 설계를 조합함으로써, AdderNet은 CNN보다 최대 77.9% 낮은 전력 소비와 67.6% 적은 논리 자원 사용을 달성하면서도 ImageNet 및 CIFAR-10 벤치마크에서 유사한 정확도를 유지한다.

ABSTRACT

Convolutional neural networks (CNN) have been widely used for boosting the performance of many machine intelligence tasks. However, the CNN models are usually computationally intensive and energy consuming, since they are often designed with numerous multiply-operations and considerable parameters for the accuracy reason. Thus, it is difficult to directly apply them in the resource-constrained environments such as 'Internet of Things' (IoT) devices and smart phones. To reduce the computational complexity and energy burden, here we present a novel minimalist hardware architecture using adder convolutional neural network (AdderNet), in which the original convolution is replaced by adder kernel using only additions. To maximally excavate the potential energy consumption, we explore the low-bit quantization algorithm for AdderNet with shared-scaling-factor method, and we design both specific and general-purpose hardware accelerators for AdderNet. Experimental results show that the adder kernel with int8/int16 quantization also exhibits high performance, meanwhile consuming much less resources (theoretically ~81% off). In addition, we deploy the quantized AdderNet on FPGA (Field Programmable Gate Array) platform. The whole AdderNet can practically achieve 16% enhancement in speed, 67.6%-71.4% decrease in logic resource utilization and 47.85%-77.9% decrease in power consumption compared to CNN under the same circuit architecture. With a comprehensive comparison on the performance, power consumption, hardware resource consumption and network generalization capability, we conclude the AdderNet is able to surpass all the other competitors including the classical CNN, novel memristor-network, XNOR-Net and the shift-kernel based network, indicating its great potential in future high performance and energy-efficient artificial intelligence applications.

연구 동기 및 목표

  • IoT 및 모바일 장치와 같은 자원 제약 환경에서 딥러닝 모델의 높은 에너지 소비와 계산 비용을 해결하기 위해.
  • 기존 CNN에서 전력 소모가 높은 다중화-누적(MAC) 연산에 대한 의존도를 줄이기 위해.
  • 덧셈 기반 신경망에 특화된 최소한의 에너지 효율적인 하드웨어 가속기 설계를 위해.
  • 덧셈 기반 계산 프레임워크 내에서 저정밀도 양자화(int8/int16)를 통해 높은 정확도를 달성하기 위해.
  • 기존 대안들인 XNOR-Net, 메모리스터 네트워크, 시프트 기반 네트워크와 비교해 뛰어난 성능과 효율성을 확보하기 위해.

제안 방법

  • 표준 컨볼루션 레이어를 입력 특징 맵과 학습 가능한 커널 가중치 간의 절대 차이의 합으로 출력을 계산하는 어드더 커널로 대체한다.
  • 모델 정확도를 유지하면서 저비트(int8/int16) 추론을 가능하게 하는 공유 스케일링 요소 양자화 방법을 구현한다.
  • 효율적인 덧셈 기반 계산을 위해 2A(두 개의 덧셈기) 아키텍처를 사용한 전용 FPGA 기반 하드웨어 가속기를 설계한다.
  • 멀티플라이어를 제거하고 복잡한 논리 회로를 최소화함으로써 논리 영역과 전력 소비를 최소화하는 하드웨어 설계를 최적화한다.
  • 표준 CNN과 동일한 회로 제약 조건에서 AdderNet을 FPGA에 구현하고 벤치마크를 수행하여 공정한 비교를 수행한다.
  • 절대 차이 연산의 미분 가능 근사치를 사용한 표준 백프로파게이션을 통해 AdderNet을 훈련 및 미세조정한다.

실험 결과

연구 질문

  • RQ1덧셈 전용 신경망 아키텍처가 계산 에너지를 크게 줄이면서도 표준 CNN과 유사한 정확도를 달성할 수 있는가?
  • RQ2저비트 양자화(int8/int16)가 어드더 기반 네트워크의 성능과 에너지 효율성에 어떤 영향을 미치는가?
  • RQ3기존 CNN과 비교해 AdderNet을 FPGA에 구현할 경우 하드웨어 자원과 전력 소비에 어떤 오버헤드가 발생하는가?
  • RQ4XNOR-Net, DeepShift, 메모리스터 기반 네트워크와 같은 최신 에너지 효율 네트워크와 비교해 AdderNet은 효율성과 정확도에서 어떤가?
  • RQ5공유 스케일링 요소 양자화 방법이 낮은 비트 폭에서 정확도를 효과적으로 유지할 수 있는가? 특히 심각한 정보 손실 없이?

주요 결과

  • int8/int16 양자화를 적용한 AdderNet은 ImageNet-1K에서 76.6%의 Top-1 정확도, CIFAR-10에서 91.78%의 Top-1 정확도를 달성하여 정밀도가 높은 CNN과 유사한 성능을 유지한다.
  • FPGA 기반에서 AdderNet은 추론 속도가 16% 빠르며, 논리 자원 사용량이 67.6%~71.4% 감소하고, 전력 소비는 47.85%~77.9% 감소한다.
  • 2A 하드웨어 아키텍처는 비교기보다 회로 복잡도가 낮아 효율적인 덧셈 계산을 가능하게 하며, 면적과 전력 오버헤드를 감소시킨다.
  • XNOR-Net, DeepShift, 메모리스터 네트워크, 시프트 커널 네트워크와 비교해 AdderNet은 저정밀도 설정에서 에너지 효율성, 하드웨어 프로필, 정확도 유지 측면에서 뛰어난 성능을 보였다.
  • 공유 스케일링 요소 양자화 방법은 int8 및 int16에서 안정적인 성능을 제공하지만, 4비트 정밀도에서는 정보 손실로 인해 정확도가 크게 떨어진다.
  • 포괄적인 벤치마크 결과, AdderNet은 다양한 엣지 AI 응용 분야에서 성능, 에너지 효율성, 하드웨어 자원 사용의 균형을 뛰어나게 확보하고 있음을 확인했다.

더 나은 연구,지금 바로 시작하세요

논문 읽기부터 검토까지, 연구 시간을 획기적으로 줄여보세요.

카드 등록 없음 · 무료 플랜 제공

이 리뷰는 AI가 만들고, 인간 에디터가 검토했습니다.