Optimal Brain Quantizer: Pruning's Second-Order Legacy

The Optimal Brain Quantizer (OBQ), emerging from the Optimal Brain Surgeon (OBS) framework, applies second-order information principles (first seen in Optimal Brain Damage for pruning in 1989) to quantization. OBQ iteratively quantizes weights one-by-one based on their impact on loss increase, then applies a closed-form update to unquantized weights, efficiently reducing loss and shrinking models.

The top 3

  1. OBQ's Pruning Pedigree: From Optimal Brain Damage to Surgeon: The Optimal Brain Quantizer (OBQ) is a direct extension of the classical Optimal Brain Surgeon (OBS) framework, originally developed for pruning. OBS, in turn, refined the earlier Optimal Brain Damage (OBD) method by leveraging a less restrictive assumption about the Hessian matrix to more accurately identify and remove unimportant weights.
  2. Hessian's Hand: OBQ's Iterative Weight Optimization: Optimal Brain Quantizer (OBQ) employs an iterative, one-at-a-time quantization strategy. It leverages second-order information from the Hessian matrix to precisely evaluate each weight's impact on loss and then applies a closed-form update to the remaining unquantized weights, effectively minimizing accuracy degradation during compression.
  3. OBQ's Compression Edge: 12x Reduction with Minimal Accuracy Loss: The Optimal Brain Compression (OBC) framework, which includes OBQ for quantization, can achieve up to a 12x reduction in theoretical operations with only a 2% accuracy drop for GPU-supported compound compression, significantly improving upon existing post-training methods' compression-accuracy trade-offs.

Sources

Open the full topic