"<!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>Anomaly as Non-Conformity\nvia Training-Free Graph Laplacian Energy Minimization\n\narXiv:2605.28428v1 [cs.CV] 27 May 2026\n\nJungwook Seo1\n\nMinjeong Kim1 Younkwan Lee3 Seungho Shin3 Sungyong Baik1,2†\n1\nDept. of Artificial Intelligence, Hanyang University\n2\nDept. of Data Science, Hanyang University\n3\nGlobal Technology Research, Samsung Electronics\n{zungwooker,mjkim0720,dsybaik}@hanyang.ac.kr\n{youn720.lee,sh524.shin}@samsung.com\n\nAbstract\n\nANoCo\n\nNormal manifold\n\nAbnormal patch feature\n\nDetecting subtle visual anomalies in images remains challenging, particularly when only normal samples are available à priori. Such unsupervised anomaly detection is typically solved by measuring feature similarity of a query\npatch to a memory of normal patches. However, similarity\nalone does not reveal how strongly a query patch violates\nthe structure of the normal feature manifold. We propose a\ntraining-free Laplacian graph energy optimization formulation, named ANoCo that scores Anomaly by the cost of\nNon-Conformity of a query patch to align with a fixed normal manifold. For each query patch, we construct a bipartite query→normal graph weighted by cosine affinity,\nexplicitly removing query–query and normal–normal edges\nto prevent evidence dilution. We formulate anomaly scoring as a convex Laplacian energy with anchored normal\nnodes, and solve in closed form. In particular, we do not\nuse the optimized features themselves—the anomaly score\nis the magnitude of the update required to satisfy normality constraints, reframing the graph Laplacian as a nonconformity operator rather than a smoothing prior. The\nproposed method introduces no learnable parameters, message passing, or sampling, and has complexity comparable\nto a single linear solve. Across standard benchmarks, it delivers strong image-level AUROC, stable localization maps,\nand improved robustness over prior methods, demonstrating the effectiveness of using optimization-induced feature\ndrift as anomaly measure.\n\n† Corresponding author.\n\nNormal patch feature\nQuery patch feature\n\nf\n\nq,a\n\nf̃\n\nReference patch feature\n\nq,a\n\nOptimized query patch feature\nEdge weight\n\nf\n\nf̃\n\nf\n\nq,n\n\nf̃\n\nq,n\n\nInitial patch feature\nOptimized patch feature\n\nLow\nConformity\n\nAnomaly score\n\nHigh\n\nNon-conformity\n\nFigure 1. Conceptual illustration of ANoCo. ANoCo adjusts\nquery patch features through an anchored Laplacian energy optimization, producing features that conform to the normal manifold.\nThe magnitude of the optimization-induced feature update serves\nas the anomaly score, providing a simple and training-free measure of non-conformity.\n\n1. Introduction\nIndustrial anomaly detection aims to identify defective samples (anomalies) using only normal (defect-free) product\nimages, since anomalies are rare, diverse, and prohibitively\nexpensive to annotate for supervision. For fast adaptation of\nanomaly detection to new products, there has been growing\ninterests in a few-shot normal regime, where only a handful of normal exemplars are available per object or category.\nThus, few-shot industrial anomaly detection poses as a challenging task, which requires the capability of modeling\nthe behavior of normality with high fidelity, while remaining sensitive to fine-grained deviations to detect anomalies.\nConsequently, recent research has shifted toward trainingfree and retrieval-based paradigms, leveraging frozen feature extractors and exemplar comparison [5, 7, 12, 24, 30].\n\n\fRecent research has shin representation learning enable highly effective anomaly detectors through nearestneighbor search in deep feature space, where abnormal\npatches are identified by poor similarity to the closest features in a normal memory bank [5, 7, 24]. However, they\nscore anomaly strictly by independent similarity to neighbors, implicitly assuming that the presence of any similar patch implies normality. This assumption breaks down\nwhen a query is individually similar to multiple retrieved\nnormal patches, yet incompatible with the underlying structure they collectively form. In few-shot industrial settings,\nwhere normal exemplars capture multiple modes of appearance (e.g., lighting, texture, manufacturing tolerances), kNN may retrieve a plausible neighbor set that is not mutually coherent, allowing anomalous patches to be mistakenly\naccepted due to fragmented or conflicting local matches.\nThis reveals a core limitation of independent similarity scoring—it cannot detect when a query is locally plausible but\nglobally inconsistent with the structure of the retrieved normal manifold.\n\ning a direct measure of non-conformity that cannot be affected by supporting evidence from other abnormal patches\nin the same test image.\nANoCo repurposes the graph Laplacian from a smoothing operator [3] into a non-conformity operator that\nmeasures resistance to normality, conceptually aligning\nanomaly with optimization cost rather than feature distance or density. ANoCo yields multiple practical benefits: (i) anomaly scores have a clear physical meaning—the\nenergy needed to fit the normal manifold; (ii) the solution is closed-form, convex and training-free; and (iii) by\navoiding smoothing and message passing, the method preserves anomaly evidence. Experimental results display the\nstrong performance of ANoCo, demonstrating the effectiveness of our repurposed graph Laplacian in measuring nonconformity of query images to normal manifold and detecting anomalies.\n\nMeanwhile, graph-based approaches have recently been\nexplored to model relationships beyond isolated comparisons [27, 30]. However, most adopt message passing,\nLaplacian smoothing, or homophily assumptions, implicitly enforcing agreement between connected nodes [17, 34,\n36]. While effective for representation learning and semisupervised classification [10, 15, 17], these mechanisms are\ncounterproductive for anomaly detection, as they blur deviations via neighborhood consensus and propagate evidence\nacross queries or reference nodes [14, 26, 33]. This exposes\na core contradiction: methods that encourage smoothness\non the graph are likely to suppress exactly the signals required to detect anomalies.\n\nMemory-based and nearest-neighbor anomaly detection. Deep feature memory banks coupled with nearestneighbor matching have become a strong baseline for\nanomaly detection. SPADE [5] and PaDiM [7] demonstrate the effectiveness of patch-level representation matching for localization. PatchCore [24] further shows that coreset based memory retrieval achieves state-of-the-art performance at scale. Subsequent work expands upon adaptive\nneighborhood aggregation and improved similarity metrics [2, 16, 21]. However, these approaches score each\nquery independently, without explicitly reasoning about\ncollective compatibility with a normal manifold. By contrast, our method maintains the memory-based paradigm\nbut evaluates the joint conformity of a query to normal manifold through a graph-induced energy, rather than via isolated nearest-neighbor matching.\nGraph models for anomaly detection. Graph-based\nanomaly detection has been explored under several settings: (i) Graph Neural Network (GNN)-based representation learning, where message passing is used to learn\nnormality signals [8, 26]; (ii) graph-level anomaly scoring using structural inconsistency or node influence [26,\n33]; and (iii) semi-supervised label propagation on graphs,\nwhere normal labels diffuse via graph connectivity [3, 15].\nThese approaches fundamentally rely on homophily [36]\nor topology-based regularization, assuming that connected\nnodes should agree or share similar behavior. By contrast,\nanomaly detection in feature space exhibits the opposite\nrequirement [14]: abnormal regions must remain in disagreement with the normal structure. Our method avoids\nquery–query or reference–reference interactions, constructing a bipartite compatibility graph that prevents anomalies\nfrom self-reinforcing through neighborhood consensus.\n\nIn this work, we shift the question from “Is this patch\nsimilar to normal?” to “How difficult is it to make this\npatch conform to normal?”. In other words, we argue that\nthe key signal for anomaly is non-conformity to the retrieved normals as a structured set. We realize Anomaly as\nNon-Conformity via a new framework (ANoCo), which is a\ntraining-free, energy-based framework that defines anomaly\nas the cost required to conform to a normal manifold. Notably, our proposed method retrieves similar normal patches\nprior to graph construction, but retrieval is not used to score\nanomaly—it is used only to build a reference normal manifold against which all query patches are optimized. For each\nquery patch, retrieved normal references are then anchored\n(frozen) via strong penalties, forming a stable proxy for the\nnormal manifold. We then construct a graph between all\nquery patches and the retrieved normal patches, and solve a\nsingle convex anchored graph Laplacian energy minimization over all query patches jointly. The magnitude of change\nin features after optimization reveals how much each query\npatch must shift to align with the normal manifold, produc-\n\n2. Related work\n\n\fAnchor-driven normal patch retrieval\n\nEnergy minimization\n\nGraph construction\nL = D−W\n\nF̃ = (2L + Λ)−1(ΛF)\n\nf q,a\n\nTop-1 similarity\n\nW\n\nQuery image\nReference images\n\nf.,n Normal patch feature\nf.,a Abnormal patch feature\n\nAnchor normal patch feature\n\nQuery patch feature\nReference patch feature\nOptimized query patch feature\n\nQuery\nnodes\nSimilarity retrieval\n\nW Edge weight\nEnergy minimization\n\nNormal manifold\n\nf̃ q,a\n\nf q,n\n\nf̃ q,n\n\nReference\nnodes\n\nL Laplacian matrix\nD Degree matrix\nΛ Regularization weight\n\nF Initial patch features\nF̃ Optimized patch features\n\nLow\n\nConformity\n\nAnomaly score\n\nHigh\n\nNon-conformity\n\nFigure 2. Overview of ANoCo. Given a query image, similar normal reference patches are first retrieved for each query patch to form a\ncompact normal support set. A bipartite graph is then constructed between query and reference patches based on their feature affinities.\nAnchored graph Laplacian optimization produces adjusted query features F̃q that conform to the normal manifold. The discrepancy\nbetween original and optimized features is converted into patch-wise anomaly energies, yielding both the anomaly map and the imagelevel anomaly score.\n\nLaplacian regularization and graph smoothing. Graph\nLaplacians are widely used for smoothing, manifold regularization, and semi-supervised learning [3], where objectives encourage neighboring nodes to share similar states.\nSeveral anomaly detection methods adopt Laplacian regularization for embedding refinement or diffusion [1, 26, 28],\nbut smoothing reduces feature variance across the graph,\nwhich can suppress anomalous deviation. Our work reinterprets the Laplacian differently: instead of a smoothness\nprior, it becomes a non-conformity operator that measures\nthe cost of reconciling a query with a frozen normal manifold. Furthermore, unlike prior methods that update all\nnodes, we anchor reference nodes with high-energy penalties, ensuring only queries move during optimization.\nEnergy and optimization-based anomaly detection. Optimization objectives have been used to characterize\nanomaly through reconstruction cost, robust subspace fitting, or coding complexity [20]. Other works interpret\nanomaly as the residual of a constraint-satisfying optimization process [22]. Our ANoCo shares a similar energybased spirit, but differs substantially in formulation: we\ndo not reconstruct inputs or learn a global model. Instead,\nour proposed framework solves a Laplacian-constrained\nprojection onto a fixed normal feature memory, and use\nthe induced query update magnitude itself as the anomaly\nscore—an interpretation of graph energy as manifold incompatibility, rather than reconstruction error or density violation.\n\n3. Proposed method\nIn this work, we reinterpret anomaly detection as measuring the non-conformity of a query patch to a normal man-\n\nifold derived from a few reference images. From this perspective, the anomaly score is the energy required to align a\nquery with the normal manifold. We realize this idea by formulating anomaly detection as an anchored Laplacian energy minimization problem on a bipartite query–reference\ngraph. Traditional graph-Laplacian formulations enforce\nsmoothness and drive nodes toward local consensus—an\nundesirable behavior for anomaly detection, where collapsing distinctions destroys the very signal of interest. Our\nframework, Anomaly as Non-Conformity (ANoCo), deliberately breaks this convention. As illustrated in Figure 2,\nANoCo proceeds in three stages: (1) anchor-driven retrieval\nof normal patches to define a rigid, high-stiffness manifold with high anchor weight (Section 3.2); (2) construction of a query–reference graph linking each query patch\nto its retrieved normals (Section 3.3); and (3) an anchored\nLaplacian energy minimization (Section 3.5), followed by\nanomaly scoring (Section 3.6). Notably, we do not treat the\noptimized query features as predictions; the required deformation itself—the feature drift induced by solving the\nanchored Laplacian—is the anomaly evidence, quantifying\nthe conflict between the query and the normal manifold.\nANoCo repurposes the Laplacian from a smoothing operator into a manifold-conformity operator, where optimization\ncost directly encodes non-conformity to normality.\n\n3.1. Problem formulation and motivation\nGiven a small set of normal reference images Ir =\n{I (1) , . . . , I (K) }, where K ≤ 4 in the few-shot setting,\nand a query image Iq with unknown label (either normal or\nabnormal), the goal is to compute an image-level anomaly\nscore S(Iq ) and a dense anomaly map Aq that highlights\nanomalous regions.\n\n\fN\n\nq\nq\nr\nLet Fr = {fjr }N\nj=1 and Fq = {fi }i=1 denote patch\nfeatures extracted via a feature extractor (e.g., ViT [9],\nDINO [25]) from the reference and query images, respectively, where each feature vector corresponds to a local\npatch arranged on a regular two-dimensional grid.\nOur core objective is to find a set of optimized features\nNq\nthat best conform to the normal manifold,\nF̃q = {f̃iq }i=1\nand use the resulting feature drift as evidence of anomaly.\n\n3.2. Anchor-driven normal patch retrieval\nN\n\nq\nand the reference\nGiven query features Fq = {fiq }i=1\nr Nr\nfeature pool Fr = {fj }j=1 , we first retrieve, for each\nquery patch, a compact and reliable set of normal reference\npatches that locally represent the normal manifold.\nInitial similarity and anchor selection. For each pair of\nquery feature fiq and reference feature fjr , we compute cosine similarity sij = cos(fiq , fjr ). The cosine similarities\nare then used to retrieve its most similar reference normal patch fjr⋆ (i) for each i-th query patch, where j ⋆ (i) =\narg maxj sij . We call such retrieved reference normal patch\nan anchor normal patch.\nAnchor-driven retrieval. A naı̈ve retrieval strategy would\nretrieve normal patches according to the similarity with a\nquery patch, sij . However, this traditional strategy introduces neighbors that are locally similar to the query but incompatible with the dominant normal pattern represented\nby the anchor fjr⋆ (i) with the corresponding query-similarity\nscore sij ⋆ (i) . To obtain a more coherent normal manifold,\nwe further retrieve normal patches that are also compatible\nwith the anchor normal patch feature fjr⋆ (i) . To this end, we\nfirst compute the similarity between an anchor normal patch\nand other normal patches, aij = cos(fjr⋆ (i) , fjr ). Then, we\nsort references in descending order of sij , followed by retaining the longest prefix for which aij &gt; sij ⋆ (i) , yielding\na sparse query-specific neighbor set\n\nN (i) = { j | aij &gt; sij ⋆ (i) within the sorted prefix }. (1)\nOnly these anchor-consistent neighbors are considered in\nthe subsequent graph.\n\n3.3. Graph construction\nNorm-based compatibility. Using the anchor-consistent\nneighbor sets {N (i)} in Section 3.2, we construct a sparse\nbipartite graph that connects each query patch only to the\nsmall subset of reference patches that are consistent with its\nanchor. Noting that the cosine similarity removes the magnitude information, we prioritize feature pairs with similar\n2∥f q ∥2 ∥f r ∥2\nmagnitude, αij = ∥f q ∥i 2 +∥fjr ∥2 , which is high when norms\ni\nj\nare compatible and small otherwise. Hence, for each query\npatch i and each j ∈ N (i), we define a query-reference\nedge\nQR\nwij\n= sij αij ,\n(2)\n\nwhere sij is the cosine similarity and αij is the norm comQR\n= 0.\npatibility factor. For all j ∈\n/ N (i), we set wij\nCompact bipartite structure. Since each query patch retains only few anchor-consistent neighbors, the resulting adjacency matrix is sparse. Reference patches that are not selected by any query (i.e., not appearing in any N (i)) are\nremoved, producing a compact graph involving only query\nnodes and actively connected reference nodes.\nLaplacian construction. Let W denote the final sparse\nadjacency matrix over the combined node set Vq ∪ Vr . We\ncompute the degree matrix D in the standard way and form\nthe graph Laplacian\nL = D − W.\n\n(3)\n\nBecause edges exist only between queries and reference\nnodes, the graph encodes only query-to-normal relationships and avoids oversmoothing within the query set or\nwithin the reference set. This bipartite Laplacian serves as\nthe foundation for the anchored energy minimization described next.\n\n3.4. Block structure of features and Laplacian\nFor the sake of clarity, we briefly summarize how the feature vector and Laplacian are organized under our bipartite\ngraph.\nStacked feature vector. Only the query features are optimized, while the reference features remain fixed. We therefore write the global feature vector as F̃ = [ F̃q ; Fr ], where\nF̃q ∈ RNq ×d contains the optimized query features and\nFr ∈ RNr ×d contains the fixed reference features.\nBipartite Laplacian. Because the graph contains only\nquery–reference edges, the Laplacian naturally decomposes\ninto four blocks:\n\"\n# \"\n#\nLqq Lqr\nDq\n−Wqr\nL=\n=\n.\n(4)\n⊤\nLrq Lrr\nDr\n−Wqr\nDiagonal query block. Since no query–query edges ex(q)\nist, Lqq is strictly diagonal, with (Lqq )ii = di where\nP\n(q)\nQR\ndi = j∈N (i) wij . This diagonal structure ensures that\nthe anchored update for each query patch decouples from all\nothers, enabling a closed-form solution using only elementwise operations.\n\n3.5. Anchored Laplacian energy minimization\nGiven the bipartite query–reference graph constructed in\nSection 3.3, we seek to quantify non-conformity (i.e., how\nstrongly each query patch must deform to agree with the\nnormal manifold). To this end, we introduce an optimization variable f̃iq for each query patch, while reference features fjr remain fixed.\n\n\fStabilizing query features. To prevent the refined query\npatches from drifting excessively away from their initial\nrepresentations, we impose an ℓ2 regularization term:\nEreg =\n\nNq\nX\n\nλi f̃iq − fiq\n\ni=1\n\n2\n\n.\n\n(5)\n\n2\n\nThis regularization encourages each updated query feature\nto remain close to its original counterpart, preventing degenerate updates. For simplicity, we use a shared weight λi\nfor all queries.\nLaplacian conformity to normal manifold. To enforce\nagreement with the reference manifold, we couple each\nquery feature to its retrieved neighbors using the bipartite\ngraph Laplacian. Let L be the Laplacian from Section 3.3\nand let F̃ denote the stacked features of both query and reference nodes, where reference entries are clamped to their\nfixed features. Then, the manifold conformity energy is\nElap = F̃⊤ L F̃,\n\n(6)\n\nwhich penalizes disagreement along edges: query features\nconnected to similar reference patches incur lower cost\nwhen they move toward those reference features.\nTotal anchored Laplacian energy. The full objective combines identity anchoring and manifold conformity:\nE(F̃) = Elap + Ereg\n= F̃⊤ L F̃ +\n\nNq\nX\ni=1\n\nλi f̃iq − fiq\n\n2\n\n.\n2\n\n(7)\n\nSince the reference features are fixed, the optimization reduces to solving a quadratic program over the query features\nalone. The resulting system is strictly convex and admits a\nclosed-form solution obtained from a sparse linear system.\nClosed-form solver The anchored energy in Section 3.5 is\na strictly convex quadratic function of the query optimization variables f̃iq , since all reference features remain fixed.\nExpanding the energy using the Laplacian blocks from Section 3.4 gives the linear system\n\u0001\nLqq + Λq F̃q = Λq Fq − Lqr Fr ,\n(8)\nwhere Λq is the diagonal matrix of query anchor weights\nλi &gt; 0.\nSince Lqq = Dq is diagonal and Λq has strictly positive\ndiagonal entries, Lqq + Λq is diagonal and trivially invertible:\n\u0001−1\n\u0001\nF̃q = Lqq + Λq\nΛq Fq − Lqr Fr .\n(9)\nThus each query patch solves its update independently via\nelement-wise division.\nBecause Lqq is diagonal and the anchors form another diagonal matrix, the system (Lqq +Λq ) F̃q = Λq Fq −Lqr Fr\n\nreduces to independent per-patch updates. Each query patch\nrequires only a single sparse query–reference aggregation\n(via Lqr Fr ) followed by element-wise division by the diagonal entries of Lqq + Λq . Thus no iterative optimization,\nno large linear solves, and no message passing steps are\nneeded. The entire update is a closed-form, parallelizable\nO(Nq d) operation with memory proportional to the number of retrieved neighbors.\n\n3.6. Non-conformity as anomaly evidence\nIn this work, we do not interpret optimized features f̃iq as\npredictions. Instead, the required change is considered as\nnon-conformity, or more importantly, the anomaly signal:\nEi = f̃iq − fiq\n\n2\n2\n\n\u0001\n1 − cos(f̃iq , fiq ) .\n\n(10)\n\nThese patchwise energies form the dense anomaly map, and\nthe image-level score S(Iq ) is computed via max-pooling\nacross patches.\n\n4. Experiments\n4.1. Experimental settings\nDatasets. We conduct experiments on two widely used\nindustrial anomaly detection benchmarks: MVTec-AD [4]\nand VisA [37]. MVTec-AD contains 15 categories (10 objects and 5 textures) with 3,629 normal training images and\n1,725 test images, including 467 normal and 1,258 anomalous samples, all accompanied by pixel-level ground-truth\nannotations. VisA comprises 12 high-resolution object categories with 8,659 normal training images and 2,162 test\nimages (962 normal and 1,200 anomalous), also providing\npixel-level masks for all anomalous samples. These two\nbenchmarks cover diverse defect types and visual complexities, offering a comprehensive evaluation of both imagelevel and pixel-level anomaly detection.\nEvaluation metrics. Following standard protocols in industrial anomaly detection, we evaluate performance using\nsix comprehensive metrics. We report AUROC, AUPR, and\nF1-MAX for image-level detection, and AUROC, PRO, and\nF1-MAX for pixel-level localization. This multi-faceted approach ensures a robust assessment of both global discriminative power and spatial localization performance across\ndiverse anomaly types.\nBaselines. To demonstrate the effectiveness of our approach, we compare it against a set of recent training-free or\nnormal-only few-shot anomaly detection methods, including SPADE [5], PatchCore [24], WinCLIP [12], PromptAD [18], KAG-Prompt [27], and INP-Former [19].\nImplementation details. We adopt the publicly available\nDINOv3-L/16 [25] backbone as our visual encoder and use\nthe output of its 18-th transformer layer as the middle-level\nrepresentation. All parameters in the backbone and the rest\n\n\fTable 1. Comparison of anomaly detection and localization performance on the MVTec-AD and VisA datasets under different\nfew-shot settings. The highest score in each column is shown in bold, and the second highest is marked with underline.\nMVTec-AD\n# refs\n\nMethod\n\nVenue\n\nImage-level\n\nVisA\nPixel-level\n\nImage-level\n\nPixel-level\n\nAUROC AUPR F1-MAX AUROC PRO F1-MAX AUROC AUPR F1-MAX AUROC PRO F1-MAX\nSPADE [5]\narXiv 2020\nPatchCore [24] CVPR 2022\nWinCLIP [12] CVPR 2023\n1-shot PromptAD [18] CVPR 2024\nKAG-Prompt [27] AAAI 2025\nINP-Former [19] CVPR 2025\n\n81.0\n83.4\n93.1\n94.6\n95.8\n96.6\n\n90.6\n92.2\n96.5\n98.1\n98.2\n\n90.3\n90.5\n93.7\n96.4\n\n91.2\n92.0\n95.2\n95.9\n96.2\n97.0\n\n83.9\n79.7\n87.1\n87.9\n90.8\n92.6\n\n42.4\n58.4\n55.9\n64.0\n\n81.7\n81.6\n83.8\n86.9\n91.6\n91.4\n\n83.4\n84.8\n85.1\n93.2\n92.2\n\n82.1\n82.5\n83.1\n88.6\n\n96.2\n96.1\n96.4\n96.7\n97.0\n96.3\n\n85.7\n82.6\n85.1\n85.8\n85.2\n89.5\n\n40.5\n41.0\n41.3\n47.3\n\nCVPR 2026\n\n97.9\n\n99.1\n\n96.9\n\n97.7\n\n95.4\n\n64.9\n\n92.7\n\n93.3\n\n88.8\n\n98.7\n\n94.9\n\n51.9\n\nSPADE [5]\narXiv 2020\nPatchCore [24] CVPR 2022\nWinCLIP [12] CVPR 2023\n2-shot PromptAD [18] CVPR 2024\nKAG-Prompt [27] AAAI 2025\nINP-Former [19] CVPR 2025\n\n82.9\n86.3\n94.4\n95.7\n96.6\n97.0\n\n91.7\n93.8\n97.0\n98.5\n98.2\n\n91.1\n92.0\n94.4\n96.7\n\n92.0\n93.3\n96.0\n96.2\n96.5\n97.2\n\n85.7\n82.3\n88.4\n88.5\n91.1\n93.1\n\n44.5\n53.0\n58.4\n65.6\n\n79.5\n79.9\n84.6\n88.3\n92.7\n94.6\n\n82.0\n82.8\n85.8\n94.2\n94.9\n\n80.7\n81.7\n83.0\n90.8\n\n95.6\n95.4\n96.8\n97.1\n97.4\n97.2\n\n84.1\n80.5\n86.2\n85.8\n86.7\n91.8\n\n35.5\n38.0\n43.5\n50.4\n\nCVPR 2026\n\n98.4\n\n99.2\n\n97.3\n\n98.0\n\n96.0\n\n65.3\n\n93.3\n\n92.9\n\n90.3\n\n98.7\n\n94.7\n\n53.0\n\nSPADE [5]\narXiv 2020\nPatchCore [24] CVPR 2022\nWinCLIP [12] CVPR 2023\n4-shot PromptAD [18] CVPR 2024\nKAG-Prompt [27] AAAI 2025\nINP-Former [19] CVPR 2025\n\n84.8\n88.8\n95.2\n96.6\n97.1\n97.6\n\n92.5\n94.5\n97.3\n98.8\n98.6\n\n91.5\n92.6\n94.7\n97.0\n\n92.7\n94.3\n96.2\n96.5\n96.7\n97.0\n\n87.0\n84.3\n89.0\n90.5\n91.4\n92.9\n\n46.2\n55.0\n59.5\n65.6\n\n81.7\n85.3\n87.3\n89.1\n93.3\n96.4\n\n83.4\n87.5\n88.8\n94.6\n96.0\n\n82.1\n84.3\n84.2\n93.0\n\n96.6\n96.8\n97.2\n97.4\n97.7\n97.7\n\n87.3\n84.9\n87.6\n86.2\n87.6\n93.1\n\n43.6\n43.9\n47.0\n54.3\n\n98.7\n\n99.3\n\n97.6\n\n98.1\n\n96.2\n\n65.7\n\n95.2\n\n95.1\n\n91.7\n\n98.8\n\n95.7\n\n54.2\n\nANoCo (Ours)\n\nANoCo (Ours)\n\nANoCo (Ours)\n\nCVPR 2026\n\nof the framework are frozen, and no additional learnable parameters are introduced. For more implementation details,\nplease refer to the supplementary material.\n\n4.2. Main results\nTable 1 presents a comprehensive comparison of ANoCo\nagainst representative few-shot anomaly detection baselines\non MVTec-AD and VisA, utilizing six multi-faceted evaluation metrics. Although recent methods on MVTec-AD already achieve near-saturated performance, ANoCo obtains\nconsistent improvements across the 1-, 2-, and 4-shot settings. On VisA, ANoCo likewise achieves consistent gains\nover existing baselines, with particularly notable improvements in localization.\n\n4.3. Visualization\nTo demonstrate the anomaly localization capability of\nANoCo, we visualize the results obtained under the 1shot setting across various categories and diverse anomaly\ntypes in both the MVTec-AD and VisA datasets in Figure 3. Despite substantial variations in anomaly shape, size,\nand appearance, ANoCo consistently produces accurate and\nstable localization results. These visualizations highlight\n\nthe robustness and generalization ability of ANoCo, showing that it can effectively identify anomalous regions even\nwhen confronted with subtle defects, complex structures, or\nhighly irregular anomaly patterns.\n\n4.4. Ablation study\nContributions of energy drift, bipartite graph, and\nanchor-driven retrieval. Table 2 details the incremental performance gains as we evolve from standard distance measures to our final framework. Standard k-NN\nbaselines under the 5% setting exhibit the lowest performance because independent similarity scoring fails to detect\nqueries that are locally plausible but globally inconsistent\nwith the normal manifold. Transitioning to graph energy on\na non-bipartite structure begins to model inter-patch relationships, yet performance remains constrained as naive retrieval still introduces structurally incompatible neighbors\nthat weaken manifold coherence. Incorporating bipartite\ngraph construction further improves performance by preventing anomalies from self-reinforcing through neighborhood consensus and by reducing the oversmoothing effects\nthat typically dilute anomaly evidence. Finally, switching to\nanchor-driven retrieval yields the best performance by con-\n\n\fMVTec-AD\nCapsule\n\nPill\n\nScrew\n\nToothbrush\n\nCandle\n\nCapsule\n\nPCB1\n\nPCB4\n\nChewing gum\n\nTile\n\nCarpet\n\nGrid\n\nHazelnut\n\nMacaroni1\n\nCashew\n\nFryum\n\nPipe fryum\n\nOurs (1-shot)\n\nGT anomaly mask\n\nRaw\n\nCable\n\nOurs (1-shot)\n\nGT anomaly mask\n\nRaw\n\nVisA\n\nFigure 3. ANoCo anomaly map visualizations under 1-shot setting. ANoCo effectively localizes diverse and fine-grained anomalies\nacross the MVTec-AD and VisA.\nTable 2. Component-wise ablation study of ANoCo in the 1-shot setting. The results demonstrate the individual and collective effectiveness of energy drift formulation, bipartite graph construction, and anchor-driven retrieval.\nMVTec-AD\nMethod\n\nImage-level\n\nVisA\nPixel-level\n\nImage-level\n\nPixel-level\n\nAUROC\n\nAUPR\n\nF1-MAX\n\nAUROC\n\nPRO\n\nF1-MAX\n\nAUROC\n\nAUPR\n\nF1-MAX\n\nAUROC\n\nPRO\n\nF1-MAX\n\nk-NN (L2)\nk-NN (Mahl.)\n\n87.7\n93.1\n\n92.5\n96.3\n\n91.6\n94.8\n\n95.1\n94.8\n\n91.2\n92.8\n\n55.5\n56.8\n\n72.2\n77.0\n\n77.3\n81.6\n\n79.1\n87.2\n\n96.2\n95.2\n\n88.3\n94.0\n\n34.3\n34.9\n\nk-NN + Non-Bip.\nk-NN + Bip.\n\n93.7\n95.8\n\n97.2\n98.0\n\n95.2\n96.1\n\n95.8\n97.4\n\n92.2\n94.4\n\n59.3\n62.3\n\n86.3\n90.5\n\n88.3\n91.6\n\n82.9\n86.9\n\n97.5\n98.5\n\n90.2\n94.2\n\n46.6\n50.3\n\nANoCo (Anchor-driven + Bip.)\n\n97.9\n\n99.1\n\n96.9\n\n97.7\n\n95.4\n\n64.9\n\n92.7\n\n93.3\n\n88.8\n\n98.7\n\n94.9\n\n51.9\n\nstructing a representative manifold that is more robust to\nsparsely sampled multi-modal normality and outliers. This\ndesign effectively preserves fine-grained deviations, leading\nto more discriminative and precise localization.\nBackbone fairness. For better comparison, we compare\nagainst each baseline under its corresponding backbone and\ninput resolution in Table 3. On most metrics, ANoCo\n\nconsistently outperforms both training-free and trainingbased baselines across all evaluated backbones and datasets.\nThis suggests that the performance gains of ANoCo are\nnot merely a result of feature quality, but are driven by\nour energy-based non-conformity formulation which effectively captures structural violations of the normal manifold.\n\n\fTable 3. Backbone ablation in the 1-shot setting. ANoCo demonstrates broadly superior performance when evaluated under the same\nbackbone. Resolution is matched per baseline for fair comparison.\nMVTec-AD\n\nVisA\n\nBackbone\n\nMethod\n\nAUROC\n\nAP\n\nWideResNet50 [32]\n\nSPADE [5]\nPatchCore [24]\nANoCo (Ours)\n\n81.0\n83.4\n89.7\n\n90.6\n92.2\n95.4\n\n90.3\n90.5\n93.9\n\n91.2\n92.0\n93.5\n\n83.9\n79.7\n82.4\n\n42.4\n58.4\n47.5\n\n81.7\n81.6\n83.8\n\n83.4\n84.8\n87.0\n\n82.1\n82.5\n82.1\n\n96.2\n96.1\n96.8\n\n85.7\n82.6\n80.2\n\n40.5\n41.0\n42.7\n\nCLIP-B-P [23]\n\nWinCLIP [12]\nPromptAD [18]\nANoCo (Ours)\n\n93.1\n94.6\n95.0\n\n96.5\n97.5\n\n93.7\n94.9\n\n95.2\n95.9\n96.3\n\n87.1\n87.9\n88.4\n\n55.9\n50.9\n\n83.8\n86.9\n87.5\n\n85.1\n89.3\n\n83.1\n84.7\n\n96.4\n96.7\n97.6\n\n85.1\n85.8\n83.5\n\n41.3\n37.1\n\nDINOv2-B-R [6]\n\nINP-Former [19]\nANoCo (Ours)\n\n96.6\n97.3\n\n98.2\n98.8\n\n96.4\n96.9\n\n97.0\n97.1\n\n92.6\n93.0\n\n64.0\n62.3\n\n91.4\n91.8\n\n92.2\n92.1\n\n88.6\n88.6\n\n96.3\n98.2\n\n89.5\n93.6\n\n47.3\n47.2\n\nDINOv3-L [25]\n\nk-NN (Full-shot)\nANoCo (1-shot)\nANoCo (Full-shot)\n\n83.7\n97.9\n99.4\n\n94.0\n99.1\n99.7\n\n91.2\n96.9\n98.5\n\n84.0\n97.7\n98.2\n\n72.8\n95.4\n96.4\n\n44.3\n64.9\n67.8\n\n83.6\n92.7\n98.7\n\n86.9\n93.3\n98.9\n\n81.8\n88.8\n96.1\n\n96.0\n98.7\n99.2\n\n84.5\n94.9\n95.3\n\n40.4\n51.9\n54.7\n\nImage-level\n\nPixel-level\n\nF1-MAX AUROC PRO F1-MAX AUROC\n\nTable 4. Few-shot performance on the OCT2017 dataset.\nANoCo consistently outperforms the baselines, suggesting its applicability beyond industrial benchmarks.\n# refs\n\n2-shot\n\n4-shot\n\n8-shot\n\nMethod\n\nImage-level\nAP\n\nPixel-level\n\nF1-MAX AUROC PRO F1-MAX\n\nTable 5. Forward latency (ms) under different shot settings.\nFor each backbone, we report the baseline, ANoCo, and the latency breakdown of ANoCo into anchor-driven retrieval and graph\noptimization.\n\nOCT2017\nAUROC\n\nAP\n\nPatchCore [24]\nRegAD [11]\nWinCLIP [12]\nInCTRL [35]\n\n73.0\n70.1\n94.7\n94.9\n\n86.6\n84.6\n98.3\n98.3\n\nANoCo (WRN)\nANoCo (CLIP)\n\n95.0\n97.7\n\n97.8\n99.2\n\nPatchCore [24]\nRegAD [11]\nWinCLIP [12]\nInCTRL [35]\n\n76.8\n72.7\n96.2\n96.8\n\n88.1\n86.1\n98.6\n98.9\n\nANoCo (WRN)\nANoCo (CLIP)\n\n96.6\n99.4\n\n98.7\n99.7\n\nPatchCore [24]\nRegAD [11]\nWinCLIP [12]\nInCTRL [35]\n\n80.6\n74.4\n97.0\n97.4\n\n90.4\n88.6\n99.0\n99.1\n\nANoCo (WRN)\nANoCo (CLIP)\n\n97.7\n99.3\n\n99.1\n99.7\n\nAdditional benchmarks. In Table 4, we report few-shot\nresults on OCT2017 [13] using the same backbone and\nresolution as the few-shot baselines (RegAD [11], WinCLIP [12], InCTRL [35]), where ANoCo consistently outperforms the baselines. This result suggests that the applicability of ANoCo may not be limited to representative industrial anomaly detection benchmarks.\nLatency breakdown. We report per-sample latency under\nmatched backbones and identical hardware settings in Table 5. The results show that the closed-form optimization\nin ANoCo is practical, while remaining substantially more\nefficient than WinCLIP.\n\nWideResNet50 [32]\n# refs\n\nPatchCore [24]\n\nANoCo\n\nAnchor-driven\n\nGraph opt.\n\n1-shot\n2-shot\n4-shot\n\n7.5\n7.6\n8.1\n\n9.7\n10.3\n10.1\n\n1.4\n1.5\n2.0\n\n0.5\n0.5\n0.5\n\nCLIP-B-P [23]\n# refs\n\nWinCLIP [12]\n\nANoCo\n\nAnchor-driven\n\nGraph opt.\n\n1-shot\n2-shot\n4-shot\n\n1560.0\n1615.0\n1803.6\n\n14.0\n14.2\n13.8\n\n1.3\n1.3\n1.3\n\n0.5\n0.5\n0.5\n\n5. Conclusion\nWe introduced ANoCo, a training-free, energy-based\nframework that interprets anomaly as non-conformity to a\nfixed normal manifold rather than low similarity to individual exemplars. By constructing a bipartite query–reference\ngraph with anchor-driven retrieval and formulating anomaly\nscoring as anchored Laplacian energy minimization with\na closed-form solution, ANoCo avoids evidence-diluting\nquery–query and reference–reference interactions and instead measures how much each query patch must move to\nbecome compatible with normal data; the resulting featuredrift energy provides a physically interpretable anomaly\nscore and stable, fine-grained anomaly maps. Extensive experiments on MVTec-AD and VisA in the few-shot regime\nshow that ANoCo consistently improves image-level detection and pixel-level localization over baselines while remaining simple to deploy, requiring no additional training.\n\n\fAcknowledgments\nThis work was supported by Samsung Electronics Global\nTechnology Research, the Institute of Information and\ncommunications Technology Planning and evaluation\n(IITP) grant (No. RS-2025-25422680, No. RS-202525441560, No. RS-2020-II201373), and the National\nResearch Foundation of Korea (NRF) grant funded by\nthe Korea government (MSIT) (No. RS-2025-24533064).\n\nReferences\n[1] Leman Akoglu, Hanghang Tong, and Danai Koutra. Graph\nbased anomaly detection and description: a survey. Data\nmining and knowledge discovery, 2015. 3\n[2] Jaehyeok Bae, Jae-Han Lee, and Seyun Kim. Pni: industrial\nanomaly detection using position and neighborhood information. In ICCV, 2023. 2\n[3] Mikhail Belkin, Partha Niyogi, and Vikas Sindhwani. Manifold regularization: A geometric framework for learning\nfrom labeled and unlabeled examples. Journal of machine\nlearning research, 2006. 2, 3\n[4] Paul Bergmann, Michael Fauser, David Sattlegger, and\nCarsten Steger. Mvtec ad–a comprehensive real-world\ndataset for unsupervised anomaly detection. In CVPR, 2019.\n5\n[5] Niv Cohen and Yedid Hoshen. Sub-image anomaly detection with deep pyramid correspondences. arXiv preprint\narXiv:2005.02357, 2020. 1, 2, 5, 6, 8\n[6] Timothée Darcet, Maxime Oquab, Julien Mairal, and Piotr\nBojanowski. Vision transformers need registers. In ICLR,\n2024. 8\n[7] Thomas Defard, Aleksandr Setkov, Angelique Loesch, and\nRomaric Audigier. Padim: a patch distribution modeling\nframework for anomaly detection and localization. In ICPR,\n2021. 1, 2\n[8] Kaize Ding, Jundong Li, Rohit Bhanushali, and Huan Liu.\nDeep anomaly detection on attributed networks. In SDM,\n2019. 2\n[9] Alexey Dosovitskiy. An image is worth 16x16 words:\nTransformers for image recognition at scale. arXiv preprint\narXiv:2010.11929, 2020. 4\n[10] Wenzheng Feng, Jie Zhang, Yuxiao Dong, Yu Han, Huanbo\nLuan, Qian Xu, Qiang Yang, Evgeny Kharlamov, and Jie\nTang. Graph random neural networks for semi-supervised\nlearning on graphs. In NeurIPS, 2020. 2\n[11] Chaoqin Huang, Haoyan Guan, Aofan Jiang, Ya Zhang,\nMichael Spratling, and Yan-Feng Wang. Registration based\nfew-shot anomaly detection. In European conference on\ncomputer vision, 2022. 8\n[12] Jongheon Jeong, Yang Zou, Taewan Kim, Dongqing Zhang,\nAvinash Ravichandran, and Onkar Dabeer. Winclip: Zero/few-shot anomaly classification and segmentation. In\nCVPR, 2023. 1, 5, 6, 8, 2\n[13] Daniel S Kermany, Michael Goldbaum, Wenjia Cai, Carolina CS Valentim, Huiying Liang, Sally L Baxter, Alex\nMcKeown, Ge Yang, Xiaokang Wu, Fangbing Yan, et al.\n\nIdentifying medical diagnoses and treatable diseases by\nimage-based deep learning. cell, 2018. 8\n[14] Hwan Kim, Byung Suk Lee, Won-Yong Shin, and Sungsu\nLim. Graph anomaly detection with graph neural networks:\nCurrent status and challenges. IEEe Access, 2022. 2\n[15] TN Kipf. Semi-supervised classification with graph convolutional networks. In ICLR, 2017. 2\n[16] Joo Chan Lee, Taejune Kim, Eunbyung Park, Simon S Woo,\nand Jong Hwan Ko. Continuous memory representation for\nanomaly detection. In ECCV, 2024. 2\n[17] Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights\ninto graph convolutional networks for semi-supervised learning. In AAAI, 2018. 2\n[18] Xiaofan Li, Zhizhong Zhang, Xin Tan, Chengwei Chen,\nYanyun Qu, Yuan Xie, and Lizhuang Ma. Promptad: Learning prompts with only normal samples for few-shot anomaly\ndetection. In CVPR, 2024. 5, 6, 8, 2\n[19] Wei Luo, Yunkang Cao, Haiming Yao, Xiaotian Zhang,\nJianan Lou, Yuqi Cheng, Weiming Shen, and Wenyong Yu.\nExploring intrinsic normal prototypes within a single image\nfor universal anomaly detection. In CVPR, 2025. 5, 6, 8, 2\n[20] Takashi Matsubara, Kazuki Sato, Kenta Hama, Ryosuke\nTachibana, and Kuniaki Uehara. Deep generative model using unregularized score for anomaly detection with heterogeneous complexity. IEEETCYB. 3\n[21] Ori Nizan and Ayellet Tal. k-nnn: nearest neighbors of\nneighbors for anomaly detection. In WACV, 2024. 2\n[22] Zhen Peng, Minnan Luo, Jundong Li, Huan Liu, Qinghua\nZheng, et al. Anomalous: A joint modeling approach for\nanomaly detection on attributed networks. In IJCAI, 2018. 3\n[23] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya\nRamesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry,\nAmanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In ICML, 2021. 8\n[24] Karsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard\nSchölkopf, Thomas Brox, and Peter Gehler. Towards total\nrecall in industrial anomaly detection. In CVPR, 2022. 1, 2,\n5, 6, 8\n[25] Oriane Siméoni, Huy V Vo, Maximilian Seitzer, Federico\nBaldassarre, Maxime Oquab, Cijo Jose, Vasil Khalidov,\nMarc Szafraniec, Seungeun Yi, Michaël Ramamonjisoa,\net al. Dinov3. arXiv preprint arXiv:2508.10104, 2025. 4,\n5, 8, 1\n[26] Jianheng Tang, Jiajin Li, Ziqi Gao, and Jia Li. Rethinking graph neural networks for anomaly detection. In ICML,\n2022. 2, 3\n[27] Fenfang Tao, Guo-Sen Xie, Fang Zhao, and Xiangbo Shu.\nKernel-aware graph prompt learning for few-shot anomaly\ndetection. In AAAI, 2025. 2, 5, 6\n[28] Francesco Verdoja and Marco Grangetto. Graph laplacian for\nimage anomaly detection. Machine Vision and Applications,\n2020. 3\n[29] Chengjie Wang, Wenbing Zhu, Bin-Bin Gao, Zhenye Gan,\nJiangning Zhang, Zhihao Gu, Shuguang Qian, Mingang\nChen, and Lizhuang Ma. Real-iad: A real-world multi-view\ndataset for benchmarking versatile industrial anomaly detection. In CVPR, 2024. 2\n\n\f[30] Guoyang Xie, Jinbao Wang, Jiaqi Liu, Feng Zheng, and\nYaochu Jin. Pushing the limits of fewshot anomaly detection in industry vision: Graphcore. In ICLR, 2023. 1, 2\n[31] Jingyi Yuan, Jianxiong Ye, Wenkang Chen, and Chenqiang\nGao. Ad-dinov3: Enhancing dinov3 for zero-shot anomaly\ndetection with anomaly-aware calibration. arXiv preprint\narXiv:2509.14084, 2025. 3\n[32] Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In BMVC, 2016. 8\n[33] Tong Zhao, Chuchen Deng, Kaifeng Yu, Tianwen Jiang, Daheng Wang, and Meng Jiang. Error-bounded graph anomaly\nloss for gnns. In CIKM, 2020. 2\n[34] Jie Zhou, Ganqu Cui, Shengding Hu, Zhengyan Zhang,\nCheng Yang, Zhiyuan Liu, Lifeng Wang, Changcheng Li,\nand Maosong Sun. Graph neural networks: A review of\nmethods and applications. AI open, 2020. 2\n[35] Jiawen Zhu and Guansong Pang. Toward generalist anomaly\ndetection via in-context residual learning with few-shot sample prompts. In Proceedings of the IEEE/CVF conference on\ncomputer vision and pattern recognition, 2024. 8\n[36] Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. Beyond homophily in graph\nneural networks: Current limitations and effective designs.\nIn NeurIPS, 2020. 2\n[37] Yang Zou, Jongheon Jeong, Latha Pemula, Dongqing Zhang,\nand Onkar Dabeer. Spot-the-difference self-supervised pretraining for anomaly detection and segmentation. In ECCV,\n2022. 5\n\n\fAnomaly as Non-Conformity\nvia Training-Free Graph Laplacian Energy Minimization\nSupplementary Material\nTable of Contents\nS1.\n\nImplementation details . . . . . . . . . . . . . . . . . . . . . . . 11\n\nS2.\n\nAblation on the query feature stabilization coefficient Λq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11\n\nS3.\n\nGraph update strategies . . . . . . . . . . . . . . . . . . . . . . 11\n\nS4.\n\nAdditional details of non-conformity as anomaly evidence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12\n\nS5.\n\nEvaluation on Real-IAD dataset . . . . . . . . . . . . . . . 12\n\nS6.\n\nAdditional results . . . . . . . . . . . . . . . . . . . . . . . . . . . .13\n\nS7.\n\nPer-category performance and detailed visualization\n13\n\nS1. Implementation details\nBackbone, preprocessing, and post-processing. We use\nDINOv3-L/16 [25] as a frozen visual backbone and extract patch-level features from the 18-th Transformer block.\nAll input images are resized to 768 × 768 and normalized with mean (0.485, 0.456, 0.406) and standard deviation (0.229, 0.224, 0.225). The resulting anomaly map is\nfurther smoothed with a Gaussian filter with kernel size 7\nand σ = 0.8.\nInference-time augmentation. At test time, we apply geometric augmentation to both the query image and the fewshot reference images. For each reference image, we retain the original view and generate additional transformed\nviews using random horizontal flipping, random vertical\nflipping, and an affine transformation consisting of a rotation sampled from [−15◦ , −5◦ ] ∪ [5◦ , 15◦ ], a translation\nwithin ±2% of the image width and height, isotropic scaling in [0.95, 1.05], and shear sampled from [−5◦ , 5◦ ] along\nboth axes. We generate 25 paired augmented views and 5\nadditional reference-only augmented views for each reference image. For the paired views, the same transformation parameters are applied to both the query image and\nthe corresponding reference image, whereas the referenceonly views are used only to enrich the reference patch pool.\nDuring inference, anomaly maps from the augmented query\nviews are mapped back to the original image coordinates\nand aggregated using entropy-based confidence weighting.\nMemory usage. In the 1-shot setting on a single NVIDIA\nRTX 3090 GPU, the maximum memory usage was approximately 10 GB when augmentation was enabled and 2 GB\nwhen augmentation was disabled.\n\nFigure S1. Performance trend of ANoCo with respect to Λq in\nthe 1-shot setting.\n\nS2. Ablation on the query feature stabilization\ncoefficient Λq\nWe analyze the effect of the query feature stabilization coefficient Λq in Figure S1. We sweep Λq ∈\n{10−24 , 0.01, 0.1, 1, 10, 100} and observe that ANoCo consistently outperforms all baselines across all values of Λq on\nevery dataset. The overall performance curves are relatively\nflat, indicating that ANoCo is robust to the exact choice of\nΛq and does not require delicate tuning of this coefficient.\nAt the same time, some datasets exhibit small additional\ngains for moderate values of Λq (e.g., around Λq = 1), suggesting that query feature stabilization can be exploited as\nan optional degree of freedom when further fine-tuning is\ndesired.\n\nS3. Graph update strategies\nTable S1 presents an ablation study on graph update strategies under the 1-shot setting. We compare the proposed\nquery optimization via energy minimization with a trainingfree message-passing alternative. For message passing,\nwe perform iterative propagation using cosine-similaritybased edge weights, which are identical to those used in\n\n\fFigure S2. Failure cases on Real-IAD in the 1-shot setting.\n\nTable S1. Ablation study on graph update strategies under the\n1-shot setting. We compare message passing with our energy minimization approach.\nMVTec-AD\n\nRound\n\nVisA\n\nAUROC\n\npAUROC\n\nAUROC\n\npAUROC\n\n1\n2\n3\n4\n5\n\n87.7\n82.7\n82.4\n82.4\n82.4\n\n93.7\n92.2\n92.2\n92.2\n92.2\n\n67.5\n65.1\n65.6\n65.3\n65.6\n\n95.3\n93.3\n93.3\n93.3\n93.2\n\nANoCo (Ours)\n\n97.9\n\n97.7\n\n92.7\n\n98.7\n\ndifferences between them are relatively small. However, the\nproduct form provides a small but consistent improvement\nover using either term alone. This suggests that ANoCo\ndoes not rely on a carefully tuned or dataset-specific nonconformity formulation, while the chosen energy yields a\nslightly stronger separation between normal and anomalous\nregions.\nTable S3. Comparison of anomaly detection and localization\nperformance on Real-IAD dataset under different few-shot\nsettings.\n\n# refs\n\nMethod\n\nReal-IAD [29]\nAUROC pAUROC\n\nthe energy-minimization formulation.\nWe evaluate message passing with 1 to 5 propagation\nrounds. As the number of rounds increases, message passing does not yield consistent improvements in anomaly discrimination, making the choice of the optimal number of\nrounds non-trivial. In contrast, the energy-minimization\nstrategy of ANoCo achieves consistently stronger and more\nstable performance across both datasets than the messagepassing variants.\nTable S2. Ablation study of various ANoCo non-conformity metrics under the 1-shot setting.\n\nMetric\nL2\nCos-dis\nEq. 10\n\nMVTec-AD\n\nVisA\n\nAUROC\n\npAUROC\n\nAUROC\n\npAUROC\n\n97.6\n97.7\n97.9\n\n97.6\n97.6\n97.7\n\n92.7\n92.4\n92.7\n\n98.7\n98.6\n98.7\n\nS4. Additional details of non-conformity as\nanomaly evidence\nWe additionally compare three candidates for the patchwise\nnon-conformity energy Ei used as anomaly evidence: pure\nEuclidean energy ∥f̃iq − fiq ∥22 , pure cosine dissimilarity (1 −\ncos(f̃iq , fiq )), and their product ∥f̃iq − fiq ∥22 (1 − cos(f̃iq , fiq ))\nas adopted in Equation 10 in Table S2. All three options\nconsistently outperform the baselines, and the performance\n\nSPADE [5]\nPatchCore [24]\nWinCLIP [12]\n1-shot\nPromptAD [18]\nINP-Former [19]\n\n51.2\n59.3\n69.4\n52.2\n67.5\n\n59.5\n89.6\n91.9\n84.9\n94.9\n\nANoCo (Ours)\n\n65.4\n\n93.4\n\nSPADE [5]\nPatchCore [24]\nWinCLIP [12]\n2-shot\nPromptAD [18]\nINP-Former [19]\n\n50.9\n63.3\n70.9\n57.7\n70.6\n\n59.5\n92.0\n93.2\n86.4\n96.0\n\nANoCo (Ours)\n\n77.3\n\n97.1\n\nSPADE [5]\nPatchCore [24]\nWinCLIP [12]\n4-shot\nPromptAD [18]\nINP-Former [19]\n\n50.8\n66.0\n73.0\n59.7\n76.7\n\n59.5\n92.9\n93.8\n86.9\n97.3\n\nANoCo (Ours)\n\n83.8\n\n98.3\n\nS5. Evaluation on Real-IAD dataset\nIn this section, we evaluate ANoCo on the Real-IAD [29]\ndataset, and report the results in Table S3, complementing\n\n\fthe MVTec-AD and VisA results in the main paper. RealIAD consists of 30 object categories, with 36,645 normal\nimages for training and a test set of 63,256 normal images and 51,329 anomalous images. ANoCo shows strong\nperformance in the 2-shot and 4-shot settings, significantly\noutperforming the baseline. We also analyze failure cases\nand observe that, in the 1-shot setting, ANoCo can misclassify previously unseen but normal variations as anomalies. This issue is particularly pronounced on Real-IAD\ndue to the large viewpoint variation in query images (Figure S2). However, with more reference images, ANoCo can\nbetter capture the normal manifold, resulting in strong performance in the 2-shot and 4-shot settings.\nTable S4. Pixel-level AUROC comparison with AD-DINOv3.\n\nMethod\n\nMVTec-AD VisA\n\nAD-DINOv3 [31]\nANoCo (Ours)\n\n91.6\n97.7\n\n95.6\n98.7\n\nTable S5. Preliminary generality analysis with WinCLIP on\nMVTec-AD under the 1-shot setting.\n\nMethod\nWinCLIP\nWinCLIP + ANoCo (Ours)\n\nMVTec-AD\nAUROC\n\nAP\n\n93.1\n93.8\n\n96.5\n97.1\n\nS6. Additional results\nGenerality. ANoCo is training-free and can be used with\ndifferent visual feature extractors, but it is not intended as\na fully plug-and-play post-processing framework. Rather, it\nserves as an alternative to retrieval- or similarity-based fewshot anomaly detection methods. As a preliminary observation, Table S5 shows that the proposed graph optimization\nmodule can also be applied to another baseline, WinCLIP.\nComparison with AD-DINOv3. AD-DINOv3 [31] uses\nboth DINOv3 and CLIP and requires training on both\nanomalous and normal samples from external datasets. In\nthis work, we focus on a setting where only few-shot normal\nsamples within the same dataset are available. Regardless,\nwe compare against the reported results of AD-DINOv3,\nwhere ANoCo is shown to outperform in Table S4.\n\nS7. Per-category performance and detailed visualization\nTable S6 reports per-category anomaly detection and localization results on MVTec-AD under the 1-shot setting, pro-\n\nTable S6. Per-category anomaly detection and localization performance of ANoCo on MVTec-AD in the 1-shot setting.\nImage-level\n\nCategory\n\nPixel-level\n\nAUROC AUPR F1-MAX AUROC PRO F1-MAX\nTexture\ncarpet\ngrid\nleather\ntile\nwood\n\n99.8\n100.0\n100.0\n100.0\n98.6\n\n99.9\n100.0\n100.0\n100.0\n99.5\n\nMean\n\n99.6\n\n99.8\n\n100.0\n100.0\n100.0\n100.0\n97.5\n\n99.6\n99.5\n99.3\n98.1\n97.0\n\n98.7\n96.7\n98.2\n95.8\n96.1\n\n76.9\n60.3\n46.5\n75.1\n70.4\n\n99.5\n\n98.7\n\n97.1\n\n65.8\n\nObject\nbottle\ncable\ncapsule\nhazelnut\nmetal nut\npill\nscrew\ntoothbrush\ntransistor\nzipper\n\n99.9\n96.0\n93.8\n98.2\n100.0\n96.5\n89.7\n100.0\n96.7\n99.4\n\n99.9\n97.9\n98.6\n99.0\n100.0\n99.2\n96.8\n100.0\n96.1\n99.8\n\n99.2\n93.6\n93.9\n97.1\n100.0\n97.5\n88.5\n100.0\n88.6\n98.7\n\n98.7\n97.0\n98.8\n99.6\n95.5\n95.0\n98.4\n99.3\n90.9\n99.3\n\n97.0\n93.6\n97.4\n95.5\n94.8\n97.8\n93.5\n97.2\n80.6\n97.6\n\n78.1\n72.3\n57.5\n81.2\n70.1\n47.9\n53.2\n66.2\n48.6\n68.8\n\nMean\n\n97.0\n\n98.7\n\n95.7\n\n97.2\n\n94.5\n\n64.3\n\nOverall Mean\n\n97.9\n\n99.1\n\n96.9\n\n97.7\n\n95.4\n\n64.9\n\nviding a more fine-grained view beyond the dataset-level\naverages reported in the main paper. We also include detailed visualizations to further illustrate category-wise behavior and qualitative characteristics.\n\n\fTexture\nCategory\n\nCarpet\nColor\n\nGrid\nCut\n\nLeather\nFold\n\nTile\nGlue\n\nWood\nPoke\n\nReference\n\nQuery\nimage\n\nGT mask\n\nAnomaly\nmap\n\nObject\nCategory\n\nBottle\n\nCable\n\nCapsule\n\nHazelnut\n\nMetal nut\n\nPill\n\nScrew\n\nToothbrush\n\nTransistor\n\nReference\n\nQuery\nimage\n\nGT mask\n\nAnomaly\nmap\n\nFigure S3. Qualitative visualization of anomaly localization results on MVTec-AD under the 1-shot setting.\n\nZipper\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"