"<!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>UniMMAD: Unified Multi-Modal and Multi-Class Anomaly\nDetection via MoE-Driven Feature Decompression\nYuan Zhao1,2* , Youwei Pang3* , Lihe Zhang1# , Hanqi Liu2 ,\nJiaming Zuo2# , Huchuan Lu1 , Xiaoqi Zhao3#\n1\n\nIIAU-Lab, Dalian University of Technology, 2 X3000 Inspection Co., Ltd, 3 AI4X Team, Nanyang Technological University\nequal contribution. # corresponding authors.\n\nAbstract. Existing anomaly detection methods often treat the modality and class as independent factors. Although\nthis paradigm has enriched the development of AD research branches and produced many specialized models, it\nhas also led to fragmented solutions and excessive memory overhead. Moreover, reconstruction-based multi-class\napproaches typically rely on shared decoding paths, which struggle to handle large variations across domains, resulting\nin distorted normality boundaries, domain interference, and high false alarm rates. To address these limitations,\nwe propose UniMMAD, a unified framework for multi-modal and multi-class anomaly detection. At the core of\nUniMMAD is a Mixture-of-Experts (MoE)-driven feature decompression mechanism, which enables adaptive and\ndisentangled reconstruction tailored to specific domains. This process is guided by a “general → specific” paradigm.\nIn the encoding stage, multi-modal inputs of varying combinations are compressed into compact, general-purpose\nfeatures. The encoder incorporates a feature compression module to suppress latent anomalies, encourage cross-modal\ninteraction, and avoid shortcut learning. In the decoding stage, the general features are decompressed into modalityspecific and class-specific forms via a sparsely-gated cross MoE, which dynamically selects expert pathways based on\ninput modality and class. To further improve efficiency, we design a grouped dynamic filtering mechanism and an\nMoE-in-MoE structure, reducing MoE parameter usage by approximately 75% while maintaining sparse activation\nand fast inference. UniMMAD achieves state-of-the-art performance on 9 anomaly detection datasets, spanning 3\nfields, 12 modalities, and 66 classes.\n\n.......\n\n§ Code\n\nInfrared\n\nClass 2\n\nRGB-D Net\n\nRGB-D\n\nClass N\n\n� × � Net\n\nInfrared\n\nLight\n\nRGB\n\nDepth\n\nFoam\n\n(a)\n\nClass 1\nClass 2\n\nModality\nList M\n\nClass N\n\n...\n\nT1CE\n\nFlair\n\nInfrared\nUniMMAD\n\nT1\n\n(b)\n\nRGB\n\nRGB-D\n\n...\n\nInfrared\nNet\n\n...\n\nUnsupervised anomaly detection (AD), which aims to\ndetect anomalies without relying on abnormal samples,\nis crucial in practical applications such as manufacturing inspection [1] and medical diagnosis [2]. In realworld scenarios, anomalies appear in diverse forms and\nInfrared\noften require multiple sensing modalities to\nbe reliably\ndetected. For example, 3D modalities can help identify\ngeometric defects and mitigate the lighting sensitivity\nrisks in RGB images [3].\nExisting approaches [3, 5, 8] primarily focus on the\nfixed modality inputs. They are dedicated to processing\na kind of modality combination, as shown in Fig.\n1a.\nClass N\nHowever, in real-world scenarios, multiple distinct sensors are typically involved for product quality inspection. As shown in Fig. 1c, infrared cameras are used to\ndetect internal component damage in the “Light” product, while RGB and 3D sensors are essential for identifying color and geometric defects in the “Foam” product.\n\nClass 1\n\n...\n\nIntroduction\n\n...\n\n1\n\n...\n\narXiv:2509.25934v3 [cs.CV] 14 Mar 2026\n\n*\n\nModality\nList M\n(c)\nT2\n\nBrain Tumor\n\nFigure 1. Task setting. (a) Existing methods [3–5] rely on\nspecialized models tailored to the fixed modalities. (b) Our\nUniMMAD\nanomaly\n(b) Unified\nmodeldefor Modality and Class\nLi unifies multi-modal and multi-class\ntection within a single framework. (c) Visual examples, where\ngh\nanomaly regions, modalities and class names are\nmarked by\nRGB\nRGB\nt white, and yellow, respectively.\nred boxes,\n\nSimulated\n\nCustomizing specific models for each modality combination is not an optimized solution and usually results\nRGB\nin difficulties in model deployment and memory overCT-Model\nhead. Although existing multi-class methods [6, 9] can\nbe extended to mitigate fragmentation issues with classMRIshared model\ndesigns, they struggle to adapt to complex\n\nModel\n\n1\n\nM3DM\n\n\fUniMMAD\n\nY. Zhao et al.\n66 Classes\n\nGeneral\nInput\n\n12 Modalities\n\nGeneral\nMulti-modal\nEncoder\n\nUniMMAD\n\nCondition\nRouter\nOurs\n\nTire - Depth\nExperts\n.....\nClass N - Modality M\nExperts\n\nSpecific\n\nDistribution Boundary\nAlignment\n\nDistribution Boundary\nReconstruction Distortion\nInput\n\n3 Fields\n\nDomain-specific Pathways\n\n55K Images\n\nEncoder\n\nClass-shared\nReconstruction Pathways\nExisting Multi-class Methods\n\n(a)\n\n(b)\n\nFigure 2. (a) Overview of the fields, modalities, and classes encompassed by UniMMAD. (b) Architectures of UniMMAD and\nmainstream multi-class methods [6, 7]. Reconstructed feature distribution in normal regions is shown on the right. Larger\ndistances between original features (triangles ▼) and reconstructed features (circles ●) mean a higher risk of false positives.\n\nmodality combinations and diverse scenes, since shared\ndecoders cannot disentangle heterogeneous modality\ndistributions well.\n\nactivation, letting experts specialize in domains while\nsharing global parameters. This allows decomposing\ngeneral latent features into diverse domain-specific outputs. UniMMAD uses a unified encoder to compress\narbitrary multi-modal inputs into compact features and\na dynamic MoE decoder to adaptively decompress them\ninto task-specific reconstructions with minimal interference.\n\nRecently, unified vision models [10–12] have\ndemonstrated that a single architecture and parameter set can handle various tasks. Inspired by these,\nwe aim to develop a unified unsupervised anomaly detection framework across multiple scenarios that supports multi-modal inputs, and predicts multiple semantic classes, as illustrated in Fig. 1b and Fig. 2a. Achieving\nthis goal poses two key challenges: 1) Large domain\nheterogeneity. The intricate interplay among diverse\nmodalities and classes introduces large variations in appearance, illumination, scale, background, and anomaly\nsemantics, making consistent representation learning\nand anomaly discrimination difficult. 2) Practical constraints on efficiency and continual learning. A\npractical unified AD model must ensure high accuracy,\nfast inference, sparse computation, and adapt to new\nclasses or modalities without catastrophic forgetting.\nExisting multi-class AD models [6, 7] share a reconstruction path across classes. Although parameterefficient, this shared path aggravates domain interference, resulting in poor normal pattern reconstruction\nand high false alarms. As shown in Fig. 2b, these methods may distort decision boundaries and misclassify\nnormal regions as anomalies.\n\nAs shown in Fig. 2b, we first introduce a novel\nparadigm, “general → specific”, which decompresses\ngeneral multi-modal features into domain-specific unimodal ones. This paradigm encourages the learning of\na powerful general-purpose multi-modal encoder that\ncan flexibly adapt to diverse modality combinations and\neffectively fuse cross-modal information. Unlike conventional reconstruction objectives [6] that reconstruct\nthe input itself, our asymmetric “general → specific”\nparadigm mitigates shortcut reconstruction. Second,\nwe embed a feature compression module in the encoder\nto generate compact and purified latent representations.\nThis compacts general features and curbs abnormal pattern propagation. Third, in the decoding phase, we\ndesign Cross Mixture-of-Experts (C-MoE) to reduce domain interference during decompression. Inspired by\nthe success of MoE on heterogeneous data [13], C-MoE\nuses a cross-conditioned expert selection mechanism\nconsidering general features and domain-specific priors to dynamically choose the optimal decompression\npathway. This allows task isolation and adaptive expert\nscaling. Last, we enhance C-MoE with the grouped\ndynamic filtering and hierarchical MoE-in-MoE structure. Nesting dense expert groups within sparse MoE\nand enabling parallel execution can reduce parameter\noverhead by approximately 75% while preserving the\nsparse activation benefits of MoE.\n\nTo address these challenges, we propose UniMMAD,\na unified anomaly detection framework for diverse\nscenes. Its core is a Mixture-of-Experts (MoE)-based\nfeature decompression mechanism, which is designed\nto resolve the entanglement caused by heterogeneous\ninputs. Unified AD requires a shared model to handle large domain shifts across modalities and classes,\nwhich often leads to distorted reconstructions and false\npositives with a single decoder. MoE naturally alleviates this by enabling sparse, input-conditioned expert\n\nOur main contributions can be summarized as follows:\n2\n\n\fUniMMAD\n\nY. Zhao et al.\n\n• To the best of our knowledge, we are the first to\npropose an efficient, unified anomaly detection\nframework that uses a single set of parameters to\nhandle multi-modal and multi-class data.\n\n2.3\n\nMixture-of-Experts (MoE) [18] leverages sparsely activated experts for scalable conditional computation.\nSparsely-Gated MoE [19] activates a subset of experts\nper input, while SoftMoE [20] improves stability via\ndifferentiable routing. DeepSeekMoE [21] enhances parameter efficiency through shared experts. In vision\ntasks, V-MoE [22] embeds MoE layers into ViTs. Recent\nworks [23, 24] adopt self-routing MoE structures for\nanomaly detection, where inputs act as both router and\nexpert targets, leading to limited condition awareness.\nIn this work, we propose C-MoE with a cross-condition\nrouter to enhance condition awareness by explicitly\ndisentangling modality and class interference.\n\n• We propose a “general → specific” paradigm to\nlearn a general multi-modal encoder and feature\ncompression module for effective cross-modal representation.\n• We design the C-MoE, which effectively reduces\ninterference caused by domain gap, while improving the parameter efficiency of MoE.\n• UniMMAD shares all parameters and dynamically activates domain-specific experts across diverse scenarios, surpassing state-of-the-art methods with strong continual learning capability and\nhigh inference efficiency.\n\n2\n\nRelated Work\n\n2.1\n\nMulti-modal Anomaly Detection\n\n3\n\nMethod\n\nThe overall architecture is shown in Fig. 3. In this section, we first introduce the main idea of the “general\n→ specific” paradigm. Next, we describe the general\nmulti-modal encoder for compressing multi-modal features and the Cross Mixture-of-Experts (C-MoE) for decompressing those features into domain-specific ones.\nFinally, we outline the training and inference processes.\n\nMulti-modal anomaly detection integrates complementary information from sensors such as RGB, depth, and\nsurface normals to enhance robustness in complex environments. M3DM [5] uses patch-level contrastive learning and decision-level fusion for RGB and point clouds.\nMMRD [14] introduces the surface normal modality via\nreverse distillation. To reduce memory usage, CFM [3]\nproposes lightweight cross-modal mapping and layer\npruning. Different from these methods that train per\ndomain and rely on parameter-free fusion, we propose\na “general → specific” paradigm with a general encoder,\nenabling flexible modality combinations and deep crossmodal integration.\n2.2\n\nMixture-of-Experts\n\n3.1\n\nGeneral → Specific\n\nTo handle diverse modality combinations and domain discrepancies, we propose a “general → specific” paradigm. Its core idea is to decompress multimodal features into multiple uni-modal ones: f gen →\ngen\n{um }M\nis the multi-modal feature, um\nm=1 , where f\nis the m-th uni-modal feature, and M is the number\nof modalities. The model learns this decomposition on\nnormal samples by predicting the residual between f gen\nand each um . A pre-trained prior generator provides\ndomain-specific priors to guide and supervise the decompression process, helping the model capture both\ngeneral and modality-specific features. During inference, this decompression fails on anomalies, and the\nresulting deviations serve as indicators for anomaly\ndetection.\n\nUnified Vision Model\n\nLarge-scale foundation models have driven efforts to\nunify diverse vision tasks with shared parameters. In\nsupervised settings, SegGPT [11] frames segmentation\nas in-context coloring, and Spider [10] extends this\nto unify context-independent and medical tasks. For\nanomaly detection, most methods follow a one-classone-model scheme. RD [15] uses reverse knowledge\ndistillation, while PatchCore [16] compares memory\nbank features. UniAD [6] proposes a unified multi-class\nmodel within a single-modality dataset. ViTAD [17]\nand MambaAD [7] further improve performance via\ntransformers and state-space models. To address the\nchallenges of diverse scenes, we propose a practical\nunified framework that supports anomaly detection\nacross modalities, classes, and fields.\n\n3.2\n\nGeneral Multi-modal Encoder\n\nAs shown in Fig. 3, the general multi-modal encoder\nincludes an input embedding layer, residual blocks, and\na Feature Compression Module (FCM). The input embedding layer pads all inputs to a unified channel dimension C, supporting arbitrary modality combinations: RCin ×H×W → RC×H×W . Three residual blocks\nare used to progressively extract multi-modal features,\ncombined with inter-modal prior averages to refine the\n3\n\n\fUniMMAD\n\n�1\n\n�×�×�\n\nGeneral Multi-modal Encoder\nPrior Generator\n�12\n��\n2\n\nElement-wise Addition\n\nTrainable\n\n�11\n�31\n��\n3\nFrozen\n\n��\n1\n\n�3\n\ngen\n�2\n\ngen\n�3\n\nFeature Compression Module\n\ngen\n�1\n\n�12\n\nC-MoE\n\n�11\n\n�2\n\n��\n2\n\n��\n1\n\nModality 1 Flow\n\n�13\n\nC-MoE\n\n�12\n\n��\n3\n\n��\n2\n\nC\n\nModality M Flow\n\nConcatenate\n\nBottleNeck-3\n�3\n�2\n�1\n\nC-MoE\n\n�13\n\nFeature Compression\nModule\n\n��\n3\n\n�3\n�2\n�1\n�3\n�2\n�1\n\nResBlock\nResBlock\nResBlock\n\nC\n\n1024 × �/16 × �/16\n\nResBlock\nResBlock\nResBlock\n\n�in × � × �\n\nResBlock 3\n512 × �/8 × �/8\n\nResBlock\nResBlock\nResBlock\n\nResBlock 2\n256 × �/4 × �/4\n\nBottleNeck-5\n\nResBlock 1\n\nBottleNeck-3\n\nInput Embedding\n\nBottleNeck-1\n\nMulti-modal Input\n\nY. Zhao et al.\n\ngen\n\n�3\n\ngen\n\n�2\n\ngen\n\n�1\n\nFigure 3. Overview of the UniMMAD. It processes various modality combinations via a general multi-modal encoder and a\nFeature Compression Module (FCM). The FCM comprises a hierarchical BottleNeck-K structure and residual blocks (ResBlock),\nwhere BottleNeck-K uses K × K convolutions to capture scale information and 1 × 1 convolutions to adjust dimensions. A\nprior generator provides domain-specific priors to guide the C-MoE in decompressing general features into domain-specific\nones.\n\nfeatures. To prevent anomaly cues from contaminating\nmulti-modal features, FCM employs a hierarchical bottleneck. An inner multi-scale bottleneck uses parallel\n1 × 1, 3 × 3, and 5 × 5 convolutions to preserve normal patterns while suppressing scale-sensitive anomalies. An outer bottleneck performs finer compression\nat higher semantic levels to further remove residual abnormal activations. Finally, residual blocks restore the\ngen\ngen\ncompressed features to multi-scale outputs f1 , f2 ,\ngen\nand f3 , yielding purified general features.\n3.3\n\nload-balancing loss:\nM\n\nLMoE =\n\nL\n\ne\n1 XX\n(1 − )2 · CV (G(glm )), (1)\nM L m=1\nE\nl=1\n\nwhere e, E, and L represent the epoch index, total\nnumber of epochs, and the number of feature maps,\nrespectively. The Coefficient of Variation CV (·) quantifies the uniformity of the gate’s output distribution.\nThis scheme encourages broad expert activation early\nand stabilizes routing later.\nExpert Design and Routing. C-MoE employs two\ntypes of experts: (1) a fixed expert to capture shared\nknowledge and reduce redundancy, and (2) routed experts selected via top-K gating to provide task-specific\ncapabilities. To reduce memory cost and avoid inactive\nexperts, we construct a MoE-in-MoE structure. Each\nrouted expert (MoE-Leader) is a weighted composition\nof shared base experts W ∈ RNexp ×O×I×Ks ×Ks , where\nNexp is the number of base experts, O and I represent output and input channels, respectively, and Ks is\nthe kernel size. Each MoE-Leader stores only weights\nS ∈ RNexp ×O for selecting base experts. Given routing\nindices I, final convolution kernels are computed as:\n\nCross Mixture-of-Experts\ngen\n\nC-MoE decompresses general features fl into domainm\nspecific features pm\nl , guided by domain priors ul that\nencode multi-scale domain knowledge, with l representing the index of feature maps. Instead of relying on\ncross attention, which may cause shortcut issues [6] and\nhigh computational overhead, C-MoE adopts a crosscondition routing strategy. It selects implicit experts\nbased on the priors, enhancing condition awareness\nand reducing interference across modalities and classes.\nThis mechanism serves as the basis for the following\nrouting and expert design modules.\nCondition Router. As shown in Fig. 4, general features are projected to keys and values, and priors to\nqueries. A convolutional layer followed by global average pooling yields global statistics glm , which encapsulate domain-specific contextual characteristics and effectively suppress anomalous leakage, thereby preventing shortcut learning. A gating function G produces\ntop-K expert indices I and logits, further normalized\nby softmax to obtain cross-condition scores. To encourage balanced expert usage, we introduce an annealed\n\nX\n\nfor each o ∈ [1, O],\n(2)\nwhere S ′ is softmax-normalized S along the first dimension. This design enables efficient reuse of base\nexperts, diverse MoE-Leader construction, and better\nparameter efficiency.\nInference Acceleration and Multi-scale Aggregation. To accelerate C-MoE inference, we introduce\ntwo optimizations. (1) Pre-computed kernels. DurŴ =\n\n4\n\ni∈I\n\nS ′ [i, o] · W [i, o],\n\n\f^\n𝑊\nGroup Dynamic Filter\n\nExpert Select\n\nUniMMAD\n\nY. Zhao et al.\n\nBase Experts\n\nMoE-Leader\n\nQueries\n\nCondition Router\n\nMoE Loss Scores\n\nLogits\n\nSoftmax\n\n𝑔𝑙𝑚\n\nIndices\n\n𝐾=2\nTopK\n\n𝑢𝑙𝑚\n\nDomain-Specific Priors\n\nWeighting\n\nGate\n\n𝑢𝑙𝑚−1\n\nQueries\n\n𝑢𝑙𝑚−2\n\ngen\n\n𝑓𝑙\nGeneral Features\n\nGlobal Avg Pooling\n\nProjection\n\nConcat &amp; Conv\n\nProjection\n\nKeys\n\nKeys\n\nCondition Router\n\nValues\n\nParallel Filtering\n\nCondition Router\n\nGrouping\n\nValues Scores\n\nGDF\n\nRouted Experts\n\nExpert Routing\n\nMoE in MoE\n\nResidual\n\nMulti-scale Aggregation\n\nGrouped Dynamic Filtering (GDF)\n\nFixed Expert\nIndices\n\nCross Mixture-of-Experts\n（C-MoE）\n\nExpert Routing\n\nExperts\n\n𝑝𝑙𝑚\n𝑝𝑙𝑚−2\n𝑝𝑙𝑚−1\nDomain-specific Features\n\nFigure 4. Detailed architecture of C-MoE. It selects expert indices based on domain-specific priors using a condition router,\nactivates the corresponding routed experts and a fixed expert, and decompresses general features via grouped dynamic filtering.\nEach routed expert adopts an MoE-in-MoE structure to improve parameter efficiency.\n\ning inference, MoE-in-MoE caches the pre-weighted\nconvolution kernels Ŵ , eliminating on-the-fly kernel\ngeneration. (2) Grouped dynamic filtering. The values are replicated for the Kroute activated routed experts and one fixed expert, and reshaped from [B =\n(Kroute +1), Cval , · · · ] to [B = 1, (Kroute +1)×Cval , · · · ],\nwhere Cval denotes the channel dimension of values.\nSetting groups = Kroute + 1 executes the expert filters\nwithin a single group convolution, enabling parallel dynamic filtering and reducing memory traffic and latency\nby eliminating serial passes. The filtered outputs are\nweighted and aggregated according to the expert scores\nproduced by the router. To cope with objects of different\nspatial extents, C-MoE further employs experts with\nheterogeneous receptive fields and fuses their outputs\nthrough an aggregation convolution.\n3.4\n\nlayer l, the anomaly map Am\nl is defined as the negative\ncosine similarity between the domain-specific prior um\nl\nand the corresponding feature pm\nl from the C-MoE.\nThe loss incorporates a focal loss [29]–like modulation\nfactor γ to place greater emphasis on minority classes,\nwhere sg(·) denotes the stop-gradient operation. The\noverall objective is end-to-end optimized by L = LDeC +\nLMoE .\nInference. The model uses the discrepancy between\nthe decompressed uni-modal features and their original\ncounterparts to localize anomalies, as follows:\n1 XL\nSAL =\nΦ\nl=1\nL\n\nTraining. We adopt a weighted sampling strategy to\nbalance the different training tasks, where each task’s\nsampling probability is inversely proportional to the\nnumber of samples per class. We introduce a decompression consistency loss LDeC to enforce alignment\nbetween decompressed uni-modal features and their\noriginal counterparts, as defined below:\nM\n\nL\n\nH\n\nXM\n\n2\n(Am\nl )\nm=1\n\n!\n,\n\n(4)\n\nwhere Φ(·) upsamples the anomaly map to the input\nsize and smooths it using a Gaussian kernel with σ = 4,\nas in [3]. The image-level anomaly detection score SAD\nis computed as the average of the top 0.1% of anomaly\nlocalization scores.\n\nTraining and Inference\n\nLDeC =\n\nr\n\n4\n\nExperiments\n\n4.1\n\nDatasets and Evaluation Metrics\n\nWe conduct experiments on 9 widely used AD datasets,\nwith Hyper-Kvasir [30], Retinal OCT [31], and Liver\nCT [32] unified into the UniMed dataset. Detailed\ndataset information is summarized in the Appendix\n(Tab. 8). We follow the training settings of recent stateof-the-art methods in these tasks and merge all training samples together as our training set. We adopt\nboth image-level and pixel-level metrics to evaluate\nall the models. For the image-level metrics, we report\nthe Area Under the Receiver Operating Characteristic\nCurve (AUCI ), Average Precision (API ), and the maxi-\n\nW\n\nl X\nl\n1 X XX\n1\nγ\nm\nsg(Am\nl ) ⊙ Al ,\nM L m=1\nH\nW\nl l\nw=1\n\nl=1 h=1\nT\nm\num\nl (h, w) · pl (h, w)\n,\nAm\nl (h, w) = 1 −\nm\n||ul (h, w)|| · ||pm\nl (h, w)||\n\n(3)\nwhere ⊙ denotes element-wise multiplication, and Hl\nand Wl denote the height and width of the l-th feature\nmap. For the m-th modality at coordinate (h, w) in\n5\n\n\fUniMMAD\n\nY. Zhao et al.\n\nTable 1. Quantitative comparison at the image level across multi-scene datasets, with the best in bold and second-best\nunderlined.\nMethods\n\nPublications\n\nM3DM [5]\nCFM [3]\nMulSen-TripleAD [4]\nPatchCore+MMRD\nUniAD [6]\nRD [15]\nViTAD [17]\nMambaAD [7]\nSimpleNet [25]\nINP-Former [9]\n\nCVPR2023\nCVPR2024\nCVPR2025\nNeurIPS2022\nCVPR2022\nCVIU2025\nNeurIPS2024\nCVPR2023\nCVPR2025\n\nMVTec-3D\nAUCI\n\nMF1I\n\nEyecandies\nAUCI\n\nMF1I\n\nMulSen-AD\nAUCI\n\nMF1I\n\nBraTs\n\nUniMed\n\nAUCI\n\nMF1I\n\nAUCI\n\nMF1I\n\n91.827\n-\n\n90.471\n-\n\n90.847\n93.432\n95.524\n95.977\n89.422\n96.060\n\n90.934\n91.581\n93.648\n93.678\n88.515\n94.363\n\n70.674\n63.749\n57.647\n\n81.603\n79.934\n80.174\n\n83.845\n88.138\n72.253\n\n91.247\n87.219\n84.193\n\n95.838\n\n91.139\n\n96.335\n\n94.182\n\nSpecialized Models (One model for one dataset)\n92.129\n92.443\n-\n\n94.134\n93.731\n-\n\n77.387\n81.847\n-\n\n76.039\n79.668\n-\n\n78.867\n-\n\n92.832\n-\n\nGeneralist Models (One model performs all AD tasks without fine-tuning)\nAdaCLIP [26]\nMVFA [27]\nAA-CLIP [28]\n\nECCV2024\nCVPR2024\nCVPR2025\n\n74.134\n62.781\n71.827\n\nOurs\n\n-\n\n92.527\n\n89.929\n89.474\n90.436\n\n73.134\n64.817\n48.137\n\n74.809\n70.268\n65.642\n\n59.127\n65.781\n77.847\n\n78.126\n79.973\n92.261\n\nUnified Multi-modal and Multi-class Model\n94.903\n\n85.566\n\n84.103\n\nmum F1 score (MF1I ), following the methodology in the\nliterature [33, 34]. For the pixel-level metric, we report\nthe Area Under the Receiver Operating Characteristic\nCurve (AUCP ), Area Under the Per-Region-Overlap\n(AUPRO) and the maximum F1 score (MF1P ). MF1I\nand MF1P are critical metrics for evaluating anomaly\ndetection and localization performance [35], representing the upper bounds of performance at the image and\npixel levels, respectively.\n4.2\n\n90.236\n\nonce on the entire dataset, UniMMAD consistently\noutperforms most specialized methods. It surpasses\nstrong multi-modal baselines on MVTec-3D and BraTS,\nand improves pixel-level MF1P by 7.5% on Eyecandies.\nOn uni-modal tasks, generalist models transfer well to\nUniMed but still underperform compared with existing multi-class methods. Furthermore, the proposed\nmethod is compared with mainstream multi-class methods on the traditional industrial datasets MVTec-AD\nand VisA under the super–multi-class setting [9], which\nconstructs a unified model for industrial scenarios. As\nshown in Tab. 3, the proposed method outperforms\ncurrent approaches, particularly in the complex multiinstance scenes of VisA, achieving a 10.8% improvement\nin MF1P than INP-Former [9]. These results show that\nUniMMAD generalizes well across diverse AD tasks,\nwhile maintaining high accuracy without per-task customization.\n\nImplementation Details\n\nFollowing common practice [14, 16] in anomaly detection, we adopt WideResNet50 [36] as the prior generator to extract the first three layers as domain-specific\npriors. All images are resized to 256 × 256 to ensure\nfair comparisons. We train and test specialized methods\non their respective tasks in a conventional multi-class\nsetting with a consistent backbone and experimental\nsetup, while evaluating generalist methods across all\ndatasets by predicting each modality independently and\naggregating the results. In C-MoE, we employ 8 shared\nbase experts and 32 MoE-Leaders, while the multi-scale\nexperts use 1 × 1, 3 × 3, and 5 × 5 kernels. The K\nfor the activated top-K routed experts is set to 2. The\ndecompression consistency loss uses γ = 2, following\nfocal loss [29]. Additional experimental details, comparison methods and dataset descriptions can be found\nin the Appendix.\n4.3\n\n85.460\n\n4.4\n\nQualitative Results\n\nWe show some qualitative comparisons in Fig. 5. Compared to specialist methods, UniMMAD generates more\nprecise and sharper activations on defect regions while\nmaintaining minimal responses in normal areas. Examples include detail-rich “Rope”, boundary-blurred\n“Brain Tumor”, and low-contrast “Light”. Although\ngeneralist models can produce concentrated activation\nmaps, they often highlight normal or benign regions\nresulting in false positives. Additional qualitative discussions are provided in the Appendix.\n\nQuantitative Results\n\nThe image-level and pixel-level results are shown in\nTab. 1 and Tab. 2, respectively. Although trained only\n6\n\n\fUniMMAD\n\nY. Zhao et al.\n\nTable 2. Quantitative comparison at the pixel level across multi-scene datasets, with the best in bold and second-best\nunderlined.\nMVTec-3D\n\nMethods\n\nPublications\n\nM3DM [5]\nCFM [3]\nMulSen-TripleAD [4]\nPatchCore+MMRD\nUniAD [6]\nRD [15]\nViTAD [17]\nMambaAD [7]\nSimpleNet [25]\nINP-Former [9]\n\nCVPR2023\nCVPR2024\nCVPR2025\nNeurIPS2022\nCVPR2022\nCVIU2025\nNeurIPS2024\nCVPR2023\nCVPR2025\n\nAUCP\n\nEyecandies\n\nMF1P\n\nAUCP\n\nMulSen-AD\n\nMF1P\n\nAUCP\n\nBraTs\n\nMF1P\n\nUniMed\n\nAUCP\n\nMF1P\n\nAUCP\n\nMF1P\n\n95.717\n-\n\n46.737\n-\n\n87.020\n90.514\n91.828\n91.687\n86.858\n92.670\n\n39.435\n40.012\n44.441\n42.401\n39.136\n45.477\n\n96.553\n94.348\n94.964\n\n48.439\n33.426\n29.991\n\n90.729\n87.514\n90.943\n\n42.852\n34.281\n40.325\n\n97.468\n\n51.404\n\n92.015\n\n44.893\n\nSpecialized Models (One model for one dataset)\n98.914\n98.757\n-\n\n44.721\n44.137\n-\n\n93.758\n95.838\n-\n\n36.527\n31.916\n-\n\n97.833\n-\n\n33.640\n-\n\nGeneralist Models (One model performs all AD tasks without fine-tuning)\nAdaCLIP [26]\nMVFA [27]\nAA-CLIP [28]\n\nECCV2024\nCVPR2024\nCVPR2025\n\n96.924\n93.264\n98.025\n\nOurs\n\n-\n\n99.089\n\n37.106\n14.012\n42.141\n\n95.173\n82.650\n94.744\n\n32.047\n11.105\n27.205\n\n97.835\n90.381\n97.531\n\n29.752\n15.817\n32.501\n\nUnified Multi-modal and Multi-class Model\n\nIndustrial\n\nRGB\n\n44.159\n\n96.913\n\nSynthetic\nMedical\n\nDepth\n\nGT\n\nOurs\n\nGT\n\nOurs\n\nINP-Former UniAD\n\nSyn_Depth\n\nGT\n\nOurs\n\nCFM\n\nM3DM\n\nEndoscopy\n\nGT\n\nOurs\n\nUniAD\n\nMambaAD\n\nUniNet\n\nMVFA\n\nAA-CLIP\n\nAda-CLIP\n\nOurs\n\nCFM\n\nM3DM\n\nRGB\n\nGT\n\nOurs\n\nMulSenTripleAD\n\nAA-CLIP\n\nAda-CLIP\n\nRGB\n\nSyn_Depth\n\nGT\n\nOurs\n\nCFM\n\nM3DM\n\nSyn_RGB\n\nT1\n\nT1CE\n\nT2\n\nGT\n\nOurs\n\nGT\n\nOurs\n\nM3DM\n\nMambaAD\n\nPCB1\n\nMarsh.\nPatchCore\n+MMRD\n\nColon Polyp\n\nBrain Tumor\n\nCT\n\nCFM\n\nFoam\n\nGummy.\nFlair\n\n34.666\n\nGT\n\nLight\nSyn_RGB\n\n97.919\n\nDepth\n\nRope\nInfrared\n\n39.436\n\nRD\n\nUniAD\n\nViTAD\n\nMambaAD\n\nINP-Former\n\nMarsh\nmallow\n\nLiver Tumor\n\nOur\n\nFigure 5. Qualitative comparisons across three fields, with our method highlighted in red, modality in white and class in\nyellow.\nTable 3. Quantitative comparison on the MVTec-AD\nand VisA datasets under the super–multi-class setting\nRD a resolution\nUniAD ofViTAD\nMambaAD\nwith\n256 × 256,\nevaluatedPatchCore\nusing imagelevel metrics (AUCI /API /MF1I ) and pixel-level metrics (\nAUCP /MF1P /AUPRO).\nDatasets\n\nMVTec-AD\n\nVisA\n\nMethod↓\n\nImage-level\n\nPixel-level\n\nImage-level\n\nPixel-level\n\nRD [15]\nUniAD [6]\nViTAD [17]\nMambaAD [7]\nINP-Former [9]\n\n95.8/97.8/95.0\n95.0/97.7/94.5\n97.7/98.9/96.5\n94.7/97.7/94.5\n99.2/99.5/98.6\n\n95.1/51.5/90.7\n95.8/46.8/90.0\n97.1/57.0/90.9\n96.3/51.5/90.5\n98.2/60.7/93.8\n\n88.4/89.9/86.7\n90.7/92.2/86.9\n89.1/90.4/85.4\n90.2/91.4/87.5\n95.2/95.7/91.9\n\n96.8/38.7/87.0\n98.3/38.1/88.8\n98.0/39.8/84.2\n97.7/39.4/87.9\n98.8/44.4/91.5\n\nOurs\n\n99.4/99.6/98.7\n\n98.1/60.2/93.0\n\n95.5/96.2/92.4\n\n98.9/47.2/91.3\n\n4.5\n\ndesign is limited to single-modality input. To adapt this\nbaseline\nto various modality combinations, we use a\nMVFA AA-CLIP\npre-trained model to extract uni-modal features and\nPatchCore\nthen fuse them into multi-modal representations using\nthe parameter-free modulation from MMRD [14]. These\nmodifications allow the baseline to support the unified\ndetection task and provide a fair baseline for evaluating\nthe effectiveness of each design in UniMMAD. Tab. 4\npresents detailed ablation results in terms of both imagelevel and pixel-level metrics.\nArchitecture. First, we replace the OCBE module [15]\nwith FCM and achieve significant improvements on\nUniMed datasets. This is because FCM compresses normal features and enlarges their separation from anomalies, making the model more sensitive to subtle defects.\nNext, we adopt a “general → specific” paradigm. A gen-\n\nAblation Studies\n\nWe adopt the Reverse Teacher–Student framework [15]\nas our baseline due to its clear architecture and reliable\nperformance, which makes it a strong foundation for\nextension to our unified setting. However, the original\n7\n\n\fUniMMAD\n\nY. Zhao et al.\nTable 4. Overall ablation study on the architecture, C-MoE, and training strategies.\n\nMethods\n\nMVTec-3D\n\nMean\nAUCI\n\nAUCP\n\nMF1P\n\nAUCI\n\nAUCP\n\nEyecandies\nMF1P\n\nAUCI\n\nAUCP\n\nMulSen-AD\nMF1P\n\nBraTs\n\nUniMed\n\nAUCI\n\nAUCP\n\nMF1P\n\nAUCI\n\nAUCP\n\nMF1P\n\nAUCI\n\nAUCP\n\nMF1P\n\n79.913\n80.747\n80.360\n85.460\n\n98.006\n98.187\n97.860\n97.919\n\n34.099\n33.453\n31.215\n34.666\n\n69.253\n73.226\n90.747\n95.838\n\n91.873\n92.643\n95.628\n97.468\n\n19.720\n21.625\n39.706\n51.404\n\n88.044\n91.478\n92.832\n96.335\n\n90.501\n90.987\n91.376\n92.015\n\n38.524\n40.705\n42.266\n44.893\n\n80.805\n81.960\n79.750\n82.823\n85.460\n\n97.817\n97.779\n97.645\n97.463\n97.919\n\n31.713\n31.124\n30.014\n31.687\n34.666\n\n86.575\n91.311\n88.010\n92.602\n95.838\n\n94.849\n96.478\n94.594\n96.874\n97.468\n\n35.650\n46.438\n33.583\n49.566\n51.404\n\n88.997\n92.572\n91.051\n93.713\n96.335\n\n91.668\n91.577\n91.875\n91.567\n92.015\n\n42.974\n43.646\n43.355\n40.673\n44.893\n\n(a) Architecture\nBaseline\n+ FCM\n+ General→Specific\n+ C-MoE\n\n75.624\n77.367\n84.306\n91.145\n\n86.616\n86.651\n96.105\n96.681\n\n28.464\n28.926\n37.132\n42.912\n\n82.760\n84.316\n89.670\n92.527\n\n98.867\n98.940\n99.080\n99.089\n\n39.287\n39.160\n44.983\n44.159\n\n58.151\n57.069\n67.920\n85.566\n\nw/o Cross-condition\nw/o Multi-scale Exp.\nw/o Routed Experts\nw/o Fixed Expert\nOurs\n\n85.126\n88.900\n85.417\n89.424\n91.145\n\n95.682\n96.430\n95.967\n96.475\n96.681\n\n37.918\n41.218\n37.822\n41.482\n42.912\n\n88.394\n92.922\n88.275\n91.751\n92.527\n\n98.394\n99.276\n98.431\n99.244\n99.089\n\n40.906\n44.784\n41.369\n44.585\n44.159\n\n80.859\n85.739\n80.000\n86.233\n85.566\n\n53.832\n52.497\n96.580\n96.913\n\n10.691\n9.687\n27.491\n39.436\n\n(b) C-MoE\n95.622\n97.040\n95.646\n97.228\n96.913\n\n38.347\n40.100\n37.040\n40.901\n39.436\n\nTable 5. Comparison (AUCI /AUCP /MF1P ) with Gains (∆) between Specialized (Speci.) and Unified Training for our UniMMAD and Baseline.\nMethods\n\n（b) ����\n\nMVTec-3D\n\nEyecandies\n\nMulSen-AD\n\nBraTs\n\nUniMed\n\n81.2/89.9/33.0\n75.6/86.6/28.4\n↓5.6/↓3.3/↓4.6\n\n87.2/99.1/42.4\n82.7/98.8/39.2\n↓4.5/↓0.3/↓3.2\n\n61.4/65.5/11.0\n58.1/53.8/10.6\n↓3.3/↓11.7/↓0.4\n\n77.8/98.1/32.8\n79.9/98.0/34.0\n↑2.1/↓0.1/↑1.2\n\n88.3/96.0/36.0\n69.2/91.8/19.7\n↓19.1/↓4.2/↓16.3\n\n91.6/90.8/43.1\n88.0/90.5/38.5\n↓3.6/↓0.3/↓4.6\n\nOurs/Speci.\nOurs/Unified\n∆ Speci.-Unified\n\n91.2/96.7/43.2\n91.1/96.6/42.9\n↓0.1/↓0.1/↓0.3\n\n92.9/99.1/45.6\n92.5/99.0/44.1\n↓0.4/↓0.1/↓1.5\n\n86.7/97.1/40.8\n85.5/96.9/39.4\n↓1.2/↓0.2/↓1.4\n\n83.4/97.5/34.3\n85.4/97.9/34.6\n↑2.0/↑0.4/↑0.3\n\n95.0/97.2/49.9\n95.8/97.4/51.4\n↑0.8/↑0.2/↑1.5\n\n97.7/92.6/45.5\n96.3/92.0/44.8\n↓1.4/↓0.6/↓0.7\n\nActivated MoE-Leader Index\n\n（a) ����\n\nMean\n\nBaseline/Speci.\nBaseline/Unified\n∆ Speci.-Unified\n\nFigure 6. Image- / pixel-level performance of UniMMAD\nin continual learning on new tasks. UniMMAD is initially\ntrained jointly on tasks T1–T3, then incrementally fine-tuned\non tasks T4–T7. It achieves performance comparable to training all tasks jointly.\n\nDomain-specific\nExpert Assignment\n\nDiameter: Activated\nFrequency\nCenter: Activated\nMoE-Leader\n\n91.20\n\nMoE in MoE\nPlain MoE\n\n91.15\n\n75% Fewer\nParameters\n\n91.10\n91.05\n91.00\n90.95\n\nAdaptive\nExpert Scaling\n\n90.90\n90.85\n90.80\n\n4\n\n8 12 16 20 24 28 32 36 40 44 48 52 56 60 64\n\nThe Number of Experts\n\nFigure 7. (a) Left: Activation frequency of each MoE-leader\nacross different datasets, illustrating domain-specific expert\nselection. (b) Right: Comparison of parameter efficiency between MoE-in-MoE and plain MoE on performance for different numbers of experts.\n\neral encoder extracts multi-modal features, which are\ndecompressed via cross attention. This design captures\nshared cues while restoring modality-specific details.\nIt yields 8.9% and 10.9% gains in AUCI and AUCP , respectively. Finally, we integrate the proposed C-MoE\nand improve AUCI by an average of 8.1% across the\nindustrial, synthetic, and medical fields. In summary,\nTab. 4 validates the effectiveness of each component\nwithout exception.\n\nand aggregation convolution. To retain routing accuracy for early tasks, 1% of the previous data is mixed\nin during the training of each new task. Finally, UniMMAD achieves comparable performance on new tasks\nto joint training on all tasks, while the performance\ndegradation on previous tasks is less than 8%.\n\nC-MoE. The core designs of C-MoE are cross-condition\nmechanisms and routed experts. Replacing the crosscondition MoE with a plain MoE leads to an average\ndrop of 6.7% in terms of AUCI . Removing routed experts implicitly disables the cross-condition mechanism,\nleading to a 5.7% drop in AUCI . Besides, both multiscale and fixed experts contribute to further performance improvements. We can see that multi-scale experts help capture large tissue anomalies and small\ntumors, improving AUCI by 4.6% on UniMed.\n\nTask isolation within MoE. Fig. 7(a) shows that\nC-MoE assigns distinct experts to different domains,\nmitigating interference across modalities and classes.\nC-MoE also dynamically adjusts the number of selected\nexperts to match dataset complexity. For example,\nMulSen-AD exhibits high intra-class variability, while\nMVTec-3D introduces even more complex modality\nvariations, thereby requiring more experts. Compared\nto fixed reconstruction pathways, C-MoE offers greater\nflexibility and scalability.\n\nContinual Learning. Fig. 6 shows the continual learning ability of UniMMAD. First, we jointly train tasks\nT1-T3 to obtain a basic general detection capability.\nThen, we progressively conduct the continual learning from T4 to T7, where we only fine-tune less than\n10% parameters from the MoE-leader, condition router,\n\nMoE in MoE. To evaluate parameter efficiency, we\ncompared MoE-in-MoE with plain MoE under different\nexpert configurations. The number of MoE-in-MoE experts is fixed at 32. The number of base experts serving\nas the primary source of parameters is variable. Fig. 7\n(b) shows that MoE-in-MoE achieves performance com8\n\n\fUniMMAD\n\nY. Zhao et al.\n\nTable 6. Efficiency comparison on NVIDIA 4090. “–”\nrepresents memory bank–based methods without parameters(Param.), activated parameters(ActPar.) and FLOPs.\nMethods\n\nFPS\n(fps)↑\n\nMemory\n(M)↓\n\nParam.\n(MB)↓\n\nActPar.\n(MB)↓\n\nFLOPs\n(GFlops)↓\n\nM3DM [5]\nMulSen. [4]\nCFM [3]\nOurs\n\n0.39\n1.19\n13.18\n59.09\n\n73774.53\n10323.05\n3757.12\n4970.17\n\n–\n–\n113.17\n233.66\n\n–\n–\n113.17\n192.38\n\n–\n–\n431.14\n110.91\n\nparable to the plain MoE while using 75% fewer parameters. With the increasing number of parameters, the\nperformance gains of MoE-in-MoE gradually saturate.\nUnified vs. Specialized. Unlike baselines suffering\nfrom parameter interference, UniMMAD maintains exceptional stability (Tab. 5) by effectively disentangling\ndomain conflicts via adaptive routing. Additionally, unified training yields the gains on data-scarce infrared\nmodalities (MulSen-AD) and complex 4-modality BraTs.\nEfficiency. As shown in Tab. 6, the proposed model\nintegrates multi-field, multi-modal, and multi-class data\nwith a parameter count comparable to specialized multimodal methods. Memory bank-based methods such as\nM3DM and MulSen-TripleAD (MulSen.) show slower\ninference and high memory overhead, while CFM also\nsuffers from inefficiency due to the heavy Transformer\narchitecture and point cloud processing. In contrast,\nour fully convolutional MoE-in-MoE design reuses base\nexperts, yielding faster inference, making it well suited\nfor practical anomaly detection.\n\n5\n\nConclusion\n\nWe introduce UniMMAD, a unified model designed for\nmulti-modal and multi-class anomaly detection. It incorporates a “general → specific” paradigm, a general\nmulti-modal encoder, and a parameter-efficient C-MoE.\nExtensive experiments on nine challenging benchmarks\ndemonstrate that UniMMAD establishes a new stateof-the-art, outperforming specialized methods using\nonly a single set of parameters. Furthermore, UniMMAD provides a strong baseline for unified multi-scene\nanomaly detection, while its high inference efficiency\nand continual learning capability underscore its scalability and practicality for real-world deployment.\n\n9\n\n\fUniMMAD\n\nY. Zhao et al.\n\nbrats 2018 challenge. In International MICCAI\nbrainlesion workshop, pages 3–12. Springer, 2018.\n\nReferences\n[1] Paul Bergmann, Michael Fauser, David Sattlegger, and Carsten Steger. Mvtec ad–a comprehensive real-world dataset for unsupervised\nanomaly detection.\nIn Proceedings of the\nIEEE/CVF conference on computer vision and\npattern recognition, pages 9592–9600, 2019.\n\n[9] Wei Luo, Yunkang Cao, Haiming Yao, Xiaotian Zhang, Jianan Lou, Yuqi Cheng, Weiming\nShen, and Wenyong Yu. Exploring intrinsic normal prototypes within a single image for universal anomaly detection. In Proceedings of\nthe Computer Vision and Pattern Recognition\nConference, pages 9974–9983, 2025.\n\n[2] Zhe Li, Chong Wang, Mei Han, Yuan Xue, Wei\nWei, Li-Jia Li, and Li Fei-Fei. Thoracic disease\nidentification and localization with limited supervision. In Proceedings of the IEEE conference on\ncomputer vision and pattern recognition, pages\n8290–8299, 2018.\n\n[10] Xiaoqi Zhao, Youwei Pang, Wei Ji, Baicheng\nSheng, Jiaming Zuo, Lihe Zhang, and Huchuan\nLu. Spider: A unified framework for contextdependent concept segmentation. arXiv preprint\narXiv:2405.01002, 2024.\n\n[3] Alex Costanzino, Pierluigi Zama Ramirez,\nGiuseppe Lisanti, and Luigi Di Stefano. Multimodal industrial anomaly detection by crossmodal\nfeature mapping. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern\nRecognition, pages 17234–17243, 2024.\n\n[11] Xinlong Wang, Xiaosong Zhang, Yue Cao, Wen\nWang, Chunhua Shen, and Tiejun Huang. Seggpt:\nSegmenting everything in context. arXiv preprint\narXiv:2304.03284, 2023.\n[12] Vaishnav Potlapalli, Syed Waqas Zamir, Salman H\nKhan, and Fahad Shahbaz Khan.\nPromptir: Prompting for all-in-one image restoration. Advances in Neural Information Processing\nSystems, 36:71275–71293, 2023.\n\n[4] Wenqiao Li, Bozhong Zheng, Xiaohao Xu, Jinye\nGan, Fading Lu, Xiang Li, Na Ni, Zheng Tian, Xiaonan Huang, Shenghua Gao, et al. Multi-sensor\nobject anomaly detection: Unifying appearance,\ngeometry, and internal properties. In Proceedings\nof the Computer Vision and Pattern Recognition\nConference, pages 9984–9993, 2025.\n\n[13] Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang,\nBochao Wu, Chengda Lu, Chenggang Zhao,\nChengqi Deng, Chenyu Zhang, Chong Ruan, et al.\nDeepseek-v3 technical report. arXiv preprint\narXiv:2412.19437, 2024.\n\n[5] Yue Wang, Jinlong Peng, Jiangning Zhang, Ran Yi,\nYabiao Wang, and Chengjie Wang. Multimodal\nindustrial anomaly detection via hybrid fusion.\nIn Proceedings of the IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, pages\n8032–8041, 2023.\n\n[14] Zhihao Gu, Jiangning Zhang, Liang Liu, Xu Chen,\nJinlong Peng, Zhenye Gan, Guannan Jiang, Annan\nShu, Yabiao Wang, and Lizhuang Ma. Rethinking\nreverse distillation for multi-modal anomaly detection. In Proceedings of the AAAI Conference\non Artificial Intelligence, volume 38, pages 8445–\n8453, 2024.\n\n[6] Zhiyuan You, Lei Cui, Yujun Shen, Kai Yang, Xin\nLu, Yu Zheng, and Xinyi Le. A unified model\nfor multi-class anomaly detection. Advances in\nNeural Information Processing Systems, 35:4571–\n4584, 2022.\n\n[15] Hanqiu Deng and Xingyu Li. Anomaly detection\nvia reverse distillation from one-class embedding.\nIn Proceedings of the IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, pages\n9737–9746, 2022.\n\n[7] Haoyang He, Yuhu Bai, Jiangning Zhang, Qingdong He, Hongxu Chen, Zhenye Gan, Chengjie\nWang, Xiangtai Li, Guanzhong Tian, and Lei Xie.\nMambaad: Exploring state space models for multiclass unsupervised anomaly detection. arXiv\npreprint arXiv:2404.06564, 2024.\n\n[16] Karsten Roth, Latha Pemula, Joaquin Zepeda,\nBernhard Schölkopf, Thomas Brox, and Peter\nGehler. Towards total recall in industrial anomaly\ndetection.\nIn Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern\nRecognition, pages 14318–14328, 2022.\n\n[8] Leon Weninger, Oliver Rippel, Simon Koppers,\nand Dorit Merhof. Segmentation of brain tumors\nand patient survival prediction: Methods for the\n10\n\n\fUniMMAD\n\nY. Zhao et al.\n\n[17] Md Ashif Mahmud Joy, Shamima Nasrin, Ayesha\nSiddiqua, and Dewan Md Farid. Vitad: Leveraging modified vision transformer for alzheimer’s\ndisease multi-stage classification from brain mri\nscans. Brain Research, 1847:149302, 2025.\n\nComputer Vision and Pattern Recognition, pages\n20402–20411, 2023.\n[26] Yunkang Cao, Jiangning Zhang, Luca Frittoli,\nYuqi Cheng, Weiming Shen, and Giacomo Boracchi. Adaclip: Adapting clip with hybrid learnable prompts for zero-shot anomaly detection. In\nEuropean Conference on Computer Vision, pages\n55–72. Springer, 2024.\n\n[18] Robert A Jacobs, Michael I Jordan, Steven J\nNowlan, and Geoffrey E Hinton. Adaptive mixtures of local experts. Neural computation, 3(1):\n79–87, 1991.\n\n[27] Chaoqin Huang, Aofan Jiang, Jinghao Feng,\nYa Zhang, Xinchao Wang, and Yanfeng Wang.\nAdapting visual-language models for generalizable anomaly detection in medical images. In\nProceedings of the IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, pages\n11375–11385, 2024.\n\n[19] Noam Shazeer, Azalia Mirhoseini, Krzysztof\nMaziarz, Andy Davis, Quoc V Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural\nnetworks: The sparsely-gated mixture-of-experts\nlayer. In International Conference on Learning\nRepresentations (2016), 2016. URL https://\nopenreview.net/forum?id=B1ckMDqlg.\n\n[28] Wenxin Ma, Xu Zhang, Qingsong Yao, Fenghe\nTang, Chenxu Wu, Yingtai Li, Rui Yan, Zihang\nJiang, and S Kevin Zhou. Aa-clip: Enhancing zeroshot anomaly detection via anomaly-aware clip. In\nProceedings of the Computer Vision and Pattern\nRecognition Conference, pages 4744–4754, 2025.\n\n[20] Joan Puigcerver, Carlos Riquelme, Basil Mustafa,\nand Neil Houlsby. From sparse to soft mixtures of\nexperts. arXiv preprint arXiv:2308.00951, 2023.\n[21] Damai Dai, Chengqi Deng, Chenggang Zhao,\nRX Xu, Huazuo Gao, Deli Chen, Jiashi Li,\nWangding Zeng, Xingkai Yu, Yu Wu, et al.\nDeepseekmoe: Towards ultimate expert specialization in mixture-of-experts language models. arXiv\npreprint arXiv:2401.06066, 2024.\n\n[29] Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming\nHe, and Piotr Dollár. Focal loss for dense object detection. In Proceedings of the IEEE international\nconference on computer vision, pages 2980–2988,\n2017.\n\n[22] Carlos Riquelme, Joan Puigcerver, Basil Mustafa,\nMaxim Neumann, Rodolphe Jenatton, André Susano Pinto, Daniel Keysers, and Neil Houlsby.\nScaling vision with sparse mixture of experts.\nAdvances in Neural Information Processing\nSystems, 34:8583–8595, 2021.\n\n[30] Yu Tian, Guansong Pang, Fengbei Liu, Yuanhong\nChen, Seon Ho Shin, Johan W Verjans, Rajvinder\nSingh, and Gustavo Carneiro.\nConstrained\ncontrastive distribution learning for unsupervised\nanomaly detection and localisation in medical images. In Medical Image Computing and Computer\nAssisted Intervention–MICCAI 2021:\n24th\nInternational Conference, Strasbourg, France,\nSeptember 27–October 1, 2021, Proceedings, Part\nV 24, pages 128–140. Springer, 2021.\n\n[23] Xiaolei Wang, Xiaoyang Wang, Huihui Bai,\nEng Gee Lim, and Jimin Xiao. Cnc: Cross-modal\nnormality constraint for unsupervised multi-class\nanomaly detection. In Proceedings of the AAAI\nConference on Artificial Intelligence, volume 39,\npages 7943–7951, 2025.\n\n[31] Junjie Hu, Yuanyuan Chen, and Zhang Yi. Automated segmentation of macular edema in oct using deep neural networks. Medical image analysis,\n55:216–227, 2019.\n\n[24] Shiyuan Meng, Wenchao Meng, Qihang Zhou,\nShizhong Li, Weiye Hou, and Shibo He. Moead: A\nparameter-efficient model for multi-class anomaly\ndetection. In European Conference on Computer\nVision, pages 345–361. Springer, 2024.\n\n[32] Jinan Bao, Hanshi Sun, Hanqiu Deng, Yinsheng\nHe, Zhaoxiang Zhang, and Xingyu Li. Bmad:\nBenchmarks for medical anomaly detection. In\nProceedings of the IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, pages\n4042–4053, 2024.\n\n[25] Zhikang Liu, Yiming Zhou, Yuansheng Xu, and\nZilei Wang. Simplenet: A simple network\nfor image anomaly detection and localization.\nIn Proceedings of the IEEE/CVF Conference on\n11\n\n\fUniMMAD\n\nY. Zhao et al.\n\n[33] Thomas Defard, Aleksandr Setkov, Angelique\nLoesch, and Romaric Audigier. Padim: a patch distribution modeling framework for anomaly detection and localization. In International Conference\non Pattern Recognition, pages 475–489. Springer,\n2021.\n\n[42] Luca Bonfiglioli, Marco Toschi, Davide Silvestri, Nicola Fioraio, and Daniele De Gregorio. The eyecandies dataset for unsupervised multimodal anomaly detection and localization. In Proceedings of the Asian Conference\non Computer Vision, pages 3586–3602, 2022.\n\n[34] Haoyang He, Jiangning Zhang, Hongxu Chen,\nXuhai Chen, Zhishan Li, Xu Chen, Yabiao Wang,\nChengjie Wang, and Lei Xie. Diad: A diffusionbased framework for multi-class anomaly detection. arXiv preprint arXiv:2312.06607, 2023.\n\n[43] Yang Zou, Jongheon Jeong, Latha Pemula,\nDongqing Zhang, and Onkar Dabeer. Spotthe-difference self-supervised pre-training for\nanomaly detection and segmentation.\nIn\nEuropean Conference on Computer Vision, pages\n392–408. Springer, 2022.\n\n[35] Jongheon Jeong, Yang Zou, Taewan Kim,\nDongqing Zhang, Avinash Ravichandran, and\nOnkar Dabeer. Winclip: Zero-/few-shot anomaly\nclassification and segmentation. In Proceedings\nof the IEEE/CVF Conference on Computer Vision\nand Pattern Recognition, pages 19606–19616,\n2023.\n[36] Sergey Zagoruyko and Nikos Komodakis. Wide\nresidual networks. In Procedings of the British\nMachine Vision Conference 2016. British Machine Vision Association, 2016.\n[37] Brats 2020: Brain tumor segmentation challenge.\nhttps://www.med.upenn.edu/cbica/\nbrats2020/data.html, 2020.\n[38] Lei Fan, Junjie Huang, Donglin Di, Anyang Su,\nTianyou Song, Maurice Pagnucco, and Yang Song.\nSalvaging the overlooked: Leveraging class-aware\ncontrastive learning for multi-class anomaly\ndetection.\nIn Proceedings of the IEEE/CVF\nInternational Conference on Computer Vision,\npages 21419–21428, 2025.\n[39] Dmitry Lepikhin, HyoukJoong Lee, Yuanzhong\nXu, Dehao Chen, Orhan Firat, Yanping Huang,\nMaxim Krikun, Noam Shazeer, and Zhifeng Chen.\nGshard: Scaling giant models with conditional\ncomputation and automatic sharding. arXiv\npreprint arXiv:2006.16668, 2020.\n[40] William Fedus, Barret Zoph, and Noam Shazeer.\nSwitch transformers: Scaling to trillion parameter models with simple and efficient sparsity.\nJournal of Machine Learning Research, 23(120):\n1–39, 2022.\n[41] Paul Bergmann, Xin Jin, David Sattlegger, and\nCarsten Steger. The mvtec 3d-ad dataset for unsupervised 3d anomaly detection and localization.\narXiv preprint arXiv:2112.09045, 2021.\n12\n\n\fUniMMAD\n\nY. Zhao et al.\n\nAppendix\nA\n\nC\n\nOverview\n\nFig. 8 provides an overview of involved datasets, and\nthe number of images in each dataset is listed in Tab.8.\nWe split the BraTS 2020 dataset [37] into training and\ntest sets, including both normal and abnormal brain\nimages. The enhancing tumor, peritumoral edema,\nand necrotic/non-enhancing tumor core are collectively\ntreated as the abnormal region. For the Retinal OCT\nand Liver CT datasets, we followed the BMAD protocol [32] and retained only the images with clearer\ntissue structures. Hyper-Kvasir, Retinal OCT, and Liver\nCT were grouped into a unified three-class medical\ndataset (UniMed). In MulSen-AD [4], only the infrared\nimages were retained because the multi-modal images\nlacked proper calibration. All other datasets remain\nunchanged.\n\nThe appendix includes the following sections to complement the main manuscript:\n- Sec. B: Additional Experimental Details\n- Sec. C: Dataset Details\n- Sec. D: Methods and Baselines for Comparison\n- Sec. E: More Quantitative Comparison\n- Sec. F: Ablation on Number of Activated Experts\n- Sec. G: Influence of Resolution and Backbone\n- Sec. H: Per-Class Results\n- Sec. I: More Qualitative Comparison\n\nB\n\nDataset Details\n\nD Methods and Baselines for Comparison\n\nAdditional Experimental Details\n\nAnomaly\n\nNormal\n\nAnomaly\n\nNormal\n\nAnomaly\n\nNormal\n\nAs shown in Tab. 1, We evaluate UniMMAD against\nExperimental Details. All experiments were con- SOTA specialized and generalist models across diverse\nducted over 300 epochs with a batch size of 10 on one domains under the same resolution, post-processing,\nNVIDIA RTX 4090 GPU. The number of input channels and evaluation metrics. Specialized methods include\nC to the general multi-modal encoder is set to 4. The M3DM, CFM, MulSen-TripleAD, and P+MMRD (PatchAdam optimizer was used to optimize network param- Core [16] + parameter-free fusion [14]), with WideResNet50 as the RGB encoder for memory-based modeters, with the model’s learning rate set to 1 × 10−3 .\nels. Uni-modal baselines include RD, SimpleNet, as\nwell as severalIndustry\nmulti-class methods such as UniAD, Existing Method\nRGB\nDpeth\nLoc.\nInfrared\nViTAD, and MambaAD. All specialized models are tailored to specific modality combinations and evaluated\nRGB their Dpeth\nLoc.datasets\nInfrared\non\nrespective\nunder a multi-class setting.\nWe also evaluate generalist models AdaCLIP, MVFA,\nand AA-CLIP, which predict each modality indepenMedical the results. Among the specialdently and aggregate\nFlair\nLoc.\nEndoscopy\nLoc.\nUni ized models, we compared four representative multi- Distrubution Boundary\nMMAD\nmodal approaches—M3DM, CFM, MulSen-AD, and Reconstruction Distortion\nPatchCore+MMRD\n[16] + the parameterOCT\nLoc.\nCT ( PatchCore\nLoc.\nOurs\nfree fusion strategy from MMRD [14]). For fairness, the\nRGB encoders of memory bank–based methods are kept\nconsistent with\nour model, and both are implemented\nSynthetic\nSyn_RGB\nSyn_Depth\nLoc.\nSyn_RGB\nusing WideResNet50. For uni-modal methods, we consider several widely adopted baselines, including Large\nRD, Domain Gap\nSuccessful Reconstruction\nSimpleNet,\nPatchCore,\nUniAD,\nSyn_RGB\nSyn_Depth\nLoc.\nSyn_DepthViTAD, MambaAD, and\nINP-Former.\nThese\nspecialized\nmethods are tailored\nFigure 8. Dataset details for the multi-scene, multi-modal,\n3\nClasses 38K Images to specific modality combinations and are evaluated\nFields 12 Modalities 39\nmulti-class benchmark. From the inner ring to the outer ring,\nthe\nrepresent\nfields, modalities,\nand classes,\nrespectively.AD independently on their corresponding datasets at a res(a) rings\nUnified\nmulti-scene,\nmultimodal,\nand multi-class\n(b) Visual Examples\n(c) Comparison of Reconstruction\nolution of 256 × 256, whereas ViT-like architectures\n13\n\n\fUniMMAD\n\nY. Zhao et al.\n\nuse a resolution of 252 × 252. We also evaluate recent\ngeneralist models, including AdaCLIP, MVFA, and AACLIP, which predict results for each modality separately\nand aggregate the outputs.\n\nE\n\nG Influence of Resolution and Backbone\nAs shown in Fig .10, we conducted an ablation study to\nassess the impact of input resolution and backbone architecture on model performance. Overall, larger image\nsizes and more powerful pre-trained models resulted in\nimproved performance, demonstrating the scalability of\nour model in these aspects. This highlights the model’s\nscalability in both input resolution and backbone architecture. Specifically, larger image sizes result in more\nsignificant improvements for the RGB-D datasets Eyecandies and MVTec-3D, likely due to the correlation\nwith anomaly size and point cloud accuracy. Higher\nresolutions help the model capture finer defect localization. Larger backbones improve anomaly localization\nfor medical lesions, likely due to the enhanced generalization ability of larger models in medical image\ntasks.\n\nMore Quantitative Comparison\n\nIn this section, we compare additional metrics and comparison methods. As shown in Tab. 7, we compare with\nthe latest method, CCL [38], using the same WideResNet50 backbone, and our approach achieves overall\nsuperior results.\n\nF Ablation on Number of Activated Experts\nWe conduct an ablation study on the number of activated routed experts. As shown in Fig. 9, as the number\nof activated experts increases, the model’s image and\npixel-level metrics show a slight improvement. However, each additional expert also increases the number\nof dynamic filtering operations, reducing inference efficiency. To balance inference efficiency and performance, we set the number of activated experts to 2.\nThis is a commonly used activation number, adopted\nby many MoE-based methods [39, 40].\n\nH\n\nPer-Class Results\n\n����\n\n����\n\nThis section presents a class-wise comparison between\nthe proposed method and recent state-of-the-art baselines. Tabs. 10–13 illustrate that our method outperforms mainstream multi-class approaches on the\nwidely used datasets MVTec-AD and VisA. Tab. 14 and\nTab.15 summarize image-level and pixel-level results\non MVTec-3D [41]. The proposed approach attains the\nbest scores on categories dominated by geometric defects (e.g., Potato) and on anomalies that benefit from\nmulti-modal cues (e.g., Carrot). On the synthetic Eyecandies benchmark (Tabs. 16–17), our model achieves\nhigh accuracy on the ChocolateCookie and PeppermintCandy classes. These results indicate that the method\neffectively exploits complementary RGB–Depth information to pinpoint fine-grained anomalies. Tab. 19\nand 20 report infrared-based results on MulSen-AD,\nhighlighting the model’s strength in detecting subsurface defects. In addition, Tab. 18 and 9 list results on\nUniMed and BraTS 2020 datasets, showing that the unified model remains competitive despite large domain\nshifts. Overall, the class-wise analysis confirms that our\nunified framework generalizes across modalities and\ndefect types, consistently outperforming prior work.\n\n����\n����\nNumber of Activated Routed Experts\n\nFigure 9. Impact of the number of activated routed experts\non performance.\n\nAUC�\n\nMF1�\n\nAUC�\n\nMetrics\n\nMF1�\n\nEyecandies\n\nMvtec-3D\n\nMulSen-AD\n\nBraTs\n\nUniMed\n\nMean\n\nI\n\nGroups:(1) 256+WideResNet50 (2) 320+WideResNet50 (3) 256+WideResNet101\n\nMore Qualitative Comparison\n\nFig. 11, Fig. 13, Fig. 14, and Fig. 12 show more qualitative comparison on MVTec-3D (industrial RGB-D),\nEyecandies (synthetic RGB-D), BraTs2020 (Brain Tumor), UniMed (three medical datasets) and MulSen-AD\n(industrial infrared). It demonstrates proposed method\n\nFigure 10. Impact of input resolution and backbone. Each\ngroup is divided into three settings: (1) 256×256 resolution +\nWideResNet50, (2) 320×320 resolution + WideResNet50, and\n(3) 256×256 resolution + WideResNet101.\n\n14\n\n\fUniMMAD\n\nY. Zhao et al.\n\nTable 7. More comprehensive comparison on the MVTec-AD and VisA datasets under the super–multi-class setting with a\nresolution of 256×256, evaluated using image-level metrics (AUCI /API /MF1I ) and pixel-level metrics ( AUCP /MF1P /AUPRO).\n\nDatasets\n\nPublication\n\nMVTec-AD\n\nVisA\n\nMethod↓\n\n-\n\nImage-level\n\nPixel-level\n\nImage-level\n\nPixel-level\n\nRD [15]\nUniAD [6]\nViTAD [17]\nMambaAD [7]\nINP-Former [9]\nCCL [38]\n\nCVPR2022\nNeurIPS2022\nCVIU2025\nNeurIPS2024\nCVPR2025\nICCV2025\n\n95.8/97.8/95.0\n95.0/97.7/94.5\n97.7/98.9/96.5\n94.7/97.7/94.5\n99.2/99.5/98.6\n98.2/99.2/97.0\n\n95.1/51.5/90.7\n95.8/46.8/90.0\n97.1/57.0/90.9\n96.3/51.5/90.5\n98.2/60.7/93.8\n97.3/57.1/92.6\n\n88.4/89.9/86.7\n90.7/92.2/86.9\n89.1/90.4/85.4\n90.2/91.4/87.5\n95.2/95.7/91.9\n93.6/94.3/90.3\n\n96.8/38.7/87.0\n98.3/38.1/88.8\n98.0/39.8/84.2\n97.7/39.4/87.9\n98.8/44.4/91.5\n98.4/45.4/91.1\n\nUniMMAD\n\nOurs\n\n99.4/99.6/98.7\n\n98.1/60.2/93.0\n\n95.5/96.2/92.4\n\n98.9/47.2/91.3\n\nTable 8. Overview of the Datasets.\nDatasets\n\nUniMed\n\nMVTec-3D [41]\nEyecandies [42]\nMulSen-AD [4]\nMVTec-AD [1]\nVisA [43]\nBrats2020 [37]\nHyper-Kvasir [30]\nRetinal OCT [31]\nLiver CT [32]\n\nFields\n\nModality\n\nIndustrial\nSynthetic\nIndustrial\nIndustrial\nIndustrial\nMedical\n\nRGB, Depth\nSyn_RGB, Syn_Depth\nInfrared\nRGB\nRGB\nFlair, T1, T2, T1CE\n\nMedical\nMedical\nMedical\n\nEndoscopy\nOCT\nCT\n\nTrain\n#Items #Images\n\n#Items\n\nTest\n#Images\n\n10\n10\n15\n15\n12\n1\n\n2656\n8751\n1391\n3629\n8659\n1183\n\n5312\n17502\n1391\n3629\n8659\n4732\n\n1197\n500\n644\n2180\n2162\n167\n\n2394\n1000\n644\n2180\n2162\n668\n\n1\n1\n1\n\n2020\n1009\n404\n\n2020\n1009\n404\n\n184\n270\n158\n\n184\n270\n158\n\n#Classes\n\nTable 9. Per-Class comparison on the BraTs2020 [37] Dataset.\nMethods\n\nPublication\n\nAUCI (%)\n\nAPI (%)\n\nMF1I (%)\n\nAUCP (%)\n\nMF1P (%)\n\nAUPRO (%)\n\n46.7\n\n82.6\n\nSpecialized Models (One model for one dataset)\nPatchCore [16]+MMRD [14]\n\n-\n\n91.8\n\n95.7\n\n90.5\n\n95.7\n\nGeneralist Models (One model performs all AD tasks without fine-tuning)\nAdaCLIP [26]\nMVFA [27]\nAA-CLIP [28]\n\nECCV’24\nCVPR’24\nCVPR’25\n\n70.7\n63.7\n57.6\n\n81.7\n78.7\n69.0\n\n81.6\n79.9\n80.2\n\n96.6\n94.3\n95.0\n\n48.4\n33.4\n30.0\n\n78.2\n67.5\n77.2\n\n97.5\n\n51.4\n\n84.4\n\nUnified Multi-modal and Multi-class Model\nUniMMAD\n\nOurs\n\n95.8\n\n98.0\n\n91.1\n\nTable 10. Per-Class comparison on the MVTec-AD [1] Dataset for image-level metrics: AUCI /API / MF1I .\nMethod−\n→\nClass↓\n\nRD [15]\nCVPR’22\n\nUniAD [6]\nNeurIPS’22\n\nViTAD [17]\nCVIU’25\n\nMambaAD [7]\nNeurIPS’24\n\nINP-Former [9]\nCVPR’25\n\nUniMMAD\nOurs\n\nCapsule\nCarpet\nGrid\nLeather\nTile\nWood\nBottle\nCable\nHazelnut\nMetal nut\nPill\nScrew\nToothbrush\nTransistor\nZipper\n\n91.4/98.0/93.9\n97.9/99.4/96.0\n92.3/97.2/93.2\n100./100./100.\n98.5/99.4/96.4\n99.2/99.7/98.3\n99.7/99.9/98.4\n78.9/86.8/80.5\n99.8/99.9/98.5\n99.1/99.7/97.3\n95.7/99.2/95.7\n96.1/98.7/94.9\n99.1/99.6/98.3\n88.8/88.3/85.0\n99.3/99.8/98.7\n\n85.8/96.6/91.9\n99.9/99.9/99.4\n97.2/99.1/96.4\n100./100./100.\n99.1/99.6/97.0\n98.2/99.4/97.5\n99.9/99.9/99.2\n84.5/91.9/81.2\n99.9/99.9/99.2\n99.3/99.8/97.8\n94.4/98.9/94.5\n83.1/93.0/88.0\n91.9/96.4/93.7\n93.7/91.0/84.4\n97.6/99.3/97.1\n\n94.0/98.6/95.4\n99.4/99.8/99.4\n99.3/99.7/99.1\n100./100./100.\n100./100./100.\n98.6/99.5/96.7\n100./100./100.\n97.3/98.4/93.3\n99.1/99.5/96.4\n99.3/99.8/98.4\n96.9/99.4/96.1\n87.1/95.5/88.2\n99.7/99.8/98.3\n95.9/94.2/88.6\n97.6/99.2/97.5\n\n84.7/96.2/93.3\n96.7/99.0/95.4\n96.8/99.0/97.2\n100./100./100.\n99.4/99.7/97.6\n99.5/99.8/98.3\n99.4/99.8/98.4\n85.4/91.2/83.7\n99.9/99.9/99.2\n97.5/99.4/95.7\n88.2/97.6/93.1\n89.0/96.0/90.1\n97.7/99.1/95.2\n89.2/88.8/83.3\n96.5/98.9/96.7\n\n97.4/98.2/96.7\n100./100./100.\n100./100./100.\n100./100./100.\n100./100./100.\n99.2/99.1/98.1\n100./100./100.\n99.5/99.9/98.4\n100./100./100.\n100./100./100.\n98.3/99.1/96.8\n95.0/98.2/94.0\n100./100./100.\n99.0/98.3/95.3\n100./100./100.\n\n97.6/99.3/97.2\n99.3/99.7/98.3\n100./99.7/100.\n100./99.8/100.\n100./99.8/100.\n98.8/99.4/97.6\n100./99.8/100.\n99.6/99.5/97.3\n100./99.7/100.\n100./99.8/100.\n97.9/99.6/97.1\n98.2/99.4/97.0\n99.4/99.3/98.3\n99.6/98.7/98.7\n99.6/99.8/99.1\n\nMean\n\n95.7/97.7/95.0\n\n95.0/97.7/94.5\n\n97.7/98.9/96.5\n\n94.7/97.6/94.5\n\n99.2/99.5/98.6\n\n99.4/99.6/98.7\n\n15\n\n\fUniMMAD\n\nY. Zhao et al.\n\nTable 11. Per-Class comparison on the MVTec-AD [1] dataset for pixel-level metrics: AUCP /MF1P / AUPRO.\nMethod−\n→\nClass↓\n\nRD [15]\nCVPR’22\n\nUniAD [6]\nNeurIPS’22\n\nViTAD [17]\nCVIU’25\n\nMambaAD [7]\nNeurIPS’24\n\nINP-Former [9]\nCVPR’25\n\nUniMMAD\nOurs\n\nCapsule\nCarpet\nGrid\nLeather\nTile\nWood\nBottle\nCable\nHazelnut\nMetal nut\nPill\nScrew\nToothbrush\nTransistor\nZipper\n\n98.5/47.5/95.0\n98.9/60.2/95.4\n98.8/43.3/96.1\n99.3/47.0/97.7\n94.4/57.1/84.0\n95.2/50.6/91.0\n97.3/66.2/93.5\n77.4/30.8/73.5\n98.5/59.1/95.6\n91.3/57.1/89.1\n96.6/58.7/95.6\n99.0/41.0/95.8\n98.7/55.7/90.8\n83.4/39.5/71.0\n98.2/58.1/94.7\n\n98.5/48.3/92.5\n98.5/56.1/95.6\n96.2/28.4/90.8\n98.9/43.5/98.1\n92.4/51.6/81.1\n92.8/43.1/89.6\n97.4/64.9/92.7\n91.4/32.1/77.0\n97.9/56.0/94.6\n92.2/57.5/87.2\n94.5/45.5/95.4\n98.6/33.9/93.7\n97.9/45.0/85.1\n92.1/45.4/82.8\n97.1/49.3/92.4\n\n97.9/47.9/92.2\n98.8/62.2/94.2\n98.4/36.5/95.3\n99.5/53.5/97.9\n96.4/68.1/87.4\n95.9/56.0/87.6\n98.7/73.9/94.6\n92.4/41.4/85.4\n98.7/61.3/94.7\n95.5/74.7/92.1\n98.6/75.4/95.6\n98.6/38.7/92.6\n99.1/64.9/90.9\n92.0/51.4/74.0\n95.8/49.8/89.4\n\n98.6/44.4/94.3\n98.5/56.4/93.8\n98.8/46.8/96.0\n99.1/43.7/97.6\n92.5/53.5/79.0\n94.3/44.7/89.6\n97.2/64.8/93.2\n88.2/33.1/78.9\n98.5/59.3/95.3\n93.9/62.7/90.4\n97.4/64.0/95.4\n99.0/44.4/95.7\n98.8/57.6/89.6\n90.3/41.5/73.4\n98.0/55.5/94.0\n\n99.0/52.1/95.6\n99.1/60.8/95.3\n98.4/40.4/94.6\n99.2/42.9/96.1\n97.5/67.5/91.0\n96.4/59.5/91.3\n99.0/78.6/95.6\n98.7/67.5/94.4\n99.2/68.7/95.3\n96.6/79.2/93.3\n97.2/65.1/96.5\n99.4/46.9/96.0\n99.0/58.8/93.5\n96.0/61.9/84.2\n98.1/59.6/94.2\n\n98.9/50.2/92.5\n99.0/62.2/95.1\n99.0/47.2/95.5\n99.4/52.8/97.4\n96.0/63.7/89.0\n94.9/50.7/88.0\n98.7/74.4/93.4\n97.8/60.8/91.9\n98.9/64.0/94.8\n97.4/81.8/94.1\n98.1/69.3/95.5\n99.4/45.7/96.0\n99.1/62.4/91.7\n95.7/61.2/85.5\n97.8/55.5/93.2\n\nMean\n\n95.0/51.5/90.6\n\n95.8/46.7/89.9\n\n97.1/57.0/90.9\n\n96.2/51.5/90.4\n\n98.2/60.6/93.8\n\n98.1/60.2/93.0\n\ncan accurately segment defect and lesion for a wide\nrange of classes. In RGB-D datasets such as Cookie, our\nheatmaps highlight elongated defects along fiber directions. The model also emphasizes depth-based holes\n(e.g., Peach) and RGB-based color contamination (e.g.,\nCandy Cane). In medical datasets such as UniMed, our\nmethod effectively separates boundary-blurred lesions\nfrom normal tissues, enabling high-confidence localization of conditions like colon polyps and brain tumors.\nSome generalist models like MVFA and AdaCLIP also\nshow confident segmentation for colon polyps, possibly due to overlaps with their supervised training data.\nHowever, they incorrectly focus on normal regions in\nMulSen-AD, Liver Tumor, and Macular Edema. In contrast, UniMMAD consistently delivers accurate defect\nlocalization across diverse scenes, modalities, and object categories. These results highlight the effectiveness\nof the proposed “general → specific” paradigm and\ndomain-specific reconstruction pathways in C-MoE,\nwhich mitigate cross-domain reconstruction interference. UniMMAD demonstrates precise defect localization and sharper boundaries.\n\n16\n\n\fUniMMAD\n\nY. Zhao et al.\n\nTable 12. Per-Class comparison on the VisA [43] dataset for image-level metrics: AUCI /API / MF1I .\nMethod−\n→\nClass↓\n\nRD [15]\nCVPR’22\n\nUniAD [6]\nNeurIPS’22\n\nViTAD [17]\nCVIU’25\n\nMambaAD [7]\nNeurIPS’24\n\nINP-Former [9]\nCVPR’25\n\nUniMMAD\nOurs\n\nCandle\nCapsules\nCashew\nChewinggum\nFryum\nMacaroni1\nMacaroni2\nPcb1\nPcb2\nPcb3\nPcb4\nPipe fryum\n\n89.0/89.3/82.2\n75.2/86.0/78.4\n87.8/93.6/88.1\n91.1/95.5/88.8\n94.7/97.6/90.8\n92.2/89.9/86.3\n80.7/76.6/75.7\n95.1/94.9/91.0\n97.4/97.6/93.1\n60.0/58.9/70.4\n99.9/99.9/99.0\n97.3/98.6/95.5\n\n93.8/94.4/86.2\n74.8/85.2/78.6\n91.1/95.6/88.6\n97.4/98.8/95.7\n92.3/96.3/91.2\n87.5/83.1/79.6\n76.2/76.0/69.2\n96.5/96.0/92.7\n92.4/92.8/86.2\n88.4/88.6/81.2\n99.4/99.4/96.4\n97.9/99.1/96.0\n\n87.3/88.2/82.1\n78.6/87.0/78.1\n82.2/91.1/86.0\n92.1/96.3/88.3\n93.3/97.0/89.6\n84.5/81.2/77.9\n78.3/71.8/73.9\n95.3/93.7/90.4\n90.8/89.4/85.7\n90.8/91.4/83.5\n98.9/98.7/96.1\n95.9/98.0/92.8\n\n90.3/91.2/84.2\n76.8/84.1/80.8\n88.5/94.2/88.1\n89.8/95.1/87.0\n94.8/97.8/92.0\n88.9/87.7/82.2\n69.6/60.9/71.0\n96.1/95.9/90.6\n95.6/96.1/90.9\n94.5/94.6/88.8\n99.7/99.7/97.5\n97.7/98.7/96.5\n\n97.4/97.2/92.6\n90.3/94.8/88.5\n95.5/97.6/93.9\n98.3/99.3/96.4\n98.0/99.0/94.8\n94.2/93.3/88.6\n82.5/79.8/78.5\n97.3/96.7/95.1\n96.7/96.3/91.5\n95.1/95.7/87.8\n99.7/99.8/97.5\n97.3/98.8/97.5\n\n95.3/94.8/90.3\n88.5/93.6/84.6\n95.7/98.0/93.2\n98.8/99.5/97.9\n96.2/98.3/92.8\n97.2/97.2/91.5\n83.3/82.4/79.4\n97.1/96.5/95.0\n97.2/97.1/94.0\n97.1/97.3/93.0\n99.8/99.6/98.0\n99.8/99.7/99.0\n\nMean\n\n88.4/89.9/86.6\n\n90.6/92.1/86.8\n\n89.0/90.3/85.4\n\n90.2/91.3/87.5\n\n95.2/95.7/91.9\n\n95.5/96.2/92.4\n\nTable 13. Per-Class comparison on the VisA [43] dataset for pixel-level metrics: AUCP /MF1P / AUPRO.\nMethod−\n→\nClass↓\n\nRD [15]\nCVPR’22\n\nUniAD [6]\nNeurIPS’22\n\nViTAD [17]\nCVIU’25\n\nMambaAD [7]\nNeurIPS’24\n\nINP-Former [9]\nCVPR’25\n\nUniMMAD\nOurs\n\nCandle\nCapsules\nCashew\nChewinggum\nFryum\nMacaroni1\nMacaroni2\nPcb1\nPcb2\nPcb3\nPcb4\nPipe fryum\n\n98.8/34.4/94.3\n99.0/56.2/90.9\n87.3/42.5/68.3\n97.3/52.7/68.8\n96.8/50.3/92.6\n99.7/32.2/96.4\n99.4/17.6/95.2\n99.2/54.0/95.1\n97.7/29.4/90.9\n89.7/ 3.5/67.7\n97.3/34.6/87.3\n98.9/56.7/95.7\n\n99.2/33.4/94.9\n97.4/40.6/77.6\n97.5/47.7/90.6\n99.3/61.9/87.3\n96.9/50.4/86.5\n99.1/15.4/93.8\n97.7/10.4/89.6\n99.2/57.0/91.2\n98.1/19.4/86.1\n98.3/28.2/86.7\n97.5/39.6/86.1\n98.7/52.3/94.1\n\n95.4/26.1/83.7\n98.1/41.9/74.7\n97.4/58.6/69.1\n97.2/57.3/68.8\n97.3/51.2/88.9\n98.3/15.3/89.6\n98.1/10.1/87.3\n99.3/56.8/88.7\n98.0/21.1/83.4\n98.0/28.5/88.0\n98.9/44.7/92.7\n99.4/66.0/94.3\n\n99.0/30.0/95.9\n98.4/46.2/88.0\n91.2/45.2/70.3\n96.6/52.9/62.0\n96.9/51.5/92.2\n99.5/26.4/95.9\n98.5/ 8.6/91.1\n99.5/65.8/95.2\n98.5/24.8/92.5\n98.5/29.5/93.9\n96.1/35.8/81.7\n99.0/55.2/95.2\n\n99.4/37.9/95.2\n99.4/56.5/91.4\n97.6/60.5/89.3\n98.6/58.8/82.9\n97.1/48.6/89.9\n98.8/21.1/91.9\n99.0/11.7/93.5\n99.7/68.5/94.9\n98.9/31.5/89.9\n99.1/30.1/91.7\n98.7/45.9/92.1\n99.2/60.9/94.9\n\n99.3/37.0/94.7\n99.6/65.8/91.9\n98.8/62.3/90.7\n98.4/59.9/81.9\n97.0/52.5/88.4\n99.3/32.8/92.4\n98.9/16.9/92.1\n99.7/72.9/94.8\n98.8/26.5/92.5\n99.1/29.0/91.1\n98.4/43.1/90.9\n99.3/67.5/94.2\n\nMean\n\n96.8/38.7/86.9\n\n98.2/38.0/88.7\n\n97.9/39.8/84.1\n\n97.6/39.3/87.8\n\n98.8/44.3/91.5\n\n98.9/47.2/91.3\n\nTable 14. Per-Class comparison on the MVTec-3D [41] dataset for image-level metrics: AUCI /API / MF1I .\nMethod−\n→\nClass↓\n\nM3DM [5]\nCVPR’23\n\nCFM [3]\nCVPR’24\n\nAdaCLIP [26]\nECCV’24\n\nMVFA [27]\nCVPR’24\n\nAACLIP [28]\nCVPR’25\n\nUniMMAD\nOurs\n\nBagel\nCable gland\nCarrot\nPotato\nRope\nFoam\nDowel\nTire\nPeach\nCookie\n\n98.7/99.9/98.1\n84.7/96.1/92.3\n94.6/99.0/95.6\n95.8/99.4/96.2\n91.6/96.8/89.1\n91.4/98.0/94.3\n89.2/95.7/92.3\n87.3/96.0/92.1\n92.3/97.8/95.1\n95.6/98.9/96.1\n\n99.2/99.8/97.8\n81.8/95.1/89.8\n97.8/99.5/97.3\n88.4/96.8/93.3\n93.8/97.5/90.9\n91.4/97.8/92.0\n92.7/98.2/92.4\n86.6/95.8/90.4\n93.4/98.2/95.0\n98.9/99.7/98.5\n\n85.3/95.6/92.1\n61.6/87.8/90.2\n80.4/95.8/91.7\n63.3/86.7/90.2\n82.5/90.9/85.5\n69.5/91.2/88.9\n73.1/92.7/89.7\n61.6/85.8/87.4\n77.4/92.7/92.0\n86.4/95.5/91.8\n\n62.1/87.4/89.3\n57.7/82.6/89.2\n71.3/92.5/91.8\n48.4/80.1/89.3\n91.6/96.6/91.5\n53.6/86.9/88.9\n55.4/84.0/88.9\n46.9/76.8/87.4\n67.0/86.9/90.0\n73.7/89.9/88.4\n\n78.5/93.8/89.2\n49.5/82.3/89.7\n64.5/89.5/91.9\n87.5/96.7/92.1\n81.3/91.8/84.1\n49.7/81.8/88.9\n46.3/79.5/87.9\n74.4/88.2/90.5\n87.6/96.1/91.2\n99.1/99.8/98.5\n\n94.4/98.5/94.2\n94.8/98.5/96.0\n99.4/99.8/98.8\n93.3/97.9/96.2\n97.5/99.0/97.1\n89.1/97.3/91.6\n95.9/98.8/96.2\n70.4/88.0/88.7\n95.8/98.8/96.3\n94.2/98.3/93.4\n\nMean\n\n92.1/97.7/94.1\n\n92.4/97.8/93.7\n\n74.1/91.4/89.9\n\n62.7/86.3/89.4\n\n71.8/89.9/90.4\n\n92.5/97.5/94.9\n\n17\n\n\fUniMMAD\n\nY. Zhao et al.\n\nTable 15. Per-Class comparison on the MVTec-3D [41] dataset for pixel-level metrics: AUCP /MF1P / AUPRO.\nMethod−\n→\nClass↓\n\nM3DM [5]\nCVPR’23\n\nCFM [3]\nCVPR’24\n\nAdaCLIP [26]\nECCV’24\n\nMVFA [27]\nCVPR’24\n\nAACLIP [28]\nCVPR’25\n\nUniMMAD\nOurs\n\nBagel\nCable gland\nCarrot\nPotato\nRope\nFoam\nDowel\nTire\nPeach\nCookie\n\n99.4/51.4/96.4\n99.3/47.5/97.0\n99.6/41.4/97.7\n99.4/40.4/96.8\n99.6/49.4/96.5\n98.5/43.5/93.7\n96.8/33.7/91.1\n99.3/41.2/96.3\n99.5/42.4/97.4\n97.8/56.2/92.4\n\n99.3/52.8/96.9\n98.0/28.2/93.1\n99.8/53.7/97.9\n99.5/34.0/97.4\n99.7/63.8/96.3\n98.7/48.1/94.1\n97.6/35.0/91.6\n98.9/17.1/95.1\n99.2/43.0/96.4\n96.8/65.5/93.9\n\n98.6/49.4/92.0\n96.1/30.6/85.6\n98.7/27.6/95.2\n99.4/31.1/96.8\n98.6/46.1/93.4\n90.7/42.7/70.3\n94.3/10.2/83.1\n97.2/40.7/87.6\n98.3/31.1/93.3\n97.2/61.1/93.3\n\n88.2/ 6.0/50.4\n91.7/ 4.0/72.9\n97.3/13.6/91.3\n97.7/10.6/90.5\n97.3/29.1/87.7\n91.9/28.0/73.0\n89.8/ 7.5/72.6\n93.1/ 7.8/76.8\n95.1/ 8.8/81.6\n90.3/24.3/72.7\n\n99.0/44.3/94.1\n96.1/29.6/86.7\n99.6/44.1/97.6\n99.7/51.5/97.8\n99.5/53.3/95.4\n95.1/ 9.9/84.6\n98.4/37.1/93.2\n98.9/26.7/95.9\n97.6/59.6/94.7\n96.8/64.8/94.0\n\n98.8/48.0/94.2\n99.2/44.6/97.1\n99.6/43.6/97.9\n99.6/42.1/97.8\n99.4/39.5/96.4\n97.4/38.9/90.3\n98.9/35.1/96.0\n98.6/36.8/94.6\n99.5/48.7/97.5\n99.3/63.8/96.9\n\nMean\n\n98.9/44.7/95.5\n\n98.7/44.1/95.3\n\n96.9/37.1/89.1\n\n93.2/14.0/76.9\n\n98.0/42.1/93.4\n\n99.0/44.1/95.9\n\nTable 16. Per-Class comparison on the Eyecandies [42] dataset for image-level metrics: AUCI /API / MF1I .\nMethod−\n→\nClass↓\n\nM3DM [5]\nCVPR’23\n\nCFM [3]\nCVPR’24\n\nAdaCLIP [26]\nECCV’24\n\nMVFA [27]\nCVPR’24\n\nAACLIP [28]\nCVPR’25\n\nUniMMAD\nOurs\n\nGummybear\nLollipop\nMarshmallow\nLicoricesandwich\nChocolatepraline\nChocolatecookie\nPeppermintcandy\nHazelnuttruffle\nConfetto\nCandycane\n\n75.2/81.3/73.2\n78.7/61.7/69.0\n91.7/92.2/84.7\n79.8/80.1/80.0\n75.8/80.1/72.3\n74.4/70.6/74.1\n95.3/96.0/90.6\n53.4/55.8/66.7\n89.1/90.0/83.0\n60.3/62.2/66.7\n\n79.3/84.7/77.3\n80.7/76.6/71.0\n97.8/98.3/95.8\n88.6/91.8/84.3\n88.0/91.3/82.6\n88.2/90.9/83.7\n85.8/89.3/79.2\n71.7/80.1/69.6\n88.2/91.8/83.7\n49.6/47.5/68.6\n\n58.2/62.2/66.7\n70.0/52.6/59.1\n82.3/85.3/80.0\n63.4/58.9/69.3\n86.6/80.0/86.8\n78.7/85.3/76.2\n85.9/85.7/81.5\n37.6/40.3/66.7\n87.8/89.1/83.0\n80.6/77.0/79.3\n\n55.0/50.4/66.7\n63.6/43.8/56.2\n82.1/83.8/79.2\n69.0/65.3/69.6\n72.6/72.7/76.9\n58.1/61.6/69.3\n76.3/78.7/76.7\n60.0/57.7/70.0\n66.6/69.6/71.2\n44.8/50.7/66.7\n\n52.2/55.5/67.6\n42.5/26.5/49.2\n60.2/67.1/66.7\n47.5/49.4/67.6\n54.2/55.0/69.6\n55.8/55.6/66.7\n27.7/37.0/66.7\n42.6/42.4/67.6\n61.3/65.5/67.7\n37.8/43.4/66.7\n\n90.7/84.3/89.7\n85.1/76.1/78.7\n99.8/98.9/98.0\n90.0/92.6/86.9\n82.7/87.2/76.1\n97.9/98.1/96.0\n92.6/93.1/84.0\n61.9/64.6/69.6\n97.2/96.8/92.0\n57.4/57.2/69.5\n\nMean\n\n77.3/77.0/76.0\n\n81.8/84.2/79.6\n\n73.1/71.6/74.8\n\n64.8/63.4/70.2\n\n48.1/49.7/65.6\n\n85.5/84.9/84.1\n\nTable 17. Per-Class comparison on Eyecandies [42] Dataset for pixel-level metrics: AUCP /MF1P / AUPRO.\nMethod−\n→\nClass↓\n\nM3DM [5]\nCVPR’23\n\nCFM [3]\nCVPR’24\n\nAdaCLIP [26]\nECCV’24\n\nMVFA [27]\nCVPR’24\n\nAACLIP [28]\nCVPR’25\n\nUniMMAD\nOurs\n\nGummybear\nLollipop\nMarshmallow\nLicoricesandwich\nChocolatepraline\nChocolatecookie\nPeppermintcandy\nHazelnuttruffle\nConfetto\nCandycane\n\n94.8/37.4/78.5\n96.5/28.6/77.5\n98.9/64.5/93.7\n96.8/43.4/85.4\n95.6/51.7/78.4\n89.4/23.5/71.4\n94.3/44.3/84.7\n89.2/19.0/61.0\n95.6/45.9/85.2\n85.7/ 6.4/70.8\n\n93.1/19.3/78.9\n98.3/22.2/93.0\n99.2/66.5/93.0\n96.0/28.1/81.7\n93.3/46.1/71.4\n97.5/35.5/86.9\n95.8/19.0/86.0\n90.8/38.2/61.6\n97.5/37.3/90.1\n97.2/ 6.6/90.6\n\n96.6/25.2/87.6\n97.7/11.4/87.8\n97.8/56.7/89.1\n95.6/31.5/80.3\n86.0/46.2/78.3\n95.8/46.3/86.8\n97.3/49.4/91.1\n87.6/ 7.1/53.5\n98.9/33.1/96.1\n98.0/13.1/93.3\n\n88.6/ 4.7/53.7\n95.1/ 6.1/78.4\n90.8/23.5/62.2\n82.8/11.2/47.6\n76.4/19.5/49.0\n50.0/12.8/19.5\n85.1/12.7/56.0\n71.6/ 4.3/42.1\n90.2/13.0/70.0\n95.7/ 2.7/87.3\n\n88.3/ 6.6/64.8\n97.3/13.6/88.9\n95.3/30.7/81.4\n95.6/36.4/81.4\n98.1/47.0/91.9\n94.3/45.1/84.0\n94.3/33.8/61.6\n87.8/ 5.6/96.2\n99.1/43.5/93.1\n97.5/ 9.3/70.8\n\n95.9/41.5/88.6\n98.0/30.2/90.3\n99.5/58.4/96.6\n98.4/39.4/93.5\n93.2/44.0/83.0\n98.5/43.5/93.1\n99.4/48.0/97.2\n90.6/23.4/65.2\n99.6/56.1/98.0\n95.4/ 9.4/86.9\n\nMean\n\n93.7/36.5/78.7\n\n95.8/31.9/83.3\n\n95.1/32.0/84.4\n\n82.6/11.1/56.6\n\n94.7/27.2/81.4\n\n96.9/39.4/89.2\n\nTable 18. Per-Class comparison across UniMed datasets: Reinal OCT / Liver CT / Hyper-Kvasir / Mean performance.\nMethods\n\nAUCI (%)\n\nAPI (%)\n\nMF1I (%)\n\nAUCP (%)\n\nAUPRO\n\nMF1P (%)\n\n81.5/90.4/32.9/68.2\n86.1/91.1/46.5/74.5\n80.3/93.4/52.6/75.4\n86.7/91.5/55.8/78.0\n72.3/64.3/36.7/57.8\n81.6/90.3/57.5/76.5\n\n63.3/30.1/24.9/39.4\n66.0/23.3/30.7/40.0\n63.4/35.1/34.9/44.4\n68.4/25.0/33.8/42.4\n55.8/34.4/27.2/39.1\n67.2/33.2/36.0/45.5\n\nSpecialized Models (One model for one dataset)\nUniAD [6]\nRD [15]\nViTAD [17]\nMambaAD [7]\nSimpleNet [25]\nINP-Former [9]\n\n90.4/83.7/98.4/90.8\n93.3/90.7/96.3/93.4\n95.3/92.9/98.3/95.5\n96.2/94.6/97.1/96.0\n90.4/80.2/97.6/89.4\n97.4/91.0/99.8/96.1\n\n95.9/90.8/99.9/95.5\n97.3/94.6/97.0/96.3\n98.1/95.5/98.7/97.4\n98.6/97.4/98.4/98.1\n96.4/91.3/97.4/95.0\n99.0/95.5/99.1/97.9\n\nAdaCLIP [26]\nMVFA [27]\nAA-CLIP [28]\n\n82.4/70.8/98.2/83.8\n88.6/89.2/88.5/88.8\n71.3/60.4/85.1/72.3\n\n92.6/82.2/98.8/91.2\n94.7/95.1/91.7/93.8\n82.7/70.1/91.7/81.5\n\nOurs\n\n96.4/95.9/96.8/96.3\n\n98.6/97.9/96.8/97.7\n\n91.0/83.6/98.1/90.9\n91.5/90.3/92.9/91.6\n93.8/92.6/94.4/93.6\n94.1/91.9/94.7/93.6\n88.7/80.5/96.3/88.5\n94.9/90.1/98.1/94.4\n\n95.1/97.2/68.6/87.0\n96.2/96.3/79.0/90.5\n94.5/97.4/83.5/91.8\n96.6/96.5/82.0/91.7\n92.0/92.5/76.1/86.9\n95.2/97.2/85.6/92.7\n\nGeneralist Models (One model performs all AD tasks without fine-tuning)\n85.1/84.8/95.9/88.6\n91.0/87.3/83.3/87.2\n83.7/83.4/85.4/84.2\n\n91.2/92.2/88.8/90.7\n89.2/96.3/77.1/87.5\n92.8/93.4/86.6/90.9\n\n78.2/87.7/67.5/77.8\n65.3/87.5/54.7/69.2\n79.3/86.9/63.8/76.7\n\n51.9/18.0/58.7/42.9\n43.2/22.4/37.3/34.3\n53.3/16.6/51.1/40.3\n\n85.4/92.3/48.0/75.2\n\n68.0/31.1/35.6/44.9\n\nUnified Multi-scene, Multi-modal and Multi-class Model\n93.0/94.5/95.0/94.2\n\n18\n\n96.5/97.1/82.5/92.0\n\n\fUniMMAD\n\nY. Zhao et al.\n\nTable 19. Per-Class comparison on the MulSen-AD [4] dataset for image-level metrics: AUCI /API / MF1I .\nMethod−\n→\nClass↓\n\nMulSen-TripleAD [4]\nCVPR’25\n\nAdaCLIP [26]\nECCV’24\n\nMVFA [27]\nCVPR’24\n\nAA-CLIP [28]\nCVPR’25\n\nUniMMAD\nOurs\n\nCotton\nCube\nZipper\nToothbrush\nSpring pad\nPiggy\nCapsule\nLight\nPlastic cylinder\nScreen\nScrew\nFlat pad\nNut\nButton cell\nSolar panel\n\n100./100./100.\n100./100./100.\n99.1/99.6/97.2\n91.3/96.3/89.8\n67.5/86.2/85.7\n99.7/99.9/98.4\n96.8/99.3/96.0\n61.1/85.0/89.2\n99.6/99.9/98.2\n20.0/60.5/86.5\n92.9/97.3/96.8\n95.3/98.6/93.5\n33.4/71.8/85.3\n80.0/93.4/87.5\n46.2/81.2/88.6\n\n47.3/81.1/87.6\n96.6/96.3/91.3\n69.8/88.5/82.3\n34.0/37.6/66.7\n74.4/70.1/76.9\n57.9/75.1/82.3\n52.4/83.8/89.1\n38.0/51.7/74.0\n88.3/94.6/88.9\n48.6/57.6/73.0\n56.2/49.3/53.8\n84.6/86.8/88.9\n43.2/29.7/53.1\n37.2/52.7/75.8\n57.7/86.7/88.6\n\n54.3/83.5/87.6\n90.3/84.5/85.7\n100./100./100.\n44.4/49.4/65.4\n91.0/91.0/84.8\n53.0/72.8/84.3\n74.9/91.5/88.5\n49.7/54.3/75.0\n71.7/85.1/80.8\n60.0/55.6/78.6\n65.9/51.0/62.2\n51.3/64.0/76.7\n61.5/42.6/61.9\n64.3/73.2/79.4\n54.1/85.5/88.6\n\n47.3/81.1/87.6\n96.6/96.3/91.3\n69.8/88.5/82.3\n98.4/99.0/96.2\n85.8/92.9/90.5\n98.3/99.3/98.3\n87.0/97.2/91.4\n45.2/79.9/87.8\n100./99.5/100.\n15.3/61.3/86.4\n100./99.6/100.\n95.6/98.4/95.0\n46.3/78.2/86.9\n95.0/98.3/95.2\n86.7/96.1/94.1\n\n99.7/99.6/98.7\n98.1/96.8/93.3\n100./99.4/100.\n81.4/80.5/85.2\n91.6/93.2/86.6\n97.9/98.7/94.9\n94.2/98.1/95.8\n80.1/86.8/88.8\n99.3/99.1/97.9\n45.3/60.7/79.8\n75.0/60.6/82.4\n97.6/97.9/93.8\n75.0/72.9/79.9\n75.2/87.1/83.9\n71.0/91.8/91.9\n\nMean\n\n78.8/91.2/92.8\n\n59.1/69.4/78.1\n\n65.7/72.2/79.9\n\n77.8/91.0/92.2\n\n85.4/88.2/90.2\n\nTable 20. Per-Class comparison on the MulSen-AD [4] dataset for pixel-level metrics: AUCP /MF1P / AUPRO.\nMethod−\n→\nClass↓\n\nMulSen-TripleAD [4]\nCVPR’25\n\nAdaCLIP [26]\nECCV’24\n\nMVFA [27]\nCVPR’24\n\nAA-CLIP [28]\nCVPR’25\n\nUniMMAD\nOurs\n\nCotton\nCube\nZipper\nToothbrush\nSpring pad\nPiggy\nCapsule\nLight\nPlastic cylinder\nScreen\nScrew\nFlat pad\nNut\nButton cell\nSolar panel\n\n92.6/30.8/77.1\n99.9/72.5/96.4\n99.1/43.0/96.4\n99.2/39.3/94.8\n99.7/34.6/98.0\n97.0/29.4/90.4\n99.3/30.0/97.0\n96.7/16.9/91.7\n99.5/47.4/97.2\n91.4/ 7.6/78.0\n99.0/11.9/96.5\n99.6/45.1/97.7\n99.6/36.8/97.1\n99.7/38.9/98.0\n95.1/19.7/85.4\n\n94.1/30.7/85.1\n99.8/65.2/92.2\n99.1/46.6/96.6\n99.3/20.8/95.9\n99.0/25.9/96.6\n95.8/22.1/85.3\n99.1/25.6/97.0\n97.3/20.0/93.9\n99.2/46.4/94.7\n93.3/11.2/82.3\n98.6/11.2/95.6\n99.2/35.9/97.0\n98.9/16.7/96.0\n99.7/40.8/98.2\n95.7/25.6/75.1\n\n82.8/21.3/56.0\n90.1/39.8/52.6\n77.0/25.1/52.0\n63.9/ 4.6/36.3\n98.3/ 3.3/94.2\n92.1/10.0/69.7\n97.3/26.2/90.4\n95.8/25.2/76.8\n89.1/ 3.2/60.9\n84.1/10.6/36.5\n97.3/16.8/88.8\n97.8/ 6.4/93.0\n98.0/ 2.2/94.0\n99.6/28.1/98.2\n91.0/13.8/66.8\n\n94.1/30.7/85.1\n99.8/65.2/92.2\n99.1/46.6/96.6\n98.2/14.1/91.5\n93.1/34.1/84.3\n98.1/32.5/87.4\n98.8/28.8/95.5\n97.2/19.5/92.7\n99.4/50.3/97.0\n92.3/14.1/79.1\n98.9/12.7/96.5\n99.4/43.4/97.4\n98.5/34.1/92.4\n99.5/41.6/97.9\n96.5/19.8/87.9\n\n96.8/25.6/89.1\n99.7/66.1/92.3\n98.8/36.3/95.8\n98.2/27.0/89.2\n94.8/35.2/88.0\n98.5/33.8/91.0\n98.9/26.6/95.4\n98.5/25.0/94.7\n99.3/40.9/97.0\n90.4/11.7/79.0\n99.2/44.9/96.1\n99.7/37.8/98.2\n98.8/45.3/89.6\n99.7/42.7/98.3\n96.9/20.5/88.3\n\nMean\n\n97.8/33.6/92.8\n\n97.8/29.7/92.1\n\n90.3/15.8/71.1\n\n97.5/32.5/91.6\n\n97.9/34.6/92.1\n\n19\n\n\fGT\n\nOurs\n\nCFM\n\nM3DM\n\nRGB\n\nDepth\n\nGT\n\nOurs\n\nCFM\n\nM3DM\n\nFoam\n\nDowel\n\nPeach\n\nCookie\n\nSyn_RGB Syn_Depth\n\nY. Zhao et al.\n\nCarrot\n\nMarsh\nmallow\n\nCandy\nCane\n\nCable\nGland\n\nRope\n\nTire\n\nChocolate Gummy\nCookie\nBear\n\nLicorice\nChocolate Pepperm.\nConfetto\nCandy\nSandwich\nPraline\n\nUniMMAD\n\n(b) MVTec-3D\n\n(a) Eyecandies\n\nFigure 11. Qualitative comparison on MVTec-3D and Eyecandies, with our method highlighted in the red box.\n\n20\n\n\fUniMMAD\n\nY. Zhao et al.\n\nGT\n\nOur\n\nPiggy\n\nFlat\nPad\n\nLight\n\nScrew\n\nSolar\nPanel\n\nSpring\nPad\n\nTooth\nbrush\n\nZipper\n\nInfrared\n\nMulSenMVFA AA-CLIP Ada-CLIP TripleAD\n\nFigure 12. Qualitative comparison on MulSen-AD, with our method highlighted in the red box.\n\n21\n\n\fY. Zhao et al.\n\nFlair\n\nT1\n\nT1CE\n\nT2\n\nGT\n\nOurs\n\nPatchCore+\nMMRD\n\nMMRD\n\nUniMMAD\n\n46_test_anomaly_BraTS20_Trai\n\n22\n\n64_test_anomaly_BraTS20_Trai\n\nFigure 13. Qualitative comparison on BraTs2020, with our method highlighted in the red box.\n\n\fUniMMAD\n\nY. Zhao et al.\n\nOur\n\nRD\n\nUniAD\n\nViTAD MambaAD MVFA\n\nAA-CLIP AdaCLIP\n\nMacular\nEdema\n\nLiver Tumor\n\nCT &amp; OCT &amp;\nGT\nEndoscopy\n\nor_ima\n5sgh6o.\n\nor_ima\n2wme\n\nColon Polyp\n\nmor_ima\n0ue2308b\n\nFigure 14. Qualitative comparison on UniMed, with our method highlighted in the red box.\n\n23\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"