RPFQ-ViT: Rotated Phase-Frame Quantization for Extremely Low-Bit Weights in Vision Transformers
Mengyuan Fan, Bokai Huang, JiaMing Pan, Xiaokun Yuan, Peizhuang Cong, Zhewen Tan, Tong Yang
Abstract
Vision Transformers (ViTs) achieve strong performance on image recognition and mobile vision applications, but their high-dimensional linear projections and attention computations still impose substantial storage and inference costs. Extremely low-bit quantization is a promising solution, yet ViTs often suffer severe accuracy degradation because conventional real-valued scalar codebooks are poorly matched to the directional geometry of Transformer projections. We present RPFQ-ViT, a Rotated Phase-Frame Quantization method that quantizes paired channels in two-dimensional phase planes, enabling low-bit codes to better preserve projection directions while recovering magnitude with lightweight scaling. RPFQ-ViT serves as a drop-in QAT replacement for nn.Linear and does not modify the standard real-valued attention, normalization, or activation computation graph. On ImageNet-1K, RPFQ-ViT-B/16 reaches 79.33% Top-1 / 94.48% Top-5 under W2/A4, Swin-T reaches 79.30% Top-1 / 94.79% Top-5 under W2/A8, and DeiT-S reaches 77.41% Top-1 / 93.11% Top-5 under W2/A8. Ablations, phase-geometry analysis, and direction-preservation metrics show that channel pairing, learnable rotation, phase-anchor learning, and residual phase refinement each improve quantization quality. We further deploy RPFQ-ViT image-classification models on native iOS and Android runtime stacks; with 2-bit packed weights, model size shrinks by roughly - relative to FP32 and end-to-end on-device latency drops by -. All ImageNet results trained in our codebase use a matched 300-epoch recipe and are reported as mean accuracies over three independent runs. These results show that RPFQ-ViT provides a favorable trade-off among accuracy, compression, and practical mobile deployment for extremely low-bit ViTs.
Create a lesson
Metadata
- Comments
- Accepted to NeurIPS 2026. Current preprint version; camera-ready revision forthcoming
Related papers
TWIST: Teacher-Weighted Initial-Noise Spherical Transform for Quality-Preserving Diversity in Distilled Diffusion Models
Shared title terminologycs.CVShayan Baghayi-Nejad, Jeongsol Kim, Jong Chul Ye
CentriQ: Calibration-Free Quantization of Diffusion Transformers via Exact Mean Centering
Shared title terminologycs.CVNataša Jovanović, Mathieu Salzmann, Saqib Javed
Vision Transformer Ensembles for Panoramic Street Segmentation
Shared title terminologycs.CVYunus Serhat Bıçakçı
FLASHSWIN: Unlocking Large Windows and Dense Tokens in Swin Vision Transformers with Memory Efficient Attention
Shared title terminologycs.CVTushar Kataria, Gerald Sabin, Ponnuswamy Sadayappan et al.
FADE: Frame-Aware Diffusion-Transformer-based Multi-Concept Erasure for Video Unlearning
Shared title terminologycs.CVYuchen Li, Kaiyuan Deng, Chaoran Feng et al.
Decoding the Functional Roles of Register and High-Norm Patch Tokens in Vision Transformers
Shared title terminologycs.CVNeel Varma, Andrew Rufail, Dipika Khullar et al.