same same but different
play

Same, Same But Different Recovering Neural Network Quantization - PowerPoint PPT Presentation

Same, Same But Different Recovering Neural Network Quantization Error Through Weight Factorization Eldad Meller ICML 2019 Neural Network Quantization Quantization of Neural Networks is needed for efficient inference Quantization adds


  1. Same, Same But Different Recovering Neural Network Quantization Error Through Weight Factorization Eldad Meller ICML 2019

  2. Neural Network Quantization • Quantization of Neural Networks is needed for efficient inference • Quantization adds noise to the network and degrades its performance

  3. Quantization Dynamic Range • The most common quantization setting is layer-wise quantization where all the channels in a layer are quantized using the same dynamic range • Equalizing the dynamic range of all the channels in a layer by amplifying channels with small dynamic range will reduce overall quantization noise

  4. A simple trick to amplify channels • For any homogeneous activation functions • Any channel in the network can be scaled by any positive scalar if the weights in the consecutive layer are properly inversely scaled • The network's output remains unchanged

  5. Network Equalization

  6. Network Equalization

  7. Quantization Degradation on Imagenet[%]

  8. Quantization Degradation on Imagenet[%]

  9. Summary • Equalization is an easy to use post-training quantization method to recover quantization noise in neural networks • Can be applied to any network • A novel approach to quantization by searching for the best equivalent representation • The method can be combined with other quantization methods - e.g. quantization-aware training and smart clipping

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend