LSQ+: Improving low-bit quantization through learnable offsets and better initialization. (arXiv:2004.09576v1 [cs.CV])

[Submitted on 20 Apr 2020]

Download PDF

Abstract: Unlike ReLU, newer activation functions (like Swish, H-swish, Mish) that are
frequently employed in popular efficient architectures can also result in
negative activation values, with skewed positive and negative ranges. Typical
learnable quantization schemes [PACT, LSQ] assume unsigned quantization for
activations and quantize all negative activations to zero which leads to
significant loss in performance. Naively using signed quantization to
accommodate these negative values requires an extra sign bit which is expensive
for low-bit (2-, 3-, 4-bit) quantization. To solve this problem, we propose
LSQ+, a natural extension of LSQ, wherein we introduce a general asymmetric
quantization scheme with trainable scale and offset parameters that can learn
to accommodate the negative activations. Gradient-based learnable quantization
schemes also commonly suffer from high instability or variance in the final
training performance, hence requiring a great deal of hyper-parameter tuning to
reach a satisfactory performance. LSQ+ alleviates this problem by using an
MSE-based initialization scheme for the quantization parameters. We show that
this initialization leads to significantly lower variance in final performance
across multiple training runs. Overall, LSQ+ shows state-of-the-art results for
EfficientNet and MixNet and also significantly outperforms LSQ for low-bit
quantization of neural nets with Swish activations (e.g.: 1.8% gain with W4A4
quantization and upto 5.6% gain with W2A2 quantization of EfficientNet-B0 on
ImageNet dataset). To the best of our knowledge, ours is the first work to
quantize such architectures to extremely low bit-widths.

Submission history

From: Yash Bhalgat [view email]
[v1]
Mon, 20 Apr 2020 19:04:51 UTC (156 KB)

Source: https://arxiv.org/abs/2004.09576

Rodion Krotov
Written by
Rodion Krotov
📧
Stay Ahead of the Market
Get the latest crypto, gambling, and presale news delivered to your inbox weekly.
No spam. Unsubscribe anytime.

Related Articles

Comments

📰 Latest Articles

🔥 Most Read

🎰 Top Casino

Stake ★★★★★ 9.5
Up to $3,000
200% welcome bonus + 50 free spins
No KYC Instant Withdrawals VIP Program
BTC ETH USDT SOL LTC DOGE +4
BC.Game ★★★★★ 9.2
Up to $20,000
300% deposit bonus across 4 deposits
100+ Cryptos Provably Fair Live Casino
BTC ETH USDT SOL DOGE BNB +2
Betway ★★★★★ 8.8
Up to $1,500
100% match bonus + 150 free spins
Licensed UK & Malta Mobile App eCOGRA Certified
BTC ETH Visa Mastercard Apple Pay Skrill +2

🚀 Hot Presale

Patos $PATOS
★★★★☆ 7.8
0.000139999993 Round 1 of 3
$110K+ raised $11M (Liquidity Pool Target)
Ends:
--D
--H
--M
--S
Ethereum Solana
Remittix $RTX
★★★★☆ 8.2
$0.0119 Late Stage (93%+ sold)
$29.7M raised $30M
Ends:
--D
--H
--M
--S
Ethereum Solana
Moonshot MAGAX $MAGAX
★★★★☆ 6.8
$0.000318 Stage 3
$115K+ raised $500K
Ends:
--D
--H
--M
--S
Ethereum