QuantDemoire: Quantization with Outlier Aware for Image Demoiréing

1Shanghai Jiao Tong University, 2Central Media Technology Institute, Huawei
*Indicates Equal Contribution. Indicates Corresponding Author
QuantDemoire Example Illustration

QuantDemoire achieves large reductions in parameters and computation while maintaining quality. Meanwhile, it outperforms existing quantization methods by over 4 dB on W4A4.

Abstract

Demoiréing aims to remove moiré artifacts that often occur in images. While recent deep learning-based methods have achieved promising results, they typically require substantial computational resources, limiting their deployment on edge devices. Model quantization offers a compelling solution. However, directly applying existing quantization methods to demoiréing models introduces severe performance degradation. The main reasons are distribution outliers and weakened representations in smooth regions. To address these issues, we propose QuantDemoire, a post-training quantization framework tailored to demoiréing. It contains two key components. First, we introduce an outlier-aware quantizer to reduce errors from outliers. It uses sampling-based range estimation to reduce activation outliers, and keeps a few extreme weights in FP16 with negligible cost. Second, we design a frequency-aware calibration strategy. It emphasizes low- and mid-frequency components during fine-tuning, which mitigates banding artifacts caused by low-bit quantization. Extensive experiments validate that our QuantDemoire achieves large reductions in parameters and computation while maintaining quality. Meanwhile, it outperforms existing quantization methods by over 4 dB on W4A4.

Method

QuantDemoire Overview
QuantDemoire Overview

QuantDemoire consists of two key components: (1) Outlier-aware quantizer: Reduces errors from outliers; (2) Frequency-aware calibration strategy: Emphasizes low- and mid-frequency components during fine-tuning, mitigating banding artifacts caused by low-bit quantization.

Performance

QuantDemoire Performance Comparison
Performance Comparison in 3, 4, 6, and 8 Bits

QuantDemoire outperforms existing quantization methods across multiple metrics:

  • PSNR: 4 dB higher than previous quantization methods on W4A4

Results

Quantitative Results (click to expand)
  • Quantitative Results (Tab. 4 of the main paper)

Qualitative Results (click to expand)
  • Visual Results (Fig. 6 of the main paper)

    More Results (click to expand)
    • More results on UHDM (Fig. 1 of the supplementary material)

    • More results on LCDMoiré (Fig. 2 of the supplementary material)

BibTeX

@inproceedings{chen2025quantdemoire,
    title={QuantDemoire: Quantization with Outlier Aware for Image Demoiréing},
    author={Chen, Zheng and Zhang, Kewei and Liu, Xiaoyang and Zhang, Weihang and Wang, Mengfan and Fu, Yifan and Zhang, Yulun},
    journal={arXiv preprint arXiv:2510.04066},
    year={2025}
}