atlas

Research map / Architectures and efficiency / Quantization

2DQuant: Low-bit Post-Training Quantization for Image Super-Resolution

NeurIPS 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of ViTs

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes 2DQuant, a two-stage post-training quantization method for transformer-based image super-resolution (SwinIR-light) combining MSE-based bound initialization (DOBI) with distillation-based calibration (DQC).

Problem

Low-bit post-training quantization of transformer-based image super-resolution models degrades quality because weight and activation distributions are asymmetric, long-tailed and unlike the CNN models studied previously.

Approach

A coarse-to-fine two-stage PTQ: DOBI searches clipping bounds per quantizer using distribution-specific MSE search (symmetric narrowing for bell-shaped data, fixed-min right-bound search for exponential-like data), then DQC fine-tunes the bounds by distilling output and intermediate features from the FP model with an STE-based gradient.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add DOBI and DQC together to the quantization pipeline (ablation)SwinIR-light 4-bit PTQ · Set5 ×2PSNR: 34.39 -> 37.87Helped
Add DOBI initialization before DQC (ablation)SwinIR-light 4-bit PTQ · Set5 ×2PSNR: 37.32 -> 37.87Helped
Add DQC after DOBI (ablation)SwinIR-light 4-bit PTQ · Set5 ×2PSNR: 37.44 -> 37.87Helped
Set DQC learning rate to 10^-1 instead of 10^-2 (ablation)2DQuant · Set5 ×2PSNR: 37.87 -> 37.82Hurt
Set DQC learning rate to 10^-3 instead of 10^-2 (ablation)2DQuant · Set5 ×2PSNR: 37.87 -> 37.78Hurt
Set DQC learning rate to 10^-4 instead of 10^-2 (ablation)2DQuant · Set5 ×2PSNR: 37.87 -> 37.74Hurt
Reduce DQC batch size from 32 to 4 (ablation)2DQuant · Set5 ×2PSNR: 37.87 -> 37.82Hurt
Reduce DQC batch size from 32 to 8 (ablation)2DQuant · Set5 ×2PSNR: 37.87 -> 37.83Hurt
Reduce DQC batch size from 32 to 16 (ablation)2DQuant · Set5 ×2PSNR: 37.87 -> 37.84Hurt

Surprising findings

Limitations

Experimental setup

Datasets: DF2K DIV2K Flickr2K Set5

Benchmarks: Set5 Set14 B100 Urban100 Manga109

Metrics: PSNR SSIM

Baselines: MinMax Percentile DBDC+Pac EDSR

Builds on: DBDC+Pac SwinIR Straight-Through Estimator

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy