NeurIPS 2026QuestionsPapersAreasAboutMarkdown

QuantDemoire: Quantization with Outlier Aware for Image Demoiréing

Zheng Chen, Kewei Zhang, Xiaoyang Liu, Kai Liu, Weihang Zhang, Mengfan Wang, Yifan Fu, Yulun Zhang

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Efficient LLM Inference & Training › Low-bit Post-Training Quantization · Type: new method · Keywords: image demoiréing, post-training quantization, outlier-aware quantizer, frequency-aware calibration, edge device inference

Summary

QuantDemoire is a post-training quantization framework for image demoiréing that uses an outlier-aware quantizer and a frequency-aware calibration to preserve quality while drastically reducing parameters and computation.

Explained to a 5-year-old

Some pictures have weird wavy lines that make them look blurry, and we call that moiré. Making a computer fix these pictures usually needs a lot of computer power. We found a way to make the computer fix them using less power. This way keeps the pictures looking good and runs faster. It helps phones and small devices show better pictures without using too much energy.

Explained to a 5-year-old, longer

When you take a picture of a screen or a pattern, sometimes you see weird wavy lines that make the picture look blurry. These wavy lines are called moiré artifacts. Deep learning models have been made to remove these artifacts, but they need a lot of computer power. This makes them hard to use on small devices like phones or cameras. Quantization is a trick to make models smaller and faster, but it often hurts picture quality. The problem is that some numbers in the model are very far from the others, and the model loses details in smooth parts of the picture. To solve this, we design a special quantizer that notices these far-away numbers and keeps them in a higher precision format. We also add a calibration step that pays more attention to the low- and middle-frequency parts of the picture. This helps avoid banding, which is when smooth areas become striped. The result is a model that uses far fewer parameters and runs much faster. Yet it still removes the moiré lines and keeps the picture looking sharp. The new method can be used on edge devices, making real-time image enhancement possible without heavy hardware.

For a technical reader

The paper addresses the challenge of deploying image demoiréing models on resource-limited devices by reducing model size and computation. It introduces an outlier-aware quantization technique that uses sampling to estimate activation ranges and retains extreme weights in higher precision. A frequency-aware calibration step emphasizes low- and mid-frequency components during fine-tuning to prevent banding artifacts. The implementation includes a custom CUDA kernel for mixed-precision execution, achieving a 2.3× speedup on an RTX 4090. Experimental results show significant parameter and compute savings while maintaining quality and outperforming existing quantization baselines by over 4 dB on W4A4.

Problem

Demoiréing models are computationally heavy, making deployment on edge devices difficult. Directly quantizing these models leads to severe performance loss due to activation outliers and weakened representations in smooth regions.

Method

The approach employs an outlier-aware quantizer that uses sampling-based range estimation to reduce activation outliers and retains extreme weights in higher precision. It also applies a frequency-aware calibration that emphasizes low- and mid-frequency components during fine-tuning to mitigate banding artifacts. A CUDA kernel implements mixed-precision branches for efficient execution.

Results

The approach achieves large reductions in parameters and computation while maintaining quality, and it outperforms existing quantization methods by over 4 dB on W4A4. Additionally, the mixed-precision kernel yields a 2.3× end-to-end speedup on an RTX 4090 GPU.

Contributions

A post-training quantization framework that handles outliers and frequency characteristics for demoiréing, along with an efficient mixed-precision CUDA kernel implementation. The framework demonstrates significant parameter and compute savings while preserving image quality and surpassing prior quantization baselines.

Practical relevance

The framework enables efficient deployment of demoiréing models on resource-constrained edge devices, facilitating real-time image enhancement on consumer hardware.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction