Skip to main content
QUICK REVIEW

[Paper Review] AG-VAS: Anchor-Guided Zero-Shot Visual Anomaly Segmentation with Large Multimodal Models

Zhen Qu, Xian Tao|arXiv (Cornell University)|Mar 1, 2026
Anomaly Detection Techniques and ApplicationsComputer Science0 citations
TL;DR

AG-VAS introduces absolute [SEG] and relative [NOR]/[ANO] semantic anchors to enable zero-shot visual anomaly segmentation with large multimodal models, along with SPAM alignment and AGMD mask decoding, achieving state-of-the-art results on industrial and medical benchmarks.

ABSTRACT

Large multimodal models (LMMs) exhibit strong task generalization capabilities, offering new opportunities for zero-shot visual anomaly segmentation (ZSAS). However, existing LMM-based segmentation approaches still face fundamental limitations: anomaly concepts are inherently abstract and context-dependent, lacking stable visual prototypes, and the weak alignment between high-level semantic embeddings and pixel-level spatial features hinders precise anomaly localization. To address these challenges, we present AG-VAS (Anchor-Guided Visual Anomaly Segmentation), a new framework that expands the LMM vocabulary with three learnable semantic anchor tokens-[SEG], [NOR], and [ANO], establishing a unified anchor-guided segmentation paradigm. Specifically, [SEG] serves as an absolute semantic anchor that translates abstract anomaly semantics into explicit, spatially grounded visual entities (e.g., holes or scratches), while [NOR] and [ANO] act as relative anchors that model the contextual contrast between normal and abnormal patterns across categories. To further enhance cross-modal alignment, we introduce a Semantic-Pixel Alignment Module (SPAM) that aligns language-level semantic embeddings with high-resolution visual features, along with an Anchor-Guided Mask Decoder (AGMD) that performs anchor-conditioned mask prediction for precise anomaly localization. In addition, we curate Anomaly-Instruct20K, a large-scale instruction dataset that organizes anomaly knowledge into structured descriptions of appearance, shape, and spatial attributes, facilitating effective learning and integration of the proposed semantic anchors. Extensive experiments on six industrial and medical benchmarks demonstrate that AG-VAS achieves consistent state-of-the-art performance in the zero-shot setting.

Motivation & Objective

  • Address the lack of stable visual prototypes and weak cross-modal alignment in zero-shot visual anomaly segmentation (ZSAS).
  • Introduce learnable semantic anchors to bridge LMM embeddings with pixel-level segmentation.
  • Develop modules for cross-modal alignment and anchor-conditioned mask decoding to produce binary anomaly masks.
  • Curate Anomaly-Instruct20K to inject anomaly-related world knowledge into the LMM.
  • Demonstrate state-of-the-art ZSAS performance on industrial and medical datasets without category-specific retraining.

Proposed method

  • Introduce absolute semantic anchor [SEG] to encode appearance, structure, and location cues of anomalies.
  • Include relative anchors [NOR] and [ANO] to model normal–anomalous context contrasts.
  • Add Semantic–Pixel Alignment Module (SPAM) to align LMM semantic embeddings with high-resolution pixel features.
  • Develop Anchor-Guided Mask Decoder (AGMD) that uses refined anchor embeddings to generate binary anomaly masks via bidirectional cross-attention.
  • Train with a multi-task objective combining textual autoregressive loss and segmentation loss (BCE + Dice) across anchors.
  • Create Anomaly-Instruct20K to inject structured anomaly knowledge into instruction tuning for segmentation.

Experimental results

Research questions

  • RQ1Can learnable semantic anchors bridge high-level LMM semantics with pixel-level segmentation for ZSAS?
  • RQ2How does SPAM improve cross-modal alignment between semantic embeddings and pixel features?
  • RQ3Does anchor-guided decoding yield reliable binarized anomaly masks in zero-shot settings across industrial and medical domains?
  • RQ4What is the impact of instruction-tuning data (Anomaly-Instruct20K) on zero-shot generalization?
  • RQ5How well does AG-VAS reject normal samples while accurately localizing anomalies?

Key findings

  • AG-VAS achieves state-of-the-art zero-shot anomaly segmentation on six industrial/medical benchmarks.
  • In ablations, removing [SEG] harms all metrics, while removing [NOR]/[ANO] mainly hurts normal–abnormal contrast metrics.
  • SPAM improves alignment and mask quality, and its removal degrades performance.
  • Anomaly-Instruct20K and Anomaly-Seg20K contribute significantly to anomaly segmentation performance, beyond general segmentation data.
  • Direct Segmentation generally outperforms descriptive modes, though Describe-then-Segment-Plus can improve context understanding.
  • The model demonstrates strong rejection of normal samples (IoU_nor up to 87.7% in reported results) while maintaining robust anomaly localization (IoU_ano ~45%).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.