Skip to main content
QUICK REVIEW

[Paper Review] Improving Neural Network Quantization using Outlier Channel Splitting

Ritchie Zhao, Yuwei Hu|arXiv (Cornell University)|Jan 28, 2019
Advanced Neural Network ApplicationsComputer Science8 citations
TL;DR

This paper proposes Outlier Channel Splitting (OCS), a technique that duplicates channels with extreme weight values, halves their magnitudes, and redistributes them to reduce quantization error without retraining. OCS improves quantized model accuracy on ImageNet and language modeling tasks, outperforming state-of-the-art clipping methods with minimal computational overhead on commodity hardware.

ABSTRACT

Quantization can improve the execution latency and energy efficiency of neural networks on both commodity GPUs and specialized accelerators. The majority of existing literature focuses on training quantized DNNs, while this work examines the less-studied topic of quantizing a floating-point model without (re)training. DNN weights and activations follow a bell-shaped distribution post-training, while practical hardware uses a linear quantization grid. This leads to challenges in dealing with outliers in the distribution. Prior work has addressed this by clipping the outliers or using specialized hardware. In this work, we propose outlier channel splitting (OCS), which duplicates channels containing outliers, then halves the channel values. The network remains functionally identical, but affected outliers are moved toward the center of the distribution. OCS requires no additional training and works on commodity hardware. Experimental evaluation on ImageNet classification and language modeling shows that OCS can outperform state-of-the-art clipping techniques with only minor overhead.

Motivation & Objective

  • To address the challenge of quantizing pre-trained deep neural networks without retraining, especially due to outlier values in weight and activation distributions.
  • To improve quantization accuracy on commodity hardware by mitigating the impact of extreme values that do not align with linear quantization grids.
  • To develop a method that maintains model functionality while reducing quantization error caused by outliers, without requiring specialized hardware or additional training.
  • To evaluate the effectiveness of OCS on standard benchmarks such as ImageNet classification and language modeling tasks.

Proposed method

  • OCS identifies channels in a pre-trained neural network whose weights contain extreme outliers that deviate significantly from the central distribution.
  • For each outlier channel, the method duplicates the channel and halves the magnitude of the weights in the duplicated copy.
  • The original and duplicated channels are then combined in a way that preserves the overall network function, effectively shifting the outlier values toward the center of the distribution.
  • This redistribution reduces the quantization error introduced by linear quantization grids, which are poorly aligned with the skewed, bell-shaped distributions of weights and activations.
  • The technique is applied post-training and requires no fine-tuning or retraining, making it compatible with existing inference pipelines.
  • The method is implemented efficiently on standard hardware, incurring only a minor increase in model size and inference cost.

Experimental results

Research questions

  • RQ1Can a post-training quantization method reduce quantization error caused by outlier weights without retraining or specialized hardware?
  • RQ2How does OCS compare to existing clipping-based quantization techniques in terms of accuracy and efficiency on standard benchmarks?
  • RQ3To what extent does OCS improve model accuracy on ImageNet classification and language modeling tasks after quantization?
  • RQ4Does the functional equivalence of the network remain preserved after outlier channel splitting, despite changes in weight distribution?

Key findings

  • OCS outperforms state-of-the-art clipping-based quantization techniques in terms of top-1 accuracy on ImageNet classification.
  • The method achieves higher accuracy than clipping on language modeling tasks, demonstrating its effectiveness across diverse model types.
  • OCS incurs only a minor increase in model size and inference cost, making it practical for deployment on commodity hardware.
  • The technique maintains functional equivalence to the original model after quantization, as the network behavior remains unchanged despite weight redistribution.
  • By relocating outlier values toward the center of the distribution, OCS reduces the mismatch between the actual weight distribution and the linear quantization grid.
  • The improvement is achieved without any retraining, highlighting the effectiveness of structural modification as a post-processing quantization strategy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.