cs.CVOct 14, 2026

CORE: Contrast-and-Reflect for Self-Supervised Prompt Optimization in Anomaly Synthesis

Authors: Haoxiang Rao, Fang Zhao, Zhao Wang, Weijia Li, Chenyang Si, Caifeng Shan

Organizations: School of Intelligence Science and Technology, Nanjing University · China Mobile Zijin Innovation Institute

Abstract

Industrial anomaly detection (AD) is bottlenecked by the scarcity of anomalous samples, making high-fidelity anomaly synthesis crucial for improving downstream performance. However, existing methods either rely on scarce real anomaly references or auxiliary data, while lacking complex reasoning and iterative optimization capabilities for generating realistic defects in open-set scenarios. To address these challenges, we propose CORE, a cost-efficient and training-free prompt optimization framework based on Large Multimodal Models (LMMs), which unifies zero-shot and one-shot anomaly synthesis. CORE first introduces an Anomaly Context Grounding module to transform sparse user context into defect-aware generation context, which is subsequently instantiated as structured anomaly prompts that disentangle normal-region preservation from anomaly-specific variation, enabling controllable and faithful defect generation. Furthermore, CORE autonomously refines prompts through a self-supervised contrast-and-reflect mechanism. This design empowers general-purpose LMMs to synthesize realistic anomalies under both zero-shot and one-shot settings without task-specific training. Extensive experiments on MVTec-AD and VisA demonstrate that CORE synthesizes realistic and diverse anomalies, yielding superior improvements in downstream AD performance. Furthermore, its model-agnostic and plug-and-play paradigm enables effortless integration with diverse LMMs, facilitating adaptation to unseen open-set scenarios.

Figures & tables

Explore similar work

CardsList
  1. One-to-More: High-Fidelity Training-Free Anomaly Generation with Attention Control

    Mar 18, 2026Haoxiang Rao, Zhao Wang, Chenyang Si +4Synthetic Anomaly GenerationIndustrial Anomaly Detection

  2. AnomalyAgent: Agentic Industrial Anomaly Synthesis via Tool-Augmented Reinforcement Learning

    Apr 9, 2026Jiaming Su, Tengchao Yang, Ruikang Zhang +3Synthetic Anomaly GenerationTool-Using Agents

  3. GroundingAnomaly: Spatially-Grounded Diffusion for Few-Shot Anomaly Synthesis

    Apr 9, 2026Yishen Liu, Hongcang Chen, Pengcheng Zhao +8Synthetic Anomaly GenerationDiffusion-Based Image Generation