Beyond Similarity Entropy: A Rank-Guided Data-Free Quantization Framework for Vision Transformers
Runqing Jiang, Ye Zhang, Pengpeng Yu, Zhuo Song, Changjun Li, Longguang Wang, Yulan Guo
Key points
From the paper's conclusion- We first observe that patch similarity matrices derived from Gaussian noise tend to have lower ranks than those derived from real images.
Abstract
Vision Transformers (ViTs) have demonstrated remarkable performance, yet their computational and memory demands pose significant challenges for deployment on mobile devices. Data-free quantization (DFQ) enables the compression of ViTs without access to their original training data. Existing DFQ methods often synthesize calibration samples by maximizing the entropy of patch similarity. However, similarity entropy describes the dispersion of similarity values without ensuring that the generated samples cover diverse feature directions, potentially limiting their effectiveness for quantization calibration. To address this limitation, we propose RankQ-ViT, a rank-guided DFQ framework for ViTs. We first observe that patch similarity matrices derived from Gaussian noise tend to have lower ranks than those derived from real images. Motivated by this observation, we introduce a block-aware self-contrastive objective that promotes feature diversity during synthetic data generation without explicitly computing matrix rank at each optimization step. We then select calibration samples based on their rank and semantic consistency and use them for block-wise reconstruction of the quantized model. Experiments on ImageNet, COCO, ModelNet40, and ShapeNet demonstrate the effectiveness of RankQ-ViT across multiple architectures and tasks, particularly under low-bit quantization. The code is available at https://github.com/Runqing-forMost/rankq-vit.git
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LOAD: Enabling Low-Bit Group Quantization for Vision Transformers via Adaptive Data FormatsACM Transactions on Architecture and Code Optimization · 2026
- Calibrate in Context: Efficient Data-Free Quantization from Small Synthetic PoolsarXiv · 2026
- Test-Time Adaptation of Quantized ViTs via Single-Pass Quantizer-Aligned RecalibrationarXiv · 2026
- CASQ: Configuration-Aware Sensitivity for Mixed-Precision Quantization of Vision TransformersElectronics · 2026
- LRQ-Cache: Compressing Feature Caches in Video Diffusion via Low-Rank Approximation and QuantizationarXiv · 2026
- S $^{2}$ Q-VDiT$^+$: Accurate Quantized Video Diffusion Transformer with Multi-Resolution Sampling and Structural Distillation.IEEE transactions on pattern analysis and machine intelligence · 2026