HarmoQ: Harmonized Post-Training Quantization for High-Fidelity Image

Hongjun Wang, Jiyuan Chen, Xuan Song, Yinqiang Zheng
11/8/2025
eess.IVcs.CV

No confident code implementation found for this paper.

Abstract

Post-training quantization offers an efficient pathway to deploy super-resolution models, yet existing methods treat weight and activation quantization independently, missing their critical interplay. Through controlled experiments on SwinIR, we uncover a striking asymmetry: weight quantization primarily degrades structural similarity, while activation quantization disproportionately affects pixel-level accuracy. This stems from their distinct roles--weights encode learned restoration priors for textures and edges, whereas activations carry input-specific intensity information. Building on this insight, we propose HarmoQ, a unified framework that harmonizes quantization across components through three synergistic steps: structural residual calibration proactively adjusts weights to compensate for activation-induced detail loss, harmonized scale optimization analytically balances quantization difficulty via closed-form solutions, and adaptive boundary refinement iteratively maintains this balance during optimization. Experiments show HarmoQ achieves substantial gains under aggressive compression, outperforming prior art by 0.46 dB on Set5 at 2-bit while delivering 3.2x speedup and 4x memory reduction on A100 GPUs. This work provides the first systematic analysis of weight-activation coupling in super-resolution quantization and establishes a principled solution for efficient high-quality image restoration.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2025harmoq,
  title  = {HarmoQ: Harmonized Post-Training Quantization for High-Fidelity Image},
  author = {Hongjun Wang and Jiyuan Chen and Xuan Song and Yinqiang Zheng},
  year   = {2025},
  eprint = {2511.05868},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.05868v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.05868.svg)](https://codeofpaper.com/paper/2511.05868)

Discussion