Paper Reading AI Learner

Quality-Aware Language-Conditioned Local Auto-Regressive Anomaly Synthesis and Detection

2025-08-05 15:07:32
Long Qian, Bingke Zhu, Yingying Chen, Ming Tang, Jinqiao Wang

Abstract

Despite substantial progress in anomaly synthesis methods, 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 further 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 benchmark 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 times synthesis speedup compared to diffusion-based alternatives. Our complete code and synthesized dataset will be publicly available.

Abstract (translated)

尽管在异常合成方法方面取得了重大进展,现有的基于扩散和粗略修复的流程通常会遇到结构缺陷,如微观结构不连续、语义控制有限以及生成效率低下等问题。为了克服这些限制,我们引入了ARAS(条件语言自回归异常合成法),这是一种通过标记锚定潜在编辑精确注入局部、文本指定缺陷到正常图像的方法。借助硬门控的自回归运算符和无训练需求、上下文保留的掩码采样内核,ARAS显著提升了缺陷的真实感,保持了细微材料纹理,并提供了对合成异常的连续语义控制。 在我们提出的质量感知再加权异常检测(QARAD)框架中,我们进一步提出了一种动态加权策略,该策略通过双编码器模型计算图像文本相似度得分来强调高质量的合成样本。我们在三个基准数据集——MVTec AD、VisA和BTAD上进行了广泛的实验,结果表明我们的QARAD方法在图像级和像素级异常检测任务中超越了现有的最佳方法(SOTA),实现了更高的准确性和鲁棒性,并且与基于扩散的方法相比,合成速度提升了五倍。我们将公开发布完整的代码和合成数据集。

URL

https://arxiv.org/abs/2508.03539

PDF

https://arxiv.org/pdf/2508.03539.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot