[논문 리뷰] An Overview of Neural Network Compression
이 논문은 신경망 압축 기법에 대한 시의적절한 개요를 제공합니다. 가중치 공유, 가지치기, 텐서 분해, 지식 증류, 양자화와 함께 평가 지표 및 향후 방향을 다룹니다.
Overparameterized networks trained to convergence have shown impressive performance in domains such as computer vision and natural language processing. Pushing state of the art on salient tasks within these domains corresponds to these models becoming larger and more difficult for machine learning practitioners to use given the increasing memory and storage requirements, not to mention the larger carbon footprint. Thus, in recent years there has been a resurgence in model compression techniques, particularly for deep convolutional neural networks and self-attention based networks such as the Transformer. Hence, this paper provides a timely overview of both old and current compression techniques for deep neural networks, including pruning, quantization, tensor decomposition, knowledge distillation and combinations thereof. We assume a basic familiarity with deep learning architectures\footnote{For an introduction to deep learning, see ~\citet{goodfellow2016deep}}, namely, Recurrent Neural Networks~\citep[(RNNs)][]{rumelhart1985learning,hochreiter1997long}, Convolutional Neural Networks~\citep{fukushima1980neocognitron}~\footnote{For an up to date overview see~\citet{khan2019survey}} and Self-Attention based networks~\citep{vaswani2017attention}\footnote{For a general overview of self-attention networks, see ~\citet{chaudhari2019attentive}.},\footnote{For more detail and their use in natural language processing, see~\citet{hu2019introductory}}. Most of the papers discussed are proposed in the context of at least one of these DNN architectures.
연구 동기 및 목표
- 대규모 과매parameter화된 네트워크와 자원 제약으로 인한 모델 압축 필요성 동기 부여.
- 주요 계열(가중치 공유, 가지치기, 텐서 분해, 증류, 양자화) 전반에 걸친 구조화된 압축 기법 개요 제공.
- 평가 지표와 재훈련 및 실제 시스템 배포를 포함한 실무 고려사항 논의.
- CNN 및 트랜스포머 같은 대규모 구조의 응용 및 경향 하이라이트와 향후 연구 방향 제시.
제안 방법
- 가중치 공유, 가지치기, 텐서 분해, 지식 증류, 양자화 등 주요 압축 기법을 체계적으로 조사.
- 비구조화 대 구조화 가지치기 등 방법 카테고리화 및 사전 학습/사후 학습 접근 방식 논의.
- 압축 모델을 평가하는 데 사용된 평가 지표와 실용적 재훈련 필요성 요약.
- 각 카테고리 내 주목할 만한 기법 설명(예: Gaussian mixture weight sharing, GrOWL, loss-sensitivity pruning, DEQ/DEM, universal transformers).
실험 결과
연구 질문
- RQ1깊은 신경망에 어떤 압축 기법이 존재하고 그것은 어떻게 작동하는가?
- RQ2이 방법들은 정확도, 모델 크기 및 계산량 사이에서 어떤 트레이드오프를 보이는가?
- RQ3트랜스포머와 CNN과 같은 대규모 아키텍처에 압축 기법을 어떻게 효과적으로 적용할 수 있는가?
- RQ4평가 지표 중 모델 압축 및 재훈련 요구의 효과를 가장 잘 포착하는 것은 무엇인가?
주요 결과
- 압축 기법은 가중치 공유, 가지치기, 텐서 분해, 지식 증류, 양자화에 걸쳐 있으며 성능 회복을 위해 재훈련이 종종 필요하다.
- 가중치 공유와 군집화는 다양한 아키텍처에서 성능을 유지하면서 매개변수를 상당히 줄일 수 있다.
- 가중치 크기 기반 및 손실 민감도 접근법을 포함한 가지치기 방법은 재훈 training을 통해 컴팩트한 네트워크를 얻을 수 있다.
- 저계수 텐서 분해 및 자기 주의(Self-attention) 및 합성곱 계층의 분해는 현대 네트워크에서 매개변수 감소를 가능하게 한다.
- 지식 증류와 양자화는 효과적인 압축 전략이며 재훈련 및 데이터 고려사항이 결과에 영향을 준다.
- 평가는 일반적으로 정확도 대 모델 크기와 FLOPs, 배포를 위한 메모리 footprint 고려와 함께 사용된다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.