QuantDemoire: Quantization with Outlier Aware for Image Demoiréing

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Chen, Zheng, Zhang, Kewei, Liu, Xiaoyang, Zhang, Weihang, Wang, Mengfan, Fu, Yifan, Zhang, Yulun
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915533721436160
author Chen, Zheng
Zhang, Kewei
Liu, Xiaoyang
Zhang, Weihang
Wang, Mengfan
Fu, Yifan
Zhang, Yulun
author_facet Chen, Zheng
Zhang, Kewei
Liu, Xiaoyang
Zhang, Weihang
Wang, Mengfan
Fu, Yifan
Zhang, Yulun
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_04066
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle QuantDemoire: Quantization with Outlier Aware for Image Demoiréing
Chen, Zheng
Zhang, Kewei
Liu, Xiaoyang
Zhang, Weihang
Wang, Mengfan
Fu, Yifan
Zhang, Yulun
Computer Vision and Pattern Recognition
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.
title QuantDemoire: Quantization with Outlier Aware for Image Demoiréing
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2510.04066