"<!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>G2 SF: Geometry-Guided Score Fusion for Multimodal Industrial Anomaly\nDetection\nChengyu Tao1 Xuanming Cao2 Juan Du1,2 *\n1.The Hong Kong University of Science and Technology 2.The Hong Kong University of Science and Technology (Guangzhou)\n\narXiv:2503.10091v2 [eess.IV] 29 Jul 2025\n\nctaoaa@connect.ust.hk, xcao743@connect.hkust-gz.edu.cn, juandu@hkust-gz.edu.cn\n\nAbstract\nIndustrial quality inspection plays a critical role in modern manufacturing by identifying defective products during\nproduction. While single-modality approaches using either\n3D point clouds or 2D RGB images suffer from information incompleteness, multimodal anomaly detection offers\npromise through the complementary fusion of crossmodal\ndata. However, existing methods face challenges in effectively integrating unimodal results and improving discriminative power. To address these limitations, we first reinterpret memory bank-based anomaly scores in single modalities as isotropic Euclidean distances in local feature spaces.\nDynamically evolving from Euclidean metrics, we propose\na novel Geometry-Guided Score Fusion (G2 SF) framework\nthat progressively learns an anisotropic local distance metric as a unified score for the fusion task. Through a geometric encoding operator, a novel Local Scale Prediction Network (LSPN) is proposed to predict direction-aware scaling factors that characterize first-order local feature distributions, thereby enhancing discrimination between normal\nand anomalous patterns. Additionally, we develop specialized loss functions and score aggregation strategy from geometric priors to ensure both metric generalization and efficacy. Comprehensive evaluations on the MVTec-3D AD\nand Eyecandies datasets demonstrate the state-of-the-art\ndetection performance of our method, and detailed ablation analysis validates each component’s contribution. Our\ncode is available at https://github.com/ctaoaa/G2SF.\n\n1. Introduction\nSurface quality inspection is crucial in modern industries,\nas defects like scratches, dents, or cracks can severely impact product functionality and longevity, requiring automated and intelligent inspection systems for large-scale production. Since defective products are always rare in realworld scenarios, it has led to growing interest in unsuper∗ Corresponding author\n\nImage\n\nPoint cloud\n\nImage\n\nPoint cloud\n\nFusion\n\nFoam\n\nCable\ngland\n\nFigure 1. Two representative examples from the MVTec-3D AD\ndataset [4], including the original RGB image, 3D point cloud,\nand anomaly score maps from single modalities (image and point\ncloud) and multimodal fusion (the proposed G2 SF). Top: Foam\nwith a ‘cut’ anomaly, which is nearly invisible in the RGB image\ndue to its complex texture. Bottom: Cable gland with a ‘thread’\nanomaly, which is insufficiently discriminative in the point cloud\nas it only slightly alters the surface geometry.\n\nvised anomaly detection [3, 4], which uses only nominal\n(anomaly-free) samples for training, offering a practical solution for a wide range of industrial applications.\nIn complex industrial scenarios, unimodal anomaly detection methods often fail to comprehensively characterize\ndefects due to the limitations of single data sources [19].\nFor instance, while 3D point clouds provide rich geometric details, they lack texture and color information in RGB\nimages. By integrating these complementary modalities,\nmultimodal approaches achieve superior performance. Fig.\n1 illustrates two representative extreme scenarios from the\nMVTec-3D AD dataset [4], where anomalies are predominantly undetectable in one specific modality.\nFeature-based anomaly detection approaches have\ngained popularity due to their flexibility and strong performance [17, 19, 27, 30, 32]. These methods model the\ndistributions of extracted features, obtained by either handcrafted descriptors or frozen networks, and assign featurewise anomaly scores. For example, the memory bank-based\nmethods, e.g., PatchCore [27], construct a memory bank\nof representative prototypes from the whole training dataset\nand define the anomaly score as the distance to the nearest\n\n\fImage\nFeatures\n\nAnomaly score\n\nFusion\n\nMemory prototypes\nPoint Cloud\n\nFeatures\n\nIsotropic Euclidean metric\n\nAmplify\nNormal\nsamples\n\nAnomalous\nsamples\nSuppress\n\nAnisotropic local distance metric\n\nFigure 2. Left: The anomaly score in memory bank-based methods, which is defined by the isotropic Euclidean distance to the\nnearest memory prototype. Right: The anisotropic local distance\nmetric learned by G2 SF, suppressing anomaly scores for normal\nsamples while amplifying the discrepancy for anomalies.\n\nprototype in the memory bank.\nDespite efforts in multimodal methods to learn intermodal representations or mining crossmodal relationships\n[1, 11, 32], leveraging the valuable unimodal detection\nresults complementary to the above intermodal information remains underexploited. Current strategies—such as\nscore addition [19], max selection [10], or One-Class Support Vector Machine (OCSVM) [32]—face a critical limitation: unimodal anomaly scores frequently demonstrate insufficient discriminative capacity in practical applications.\nAs visualized by Fig. 1, even normal regions in both\npoint cloud and image data exhibit unexpectedly elevated\nanomaly scores. These unreliable unimodal assessments\nconsequently compromise the fusion performance. To obtain more discriminative anomaly scores, feature adaptation [26, 30] can be applied that adapts original features\ninto more compact representations beforehand, followed by\nstandard methods, e.g., PatchCore [27], to calculate final\nanomaly scores. One limitation is that critical details of\noriginal features essential for anomaly detection may be\nover-confidently compromised during first-step adaptation.\nThis paper re-examines memory bank-based unimodal\napproaches, revealing a fundamental geometric limitation\nfor their insufficient discriminative capacity: Existing methods compute anomaly scores via isotropic Euclidean distances in local feature spaces centered on memory prototypes, as illustrated in Fig. 2, but critically ignore other\nlocal geometric characteristics ( e.g., directional patterns)\nessential for anomaly detection. To address this limitation, we propose Geometry-Guided Score Fusion (G2 SF) a framework that replaces isotropic distances with a learned\nanisotropic local distance metric for multimodal anomaly\ndetection. Specifically, we introduce a Local Scale Prediction Network (LSPN) that derives direction-aware scaling\nfactors to characterize local directional distributions of both\nmodalities in the joint feature space. Subsequently, we formulate a fused metric combining these scales with original\nEuclidean distances from two modalities to amplify normal/anomaly discrepancies, as shown in Fig. 2.\nDespite the enhanced discriminative power, our G2 SF\n\noffers two other advantages: (i) Instead of learning a new\nmetric or anomaly detector from scratch, which are often\nrisky in high-dimensional feature spaces [14, 15], perhaps\nincreasing with multiple modalities involved, G2 SF explicitly quantifies how unimodal anomaly scores and local geometric structures in feature spaces contribute to the final\nmetric. Consequently, it enables a progressive evolution\nfrom the Euclidean metric to an anisotropic metric, mitigating overfitting and ensuring robust metric learning (see\nSection 3.4). (ii) As a one-stage anomaly detector, G2 SF\nmaintains complete modality-specific information throughout the detection process (details are discussed in Section\n3.3), in contrast to existing feature adaptation frameworks\n[26, 30] aforementioned above.\nThe contributions of this paper are summarized as follows:\n• We propose a systematic G2 SF framework for industrial\nmultimodal anomaly detection by learning a unified discriminative metric in high-dimensional feature space.\n• We propose a novel metric deformation paradigm, evolving from isotropic Euclidean metric to an anisotropic one.\nSpecifically, throughout geometric encoding, we design a\nnew LSPN to predict direction-aware scaling factors, subsequently formulating the final metric.\n• We propose critical loss functions to maintain specific\ngeometric properties (e.g., metric consistency and crossmodal correspondence) during metric learning and a\nnovel geometry-informed anomaly scoring strategy, enabling precise multimodal anomaly detection.\n• Our method achieves state-of-the-art performance on the\nMVTec 3D-AD and Eyecandies datasets, with particularly notable superiority in the AUPRO@1% metric.\n\n2. Literature Review\n2.1. 2D Image Anomaly Detection\nUnsupervised anomaly detection methodologies can be\nbroadly categorized into two paradigms: reconstruction-based approaches and feature-based techniques.\nReconstruction-based methods typically employ generative\narchitectures, e.g., transformers [25] and diffusion models\n[33], to establish pixel-level reconstruction fidelity for\nnormal images. For inference, anomaly detection is\nperformed by calculating per-pixel discrepancies between\ninput images and their reconstructed counterparts.\nFeature-based approaches, in contrast, circumvent pixellevel comparisons by operating on informative handcraft or\ndeep features. The central challenge in this paradigm involves effectively modeling the distribution of normal features. Existing solutions adopt different modeling strategies: PaDiM [12] represents features as multivariate Gaussian distributions across spatial positions, while CFlow-AD\n[16] employs conditional normalizing flows to capture more\n\n\fcomplex probability distributions. PNI [2] further enhances\nmodeling by incorporating positional and neighborhood relationships of features. A notable method is PatchCore [27],\nwhich constructs a memory bank of representative normal\nfeatures through coreset sampling. Owing to its robustness and adaptability, PatchCore has become a foundational\nmethod applicable to both 3D [19], multimodal [19, 30, 32],\nand noisy scenarios [20].\n\nnetworks (FP and FR ) to extract corresponding features fiP\n(point cloud) and fiR (image) at location i. Following existing methods [11, 30, 32], we adopt two vision transformers, DINO [7] for images and Point-MAE [24] for point\nclouds, considering their powerful representational capacity. fiP and fiR have high dimensions, i.e., 1152 and 768,\nrespectively.\n\n2.2. Multimodal 2D/3D Anomaly Detection\n\nOur G2 SF builds on the memory bank-based methods for\nunimodal anomaly detection. For each modality m ∈ P, R,\nwe construct a memory bank Mm that collects prototypical features from the entire training dataset following PatchCore [27]. Subsequently, for a feature fim , we can retrieve\n2k\nm\nits 2k + 1 nearest neighbors {mm\ni,j }j=0 from M . Critm\nically, the Euclidean distance between fi and the nearest\nm\nmm\ni,0 is typically defined as the anomaly score si,0 in these\nmemory bank-based methods [32].\n\nThe pioneering MVTec-3D AD dataset [4] benchmarks this\ntask with various generative networks. For real-time requirements, Easy-Net [9] designs a multi-scale multimodal\nautoencoder. Feature-based methods prevail in this domain. CFM [11] establishes explicit one-to-one feature\nmappings to model crossmodal relationships, while 2M3DF\n[1] extends this by learning intermodal features via multiview RGB image generation. Similarly, M3DM [32] incorporates mutual information for feature fusion. On the\nother hand, unimodal anomaly scores-containing essential\nmodality-specific information-also demand dedicated fusion strategies. BTF [19] concatenates 2D/3D features with\nPatchCore [27], equivalent to linear score fusion. Based on\nthe signed distance function (SDF) for 3D patch representation, Shape-Guided [10] establishes SDF-guided memory\nbanks for fine-grained detection on image modality but relies on simplistic maximum value between image and SDF\nscores. M3DM [32] employs one-class SVM for datadriven score fusion of the original and fused features. However, the inherent limitations in the discriminative power of\nunimodal anomaly scores remain unaddressed. Toward this\ndeficiency, LSFA [30] proposes a crossmodal feature adaptation paradigm that learns task-oriented features but risks\noverlooking the critical details of original features through\nadaptation. Finally, at data-level, DAUP [23] attributes the\nissue of indiscriminative point cloud scores to the irregular\npoint density and tackles it by resampling point clouds.\nOur G2 SF introduces two core advances over these existing approaches: (i) We learn a unified discriminative metric, eliminating suboptimal aggregation from unreliable unimodal anomaly scores; (ii) We introduce a dynamic metric\ndeformation paradigm through isotropic-to-anisotropic evolution, preserving original modality-specific details while\nenabling precise discrimination in high-dimensional space.\n\n3. Methodology\nOur G2 SF aims to learn a unified anisotropic local distance metric for multimodal anomaly detection. The overall\npipeline is illustrated in Fig. 3.\n\n3.1. Feature Extraction\nOur framework accepts a pair of 3D point cloud and RGB\nimage as input. Specifically, we employ two frozen neural\n\n3.2. Prototype Retrieval from Memory Bank\n\n3.3. Geometric Feature Encoding\nThe main issue that limits the discriminative capability of\nsm\ni,0 in Section 3.2 is its isotropic nature, which ignores other\ncritical characteristics valuable for anomaly detection. Nevertheless, local directional consistency can act as an auxiliary property to quantitatively evaluate the normality of target samples: Features aligned with the principal directions\nof normal samples within the local feature spaces are expected to demonstrate a higher degree of normality.\nTherefore, a geometric encoding operator E(·) that naturally characterizes the first-order local distribution within\nthe local manifold centered at mm\ni,j can be defined as [36]:\nm\nm\n(mm\n(fim ),\ni,j , di,j , si,j ) = Emm\ni,j\nm\nm\nm\nm\nm\nm\nsm\ni,j = ∥fi − mi,j ∥, di,j = (fi − mi,j )/si,j ,\n\n(1)\n\nm\nwhere sm\ni,j represents the Euclidean distance and di,j denotes the directional vector. Moreover, Eq. (1) is a seamless\nencoding of fim . This property enables the preservation of\ncomplete details for the subsequent learning process, avoiding comprising valuable information in feature adaptation\nframeworks [26, 30].\n\n3.4. Anisotropic Local Distance Metric\nBased on Eq. (1), we aim to learn a unified metR\nric l(fiP , fiR , mP\ni,j , mi,j ) for multimodal anomaly detection that outperforms the Euclidean distances sP\ni,j and\nsR\n.\nWhile\nexisting\nlocal\nmetric\nlearning\nmethods\n[31,\n35]\ni,j\nuse instance-dependent Mahalanobis distances, they are\ncomputationally expensive and unsuitable for our highdimensional joint feature space (1920 dimensions). From\nthe perspective of spectral analysis, Mahalanobis distances\ndetermine the scaling factors along principle directions.\nMimicking this desired property, we propose the LSPN that\n\n\fPC memory bank\n\nFeature map\n\nRGB memory bank\n\nEncoding\n\nAnisotropic Metric Calculation\nLSPN\n\nDiscrimination loss\n\nAnomaly Scoring\n(For Inference)\n\n… …\n\nPrototypes &amp;\nDirections\n\n… …\n\n…\n\n……\nCombination\n\nAnomaly\nscore map\n\nScore aggregation\n\nPrototype Retrieval\n\n…\n\nAnomaly Synthesis (For Training)\n\nFeature Extraction\n\n…\n\nRGB image\n\n3D point cloud\n\nInput\n\nGeometrypreserved loss\n\nGeometric\nprior\n\nDistances\n\nFigure 3. Overall pipeline of the proposed G2 SF. During training, our model takes a pair of 3D point clouds and RGB images as inputs.\nThe anomaly synthesis module (Section 3.7) then injects synthetic anomalies into both modalities. Next, the nearest memory prototypes\nR\nP\nR\n{mP\ni,j , mi,j } are retrieved from the 3D/2D memory banksMP /MR (Section 3.2). In Section 3.3, the features fi /fi are transformed into\nm\nm\nm\ngeometrically meaningful encodings, represented as triplets: ⟨ prototypes mi,j , directions di,j , distances si,j ⟩ (m ∈ {P, R}). The LSPN\nm\nP\nR\nR\nm\nΦ learns direction-aware scaling factors wi,j\nfrom (mP\ni,j , di,j , mi,j , di,j ), which are combined with the distances si,j and global scaling\nm\nfactors σ to compute the anisotropic local distance metric values {li,j }, as detailed in Section 3.4. The learning process is supervised\nby two loss functions: the discrimination loss (Lsep + αLmar , Section 3.5.1) and the geometry-preserved loss (βLcns + γLsc + µLcma ,\nSection 3.5.2). Finally, during inference, a score aggregation strategy is applied, leveraging geometric priors for anomaly scoring, as\ndescribed in Section 3.6.\n\nP\nR\nR\nP\nR\n[wi,j\n, wi,j\n] = Φ(mP\ni,j , mi,j , di,j , di,j ).\n\n(2)\n\n(1920) (512,128)\n\nFurthermore, the anisotropic metric l(·) is defined in terms\nof these scaling factors as:\nX\nR\nm m m\nli,j = l(fiP , fiR , mP\nwi,j\nsi,j σ , (3)\ni,j , mi,j ) =\n\n(128)\n\nLinear\nReLU\nDrop out\n\n(256)\n\n(256)\n\n(2)\n\nLinear\nReLU\nDrop out\n\n(2)\n\n(128)\n\nLinear\nexp tanh\n\n(1920) (512,128)\n\nLinear\nReLU\nDrop out\n\nleverages a neural network for computational efficiency and\nimplicitly captures shared information across local spaces.\nSpecifically, LSPN predicts direction-aware scaling facm\ntors wi,j\nvia a simple Multilayer Perceptron Φ(·) (MLP) as:\n\nConcatenation\n\nFigure 4. The architecture of LSPN. Each block contains a linear\nlayer, ReLU activation, and dropout. The final layer activation is\na exp(tanh (·)) function that is symmetrical to one and serves as\nscale suppression/amplification.\n\nm∈{P,R}\n\nwhere σ m is a trainable global scaling factor that describes\nthe influence of modality m. Eq. (3) demonstrates that\nl(·) incorporates structural priors from unimodal anomaly\ndetection, where sm\ni,0 explicitly represents the unimodal\nm\nanomaly score. When initializing Φ with wi,j\n≈ 1, the metric l(·) originates as a Euclidean measure in the joint feature\nspace. Although this baseline configuration is marginally\neffective in unimodal scenarios, it progressively evolves\ninto an anisotropic metric during training under the regularization of sm\ni,j . This unique property prevents overfitting that\nwould occur when learning a metric entirely from scratch\n[14, 15]. Furthermore, the supplementary material tracks\nmodel performance throughout different training epochs,\nrevealing that G2 SF attains competitive performance within\nremarkably few training epochs that benefit from the above\ndesign.\nThe architecture of Φ(·) is illustrated in Fig. 4, which\nconsists of two parallel branches that independently conR\ncatenate and encode the prototypes (mP\ni,j , mi,j ) and direcP\nR\nm\ntions (di,j , di,j ). wi,j is obtained through an activation\n\nm\nexp(tanh (·)) at the final layer, ensuring wi,j\n∈ [e−1 , e1 ].\nThis constrains the scaling factors to be symmetric around\nm\nthe Euclidean baseline (wi,j\n= 1). To enhance the discrimm\ninative power of l(·), we aim to reduce scales (wi,j\n&lt; 1)\nm\nfor normal samples, while increasing scales (wi,j\n&gt; 1) for\nanomalous samples.\n\n3.5. Loss Functions\nTo ensure stable training, we employ synthetic anomaly injection in Section 3.7. We denote the label yi ∈ {0, 1}\nfor (fiP , fiR ), where yi = 1 denotes synthetic anomalies.\nAdditionally, we denote (·)+ as max(·, 0). We deploy\nthe discrimination losses (Lsep , Lmar ) in Section 3.5.1 to\nensure the learned l(·) capable of discriminating normal\n(yi = 0) and anomalous (yi = 1) samples. Furthermore, the\ngeometry-preserved losses (Lcns , Lsc , Lcma ) are proposed\nin Section 3.5.2 to ensure effective metric learning by incorporating desired geometric properties related to metric consistency, local scaling factors, and crossmodal alignments.\n\n\f3.5.1. Discrimination Loss\n\nthis, we propose an asymmetric scaling loss:\n\nWe prioritize li,0 to inherit its discriminative capability w.r.t.\nthe nearest prototype mm\ni,0 .\nSeparation Loss: The basic separation loss Lsep is to minimize li,0 for normal samples while simultaneously maximizing them for anomalous instances, following the semisupervised anomaly detection approach [29]:\nX\n−1\nLsep =\n(1 − yi )li,0 + yi (li,0\n− m−1\n(4)\n0 )+ ,\ni\n\nwhere m0 prevents excessively large anomaly scores.\nMargin Loss: The distribution overlap between normal and\nanomalous samples is also crucial for anomaly detection\n[6], which is considered by the margin loss Lmar as:\nLmar =\n\n1 X\n(1 − yi )(li,0 − ml )+ + yi (mu − li,0 )+ ,\nmu i |\n|\n{z\n}\n{z\n}\nOverlap of Normal Part\n\nOverlap of Anomalous Part\n\nLsc =\n\nX\n\nX\n\ni\n\nm∈{P,R}\n\nm\nm\n(1−yi )(wi,0\n−1)+ +yi (e1 −wi,0\n). (7)\n\nLsc asymmetrically compresses scaling factors of normal\nsamples while confining those of synthetic anomalies near\nthe upper limit e1 . This design addresses the more pronounced deviations of synthetic anomalies than real-world\nones, imposing more penalties on them.\nCrossmodal Alignment Loss: Currently, both prototypes\nand directions are naively concatenated as input to LSPN\n(Sec. 3.4), ignoring their crossmodal correspondence. To\nresolve this, we propose a simple strategy by disentangling\nthis property.\nSpecifically, by permuting indices {i} → {ĩ}, we can\nconstruct two kinds of negative samples:\n\n(5)\n\nwhere ml = mini|yi =1 li,0 is the lower bound of li,0 for\nanomalous samples and mu = maxi|yi =0 li,0 is the upper\nbound for normal samples.\n3.5.2. Geometry-Preserved Loss\nSince learning a robust and generalizable l(·) in the highdimensional space for anomaly detection is challenging, despite the architecture design in Section 3.4, we aim to exploit the desired geometric properties of l(·) that benefit our\ntask.\nConsistency Loss: Since Eqs. (4) and (5) focus on the discriminative power of li,0 , we exploit the geometric consistency of li,j across different local spaces around mm\ni,j , including the following two properties:\n• Proximal consistency: l(·) is continuous across neighborhood. For adjacent local spaces, i.e., 1 ≤ j ≤ k, li,j is\nupper bounded by ηi,j li,0 for ηi,j &gt; 1. It means that the\nR\npartial gradient of l(·) w.r.t. (mP\ni,j , mi,j ) is limited.\n• Distal separation: For sufficiently large Euclidean distances, l(·) should maintain correspondingly significant\nvalues. We mandate li,j in distant local spaces indexed by\nk + 1 ≤ j ≤ 2k lower-bounded by li,0 . This constraint\nprevents metric collapse in high-dimensional spaces to\navoid incredible values.\nAccordingly, we formulate the consistency loss Lcns as:\nLcns =\n\nX\n1X X\n(li,j − ηi,j li,0 )+ +\n(li,0 − li,j )+ .\nk i\n1≤j≤k\nk+1≤j≤2k\n|\n{z\n} |\n{z\n}\nProximal Consistency\n\nDistal Separation\n\n(6)\n\nDespite the spatial regularization, Lcns also effectively increases sample diversity within each local space through\nmulti-prototype observations as data augmentation.\nm\nScaling Loss: Despite l(·), we aim to encourage wi,0\nto\nencode local directional distributions explicitly, that is, suppress/amplify for normal/anomalous samples. To achieve\n\nR\nP\nR\nP\nR\nP\nR\n(mP\ni,0 , mĩ,0 , di,0 , di,0 ), (mi,0 , mi,0 , di,0 , dĩ,0 ).\n\n(8)\n\nThe former breaks holistic prototype coherence. In contrast,\nthe latter focuses on capturing discordant directions while\nmaintaining prototype consistency at a local structural granularity.\nDuring training, we construct the above two kinds with\nm\nequal probability. Denote w̃i,0\n(m ∈ {P, R}) as their associated scaling factors, we define the crossmodal alignment\nloss as:\nX X\nm\nLcma =\n(e1 − w̃i,0\n),\n(9)\ni\n\nm∈{P,R}\n\nwhich enforces large scales similar to synthetic anomalous\nsamples in Eq. (7).\n3.5.3. Overall Loss\nFinally, the overall loss L of our G2 SF framework combines\nall terms as:\nL = Lsep + αLmar + βLcns + γLsc + µLcma ,\n{z\n}\n{z\n} |\n|\nDiscrimination Loss\n\n(10)\n\nGeometry-Preserved Loss\n\nwhere α, β, γ, and µ are hyper-parameters balancing the\nloss components.\n\n3.6. Geometry-Informed Anomaly Scoring\nDuring inference, G2 SF computes the anomaly score si\nfor each multimodal feature pair (fiP , fiR ). Concretely, by\npropagating features through the geometric encoding operator and LSPN, we obtain the anisotropic metrics {li,j }kj=0\nacross k + 1 nearest local spaces, adhering to the proximal\nconsistency constraint in Eq. (6). We apply a min operator\nto aggregate {li,j }kj=0 to define si :\nsi = min{li,j |j = 0, 1, ..., k}.\n\n(11)\n\n\fI-AUROC\nAUPRO@30%\n\nMethod\n\nBagel\n\nDepthGAN[4]\nVoxelGAN[4]\nBTF[19]\nEasyNet[9]\nAST[28]\nM3DM [32]\nShape-guided [10]\nCFM [11]\n2M3DF [1]\nLSFA [30]\nDAUP [23]\nOurs\n\n0.538\n0.680\n0.918\n0.991\n0.983\n0.994\n0.986\n0.994\n0.992\n1.000\n0.996\n0.997\n\nCable\nGland\n0.372\n0.324\n0.748\n0.998\n0.873\n0.909\n0.894\n0.888\n0.969\n0.939\n0.889\n0.923\n\nDepthGAN[4]\nVoxelGAN[4]\nBTF[19]\nAST[28]\nM3DM [32]\nShape-guided [10]\nCFM [11]\n2M3DF [1]\nLSFA [30]\nDAUP [23]\nOurs\n\n0.421\n0.664\n0.976\n0.970\n0.970\n0.981\n0.979\n0.986\n0.986\n0.976\n0.982\n\n0.422\n0.620\n0.969\n0.947\n0.971\n0.973\n0.972\n0.983\n0.974\n0.977\n0.977\n\nCarrot Cookie Dowel\n\nFoam\n\nPeach\n\nPotato\n\nRope\n\nTire\n\nMean\n\n0.580\n0.565\n0.967\n0.918\n0.976\n0.972\n0.983\n0.984\n0.988\n0.982\n0.996\n0.993\n\n0.603\n0.399\n0.883\n0.968\n0.971\n0.976\n0.991\n0.993\n0.985\n0.989\n0.998\n0.967\n\n0.430\n0.497\n0.932\n0.945\n0.932\n0.960\n0.976\n0.980\n0.981\n0.961\n0.977\n0.966\n\n0.534\n0.482\n0.582\n0.945\n0.885\n0.942\n0.857\n0.888\n0.947\n0.951\n0.939\n0.991\n\n0.642\n0.566\n0.896\n0.905\n0.974\n0.973\n0.990\n0.941\n0.979\n0.983\n0.983\n0.994\n\n0.601\n0.579\n0.912\n0.807\n0.981\n0.899\n0.965\n0.943\n0.942\n0.962\n0.986\n0.988\n\n0.443\n0.601\n0.921\n0.994\n1.000\n0.972\n0.960\n0.980\n0.976\n0.989\n0.979\n0.966\n\n0.577\n0.482\n0.886\n0.793\n0.797\n0.850\n0.869\n0.953\n0.898\n0.951\n0.960\n0.922\n\n0.532\n0.517\n0.865\n0.926\n0.937\n0.945\n0.947\n0.954\n0.966\n0.971\n0.970\n0.971\n\n0.778\n0.766\n0.979\n0.981\n0.979\n0.982\n0.982\n0.987\n0.981\n0.980\n0.982\n\n0.696\n0.740\n0.973\n0.939\n0.950\n0.971\n0.945\n0.984\n0.946\n0.960\n0.979\n\n0.494\n0.783\n0.933\n0.913\n0.941\n0.962\n0.950\n0.968\n0.925\n0.924\n0.971\n\n0.252\n0.332\n0.888\n0.906\n0.932\n0.978\n0.968\n0.949\n0.941\n0.966\n0.976\n\n0.285\n0.582\n0.975\n0.979\n0.977\n0.981\n0.980\n0.986\n0.983\n0.981\n0.982\n\n0.362\n0.790\n0.981\n0.982\n0.971\n0.983\n0.982\n0.971\n0.983\n0.978\n0.983\n\n0.402\n0.633\n0.950\n0.889\n0.971\n0.974\n0.975\n0.988\n0.974\n0.972\n0.978\n\n0.631\n0.483\n0.971\n0.940\n0.975\n0.975\n0.981\n0.954\n0.983\n0.980\n0.981\n\n0.474\n0.639\n0.959\n0.944\n0.964\n0.976\n0.971\n0.975\n0.968\n0.969\n0.979\n\nTable 1. I-AUROC and AUPRO@30% results on MVTec-3D AD. Best results in bold, runner-ups underlined.\n\nThis definition stems from a geometric prior. Specifically,\nmemory bank-based methods calculate anomaly scores using Euclidean distances to their memory banks (Section\n3.2), whereas our formulation in Eq. (11) reformulates\nthis as distance measurement to the normal data manifold\nthrough the anisotropic metrics l(·). We will compare Eq.\n(11) with several alternatives in Section 4.3.\nFinally, the sample-level anomaly score is obtained by\ntaking the maximum si across all feature pairs extracted\nfrom a test sample. Following [11, 30, 32], we apply bilinear interpolation and a Gaussian kernel with size 4 to\nupsample and smooth the score map, ensuring resolution\nalignment with input dimensions.\n\nImage\n\nPC\n\nGT\n\nImage\n\nPC\n\nM3DM\n\nCFM\n\nOurs\n\n3.7. Anomaly Synthesis\nOur anomaly synthesis procedure operates following CutPaste approaches [9, 22, 34]: First, we generate Berlin\nnoise maps, which are binarized into mask maps to select\npaste locations. Based on these masks, we then cut corresponding regions from source (normal) 3D point clouds\nand RGB images from the training dataset. The source\npoint clouds can be other classes or more general 3D models. Subsequently, we apply random augmentations to corrupt the regions - specifically implementing pixel modifications for source images [34], e.g., distortion, brightness,\nand sharpness changes, while executing random translations\nfor source point clouds. The corrupted regions are finally\npasted onto target data. Examples of synthetic anomalous\nsamples are provided in the supplementary material.\n\nFigure 5. Qualitative comparison on MVTec-3D AD [4]: Visualized results include original RGB images with aligned 3D point\nclouds (PC) and ground truths (GT), alongside anomaly detection\noutputs from unimodal methods (PatchCore [27] for image/point\ncloud) and multimodal benchmarks (M3DM [32], CFM [11]),\ncompared against our proposed G2 SF framework.\n\n4. Experiment\n4.1. Experimental Details\nDataset: Experiments are conducted on the MVTec-3D\nAD [4] and Eyecandies[5] datasets. MVTec-3D AD contains 10 industrial categories (210-361 train, 69-132 test per\nclass), while Eyecandies provides 10 synthetic food items\n\n\fMethod\n\nIAUROC\n\nPAUROC\n\nMVTec-3D AD\n\nBTF [19]\nAST [28]\nM3DM [32]\nShape. [11]\nCFM [11]\n2M3DF [1]\nLSFA [30]\nDUAP [23]\nOurs\n\n0.865\n0.937\n0.945\n0.947\n0.954\n0.966\n0.971\n0.970\n0.971\n\nEyecandies\n\nAST [28]\nM3DM [32]\nCFM [11]\n2M3DF [1]\nLSFA [30]\nOurs\n\n0.780\n0.882\n0.881\n0.897\n0.902\n\n0.992\n0.976\n0.992\n0.996\n0.993\n0.993\n0.997\n\nAUPRO\n@30%\n0.959\n0.944\n0.964\n0.976\n0.971\n0.975\n0.968\n0.969\n0.979\n\nAUPRO\n@1%\n0.383\n0.398\n0.394\n0.456\n0.455\n0.468\n\n0.902\n0.977\n0.973\n0.974\n0.982\n\n0.744\n0.887\n0.887\n0.890\n0.898\n\n0.149\n0.331\n0.335\n0.357\n\nTable 2. Mean metrics for all categories on both datasets.\n\nImage\n\nPC\n\nGT\n\nImage\n\nPC\n\nImage Scale PC Scale\n\nFinal\n\nFigure 7. Qualitative result on MVTec-3D AD: Original RGB images, 3D point clouds (PC), ground truth (GT), and score maps of\nP\nR\nP\nsR\ni (Image), si (PC), wi,0 (Image Scale), wi,0 (PC Scale), and si\nR\nP\n(Final), from left to right. The scaling factors (wi,0\n, wi,0\n) exhibit\nfalse positives in certain normal regions, whereas the final score si\neffectively suppresses these errors through incorporating distance\nP\ninformation from sR\ni and si .\n\nCFM\n\nBagel\n\nCable gland\n\nFoam\n\nRope\n\nOurs\n\nFigure 6. Pixel-wise anomaly score distributions in Bagel, Cable\ngland, Foam, and Rope categories, where the horizontal axis is\nnormalized score (0-1) with vertical axis as the probabilistic density. Green/Brown distributions represent normal/anomalous regions respectively. Compared with CFM [11] (top), our method\n(bottom) achieves significant distribution compression in normal\nregions while maintaining anomaly discrimination.\n\n(1k train, 400 test per class). Each sample provides aligned\nRGB images and 3D point clouds, enabling pixel-wise correspondence between color and spatial coordinates.\nEvaluation Metrics: We assess the image-level anomaly\ndetection performance by the Area Under the Receiver\nOperator Curve (I-AUROC). For evaluating the pixelwise anomaly segmentation, we adopt the pixel-level AUROC (P-AUROC) and the Area Under the Per-Region\nOverlap (AUPRO) at 30% integration limits (denoted as\nAUPRO@30%), the same as existing methods [10, 11, 19,\n32]. To better demonstrate the advantages of our method\nin practical industrial scenarios with lower false positive\nrates, we also adopted the AUPRO@1% metric (additional\nAUPRO@5% and AUPRO10% in the supplementary material) used in recent studies [10, 11].\nImplementation: We follow a similar procedure of M3DM\n[32] for feature extraction and preprocessing of the dataset.\nFor Lcns , we set k = 5 and η0 = 1.2. We train our G2 SF\nwith the Adam optimizer [21] with 80 epochs on Linux\nNvidia RTX 4090. More details are provided in the supplementary material.\n\nScore\nsR\ni\nsP\ni\nR\nwi,0\nP\nwi,0\nsi\n\nI-AUROC\n0.849\n0.854\n0.916\n0.915\n0.971\n\nP-AUROC\n0.988\n0.975\n0.948\n0.984\n0.997\n\nAUPRO@30%\n0.947\n0.915\n0.916\n0.958\n0.979\n\nAUPRO@1%\n0.363\n0.319\n0.439\n0.443\n0.468\n\nTable 3. Analysis of various score metrics on MVTec-3D AD.\n\n4.2. Comparison on Multimodal Benchmarks\nWe illustrate the results of I-AUROC and AUPRO@30%\non MVTec 3D-AD in Table 4, while those of AUPRO@1%\nand P-AUROC are presented in Table 2. Specifically,\nfor anomaly detection, the proposed G2 SF achieves the\nhighest I-AUROC value of 97.1%. Although LSFA [30]\nmatches G2 SF in terms of I-AUROC, its AUPRO@30%\nresult for anomaly segmentation is 96.8%, which is lower\nthan G2 SF’s 97.9%. Regarding anomaly segmentation,\nour G2 SF outperforms all competitors in three pixel metrics with a +1.2% AUPRO@1% advantage over Shapeguided [10]. Notably, for AUPRO@30% value, although\nShape-guided is close to G2 SF, its I-AUROC of 94.7%\nis significantly lower than G2 SF’s 97.1%. Overall, G2 SF\nachieves the best performance in both anomaly detection\nand anomaly segmentation tasks. This performance gain\nstems from our purpose of learning a discriminative local\ndistance metric. As demonstrated by the qualitative results\nvisualized in Fig. 5, G2 SF effectively suppresses overestimated scores in normal regions compared to M3DM [32]\nand CFM [11], while producing sharper anomaly boundaries. To provide a comprehensive visualization, Fig. 6\nillustrates pixel-wise anomaly score distributions in four\ncategories, demonstrating that anomaly scores of normal\nregions in G2 SF shrinkage significantly within a narrow\nrange. This property effectively reduces false positives,\n\n\fComponents\nLsep in Eq. (4)\nLcns in Eq. (6)\nLmar in Eq. (5)\nLsc in Eq. (7)\nLcma in Eq. (9)\nI-AUROC\nP-AUROC\nAUPRO@30%\n\n\"\n%\n%\n%\n%\n0.868\n0.994\n0.967\n\nStepwise Combinations\n\"\n\"\n\"\n\"\n\"\n\"\n%\n\"\n\"\n%\n%\n\"\n%\n%\n%\n0.950 0.950 0.961\n0.995 0.996 0.997\n0.972 0.975 0.978\n\n\"\n\"\n\"\n\"\n\"\n0.971\n0.997\n0.979\n\nTable 4. Ablation results of individual loss components within\nG2 SF on MVTec-3D AD dataset.\nStrategyI-AUROC\nli,0\n0.963\nmax\n0.953\nmean\n0.972\nmin\n0.971\n\nP-AUROC\n0.997\n0.986\n0.983\n0.997\n\nAUPRO@30%\n0.977\n0.960\n0.955\n0.979\n\nAUPRO@1%\n0.461\n0.453\n0.458\n0.468\n\nTable 5. Investigation on different score aggregation strategies on\nMVTec 3D-AD dataset.\n\nleading to more substantial gains in AUPRO@1% (Table\n2). In addition, the results on Eyecandies in Table 2 showcase the best performance of our G2 SF over all metrics, particularly with +2.2% AUPRO@1% over CFM [19]. More\ndetails are provided in the supplementary material.\n\n4.3. Analysis\nEffectiveness of Final Score si : Table 3 compares key\nscore metrics for anomaly detection: unimodal scores sm\ni\n(m ∈ {P, R}) (Euclidean distances, see Section 3.2), scalm\ning factors wi,0\nfrom LSPN in Eq. (2), and our fused\nscore si in Eq. (11). As evidenced in Table 3, unimodal\nanomaly scores sm\ni demonstrate suboptimal performance.\nThis limitation stems from the inherent information incompleteness of individual modalities. Our fused score si overcomes these constraints through crossmodal complementarity, achieving significant improvements over unimodal\nbaselines. These quantitative gains are also supported by\nFigs. 5 and 7.\nm\nWhile wi,0\ncharacterizes the local directions of normal\nfeatures within local spaces (Section 3.4), its exclusion of\nthe valuable distances, i.e., sm\ni , leads to critical limitations.\nSpecifically, proximity to memory prototypes (sm\ni → 0) inherently indicates normality regardless of directional deviam\ntions, which is a prior ignored by wi,0\n. As evidenced in Fig.\nm\n7, the score maps obtained by wi,0 exhibit noticeable false\npositives. Using si in our G2 SF mitigates this issue, which\nbenefits from sufficiently leveraging complementary directional and distance information. The comprehensive results\nare provided in the supplementary material.\nAblation of Loss Components: Table 4 systematically\nevaluates the contribution of each loss component through\nstepwise removal. Using the separation loss Lsep as the\n\nMethod\nFrame Rate\n\nAST [28]\n4.97\n\nM3DM [32]\n2.12\n\nCFM[11]\n21.8\n\nOurs\n6.04\n\nTable 6. Frame rate comparison on MVTec 3D-AD dataset.\n\nbaseline for the metric learning, the addition of the consistency loss Lcns drives an 8.2% I-AUROC improvement,\nsurpassing M3DM [32] across all metrics and achieving\nparity with CFM [11]. The margin loss Lmar specifically\nimproves pixel-wise localization (AUPRO@30% +0.3%),\nwhile the scaling loss Lsc and cross-modal alignment loss\nLcma further enhances image-level detection (I-AUROC\n+1.1/1.0%). These synergistic effects collectively establish\nG2 SF’s state-of-the-art performance, validating the necessity of all proposed loss components.\nInvestigation of Score Aggregation Strategy: Section 3.6\nemploys a min operator in Eq. (11) to aggregate metrics\n{li,j } from adjacent local spaces. We systematically evaluate three alternatives in Table 5: (1) single-space baseline li,0 . (2) max operator. (3) mean operator. The\nmin-based strategy achieves superior overall performance\n(+0.8%/0.7% I-AUROC/AUPRO@1% vs li,0 ), validating\nthe necessity of multi-space consensus. While max and\nmean operators incorporate adjacent local spaces, they indiscriminately weight less discriminative li,j from distant\nregions, compromising detection precision. The min operator in Eq. (11) prioritizes the most representative local\nmetric through a proper geometric prior as discussed in Section 3.6. The results of all categries of MVTec-3D AD are\nsummarized in the supplementary material.\nComputational Time: Table 6 shows that G2 SF detects\n6.04 samples per second, sufficient for general industrial requirements.\nAnalyses of Memory Prototypes and Global Scaling Factors σm : Supplementary material provides the sensitivity\nstudy about the number of memory prototypes, demonstrating relatively stable performance. Additionally, the investigation on the role of σm is included, showing the necessity\nof learning optimal σm instead of fixed ones.\n\n5. Conclusion\nIn this paper, we propose G2 SF for multimodal anomaly\ndetection, which learns a unified anisotropic local distance\nmetric to replace the indiscriminative isotropic Euclidean\nmetrics. This metric is formulated by the direction-aware\nscaling factors predicted by LSPN and original Euclidean\ndistances in individual modalities. We propose new loss\nfunctions to enable robust metric learning, serving for discrimination or geometric property maintenance. A geometric prior-induced anomaly scoring strategy is proposed\nto enhance anomaly detection and segmentation. Extensive experimental results show our state-of-art performance\ncompared to existing competitive methods.\n\n\f6. Acknowledgement\nThis work is supported by the National Natural Science\nFoundation of China (No. 72371219 and No. 72001139),\nand the Guangzhou Municipal Science and Technology\nProject (No. 2025A04J5288). Corresponding author is Juan\nDu.\n\nReferences\n[1] Mujtaba Asad, Waqar Azeem, He Jiang, Hafiz Tayyab\nMustafa, Jie Yang, and Wei Liu. 2m3df: Advancing 3d industrial defect detection with multi perspective multimodal\nfusion network. IEEE Transactions on Circuits and Systems\nfor Video Technology, pages 1–1, 2025. 2, 3, 6, 7, 4\n[2] Jaehyeok Bae, Jae-Han Lee, and Seyun Kim. PNI: industrial anomaly detection using position and neighborhood information. In Proceedings of the IEEE/CVF International\nConference on Computer Vision, pages 6373–6383, 2023. 3\n[3] Paul Bergmann, Michael Fauser, David Sattlegger, and\nCarsten Steger. MVTec AD-a comprehensive real-world\ndataset for unsupervised anomaly detection. In Proceedings\nof the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9592–9600, 2019. 1\n[4] Paul Bergmann, Xin Jin, David Sattlegger, and Carsten\nSteger.\nThe MVTec-3D AD dataset for unsupervised\n3D anomaly detection and localization. arXiv preprint\narXiv:2112.09045, 2021. 1, 3, 6\n[5] Luca Bonfiglioli, Marco Toschi, Davide Silvestri, Nicola\nFioraio, and Daniele De Gregorio. The eyecandies dataset\nfor unsupervised multimodal anomaly detection and localization. In Proceedings of the 16th Asian Conference on\nComputer Vision (ACCV), 2022. ACCV. 6\n[6] Yunkang Cao, Xiaohao Xu, Zhaoge Liu, and Weiming Shen.\nCollaborative discrepancy optimization for reliable image\nanomaly localization. IEEE Transactions on Industrial Informatics, 19(11):10674–10683, 2023. 5\n[7] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou,\nJulien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In\nProceedings of the IEEE/CVF International Conference on\nComputer Vision, pages 9650–9660, 2021. 3, 1\n[8] Angel X Chang, Thomas Funkhouser, Leonidas Guibas,\nPat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese,\nManolis Savva, Shuran Song, Hao Su, et al. Shapenet:\nAn information-rich 3D model repository. arXiv preprint\narXiv:1512.03012, 2015. 1\n[9] Ruitao Chen, Guoyang Xie, Jiaqi Liu, Jinbao Wang, Ziqi\nLuo, Jinfan Wang, and Feng Zheng. Easynet: An easy network for 3D industrial anomaly detection. In Proceedings\nof the 31st ACM International Conference on Multimedia,\npages 7038–7046, 2023. 3, 6\n[10] Yu-Min Chu, Chieh Liu, Ting-I Hsieh, Hwann-Tzong Chen,\nand Tyng-Luh Liu. Shape-guided dual-memory learning for\n3D anomaly detection. In Proceedings of the 40th International Conference on Machine Learning, 2023. 2, 3, 6, 7,\n4\n\n[11] Alex Costanzino, Pierluigi Zama Ramirez, Giuseppe Lisanti,\nand Luigi Di Stefano. Multimodal industrial anomaly detection by crossmodal feature mapping. In Proceedings of\nthe IEEE/CVF Conference on Computer Vision and Pattern\nRecognition, pages 17234–17243, 2024. 2, 3, 6, 7, 8, 1, 4\n[12] Thomas Defard, Aleksandr Setkov, Angelique Loesch, and\nRomaric Audigier. PaDiM: a patch distribution modeling\nframework for anomaly detection and localization. In International Conference on Pattern Recognition, pages 475–489.\nSpringer, 2021. 2\n[13] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li,\nand Li Fei-Fei. Imagenet: A large-scale hierarchical image\ndatabase. In 2009 IEEE Conference on Computer Vision and\nPattern Recognition, pages 248–255. Ieee, 2009. 1\n[14] Jianqing Fan, Yingying Fan, and Yichao Wu. Highdimensional classification. In High-Dimensional Data Analysis, pages 3–37. World Scientific, 2011. 2, 4\n[15] Jianqing Fan, Yang Feng, and Xin Tong. A road to classification in high dimensional space: the regularized optimal\naffine discriminant. Journal of the Royal Statistical Society\nSeries B: Statistical Methodology, 74(4):745–771, 2012. 2,\n4\n[16] Denis Gudovskiy, Shun Ishizaka, and Kazuki Kozuka.\nCFLOW-AD: Real-time unsupervised anomaly detection\nwith localization via conditional normalizing flows. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 98–107, 2022. 2\n[17] Yinghui Guo, Meng Jiang, Qianhong Huang, Yang Cheng,\nand Jun Gong. Mldfr: A multilevel features restoration\nmethod based on damaged images for anomaly detection and\nlocalization. IEEE Transactions on Industrial Informatics,\n20(2):2477–2486, 2023. 1\n[18] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun.\nDelving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the\nIEEE International Conference on Computer Vision, pages\n1026–1034, 2015. 1\n[19] Eliahu Horwitz and Yedid Hoshen. Back to the feature: classical 3D features are (almost) all you need for 3D anomaly\ndetection. In Proceedings of the IEEE/CVF Conference\non Computer Vision and Pattern Recognition, pages 2968–\n2977, 2023. 1, 2, 3, 6, 7, 8, 4\n[20] Xi Jiang, Jianlin Liu, Jinbao Wang, Qiang Nie, Kai Wu,\nYong Liu, Chengjie Wang, and Feng Zheng. Softpatch: Unsupervised anomaly detection with noisy data. Advances in\nNeural Information Processing Systems, 35:15433–15445,\n2022. 3\n[21] Diederik P Kingma and Jimmy Ba. Adam: A method for\nstochastic optimization. arXiv preprint arXiv:1412.6980,\n2014. 7, 1\n[22] Chun-Liang Li, Kihyuk Sohn, Jinsung Yoon, and Tomas\nPfister. Cutpaste: Self-supervised learning for anomaly detection and localization. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\npages 9664–9674, 2021. 6\n[23] Hefei Li, Yanchang Niu, Haonan Yin, Yu Mo, Yi Liu, Biqing\nHuang, Ruibin Wu, and Jingxian Liu. Daup: Enhancing\n\n\fpoint cloud homogeneity for 3D industrial anomaly detection via density-aware point cloud upsampling. Advanced\nEngineering Informatics, 62:102823, 2024. 3, 6, 7\n[24] Yatian Pang, Wenxiao Wang, Francis EH Tay, Wei Liu,\nYonghong Tian, and Li Yuan. Masked autoencoders for point\ncloud self-supervised learning. In European Conference on\nComputer Vision, pages 604–621. Springer, 2022. 3, 1\n[25] Jonathan Pirnay and Keng Chai. Inpainting transformer for\nanomaly detection. In International Conference on Image\nAnalysis and Processing, pages 394–406. Springer, 2022. 2\n[26] Tal Reiss, Niv Cohen, Liron Bergman, and Yedid Hoshen.\nPanda: Adapting pretrained features for anomaly detection\nand segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages\n2806–2814, 2021. 2, 3\n[27] Karsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard\nSchölkopf, Thomas Brox, and Peter Gehler. Towards total recall in industrial anomaly detection. In Proceedings of\nthe IEEE/CVF Conference on Computer Vision and Pattern\nRecognition, pages 14318–14328, 2022. 1, 2, 3, 6\n[28] Marco Rudolph, Tom Wehrbein, Bodo Rosenhahn, and Bastian Wandt. Asymmetric student-teacher networks for industrial anomaly detection. In Proceedings of the IEEE/CVF\nWinter Conference on Applications of Computer Vision,\npages 2592–2602, 2023. 6, 7, 8, 4\n[29] Lukas Ruff, Robert A. Vandermeulen, Nico Görnitz, Alexander Binder, Emmanuel Müller, Klaus-Robert Müller, and\nMarius Kloft. Deep semi-supervised anomaly detection.\nIn International Conference on Learning Representations,\n2020. 5\n[30] Yuanpeng Tu, Boshen Zhang, Liang Liu, Yuxi Li, Jiangning\nZhang, Yabiao Wang, Chengjie Wang, and Cairong Zhao.\nSelf-supervised feature adaptation for 3D industrial anomaly\ndetection. In European Conference on Computer Vision,\npages 75–91. Springer, 2024. 1, 2, 3, 6, 7, 4\n[31] Jun Wang, Alexandros Kalousis, and Adam Woznica. Parametric local metric learning for nearest neighbor classification. Advances in Neural Information Processing Systems,\n25, 2012. 3\n[32] Yue Wang, Jinlong Peng, Jiangning Zhang, Ran Yi, Yabiao\nWang, and Chengjie Wang. Multimodal industrial anomaly\ndetection via hybrid fusion. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\npages 8032–8041, 2023. 1, 2, 3, 6, 7, 8, 4\n[33] Julian Wyatt, Adam Leach, Sebastian M Schmon, and\nChris G Willcocks. Anoddpm: Anomaly detection with denoising diffusion probabilistic models using simplex noise.\nIn Proceedings of the IEEE/CVF Conference on Computer\nVision and Pattern Recognition, pages 650–656, 2022. 2\n[34] Xincheng Yao, Ruoqi Li, Jing Zhang, Jun Sun, and\nChongyang Zhang. Explicit boundary guided semi-pushpull contrastive learning for supervised anomaly detection.\nIn Proceedings of the IEEE/CVF Conference on Computer\nVision and Pattern Recognition, pages 24490–24499, 2023.\n6\n[35] Han-Jia Ye, De-Chuan Zhan, Nan Li, and Yuan Jiang. Learning multiple local metrics: Global consideration helps. IEEE\n\nTransactions on Pattern Analysis and Machine Intelligence,\n42(7):1698–1712, 2019. 3\n[36] Yingjie Zhou, Xucheng Song, Yanru Zhang, Fanxing Liu,\nCe Zhu, and Lingqiao Liu. Feature encoding with autoencoders for weakly supervised anomaly detection. IEEE\nTransactions on Neural Networks and Learning Systems, 33\n(6):2454–2465, 2021. 3\n\n\fG2 SF: Geometry-Guided Score Fusion for Multimodal Industrial Anomaly\nDetection\nSupplementary Material\nA. Anomaly Synthesis\nThe whole procedure of our cutPaste anomaly synthesis is\nillustrated in Fig. 1. More generated anomalous RGB images and associated 3D point clouds are provided in Fig.\n7. The synthetic anomalies are pronounced than real-world\nanomalies in MVTec-3D AD.\nSource\n\nCorrupted\n\nPerlin noise\n\nRandom\naugment\nation\n\nAnomalous\n\nSource\n\nRandom\nTranslation\n\nTarget\n\nBinarized mask\n\nTarget\n\nAnomalous\n\nFigure 1. Flowchart of the anomaly synthesis procedure based\non CutPaste: (1) Berlin noise maps are binarized into masks to\nselect paste locations; (2) Source regions from normal 3D point\nclouds/RGB images (or generic models) are cut; (3) Random corruptions (pixel/geometry augmentations) are applied; (4) Modified\nregions are pasted onto target data.\n\nBagel\n\nFoam\n\nCable gland\n\nPeach\n\nCarrot\n\nPotato\n\nCookie\n\nRope\n\nDowel\n\nTire\n\nDataset\nMVTec 3D-AD\nEyecandies\n\nα\n10\n10\n\nβ\n60\n100\n\nγ\n8\n2\n\nµ\n20\n0.5\n\nBatch Size\n8192\n15360\n\nTable 1. Turning parameters and batch size in our experiment.\n\nture maps upsampled to 56 × 56 × 768. Point clouds are\nprocessed via Point-MAE [24] pretrained on ShapeNet [8],\ngrouping 3D points into 1024 clusters (feature dimension\n1152) and interpolated to 56 × 56 × 1152 for spatial alignment with image feature maps. We use PatchCore [27] to\nconstruct modality-specific memory banks with 10% coreset sampling. Notably, we consider the original 28 × 28 ×\n768 RGB feature maps instead of the upsampled ones when\nconstructing the memory bank of RGB modality to reduce\nthe memory storage. The above procedure remains the same\nas done in M3DM [32].\n\nB.2. Data Processing\nTo accelerate training and underscore discriminative foreground features, we pre-collect features from 800 synthetic\nanomalous samples per class (Section 3.7) (1000 for Eyecandies), forming a feature dataset equally split for training and validation. The features originate from foreground\nregions identified via RANSAC plane fitting on 3D point\nclouds, where areas exceeding 0.005 distance from the fitted plane are retained following [11, 32]. During evaluation\non MVTec 3D-AD, background regions remain included.\nAs background features are excluded during training, we\nm\nset their scaling factors to unity (wi,0\n= 1) in Eq. (3), serving as a linear combination of the original unimodal results.\nFor Eyecandies, background regions are neglected following CFM [11].\n\nB.3. Parameter Setting\n\nFigure 2. Visualization of generated anomalous RGB images and\n3D point clouds on MVTec-3D AD.\n\nB. Implementation Details\nB.1. Feature Extraction\nRGB features are extracted using DINO ViT-B/8 [7] pretrained on ImageNet [13], generating 28 × 28 × 768 fea-\n\nFor Lcns in Eq. (6), we set k = 5 and η0 = 1.2. We train\nour LSPN using an Adam optimizer [21] with learning rate\n1.5e−4 and weight decay 1.5e−4 , combined with l1 regularization of weight 1e−4 and drop out with ratio 0.5 over 80\nepochs. Global scaling factors σ m are separately optimized\nat a higher learning rate of 5e−3 to accelerate convergence.\nWe initialize LSPN by the default strategy in Pytorch, that\nm\nis, Kaiming Initialization [18]. We observe wi,j\n≈ 1 under\nthis strategy, meeting the requirement in Section 3.4. For\nmodality m, we normalize all Euclidean distances {sm\ni,j }\nby their mean over the training dataset. Then, we initialize\nσ m = 0.5 with equal importance from each modality. The\ntuning parameters about loss components and batch size for\n\n\fImage\n\nFigure 3. Performance over different training epochs on MVTec\n3D-AD dataset.\n1.00\n\nValues\n\n0.98\n0.96\n0.94\n\nP-AUROC\nI-AUROC\nAUPRO@30%\n\n0.92\n0.90\n\n0\n\n2\n4\n6\n8\n10\nPercentages\nof stored\nfeatures\nRatio of(%)\ncoreset\nsampling\n\nFigure 4. Performance over different ratios of coreset sampling on\nMVTec 3D-AD dataset.\n\nMVTec 3D-AD and Eyecandies datasets are listed in Table\n1. Finally, we implement our G2 SF by Pytorch and run all\nexperiments on Linux with a Nvidia RTX 4090 GPU.\n\nC. Learning Curve\nWe train multiple models that stop at {2,4,6,8,10,20,...,80}\nepochs respectively, and report their performances (IAUROC, P-AUROC, AUPRO@30%, and AUPRO@1%)\non MVTec-3D AD in Fig. 3. After only 4 epochs,\nG2 SF outperforms M3DM [32] (94.5% I-AUROC, 99.2%PAUROC, 96.4% AUPRO@30%, and 39.4%AUPRO@1%).\nThis benefits from our design, as our model evolves from an\nestablished Euclidean metric to the target anisotropic metric, see Section 3.4.\n\nD. Sensitivity Study on Sizes of Memory Banks\nSince the learned metric l(·) is defined in terms of memory prototypes, this subsection presents a sensitivity study\nof the anomaly detection performance with respect to the\nnumber of prototypes. We vary the coreset sampling ratio\n(see Section B.1) at {10,7.5,5,2.5,1}% levels. At the default\n10%, the average numbers of point cloud and RGB image\nmemory prototypes across all categories on the MVTec-3D\nAD dataset are 83,292 and 20,823, respectively. The corresponding results for the evaluation metrics are summarized in Fig. 4. At the 2.5 % level, G2 SF achieves 96.6%\nI-AUROC, 99.6% P-AUROC, and 97.6% AUPRO@30%.\nNevertheless, Fig. 4 demonstrates that the performance of\nG2 SF is relatively stable to the sizes of memory banks.\n\nPC\n\nGT\n\nImage\n\nPC\n\nFusion\n\nFigure 5. Visualization of learned σ m and fixed σ P = 1 for an\nexample from ChocolateCookie category in Eyecandies dataset.\n\nE. Analysis on Global Scaling Factors\nG2 SF defines trainable global scaling factors σ m (m ∈\nP, R) in Eq. (3) to formulate the metric l(·), where σ m controls the importance of modality m to final l(·) and normalizes the original Euclidean distances. Fig. 5 demonstrates\nthis mechanism prioritizing image modality over less discriminative point cloud modality of the ChocolateCookie\ncategory in Eyecandies dataset, compared with fusion and\nimage score maps. Moreover, ignoring the contribution of\nthe RGB image modality by setting σ P = 1 and σ R = 0\nyields significantly degraded results. Furthermore, Table\n2 compares performance using learned σ m against fixed\nσ P = σ R = 0.5 during inference on both the MVTec\n3D-AD and Eyecandies datasets. These results collectively\nunderscore the importance of learning optimal σ m during\ntraining.\n\nF. Results on Eyecandies\nWe provide the quantitative results for all categories in Eyecandies in Table 4. G2 SF achieves the best performance\nof all metrics in terms of +0.5% I-AUROC and +0.8%\nAUPRO@30% over 2M3DF [1], +0.5% P-AUROC over\nM3DM [32], +2.2%AUPRO@1%, +2.4%AUPRO@10%,\nand +2.8%AUPRO@5% over CFM [11]. The qualitative\nresults are illustrated in Fig. 6.\n\nG. Additional Results on MVTec-3D AD\nWe summarize the results of different score metrics for\nall categories in MVTec-3D AD in Table 5. The results\ndemonstrate that the final score si outperforms unimodal\nm\nscores {sm\ni,0 } and scaling factors {wi,0 } almost all categories. Additionally, comprehensive quantitative results\nof various score aggregation operators are provided in 6,\nwhich validate the superior performance of min operator\nover the majority of classes, owing to its geometric interpretation, as discussed in Section 3.6.\nFurthermore, Fig. 7 provides additional qualitative results for all classes in MVTec-3D AD. Consistent with\nFig. 5, our G2 SF suppresses anomaly scores of normal regions and provides clearer anomaly boundaries, compared\nto M3DM [32] and CFM [11].\n\n\fMetric\nLearn\nσ P =σ R =0.5\n\nI-AUROC\n0.971\n0.964\n\nMVTec-3D AD\nP-AUROC\nAUPRO@30%\n0.997\n0.979\n0.994\n0.972\n\nAUPRO@1%\n0.468\n0.460\n\nI-AUROC\n0.902\n0.827\n\nEyecandies\nP-AUROC\nAUPRO@30%\n0.982\n0.898\n0.977\n0.892\n\nAUPRO@1%\n0.357\n0.328\n\nTable 2. Ablation study of global scaling factors on MVTec-3D AD and Eyecandies datasets.\n\nCho.C.\n\nCho.P.\n\nConf.\n\nGum.B.\n\nHaz.T.\n\nLic.S.\n\nFusion\n\nPoint\nCloud\n\nImage\n\nGT\n\nPC\n\nRGB\n\nCan.C\n\nFigure 6. Qualitative results on Eyecandies dataset.\n\nLollip.\n\nMarsh.\n\nPep.C.\n\n\fAST[28]\nM3DM* [32]\nCFM [11]\nLSFA [30]\nOurs\n\n0.763\n0.968\n0.985\n0.969\n0.981\n\n0.960\n0.986\n0.984\n0.957\n0.982\n\nAST[28]\nM3DM* [32]\nCFM [11]\n2M3DF [1]\nOurs\n\n0.514\n0.889\n0.942\n0.924\n0.928\n\n0.889\n0.990\n0.880\n0.967\n1.000\n\nGum.\nB.\n0.596\n0.883\n0.865\n0.901\n0.907\n\nHaz.\nT.\n0.617\n0.666\n0.782\n0.792\n0.701\n\nLic.\nS.\n0.816\n0.923\n0.917\n0.889\n0.939\n\n0.911\n0.964\n0.961\n0.967\n0.977\n\n0.969\n0.998\n0.986\n0.996\n0.998\n\n0.788\n0.976\n0.958\n0.971\n0.982\n\n0.837\n0.928\n0.937\n0.938\n0.936\n\n0.835\n0.921\n0.902\n0.935\n0.897\n\n0.714\n0.808\n0.831\n0.820\n0.843\n\n0.905\n0.982\n0.965\n0.940\n0.982\n\n0.587\n0.889\n0.875\n0.875\n0.890\n\nAUPRO@1%\n\nCho.\nP.\n0.747\n0.931\n0.952\n0.937\n0.967\n\nAST[28]\nM3DM* [32]\nCFM [11]\nOurs\n\n0.035\n0.166\n0.229\n0.174\n\n0.230\n0.388\n0.397\n0.416\n\n0.129\n0.329\n0.345\n0.377\n\n0.234\n0.486\n0.389\n0.487\n\nAUPRO@10%\n\nCho.\nC.\n0.747\n0.954\n0.931\n0.955\n0.963\n\nAST[28]\nM3DM* [32]\nCFM [11]\nOurs\n\n0.285\n0.677\n0.827\n0.784\n\n0.709\n0.836\n0.815\n0.820\n\n0.545\n0.698\n0.731\n0.752\n\nAUPRO@5%\n\nAST[28]\nM3DM* [32]\nCFM [11]\n2M3DF [1]\nOurs\n\nCan.\nC.\n0.574\n0.597\n0.680\n0.753\n0.696\n\nAST[28]\nM3DM* [32]\nCFM [11]\nOurs\n\n0.173\n0.479\n0.662\n0.578\n\n0.592\n0.759\n0.750\n0.759\n\n0.421\n0.626\n0.653\n0.687\n\nAUPRO@30% P-AUROC\n\nI-AUROC\n\nMethod\n\nLollip.\n\nMarsh.\n\n0.841\n0.888\n0.840\n0.913\n0.855\n\n0.987\n0.995\n0.998\n0.980\n0.989\n\nPep.\nC.\n0.987\n1.000\n0.962\n0.893\n1.000\n\n0.918\n0.976\n0.968\n0.970\n0.981\n\n0.924\n0.988\n0.981\n0.990\n0.989\n\n0.983\n0.996\n0.994\n0.998\n0.997\n\n0.968\n0.995\n0.978\n0.987\n0.998\n\n0.902\n0.977\n0.973\n0.974\n0.982\n\n0.590\n0.675\n0.762\n0.781\n0.687\n\n0.736\n0.872\n0.791\n0.816\n0.888\n\n0.769\n0.901\n0.913\n0.923\n0.913\n\n0.918\n0.964\n0.939\n0.958\n0.971\n\n0.878\n0.973\n0.949\n0.926\n0.981\n\n0.744\n0.887\n0.887\n0.890\n0.898\n\n0.092\n0.315\n0.353\n0.360\n\n0.069\n0.131\n0.188\n0.164\n\n0.139\n0.323\n0.333\n0.353\n\n0.090\n0.258\n0.236\n0.281\n\n0.255\n0.462\n0.455\n0.478\n\n0.224\n0.454\n0.428\n0.479\n\n0.149\n0.331\n0.335\n0.357\n\n0.770\n0.947\n0.896\n0.946\n\n0.404\n0.754\n0.741\n0.780\n\n0.350\n0.410\n0.550\n0.490\n\n0.584\n0.732\n0.663\n0.787\n\n0.544\n0.712\n0.739\n0.739\n\n0.770\n0.913\n0.893\n0.922\n\n0.744\n0.924\n0.868\n0.943\n\n0.570\n0.760\n0.772\n0.796\n\n0.635\n0.894\n0.801\n0.892\n\n0.288\n0.655\n0.657\n0.703\n\n0.242\n0.300\n0.427\n0.399\n\n0.461\n0.634\n0.609\n0.698\n\n0.378\n0.562\n0.552\n0.568\n\n0.634\n0.849\n0.838\n0.858\n\n0.617\n0.861\n0.796\n0.889\n\n0.444\n0.661\n0.675\n0.703\n\nConf.\n\nMean\n0.780\n0.882\n0.881\n0.897\n0.902\n\nMethod\n\nBagel\n\nAUPRO@1%\n\nBTF[19]\nAST[28]\nShape-guided[10]\nM3DM [32]\nCFM [11]\nOurs\n\n0.428\n0.388\n0.414\n0.459\n0.481\n\nCable\nGland\n0.365\n0.322\n0.395\n0.431\n0.443\n\n.@10%\n\nCFM [11]\nOurs\n\n0.937\n0.946\n\n.@5%\n\nTable 3. Results on Eyecandies. Best results in bold, runner-ups underlined.\n\nCFM [11]\nOurs\n\n0.877\n0.892\n\nCarrot Cookie Dowel\n\nFoam\n\nPeach\n\nPotato\n\nRope\n\nTire\n\nMean\n\n0.452\n0.470\n0.447\n0.485\n0.484\n\n0.431\n0.411\n0.318\n0.469\n0.471\n\n0.370\n0.328\n0.422\n0.394\n0.410\n\n0.244\n0.275\n0.335\n0.413\n0.468\n\n0.427\n0.474\n0.444\n0.468\n0.487\n\n0.470\n0.487\n0.351\n0.487\n0.499\n\n0.298\n0.360\n0.416\n0.464\n0.468\n\n0.345\n0.474\n0.398\n0.476\n0.471\n\n0.383\n0.398\n0.456\n0.394\n0.455\n0.468\n\n0.917\n0.928\n\n0.947\n0.947\n\n0.897\n0.937\n\n0.855\n0.912\n\n0.906\n0.932\n\n0.942\n0.946\n\n0.947\n0.950\n\n0.926\n0.933\n\n0.944\n0.942\n\n0.922\n0.937\n\n0.843\n0.860\n\n0.894\n0.893\n\n0.840\n0.877\n\n0.765\n0.828\n\n0.828\n0.873\n\n0.884\n0.892\n\n0.894\n0.899\n\n0.865\n0.870\n\n0.889\n0.885\n\n0.858\n0.877\n\nTable 4. Additional AUPRO@1%, AUPRO@10% and AUPRO@5% results on MVTec-3D AD. Best results in bold, runner-ups\nunderlined.\n\n\fBagel\n\nI-AUROC\n\nsR\ni,0\nsP\ni,0\nR\nwi,0\nP\nwi,0\nsi\n\n0.945\n0.951\n0.969\n0.969\n0.997\n\nCable\nGland\n0.939\n0.637\n0.732\n0.727\n0.923\n\nP-AUROC\n\nsR\ni,0\nsP\ni,0\nR\nwi,0\nP\nwi,0\nsi\n\n0.992\n0.987\n0.964\n0.993\n0.998\n\nsR\ni,0\nsP\ni,0\nR\nwi,0\nP\nwi,0\nsi\nsP\ni,0\nsP\ni,0\nR\nwi,0\nP\nwi,0\nsi\n\nAUPRO@1% AUPRO@30%\n\nMethod\n\nCarrot Cookie Dowel\n\nFoam\n\nPeach\n\nPotato\n\nRope\n\nTire\n\nMean\n\n0.914\n0.981\n0.989\n0.989\n0.993\n\n0.733\n0.952\n0.928\n0.930\n0.967\n\n0.939\n0.837\n0.831\n0.829\n0.966\n\n0.768\n0.786\n0.983\n0.983\n0.991\n\n0.944\n0.923\n0.981\n0.982\n0.994\n\n0.621\n0.930\n0.988\n0.988\n0.988\n\n0.930\n0.858\n0.965\n0.963\n0.966\n\n0.755\n0.688\n0.798\n0.796\n0.922\n\n0.849\n0.854\n0.916\n0.915\n0.971\n\n0.993\n0.945\n0.910\n0.983\n0.995\n\n0.995\n0.997\n0.995\n0.998\n0.999\n\n0.976\n0.940\n0.774\n0.916\n0.996\n\n0.996\n0.981\n0.954\n0.986\n0.996\n\n0.955\n0.935\n0.973\n0.991\n0.997\n\n0.994\n0.993\n0.965\n0.995\n0.998\n\n0.991\n0.996\n0.998\n0.999\n0.999\n\n0.995\n0.994\n0.997\n0.998\n0.999\n\n0.995\n0.981\n0.952\n0.977\n0.998\n\n0.988\n0.975\n0.948\n0.984\n0.997\n\n0.954\n0.96\n0.957\n0.979\n0.982\n\n0.973\n0.806\n0.900\n0.953\n0.976\n\n0.974\n0.977\n0.976\n0.981\n0.982\n\n0.887\n0.899\n0.724\n0.908\n0.979\n\n0.974\n0.929\n0.896\n0.934\n0.971\n\n0.847\n0.761\n0.911\n0.950\n0.976\n\n0.971\n0.971\n0.944\n0.978\n0.982\n\n0.957\n0.976\n0.982\n0.983\n0.983\n\n0.965\n0.946\n0.974\n0.976\n0.978\n\n0.970\n0.927\n0.898\n0.939\n0.981\n\n0.947\n0.915\n0.916\n0.958\n0.979\n\n0.367\n0.424\n0.480\n0.481\n0.481\n\n0.423\n0.063\n0.384\n0.378\n0.443\n\n0.416\n0.448\n0.480\n0.481\n0.484\n\n0.235\n0.406\n0.378\n0.421\n0.471\n\n0.415\n0.243\n0.356\n0.356\n0.410\n\n0.296\n0.238\n0.469\n0.474\n0.468\n\n0.399\n0.385\n0.477\n0.480\n0.487\n\n0.285\n0.409\n0.494\n0.494\n0.499\n\n0.396\n0.356\n0.455\n0.453\n0.468\n\n0.399\n0.222\n0.416\n0.415\n0.471\n\n0.363\n0.319\n0.439\n0.443\n0.468\n\nCarrot Cookie Dowel\n\nFoam\n\nPeach\n\nPotato\n\nRope\n\nTire\n\nMean\n\nI-AUROC\n\nli,0\nmax\nmean\nmin\n\n0.997\n0.998\n0.997\n0.997\n\nCable\nGland\n0.925\n0.932\n0.940\n0.923\n\n0.989\n0.982\n0.988\n0.993\n\n0.962\n0.966\n0.975\n0.967\n\n0.953\n0.949\n0.954\n0.966\n\n0.993\n0.968\n0.993\n0.991\n\n0.996\n0.999\n0.995\n0.994\n\n0.964\n0.862\n0.980\n0.988\n\n0.960\n0.953\n0.960\n0.966\n\n0.892\n0.922\n0.941\n0.922\n\n0.963\n0.953\n0.972\n0.971\n\nP-AUROC\n\nli,0\nmax\nmean\nmin\n\n0.997\n0.980\n0.977\n0.998\n\n0.993\n0.989\n0.992\n0.995\n\n0.999\n0.999\n0.999\n0.999\n\n0.994\n0.917\n0.888\n0.996\n\n0.995\n0.993\n0.995\n0.996\n\n0.997\n0.986\n0.983\n0.997\n\n0.998\n0.998\n0.997\n0.998\n\n0.999\n0.999\n0.999\n0.999\n\n0.999\n0.998\n0.999\n0.999\n\n0.997\n0.996\n0.998\n0.998\n\n0.997\n0.986\n0.983\n0.997\n\nAUPRO@30%\n\nli,0\nmax\nmean\nmin\n\n0.981\n0.968\n0.965\n0.982\n\n0.970\n0.960\n0.970\n0.976\n\n0.982\n0.982\n0.982\n0.982\n\n0.974\n0.883\n0.815\n0.979\n\n0.967\n0.954\n0.961\n0.971\n\n0.975\n0.936\n0.932\n0.976\n\n0.982\n0.982\n0.982\n0.982\n\n0.983\n0.983\n0.983\n0.983\n\n0.978\n0.976\n0.978\n0.978\n\n0.979\n0.974\n0.979\n0.981\n\n0.977\n0.960\n0.955\n0.979\n\nAUPRO@1%\n\nTable 5. Results of various score metrics on MVTec-3D AD. Best results in bold, runner-ups underlined.\n\nli,0\nmax\nmean\nmin\n\n0.480\n0.481\n0.480\n0.481\n\n0.429\n0.390\n0.436\n0.443\n\n0.482\n0.485\n0.485\n0.484\n\n0.444\n0.428\n0.396\n0.471\n\n0.411\n0.391\n0.403\n0.410\n\n0.467\n0.467\n0.469\n0.468\n\n0.485\n0.494\n0.491\n0.487\n\n0.497\n0.495\n0.497\n0.499\n\n0.465\n0.457\n0.465\n0.468\n\n0.448\n0.443\n0.460\n0.471\n\n0.461\n0.453\n0.458\n0.468\n\nMethod\n\nBagel\n\nTable 6. Results of various score aggregation strategies on MVTec-3D AD. Best results in bold, runner-ups underlined.\n\n\fCable gl.\n\nCarrot\n\nCookie\n\nDowel\n\nFoam\n\nPeach\n\nPotato\n\nRope\n\nTire\n\nCookie\n\nCable gl.\n\nCarrot\n\nCookie\n\nDowel\n\nFoam\n\nPeach\n\nPotato\n\nRope\n\nTire\n\nOurs\n\nCFM\n\nM3DM\n\nGT\n\nPC\n\nRGB\n\nOurs\n\nCFM\n\nM3DM\n\nGT\n\nPC\n\nRGB\n\nCookie\n\nFigure 7. Additional qualitative results on MVTec-3D AD dataset.\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"