Skip to main content
QUICK REVIEW

[논문 리뷰] Qimera: Data-free Quantization with Synthetic Boundary Supporting Samples

Kanghyun Choi, Deokki Hong|arXiv (Cornell University)|2021. 11. 04.
Advanced Neural Network ApplicationsComputer Science인용 수 26
한 줄 요약

Qimera는 경계 지원 샘플을 겹친 잠재 임베딩으로 생성해 데이터-프리 양자화를 개선하고 CIFAR 및 ImageNet 벤치마크에서 최첨단 결과를 달성합니다.

ABSTRACT

Model quantization is known as a promising method to compress deep neural networks, especially for inferences on lightweight mobile or edge devices. However, model quantization usually requires access to the original training data to maintain the accuracy of the full-precision models, which is often infeasible in real-world scenarios for security and privacy issues. A popular approach to perform quantization without access to the original data is to use synthetically generated samples, based on batch-normalization statistics or adversarial learning. However, the drawback of such approaches is that they primarily rely on random noise input to the generator to attain diversity of the synthetic samples. We find that this is often insufficient to capture the distribution of the original data, especially around the decision boundaries. To this end, we propose Qimera, a method that uses superposed latent embeddings to generate synthetic boundary supporting samples. For the superposed embeddings to better reflect the original distribution, we also propose using an additional disentanglement mapping layer and extracting information from the full-precision model. The experimental results show that Qimera achieves state-of-the-art performances for various settings on data-free quantization. Code is available at https://github.com/iamkanghyunchoi/qimera.

연구 동기 및 목표

  • 원래 학습 데이터가 프라이버시나 보안 문제로 사용 불가능할 때 데이터-프리 양자화의 필요성을 제시한다.
  • 이전의 데이터-프리 방법들에서 경계-지원 샘플이 누락된 부분임을 확인한다.
  • 경계 샘플을 합성하기 위해 겹친 잠재 임베딩을 사용하는 제너레이터 아키텍처를 제안한다.
  • 분리 해석 매핑 계층과 임베딩 초기화를 도입해 임베딩을 평평하게 하고 실제 데이터 분포를 반영한다.

제안 방법

  • 사전 학습된 전체 정밀도 모델 P의 결정 경계 근처에서 합성 샘플을 생성하는 제너레이터 G를 사용한다.
  • 임베딩 공간을 합성하기 전에 평평하게 만드는 분리 해석 매핑 M을 도입해 샘플의 경계 근접성을 향상시킨다.
  • P의 마지막 완전 연결 계층 가중치를 임베딩의 클래스 센트로로 사용하여 추출 임베딩 초기화를 적용한다.
  • 경계가 풍부한 샘플을 선호하도록 CE 기반 가이던스를 활용하고, 이전의 데이터-프리 양자화 방법에서 차용한 손실 함수를 이용해 G와 양자화 모델 Q를 함께 학습한다.
  • 실제 학습 데이터를 접근하지 않고도 per-class 임베딩과 겹친 임베딩의 혼합으로 경계-지원 데이터를 생성한다.

실험 결과

연구 질문

  • RQ1전체 정밀도 모델의 결정 경계에 근접한 합성 샘플이 데이터-프리 양자화 성능을 향상시키는가?
  • RQ2,

주요 결과

  • Qimera는 CIFAR-10, CIFAR-100 및 ImageNet 전반에서 ZeroQ, ZAQ, GDFQ 기준치를 능가하는 성능을 지속적으로 보여주며, 특히 4w4a 설정에서 큰 차이를 보인다.
  • 시각적 및 정량적 분석은 Qimera가 생성한 샘플이 클래스 군집 사이의 경계 영역을 채우는 반면, 이전 생성기는 클래스 중심에 근접하는 경향이 있음을 보여준다.
  • 구성 요소 제거 연구에서 겹친 임베딩이 상당한 이득을 제공하고, 분리 해석 매핑과 추출 임베딩 초기화로 추가 이득이 나타나며, ImageNet에서 이 구성 요소들로부터 가장 큰 이득이 나타난다.
  • Qimera는 대형 데이터셋(ImageNet)과 더 큰 모델(ResNet-50, MobileNetV2)에서도 데이터-프리 양자화 성능을 개선하며, 기준선 및 Mixup/Cutmix 같은 개선 방법보다 우수한 경우가 있다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.