Jumping through Local Minima: Quantization in the Loss Landscape of Vision Transformers

N. Frumkin, Dibakar Gope, D. Marculescu
2/14/2026

No official code found. Best implementation: enyac-group/evol-q (14 stars, Apache-2.0, last commit 2023-10-22).

Abstract

Quantization scale and bit-width are the most important parameters when considering how to quantize a neural network. Prior work focuses on optimizing quantization scales in a global manner through gradient methods (gradient descent & Hessian analysis). Yet, when applying perturbations to quantization scales, we observe a very jagged, highly non-smooth test loss landscape. In fact, small perturbations in quantization scale can greatly affect accuracy, yielding a 0.5 – 0.8% accuracy boost in 4-bit quantized vision transformers (ViTs). In this regime, gradient methods break down, since they cannot reliably reach local minima. In our work, dubbed Evol-Q, we use evolutionary search to effectively traverse the non-smooth landscape. Additionally, we propose using an infoNCE loss, which not only helps combat overfitting on the small calibration dataset (1, 000 images) but also makes traversing such a highly non-smooth surface easier. Evol-Q improves the top-1 accuracy of a fully quantized ViT-Base by 10.30%, 0.78%, and 0.15% for 3-bit, 4-bit, and 8-bit weight quantization levels. Extensive experiments on a variety of CNN and ViT architectures further demonstrate its robustness in extreme quantization scenarios. Our code is available at https: // github.com/enyac-group/evol-q .

View on arXivView PDF

Code Implementations(1)

enyac-group/evol-qCommunity100%
Apache-2.0

Quantization in the Jagged Loss Landscape of Vision Transformers

142Shell, PythonAug 14, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{frumkin2026jumping,
  title  = {Jumping through Local Minima: Quantization in the Loss Landscape of Vision Transformers},
  author = {N. Frumkin and Dibakar Gope and D. Marculescu},
  year   = {2026},
  eprint = {2308.10814},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2308.10814},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.10814.svg)](https://codeofpaper.com/paper/2308.10814)

Discussion