Pith. sign in

REVIEW 3 cited by

PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantization

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2111.12293 v3 pith:XSECNHBJ submitted 2021-11-24 cs.CV

classification cs.CV
keywords quantizationvisiontransformersaccuracyactivationdifferentdropgreat
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Quantization is one of the most effective methods to compress neural networks, which has achieved great success on convolutional neural networks (CNNs). Recently, vision transformers have demonstrated great potential in computer vision. However, previous post-training quantization methods performed not well on vision transformer, resulting in more than 1% accuracy drop even in 8-bit quantization. Therefore, we analyze the problems of quantization on vision transformers. We observe the distributions of activation values after softmax and GELU functions are quite different from the Gaussian distribution. We also observe that common quantization metrics, such as MSE and cosine distance, are inaccurate to determine the optimal scaling factor. In this paper, we propose the twin uniform quantization method to reduce the quantization error on these activation values. And we propose to use a Hessian guided metric to evaluate different scaling factors, which improves the accuracy of calibration at a small cost. To enable the fast quantization of vision transformers, we develop an efficient framework, PTQ4ViT. Experiments show the quantized vision transformers achieve near-lossless prediction accuracy (less than 0.5% drop at 8-bit quantization) on the ImageNet classification task.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. I-Segmenter: Integer-Only Vision Transformer for Efficient Semantic Segmentation

    cs.CV 2025-09 conditional novelty 5.0 of 10

    I-Segmenter is an integer-only Vision Transformer for semantic segmentation that keeps mIoU within roughly 5 points of the FP32 baseline while cutting model size by up to 3.8x.

  2. QuantV2X: A Fully Quantized Multi-Agent System for Cooperative Perception

    cs.CV 2025-09 conditional novelty 5.0 of 10

    QuantV2X shows that a fully quantized multi-agent fusion system reduces end-to-end latency by 3.2x and improves system-level mAP30 by 9.5 over a full-precision system on the V2X-Real dataset.

  3. DFQ-ViT: Data-Free Quantization for Vision Transformers without Fine-tuning

    cs.CV 2025-07 conditional novelty 5.0 of 10

    DFQ-ViT combines easy-to-hard synthetic sample generation with activation correction to quantize vision transformers without data or fine-tuning, outperforming PSAQ-ViT and roughly matching real-data calibration.

Pith tools