图像(数学)
物理
人工智能
算法
异常(物理)
数学
计算机科学
度量(数据仓库)
扩散
噪音(视频)
图像处理
计算机视觉
领域(数学)
作者
Gaoxiang Li,Min Ren,Ying Zhang,L. Zhang,Yongzhen Huang
出处
期刊:
[Association for Computing Machinery]
日期:2026-11-09
卷期号:: 4504-4513
被引量:2
标识
DOI:10.1145/3767308.3836539
摘要
Industrial anomaly generation provides an effective way to alleviate the scarcity of defective samples for visual inspection, yet existing methods often struggle to simultaneously achieve realistic defect appearance, accurate mask alignment, and semantic consistency under limited anomaly supervision. In this paper, we propose AnomalyBrush, a dual-branch conditional diffusion framework for few-shot anomaly image generation. Specifically, a prior branch extracts multi-scale structural and semantic defect cues from a small set of real anomaly exemplars, while a synthesis branch generates anomalies on normal images within a anomaly mask through adaptive cross-attention fusion. To further improve mask-aligned generation, we introduce Topology-aware Structural Attention Recalibration (TSAR), which combines SSIM-based structural discrepancy with a distance-transform-based geometric prior to emphasize under-synthesized regions, especially along boundaries and thin structures. In addition, we propose Prototype-augmented Semantic Alignment (PSA), which enhances category-faithful synthesis by matching generated anomaly features to a real anomaly prototype bank and by anchoring object-level semantics in a shared vision--language embedding space. Extensive experiments on MVTec AD and Real-IAD demonstrate that AnomalyBrush produces more realistic and diverse anomaly samples with better spatial correspondence to the target masks, and consistently improves downstream anomaly localization performance. These results highlight the effectiveness of our framework as a practical data generation solution for industrial anomaly inspection.
科研通智能强力驱动
Strongly Powered by AbleSci AI