UniScale: Arbitrary-Scale Industrial Anomaly Generation

Shi-Lei Zeng, Linxin Guan, Xu-Rui Li, Yao Tang, Yu Zhou
8/1/2026

No official code found. Best implementation: HUST-SLOW/UniScale (9 stars, MIT, last commit 2026-06-25).

Abstract

Industrial anomaly inspection faces a major challenge due to the lack of real-world anomaly samples. While generative models are used to create anomaly data, existing methods still struggle when handling small-scale anomalies.

Show full abstract

This failure occurs because extreme downsampling in diffusion models causes the information of small anomalies to be lost in the latent space. To address this, we introduce UniScale, a unified training and inference framework for high-fidelity industrial anomaly generation across arbitrary scales. During training, we introduce an Error-Suppressed Multi-Scale Training (EMT) strategy, which enables the model to learn the rich location-aware textures of anomalies, while suppressing upsampling-induced interpolation errors in texture acquisition, ensuring the model is capable of learning small-scale anomalies, while remaining effective for regular scale anomalies. For inference, we propose Generation-then-Fusion Denoising. It decouples anomaly generation from background integration, preventing small anomalies from being overwhelmed. Extensive experiments demonstrate that our method outperforms state-of-the-art competitors in both anomaly generation quality and downstream detection performance. It achieves a relative IS(a) improvement of 45.86% (from 1.81 to 2.64) on VisA and 37.70% (from 1.22 to 1.68) on MVTec AD 2, while also improving the downstream pixel-level IoU by 4.22% on VisA and AUROC by 6.55% on MVTec AD 2. Code is available at https://github.com/HUST-SLOW/UniScale.

View on arXivView PDF

Code Implementations(1)

HUST-SLOW/UniScaleCommunity100%
MIT

[ECCV2026] UniScale: Arbitrary-Scale Industrial Anomaly Generation. Paper is avaliable at https://arxiv.org/abs/2608.07864

91Jun 25, 20265 months agoMIT

Similar Papers

Cite this paper

@article{zeng2026uniscale,
  title  = {UniScale: Arbitrary-Scale Industrial Anomaly Generation},
  author = {Shi-Lei Zeng and Linxin Guan and Xu-Rui Li and Yao Tang and Yu Zhou},
  year   = {2026},
  eprint = {2608.07864},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2608.07864},
  journal = {European Conference on Computer Vision}
}

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

Discussion