Improving Complex Moiré Removal with Generative Supervision
Organizations: Harbin Institute of Technology, Harbin, China · Alibaba Group - Taobao & Tmall Group
Abstract
The availability of high-quality paired data is essential for training learning-based image demoiréing models. However, it remains challenging for existing datasets to encompass the complex moiré patterns captured in uncontrolled real-world scenarios. Such degradations typically manifest as large-scale, multicolored moiré patterns. Moreover, these patterns frequently occur in images for which clean counterparts are difficult to obtain, such as photographs acquired from public displays or existing online resources. In this work, we propose a novel data engine designed to improve the removal of complex moiré patterns by generating training supervision. Specifically, we initially collect real-world images containing complex moiré patterns and localize the corresponding screen regions. Multiple image-conditioned generative foundation models are subsequently deployed to produce candidate references. To establish reliable supervision, these candidates are subjected to patch-level quality control to filter and select the optimal results. Based on this systematic paradigm, we construct the WildMoiré dataset, which contains 6.8K moiré-GT training pairs. For evaluation, we additionally build an independent test set comprising 250 pairs with captured clean ground truth. Extensive experiments on ESDNet, SDXL, and Qwen-Image-Edit demonstrate that the proposed generative supervision consistently improves the performance of complex moiré removal.
Figures & tables
| Model | GPT-Image-2 | Nano-Banana-2 | FLUX.2 | Qwen-Image-Edit | SDXL |
| Ratio (%) | 62.73 | 17.97 | 9.10 | 5.96 | 4.23 |
| Dataset | Environment | Supervision | Resolution | Size |
| UHDM | Controlled | Digital source | 4328 3248 | 4,271 |
| DCID | Controlled | Digital source | 4096 3072 | 7,176 |
| WildMoiré | In the wild | Generation | 1024 1024 | 6,832 |
| Models | Training Datasets | Full-reference Fidelity Metrics | No-reference Perceptual Metrics | |||||
| PSNR | SSIM | LPIPS | MUSIQ | TOPIQ | Q-Align | |||
| Closed Source | GPT-Image-2 | – | 15.1965 | 0.5265 | 0.4636 | 65.4375 | 0.5831 | 4.3665 |
| Nano-Banana-2 | – | 16.8793 | 0.5679 | 0.4696 | 60.9621 | 0.5002 | 4.4743 | |
| Open Source | ESDNet (CNN-based) | UHDM+DCID | 21.5002 | 0.7341 | 0.3471 | 38.1971 | 0.2770 | 3.6343 |
| UHDM+DCID+WildMoiré | 23.3714 | 0.7821 | 0.2614 | 44.2109 | 0.3413 | 3.9607 | ||
| Open Source | SDXL (Diffusion-UNet-based) | UHDM+DCID | 21.9034 | 0.7522 | 0.2951 | 41.4789 | 0.3203 | 3.8128 |
| GT Source | PSNR | SSIM | LPIPS | MUSIQ | TOPIQ | Q-A. |
| Nano-Banana-2 | 22.5640 | 0.7647 | 0.2921 | 40.9345 | 0.3087 | 3.8122 |
| GPT-Image-2 | 23.0013 | 0.7721 | 0.2742 | 42.0071 | 0.3236 | 3.8834 |
| Optimal of 5 Models | 23.3714 | 0.7821 | 0.2614 | 44.2109 | 0.3413 | 3.9607 |
| Training Datasets | Scale Aug. | PSNR | SSIM | LPIPS | MUSIQ | TOPIQ | Q-ALIGN |
| UHDM+DCID | ✗ | 21.5002 | 0.7341 | 0.3471 | 38.1971 | 0.2770 | 3.6343 |
| UHDM+DCID | ✓ | 21.6414 | 0.7468 | 0.3230 | 39.3647 | 0.2941 | 3.7478 |
| UHDM+DCID+WildMoiré | ✗ | 23.3164 | 0.7710 | 0.2611 | 43.1129 | 0.3224 | 3.9091 |
| UHDM+DCID+WildMoiré | ✓ | 23.3714 | 0.7821 | 0.2614 | 44.2109 | 0.3413 | 3.9607 |
| #Pairs | PSNR | SSIM | LPIPS | MUSIQ | TOPIQ | Q-A. | |
| 5 | 8,991 | 23.2863 | 0.7750 | 0.2720 | 43.0117 | 0.3309 | 3.8603 |
| 10 | 8,143 | 23.3411 | 0.7807 | 0.2643 | 43.7824 | 0.3365 | 3.9431 |
| 15 | 6,832 | 23.3714 | 0.7821 | 0.2614 | 44.2109 | 0.3413 | 3.9607 |
| 20 | 5,284 | 23.3647 | 0.7786 | 0.2684 | 43.7306 | 0.3374 | 3.9513 |
| 25 | 2,818 | 23.3021 | 0.7707 | 0.2925 | 42.9205 | 0.3315 | 3.8341 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Generative Models | Prompt |
| GPT-Image-2 | Remove the moiré patterns from the image. Strictly keep all other content unchanged. Preserve the original structure, colors, and fine details exactly. Ensure that all text on the screen remains clear, accurate, and completely unmodified. Preserve the original aspect ratio. |
| Nano-Banana-2 | Remove the moiré patterns, together with any abnormal stripes, color bands, or color blocks caused by the moiré effect. Strictly keep all other content unchanged, including the original structure, colors, and fine details. Ensure that all text on the screen remains clear, accurate, and completely unmodified. Preserve the original aspect ratio. |
| SDXL, FLUX.2, and Qwen-Image-Edit | Remove only the moiré patterns from the image. Keep all other content unchanged, including the colors, text, and fine details. |
| Stage | Groups | Retained |
| Initial synchronized groups | 13,615 | 100.00% |
| and filtering | 11,778 | 86.51% |
| ESDNet-response filtering | 10,889 | 79.98% |
| A-FINE filtering ( ) | 6,832 | 50.18% |
| Total | GPT- Image-2 | Nano- Banana-2 | FLUX.2 | Qwen- Image-Edit | SDXL | |
| (Number) | (%) | (%) | (%) | (%) | (%) | |
| 5 | 8,991 | 53.05 | 19.04 | 10.92 | 9.16 | 7.82 |
| 10 | 8,143 | 57.40 | 19.26 | 10.86 | 6.95 | 5.54 |
| 15 | 6,832 | 62.73 | 17.97 | 9.10 | 5.96 | 4.23 |
| 20 | 5,284 | 65.93 | 19.00 | 7.51 | 4.86 | 2.69 |
| 25 | 2,818 | 60.15 | 24.59 | 8.59 | 4.15 | 2.52 |
| Models | Training Datasets | Full-reference Fidelity Metrics | No-reference Perceptual Metrics | |||||
| PSNR | SSIM | LPIPS | MUSIQ | TOPIQ | Q-Align | |||
| Closed Source | GPT-Image-2 | – | 16.4847 | 0.6288 | 0.3597 | 47.6108 | 0.4396 | 4.4022 |
| Nano-Banana-2 | – | 19.5363 | 0.7320 | 0.2859 | 45.6903 | 0.4112 | 4.2289 | |
| Open Source | ESDNet (CNN-based) | UHDM+DCID | 26.5372 | 0.8722 | 0.2483 | 34.1202 | 0.3006 | 3.9790 |
| UHDM+DCID+WildMoiré | 26.9181 | 0.8784 | 0.2441 | 34.9631 | 0.3109 | 4.0698 | ||
| Open Source | SDXL (Diffusion-UNet-based) | UHDM+DCID | 26.5779 | 0.8706 | 0.2467 | 36.5014 | 0.3082 | 4.0967 |
Image Restoration
Image restoration uses computational methods to recover useful visual content from noisy, blurred, low-resolution, or otherwise degraded images.
See all 372 papers