FAST: Foreground-aware Diffusion with Accelerated Sampling Trajectory for Segmentation-oriented Anomaly Synthesis

Xi-Chen Xu, Yan-Shu Wang, Jin-Bao Wang, Xiao-Ning Lei, Guo-Yang Xie +2 more
9/1/2025
2 citations

Official code: Chhro123/fast-foreground-aware-anomaly-synthesis (21 stars, Jupyter Notebook, last commit 2025-11-07).

Abstract

Industrial anomaly segmentation relies heavily on pixel-level annotations, yet real-world anomalies are often scarce, diverse, and costly to label. Segmentation-oriented industrial anomaly synthesis (SIAS) has emerged as a promising alternative; however, existing methods struggle to balance sampling efficiency and generation quality.

Show full abstract

Moreover, most approaches treat all spatial regions uniformly, overlooking the distinct statistical differences between anomaly and background areas. This uniform treatment hinders the synthesis of controllable, structure-specific anomalies tailored for segmentation tasks. In this paper, we propose FAST, a foreground-aware diffusion framework featuring two novel modules: the Anomaly-Informed Accelerated Sampling (AIAS) and the Foreground-Aware Reconstruction Module (FARM). AIAS is a training-free sampling algorithm specifically designed for segmentation-oriented industrial anomaly synthesis, which accelerates the reverse process through coarse-to-fine aggregation and enables the synthesis of state-of-the-art segmentation-oriented anomalies in as few as 10 steps. Meanwhile, FARM adaptively adjusts the anomaly-aware noise within the masked foreground regions at each sampling step, preserving localized anomaly signals throughout the denoising trajectory. Extensive experiments on multiple industrial benchmarks demonstrate that FAST consistently outperforms existing anomaly synthesis methods in downstream segmentation tasks. We release the code at: https://github.com/Chhro123/fast-foreground-aware-anomaly-synthesis.

View on arXivView PDF

Code Implementations(1)

214Jupyter Notebook, PythonJun 4, 20251 years ago

Similar Papers

Cite this paper

@article{xu2025fast,
  title  = {FAST: Foreground-aware Diffusion with Accelerated Sampling Trajectory for Segmentation-oriented Anomaly Synthesis},
  author = {Xi-Chen Xu and Yan-Shu Wang and Jin-Bao Wang and Xiao-Ning Lei and Guo-Yang Xie and Guan-Nan Jiang and Zhi-Chao Lu},
  year   = {2025},
  eprint = {2509.20295},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2509.20295},
  url    = {https://doi.org/10.48550/arXiv.2509.20295},
  journal = {Neural Information Processing Systems}
}

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

Discussion