Papers › FAST: Foreground-aware Diffusion with Accelerated Sampling Trajectory for...

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

24 Sep 2025NeurIPSarXiv:2509.20295added by Syntology

Xichen Xu, Yanshu Wang, Jinbao Wang, Xiaoning Lei, Guoyang Xie, Guannan Jiang, Zhichao Lu

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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. 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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2509.20295")

Code

Syntology Ran 1 of 11 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · honoured contract.

By repository: found in paper text by Syntology: 11 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Chhro123/fast-foreground-aware-anomaly-synthesis found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 1 ran; 1 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
10unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Chhro123/fast-foreground-aware-anomaly-synthesis. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

gaussian Chhro123/fast-foreground-aware-anomaly-synthesis/unet_utils/loss.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · c56b7ef16f309a45 · report
collect_anomaly_scores Chhro123/fast-foreground-aware-anomaly-synthesis/unet_utils/au_pro_util.py found in paper text by Syntology unverified no licence file found · pointer only · 18c9bfa7e94951e9 · report
compute_pro Chhro123/fast-foreground-aware-anomaly-synthesis/unet_utils/au_pro_util.py found in paper text by Syntology unverified no licence file found · pointer only · 49b5692178958afe · report
create_window Chhro123/fast-foreground-aware-anomaly-synthesis/unet_utils/loss.py found in paper text by Syntology unverified no licence file found · pointer only · 443341084ce76798 · report
dilation Chhro123/fast-foreground-aware-anomaly-synthesis/utils.py found in paper text by Syntology unverified no licence file found · pointer only · efa7e04a6a1d4161 · report
erosion Chhro123/fast-foreground-aware-anomaly-synthesis/utils.py found in paper text by Syntology unverified no licence file found · pointer only · c6be01c80da65814 · report
lerp_np Chhro123/fast-foreground-aware-anomaly-synthesis/perlin.py found in paper text by Syntology unverified no licence file found · pointer only · 4de91a4627a51ea2 · report
make_batch Chhro123/fast-foreground-aware-anomaly-synthesis/generate_with_mask_mvtec.py found in paper text by Syntology unverified no licence file found · pointer only · c23b317a405ae12c · report
ssim Chhro123/fast-foreground-aware-anomaly-synthesis/unet_utils/loss.py found in paper text by Syntology unverified no licence file found · pointer only · bff794bd9bd73f94 · report
trapezoid Chhro123/fast-foreground-aware-anomaly-synthesis/unet_utils/au_pro_util.py found in paper text by Syntology unverified no licence file found · pointer only · 9d72c1f1f0d6dea4 · report
unnormalize Chhro123/fast-foreground-aware-anomaly-synthesis/global_GLASS.py found in paper text by Syntology unverified no licence file found · pointer only · c405f4afe08413a5 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2509.20295, was issued in September 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections