"<!DOCTYPE html>\n<html lang=\"zh\" data-theme=\"light\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>fulltext.txt — Vercel Design System</title>\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link href=\"https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap\" rel=\"stylesheet\">\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css\">\n<style>\n\n:root {\n  /* Vercel Palette */\n  --geist-foreground: #171717;\n  --geist-background: #ffffff;\n  --geist-secondary: #4d4d4d;\n  --geist-tertiary: #666666;\n  --geist-quaternary: #808080;\n  --geist-border: #ebebeb;\n  --geist-surface-tint: #fafafa;\n  \n  /* Workflow Accents */\n  --develop-blue: #0a72ef;\n  --preview-pink: #de1d8d;\n  --ship-red: #ff5b4f;\n  \n  /* Interactive & Status */\n  --link-blue: #0072f5;\n  --ds-focus-color: hsla(212, 100%, 48%, 1);\n  --badge-blue-bg: #ebf5ff;\n  --badge-blue-text: #0068d6;\n  \n  /* Shadow-as-Border Philosophy */\n  --shadow-border: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(0, 0, 0, 0.16) 0px 0px 0px 1px;\n  --shadow-card: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(0, 0, 0, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.06) 0px 4px 6px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-full: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, rgba(0, 0, 0, 0.04) 0px 8px 8px -8px, #fafafa 0px 0px 0px 1px;\n  --shadow-ring: rgb(235, 235, 235) 0px 0px 0px 1px;\n  \n  /* Radius Scale */\n  --radius-xs: 2px;\n  --radius-sm: 4px;\n  --radius-md: 6px;\n  --radius-lg: 8px;\n  --radius-xl: 12px;\n  --radius-pill: 9999px;\n}\n\n[data-theme=\"dark\"] {\n  --geist-foreground: #ededed;\n  --geist-background: #000000;\n  --geist-secondary: #a1a1a1;\n  --geist-tertiary: #888888;\n  --geist-quaternary: #666666;\n  --geist-border: #222222;\n  --geist-surface-tint: #0a0a0a;\n  \n  --shadow-border: rgba(255, 255, 255, 0.14) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(255, 255, 255, 0.28) 0px 0px 0px 1px;\n  --shadow-card: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.4) 0px 2px 4px, #111111 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 6px 12px, #111111 0px 0px 0px 1px;\n  --shadow-card-full: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 8px 16px -4px, #111111 0px 0px 0px 1px;\n  --shadow-ring: rgb(40, 40, 40) 0px 0px 0px 1px;\n  \n  --badge-blue-bg: rgba(10, 114, 239, 0.15);\n  --badge-blue-text: #70b5ff;\n}\n\n* { box-sizing: border-box; }\nhtml { scroll-behavior: smooth; }\nbody {\n  margin: 0;\n  font-family: \"Geist\", Arial, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n  background-color: var(--geist-background);\n  color: var(--geist-foreground);\n  font-feature-settings: \"liga\" 1;\n  -webkit-font-smoothing: antialiased;\n  min-height: 100vh;\n}\n\na {\n  color: inherit;\n  text-decoration: none;\n  transition: color 0.15s ease;\n}\n\n/* 导航栏 (Vercel Clean Sticky Nav) */\n.vercel-nav {\n  position: sticky;\n  top: 0;\n  background-color: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  z-index: 100;\n  padding: 0 24px;\n  height: 64px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n}\n.nav-brand {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n.vercel-triangle {\n  width: 22px;\n  height: 19px;\n  fill: var(--geist-foreground);\n}\n.nav-title {\n  font-size: 16px;\n  font-weight: 600;\n  letter-spacing: -0.32px;\n  color: var(--geist-foreground);\n}\n.nav-badge-pill {\n  font-family: \"Geist Mono\", ui-monospace, monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  background: var(--badge-blue-bg);\n  color: var(--badge-blue-text);\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n}\n\n.nav-links {\n  display: flex;\n  align-items: center;\n  gap: 24px;\n}\n.nav-link {\n  font-size: 14px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.nav-link:hover, .nav-link.active {\n  color: var(--geist-foreground);\n}\n.nav-link.active {\n  font-weight: 600;\n}\n\n.nav-actions {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n\n/* 按钮规范 */\n.btn-primary-dark {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: opacity 0.15s;\n}\n.btn-primary-dark:hover {\n  opacity: 0.9;\n}\n.btn-secondary-white {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: background 0.15s, box-shadow 0.15s;\n}\n.btn-secondary-white:hover {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border-hover);\n}\n.theme-toggle-btn {\n  background: transparent;\n  border: none;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  width: 36px;\n  height: 36px;\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: var(--geist-foreground);\n}\n\n/* 核心容器 */\n.vercel-container {\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: 56px 24px 100px;\n}\n\n/* Hero Section (Gallery Emptiness + Negative Letter-spacing) */\n.vercel-hero {\n  text-align: center;\n  max-width: 860px;\n  margin: 0 auto 56px;\n}\n.hero-stage-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 4px 14px;\n  border-radius: var(--radius-pill);\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  margin-bottom: 24px;\n}\n.stage-dot {\n  width: 7px;\n  height: 7px;\n  border-radius: 50%;\n}\n.vercel-hero h1 {\n  font-size: 48px;\n  font-weight: 600;\n  line-height: 1.05;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 16px;\n}\n.vercel-hero p {\n  font-size: 20px;\n  font-weight: 400;\n  line-height: 1.80;\n  color: var(--geist-secondary);\n  margin: 0 auto 28px;\n}\n\n/* Workflow Pipeline (Develop -> Preview -> Ship) */\n.workflow-pipeline {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 768px) {\n  .workflow-pipeline { grid-template-columns: 1fr; }\n}\n.workflow-step {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px 22px;\n  transition: box-shadow 0.2s;\n}\n.workflow-step:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n.step-mono-label {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  margin-bottom: 8px;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n}\n.step-title {\n  font-size: 20px;\n  font-weight: 600;\n  letter-spacing: -0.96px;\n  color: var(--geist-foreground);\n  margin-bottom: 6px;\n}\n.step-desc {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n\n/* Metric Cards (Section 4 Spec) */\n.metric-grid {\n  display: grid;\n  grid-template-columns: repeat(4, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 900px) {\n  .metric-grid { grid-template-columns: repeat(2, 1fr); }\n}\n.metric-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n}\n.metric-number {\n  font-size: 40px;\n  font-weight: 600;\n  line-height: 1.0;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin-bottom: 8px;\n  font-feature-settings: \"tnum\" 1;\n}\n.metric-label {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.4;\n}\n\n/* VAD 专栏 Banner (Ship Red & Vercel Clean) */\n.vad-showcase {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-xl);\n  padding: 32px;\n  margin-bottom: 48px;\n  position: relative;\n}\n.vad-header-row {\n  display: flex;\n  align-items: baseline;\n  justify-content: space-between;\n  flex-wrap: wrap;\n  gap: 12px;\n  margin-bottom: 12px;\n}\n.vad-header-row h2 {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  color: var(--geist-foreground);\n  margin: 0;\n}\n.vad-pillars-grid {\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));\n  gap: 14px;\n  margin-top: 24px;\n}\n.vad-pillar-item {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 14px 16px;\n}\n.vad-pillar-title {\n  font-size: 14px;\n  font-weight: 600;\n  color: var(--ship-red);\n  margin-bottom: 4px;\n}\n.vad-pillar-text {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n.vad-filter-bar {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: space-between;\n  gap: 12px;\n  margin: 24px 0 16px;\n  padding: 12px 16px;\n  background: var(--geist-surface-tint);\n  border-radius: var(--radius-md);\n  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);\n}\n.vad-filter-btn {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  font-weight: 500;\n  padding: 6px 14px;\n  border-radius: 9999px;\n  border: none;\n  background: transparent;\n  color: var(--geist-secondary);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.vad-filter-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0,0,0,0.05);\n}\n.vad-filter-btn.active {\n  background: #171717;\n  color: #ffffff;\n}\n.vad-search-input {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  padding: 7px 12px;\n  border-radius: 6px;\n  border: 1px solid var(--geist-border);\n  background: #ffffff;\n  color: var(--geist-foreground);\n  width: 280px;\n  outline: none;\n  transition: border-color 0.15s, box-shadow 0.15s;\n}\n.vad-search-input:focus {\n  border-color: #0a72ef;\n  box-shadow: 0 0 0 2px rgba(10, 114, 239, 0.2);\n}\n\n/* 控制栏：搜索、视图、筛选 */\n.control-bar {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  margin-bottom: 24px;\n  flex-wrap: wrap;\n}\n.search-input-wrap {\n  position: relative;\n  flex: 1;\n  max-width: 480px;\n}\n.search-input {\n  width: 100%;\n  height: 40px;\n  padding: 0 38px 0 14px;\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  color: var(--geist-foreground);\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  outline: none;\n  transition: box-shadow 0.15s;\n}\n.search-input:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n.search-kbd {\n  position: absolute;\n  right: 12px;\n  top: 50%;\n  transform: translateY(-50%);\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  color: var(--geist-quaternary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n\n.view-switcher {\n  display: flex;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  background: var(--geist-background);\n  padding: 2px;\n}\n.view-btn {\n  background: transparent;\n  border: none;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-tertiary);\n  padding: 6px 12px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n  transition: color 0.15s, background 0.15s;\n}\n.view-btn.active {\n  background: var(--geist-surface-tint);\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 筛选芯片行 (Filter Pill Strip) */\n.filter-group-strip {\n  display: flex;\n  flex-direction: column;\n  gap: 12px;\n  margin-bottom: 28px;\n  padding: 16px 20px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-lg);\n}\n.filter-row {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  flex-wrap: wrap;\n}\n.filter-label-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  min-width: 68px;\n}\n.pill-badge {\n  background: var(--geist-background);\n  color: var(--geist-secondary);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 3px 12px;\n  border-radius: var(--radius-pill);\n  font-size: 12px;\n  font-weight: 500;\n  cursor: pointer;\n  transition: all 0.15s;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n}\n.pill-badge:hover {\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border-hover);\n}\n.pill-badge.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  font-weight: 600;\n  box-shadow: none;\n}\n.pill-badge.active-blue {\n  background: var(--develop-blue);\n  color: #ffffff;\n  box-shadow: none;\n}\n.pill-badge.active-red {\n  background: var(--ship-red);\n  color: #ffffff;\n  box-shadow: none;\n}\n\n/* Bento Grid Cards (Section 4 & 6 Spec) */\n.card-grid-bento {\n  display: grid;\n  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));\n  gap: 16px;\n}\n.vercel-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  transition: box-shadow 0.2s, transform 0.2s;\n  text-decoration: none;\n  color: inherit;\n  overflow: hidden;\n  min-width: 0;\n  word-break: break-word;\n}\n.vercel-card:hover {\n  box-shadow: var(--shadow-card-hover);\n  transform: translateY(-2px);\n}\n.card-top {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-bottom: 12px;\n  gap: 8px;\n}\n.card-tag-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  letter-spacing: 0.5px;\n}\n.status-pill-badge {\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 500;\n  flex-shrink: 0;\n}\n.pub-accepted { background: #ebfdf2; color: #027a48; }\n.pub-workshop { background: #eff8ff; color: #175cd3; }\n.pub-submitted { background: #fff8e6; color: #b54708; }\n.pub-preprint { background: #f2f4f7; color: #475467; }\n.pub-other { background: #f9f5ff; color: #6941c6; }\n\n[data-theme=\"dark\"] .pub-accepted { background: rgba(2, 122, 72, 0.2); color: #32d583; }\n[data-theme=\"dark\"] .pub-workshop { background: rgba(23, 92, 211, 0.2); color: #84caff; }\n[data-theme=\"dark\"] .pub-submitted { background: rgba(181, 71, 8, 0.2); color: #fec84b; }\n[data-theme=\"dark\"] .pub-preprint { background: rgba(71, 84, 103, 0.2); color: #98a2b3; }\n[data-theme=\"dark\"] .pub-other { background: rgba(105, 65, 198, 0.2); color: #d6bbfb; }\n\n/* 必读标杆徽章 (Vercel Amber Accent) */\n.milestone-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 3px;\n  padding: 2px 7px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 600;\n  white-space: nowrap;\n  flex-shrink: 0;\n  transition: all 0.15s ease;\n}\n.milestone-badge.ms-idea, .milestone-badge:not([class*=\"ms-\"]) {\n  color: #b54708;\n  background: #fff8e6;\n  border: 1px solid rgba(247, 144, 9, 0.35);\n  box-shadow: 0 1px 2px rgba(181, 71, 8, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-idea, [data-theme=\"dark\"] .milestone-badge:not([class*=\"ms-\"]) {\n  color: #fec84b;\n  background: rgba(181, 71, 8, 0.22);\n  border-color: rgba(254, 200, 75, 0.35);\n}\n.milestone-badge.ms-writing {\n  color: #6941c6;\n  background: #f9f5ff;\n  border: 1px solid rgba(105, 65, 198, 0.3);\n  box-shadow: 0 1px 2px rgba(105, 65, 198, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-writing {\n  color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.22);\n  border-color: rgba(214, 187, 251, 0.35);\n}\n.milestone-badge.ms-value {\n  color: #027a48;\n  background: #ebfdf2;\n  border: 1px solid rgba(2, 122, 72, 0.3);\n  box-shadow: 0 1px 2px rgba(2, 122, 72, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-value {\n  color: #32d583;\n  background: rgba(2, 122, 72, 0.22);\n  border-color: rgba(50, 213, 131, 0.35);\n}\n\n/* 论文正文图表与插图卡片样式 (Geist Design) */\n.paper-figure, .article-body figure {\n  margin: 32px auto;\n  text-align: center;\n  max-width: 100%;\n}\n.paper-figure img, .article-body img {\n  max-width: 96%;\n  height: auto;\n  border-radius: var(--radius-md);\n  border: 1px solid var(--geist-border);\n  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);\n  background: #ffffff;\n  transition: transform 0.2s ease, box-shadow 0.2s ease;\n  display: block;\n  margin: 0 auto;\n}\n.paper-figure img:hover, .article-body img:hover {\n  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);\n}\n.paper-figure figcaption, .article-body figcaption {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  margin-top: 10px;\n  line-height: 1.6;\n  font-style: italic;\n  max-width: 850px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n/* VAD 视图切换器 View Switcher */\n.vad-view-switcher {\n  display: inline-flex;\n  padding: 3px;\n  background: var(--geist-secondary-bg);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  margin-bottom: 20px;\n  gap: 2px;\n}\n.view-switch-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  padding: 6px 14px;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  border-radius: 6px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.view-switch-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0, 0, 0, 0.04);\n}\n[data-theme=\"dark\"] .view-switch-btn:hover {\n  background: rgba(255, 255, 255, 0.06);\n}\n.view-switch-btn.active {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  font-weight: 600;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n/* 关系图谱 Graph View Styles */\n.graph-container {\n  position: relative;\n  width: 100%;\n  height: 720px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: var(--radius-lg);\n  overflow: hidden;\n  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);\n  margin-bottom: 40px;\n}\n.graph-toolbar {\n  position: absolute;\n  top: 14px;\n  left: 14px;\n  right: 14px;\n  z-index: 10;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  padding: 8px 14px;\n  border-radius: 8px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  flex-wrap: wrap;\n  gap: 8px;\n}\n.graph-tool-title {\n  font-size: 13px;\n  font-weight: 700;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n  color: var(--geist-foreground);\n}\n.graph-filter-group {\n  display: flex;\n  gap: 6px;\n  align-items: center;\n  flex-wrap: wrap;\n}\n.graph-chip {\n  font-size: 11px;\n  padding: 3px 8px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.graph-chip:hover { background: var(--geist-secondary-bg); }\n.graph-chip.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-color: var(--geist-foreground);\n}\n.graph-search-input {\n  padding: 3px 8px;\n  font-size: 11px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  outline: none;\n  width: 150px;\n}\n#vad-graph-svg {\n  width: 100%;\n  height: 100%;\n  cursor: grab;\n}\n#vad-graph-svg:active { cursor: grabbing; }\n.graph-legend {\n  position: absolute;\n  bottom: 14px;\n  left: 14px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  padding: 10px 14px;\n  font-size: 11px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  z-index: 10;\n  line-height: 1.6;\n  pointer-events: none;\n}\n.graph-legend-row { display: flex; align-items: center; gap: 8px; }\n.graph-legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }\n.graph-info-drawer {\n  position: absolute;\n  top: 66px;\n  right: 14px;\n  width: 310px;\n  max-height: 620px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  box-shadow: 0 8px 30px rgba(0,0,0,0.12);\n  z-index: 10;\n  padding: 16px;\n  overflow-y: auto;\n  display: none;\n  backdrop-filter: blur(10px);\n  transition: transform 0.2s ease, opacity 0.2s ease;\n}\n.graph-drawer-close {\n  position: absolute;\n  top: 10px;\n  right: 12px;\n  cursor: pointer;\n  font-size: 16px;\n  color: var(--geist-tertiary);\n}\n.graph-drawer-badge {\n  display: inline-block;\n  padding: 2px 6px;\n  border-radius: 4px;\n  font-size: 10px;\n  font-weight: 600;\n  margin-bottom: 6px;\n}\n.graph-drawer-title {\n  font-size: 13px;\n  font-weight: 700;\n  line-height: 1.4;\n  margin-bottom: 8px;\n  color: var(--geist-foreground);\n}\n.graph-drawer-meta {\n  font-size: 11px;\n  color: var(--geist-secondary);\n  margin-bottom: 12px;\n}\n.graph-drawer-core {\n  font-size: 12px;\n  line-height: 1.6;\n  color: var(--geist-foreground);\n  background: var(--geist-secondary-bg);\n  padding: 8px 10px;\n  border-radius: 6px;\n  margin-bottom: 12px;\n  border: 1px solid var(--geist-border);\n}\n.graph-drawer-link {\n  display: block;\n  text-align: center;\n  padding: 7px 12px;\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-radius: 6px;\n  font-size: 12px;\n  font-weight: 600;\n  text-decoration: none;\n  transition: opacity 0.15s ease;\n  margin-bottom: 6px;\n}\n.graph-drawer-link:hover { opacity: 0.85; }\n.graph-drawer-pdf-link {\n  display: block;\n  text-align: center;\n  padding: 6px 12px;\n  background: var(--geist-secondary-bg);\n  color: var(--geist-foreground);\n  border: 1px solid var(--geist-border);\n  border-radius: 6px;\n  font-size: 11px;\n  font-weight: 500;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.graph-drawer-pdf-link:hover { background: var(--geist-border); }\n.node-circle {\n  cursor: pointer;\n  transition: r 0.2s, stroke-width 0.2s;\n}\n.node-label {\n  font-size: 10px;\n  font-weight: 600;\n  fill: var(--geist-foreground);\n  pointer-events: none;\n  text-shadow: 0 1px 2px var(--geist-background);\n}\n.link-line {\n  stroke: var(--geist-border);\n  stroke-opacity: 0.6;\n  stroke-width: 1.2;\n  transition: stroke 0.2s, stroke-width 0.2s, stroke-opacity 0.2s;\n}\n.link-label {\n  font-size: 9px;\n  fill: var(--geist-tertiary);\n  pointer-events: none;\n  text-anchor: middle;\n}\n\n/* 引用框与警示框 Alerts */\n.callout-alert {\n  margin: 20px 0;\n  padding: 14px 18px;\n  border-radius: var(--radius-md);\n  transition: all 0.15s ease;\n}\n.callout-important, .callout-idea {\n  border-left: 4px solid #b54708;\n  background: rgba(181, 71, 8, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(247, 144, 9, 0.3);\n}\n[data-theme=\"dark\"] .callout-important, [data-theme=\"dark\"] .callout-idea {\n  border-left-color: #fec84b;\n  background: rgba(181, 71, 8, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(254, 200, 75, 0.25);\n}\n.callout-writing {\n  border-left: 4px solid #6941c6;\n  background: rgba(105, 65, 198, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(105, 65, 198, 0.3);\n}\n[data-theme=\"dark\"] .callout-writing {\n  border-left-color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(214, 187, 251, 0.25);\n}\n.callout-value {\n  border-left: 4px solid #027a48;\n  background: rgba(2, 122, 72, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(2, 122, 72, 0.3);\n}\n[data-theme=\"dark\"] .callout-value {\n  border-left-color: #32d583;\n  background: rgba(2, 122, 72, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(50, 213, 131, 0.25);\n}\n\n.card-title {\n  font-size: 16.5px;\n  font-weight: 600;\n  line-height: 1.42;\n  letter-spacing: -0.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 10px;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n  hyphens: auto;\n}\n.card-title a {\n  color: var(--geist-foreground);\n  text-decoration: none;\n  display: inline;\n  transition: color 0.15s ease;\n}\n.card-title a:hover {\n  color: var(--develop-blue);\n  text-decoration: none;\n}\n.card-id-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-quaternary);\n  margin-right: 5px;\n}\n.card-meta-row {\n  display: flex;\n  gap: 6px;\n  flex-wrap: wrap;\n  margin-bottom: 12px;\n}\n.meta-token {\n  font-size: 12px;\n  color: var(--geist-tertiary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-ring);\n  padding: 2px 7px;\n  border-radius: var(--radius-sm);\n  white-space: nowrap;\n}\n.card-body-text {\n  font-size: 13.5px;\n  color: var(--geist-secondary);\n  line-height: 1.6;\n  margin-bottom: 16px;\n  flex-grow: 1;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n}\n.card-body-text strong {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n.card-footer {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 14px;\n}\n.card-link-action {\n  font-size: 13.5px;\n  font-weight: 500;\n  color: var(--link-blue);\n  display: inline-flex;\n  align-items: center;\n  gap: 4px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.card-link-action:hover {\n  opacity: 0.85;\n  transform: translateX(2px);\n}\na.meta-token {\n  transition: all 0.15s ease;\n  cursor: pointer;\n  text-decoration: none;\n}\na.meta-token:hover {\n  background: var(--geist-selection);\n  color: var(--geist-foreground);\n  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);\n}\n\n/* 紧凑列表视图 (List View) */\n.card-list-view {\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n}\n.list-row-item {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-md);\n  padding: 12px 18px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  transition: box-shadow 0.15s;\n}\n.list-row-item:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n\n/* 阅读详情页 (Report Detail) */\n.reading-container {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) 260px;\n  gap: 40px;\n  align-items: start;\n}\n@media (max-width: 960px) {\n  .reading-container { grid-template-columns: 1fr; }\n  .reading-sidebar { display: none; }\n}\n\n.report-header-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 28px 32px;\n  margin-bottom: 28px;\n}\n.crumb-bar {\n  font-size: 13px;\n  color: var(--geist-tertiary);\n  margin-bottom: 10px;\n}\n.report-title {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  margin: 0 0 16px;\n  color: var(--geist-foreground);\n}\n.report-action-buttons {\n  display: flex;\n  align-items: center;\n  gap: 10px;\n  flex-wrap: wrap;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 16px;\n  margin-top: 16px;\n}\n\n.article-body {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 36px 42px 80px;\n  font-size: 16px;\n  line-height: 1.75;\n  color: var(--geist-foreground);\n}\n.article-body h1, .article-body h2, .article-body h3 {\n  color: var(--geist-foreground);\n  scroll-margin-top: 80px;\n}\n.article-body h1 { font-size: 28px; font-weight: 600; letter-spacing: -1.28px; border-bottom: 1px solid var(--geist-border); padding-bottom: 8px; margin-top: 32px; }\n.article-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.96px; border-bottom: 1px solid var(--geist-border); padding-bottom: 6px; margin-top: 36px; }\n.article-body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.32px; margin-top: 26px; }\n.article-body table {\n  width: 100%;\n  border-collapse: collapse;\n  margin: 24px 0;\n  font-size: 14px;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  overflow: hidden;\n}\n.article-body th, .article-body td {\n  padding: 10px 14px;\n  text-align: left;\n  border-bottom: 1px solid var(--geist-border);\n}\n.article-body th {\n  background: var(--geist-surface-tint);\n  font-weight: 600;\n  color: var(--geist-foreground);\n}\n.article-body blockquote {\n  border-left: 2px solid var(--geist-foreground);\n  margin: 20px 0;\n  padding: 8px 18px;\n  color: var(--geist-secondary);\n  font-style: normal;\n}\n.article-body code {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13.5px;\n  box-shadow: var(--shadow-ring);\n  background: var(--geist-surface-tint);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n.article-body pre {\n  position: relative;\n  background: #000000;\n  color: #ededed;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 18px;\n  margin: 24px 0;\n  overflow-x: auto;\n}\n.article-body pre code {\n  background: transparent;\n  box-shadow: none;\n  padding: 0;\n  color: inherit;\n  font-size: 13px;\n}\n.copy-code-btn {\n  position: absolute;\n  top: 8px;\n  right: 10px;\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  background: #171717;\n  color: #ffffff;\n  border: 1px solid #333333;\n  padding: 3px 8px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n}\n\n/* 侧边大纲 (TOC) */\n.reading-sidebar {\n  position: sticky;\n  top: 80px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  max-height: calc(100vh - 100px);\n  overflow-y: auto;\n}\n.sidebar-toc-title {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  color: var(--geist-quaternary);\n  margin-bottom: 12px;\n}\n.reading-sidebar ul {\n  list-style: none;\n  padding-left: 0;\n  margin: 0;\n  font-size: 13px;\n}\n.reading-sidebar li {\n  margin: 6px 0;\n}\n.reading-sidebar ul ul {\n  padding-left: 14px;\n}\n.reading-sidebar a {\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.reading-sidebar a:hover, .reading-sidebar a.active {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 后台管理 (/admin) */\n.admin-card-container {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 32px;\n  margin-bottom: 32px;\n}\n.form-row-2 {\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  gap: 16px;\n  margin-bottom: 16px;\n}\n@media (max-width: 600px) {\n  .form-row-2 { grid-template-columns: 1fr; }\n}\n.form-field {\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n  margin-bottom: 16px;\n}\n.form-field label {\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-foreground);\n}\n.form-field input, .form-field select, .form-field textarea {\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  padding: 9px 12px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  color: var(--geist-foreground);\n  outline: none;\n}\n.form-field input:focus, .form-field select:focus, .form-field textarea:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n\n/* 语法高亮 (Console Blue / Purple / Pink) */\n.codehilite .k, .codehilite .kd, .codehilite .kn { color: #eb367f; font-weight: 500; }\n.codehilite .s, .codehilite .s1, .codehilite .s2 { color: #0070f3; }\n.codehilite .nf, .codehilite .na { color: #7928ca; font-weight: 500; }\n.codehilite .c, .codehilite .c1 { color: #666666; font-style: italic; }\n.codehilite .mi, .codehilite .mf { color: #ff5b4f; }\n\n</style>\n\n</head>\n<body>\n\n    <nav class=\"vercel-nav\">\n      <div class=\"nav-brand\">\n        <a href=\"/\" style=\"display:flex;align-items:center;gap:10px;text-decoration:none\">\n          <svg class=\"vercel-triangle\" viewBox=\"0 0 76 65\" fill=\"none\">\n            <path d=\"M37.5274 0L75.0548 65H0L37.5274 0Z\" fill=\"currentColor\"/>\n          </svg>\n          <span class=\"nav-title\">Agent Harness KB</span>\n        </a>\n        <span class=\"nav-badge-pill\">Geist 2.0</span>\n      </div>\n\n      <div class=\"nav-links\">\n        <a class=\"nav-link \" href=\"/\">全景总览</a>\n        <a class=\"nav-link \" href=\"/vad\" style=\"color:var(--ship-red)\">🎯 VAD 专栏 (144)</a>\n        <a class=\"nav-link\" href=\"https://m0rtzz.github.io/paper-notes/\" target=\"_blank\" rel=\"noopener\">顶会 669 篇 ↗</a>\n        <a class=\"nav-link\" href=\"/download/all\">整库打包</a>\n        \n      </div>\n\n      <div class=\"nav-actions\">\n        \n        <button class=\"theme-toggle-btn\" id=\"theme-toggle-btn\" onclick=\"toggleTheme()\" title=\"切换亮暗主题\">🌙</button>\n      </div>\n    </nav>\n    \n<main class=\"vercel-container\">\n\n        <div class=\"report-header-card\">\n          <div class=\"crumb-bar\"><a href=\"/\">Home</a> / <b>fulltext.txt</b></div>\n          <h1 class=\"report-title\">fulltext.txt</h1>\n          <div class=\"report-action-buttons\">\n            <a class=\"btn-primary-dark\" href=\"?dl=1\">Download Text</a>\n          </div>\n        </div>\n        <article class=\"article-body\"><pre><code>This CVPR paper is the Open Access version, provided by the Computer Vision Foundation.\nExcept for this watermark, it is identical to the accepted version;\nthe final published version of the proceedings is available on IEEE Xplore.\n\nAG-VAS: Anchor-Guided Zero-Shot Visual Anomaly Segmentation with Large\nMultimodal Models\nZhen Qu1, 2 Xian Tao1,2,3,4† Xiaoyi Bao1,2 Dingrong Wang1, 2\nShiChen Qu1, 2 Zhengtao Zhang1,2,3 Xingang Wang1, 2\n1\nInstitute of Automation, Chinese Academy of Sciences\n2\nSchool of Artificial Intelligence, University of Chinese Academy of Sciences\n3\nCasivision 4 Weiqiao-UCAS Science and Technology Park\nCarpet\n\nAbstract\n\nHazelnut\n\nBottle\n\nColon\n\nColon\n\nSkin\n\nImage\n\nLarge multimodal models (LMMs) exhibit strong task generalization capabilities, offering new opportunities for zeroshot 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\npresent AG-VAS (Anchor-Guided Visual Anomaly Segmentation), a new framework that expands the LMM vocabulary with three learnable semantic anchor tokens—[SEG],\n[NOR], and [ANO], establishing a unified anchor-guided\nsegmentation paradigm. Specifically, [SEG] serves as an\nabsolute semantic anchor that translates abstract anomaly\nsemantics into explicit, spatially grounded visual entities\n(e.g., holes or scratches), while [NOR] and [ANO] act as\nrelative anchors that model the contextual contrast between\nnormal and abnormal patterns across categories. To further\nenhance cross-modal alignment, we introduce a SemanticPixel Alignment Module (SPAM) that aligns language-level\nsemantic embeddings with high-resolution visual features,\nalong with an Anchor-Guided Mask Decoder (AGMD) that\nperforms anchor-conditioned mask prediction for precise\nanomaly localization. In addition, we curate AnomalyInstruct20K, a large-scale instruction dataset that organizes anomaly knowledge into structured descriptions of appearance, shape, and spatial attributes, facilitating effective\nlearning and integration of the proposed semantic anchors.\nExtensive experiments on six industrial and medical benchmarks demonstrate that AG-VAS achieves consistent stateof-the-art performance in the zero-shot setting.\n\nGround Truth\nMask\n\nLISA\n\nAG-VAS\n(Ours)\n\nFigure 1. Comparison of zero-shot anomaly segmentation capabilities between LISA [21] and our AG-VAS.\n\n1. Introduction\n\n† Corresponding Author: taoxian2013@ia.ac.cn.\n\nZero-shot visual anomaly segmentation (ZSAS) aims to directly localize anomalous regions on the surfaces of unseencategory objects without the need for retraining. This capability is particularly important in data-scarce or privacysensitive scenarios, such as industrial defect localization\n[33, 34, 43] and medical image analysis [2, 36, 37].\nMost existing ZSAS models [10–12, 19, 35, 36, 56] are\nbuilt upon CLIP [38] due to its strong vision–language\nalignment capabilities. These models typically construct\npairs of textual prompts representing normal and abnormal states, and align them with pixel-level patch embeddings to localize anomalies. Representative methods, such\nas AnomalyCLIP [56] and Bayes-PFL [36], further enhance\nthe fine-grained anomaly perception via prompt learning\nstrategies. However, constrained by the limited representation and understanding capabilities of CLIP, the ZSAS\nperformance of these approaches appears to have reached\na bottleneck. Moreover, they do not naturally produce binary segmentation masks, often requiring heuristic thresh-\n\n‡ Project Page: https://github.com/xiaozhen228/AG-VAS\n\n14126\n\n\f(1)\n\n(2)\n\n(3)\nReject\n\n(4)\n\n(5)\n\nUSER: Can you segment\nthe defect for the object\nin this image?\nASSISTANT: Sure, it is\n[NOR][ANO][SEG]\n\nUSER: What defects are in this image? Please describe them and then\noutput the segmentation map.\nA S S I S T A N T : The defect is a cluster of discolored and frayed bristles\nlocated on the top left side of the toothbrush head. The segmentation is\n[NOR][ANO][SEG].\n\nUSER: Please segment\nthe anomalies in this\nimage.\nASSISTANT:\n[NOR][ANO][SEG]\n\nU S E R : Normally, a cable has three intact, color-coded conductors with(6)\ntightly bundled wires, with copper strands visible where insulation ends.\nWhat anomalies are present in this image? Please describe the anomalies\nand then output the corresponding segmentation map.\nASSISTANT: The anomaly is a missing section on the leftmost conductor,\nlocated in the bottom left of the image, as indicated by [NOR][ANO][SEG].\n\nUSER: What anomalies\nare present in this\nimage? Please output\nthe segmentation mask.\nA S S I S T A N T : It looks\nnormal to me.\n\nUSER: Please segment the defects in this image and explain the reason. (7)\nASSISTANT: Sure, [NOR][ANO][SEG]. Typically, the burlap fabric exhibits a\nconsistent woven pattern. However, a thin, dark vertical line can be\nobserved on the left side, disrupting the regular weave pattern. This\nirregularity suggests a defect in the fabric's structure. In summary, the\ndefect is a thin, dark vertical line on the left side of the burlap fabric.\n\nU S E R : Please segment\nthe polyp on the colon\nin this image.\nASSISTANT: Sure, it is\n[NOR][ANO][SEG]\n\nUSER: What is shown in this image?\nASSISTANT: The image shows a wooden surface with three round, dark\nholes, each surrounded by a rough, uneven texture.\nUSER: Please segment the defects on this wood surface.\nASSISTANT: Sure, [NOR][ANO][SEG]\n\n(8)\n\nFigure 2. AG-VAS is an effective and efficient LMM for zero-shot anomaly segmentation and understanding. (Left: raw image; Right:\nsegmentation result.) The visualization results are shown across the following scenarios: (1)–(4) direct segmentation, (5)–(6) describethen-segment, (7) segment-then-explain, and (8) segmentation within dialogue.\n\ntextual descriptions; 2) the segmenter’s pixel-level features\nare not well aligned with the LMM’s visual-textual embedding space, limiting effective anomaly localization.\nTo address the above issues, we propose AG-VAS, an\nend-to-end ZSAS framework equipped with a set of learnable anchor tokens that encode contextual and world knowledge about anomalies. These anchors serve as semantic\nbridges between the LMM and the segmenter, enabling effective instruction-driven anomaly segmentation. Specifically, we extend the LMM vocabulary with special anchor\ntokens: the absolute semantic anchor [SEG] provides explicit cues regarding anomaly appearance, shape, and location, while the relative semantic anchors [NOR] and [ANO]\ncapture contextual contrasts between normal and abnormal\nregions across diverse categories. To enhance cross-modal\ncorrespondence, we further introduce a Semantic–Pixel\nAlignment Module (SPAM), which aligns high-level semantic embeddings from the LMM with fine-grained pixel features from the segmenter. Finally, an Anchor-Guided Mask\nDecoder (AGMD) leverages these aligned representations\nfor anchor-consistent mask generation, achieving binarized\nsegmentation results.\nTo further enrich the model’s understanding of anomalyrelated semantics, we construct Anomaly-Instruct20K, an\ninstruction-tuning dataset specifically designed for segmentation tasks. Unlike conventional instruction datasets focused on dialogue or visual question answering, AnomalyInstruct20K injects structured world knowledge of anomalies into the LMM through diverse descriptions of defect\nappearance, shape, and spatial context. This enables the\nanchor tokens to learn precise and discriminative seman-\n\nolding or empirical tuning, which hinders practical deployment. These limitations motivate exploring large multimodal models (LMMs) with stronger reasoning capacity\nand richer world knowledge [13, 28, 39, 47, 57].\nRecent anomaly detection studies [17, 18, 24, 49] leveraging LMMs have demonstrated remarkable performance\nin high-level visual understanding and conversational interaction. However, most existing works (e.g. Anomaly-OV\n[49]) focus on enhancing image-level textual descriptions\nor anomaly classification accuracy, while precise pixellevel responses, such as binary segmentation masks, remain largely unexplored. In this work, we aim to develop\nan end-to-end ZSAS framework built upon the pretrained\nLMMs, capable of understanding complex segmentation instructions and directly outputting binary masks.\nLISA [21] is the first general-purpose image segmentation work to employ an embedding-as-mask scheme,\nextending visual comprehension to pixel-wise segmentation by integrating LMMs with dedicated segmenters\n(e.g. SAM [20]). However, when applied to industrial or medical ZSAS tasks, it often fails to correctly\nidentify anomalous regions, sometimes even confusing\nforeground and background. For instance, given the\ninstruction \"Please segment the anomalies in\nthis image\", LISA may produce masks that mislocalize the abnormal regions, as illustrated in Figure 1. We\nattribute these failures in ZSAS to two main factors: 1)\nanomalies or defects are highly abstract concepts without concrete semantic references—for example, unlike a\nwell-defined object such as “apple”, anomalies can include\n“holes” or “scratches”, making them difficult to map from\n\n14127\n\n\fVisual\nFeatures\n\nAnchor-Guided Semantic Interaction Flow\n\nThe anomaly is a small hole located on the upper part of the hazelnut, as indicated by [NOR] [ANO] [SEG]\n\n…\nLarge Language Model\n\nfs\n\nTrainable\nFrozen\n\nximg\n\nf align\n\nPixel Image\nEncoder\nImage Embedding\n\np\n\nAnchor-Guided\nMask Decoder\n(AGMD)\n\nfp\nInput Text Embedding\n\nAlignment Embedding\n\nRelative Normal Anchor\nToken / Embedding\n\nTokenize\n\nfp\n\nQuestion: &lt;Image&gt;\\n What\nanomalies are present in this\nimage? Please describe the\na n o m a l i e s and then output\nthe segmentation map.\n\nSemantic PixelAlignment Module\n(SPAM)\n\ns\n\n[NOR]/\n\nf txt\n\nVisual Projector\n\nSemantic Image\nEncoder\n\nToken\nRefiner\n\nLoRA\n\n[ANO]/\n\nRelative Anomalous Anchor\nToken / Embedding\n\nOutput Text Embedding\n[ANO]/\n\nAbsolute Anchor\nToken / Embedding\n\nFigure 3. The pipeline of AG-VAS. We design two types of semantic anchors: the absolute anchor [SEG], which injects world and\ncontextual knowledge about the appearance, structure, and location of anomalies (e.g., holes, scratches) into the segmentation process, and\nthe relative normal/anomalous anchors [NOR]/[ANO], which guide the model to understand anomalies in relation to normal patterns. All\nparameters except those for the semantic/pixel image encoder, visual projector and LLM are trainable.\n\ntic representations. Moreover, its instruction-based design\nallows AG-VAS to develop interactive segmentation behaviors and flexibly respond to various user prompts. Figure 2\ndemonstrates that AG-VAS produces high-quality masks\nunder different segmentation instructions. In summary, our\ncontributions are:\n• We propose AG-VAS, an anchor-guided framework for\nZSAS that directly produces binary masks through\ninstruction-driven segmentation. It introduces absolute\nand relative semantic anchors to bridge the LMM and segmenter, and incorporates two modules: SPAM for aligning LMM and segmenter features, and AGMD for generating accurate, anchor-consistent masks.\n• We construct Anomaly-Instruct20K, a segmentationoriented instruction-tuning dataset that injects structured\nworld knowledge of anomalies into the LMM, enhancing\nits understanding of defect-related semantics.\n• We achieve state-of-the-art performance on multiple industrial and medical anomaly detection benchmarks,\ndemonstrating the strong generalization ability and practical applicability of AG-VAS.\n\noriented approaches. Comprehension-oriented methods focus on enhancing visual understanding by aligning visual\nencoders with language models and improving representation quality through progressive training or multi-scale feature design [1, 15, 16, 23, 25, 28, 46]. Representative models such as BLIP-2 [23], Flamingo [1], LLaVA [28], and\nQwen-VL [46] have substantially advanced cross-modal\nreasoning and instruction-following capabilities. More recently, techniques like chain-of-thought reasoning [29, 32]\nand mixture-of-experts architectures [27, 50] have further\nimproved LMMs’ ability to handle complex visual comprehension tasks. In contrast, perception-oriented LMMs emphasize fine-grained visual grounding, aiming to adapt language models for pixel-level localization tasks [6, 21, 26,\n39, 41, 48, 54]. A promising direction is the embedding-asmask paradigm, first introduced by LISA [21] and later extended by PixelLM [39] and PaDT [41]. While these methods achieve strong performance in general object segmentation, they remain suboptimal when applied to the ZSAS\ntask.\n\n2. Related Work\n\n2.2. Zero-Shot Anomaly Segmentation\n\n2.1. Large Multimodal Models\n\nRecent studies on ZSAS have highlighted the potential of foundation models such as CLIP [38] for localizing anomalies in unseen categories. Most existing methods [10, 11, 19, 31, 35, 36, 56, 58] leverage\nCLIP’s strong vision–language alignment and improve fine-\n\nRecent advances in LMMs can be broadly categorized into\ntwo paradigms: comprehension-oriented and perception-\n\n14128\n\n\fgrained anomaly understanding through feature adaptation or prompt learning. Early works like APRILN-GAN\n[11] and CLIP-AD [12] introduce learnable linear layers\nto project image patch features into the joint embedding\nspace. Later methods strengthen cross-category ZSAS performance through various prompt-learning designs, including static learnable prompts (AnomalyCLIP [56]), visualcontext prompts (VCP-CLIP [35]), hybrid static–dynamic\nprompts (AdaCLIP [10]), and prompt distribution learning\n(Bayes-PFL [36]). Several LMM-based methods have recently been proposed for zero-shot tasks [17, 18, 24, 49],\nsuch as Anomaly-OV [49] and IAD-R1 [24]. However, they\nprimarily focus on image-level anomaly understanding and\nclassification rather than segmentation. In contrast to the\nabove methods, this work aims to develop an instructionfollowing ZSAS model based on LMMs that directly outputs binarized segmentation masks, which is more practical\nin real industrial and medical scenarios.\n\ntics through specific anchor embeddings in the LMM output\nspace. From the perspective of a human inspector, locating\nanomalies in unseen categories generally relies on two complementary reasoning processes: 1) leveraging prior world\nknowledge and contextual understanding of common defect types (e.g., holes, cracks, scratches) to recognize what\nanomalies might look like and where they typically appear;\nand 2) contrasting candidate regions against surrounding\nnormal areas to identify inconsistencies or irregular patterns.\nInspired by these two reasoning modes, we introduce\ntwo types of semantic anchors: the absolute anchor [SEG],\nwhich encodes world knowledge and contextual cues regarding the appearance, structure, and location of potential\nanomalies, and the relative anchors [NOR]/[ANO], which\nguide the model to perceive anomalies in relation to normal patterns. These anchors are implemented as special\ntokens that are inserted into the text sequence and added\nin the LMM’s vocabulary space, allowing them to learn\ntask-specific embeddings that differ from those obtained\nthrough conventional prompt tuning. During inference, AGVAS mainly supports two segmentation modes that differ in\nwhether the reasoning process is explicitly externalized:\n(1) Implicit Mode. The model directly segments anomalies by leveraging internalized contextual and world knowledge. In this work, this corresponds to the Direct Segmentation scenario. For example:\n\n3. Method\nFollowing the recent ZSAD setting [36, 56], our model\nis trained under supervision on seen categories C s from\nan auxiliary dataset including our curated AnomalyInstruct20K, and directly tested on unseen categories C u\ncollected from industrial and medical domains. Importantly, C s and C u are disjoint, and the datasets used for\ntraining and evaluation exhibit substantial domain gaps.\n\nUser: Please segment the anomalies in this image.\nAssistant: Sure, it is [NOR][ANO][SEG].\n\n3.1. Model Design\nFramework overview. As illustrated in Figure 3, AGVAS is an anchor-guided framework that integrates absolute\nand relative semantic anchors into an instruction-driven segmentation pipeline. It consists of four key components: 1) a\nfrozen semantic image encoder Fs and pixel image encoder\nFp ; 2) a large language model FLLM ; 3) a Semantic–Pixel\nAlignment Module (SPAM); and 4) a lightweight AnchorGuided Mask Decoder D.\nGiven an input image ximg and a text query xtxt , the\nfrozen encoders first extract semantic features fs and pixellevel features fp . These features are processed by the LLM\ntogether with the anchor tokens [NOR]/[ANO] and [SEG].\nThe mask decoder D then decodes the final-layer embedding corresponding to each anchor token to produce the\nbinary segmentation mask M. SPAM enhances this process by aligning the LLM’s semantic representations with\nthe pixel-level features, enabling the anchor embeddings to\neffectively guide mask generation. In the following, we describe each component in detail.\nDesign of Semantic Anchors. In LMM-based ZSAS,\nwe define semantic anchors as bridges that connects the\nhigh-level semantic representations produced by the LMM\nwith the mask decoder. The key motivation is to enable\nthe model to capture fine-grained anomaly-related seman-\n\n(2) Explicit Mode. The model externalizes its reasoning process either before or after mask prediction, such as\ndescribing anomalies before segmentation (Describe-thenSegment) or explaining the predicted mask (Segment-thenExplain). As an example, in the Describe-then-Segment\nprocess:\nUser: What anomalies are present in this image? Please describe the anomalies and then output the segmentation map.\nAssistant: The anomaly is a small hole located on the upper\npart of the hazelnut, as indicated by [NOR][ANO][SEG].\n\nBoth modes rely on identical anchor representations and\nworld knowledge grounding; they differ only in whether\nthe description or reasoning process is explicitly articulated.\nUnless otherwise specified, we adopt the Direct Segmentation mode for quantitative evaluation.\nSemantic–Pixel Alignment Module. The introduction\nof semantic anchors bridges the high-level semantic understanding of LMMs to pixel-level segmentation. However, a gap exists between the high-level semantic embedding space of the LMM and the low-level visual features\nof the pixel encoder, hindering the anchors’ alignment with\nspatially coherent visual cues. Therefore, we propose the\nSPAM, which facilitates the alignment of pixel-level image\nfeatures with the LMM’s embedding space through crossmodal interaction.\n\n14129\n\n\fRaw Image + Bbox\n\nRaw Image + GT\n\nNormal Image\n\nthe mask decoder space as hnor , hano , hseg using a shared\nToken Refiner Ftr , which consists of two linear layers.\nAnchor-Guided Mask Decoder. Given the refined anchor embeddings hnor , hano , hseg and the pixel embeddings\nfp , the proposed AGMD aims to generate absolute and relative segmentation masks guided by semantic anchors. We\nfirst concatenate the anchor embeddings with three learnable query tokens Tlearn = {tnor , tano , tseg } to form the decoder input:\n\n\"Expectation\" ： The fire hood should have a uniform, smooth,\nand consistent circular pattern.\n\"Observation\"：A thin, irregular, and slightly darker line appears\nnear the center, disrupting the uniform pattern. The line has a\nrough texture compared to the surrounding smooth surface.\n\"Diagnosis\" ： The irregular line breaks the smooth texture and\nconsistent pattern, indicating a scratch.\n\"Summary\" ： T he defect is a thin, irregular, and slightly darker\nline near the center of the fire hood, with a rough texture. The\nsegmentation is [NOR][ANO][SEG].\n\"Explanation\": Typically, the fire hood should exhibit a uniform,\nsmooth, and consistent circular pattern. However, a thin,\nirregular, and slightly darker line appears near the center,\ndisrupting the uniform pattern and showing a rough texture\ncompared to the surrounding smooth surface. This irregular line\nbreaks the smooth texture and consistent pattern, indicating a\nscratch.\n\n  \\mathbf {Z}_0 = [t_{\\text {nor}}, t_{\\text {ano}}, t_{\\text {seg}}, h_{\\text {nor}}, h_{\\text {ano}}, h_{\\text {seg}}]. \n\n(a)\nDirect Segmentation\n\nDescribe-then-Segment\n\nUSER: Please segment the anomalies in\nthis image.\nASSISTANT: Sure, it is [NOR][ANO][SEG]\n\nUSER: What are anomalies in this image？\nPlease describe them and then output the\nsegmentation map.\nASSISTANT: {\"Summary\"}\n\nDescribe-then-Explain\n\nDescribe-then-Segment-Plus\n\nUSER: What are anomalies in this image?\nPlease output segmentation mask and\nexplain the reason.\nASSISTANT: Sure, it is [NOR][ANO][SEG].\n{\"Explanation\"}\n\nUSER: Normally, {\"Expectation\"}. What are\nanomalies in this image? Please describe\nt h e m and then output the segmentation\nmap.\nASSISTANT: {\"Summary\"}\n\nThe decoder performs L layers of bidirectional crossattention between the initial latent feature Z0 and pixel embeddings fp , resulting in the final output ZL and updated\npixel embeddings fp′ . The process is described as:\n  \\mathbf {Z}_{L}, f_p' = \\text {BiAttn}^L(\\mathbf {Z}_0, f_p) \n\n(b)\n\nSpecifically, given an image ximg ∈ R3×h×w , the semantic image encoder and the pixel image encoder are first used\nseparately to extract visual features. The extracted features\nare then mapped to the same embedding dimension using a\nsimple linear layer:\n\n  P_{\\text {seg}} = \\sigma (t'_{\\text {seg}} f_p'^{\\top }), \n\n(6)\n\nwhile for the relative anchors [NOR] and [ANO], a\ncontrastive softmax function is applied to produce normal–abnormal probability maps:\n\n  f_s = Linear_s(\\mathcal {F}_s(x_{\\text {img}})) \\quad f_p = Linear_p(\\mathcal {F}_p(x_{\\text {img}}))  (1)\nwhere Fs and Fp are semantic and pixel encoder, respectively. To facilitate better interaction between the anchors\nand the mask decoder, we employ a cross-modal attention\nmodule, where the semantic features extracted by the semantic image encoder serve as queries Q to attend to pixel\nembeddings (K, V):\n\n  [P_{\\text {nor}}, P_{\\text {ano}}] = \\text {Softmax}([t'_{\\text {nor}}, t'_{\\text {ano}}] f_p'^{\\top }). \n\n(7)\n\nThe final anomaly map is obtained by fusing the absolute\nand relative maps:\n\n(2)\n\n  P = \\alpha \\cdot P_{\\text {seg}} + (1-\\alpha ) \\cdot P_{\\text {ano}}, \\quad \\alpha =0.5 \n\n(8)\n\nFinally, the binary segmentation mask M is produced by\nthresholding the fused map at 0.5. This design allows the\ndecoder to transform abstract anchor semantics into pixellevel representations under the guidance of both absolute\n([SEG]) and relative ([NOR]/[ANO]) anchors. Detailed implementation and architecture specifications of AGMD are\nprovided in the Appendix.\n\nwhere M HCA denotes the multi-head cross attention [44].\nSubsequently, the image embeddings fs from the semantic\nencoder, the aligned embeddings falign , and the text embeddings ftxt are concatenated and jointly fed into the large\nlanguage model, which outputs a text response ŷtxt :\n  \\hat {y}_{\\text {txt}} = \\mathcal {F}_{\\text {LLM}}(Concat(f_s, f_{align},f_{\\text {txt}} )) \n\n(5)\n\nwhere BiAttnL (·) refers to applying a sequence of L bidirectional cross-attention blocks, iteratively updating both\nZ0 and fp , and following the design principles of SAM [20].\nAfter the final layer, we select the updated learnable tokens\nT′learn = {t′nor , t′ano , t′seg } from ZL to compute segmentation\nmasks. More architectural details of AGMD are provided\nin the Appendix.\nFor the absolute semantic anchor [SEG], a foreground\nprobability map is produced via a sigmoid activation σ(·):\n\nFigure 4. (a) An example from our Anomaly-Instruct20K dataset.\n(b) An example of instruction-tuning with dynamic fusion of templates during the actual training process. Note that only one specific template is shown here, with further details provided in the\nAppendix.\n\n  f_{align} = MHCA(\\mathbf {Q} = f_s, \\mathbf {K} = f_p, \\mathbf {V} = f_p) \n\n(4)\n\n(3)\n\nwhere ftxt is a tokenized version of the input text query xtxt .\nThe LLM output ŷtxt contains our designed anchor tokens\n[NOR],[ANO],[SEG]. We extract the LLM last-layer embeddings corresponding to these tokens and map them into\n\n3.2. Training Objectives\n\n14130\n\nThe training of AG-VAS involves two complementary objectives:\n1) Textual Autoregressive Loss. All tokens in the target\nsequence, including the anchor tokens, are supervised using\n\n\fthe standard autoregressive cross-entropy loss:\n  \\mathcal {L}_{\\text {txt}} = - \\frac {1}{T_y}\\sum _{t=1}^{T_y} \\log P(y_t \\mid y_{&lt;t}, x_{\\text {img}}, x_{\\text {txt}}) \n\n(9)\n\nand Explanation, which synthesizes all components into a\ncoherent reasoning paragraph. An example of the generated annotations, along with the visual inputs, is shown in\nFigure 4(a).\nDuring training, we generate final instructions by sampling templates from a library and combining them with\ndataset fields, covering four main instruction types: Direct Segmentation, Describe-then-Segment, Describe-thenSegment-Plus and Segment-then-Explain. An example of\ncombining a template to generate a real instruction-tuning\nsample during the training process is shown in Figure 4(b).\nMore detailed dataset construction procedures and system\nprompts are included in the Appendix.\n\nwhere yt denotes the ground-truth token at step t, Ty is the\nlength of the target sequence, and ximg , xtext are the input\nimage and text query, respectively.\n2) Segmentation Loss. For the predicted masks from\nthe Anchor-Guided Mask Decoder, we unify the loss for all\nanchors as a combination of Binary Cross-Entropy (BCE)\nloss and Dice loss:\n  \\mathcal {L}_{\\text {seg}} = \\sum _{c} \\Big (\\lambda _{bce} \\text {BCE}(P_c, M_c) + \\lambda _{dic}\\text {Dice}(P_c, M_c) \\Big ) \n\n4. Experiment\n\n(10)\nwhere c ∈ {SEG, NOR, ANO},Pc is the predicted mask for\nanchor c, and Mc is the corresponding ground-truth mask.\nFor the relative normal anchor, the ground-truth mask is the\ncomplement of the abnormal mask. The weights λbce and\nλdic are set to 0.5 and 2.0 empirically.\nThe total training objective is then defined as:\n  \\mathcal {L} = \\mathcal {L}_{\\text {txt}} + \\mathcal {L}_{\\text {seg}} \n\n4.1. Experimental Setup\n\n(11)\n\nDatasets. The training of AG-VAS follows a multitask joint learning strategy, leveraging datasets from two\ncomplementary domains: general object segmentation and\nanomaly segmentation. For general object segmentation,\nwe adopt the setup from LISA [21], using datasets such\nas ADE20K [55] to provide comprehensive segmentation capabilities. For anomaly segmentation, we employ\ntwo sources of auxiliary training data: 1) the constructed\nAnomaly-Instruct20K, and 2) a random set of 20k images\nextracted from existing industrial anomaly segmentation\ndatasets [3, 5, 30, 40, 52], referred to as Anomaly-Seg20K,\nused under direct segmentation instructions. To preserve\nthe model’s dialogue and instruction-following capabilities,\nwe include VQA datasets (LLaVA-150K [28] and WebAD\n[49]) during training. This joint training enables the absolute semantic anchor [SEG] to align with specific defect entities (e.g., holes, scratches) through contextual semantics and world knowledge, while the relative anchors\n[NOR] and [ANO] capture the semantic contrast between\nnormal and anomalous regions. To evaluate the ZSAS performance of our model, we follow the protocol in [36] and\nconduct experiments on six real-world datasets, including\nthree from the industrial domain (MVTec-AD [7], KSDD2\n[9], RSDD [51]) and three from the medical domain (ISIC\n[14], ColonDB [42], ClinicDB [8]). More details about the\ndatasets can be found in Appendix.\nEvaluation Metrics. In this work, we focus on the quality of ZSAS predictions, particularly the binarized segmentation accuracy. We report pixel-level average precision\n(AP), the maximum F1 score at the optimal threshold (F1Max), and the Intersection over Union of anomalous samples (IoUano ). To further evaluate the model’s ability to reject normal images, we define IoUnor : the model receives a\nscore of 1 if it predicts an empty mask for a normal sample,\nand 0 otherwise. Both IoUano and IoUnor are computed at\nthe per-image level and then averaged over the correspond-\n\n3.3. Anomaly-Instruct20K Dataset\nTo improve the instruction-based segmentation ability of\nlarge multimodal models, we introduce a new dataset,\nAnomaly-Instruct20K, designed to inject world knowledge on normal and abnormal visual patterns into the\nLMM backbone. Different from prior datasets such as\nAnomaly-Instruct-125K [49], which mainly provide question–answer annotations for general anomaly understanding, our dataset bridges vision–language reasoning with\npixel-level anomaly perception through instruction-driven\nsegmentation supervision. Anomaly-Instruct20K is built\nusing samples from three publicly available datasets: RealIAD [45], GoodsAD [53], and DTD-Synthetic [3].\nWe generate the dataset with the scientific multimodal\nmodel Inter-S1-241B [4]. For each anomalous sample,\nthe model receives three visual inputs: 1) the raw image\nwith bounding boxes, 2) the raw image overlaid with the\nground-truth mask, and 3) a corresponding normal reference image. Conditioned on these inputs, Inter-S1 generates a structured annotation comprising five fields: Expectation, which describes the object’s ideal normal appearance;\nObservation, which details concrete visual deviations (e.g.,\nlocation, shape, size, or texture irregularities); Diagnosis,\nwhich explains why these deviations break normal material or structural consistency; Summary, which converts the\ndetected cues into a concise segmentation instruction and\nexplicitly encodes spatial and appearance attributes necessary for grounding the anchor tokens [NOR][ANO][SEG];\n\n14131\n\n\fTable 1. Comparison with existing state-of-the-art methods. The best results are marked in red, while the second-best methods are indicated\nin blue. The superscript * indicates that these methods were retrained on the anomaly segmentation dataset used in our AG-VAS.\nMethod\nWinCLIP [19]\nAPRIL-GAN [11]\nCLIP-Based\nAnomalyCLIP [56]\n(AP, F1-Max,\nAnomalyCLIP* [56]\nIoUano )\nBayes-PFL [36]\nBayes-PFL* [36]\n\nLMM-Based\n(AP, F1-Max,\nIoUano )\n\nPixelLM [39]\nPaDT [41]\nLISA [21]\nLISA [21]\nLISA* [21]\nLISA [21]\nLISA* [21]\nAG-VAS\nAG-VAS\n\nIndustrial Datasets\n\nBase Model\n\nMedical Datasets\n\nMVTec-AD\n\nKSDD2\n\nRSDD\n\nISIC\n\nColonDB\n\nClinicDB\n\nCLIP(ViT-B-16-240)\nCLIP(ViT-L-14-336)\nCLIP(ViT-L-14-336)\nCLIP(ViT-L-14-336)\nCLIP(ViT-L-14-336)\nCLIP(ViT-L-14-336)\n\n(18.0, 24.3, 0.0)\n(40.8, 43.3, 25.1)\n(34.5, 39.1, 22.6)\n(35.2, 39.0, 22.4)\n(48.3, 49.1, 22.2)\n(50.3, 50.4, 29.9)\n\n(17.1, 24.6, 0.0)\n(61.6, 62.6, 41.8)\n(41.8, 50.3, 27.6)\n(48.8, 53.6, 28.6)\n(73.7, 63.5, 25.4)\n(74.9, 67.6, 39.5)\n\n(2.1, 6.6, 0.1)\n(30.6, 40.2, 24.3)\n(19.1, 30.6, 8.8)\n(25.5, 34.4, 8.5)\n(39.1, 45.2, 3.7)\n(41.9, 46.9, 7.7)\n\n(62.4, 64.1, 0.24)\n(69.8, 69.3, 12.8)\n(74.4, 70.8, 51.0)\n(76.5, 71.4, 54.1)\n(84.6, 76.8, 60.0)\n(81.9, 74.3, 52.1)\n\n(14.3, 21.0, 0.0)\n(23.2, 32.5, 14.4)\n(31.3, 39.8, 25.2)\n(34.2, 39.8, 22.7)\n(31.9, 39.2, 16.8)\n(30.5, 38.1, 27.7)\n\n(19.4, 27.3, 0.0)\n(38.8, 44.4, 25.3)\n(42.2, 45.9, 30.0)\n(44.1, 47.3, 29.4)\n(53.2, 51.7, 21.0)\n(47.6, 50.7, 34.4)\n\nLLaVA-13B\nQwen2.5-VL-7B\nLLaVA-7B\nLLaVA-13B\nLLaVA-13B\nLLaVA-OneVision-7B\nLLaVA-OneVision-7B\nLLaVA-13B\nLLaVA-OneVision-7B\n\n(13.6, 19.6, 11.9)\n(6.8, 12.9, 16.4)\n(9.8, 16.9, 10.2)\n(14.6, 21.8, 13.7)\n(37.6, 40.8, 31.8)\n(32.4, 38.3, 32.2)\n(41.0, 44.1, 32.3)\n(40.5, 42.5, 37.0)\n(51.0, 52.7, 44.8)\n\n(42.6, 46.8, 32.4)\n(1.2, 2.9, 12.4)\n(19.5, 23.8, 18.2)\n(36.8, 39.8, 29.4)\n(63.7, 63.8, 50.9)\n(59.8, 65.8, 49.4)\n(69.4, 69.8, 48.4)\n(66.5, 65.4, 53.7)\n(76.6, 74.7, 53.8)\n\n(5.3, 9.4, 4.9)\n(0.9, 1.8, 1.7)\n(6.9, 12.5, 2.9)\n(5.2, 11.4, 2.6)\n(52.1, 57.1, 35.2)\n(31.6, 37.6, 22.6)\n(48.8, 54.9, 34.6)\n(54.3, 57.0, 35.9)\n(56.2, 57.8, 36.9)\n\n(69.8, 61.7, 48.9)\n(65.9, 68.3, 54.5)\n(68.1, 66.3, 54.6)\n(87.1, 78.1, 64.8)\n(88.7, 82.4, 64.1)\n(90.7, 81.6, 56.9)\n(84.9, 77.6, 50.1)\n(88.8, 82.7, 64.6)\n(92.7, 84.9, 65.0)\n\n(8.9, 16.8, 9.8)\n(35.4, 48.4, 39.1)\n(25.9, 33.1, 19.4)\n(35.3, 34.0, 26.2)\n(40.9, 43.2, 29.5)\n(29.1, 35.8, 14.4)\n(67.2, 62.9, 43.8)\n(43.7, 45.1, 32.2)\n(70.7, 66.2, 58.2)\n\n(13.0, 20.9, 14.6)\n(39.8, 51.4, 49.8)\n(50.0, 45.3, 36.4)\n(56.3, 52.9, 42.3)\n(67.8, 62.7, 48.3)\n(56.1, 54.4, 32.6)\n(81.0, 74.1, 59.8)\n(68.3, 65.5, 50.1)\n(86.6, 79.2, 69.5)\n\nTable 2. Comparison of the model’s ability to reject segmentation\non normal samples on the MVTec-AD.\nMethod\n\nBase Model\n\nIoUano\n\nIoUnor\n\nAverage\n\nPixelLM [39]\nPaDT [41]\nLISA [21]\nLISA [21]\nLISA* [21]\nLISA [21]\nLISA* [21]\nAG-VAS\n\nLLaVA-13B\nQwen2.5-VL-7B\nLLaVA-7B\nLLaVA-13B\nLLaVA-13B\nLLaVA-OneVision-7B\nLLaVA-OneVision-7B\nLLaVA-OneVision-7B\n\n11.9\n16.4\n10.2\n13.7\n31.8\n32.2\n32.3\n44.8\n\n2.4\n0.0\n1.9\n6.3\n43.5\n4.0\n80.9\n87.7\n\n7.2\n8.2\n6.1\n10.0\n37.7\n18.1\n56.6\n66.3\n\nparison, we also retrained other methods (e.g., AnomalyCLIP, Bayes-PFL, and LISA) on the anomaly segmentation\ndataset used by our AG-VAS during training. More details\nregarding the comparison of these methods are shown in\nAppendix.\n\n4.2. Comparison with State-of-the-art methods\n\nQuantitative Comparison. Table 1 presents a comparison of our AG-VAS with other state-of-the-art methods across various industrial and medical datasets. It\ncan be observed that when using the default base model,\nLLaVA-OneVision, our ZSAS performance surpasses all\nother methods on every metric. CLIP-based methods, such\nas Bayes-PFL, achieve comparable AP and F1-Max scores\nrelative to LMM-based approaches but perform poorly on\nmetric IoUano , which measures true segmentation accuracy.\nThis suggests that their anomaly localization results are ambiguous, leading to lower IoUano after binarization. Furthermore, we observe that LLM-based methods demonstrate superior zero-shot generalization on medical datasets\ncompared to CLIP-based approaches, particularly after finetuning on our carefully curated Anomaly-Instruct20K and\nAnomaly-Seg20K datasets. It is noteworthy that no medical\nimages were included in the training dataset, demonstrating that LMMs can leverage pre-existing world knowledge\nfor zero-shot generalization to unseen domains. Furthermore, the introduction of the anchor mechanism allows our\nmethod to more effectively align semantic and pixel-level\nfeatures, leading to substantial improvements over other\nLMMs in leveraging contextual semantics during training.\n\nSince LMM-based ZSAS is still in an early exploratory\nstage, directly comparable approaches are limited. Therefore, we include four representative CLIP-based ZSAS\nmethods (WinCLIP [19], APRIL-GAN [11], AnomalyCLIP\n[56], and Bayes-PFL [36]) together with three segmentation\nmethods that address referring segmentation tasks, specifically designed for natural scene understanding: PixelLM\n[39], PaDT [41], and LISA [21]. To ensure a fair com-\n\nComparison of rejection performance. For LMMbased ZSAS methods, it is crucial to not only accurately\nsegment anomalous regions but also to reject normal samples by predicting empty masks, even when the user provides instructions to segment anomalies. The experimental\nresults in Table 2 show that most LMMs struggle in this regard, whereas our AG-VAS demonstrates strong rejection\nability, achieving an IoUnor of 87.7% on normal samples.\n\ning subsets.\nImplementation Details. By default, we adopt LLaVAOneVision-7B [22] as our LMM backbone, equipped with a\nsemantic image encoder (siglip-patch14-384), while SAMViT-H serves as the pixel image encoder for mask prediction. Training is implemented using DeepSpeed with the\nAdamW optimizer at a learning rate of 0.0003. During instruction tuning, the LLM is fine-tuned with LoRA at rank\n16, using a global batch size of 80. The full training of the\n7B model takes about 30 hours on four A100 GPUs with\n40 GB memory each. More implementation details can be\nfound in the Appendix.\n\n14132\n\n\fTable 3. Ablation on different components.\n\nTable 4. Ablation on different segmentation mode during inference.\n\nAP\n\nF1-Max\n\nIoUnor\n\nIoUano\n\nModule\nAblation\n\nw/o [SEG]\nw/o [NOR][ANO]\nw/o SPAM\n\n49.1\n47.2\n46.5\n\n50.9\n49.7\n48.0\n\n85.6\n52.1\n70.6\n\n42.1\n39.5\n41.4\n\nTraining\nDataset\nAblation\n\nw/o Anomaly-Instruct20K\nw/o Anomaly-Seg20K\nw/o General Segmentation\n\n48.4\n49.3\n36.1\n\n50.0\n51.5\n36.5\n\n85.2\n53.5\n70.2\n\n39.9\n42.4\n34.9\n\nAG-VAS\n\n51.0\n\n52.7\n\n87.7\n\n44.8\n\nSegmentation Mode\n\nAP\n\nF1-Max\n\nIoUnor\n\nIoUano\n\nDescribe-then-segment\nDescribe-then-segment-plus\nSegment-then-explain\n\n49.3\n51.9\n48.6\n\n51.3\n53.0\n51.4\n\n58.8\n90.2\n91.1\n\n43.6\n45.1\n43.4\n\nDirect Segmentation\n\n51.0\n\n52.7\n\n87.7\n\n44.8\n\nprovided prior, explicitly informing the model about the object’s typical state. Segment-then-Explain first predicts the\nmask and then generates an explanation, while Direct Segmentation predicts the mask directly from the instruction\nwithout intermediate text.\n\nThis indicates a substantial reduction in over-segmentation\nrisk, while AG-VAS also maintains superior performance\non anomalous regions, achieving an IoUano of 44.8%.\n\n4.3. Ablation\n\nCompared with the default Direct Segmentation mode,\nDescribe-then-Segment and Segment-then-Explain slightly\nreduce segmentation performance due to textual noise introduced during intermediate reasoning. However, these\nmodes enable the model to better follow user instructions\nand support interactive reasoning, justifying a minor sacrifice in mask accuracy. Notably, Describe-then-SegmentPlus, by providing explicit knowledge of the object’s normal state, improves contextual understanding and partially\nmitigates the performance drop, leading to the best overall\nresults among the descriptive modes.\n\nIn this subsection, ablation experiments on the MVTec-AD\ndataset are conducted to further investigate the impact of\ndifferent settings on the proposed AG-VAS.\nInfluence of Different Components. Table 3 presents\nan ablation study evaluating the impact of various modules\nand training datasets on ZSAS performance. From the module ablations, it can be observed that removing the absolute semantic anchor [SEG] leads to a noticeable drop in all\nmetrics, highlighting its crucial role in aligning anchor semantics with concrete defect entities. Excluding the relative\nanchors [NOR] and [ANO] significantly decreases IoUnor ,\nindicating their importance in capturing the semantic contrast between normal and anomalous regions. The removal\nof SPAM also causes performance degradation, suggesting\nits effectiveness in feature aggregation.\nRegarding dataset ablations, training without AnomalyInstruct20K leads to a noticeable decrease in performance, particularly on metrics reflecting anomaly segmentation. This indicates that instruction tuning with\nAnomaly-Instruct20K successfully injects domain-specific\nworld knowledge into the model, enabling the anchors\nto better interpret and localize anomalies. Excluding\nAnomaly-Seg20K causes a larger drop in IoUnor , showing\nthat these auxiliary images are crucial for learning robust\nnormal–abnormal contrasts. Omitting general segmentation\ndata results in the most substantial decrease across all metrics, confirming that multi-domain joint training is essential\nfor aligning absolute semantic anchors with visual features.\nInfluence of different segmentation modes during inference. Table 4 compares AG-VAS performance under different inference strategies. Describe-then-Segment refers to\nfirst generating a textual description of the target anomaly\nand then producing a segmentation mask. Describe-thenSegment-Plus prepends an additional sentence describing\nthe normal appearance of the object to the input instruction\nbefore the anomaly description. This serves as an expert-\n\n5. Conclusion\n\n14133\n\nThis paper introduces AG-VAS, an anchor-guided framework for zero-shot visual anomaly segmentation that endows large multimodal models with learnable semantic anchors—absolute token [SEG] and relative tokens\n[NOR]/[ANO]—to jointly encode world knowledge about\ndefect appearance, shape and location while simultaneously modeling the contextual opposition between normal and abnormal regions. By fusing high-level vision–language embeddings with fine-grained pixel features\nthrough the Semantic–Pixel Alignment Module, and decoding anchor-consistent masks via the bidirectional AnchorGuided Mask Decoder, AG-VAS overcomes the lack of\nstructured anomaly semantics and directly outputs accurate binary masks without requiring category-specific retraining. Extensive experiments on six challenging industrial and medical benchmarks demonstrate that AG-VAS\nestablishes a new state-of-the-art, significantly outperforming both CLIP-based and recent LMM-based competitors.\nIt shows strong rejection performance on normal images\nand demonstrates robust generalization across unseen domains, providing a practical solution for real-world zeroshot anomaly segmentation task.\n\n\fAcknowledgement\nThis work was supported by the Shandong Provincial\nNatural Science Foundation (No.\nZR2025LGY002),\nthe National Natural Science Foundation of China (No.\n62373350), the Youth Innovation Promotion Association\nCAS (No. 2023145) and the Beijing Nova Program (No.\n20240484687).\n\nclip with hybrid learnable prompts for zero-shot anomaly detection. In European Conference on Computer Vision, pages\n55–72. Springer, 2025.\n[11] Xuhai Chen, Yue Han, and Jiangning Zhang. A zero-/fewshot anomaly classification and segmentation method for\ncvpr 2023 vand workshop challenge tracks 1&amp;2: 1st place\non zero-shot ad and 4th place on few-shot ad. arXiv preprint\narXiv:2305.17382, 2023.\n[12] Xuhai Chen, Jiangning Zhang, Guanzhong Tian, Haoyang\nHe, Wuhao Zhang, Yabiao Wang, Chengjie Wang, and Yong\nLiu. Clip-ad: A language-guided staged dual-path model for\nzero-shot anomaly detection. In International Joint Conference on Artificial Intelligence, pages 17–33. Springer, 2024.\n[13] Zhe Chen, Jiannan Wu, Wenhai Wang, Weijie Su, Guo Chen,\nSen Xing, Muyan Zhong, Qinglong Zhang, Xizhou Zhu,\nLewei Lu, et al. Internvl: Scaling up vision foundation models and aligning for generic visual-linguistic tasks. In Proceedings of the IEEE/CVF conference on computer vision\nand pattern recognition, pages 24185–24198, 2024.\n[14] Noel CF Codella, David Gutman, M Emre Celebi, Brian\nHelba, Michael A Marchetti, Stephen W Dusza, Aadi\nKalloo, Konstantinos Liopyris, Nabin Mishra, Harald Kittler, et al. Skin lesion analysis toward melanoma detection:\nA challenge at the 2017 international symposium on biomedical imaging (isbi), hosted by the international skin imaging\ncollaboration (isic). In 2018 IEEE 15th international symposium on biomedical imaging (ISBI 2018), pages 168–172.\nIEEE, 2018.\n[15] Wenliang Dai, Junnan Li, Dongxu Li, Anthony Tiong, Junqi\nZhao, Weisheng Wang, Boyang Li, Pascale N Fung, and\nSteven Hoi. Instructblip: Towards general-purpose visionlanguage models with instruction tuning. Advances in neural\ninformation processing systems, 36:49250–49267, 2023.\n[16] Peng Gao, Jiaming Han, Renrui Zhang, Ziyi Lin, Shijie\nGeng, Aojun Zhou, Wei Zhang, Pan Lu, Conghui He, Xiangyu Yue, et al. Llama-adapter v2: Parameter-efficient visual instruction model. arXiv preprint arXiv:2304.15010,\n2023.\n[17] Zhaopeng Gu, Bingke Zhu, Guibo Zhu, Yingying Chen,\nMing Tang, and Jinqiao Wang. Anomalygpt: Detecting industrial anomalies using large vision-language models. In\nProceedings of the AAAI conference on artificial intelligence, pages 1932–1940, 2024.\n[18] Wei Guan, Jun Lan, Jian Cao, Hao Tan, Huijia Zhu, and\nWeiqiang Wang. Emit: Enhancing mllms for industrial\nanomaly detection via difficulty-aware grpo. arXiv preprint\narXiv:2507.21619, 2025.\n[19] Jongheon Jeong, Yang Zou, Taewan Kim, Dongqing Zhang,\nAvinash Ravichandran, and Onkar Dabeer. Winclip: Zero/few-shot anomaly classification and segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision\nand Pattern Recognition, pages 19606–19616, 2023.\n[20] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao,\nChloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C Berg, Wan-Yen Lo, et al. Segment anything. In Proceedings of the IEEE/CVF international conference on computer vision, pages 4015–4026, 2023.\n\nReferences\n[1] Jean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine\nMiech, Iain Barr, Yana Hasson, Karel Lenc, Arthur Mensch, Katherine Millican, Malcolm Reynolds, et al. Flamingo:\na visual language model for few-shot learning. Advances\nin neural information processing systems, 35:23716–23736,\n2022.\n[2] Syed Muhammad Anwar, Muhammad Majid, Adnan\nQayyum, Muhammad Awais, Majdi Alnowami, and Muhammad Khurram Khan. Medical image analysis using convolutional neural networks: a review. Journal of medical systems,\n42:1–13, 2018.\n[3] Toshimichi Aota, Lloyd Teh Tzer Tong, and Takayuki\nOkatani. Zero-shot versus many-shot: Unsupervised texture\nanomaly detection. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages\n5564–5572, 2023.\n[4] Lei Bai, Zhongrui Cai, Yuhang Cao, Maosong Cao, Weihan Cao, Chiyu Chen, Haojiong Chen, Kai Chen, Pengcheng\nChen, Ying Chen, et al. Intern-s1: A scientific multimodal\nfoundation model. arXiv preprint arXiv:2508.15763, 2025.\n[5] Tianpeng Bao, Jiadong Chen, Wei Li, Xiang Wang, Jingjing\nFei, Liwei Wu, Rui Zhao, and Ye Zheng. Miad: A maintenance inspection dataset for unsupervised anomaly detection. In Proceedings of the IEEE/CVF international conference on computer vision, pages 993–1002, 2023.\n[6] Xiaoyi Bao, Siyang Sun, Shuailei Ma, Kecheng Zheng,\nYuxin Guo, Guosheng Zhao, Yun Zheng, and Xingang\nWang. Cores: Orchestrating the dance of reasoning and segmentation. In European Conference on Computer Vision,\npages 187–204. Springer, 2024.\n[7] Paul Bergmann, Michael Fauser, David Sattlegger, and\nCarsten Steger. Mvtec ad–a comprehensive real-world\ndataset for unsupervised anomaly detection. In Proceedings\nof the IEEE/CVF conference on computer vision and pattern\nrecognition, pages 9592–9600, 2019.\n[8] Jorge Bernal, F Javier Sánchez, Gloria FernándezEsparrach, Debora Gil, Cristina Rodrı́guez, and Fernando\nVilariño. Wm-dova maps for accurate polyp highlighting\nin colonoscopy: Validation vs. saliency maps from physicians. Computerized medical imaging and graphics, 43:99–\n111, 2015.\n[9] Jakob Božič, Domen Tabernik, and Danijel Skočaj. Mixed\nsupervision for surface-defect detection: From weakly to\nfully supervised learning. Computers in Industry, 129:\n103459, 2021.\n[10] Yunkang Cao, Jiangning Zhang, Luca Frittoli, Yuqi Cheng,\nWeiming Shen, and Giacomo Boracchi. Adaclip: Adapting\n\n14134\n\n\fsupervised industrial anomaly detection. IEEE Transactions\non Instrumentation and Measurement, 2025.\n[34] Zhen Qu, Xian Tao, Fei Shen, Zhengtao Zhang, and Tao Li.\nInvestigating shift equivalence of convolutional neural networks in industrial defect segmentation. IEEE Transactions\non Instrumentation and Measurement, 72:1–17, 2023.\n[35] Zhen Qu, Xian Tao, Mukesh Prasad, Fei Shen, Zhengtao\nZhang, Xinyi Gong, and Guiguang Ding. Vcp-clip: A visual\ncontext prompting model for zero-shot anomaly segmentation. In European Conference on Computer Vision, pages\n301–317. Springer, 2024.\n[36] Zhen Qu, Xian Tao, Xinyi Gong, Shichen Qu, Qiyu Chen,\nZhengtao Zhang, Xingang Wang, and Guiguang Ding.\nBayesian prompt flow learning for zero-shot anomaly detection. In Proceedings of the Computer Vision and Pattern\nRecognition Conference, pages 30398–30408, 2025.\n[37] Zhen Qu, Xian Tao, Xinyi Gong, ShiChen Qu, Xiaopei\nZhang, Xingang Wang, Fei Shen, Zhengtao Zhang, Mukesh\nPrasad, and Guiguang Ding. Dictas: A framework for classgeneralizable few-shot anomaly segmentation via dictionary\nlookup. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 20519–20528, 2025.\n[38] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya\nRamesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry,\nAmanda Askell, Pamela Mishkin, Jack Clark, et al. Learning\ntransferable visual models from natural language supervision. In International conference on machine learning, pages\n8748–8763. PmLR, 2021.\n[39] Zhongwei Ren, Zhicheng Huang, Yunchao Wei, Yao Zhao,\nDongmei Fu, Jiashi Feng, and Xiaojie Jin. Pixellm: Pixel\nreasoning with large multimodal model. In Proceedings of\nthe IEEE/CVF Conference on Computer Vision and Pattern\nRecognition, pages 26374–26383, 2024.\n[40] Yong Shi, Limeng Cui, Zhiquan Qi, Fan Meng, and Zhensong Chen. Automatic road crack detection using random\nstructured forests. IEEE Transactions on Intelligent Transportation Systems, 17(12):3434–3445, 2016.\n[41] Yongyi Su, Haojie Zhang, Shijie Li, Nanqing Liu, Jingyi\nLiao, Junyi Pan, Yuan Liu, Xiaofen Xing, Chong Sun,\nChen Li, et al. Patch-as-decodable-token: Towards unified multi-modal vision tasks in mllms. arXiv preprint\narXiv:2510.01954, 2025.\n[42] Nima Tajbakhsh, Suryakanth R Gurudu, and Jianming\nLiang. Automated polyp detection in colonoscopy videos\nusing shape and context information. IEEE transactions on\nmedical imaging, 35(2):630–644, 2015.\n[43] Xian Tao, Xinyi Gong, Xin Zhang, Shaohua Yan, and Chandranath Adak. Deep learning for unsupervised anomaly localization in industrial images: A survey. IEEE Transactions\non Instrumentation and Measurement, 71:1–21, 2022.\n[44] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia\nPolosukhin. Attention is all you need. Advances in neural\ninformation processing systems, 30, 2017.\n[45] Chengjie Wang, Wenbing Zhu, Bin-Bin Gao, Zhenye Gan,\nJiangning Zhang, Zhihao Gu, Shuguang Qian, Mingang\nChen, and Lizhuang Ma. Real-iad: A real-world multi-view\n\n[21] Xin Lai, Zhuotao Tian, Yukang Chen, Yanwei Li, Yuhui\nYuan, Shu Liu, and Jiaya Jia. Lisa: Reasoning segmentation\nvia large language model. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\npages 9579–9589, 2024.\n[22] Bo Li, Yuanhan Zhang, Dong Guo, Renrui Zhang, Feng Li,\nHao Zhang, Kaichen Zhang, Peiyuan Zhang, Yanwei Li, Ziwei Liu, et al. Llava-onevision: Easy visual task transfer.\narXiv preprint arXiv:2408.03326, 2024.\n[23] Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi.\nBlip-2: Bootstrapping language-image pre-training with\nfrozen image encoders and large language models. In International conference on machine learning, pages 19730–\n19742. PMLR, 2023.\n[24] Yanhui Li, Yunkang Cao, Chengliang Liu, Yuan Xiong,\nXinghui Dong, and Chao Huang. Iad-r1: Reinforcing consistent reasoning in industrial anomaly detection. arXiv\npreprint arXiv:2508.09178, 2025.\n[25] Zhang Li, Biao Yang, Qiang Liu, Zhiyin Ma, Shuo Zhang,\nJingxu Yang, Yabo Sun, Yuliang Liu, and Xiang Bai. Monkey: Image resolution and text label are important things for\nlarge multi-modal models. In proceedings of the IEEE/CVF\nconference on computer vision and pattern recognition,\npages 26763–26773, 2024.\n[26] Zhang Li, Biao Yang, Qiang Liu, Shuo Zhang, Zhiyin Ma,\nLiang Yin, Linger Deng, Yabo Sun, Yuliang Liu, and Xiang\nBai. Lira: Inferring segmentation in large multi-modal models with local interleaved region assistance. In Proceedings\nof the IEEE/CVF International Conference on Computer Vision, pages 24056–24067, 2025.\n[27] Bin Lin, Zhenyu Tang, Yang Ye, Jiaxi Cui, Bin Zhu, Peng\nJin, Jinfa Huang, Junwu Zhang, Yatian Pang, Munan Ning,\net al. Moe-llava: Mixture of experts for large visionlanguage models. arXiv preprint arXiv:2401.15947, 2024.\n[28] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee.\nVisual instruction tuning. Advances in neural information\nprocessing systems, 36:34892–34916, 2023.\n[29] Zuyan Liu, Yuhao Dong, Yongming Rao, Jie Zhou, and Jiwen Lu. Chain-of-spot: Interactive reasoning improves large\nvision-language models. arXiv preprint arXiv:2403.12966,\n2024.\n[30] Xiaoming Lv, Fajie Duan, Jia-jia Jiang, Xiao Fu, and Lin\nGan. Deep metallic surface defect detection: The new benchmark and detection network. Sensors, 20(6):1562, 2020.\n[31] Wenxin Ma, Xu Zhang, Qingsong Yao, Fenghe Tang,\nChenxu Wu, Yingtai Li, Rui Yan, Zihang Jiang, and S Kevin\nZhou. Aa-clip: Enhancing zero-shot anomaly detection via\nanomaly-aware clip. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 4744–4754,\n2025.\n[32] Ji Qi, Ming Ding, Weihan Wang, Yushi Bai, Qingsong Lv,\nWenyi Hong, Bin Xu, Lei Hou, Juanzi Li, Yuxiao Dong,\net al. Cogcom: Train large vision-language models diving\ninto details through chain of manipulations. 2024.\n[33] Shichen Qu, Xian Tao, Xinyi Gong, Zhen Qu, Mukesh\nPrasad, Fei Shen, Zhengtao Zhang, and Guiguang Ding.\nLscad: A large-small model collaboration framework for un-\n\n14135\n\n\funderstanding with advanced large language models. In The\nTwelfth International Conference on Learning Representations, 2024.\n[58] Jiawen Zhu, Yew-Soon Ong, Chunhua Shen, and Guansong\nPang. Fine-grained abnormality prompt learning for zeroshot anomaly detection. In Proceedings of the IEEE/CVF\nInternational Conference on Computer Vision, pages 22241–\n22251, 2025.\n\ndataset for benchmarking versatile industrial anomaly detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 22883–22892,\n2024.\n[46] Peng Wang, Shuai Bai, Sinan Tan, Shijie Wang, Zhihao Fan,\nJinze Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin\nGe, et al. Qwen2-vl: Enhancing vision-language model’s\nperception of the world at any resolution. arXiv preprint\narXiv:2409.12191, 2024.\n[47] Weihan Wang, Qingsong Lv, Wenmeng Yu, Wenyi Hong, Ji\nQi, Yan Wang, Junhui Ji, Zhuoyi Yang, Lei Zhao, Song XiXuan, et al. Cogvlm: Visual expert for pretrained language\nmodels. Advances in Neural Information Processing Systems, 37:121475–121499, 2024.\n[48] Zhuofan Xia, Dongchen Han, Yizeng Han, Xuran Pan, Shiji\nSong, and Gao Huang. Gsva: Generalized segmentation\nvia multimodal large language models. In Proceedings of\nthe IEEE/CVF Conference on Computer Vision and Pattern\nRecognition, pages 3858–3869, 2024.\n[49] Jiacong Xu, Shao-Yuan Lo, Bardia Safaei, Vishal M Patel,\nand Isht Dwivedi. Towards zero-shot anomaly detection and\nreasoning with multimodal large language models. In Proceedings of the Computer Vision and Pattern Recognition\nConference, pages 20370–20382, 2025.\n[50] Qinghao Ye, Haiyang Xu, Jiabo Ye, Ming Yan, Anwen Hu,\nHaowei Liu, Qi Qian, Ji Zhang, and Fei Huang. mplugowl2: Revolutionizing multi-modal large language model\nwith modality collaboration. In Proceedings of the ieee/cvf\nconference on computer vision and pattern recognition,\npages 13040–13051, 2024.\n[51] Haomin Yu, Qingyong Li, Yunqiang Tan, Jinrui Gan, Jianzhu\nWang, Yangli-ao Geng, and Lei Jia. A coarse-to-fine model\nfor rail surface defect detection. IEEE Transactions on Instrumentation and Measurement, 68(3):656–666, 2018.\n[52] Chenkai Zhang, Shaozhe Feng, Xulongqi Wang, and Yueming Wang. Zju-leaper: A benchmark dataset for fabric defect\ndetection and a comparative study. IEEE Transactions on\nArtificial Intelligence, 1(3):219–232, 2021.\n[53] Jian Zhang, Runwei Ding, Miaoju Ban, and Linhui Dai.\nPku-goodsad: A supermarket goods dataset for unsupervised\nanomaly detection and segmentation. IEEE Robotics and Automation Letters, 9(3):2008–2015, 2024.\n[54] Tao Zhang, Xiangtai Li, Hao Fei, Haobo Yuan, Shengqiong\nWu, Shunping Ji, Chen Change Loy, and Shuicheng Yan.\nOmg-llava: Bridging image-level, object-level, pixel-level\nreasoning and understanding. Advances in neural information processing systems, 37:71737–71767, 2024.\n[55] Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela\nBarriuso, and Antonio Torralba. Scene parsing through\nade20k dataset. In Proceedings of the IEEE conference on\ncomputer vision and pattern recognition, pages 633–641,\n2017.\n[56] Qihang Zhou, Guansong Pang, Yu Tian, Shibo He, and Jiming Chen. Anomalyclip: Object-agnostic prompt learning for\nzero-shot anomaly detection. In The Twelfth International\nConference on Learning Representations, 2023.\n[57] Deyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li, and Mohamed Elhoseiny. MiniGPT-4: Enhancing vision-language\n\n14136\n\n\f</code></pre></article>\n        \n</main>\n\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js\"></script>\n<script>\n\nfunction initTheme() {\n  const saved = localStorage.getItem('kb-theme') || 'light';\n  document.documentElement.setAttribute('data-theme', saved);\n  updateThemeIcon(saved);\n}\nfunction toggleTheme() {\n  const cur = document.documentElement.getAttribute('data-theme') || 'light';\n  const next = cur === 'light' ? 'dark' : 'light';\n  document.documentElement.setAttribute('data-theme', next);\n  localStorage.setItem('kb-theme', next);\n  updateThemeIcon(next);\n}\nfunction updateThemeIcon(t) {\n  const btn = document.getElementById('theme-toggle-btn');\n  if (btn) btn.innerHTML = t === 'dark' ? '☀️' : '🌙';\n}\ndocument.addEventListener('DOMContentLoaded', initTheme);\n\nfunction setViewMode(m) {\n  const grid = document.getElementById('bento-grid-view');\n  const list = document.getElementById('list-table-view');\n  const bGrid = document.getElementById('view-grid-btn');\n  const bList = document.getElementById('view-list-btn');\n  if (m === 'list') {\n    if (grid) grid.style.display = 'none';\n    if (list) list.style.display = 'flex';\n    if (bGrid) bGrid.classList.remove('active');\n    if (bList) bList.classList.add('active');\n  } else {\n    if (grid) grid.style.display = 'grid';\n    if (list) list.style.display = 'none';\n    if (bGrid) bGrid.classList.add('active');\n    if (bList) bList.classList.remove('active');\n  }\n  localStorage.setItem('kb-view', m);\n}\ndocument.addEventListener('DOMContentLoaded', () => {\n  const s = localStorage.getItem('kb-view') || 'grid';\n  setViewMode(s);\n});\n\ndocument.addEventListener('DOMContentLoaded', () => {\n  document.querySelectorAll('pre').forEach(pre => {\n    const b = document.createElement('button');\n    b.className = 'copy-code-btn';\n    b.innerText = 'Copy';\n    b.onclick = () => {\n      const c = pre.querySelector('code') ? pre.querySelector('code').innerText : pre.innerText;\n      navigator.clipboard.writeText(c).then(() => {\n        b.innerText = 'Copied!';\n        setTimeout(() => { b.innerText = 'Copy'; }, 2000);\n      });\n    };\n    pre.appendChild(b);\n  });\n});\n\nwindow.addEventListener('keydown', (e) => {\n  if ((e.key === '/' || (e.metaKey && e.key === 'k')) && document.activeElement.tagName !== 'INPUT' && document.activeElement.tagName !== 'TEXTAREA') {\n    e.preventDefault();\n    const q = document.getElementById('global-search-input');\n    if (q) q.focus();\n  }\n});\n\n// Scrollspy for TOC\nwindow.addEventListener('scroll', () => {\n  const headers = document.querySelectorAll('.article-body h1, .article-body h2, .article-body h3');\n  const scrollPos = window.scrollY + 100;\n  headers.forEach(h => {\n    if (h.offsetTop <= scrollPos) {\n      const id = h.getAttribute('id');\n      if (id) {\n        document.querySelectorAll('.reading-sidebar a').forEach(a => {\n          a.classList.toggle('active', a.getAttribute('href') === '#' + id);\n        });\n      }\n    }\n  });\n});\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n  if (window.renderMathInElement) {\n    renderMathInElement(document.body, {\n      delimiters: [\n        {left: '$$', right: '$$', display: true},\n        {left: '$', right: '$', display: false},\n      ],\n      throwOnError : false\n    });\n  }\n});\n</script>\n\n</body>\n</html>\n"