Reproduce “Oscillation-free Quantization for Low-bit Vision Transformers” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Shih-Yang Liu, Zechun Liu, Kwang-Ting Cheng
Researchers from the Hong Kong University of Science and Technology and Reality Labs developed Oscillation-Free Quantization (OFQ), a suite of techniques to mitigate weight oscillation during Quantization-Aware Training (QAT) for low-bit Vision Transformers. Their method significantly reduces the accuracy gap, achieving up to a 9.88% improvement for 2-bit DeiT-T on ImageNet-1K and enabling 3-bit ViTs to match or surpass full-precision performance.
Key insights
- Learnable scaling factors, commonly used in QAT, are a primary driver of weight oscillation by creating unstable feedback loops with outlier weights.
- Weight oscillation in ViTs is persistent and 'position-agnostic,' with weights constantly entering and exiting the oscillation boundary, preventing true convergence.
- The query-key multiplication in ViT self-attention layers creates a specific interdependence, causing co-oscillation that further destabilizes QAT for these architectures.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.