Quality-Aware Language-Conditioned Local Auto-Regressive Anomaly Synthesis and Detection
Long Qian, Bingke Zhu, Yingying Chen, Ming Tang, Jinqiao Wang
Abstract
Despite substantial progress in anomaly synthesis, existing diffusion-based and coarse inpainting pipelines commonly suffer from structural deficiencies such as micro-structural discontinuities, limited semantic controllability, and inefficient generation. To overcome these limitations, we introduce ARAS, a language-conditioned, auto-regressive anomaly synthesis approach that precisely injects local, text-specified defects into normal images via token-anchored latent editing. Leveraging a hard-gated auto-regressive operator and a training-free, context-preserving masked sampling kernel, ARAS significantly enhances defect realism, preserves fine-grained material textures, and provides continuous semantic control over synthesized anomalies. Integrated within our Quality-Aware Re-weighted Anomaly Detection (QARAD) framework, we propose a dynamic weighting strategy that emphasizes high-quality synthetic samples by computing an image-text similarity score with a dual-encoder model. Extensive experiments across three datasets, MVTec AD, VisA, and BTAD, demonstrate that our QARAD outperforms SOTA methods in both image- and pixel-level anomaly detection tasks, achieving improved accuracy, robustness, and a 5× synthesis speedup compared to diffusion-based alternatives.
BibTeX
@inproceedings{aaai2026_qualityawarelang,
title = {Quality-Aware Language-Conditioned Local Auto-Regressive Anomaly Synthesis and Detection},
author = {Long Qian and Bingke Zhu and Yingying Chen and Ming Tang and Jinqiao Wang},
booktitle = {AAAI 2026},
year = {2026}
}