- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper presents the first quantization framework tailored to image demoiréing. The authors identify two key issues: scattered outliers in demoiréing models and quantization-induced degradation of low-/mid-frequency representations. To address them, they propose a sampling-based outlier-aware quantizer and a frequency-aware calibration strategy, while preserving weight outliers in FP16. The method achieves strong low-bit quantization performance and includes an optimized CUDA kernel for efficient mixed-precision inference.
Strengths and weaknesses
Strengths
-
The frequency-aware calibration strategy that focuses on low-/mid-frequency components is well motivated and particularly relevant to quantization artifacts in demoiréing.
-
Extensive ablation studies are provided to verify the effectiveness of the proposed design choices.
-
The paper includes a customized CUDA implementation for the element-wise mixed-precision branch, improving the practical value of the proposed method.
Weaknesses
-
The proposed Sampling-Based Activation Quantizer suppresses outlier effects through random sampling. However, the stochastic nature of this strategy raises concerns about its robustness and stability.
-
The proposed Sampling-Based Activation Quantizer shares a similar objective with prior outlier-suppression methods such as OmniQuant and RepQuant. Comparisons with these approaches would strengthen the evaluation.
-
FAC extracts low-/mid-frequency components via iterative Gaussian filtering. It remains unclear whether this approximation introduces bias into the calibration loss. Comparisons with alternative frequency decomposition methods (e.g., Fourier or wavelet transforms) would help justify this design choice.
-
The optimal value of L in FAC may be highly dependent on image content, including moiré frequency and image resolution. For different types of moiré patterns, such as screen moiré versus fabric moiré, it is unclear whether the definition of low-/mid-frequency components remains consistent.
Questions
-
The Sampling-Based Activation Quantizer seems not inherently tied to the specific properties of demoiréing models. Would it also be effective for other image restoration models with similar architectures?
-
Isolating weight outliers and keeping them in high precision has been explored in prior works such as LLM.int8() and SpQR. What are the key differences or new contributions of this paper compared with these methods?
-
The Sampling-Based Activation Quantizer estimates smoothing factors and quantization boundaries through random sampling. What advantages does this strategy offer over learnable smoothing factors, as in OmniQuant, or learnable quantization boundaries, as in RepQuant?
-
The ablation study does not appear to include a “frequency-aware calibration only” setting. If the initial boundary estimation is poor, can FAC still effectively compensate for the quantization error?
Limitations
yes
Paper formatting concerns
No
Final justification
Thank you for the authors' thoughtful responses and additional experiments. The authors' clarifications have provided me with a clearer understanding of the contributions of this work, and the additional results have effectively addressed my previous concerns regarding the stability, effectiveness, and generalization of the proposed method. Therefore, I will increase my score from 3 to 4 (Borderline accept).
Nevertheless, I still have some reservations regarding the novelty of the proposed approach, and I would appreciate the AC's careful consideration of this aspect in the final decision.
Response to Reviewer w13n (denoted as R3)
Q3-1The proposed Sampling-Based Activation Quantizer suppresses outlier effects through random sampling. However, the stochastic nature of this strategy raises concerns about its robustness and stability.A3-1Thank you for the comment. We provide both theoretical and empirical evidence for the stability of our sampling strategy.Theoretical analysis. Sec. H.1 shows that sampling-based range estimation is equivalent to dynamic percentile clipping. Using the Delta Method, the standard deviations of the equivalent percentile are only 6.522×10−4, 6.596×10−5, and 6.653×10−6 for activation sizes N=106, 107, and 108, respectively, indicating negligible sampling variance.
Empirical verification. Sec. H.2.1 shows that across five independent runs, the standard deviations of PSNR, SSIM, and LPIPS are only 0.0014, 0.0003, and 0.0004, respectively. These results confirm that our sampling strategy is stable and reproducible. Moreover, sampling is used only during calibration, while the resulting quantization parameters remain fixed during inference.
Q3-2The Sampling-Based Activation Quantizer estimates smoothing factors and quantization boundaries through random sampling. What advantages does this strategy offer over learnable smoothing factors, as in OmniQuant, or learnable quantization boundaries, as in RepQuant?A3-2Thank you for the comment. Unlike methods that directly learn smoothing factors or quantization boundaries, our sampling strategy provides a distribution-aware initialization before calibration. As analyzed in Sec. H.1, it is equivalent to dynamic percentile clipping and automatically adapts to the activation-tensor size. Sec. H.2.4 further shows that sampling-based initialization remains advantageous after applying the same boundary optimization.Evaluation. We evaluate OmniQuant [2] and RepQuant [10] under the same UHDM W4A4 setting.
QuantDemoire achieves the best results across all three metrics, demonstrating that sampling provides a more reliable initialization for the activation outliers in demoiréing models.
Q3-3FAC extracts low-/mid-frequency components via iterative Gaussian filtering. It remains unclear whether this approximation introduces bias into the calibration loss. Comparisons with alternative frequency decomposition methods (e.g., Fourier or wavelet transforms) would help justify this design choice.A3-3Thank you for the comment. To examine whether Gaussian filtering introduces bias into FAC, we replace it with FFT and wavelet frequency decomposition while keeping all other settings identical.FAC outperforms FFT and wavelet. These results indicate that iterative Gaussian filtering does not introduce harmful bias and provides an effective frequency decomposition for demoiréing calibration.
Q3-4The optimal value of L in FAC may be highly dependent on image content, including moiré frequency and image resolution. For different types of moiré patterns, such as screen moiré versus fabric moiré, it is unclear whether the definition of low-/mid-frequency components remains consistent.A3-4Thank you for the comment. To evaluate the content sensitivity of L, we randomly sample 100 images and determine the optimal L among 1, 3, 5 for each image independently. Among them, 98 images achieve their highest PSNR at L=3, despite variations in image content and moiré patterns. This result indicates that L=3 is stable across the evaluated images. Overall, L=3 provides the optimal choice across different types of moiré patterns and image content.Q3-5The Sampling-Based Activation Quantizer seems not inherently tied to the specific properties of demoiréing models. Would it also be effective for other image restoration models with similar architectures?A3-5Thank you for the comment. To evaluate its generalization beyond demoiréing, we apply the Sampling-Based Activation Quantizer to SwinIR for image super-resolution on Urban100 under W8A8, while keeping all other settings identical.These results demonstrate that the proposed quantizer generalizes to other image-restoration models beyond demoiréing.
Q3-6Isolating weight outliers and keeping them in high precision has been explored in prior works such as LLM.int8() and SpQR. What are the key differences or new contributions of this paper compared with these methods?A3-6Thank you for the comment. We agree that retaining outliers in high precision is not itself new. QuantDemoire differs mainly in the outlier structure and its convolution-specific computation:Therefore, our contribution is a convolution-specific mixed-precision design that efficiently handles extremely sparse, unstructured weight outliers.
Q3-7The ablation study does not appear to include a “frequency-aware calibration only” setting. If the initial boundary estimation is poor, can FAC still effectively compensate for the quantization error?A3-7Thank you for the comment. To isolate the effect of FAC, we initialize the quantization boundaries using MinMax and optimize both settings for 3 epochs, keeping all other settings identical.FAC improves PSNR by 0.77 dB and SSIM by 0.0089 over standard calibration. This demonstrates that FAC can effectively compensate for quantization error, even when initialized from less-accurate MinMax boundaries.
References
[2] ICLR 2024, OmniQuant: Omnidirectionally Calibrated Quantization for Large Language Models.
[3] NeurIPS 2022, GPT3.int8(): 8-bit Matrix Multiplication for Transformers at Scale.
[4] ICLR 2024, SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression.
[10] arXiv 2024, RepQuant: Towards Accurate Post-Training Quantization of Large Transformer Models via Scale Reparameterization.