QuantDemoire: Quantization with Outlier Aware for Image Demoiréing

Zheng Chen, Kewei Zhang, Xiaoyang Liu, Weihang Zhang, Mengfan Wang +2 more
10/5/2025
cs.CV

Official code: zhengchen1999/QuantDemoire (7 stars, last commit 2026-02-04).

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. Code is released at: https://github.com/zhengchen1999/QuantDemoire.

View on arXivView PDF

Code Implementations(1)

PyTorch code for our paper "QuantDemoire: Quantization with Outlier Aware for Image Demoiréing"

70Oct 5, 20258 months ago

Similar Papers

Cite this paper

@article{chen2025quantdemoire,
  title  = {QuantDemoire: Quantization with Outlier Aware for Image Demoiréing},
  author = {Zheng Chen and Kewei Zhang and Xiaoyang Liu and Weihang Zhang and Mengfan Wang and Yifan Fu and Yulun Zhang},
  year   = {2025},
  eprint = {2510.04066},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.04066v1}
}

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/2510.04066.svg)](https://codeofpaper.com/paper/2510.04066)

Discussion