Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
119 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

HEMP: High-order Entropy Minimization for neural network comPression (2107.05298v1)

Published 12 Jul 2021 in cs.LG, cs.AI, cs.IT, and math.IT

Abstract: We formulate the entropy of a quantized artificial neural network as a differentiable function that can be plugged as a regularization term into the cost function minimized by gradient descent. Our formulation scales efficiently beyond the first order and is agnostic of the quantization scheme. The network can then be trained to minimize the entropy of the quantized parameters, so that they can be optimally compressed via entropy coding. We experiment with our entropy formulation at quantizing and compressing well-known network architectures over multiple datasets. Our approach compares favorably over similar methods, enjoying the benefits of higher order entropy estimate, showing flexibility towards non-uniform quantization (we use Lloyd-max quantization), scalability towards any entropy order to be minimized and efficiency in terms of compression. We show that HEMP is able to work in synergy with other approaches aiming at pruning or quantizing the model itself, delivering significant benefits in terms of storage size compressibility without harming the model's performance.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Enzo Tartaglione (68 papers)
  2. Stéphane Lathuilière (79 papers)
  3. Attilio Fiandrotti (27 papers)
  4. Marco Cagnazzo (7 papers)
  5. Marco Grangetto (37 papers)
Citations (7)

Summary

We haven't generated a summary for this paper yet.