"<!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\nComplementary Prototype Mapping for Efficient Multimodal Anomaly Detection\nYuan Zhao1 , Xiaoqin Zhang2 , Huchuan Lu1 , Lihe Zhang1 *,\n1\nIIAU-Lab, Dalian University of Technology 2 Construction Project Management Branch,\nNational Petroleum and Natural Gas Pipeline Network Group Co., Ltd.\nzhaoyuan@mail.dlut.edu.cn, zhangxq18@pipechina.com.cn, {lhchuan,zhanglihe}@dlut.edu.cn\nGT 1\n\n3D\n\nGT 2\n\n(a)\n\nUnconditional Mapping\n\nGT 1\n\n3D\n\nGT 2\n\nAbstract\nMultimodal unsupervised anomaly detection has garnered\nincreasing attention for robust defect localization. Recent\napproaches rely on establishing cross-modal matching relationships under normal conditions without explicit guidance. However, in practice, a single modality may have\nmultiple distinct representations corresponding to another\nmodality, and such unconditional mappings struggle to adaptively capture these variations, resulting in mapping ambiguity and the misclassification of diverse yet normal variations as anomalies. Moreover, existing methods suffer from\nslow inference speed and high memory overhead, hindering\ntheir deployment in real-world production lines. To address\nthese issues, we propose an efficient and effective Complementary Prototype Mapping (CPMAD) framework, which\ndynamically extracts consensus and supplementary prototypes to serve as complementary priors, thereby guiding\nand disambiguating cross-modal mappings. The framework\ncomprises three key components: (1) Consensus Extraction Module (CEM) learns a dynamic anchor, transforming multimodal features into anomaly-free consensus prototypes to improve cross-modal consistency and suppress\nlatent anomalies; (2) Supplementary Query Module (SQM)\nemploys a Complementary Residual Attention mechanism to\ncapture the discrepancy between the consensus and modalityspecific spaces, thereby exploring the most representative\ncues as supplementary prototypes; and (3) Complementary\nMapping Module adaptively integrates both prototypes to\nperform feature mapping. Extensive experiments across\nindustrial and medical scenarios show that CPMAD outperforms existing methods in both full-data and few-shot\nsettings, while offering faster inference and lower memory\nusage. Code:https://github.com/yuanzhao-CVLAB/CPMAD.\n\n1. Introduction\nUnsupervised anomaly detection, which relies solely on normal samples without the need for labeled anomalies, has\n* Corresponding authors\n\nPink or Orange？\n\n(b)\n\nConditional Mapping\n\nry\nenta\ne\nplem\nSup rototyp\nP\n\nConsensus\nPrototype\n\nPink\nLocalization\n\nLocalization RGB 2\n\npp\nPr l e m\not e n\not t a\nyp r y\ne\n\nOrange\nMapping Accuracy\n\nMapping Ambiguity\nRGB 1\n\nSu\n\nRGB 1\n\nLocalization\n\nLocalization RGB 2\n\nFigure 1. (a) Advanced methods [10, 24] employ unconditional\ncross-modal mapping and may struggle to map diverse color distributions under identical 3D shapes. (b) The proposed method\nintegrates consensus and supplementary prototypes to provide complementary cues (e.g., either pink or orange), effectively guiding\nadaptive and accurate cross-modal mapping.\n\nbeen extensively studied in industrial inspection [3, 35, 38],\nmedical diagnosis [2, 16, 21], and video surveillance [30, 31,\n37]. Among them, multimodal anomaly detection (MAD)\nhas recently emerged as a promising solution, significantly\nenhancing robustness and reliability by leveraging complementary sensory cues. In particular, combining RGB images\nwith 3D measurements enables the joint detection of texture and geometric defects that may remain imperceptible in\nunimodal anomaly detection.\nEarly multimodal anomaly detection methods identify\ndefects by measuring reconstructed multimodal feature discrepancies. For example, MMRD [13] adopts parameterfree modulation to blend RGB and depth representations\nand measures teacher–student distances, while AST [23]\nconcatenates RGB-D features to learn joint representations\nand estimate density via normalizing flows. However, detecting anomalies directly in the multimodal common space\ncan lead to representation entanglement, where modalityspecific information may be lost. Consequently, M3DM [29]\nuses contrastive learning to align RGB and 3D representations and stores details in multiple memory banks. To\nmitigate memory overhead, methods based on feature mapping [10, 24], such as CFM [10], learn cross-modal matching\nrelationships to recover modality-specific details and locate\ndefects by mapping differences. In practice, inter-modal re-\n\n14178\n\n\fI-AUROC\n\nlationships are inherently a many-to-many and complicated\nmapping. Their unconditional mapping may lead to mapping\ndeviations for normal samples with diverse attributes. For instance, identical 3D geometric structures may exhibit diverse\ncolors in the RGB modality (e.g., pink and orange regions, as\nshown in Fig. 1), leading to erroneous anomaly localization,\nand vice versa. Furthermore, existing methods suffer from\ninefficient memory banks and time-consuming decoding processes, hindering their deployment in real-world applications.\nHence, the key challenge is how to effectively and efficiently\nreconstruct distribution-diverse, modality-specific details\nwhile maintaining cross-modal consistency.\nTo address this fundamental challenge, we propose the\nComplementary Prototype Mapping (CPMAD) framework.\nThe core idea is to dynamically capture consensus and supplementary prototypes that represent diverse variations both\nwithin and across modalities, enabling adaptive and precise mapping. The consensus prototypes construct a shared,\nanomaly-free subspace that enhances cross-modal consistency and filters out latent anomalies. Conversely, the supplementary prototypes dynamically capture modality-specific,\npivotal cues that are not represented by the consensus prototypes. Together, both prototypes complement and enhance\neach other, thereby guiding adaptable reconstruction.\nBuilding upon this framework, we design three collaborative components. (1) Consensus Extraction Module (CEM)\nextracts dynamic anchors via a cross-modal anchor generator to establish a reference center across modalities. It then\nprojects multimodal features into an anomaly-free prototype subspace guided by these anchors, preserving modalityinvariant consensus information while suppressing anomalous variations. (2) Supplementary Query Module (SQM)\nintroduces a Complementary Residual Attention mechanism\nthat jointly attends to the consensus and modality-specific\nspaces and learns a residual attention map between them.\nThis mechanism enables the model to adaptively capture\nmodality-specific variations that are susceptible to crossmodal ambiguity and often overlooked by the consensus\nprototypes. (3) Complementary Mapping module adaptively\nintegrates the consensus and supplementary prototypes to\nreconstruct cross-modal features. The proposed framework\neffectively reduces mapping ambiguity through complementary prototype learning, while eliminating the need for a\nheavy decoder and maintaining linear computational complexity. Experimental results indicate that our CPMAD and\nCPMAD-S models deliver strong performance with high\nefficiency. Notably, the CPMAD-S variant achieves a 5.05×\nfaster inference, a 2.59× reduction in memory usage, and\n11.86× fewer FLOPs than the most efficient prior method,\nwhile maintaining competitive detection performance, as evidenced by Fig. 2 and Tab. 7. Additionally, the model shows\nexcellent scalability with increasing data and model sizes.\nOur main contributions can be summarized as follows:\n\nCFM\n3757 M\n\nM3DM\n8402 M\n\nCPMAD\n(Ours）\n1663 M\n\n5 .0\nEasyNet\n2746 M\n\nScaling of\nModel Size\n\n�×\n2 .5\n\nst\nFa\n\n9×\n\ner\n\nSp\n\nw\nLo\n\ner\n\need\nMe\n\nmo\n\nBest\nCPMAD-S\n(Ours)\n1058 M\n\nry\n\n96.1\n\nScaling of\nData Size\n\n97.8\n\n91.3\n89.9\nt\n\nho\n5-s\n\nFrame Rate(FPS)\n\not\n\n-sh\n10\n\n-sh\n\n50\n\not\n\nll\nFu\n\nDa\n\nta\n\nCPMAD (Ours)\n\nFigure 2. Left: Performance, inference speed, and memory usage\nof MAD methods on an NVIDIA RTX 2080Ti. Right: I-AUROC\nof CPMAD under few-shot settings.\n\n• We propose an efficient and effective CPMAD framework\nthat adaptively and accurately reconstructs cross-modal\nfeatures through complementary prototype learning.\n• We design a Consensus Extraction Module with a Crossmodal Anchor Generator and a Supplementary Query\nModule with Complementary Residual Attention to collaboratively extract complementary prototypes.\n• CPMAD achieves state-of-the-art performance across multiple benchmarks, significantly outperforming existing\nmethods in accuracy and efficiency, and demonstrates\nstrong few-shot learning capability.\n\n2. Related Work\n2.1. Multimodal Anomaly Detection\nMultimodal anomaly detection [10, 34, 36] leverages complementary sensory cues, such as RGB images, depth maps,\nsurface normals, or 3D point clouds, to improve defect localization. Early methods such as AST [23] employ normalizing flows to estimate feature density, while EasyNet [8]\nutilizes attention-based entropy fusion to mitigate intermodal interference. Recent memory-based methods, such\nas M3DM [29] and Shape-guided [9], store normal feature\nprototypes for anomaly detection. To reduce memory usage,\nCFM [10] learns cross-modal mappings under normal conditions. Cycle-CFM [24] extends this approach by constructing a bidirectional feature alignment mechanism. However,\nthese methods either require substantial memory to store\nnormal patterns, or suffer from mapping ambiguity due to\nunconditional feature mapping. In contrast, our CPMAD\nframework dynamically learns consensus and supplementary\nprototypes that encode normal and complementary priors,\nenabling precise cross-modal reconstruction with faster inference and lower memory consumption.\n\n2.2. Prototype Learning\n\n14179\n\nPrototype learning [25] has gained traction in anomaly detection for encoding normality as a compact set of representative features. In unimodal anomaly detection, methods like HVQ-Trans [1] and DSR [33] use learnable or\n\n\fF\n\nL\nSQM\nSQM\n\nFLRGB\n3D\nL\n\nF\n\nS ,RGB\nl\n\nP\n\nB\nM1RG...\nMLRGB\n\nFlRGB\n\nL\n\nComparison\n\nCEM\n\nPC\n\nL\nSQM\nSQM\n\nPlS ,3D\n\n3D\n\nSAD\nTopK\n\n3DCMapping\n\n3D\n1\n\n lRGB\nF\nRGBCMapping\n\nF1RGB\n\nEncoding Stage L\n\nEncoding Stage 1\n\nRGB\n\nCPMAD\n\nM Mean\n\n...\n\nTrainable\n\n...\n\nFrozen\n\nM\n\nSAL\nL\n\n 3D\nF\nl\n\n3D\nl\n\nF\n\nM13D...ML3D\n\nGT\n\nFigure 3. Overview of the proposed CPMAD framework. The architecture consists of paired pre-trained encoders with L encoding stages, a\nConsensus Extraction Module (CEM), L Supplementary Query Modules (SQMs), and L Complementary Mapping (CMapping) Modules.\nCEM and SQMs extract complementary prototypes, which guide CMapping modules in reconstructing per-modality features.\n\nvector-quantized prototypes to prevent shortcut solutions and\nenhance reconstruction fidelity. INP-Former [19] extends\nthis idea by learning intrinsic prototypes to form a compact\nnormal feature space, facilitating anomaly discrimination.\nHowever, prototype-based unimodal methods struggle to\ngeneralize to multimodal anomaly detection, as learning\nisolated modality-specific prototypes fails to capture crossmodal consistency. The proposed complementary prototype\nmapping mechanism jointly learns consensus prototypes to\nmodel cross-modal consistency and supplementary prototypes to encode modality-specific characteristics, thereby\nenhancing the robustness of MAD.\n\n3. Method\n3.1. Overview\nWe propose the Complementary Prototype Mapping (CPMAD) framework, which jointly learns consensus and supplementary prototypes to guide cross-modal mapping. As\nshown in Fig. 3, the framework consists of a pair of pretrained ViT-based encoders spanning 1-L encoding stages,\na Consensus Extraction Module (CEM), and multiple Supplementary Query Modules (SQMs) and Complementary\nMapping (CMapping) modules. Given a pair of 3D and\nRGB images, the inputs are first processed by the pre-trained\nencoders to produce multi-layer patch-token representations\nRGB\n{F3D\n|Fl ∈ RN ×D }L\nl=1 , where l, N and D denote\nl , Fl\nthe layer index, the length of tokens and the embedding dimension, respectively. The patch-token maps are then fed\ninto the CEM, which extracts cross-modal shared semantics\nto obtain consensus prototypes PC . Each SQM explores\nsupplementary prototypes PS , which complement the consensus prototypes by capturing modality-specific, typical\ncomponents that are not covered in PC . The consensus\nand supplementary prototypes are aggregated by the Complementary Mapping module to collaboratively reconstruct\nper-modality features at each layer, while reconstruction\ndiscrepancies are leveraged for anomaly localization.\n\n3.2. Consensus Extraction Module\nAs shown in Fig. 4, Consensus Extraction Module (CEM)\naims to extract anomaly-free consensus prototypes by capturing cross-modal consistent semantics and suppressing\nanomalous components. To this end, CEM introduces a\ncross-modal anchor generator to produce dynamic anchors,\nthereby projecting the multimodal representations to obtain\na purified prototype.\nGiven the per-layer RGB and 3D tokens, CEM first\n3D\nconcatenates them to form F3D = [F3D\n1 ; · · · ; FL ] and\nRGB\nRGB\nRGB\nF\n= [F1 ; · · · ; FL ], then computes their mean to\nobtain a consensus token F ∈ RN L×D . This averaging process smooths modality inconsistencies, thereby suppressing\nmodality-independent anomaly signals. However, anomalies\nthat co-occur across modalities may still contaminate the\nconsensus token during averaging. To address this issue, a\ndynamic anchor is introduced to project the tokens into an\nanomaly-free prototype space.\nSpecifically, CEM initializes a set of learnable embeddings H ∈ RI×D as initial anchors, where I denotes the\nanchor size. The cosine similarity between each anchor and\nthe per-modality features (RGB and 3D) is independently\ncomputed and averaged to produce the affinity scores:\n  \\mathbf {W}_{i,n}=\\frac {1}{2}\\Big ( \\frac {(\\mathbf {Z}^\\text {3D}_{n})^\\top \\mathcal {H}^\\text {3D}_i}{\\|\\mathbf {Z}^\\text {3D}_{n}\\| \\, \\|\\mathcal {H}^\\text {3D}_i\\|} + \\frac {(\\mathbf {Z}^\\text {RGB}_{n})^\\top \\mathcal {H}^\\text {RGB}_i}{\\|\\mathbf {Z}^\\text {RGB}_{n}\\| \\, \\|\\mathcal {H}^\\text {RGB}_i\\|} \\Big ), \n\n(1)\n\nwhere Z3D , ZRGB denote the projected features from\nF3D , FRGB . H3D , HRGB are the projections of H. Subsequently, CEM concatenates the RGB and 3D tokens\nalong channel dimension and projects them to form Fcat ∈\nRN L×D . Using the affinity scores W, the dynamic anchors\nare updated by aggregating the cross-modal features, enabling anchors to adaptively capture cross-modal semantics:\n  \\mathcal {H}^\\text {Dyn}_{i}=\\sum _{n=1}^{NL}\\mathbf {W}_{i,n}\\mathbf {F}^\\text {cat}_n. \n\n(2)\n\n14180\n\nFinally, cross-attention mechanisms [27] are employed to\nemphasize tokens near the dynamic anchors, thereby ob-\n\n\fF\n\n...\n\nC\n\nH Dyn\n\n�\n\nConsensus Space\n\n3D Space\n\nConsensus\nPrototypes\n\nProj\nCS\n\nH\n\nProj\n\nM\nCS\n\nPC\n\nProj\n\nProj\n\nAS 2C\nA\n\nConsensus Space\n3D Space\n\n�(�)\n�(�)\n\n...\nResidual\nAttention Maps\n\nProj\n\nMatmul\n\nV\n\nMLP\n\nFl3D\n\nMatmul\n\nProj\n\nRGB Space\n\nS 2F\n\nH Dyn\n\nMapped 3D\nFeatures\n\n 3D\nF\nl\n\nDynamic\nAnchor\n\nModality-specific Features\nTypical Prototypes\nConsensus Features\n\nCR-Attention\n\nReLU\n\nProj\nG\n\nMatmul\n\nProj\n\nF cat\n\nElement-wise\nAddition\n\nComplementary Mapping\n(CMapping)\n\nF RGB\n\nSupplementary Query Module (SQM)\nPC\n\nW\n\nMutual\n\nRGB\nL\n\n�\n\nRGB Space\n\nCross-modal Anchor Generator\n\nF 3D\n\nConcat&amp;Proj\n\nM\n\nF\n\n�\n\nLayer Average\n\nC\n\nElement-wise\nMultiplication\n\nElement-wise\nSubtraction\n\nCS Cosine Similarity\n\nCross Attention\n\n...\n\nFL3D\nF1RGB\n\nConcatenate\n\nConsensus Extraction Module (CEM)\nCross-mdal\nAnchor Generator\n\nF13D\n\nC\n\nS ,3D\nl\n\nP\nSupplementary\nPrototypes\n\nChannel-wise Residual\n\nM Mean\n\nFeed Forward\n\nCross Attention\n�\n\nK\nPC\n\n�\n\nPlS ,3D\n\nFigure 4. Structure of CEM, SQM, and CMapping. CEM utilizes a Cross-modal Anchor Generator to produce Dynamic Anchors for\nextracting consensus prototypes. SQM features CR-Attention to query supplementary prototypes , while CMapping integrates both prototypes\nto reconstruct modality-specific features.\n\ntaining consensus prototypes that encode anomaly-free and\ncross-modal consistent features:\n  \\mathbf {P}^\\mathcal {C}=LAvg(CA(\\overline {\\mathbf {F}},\\mathcal {H}^\\text {Dyn})), \n\nsupplementary information, as follows:\n\nwhere CA and LAvg denote cross-attention and layer-wise\naveraging, respectively.\n\n3.3. Supplementary Query Module\nAs shown in Fig. 4, Supplementary Query Module (SQM)\naims to capture modality-specific, typical variations that are\nnot represented by the consensus prototypes. The key idea is\nto enable a small set of learnable queries to attend jointly to\nboth the consensus and modality-specific spaces by Complementary Residual Attention (CR-Attention), thereby adaptively emphasizing discriminative cues that resolve crossmodal mapping ambiguities.\nGiven the modality-specific tokens \\protect \\mathbf  {F}_l and the consensus\nprototypes \\protect \\mathbf  {P}^\\mathcal {C} , SQM first initializes a set of learnable queries\n\\protect \\mathcal  {G}\\in \\mathbb {R}^{G\\times D} , where G represents the query size. It then employs learnable queries to attend to the consensus prototypes\nand modality-specific tokens, generating supplementary-toconsensus A^{\\mathcal {S}2\\mathcal {C}} and supplementary-to-feature A^{\\mathcal {S}2\\mathbf {F}} attention scores via CR-Attention:\n  \\begin {split} A^{\\mathcal {S}2\\mathcal {C}} &amp;= Q^\\mathcal {C}(K^\\mathcal {C})^T , Q^\\mathcal {C} = \\mathcal {F}_Q^C(\\mathcal {G}), K^\\mathcal {C} = \\mathcal {F}_K^C(\\mathbf {P}^\\mathcal {C}),\\\\ A^{\\mathcal {S}2\\mathbf {F}} &amp;= Q^\\mathbf {F}(K^\\mathbf {F})^T , Q^\\mathbf {F} =\\mathcal {F}_Q^\\mathbf {F}(\\mathcal {G}), K^\\mathbf {F} = \\mathcal {F}_K^\\mathbf {F}(\\mathbf {F}_l), \\end {split} \n\n  \\mathbf {P}^\\mathcal {S}_l = \\text {ReLU}\\Big (\\frac { \\varphi (\\alpha ) A^{\\mathcal {S}2\\mathbf {F}}-\\varphi (\\beta ) A^{\\mathcal {S}2\\mathcal {C}} }{\\sqrt {D}} \\Big ) V, \n\n(3)\n\n(4)\n\nwhere \\protect \\mathcal  {F} denotes the multi-head linear projection. Since the\ntwo attention scores represent responses to the consensus\nand modality-specific spaces, CR-Attention introduces a\nresidual attention mechanism that adaptively emphasizes the\n\n(5)\n\nwhere V = FVF (Fl ) represents the multi-head linear projection of modality-specific features. The scalar parameters\n\\alpha  and \\beta  are learnable parameters, and φ(·) is the Sigmoid\nfunction used to normalize parameters to the range of 0 to 1,\nthereby balancing the two attention paths. By subtracting the\nsupplementary-to-consensus attention scores and leveraging\nthe suppressive characteristic of the ReLU function, CRAttention dynamically filters out negative score regions that\nare well explained by the consensus prototypes. In contrast,\nregions with significantly higher residual score are emphasized to generate supplementary prototypes, thereby covering modality-exclusive cues that are able to mitigate ambiguity. Since supplementary cues generally contain fewer components, and an excessive number of queries increases complexity while potentially reintroducing modality-dependent\nnoise, the supplementary prototypes are constrained to be\nlow-rank by keeping the number of queries G \\ll N .\n\n3.4. Complementary Mapping\nWe propose the Complementary Mapping module, which\nadaptively integrates the shared semantics of consensus prototypes and the modality-specific cues encoded in supplementary prototypes. As shown in Fig. 4, it performs a\nlightweight cross attention [27] between consensus and supplementary prototype representations, followed by a feedforward refinement network to enhance feature expressiveness, ultimately obtaining per-layer mapped 3D features\nRGB\nF̂3D\n. Through this mechanism,\nl and RGB features F̂l\n\n14181\n\n\feach token adaptively attends to the most relevant prototype\ncomponent, aggregating complementary cues from both the\nconsensus and supplementary subspaces to form semantically coherent reconstructions. Unlike conventional cross\nattention, which employs token-wise residual and may suffer\nfrom the “identical shortcut” problem [32], CPMAD adopts a\nchannel-wise residual strategy to preserve shared contextual\ninformation within the consensus prototypes. Specifically,\nthis channel-wise residual is realized via an MLP-based refinement followed by spatial averaging, which maintains\ncross-modal consistency while suppressing latent anomalies.\n\n3.5. Complexity, Training, and Inference\nComputational complexity. Our framework employs complementary prototype learning, eliminating the need for a\nheavy decoder and utilizing lightweight attention mechanisms, resulting in fast inference and low memory overhead.\nSpecifically, the computational complexity of the CEM module is O(N LID), where L = 2 and I = 12, which is significantly smaller than the feature map size (N =784) and is\ncomputed only once. Similarly, both the SQM and Complementary Mapping modules exhibit relatively low computational complexities of O(N GD), where G ≪ N . The overall complexity scales linearly with the token count, making\nCPMAD substantially more efficient than full self-attention\narchitectures when processing long token sequences.\nTraining. We employ mapping loss to align the mapped feature with the corresponding per-modality feature, as follows:\n\nand Eyecandies [5], each containing 10 object categories.\nMVTec-3D is a real-world dataset collected under industrial\ninspection settings, while Eyecandies is a more challenging dataset featuring diverse color distributions and varying\nviewpoints. In addition, we construct the BraTS-AD dataset\nfrom BraTS 2020 under an unsupervised setting for brain\ntumor anomaly detection. It comprises four modalities (T1,\nT2, T1ce, and Flair) with a total of 1,350 images.\nMetrics. Following mainstream research [10, 29], we evaluate performance using both image-level and pixel-level\nmetrics. For image-level assessment, we report the Area Under the Receiver Operating Characteristic Curve (I-AUROC).\nFor pixel-level evaluation, we report the Area Under the\nReceiver Operating Characteristic Curve (P-AUROC) and\nthe Area Under the Per-Region-Overlap (AUPRO).\nImplementation Details. All experiments were conducted\nover 300 epochs with a batch size of 10 on one NVIDIA\nRTX 4090 GPU. CPMAD utilizes a DINO ViT-B/8 backbone [7, 12, 20] trained on ImageNet [17], the same as that\nused by mainstream MAD methods [10, 26], to extract two\nfeature groups (L = 2), corresponding to low- and high-level\nrepresentations [14]. Surface normals are used as the 3D\nmodality alongside RGB images, both with an input resolution of 224 × 224, corresponding to N = 784 tokens\n(28 × 28). The anchor size I in CEM is set to 12, and the\nquery size G in SQM is set to 8. Additional details are\nprovided in the Appendix to ensure full reproducibility.\n\n4.2. Quantitative Results\n  \\mathcal {L_\\text {map}} = \\frac {1}{LH W} \\sum ^L_{l=1} \\sum ^{H}_{h=1} \\sum ^{W}_{w=1} \\mathcal {M}^\\textrm {3D}_l (h,w)+\\mathcal {M}^\\textrm {RGB}_l (h,w), \n(6)\nwhere H and W represent the height and width of the feature map, respectively. M3D\nl (h, w) is the anomaly map of\n3D modality on the l-th feature map corresponding to coordinates (h, w), and is calculated by cosine similarity as:\n\n  \\mathcal {M}^\\textrm {3D}_l (h,w) = 1- \\frac {(\\hat {\\mathbf {F}}^\\text {3D}_l(h,w))^T \\cdot {\\mathbf {F}}^\\text {3D}_l(h,w)}{||\\hat {\\mathbf {F}}^\\text {3D}_l(h,w))||\\quad ||{\\mathbf {F}}^\\text {3D}_l(h,w)||}, \n\n(7)\n\nThe MRGB\nof RGB modality is acquired in the same way.\nl\nInference. We average anomaly maps across all layers and\nmodalities to obtain an anomaly localization score SAL . The\nimage-level anomaly detection score SAD is calculated by\nthe top-K mean of anomaly localization scores, where K is\nset to 0.1% of the total pixel count. The pseudocode of the\nproposed CPMAD is provided in Appendix Algorithm 1.\n\n4. Experiments\n4.1. Experimental Settings\nDatasets. We evaluate the proposed method on two widely\nused industrial multimodal benchmarks: MVTec-3D [4]\n\nIndustrial MAD. Tab. 1 and Tab. 2 summarize the comparisons on MVTec-3D and Eyecandies, respectively. The\nproposed CPMAD achieves the best overall performance\non both benchmarks. On MVTec-3D, CPMAD attains a\nmean I-AUROC of 97.8% and a mean AUPRO of 97.9%,\nsurpassing the SOTA methods. On Eyecandies, CPMAD\nachieves a mean AUPRO of 93.4%, outperforming the best\nprior method by 4.0%. Furthermore, the per-class analysis shows consistent improvements across most categories.\nNotably, CPMAD yields significant gains on classes where\nRGB appearance exhibits high intra-class variability for similar geometries (e.g., color-variant Licorice Sandwich and\nGummy Bear), validating the effectiveness of CPMAD for\nmitigating confusion mapping.\nMedical MAD. Tab. 3 presents the results on the multimodal\nBraTS-AD dataset, a challenging benchmark due to its high\ninter-modal diversity and diagnostic complexity (Fig. 6). For\ncomparison, we extend established methods (PatchCore [22],\nRD [11]) with parameter-free fusion in MMRD [13] to handle four modalities. Our approach, however, generalizes\nseamlessly to four modalities by incorporating additional\nSQM and Complementary Mapping modules, achieving performance gains of 4.2% in I-AUROC and 5.6% in AUPRO.\nThese results highlight our framework’s scalability and gen-\n\n14182\n\n\fTable 1. Quantitative results on the MVTec-3D dataset, with the best I-AUROC/AUPRO scores highlighted in bold.\nMethod\n\nPublication\n\nBagel\n\nCable.\n\nCarrot\n\nCookie\n\nDowel\n\nFoam\n\nPeach\n\nPotato\n\nRope\n\nTire\n\nMean\n\nPatchCore [22]\nBTF [15]\nM3DM [29]\nAST [23]\nEasyNet [8]\nCPMF [6]\nCFM [10]\nCycle-CFM [24]\nM3DM-NR [28]\n3D-ADNAS [18]\nG2 SF [26]\n\nCVPR’22\nCVPR’23\nCVPR’23\nWACV’23\nMM’23\nPR’24\nCVPR’24\nESWA’25\nTPAMI’25\nAAAI’25\nICCV’25\n\n77.8/97.6\n91.8/97.6\n99.4/97.0\n98.3/97.0\n99.1/83.9\n98.3/95.8\n99.4/97.9\n99.7/98.0\n99.3/97.4\n99.7/84.1\n99.7/98.2\n\n89.3/97.1\n74.8/96.9\n90.9/97.9\n87.3/94.7\n99.8/86.4\n88.9/94.6\n88.8/97.2\n91.6/96.0\n91.1/97.1\n100./80.4\n92.3/97.7\n\n96.7/97.9\n96.7/97.9\n97.2/97.1\n97.6/98.1\n91.8/95.1\n98.9/97.9\n98.4/98.2\n97.9/97.6\n97.7/97.8\n97.1/90.2\n99.3/98.2\n\n92.1/97.3\n88.3/97.3\n97.6/95.0\n97.1/93.9\n96.8/61.8\n99.1/86.8\n99.3/94.5\n98.6/96.8\n97.6/94.5\n98.6/64.5\n96.7/97.9\n\n88.5/97.3\n93.2/93.3\n96.0/95.0\n93.2/91.3\n94.5/82.8\n95.8/89.7\n98.0/95.0\n98.3/97.0\n96.0/93.8\n96.6/82.7\n96.6/97.1\n\n93.1/88.8\n58.2/88.8\n94.2/93.2\n88.5/90.6\n94.5/83.6\n80.9/74.6\n88.8/96.8\n89.4/94.6\n92.2/94.7\n94.8/78.9\n99.1/97.6\n\n84.3/88.8\n89.6/97.5\n97.3/97.7\n97.4/97.9\n90.5/94.2\n98.8/98.0\n94.1/98.0\n98.3/97.9\n97.3/97.8\n89.7/87.0\n99.4/98.2\n\n68.8/97.1\n91.2/98.1\n89.9/98.9\n98.1/98.2\n80.7/88.9\n95.9/98.1\n94.3/98.2\n95.6/97.5\n89.9/97.1\n87.3/91.9\n98.8/98.3\n\n78.2/97.5\n92.1/95.0\n97.2/97.5\n100./88.9\n99.4/91.1\n97.9/96.1\n98.0/97.5\n98.4/95.8\n95.5/97.2\n100./91.7\n96.6/97.8\n\n79.0/94.9\n88.6/97.1\n94.5/93.6\n79.7/94.0\n79.3/52.8\n96.9/97.7\n95.3/98.1\n96.3/92.8\n88.2/97.4\n86.7/85.6\n92.2/98.1\n\n84.8/95.2\n86.5/95.9\n94.5/96.4\n93.7/94.4\n92.6/82.1\n95.2/92.9\n95.4/97.1\n96.0/96.4\n94.5/96.5\n95.1/83.7\n97.1/97.9\n\nCPMAD-S\nCPMAD\n\nOurs\nOurs\n\n97.0/97.6\n99.1/98.3\n\n95.5/97.6\n98.6/97.9\n\n100./98.3\n99.4/98.4\n\n99.3/96.4\n97.4/96.9\n\n96.4/95.4\n96.0/96.1\n\n98.1/98.0\n98.1/98.1\n\n99.6/98.2\n100./98.3\n\n94.5/98.3\n95.8/98.3\n\n95.4/98.1\n99.0/98.4\n\n89.7/97.7\n94.8/98.2\n\n96.6/97.6\n97.8/97.9\n\nTable 2. Quantitative comparison on Eyecandies datasets, with the best I-AUROC/AUPRO scores highlighted in bold. “-” indicates results\nnot reported in the original paper.\nMethod\n\nPublication\n\nCandy\nCane\n\nChocolate\nCookie\n\nChocolate\nPraline\n\nConfetto\n\nGummy\nBear\n\nHazelnut\nTruffle\n\nLicorice\nSandwich\n\nLollipop\n\nMarshmallow\n\nPeppermint\nCandy\n\nMean\n\nPatchCore [22]\nEyecandies [5]\nM3DM [29]\nAST [23]\nEasyNet [8]\nCPMF [6]\nCFM [10]\n3D-ADNAS [18]\nG2 SF [26]\n\nCVPR’22\nACCV’22\nCVPR’23\nWACV’23\nACMMM’23\nPR’24\nCVPR’24\nAAAI’25\nICCV’25\n\n44.8/70.9\n58.7/85.2\n59.7/88.9\n94.5/51.4\n73.7/77.3/94.1\n68.0/94.2\n89.6/94.5\n69.6/92.8\n\n95.0/93.3\n84.6/90.3\n95.4/92.1\n89.1/83.5\n93.4/79.5/75.6\n93.1/90.2\n100./89.1\n96.3/89.7\n\n77.9/73.7\n80.7/74.1\n93.1/80.8\n82.7/71.4\n86.6/75.0/58.4\n95.2/83.1\n97.0/82.7\n96.7/84.3\n\n92.8/95.2\n83.3/93.5\n99.0/98.2\n95.8/90.5\n96.6/84.6/79.5\n88.0/96.5\n100./95.8\n100./98.2\n\n88.8/90.2\n83.3/89.9\n88.3/88.9\n85.7/58.7\n71.7/74.0/72.8\n86.5/87.5\n82.7/85.7\n90.7/89.0\n\n41.6/40.7\n54.3/53.6\n66.6/67.5\n74.8/59.0\n82.2/58.4/56.1\n78.2/76.2\n88.2/74.8\n70.1/68.7\n\n91.2/91.9\n74.4/86.7\n92.3/87.2\n91.1/73.6\n84.7/74.6/67.9\n91.7/79.1\n93.1/91.1\n93.9/88.8\n\n83.1/86.6\n87.0/86.4\n88.8/90.1\n90.7/76.9\n86.3/82.0/90.8\n84.0/91.3\n95.0/90.7\n85.5/91.3\n\n100./96.9\n94.6/94.5\n99.5/96.4\n96.4/91.8\n97.7/71.0/69.6\nRD\n+MMRD\n99.8/93.9\n100./96.4\n98.9/97.1\n\n96.3/92.9\n83.5/84.3\n100.0/97.3\n97.2/87.8\n96.0/81.3/78.4\n96.2/94.9\n100./97.2\n100./98.1\n\n81.1/84.0\n78.4/83.9\n88.2/88.7\n89.8/74.4\n86.9/75.8/74.3\n88.1/88.7\n94.6/89.8\n90.2/89.8\n\nCPMAD-S\nCPMAD\n\nOurs\nOurs\n\n76.1/94.8\n81.3/96.7\n\n99.6/92.1\n100./93.4\n\n98.2/93.9\n99.7/93.5\n\n94.7/97.8\n99.4/98.1\n\n97.3/93.9\n97.9/93.3\n\n83.1/69.7\n80.2/72.6\n\n95.7/95.5\n96.0/96.2\n\n88.7/94.2\n95.2/94.3\n\n100./98.2\n100./98.3\n\n99.4/97.9\n100./98.1\n\n93.3/92.8\n95.0/93.4\n\nI-AUROC\n\nP-AUROC\n\nAUPRO\n\nRD [11]+MMRD [13]\nPatchCore [22]+MMRD [13]\n\n90.9\n91.8\n\n94.6\n95.7\n\n77.3\n82.6\n\nDecoupleMAD\n\n96.4\n\n98.0\n\n86.3\n\nNormal\nSample\n\nRGB\n\n3D\n\nGT\n\nCFM\n\nM3DM\n\nAST\n\nPatchCore\n\nOurs\n\nTire\n\nMethods\n\nGummy Licorice\nBear\nSandwich\n\nTable 3. Quantitative comparison on the BraTS-AD dataset.\n\neralization ability across complex modality combinations.\nFew-shot comparison. To evaluate generalization under\nlow-data regime, we follow the standard few-shot protocol\nin MAD [10] and report results for 5/10/50-shot settings in\nTab. 4. CPMAD demonstrates strong cold-start capability:\nwith only 5 samples per class, it achieves I-AUROC scores of\n89.9% on MVTec-3D and 88.0% on Eyecandies, surpassing\nthe previous SOTA by 8.8% and 10.6%, respectively. The\nperformance gap remains evident at 10-shot and 50-shot, and\nCPMAD exhibits favorable scaling behavior as additional\nnormal samples become available. This few-shot robustness\nshows that decoupling cross-modal features into consensus and supplementary prototypes effectively reduces data\ndependency and the difficulty of learning normal patterns,\nthereby mitigating overfitting in data-scarce scenarios.\n\n4.3. Qualitative Results\nFig. 5 and Fig. 6 compare the proposed CPMAD with existing methods in both industrial and medical domains. In\nindustrial scenarios, memory-bank-based methods such as\nM3DM [29] and PatchCore [22] exhibit dispersed attention\n\nFigure 5. Comparison of localization heatmaps between ours and\nSOTA methods on the MVTec-3D and Eyecandies.\nFlair\n\nT1\n\nT1ce\n\nT2\n\nGT\n\nPatchCore\n+MMRD\n\nRD\n+MMRD\n\nOurs\n\nFigure 6. Comparison of localization heatmaps on the BraTS-AD.\n\nresponses due to their lack of explicit optimization on normal samples. While CFM [10] achieves superior localization\nperformance on Tire with limited color or shape variations,\nit tends to produce scattered responses in normal regions\nwith diverse color distributions (e.g., Licorice Sandwich).\nIn contrast, our method generates sharp and well-localized\nanomaly maps. In medical scenarios, the proposed CPMAD\n\n14183\n\n\f3D\n\nGT\n\nCFM\n\nCFM-5\n\nOurs\n\nOurs-5\n\nRGB\n\n3D\n\nGT\n\nCFM\n\nCFM-5\n\nOurs\n\nOurs-5\n\nConfetto\n\nChocolate\nPraline\n\nRGB\n\nTable 4. Quantitative comparison under 5/10/50-shot settings, reporting mean performance (I-AUROC/P-AUROC/AUPRO) over five runs.\n5-shot\n\nPublication\n\n10-shot\n\n50-shot\n\nFull data\n\nMVTec-3D\n\nEyecandies\n\nMVTec-3D\n\nEyecandies\n\nMVTec-3D\n\nEyecandies\n\nMVTec-3D\n\nEyecandies\n\nWACV’23\nCVPR’23\nCVPR’24\nAAAI’25\n\n68.0/95.0/90.3\n82.2/98.4/93.7\n81.1/98.6/94.9\n82.6/-/-\n\n63.3/74.1/69.1\n76.4/87.1/80.7\n79.5/87.9/80.1\n77.5/87.5/70.4\n\n68.9/94.6/83.5\n84.5/98.6/94.3\n84.5/98.7/95.4\n84.8/-/-\n\n67.1/76.7/62.4\n82.4/89.0/81.2\n83.8/90.3/82.5\n80.7/86.9/76.7\n\n79.4/97.4/92.9\n90.7/98.9/95.5\n90.6/99.1/96.5\n89.0/-/-\n\n73.9/86.2/71.5\n83.6/93.3/84.6\n85.2/92.6/85.1\n86.8/91.2/89.8\n\n93.7/97.6/94.4\n94.5/99.2/96.4\n95.4/99.3/97.1\n95.1/-/-\n\n78.0/90.2/74.4\n88.2/97.7/88.7\n88.1/97.4/88.7\n94.6/97.0/89.8\n\nCPMAD\n\nOurs\n\n89.9/99.2/96.6\n\n88.0/98.1/90.8\n\n91.3/99.3/96.9\n\n90.5/98.3/91.4\n\n96.1/99.5/97.4\n\n93.4/98.6/92.8\n\n97.8/99.6/97.9\n\n95.0/99.1/93.4\n\nCFM-5\n\nOurs-5\n\nPeppermint\nCandy\n\nAST [23]\nM3DM [29]\nCFM [10]\n3D-ADNAS [18]\n\nLicorice\nSandwich\n\nMethod\n\nRGB\n\n3D\n\nGT\n\nCFM\n\nOurs\n\nTable 5. Ablation study of Consensus Prototypes (Con) and Supplementary Prototypes (Sup) on the MVTec-3D dataset.\n\nPepperm. Chocolate Licorice\nCandy\nPraline Sandwich\n\nNormal\nSample\n\nArchitecture\nCon\n\nSup\n\nI-AUROC\n\nP-AUROC\n\nAUPRO\n\n✔\n✔\n✔\n\n✘\n✔\n✔\n\n✘\n✘\n✔\n\n89.5\n95.9\n97.8\n\n99.2\n99.4\n99.6\n\n96.4\n96.9\n97.9\n\n3D\n\nGT\n\nBaseline +Consensus\n\n+All\n\nCookie\n\nRGB\n\nConfetto\n\nGummy\nBear\n\ne_rgb_004.png_0\n\nFigure 8. Qualitative ablation of complementary prototypes.\nBaseline+Consensus\n\nBaseline+All\n\nCable\n\nBaseline\n\nCarrot\n\nefficiently aggregates cues from the four MRI modalities\nto accurately localize brain tumors in low-contrast regions,\nas shown in Fig. 6. Overall, the complementary prototype\ndesign effectively enhances cross-modal consistency and\ncaptures crucial cues across diverse domains, enabling adaptive and precise defect localization.\nFig. 7 illustrates qualitative comparisons under few-shot\nsettings for a distribution-diverse scenario. Under the 5-shot\ncondition, CFM exhibits more severe misdetections, while\nour CPMAD localization maps focus more precisely on defects. Specifically, in scenarios involving subtle geometric\nperturbations co-occurring with complex RGB textures (e.g.,\nChocolate Praline), CPMAD shows a more significant advantage, demonstrating that the complementary prototype\ndesign can alleviate mapping ambiguity and improve localmvtec3DRGBSN_cookie_tes\nization performance even in low-data\ndomains.\nt_hole_rgb_022.png_0\n\nBaseline\n\nNormal\nSample\n\nFigure 7. Comparison of localization heatmaps between the proposed method and CFM (CFM-5 denotes CFM trained under the\nmvtec3DRGBSN_cookie_test_hol\n5-shot setting).\n\nPerformance\n\n4.4. Ablation Studies\n4.4.1. Architecture ablation\n\nFigure 9. Kernel Density Estimation of anomaly scores for three\nconfiguration on the MVTec-3D.\n\nQuantitative analysis. We conduct ablation studies to evaluate the contribution of each prototype component. Tab. 5\npresents results on the MVTec-3D dataset to evaluate the\ncontribution of each prototype component. We design three\nconfigurations: (1) Baseline employs paired ViT encoders\nfollowed by a 3-layer MLP that performs hierarchical crossmodal mapping. (2) +Consensus, which incorporates consensus prototypes for feature mapping; and (3) +All (Consensus+Supplementary), which combines both components\ninto the full complementary prototype learning framework.\n“+Consensus” variant yields an I-AUROC improvement of\n6.5% over the baseline. Combining both prototypes further\nboosts performance, highlighting their synergistic effect.\nQualitative analysis. Fig. 8 visualizes the effects of in-\n\ncorporating supplementary and consensus prototypes. The\nbaseline model, which relies on unconditional mappings,\ngenerates ambiguous localization maps in regions with diverse distributions. For instance, in the Confetto class, varying product colors cause normal areas to be misclassified\nas anomalous in the 3D→RGB mapping. Similarly, in the\nCookie class, the model misinterprets normal dark spots as\ndefective holes in the RGB→3D mapping. By incorporating both complementary prototypes, the model dynamically\nenhances the adaptive reconstruction of normal regions, resulting in clearer and more accurate defect boundaries.\nDistribution analysis. Fig. 9 shows the kernel density estimation of image-level anomaly scores for the three con-\n\n14184\n\n\fMarshma\nllow\nFoam\n\nRGB\n\nTable 6. Detailed ablation of modules on the MVTec-3D dataset.\nModules\n\n3D\n\n(a)\n\n(b)\n\n(c)\n\n(d)\n\n(e)\n\n(f)\n\n(g)\n\n(h)\n\nFigure 10. Visualization of supplementary prototypes. (a)-(h)\nAttention maps of eight different prototypes.\n\nI-AUROC\n\nP-AUROC\n\nAUPRO\n\nW/o CR-Attention (SQM)\nW/o Average (CEM)\nW/o Dynamic Anchor (CEM)\nW/o Channel-wise Residual\n\n96.8\n97.3\n97.2\n97.6\n\n99.4\n99.5\n99.5\n99.6\n\n97.5\n97.7\n97.6\n97.8\n\nCPMAD (Ours)\n\n97.8\n\n99.6\n\n97.9\n\nMetrics\n\nTable 7. Performance and efficiency comparison of MAD methods and our CPMAD variants with ViT-S/B backbones using an\nNVIDIA RTX 4090 and RTX 2080Ti, with I-AUROC on MVTec3D/Eyecandies. “*” are taken from the original publications.\nMetric↑\n\nFPS↑\n(4090)\n\nFPS↑\n(2080Ti)\n\nFLOPs↓\n(GFlops)\n\nParam.↓\n(M)\n\nMemory↓\n(MB)\n\nG2 SF∗ [26]\n3D-A.∗ [18]\nM3DM [29]\nCFM [10]\nEasyNet [8]\n\n97.1/90.2\n95.1/94.6\n94.5/88.2\n95.4/88.1\n92.6/86.9\n\n6.04\n24.70\n2.07\n13.18\n36.54\n\n1.10\n5.71\n11.97\n\n431.14\n465.65\n\n112.56\n140.61\n\n8402\n3757\n2746\n\nCPMAD-S\nCPMAD\n\n96.6/93.3\n97.8/95.0\n\n101.73\n64.66\n\n60.49\n25.73\n\n36.34\n145.01\n\n35.55\n141.88\n\n1058\n1663\n\nMethods\n\nQuery Size\n\nAnchor Size\n\nFigure 11. Ablation on SQM Query size and CEM Anchor size.\n\nfigurations. The complementary design markedly reduces\nthe distribution overlap between normal and anomalous samples, which can be attributed to its use of both prototypes\nfor restoring normal regions while reconstructing anomalous\nregions in a way that enhances their distinguishability.\nVisualization of prototypes. Fig. 10 illustrates the attention\nmaps of supplementary prototypes for representative RGB\nand 3D samples. For the Marshmallow RGB, the supplementary prototypes concentrate on regions exhibiting large\ncolor variations, such as the purple bulges (a, f). In contrast,\nfor the uneven Foam 3D surface, they emphasize ambiguous\nregions, including central depressions (c, d, f) and discontinuous boundary areas (a, e, g, h). These visualizations\ndemonstrate that the supplementary prototypes dynamically\ncooperate with the consensus prototypes to provide adaptive\npriors, thereby mitigating mapping ambiguity.\n4.4.2. Modules Ablation\nTab. 6 presents detailed ablation on each proposed module.\n(1) For the SQM, replacing the CR-Attention with standard\ncross-attention, which uses the queries to extract supplementary prototypes from modality-specific features, results in\na noticeable performance degradation. This indicates that\nwhen the consensus prototypes are not visible, the supplementary queries may capture redundant shared semantics\nrather than focusing on complementary modality-specific\ncues. (2) For the CEM, replacing the non-learnable average\nwith a learnable weighted average also reduces performance,\nsuggesting that learnable aggregation may exploit shortcut\ncues to reconstruct anomalies. Moreover, replacing the dynamic anchor with a static one (i.e., a learnable embedding)\nfails to adaptively capture the cross-modal semantics, thereby\ndegrading cross-modal consistency and potentially introducing anomalous patterns into the prototype space. (3) Re-\n\nplacing the Complementary Mapping module with standard\ncross-attention leads to further degradation, as the traditional\ntoken-wise residual introduces more noisy responses from\nanomalous regions compared to the channel-wise residual.\n4.4.3. Hyper-parameter and Efficiency Analysis\nHyper-parameter sensitivity. Fig. 11 shows the sensitivity of CPMAD to query size in SQM and anchor size in\nCEM. For SQM, query sizes larger than 8 maintain optimal\nperformance, but excessively large sizes may leak anomalous information. Similarly, CEM exhibits a comparable\ntrend. Overall, CPMAD remains robust to hyperparameter\nvariations within a reasonable range.\nInference Efficiency. As shown in Tab. 7, the lightweight\nCPMAD-S variant achieves rapid inference, approaching\nmillisecond-level latency on an RTX 4090 GPU, while maintaining real-time performance at 64.66 FPS even on a less\npowerful RTX 2080 Ti. Furthermore, it demonstrates reduced computational cost and memory footprint compared\nto existing approaches. This efficiency stems from its complementary prototype-based lightweight architecture, which\navoids the computational overhead of heavy decoders, making the method well-suited for practical deployment.\n\n5. Conclusion\nWe propose CPMAD, a lightweight and scalable framework\nthat dynamically learns consensus and supplementary prototypes to mitigate mapping ambiguity. Extensive experiments\nshow that CPMAD achieves superior accuracy, faster inference, and reduced memory usage, while scaling efficiently\nwith model size and data volume. These results indicate that\nCPMAD provides an efficient and generalizable solution for\npractical cross-modal inspection systems.\n\n14185\n\n\fAcknowledgments\nThis work was supported by the National Natural Science\nFoundation of China under Grant 62431004.\n\nReferences\n[1] Mohammad Adiban, Marco Siniscalchi, Kalin Stefanov, and\nGiampiero Salvi. Hierarchical residual learning based vector\nquantized variational autoencorder for image reconstruction\nand generation. In 33rd British Machine Vision Conference,\n2022.\n[2] Jinan Bao, Hanshi Sun, Hanqiu Deng, Yinsheng He, Zhaoxiang Zhang, and Xingyu Li. Bmad: Benchmarks for medical anomaly detection. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\npages 4042–4053, 2024.\n[3] Paul Bergmann, Michael Fauser, David Sattlegger, and\nCarsten Steger. Mvtec ad–a comprehensive real-world dataset\nfor unsupervised anomaly detection. In Proceedings of\nthe IEEE/CVF conference on computer vision and pattern\nrecognition, pages 9592–9600, 2019.\n[4] Paul Bergmann, Xin Jin, David Sattlegger, and Carsten Steger. The mvtec 3d-ad dataset for unsupervised 3d anomaly\ndetection and localization. arXiv preprint arXiv:2112.09045,\n2021.\n[5] Luca Bonfiglioli, Marco Toschi, Davide Silvestri, Nicola\nFioraio, and Daniele De Gregorio. The eyecandies dataset for\nunsupervised multimodal anomaly detection and localization.\nIn Proceedings of the Asian Conference on Computer Vision,\npages 3586–3602, 2022.\n[6] Yunkang Cao, Xiaohao Xu, and Weiming Shen. Complementary pseudo multimodal feature for point cloud anomaly\ndetection. Pattern Recognition, 156:110761, 2024.\n[7] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou,\nJulien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In\nProceedings of the IEEE/CVF international conference on\ncomputer vision, pages 9650–9660, 2021.\n[8] Ruitao Chen, Guoyang Xie, Jiaqi Liu, Jinbao Wang, Ziqi Luo,\nJinfan Wang, and Feng Zheng. Easynet: An easy network\nfor 3d industrial anomaly detection. In Proceedings of the\n31st ACM International Conference on Multimedia, pages\n7038–7046, 2023.\n[9] Yu-Min Chu, Chieh Liu, Ting-I Hsieh, Hwann-Tzong Chen,\nand Tyng-Luh Liu. Shape-guided dual-memory learning\nfor 3d anomaly detection. In Proceedings of the 40th\nInternational Conference on Machine Learning, pages 6185–\n6194, 2023.\n[10] Alex Costanzino, Pierluigi Zama Ramirez, Giuseppe Lisanti,\nand Luigi Di Stefano. Multimodal industrial anomaly detection by crossmodal feature mapping. In Proceedings of\nthe IEEE/CVF Conference on Computer Vision and Pattern\nRecognition, pages 17234–17243, 2024.\n[11] Hanqiu Deng and Xingyu Li. Anomaly detection via reverse\ndistillation from one-class embedding. In Proceedings of\nthe IEEE/CVF Conference on Computer Vision and Pattern\nRecognition, pages 9737–9746, 2022.\n\n[12] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov,\nDirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner,\nMostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint\narXiv:2010.11929, 2020.\n[13] Zhihao Gu, Jiangning Zhang, Liang Liu, Xu Chen, Jinlong\nPeng, Zhenye Gan, Guannan Jiang, Annan Shu, Yabiao\nWang, and Lizhuang Ma. Rethinking reverse distillation for\nmulti-modal anomaly detection. In Proceedings of the AAAI\nConference on Artificial Intelligence, volume 38, pages 8445–\n8453, 2024.\n[14] Jia Guo, Shuai Lu, Weihang Zhang, Fang Chen, Huiqi Li,\nand Hongen Liao. Dinomaly: The less is more philosophy in\nmulti-class unsupervised anomaly detection. In Proceedings\nof the Computer Vision and Pattern Recognition Conference,\npages 20405–20415, 2025.\n[15] Eliahu Horwitz and Yedid Hoshen. Back to the feature: classical 3d features are (almost) all you need for 3d anomaly\ndetection. In Proceedings of the IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, pages 2968–2977,\n2023.\n[16] Chaoqin Huang, Aofan Jiang, Jinghao Feng, Ya Zhang, Xinchao Wang, and Yanfeng Wang. Adapting visual-language\nmodels for generalizable anomaly detection in medical images. In Proceedings of the IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, pages 11375–\n11385, 2024.\n[17] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton.\nImagenet classification with deep convolutional neural networks. Advances in neural information processing systems,\n25, 2012.\n[18] Kaifang Long, Guoyang Xie, Lianbo Ma, Jiaqi Liu, and\nZhichao Lu. Revisiting multimodal fusion for 3d anomaly\ndetection from an architectural perspective. In Proceedings of\nthe AAAI Conference on Artificial Intelligence, volume 39,\npages 12273–12281, 2025.\n[19] Wei Luo, Yunkang Cao, Haiming Yao, Xiaotian Zhang,\nJianan Lou, Yuqi Cheng, Weiming Shen, and Wenyong Yu.\nExploring intrinsic normal prototypes within a single image for universal anomaly detection. In Proceedings of the\nComputer Vision and Pattern Recognition Conference, pages\n9974–9983, 2025.\n[20] Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo,\nMarc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel\nHaziza, Francisco Massa, Alaaeldin El-Nouby, et al. Dinov2:\nLearning robust visual features without supervision. arXiv\npreprint arXiv:2304.07193, 2023.\n[21] YeongHyeon Park, Myung Jin Kim, and Hyeong Seok Kim.\nContrastive language prompting to ease false positives in\nmedical anomaly detection. In 2025 IEEE 22nd International\nSymposium on Biomedical Imaging (ISBI), pages 1–4. IEEE,\n2025.\n[22] Karsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard\nSchölkopf, Thomas Brox, and Peter Gehler. Towards total recall in industrial anomaly detection. In Proceedings of\nthe IEEE/CVF Conference on Computer Vision and Pattern\nRecognition, pages 14318–14328, 2022.\n\n14186\n\n\f[23] Marco Rudolph, Tom Wehrbein, Bodo Rosenhahn, and Bastian Wandt. Asymmetric student-teacher networks for industrial anomaly detection. In Proceedings of the IEEE/CVF\nwinter conference on applications of computer vision, pages\n2592–2602, 2023.\n[24] Yikang Shi, Xin Zhan, Yaqian Li, Zhongqiang Wu, Wenming\nZhang, and Haibin Li. Cycle-cfm: An unsupervised framework for robust multimodal anomaly detection in industrial\nsettings. Expert Systems with Applications, page 129745,\n2025.\n[25] Jake Snell, Kevin Swersky, and Richard Zemel. Prototypical networks for few-shot learning. Advances in neural\ninformation processing systems, 30, 2017.\n[26] Chengyu Tao, Xuanming Cao, and Juan Du. G2sf: Geometryguided score fusion for multimodal industrial anomaly detection. In Proceedings of the IEEE/CVF International\nConference on Computer Vision, pages 20551–20560, 2025.\n[27] 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[28] Chengjie Wang, Haokun Zhu, Jinlong Peng, Yue Wang,\nRan Yi, Yunsheng Wu, Lizhuang Ma, and Jiangning Zhang.\nM3dm-nr: Rgb-3d noisy-resistant industrial anomaly detection via multimodal denoising. IEEE Transactions on Pattern\nAnalysis and Machine Intelligence, 2025.\n[29] Yue Wang, Jinlong Peng, Jiangning Zhang, Ran Yi, Yabiao\nWang, and Chengjie Wang. Multimodal industrial anomaly\ndetection via hybrid fusion. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\npages 8032–8041, 2023.\n[30] Peng Wu, Xuerong Zhou, Guansong Pang, Lingru Zhou,\nQingsen Yan, Peng Wang, and Yanning Zhang. Vadclip:\nAdapting vision-language models for weakly supervised\nvideo anomaly detection. In Proceedings of the AAAI\nConference on Artificial Intelligence, volume 38, pages 6074–\n6082, 2024.\n[31] Haiyan Yang, Shuning Liu, Mingxuan Wu, Hongbin Chen,\nand Delu Zeng. Attention-based misaligned spatiotemporal\nauto-encoder for video anomaly detection. Signal, Image and\nVideo Processing, pages 1–13, 2024.\n[32] Zhiyuan You, Lei Cui, Yujun Shen, Kai Yang, Xin Lu,\nYu Zheng, and Xinyi Le. A unified model for multiclass anomaly detection. Advances in Neural Information\nProcessing Systems, 35:4571–4584, 2022.\n[33] Vitjan Zavrtanik, Matej Kristan, and Danijel Skočaj. Dsr–\na dual subspace re-projection network for surface anomaly\ndetection. In European conference on computer vision, pages\n539–554. Springer, 2022.\n[34] Yuan Zhao, Youwei Pang, Lihe Zhang, Hanqi Liu, Jiaming\nZuo, Huchuan Lu, and Xiaoqi Zhao. Unimmad: Unified multimodal and multi-class anomaly detection via moe-driven feature decompression. arXiv preprint arXiv:2509.25934, 2025.\n[35] Yuan Zhao, Jiayu Sun, Lihe Zhang, and Huchuan Lu. Focusclip: Focusing on anomaly regions by visual-text discrepancies. IEEE Transactions on Circuits and Systems for Video\nTechnology, 2024.\n\n14187\n\n[36] Qihang Zhou, Jiangtao Yan, Shibo He, Wenchao Meng,\nand Jiming Chen. Pointad: Comprehending 3d anomalies from points and pixels for zero-shot 3d anomaly detection. Advances in Neural Information Processing Systems,\n37:84866–84896, 2024.\n[37] Liyun Zhu, Lei Wang, Arjun Raj, Tom Gedeon, and Chen\nChen. Advancing video anomaly detection: A concise review and a new dataset. Advances in Neural Information\nProcessing Systems, 37:89943–89977, 2024.\n[38] Yang Zou, Jongheon Jeong, Latha Pemula, Dongqing Zhang,\nand Onkar Dabeer. Spot-the-difference self-supervised pretraining for anomaly detection and segmentation. In European\nConference on Computer Vision, pages 392–408. Springer,\n2022.\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"