SAM-LAD: Segment Anything Model Meets Zero-Shot Logic Anomaly Detection
Shanghai Institute of Intelligent Science and Technology, College of Electronics and Information Engineering, Tongji University(同济大学电子与信息工程学院上海智能科学技术研究院)
本文提出零样本即插即用框架 SAM-LAD,结合 SAM、对象匹配、DCGA 与异常度量模型,在多个工业和逻辑数据集上实现优于现有 SoTA 的逻辑及结构异常检测。
摘要:
视觉异常检测在工业缺陷检测和医学诊断等实际应用中至关重要。然而,现有大多数方法聚焦于局部结构异常,无法检测逻辑条件下更高层次的功能异常。尽管近期研究已探索逻辑异常检测,但它们只能处理缺失或新增等简单异常,并且由于高度依赖数据驱动而表现出较差的泛化能力。为填补这一空白,我们提出 SAM-LAD,这是一种用于任意场景逻辑异常检测的零样本、即插即用框架。首先,我们使用预训练骨干网络获取查询图像的特征图。同时,通过对查询图像进行最近邻搜索,检索参考图像及其相应特征图。随后,我们引入 Segment Anything Model(SAM)以获取查询图像和参考图像的对象掩码。将每个对象掩码与整幅图像的特征图相乘,得到对象特征图。接下来,提出对象匹配模型(Object Matching Model,OMM),用于匹配查询图像和参考图像中的对象。为促进对象匹配,我们进一步提出动态通道图注意力(Dynamic Channel Graph Attention,DCGA)模块,将每个对象视为一个关键点,并把其特征图转换为特征向量。最后,基于对象匹配关系,提出异常度量模型(Anomaly Measurement Model,AMM),以检测存在逻辑异常的对象。该模型还可以检测对象内部的结构异常。我们使用多种基准验证所提出的 SAM-LAD,包括工业数据集(MVTec Loco AD、MVTec AD)以及逻辑数据集(DigitAnatomy)。大量实验结果表明,SAM-LAD 优于现有 SoTA 方法,尤其是在检测逻辑异常方面。
英文摘要:
Visual anomaly detection is vital in real-world applications, such as industrial defect detection and medical diagnosis. However, most existing methods focus on local structural anomalies and fail to detect higher-level functional anomalies under logical conditions. Although recent studies have explored logical anomaly detection, they can only address simple anomalies like missing or addition and show poor generalizability due to being heavily data-driven. To fill this gap, we propose SAM-LAD, a zero-shot, plug-and-play framework for logical anomaly detection in any scene. First, we obtain a query image's feature map using a pre-trained backbone. Simultaneously, we retrieve the reference images and their corresponding feature maps via the nearest neighbor search of the query image. Then, we introduce the Segment Anything Model (SAM) to obtain object masks of the query and reference images. Each object mask is multiplied with the entire image's feature map to obtain object feature maps. Next, an Object Matching Model (OMM) is proposed to match objects in the query and reference images. To facilitate object matching, we further propose a Dynamic Channel Graph Attention (DCGA) module, treating each object as a keypoint and converting its feature maps into feature vectors. Finally, based on the object matching relations, an Anomaly Measurement Model (AMM) is proposed to detect objects with logical anomalies. Structural anomalies in the objects can also be detected. We validate our proposed SAM-LAD using various benchmarks, including industrial datasets (MVTec Loco AD, MVTec AD), and the logical dataset (DigitAnatomy). Extensive experimental results demonstrate that SAM-LAD outperforms existing SoTA methods, particularly in detecting logical anomalies.
SAM3-UNet: Simplified Adaptation of Segment Anything Model 3
Sun Yat-sen University(中山大学);Jiangxi Normal University(江西师范大学);Hainan University(海南大学);Dalian University of Technology(大连理工大学);Chizhou University(池州学院);Wuhan University(武汉大学)
Nanyang Technological University(南洋理工大学);SenseTime Research(商汤科技研究院);Carnegie Mellon University(卡内基梅隆大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
SAMJ: Fast Image Annotation on ImageJ/Fiji via Segment Anything Model
Bioengineering Department(生物工程系);Universidad Carlos III de Madrid(卡洛斯三世大学);Instituto de Investigación Sanitaria Gregorio Marañón(Gregorio Marañón卫生研究院);Institut Pasteur, Université Paris Cité(巴黎研究院);University of Wisconsin(威斯康星大学);University of La Rioja(拉里奥ja大学);VSB – Technical University of Ostrava(奥斯特拉瓦技术大学);Masaryk University(马萨里克大学);MRC Laboratory of Molecular Biology(分子生物学实验室);University of Cambridge(剑桥大学);Donostia International Physics Center (DIPC)(Donostia国际物理中心);CNRS UMR 3691;Ecole Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院)
AI-SAM: Automatic and Interactive Segment Anything Model
The Pennsylvania State University(宾夕法尼亚州立大学);Huck Institutes of the Life Sciences(哈克生命科学研究所);Northwestern Memorial Hospital(西北纪念医院);Northwestern University(西北大学)
Biomedical SAM 2: Segment Anything in Biomedical Images and Videos
University of Georgia(佐治亚大学);Massachusetts General Hospital(麻省总医院);Harvard Medical School(哈佛医学院);Lehigh University(理海大学);Northeastern University(东北大学);University of Notre Dame(圣母大学)
On Efficient Variants of Segment Anything Model: A Survey
School of Computer Science and Engineering(计算机科学与工程学院);School of Computing and Communications(计算与通信学院);School of Computer Science and Technology(计算机科学与技术学院)
Can SAM Count Anything? An Empirical Study on SAM Counting
Shenzhen Institute of Advanced Technology, Chinese Academy of Science(中国科学院深圳先进技术研究院);Harbin Institute of Technology(哈尔滨工业大学);Peng Cheng Laboratory(鹏城实验室)
本文实证评估 SAM 在少样本目标计数任务上的能力,发现未经微调的 SAM 相比现有方法表现不佳,尤其难以处理小型和拥挤目标。
SAMamba3D: adapting Segment Anything for generalizable 3D segmentation of multiphase pore-scale images
Department of Earth Science and Engineering, Imperial College London(帝国理工学院伦敦地球科学与工程系);College of Artificial Intelligence, China University of Petroleum (Beijing)(中国石油大学(北京)人工智能学院);College of Petroleum Engineering, China University of Petroleum (Beijing)(中国石油大学(北京)石油工程学院)
SAMRS: Scaling-up Remote Sensing Segmentation Dataset with Segment Anything Model
Wuhan University(武汉大学);The University of Sydney(悉尼大学);National Engineering Research Center of Speech and Language Information Processing(国家语音及语言信息处理工程技术研究中心)
A Survey on Segment Anything Model (SAM): Vision Foundation Model Meets Prompt Engineering
Kyung Hee University(庆熙大学);Beijing Institue of Technology(北京理工大学);KAIST(韩国科学技术院);Microsoft STCA(微软STCA);Harbin Institute of Technology(哈尔滨工业大学);The State University of New York - SUNY(纽约州立大学);Hong Kong Polytechnic University(香港理工大学)
本文综述了 Meta 的 SAM 及 SAM 2 模型,分析其在图像和视频分割中的能力、局限与未来方向,重点关注高粒度分割和提示缺失场景。
Segment Anything Model Can Not Segment Anything: Assessing AI Foundation Model's Generalizability in Permafrost Mapping
Arizona State University(亚利桑那州立大学);Woodwell Climate Research Center(伍德韦尔气候研究中心);University of Connecticut(康涅狄格大学);U.S. Geological Survey(美国地质调查局);University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);University of Illinois at Urbana-Champaign(伊利诺伊大学香槟分校)
本文评估了以 Meta SAM 为代表的视觉基础模型在永久冻土地貌分割中的表现,通过多种提示策略和微调测试其零样本能力与领域适应性,并指出其在挑战性地理空间任务中仍需改进。