"<!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>Published as a conference paper at ICLR 2026\n\nJUDO: A J UXTAPOSED D OMAIN -O RIENTED M ULTI MODAL R EASONER FOR I NDUSTRIAL A NOMALY QA\nHyunju Kang1,∗ Woohyun Lee1,∗ Jaewon Kim2 Hogun Park1,†\nSungkyunkwan University 2 Seoul National University\n{neutor, woodavid31}@skku.edu\n{neoblue95}@snu.ac.kr, {hogunpark}@skku.edu\n\narXiv:2605.20284v1 [cs.CV] 19 May 2026\n\n1\n\nA BSTRACT\nIndustrial anomaly detection has been significantly advanced by Large Multimodal Models (LMMs), enabling diverse human instructions beyond detection,\nparticularly through visually grounded reasoning for better image understanding. However, LMMs lack domain-specific knowledge, which limits their ability to generate accurate responses in complex industrial scenarios. In this work,\nwe present JUDO, Juxtaposed Domain-Oriented Multimodal Reasoner, a framework that efficiently incorporates domain knowledge and context in visual and\ntextual reasoning. Through visual reasoning, our model segments the defect region by juxtaposing query images with normal images as visual domain context,\nenabling a fine-grained visual comparative inspection. Furthermore, we inject domain knowledge through supervised fine-tuning (SFT) to enhance context understanding and subsequently guide domain reasoning through reinforcement learning (GRPO) with tailored rewards, opting for a domain-oriented reasoning process. Experimental results demonstrate that JUDO achieves superior performance\non the MMAD benchmark, surpassing models such as Qwen2.5-VL-7B and GPT4o. These results highlight the importance of enhancing domain knowledge and\ncontext for effective reasoning in anomaly understanding.\n\n1\n\nI NTRODUCTION\n\nVisual anomaly detection (Jiang et al., 2025; Xu et al., 2025), which aims to identify anomaly patterns from images in industrial environments, has evolved significantly with the emergence of Large\nMultimodal Models (LMMs) (Hurst et al., 2024; Bai et al., 2025; Wang et al., 2025). Although most\nanomaly patterns are typically domain-specific, current LMMs have demonstrated reasonable generalization capabilities in complex industrial environments, as shown by the MMAD benchmark (Jiang\net al., 2025). Building upon this foundation, recent models such as AnomalyR1 (Chao et al., 2025)\nand OmniAD (Zhao et al., 2025) have employed Group Relative Policy Optimization (GRPO) (Shao\net al., 2024) to further advance multimodal anomaly detection. Specifically, AnomalyR1 is the first\nto introduce GRPO training into anomaly detection tasks, while OmniAD advances this approach\nby integrating anomaly segmentation to enable visual grounded reasoning.\nDespite these advances, current GRPO-based models (Chao et al., 2025; Zhao et al., 2025) primarily\noptimize instruction-response matching, overlooking the incorporation of domain knowledge essential for generalizable defect reasoning. Such domain knowledge typically encompasses characteristics of normal and defect samples expressed in textual form, including their definitions, causes,\nand consequences, which serve as essential priors for reliable defect analysis. In addition, normal\nimages serve as visual context, providing references for distinguishing normality from anomaly.\nHowever, such knowledge and visual context are often highly specialized and rarely encountered\nduring LMM pretraining, making reasoning based solely on their inherent knowledge insufficient.\nRecent studies (Jiang et al., 2025) have demonstrated that providing external knowledge or normal samples (Zhao et al., 2026) as context in prompts during inference can alleviate this limitation.\nHowever, providing knowledge and context only at inference time remains limited when LMMs lack\n∗\n†\n\nEqual contribution.\nCorresponding author.\n\n1\n\n\fPublished as a conference paper at ICLR 2026\n\nsufficient internal knowledge, as they may become overly dependent on external context, leading to\nmisaligned responses that prioritize contextual plausibility over accuracy. This limitation ultimately\nstems from insufficient internalized domain knowledge and contextual understanding, hindering reliable and accurate domain-oriented reasoning.\nTo address this challenge, we propose JUDO, Juxtaposed Domain-Oriented Multimodal Reasoner,\nthe first approach that systematically internalizes domain knowledge for industrial anomaly detection through learning. Unlike prior GRPO-based models that employ post-training without domain alignment, JUDO unifies domain understanding across visual grounding and textual reasoning. Our framework begins in Stage 1 by establishing visual reasoning through juxtaposed segmentation learning by comparing normal and defect images. This approach leverages the underexplored potential of normal samples, which typically serve only as optional context in inference, while\nJUDO incorporates it in a core reasoning context during training. In Stage 2, we enhance domainoriented textual reasoning by injecting domain knowledge into model parameters, in contrast to\nprior work (Jiang et al., 2025) that introduces textual domain knowledge externally via prompts.\nThis stage builds foundational domain knowledge for industrial anomaly reasoning, yielding more\nreliable domain-aligned reasoning. Finally, Stage 3 unifies visual grounding and domain semantics\nthrough reinforcement learning (GRPO) (Shao et al., 2024), using rewards for domain reasoning,\nsegmentation, choice accuracy, and structural alignment rewards to ensure that the model produces\naccurate domain-aware anomaly understanding.\nExtensive experiments on the industrial anomaly detection benchmark MMAD (Jiang et al., 2025)\ndemonstrate the effectiveness of our approach. JUDO achieves superior performance, showing that\njointly learning domain knowledge and visually grounded reasoning substantially improves industrial anomaly understanding. Beyond accuracy gains, JUDO enhances reliability and explainability\nby grounding predictions in localized defect regions through anomaly segmentation and aligning\nreasoning with domain-specific knowledge. This unified training enables interpretable and visually verifiable decision-making while maintaining strong performance across diverse defect-related\ntasks. The implementation of JUDO is publicly available.1\nWe summarize our contributions as follows:\n• We propose JUDO, the first approach to systematically internalize domain knowledge and\ncontext into both visual and textual reasoning for industrial anomaly understanding.\n• We present a unified framework that builds domain understanding through visual segmentation and textual knowledge internalization. We integrate these capabilities via reinforcement learning with our domain-aligned reward designs.\n• Through comprehensive experiments, we demonstrate that JUDO achieves superior performance over prior GRPO-based models, while improving explainability through anomalygrounded segmentation and enhancing reliability via domain-aligned reasoning for realworld industrial scenarios.\n\n2\n\nR ELATED W ORK\n\n2.1\n\nL ARGE M ULTIMODAL M ODELS (LMM S )\n\nRecent Large Multimodal Models (LMMs) have advanced visual understanding through highquality instruction tuning (Hurst et al., 2024; Bai et al., 2025; Chen et al., 2024; Kimi Team et al.,\n2025; Comanici et al., 2025), stronger cross-modal architectures (Wang et al., 2025; Agrawal et al.,\n2024b), and more sophisticated training pipelines (Xiaomi et al., 2025; Deitke et al., 2025). Most\nmultimodal models now support multi-image inputs (Xiaomi et al., 2025), with GPT-4o (Hurst\net al., 2024), GPT-5 (Singh et al., 2025), the Gemini-2.5 model (Comanici et al., 2025), and InternVL3.5 (Wang et al., 2025) demonstrating improved reasoning performance through cross-image\ncomparison. However, the majority of these models (Hurst et al., 2024; Comanici et al., 2025; Bai\net al., 2025; Wang et al., 2025) remain optimized for common question–answering tasks grounded\nin general knowledge. Consequently, their reasoning performance drops noticeably in specialized\napplication domains, where domain knowledge is critical.\n1\n\nCode available at https://github.com/woodavid31/JUDO\n\n2\n\n\fPublished as a conference paper at ICLR 2026\n\n2.2\n\nI NCORPORATING D OMAIN K NOWLEDGE INTO LMM S\n\nTo address the demand for specialized knowledge for LMMs (Song et al., 2025), specifically in\nfields such as finance (Qian et al., 2025), biomedicine (Liu et al., 2025b), education (Agrawal et al.,\n2024a), and materials (Prabhakar et al., 2025), researchers have actively studied how to integrate\ndomain-specific expertise into LMMs. Most approaches fall into two categories: dynamic injection\nand learning-based integration through pretraining or fine-tuning. Dynamic injection-based methods\nprovide the external knowledge in a similar way to RAG (Zhao et al., 2026) at inference time without\nadditional training; their effectiveness is highly dependent on retrieval quality. In contrast, learningbased methods encode the domain knowledge into the model’s parameters. However, this line of\nwork remains underexplored for industrial anomaly understanding.\n2.3\n\nI NDUSTRIAL A NOMALY D ETECTION AND LMM S\n\nVisual anomaly detection in industrial settings has evolved significantly with deep learning. Early\nand still widely used methods are often unsupervised, focusing on learning a model of normal data and identifying deviations (Li et al., 2025; Bergmann et al., 2021). These include\nreconstruction-based methods using autoencoders or GANs, where high reconstruction error signals an anomaly (An &amp; Cho, 2015; Schlegl et al., 2017), and embedding-based methods, which map\nnormal samples to a tight cluster in a feature space (Roth et al., 2022; Defard et al., 2021). While\neffective for detection and localization on benchmarks like MVTec AD (Bergmann et al., 2019),\nthese approaches typically do not provide defect analysis for their predictions.\nThe advent of LMMs has introduced a new paradigm that enables comprehensive defect analysis. Rather than simply detecting anomalies, LMMs can now respond to diverse analytical queries\nabout defect characteristics—such as identifying defect types, describing their visual appearance,\nand analyzing their potential consequences. To facilitate research in this area, a MMAD benchmark (Jiang et al., 2025) has been presented, providing a suite for evaluating an LMM’s reasoning\nabilities on industrial anomaly problems. Meanwhile, several works have recently applied LMMs\nto this challenge. AnomalyGPT (Gu et al., 2024) was an early method using LMMs for zeroshot anomaly detection and generating descriptive reports. More recently, a few methods employ\nreinforcement learning to improve reasoning quality. AnomalyR1 (Chao et al., 2025) incorporates\nGroup Relative Policy Optimization (GRPO) (Shao et al., 2024) to refine its reasoning. Furthermore,\nOmniAD (Zhao et al., 2025) unifies the anomaly segmentation and anomaly reasoning problem for\nfine-grained defect understanding.\n\n3\n\nM ETHOD\n\nOur proposed model, JUDO, is a domain-oriented multimodal reasoner for industrial anomaly understanding. The main claim of JUDO is that domain knowledge and contextual information fundamentally matter in industrial anomaly understanding, yet this approach remains underexplored and\nnon-trivial. In this direction, our core contribution is a unified learning objective in which comparative visual reasoning and domain semantics fuse together into the domain-aligned reasoning\nprocess, described in Figure 1. The first stage introduces a comparative reasoning ability between\nquery and normal images for patch-level segmentation, then the second stage internalizes textual domain knowledge into model parameters, and the final stage unifies the visual grounding and domain\nsemantics using GRPO-based optimization with tailored reward designs. The following subsections detail each training stage, with the corresponding dataset construction process described in\nAppendix A.\n3.1\n\nS TAGE 1: L EARNING A NOMALY S EGMENTATION -BASED J UXTAPOSED R EASONING\n\nFor reliable and fine-grained visual reasoning, we employ anomaly segmentation to pinpoint defect\nregions and integrate this capability into the reasoning process. To encompass proper domain visual\ncontext, we propose the juxtaposed reasoning paradigm that explicitly compares defective images\nagainst their normal samples during training. While most existing segmentation methods achieve\nreasonable performance by directly predicting the target regions, the lack of clear reasoning criteria\nfor anomaly judgment limits segmentation performance in defect detection. Additionally, although\n3\n\n\fPublished as a conference paper at ICLR 2026\n\nFigure 1: Overview of JUDO (Juxtaposed Domain-Oriented Multimodal Reasoner). The framework\nprogresses in three stages: (1) Stage 1: Learning anomaly segmentation-based juxtaposed reasoning,\n(2) Stage 2: Domain-knowledge injection, and (3) Stage 3: Domain-oriented group relative policy\noptimization. Through the progressive stages, we incorporate the domain knowledge and context\ninto LMMs for reliable and robust anomaly analysis.\nusing normal images as contextual reference has become common practice during inference (Jiang\net al., 2025), how to efficiently harness this comparative context to enable explicit reasoning of\ndefects during training has yet to be addressed. Our comparative training paradigm shifts the objective from a simple pattern memorization to a fine-grained juxtaposed reasoning, enabling the model\nto internalize a more generalized and fundamental notion of normality as a baseline for anomaly\nunderstanding.\nInspired by text-based segmentation approaches, such as Text4Seg (Lan et al., 2025; Zhao et al.,\n2025), the model is trained to output the coordinates of anomalous patches within a 16×16 grid\nthrough SFT (Ouyang et al., 2022). The instruction is given to describe the anomaly region and explain the visual evidence by comparing query images with normal samples as juxtaposed reasoning.\nFor instance, a defect region is represented as a textual sequence such as (11,12)-(11,14), (12,11),\npinpointing specific patches that deviate from the norm, including juxtaposed explanations. This\nformat compels the model to perform a direct, patch-level juxtaposition, moving beyond a general\ncomparison to a fine-grained recognition of differences against the normal template. This spatial\ngrounding is crucial, as it forces the reasoning process to be tied to specific visual evidence, making\nthe subsequent textual explanation more accurate and reliable.\nDataset Construction. We construct a training dataset for juxtaposed fine-grained anomaly segmentation. We utilize only one image from each defect category in the MMAD dataset, and additionally, incorporate the REAL-IAD (Wang et al., 2024) dataset for more generalized segmentation\ncapability. As illustrated in Figure 6 of the Appendix, each anomalous query image is paired with a\nrandomly sampled normal template from the same object category. The model is then trained to generate a dual-part response from this pairing: first, a textual sequence of patch coordinates between\n&lt;seg&gt;&lt;/seg&gt; tags that serves to ground the explanation by identifying the anomalous region,\nand second, a corresponding comparative explanation within &lt;think&gt;&lt;/think&gt; tags, which is\nsynthetically generated to describe the defect by contrasting the two images, given the anomalous\nregion bounded by a red line and the defect type.\n3.2\n\nS TAGE 2: D OMAIN - KNOWLEDGE I NJECTION\n\nWhile Stage 1 equips the model with comparative reasoning ability using normal images as the domain context, it primarily focuses on visual reasoning processes. However, the model still lacks\nsufficient domain knowledge for industrial anomaly problems. As a result, the model struggles to\ndeliver accurate textual reasoning and often fails to derive correct solutions without proper foun4\n\n\fPublished as a conference paper at ICLR 2026\n\ndational knowledge. To address this limitation, we inject the domain knowledge (Mecklenburg\net al., 2024) by constructing domain QA datasets and employing supervised fine-tuning (SFT). This\napproach differs from conventional supervised learning that directly trains on correct answers to\nqueries in the MMAD dataset, as it focuses on supervised learning of domain knowledge that may\nnot directly correspond to specific instructions but provides foundational knowledge essential for\nsolving related problems. Through supervised fine-tuning on the domain QA dataset, the model\nacquires a more generalizable understanding of how domain knowledge applies across different object categories and defect types. This enhanced understanding forms the basis for Stage 3, where\nreinforcement alignment further refines the precision and reliability of domain reasoning.\nDataset Construction. We generate question–answer pairs using the raw domain snippets provided\nin MMAD (Jiang et al., 2025). Each snippet contains an unstructured textual description of the characteristics of an object category and its associated defect types, and serves as a textual knowledge\nsource for constructing the Stage 2 dataset (see Table 4 in the Appendix). Specifically, we prompt\nGPT-4o to reflect inspection knowledge from the unstructured domain snippet into structured QA\npairs —for example, questions related to defect criteria, functional implications (e.g., “What criteria\nindicate that the fabric border is defective?” or “Why is detecting loose threads important for product reliability?”). These questions are derived purely from the textual information in the snippet and\nare not tied to any specific anomalous image sample. To improve robustness, each QA is further\nparaphrased into multiple semantically consistent but lexically diverse variants. We show a more\ndetailed data construction process in Section A. Finally, every QA instance is paired with a normal image from the corresponding object category, grounding the textual domain knowledge in its\nobject-level visual context and naturally prompting the model to recall relevant domain knowledge\nduring reasoning. We provide examples of the generated QA pairs in Section B.2.\n3.3\n\nS TAGE 3: D OMAIN -O RIENTED G ROUP R ELATIVE P OLICY O PTIMIZATION\n\nThe final stage of our framework, Stage 3, is designed to elevate the model’s capabilities in the visual\nand textual domain-oriented reasoning, mainly obtained from prior stages. While Stage 1 builds a\nfoundation in visual juxtaposed reasoning and Stage 2 internalizes textual domain knowledge, these\nskills are not yet integrated. Thus, we employ Group Relative Policy Optimization (GRPO) (Shao\net al., 2024), which is a reinforcement learning method that optimizes policies by comparing relative performance within groups of trajectories for better generalization. We design GRPO policies\nto align the model’s behavior, ensuring that the final output is a seamless integration of accurate\nvisual grounding and deep domain understanding. This alignment is guided by multi-faceted reward\nfunctions that provide a comprehensive feedback signal, composed of three primary components.\nWe explain each policy with respect to reward functions as follows.\nDomain Reasoning Reward. The primary objective of the Domain Reasoning Reward is to guide\nthe reasoning process presented within the &lt;think&gt;&lt;/think&gt; tags toward aligning with the\ndomain-oriented reasoning process, specifically queries targeting the MMAD benchmark. Since\nthere is no ground-truth for each instruction encompassing domain knowledge and context for\nMMAD datasets, we generate the pseudo-domain rationale for the 1-shot train split using GPT-4o,\nproviding full contexts such as the query, correct answer, images including normal reference, juxtaposed reasoning from Stage 1 pipeline, and relevant domain knowledge. We treat this generated\npseudo-domain rationale as the semantic target and design the policy to guide domain-oriented direction. Specifically, we define the reward, Rdomain , using the cosine similarity between the embedding vectors of the model’s generated reasoning as Egen and a pseudo-domain rationale denoted as\nEpdomain using the representation space of all-MiniLM-L6-v2 SentenceTransformer (Reimers\n&amp; Gurevych, 2019) model, which effectively encodes the semantic meaning of one or multiple sentences, denoted as ϕ(·). This reward mechanism is formalized as:\nRdomain = λ ·\n\nϕ(Egen ) · ϕ(Epdomain )\n.\n∥ϕ(Egen )∥ ∥ϕ(Epdomain )∥\n\n(1)\n\nThe domain reasoning reward leverages semantic similarity to align the model’s reasoning with a\nreference rationale that is grounded strictly in the provided evidence. The pseudo-domain rationale\nreorganizes the inputs without introducing new knowledge, ensuring that GPT-4o serves only as an\nevidence structurer. This reward differs from typical GRPO settings that emphasize answer correct5\n\n\fPublished as a conference paper at ICLR 2026\n\nness or output format, since it directly encourages consistent domain-oriented reasoning patterns\nwhile remaining flexible to the phrasing of the generated explanation.\nSegmentation Reward. This reward evaluates the spatial precision of the anomaly patch coordinates generated within the &lt;seg&gt;&lt;/seg&gt; tags through F1 score calculation (Zhao et al., 2025),\nreinforcing the skill developed in Stage 1. A reward of 0 is immediately assigned for any improperly\nformatted coordinate strings. For validly formatted outputs, the reward function compares the set of\npredicted grid cells (P) against the ground-truth set (PG ) using the following piecewise function:\n\nif P = ∅ and PG = ∅,\n1.0\nRseg = 0.2 + 0.8 · F1(P, PG ) if P ̸= ∅ and PG ̸= ∅,\n(2)\n\n0.0\notherwise.\nThis formulation incentivizes not only high-overlap localization but also correct format adherence\nand accurate identification of anomaly-free instances, penalizing cases where only one set is empty.\nChoice and Structural Alignment Reward. This composite reward ensures correct, wellstructured, and logically sound output through three components (Shao et al., 2024): (1) Choice\nReward rewards correct multiple-choice selection within &lt;answer&gt;&lt;/answer&gt; tags to promote accurate decision-making; (2) Format Reward ensures adherence to the required format as\n&lt;seg&gt;...&lt;think&gt;...&lt;answer&gt; structure, ensuring the structure of responses is consistent\nand parsable; and (3) Reasoning Structure Reward encourages both the conclusive answer within\nthe reasoning and final answer to be correct while penalizing answer choices mentioned in the first\nhalf of reasoning text, preventing premature commitment.\n\n4\n\nE XPERIMENTS\n\n4.1\n\nE XPERIMENTAL S ETUP\n\nDatasets and Benchmarks. We evaluate our approach on the MMAD benchmarks (Jiang\net al., 2025), which integrate four datasets: MVTec AD (Bergmann et al., 2019), MVTec\nLOCO (Bergmann et al., 2022), VisA (Zou et al., 2022), and GoodsAD (Zhang et al., 2024) datasets,\nwith multiple-choice QA covering seven key subtasks. We report averaged accuracy as the evaluation metric, computed as the ratio of correct predictions to the total number of predictions. For Stage\n1, we sample 10 instances from each category in the Real-IAD dataset (Wang et al., 2024) together\nwith one instance per category from MMAD, yielding 1.4k and 293 images, respectively. In Stage\n2, we construct a domain-specific QA corpus by leveraging the MMAD domain knowledge JSON\nfiles. For each category, we generate 30 unique questions and augment them with two paraphrased\nvariants, resulting in approximately 13k QA pairs. Finally, Stage 3 applies GRPO using a sparse\nsampling strategy, where only one training instance per category from MMAD—identical to the\nsamples used in Stage 1—is utilized, yielding 1.4k QA pairs for reinforcement alignment.\nImplementation Details. Our framework is built on PyTorch 2.5.1 with Hugging Face Transformers and the TRL GRPO trainer. We use Qwen2.5-VL-7B as the base model, initialized from a\nvision–language pre-trained checkpoint. Training runs on a single node with 4×NVIDIA H200\nGPUs using torchrun and DeepSpeed ZeRO-3. For Stage 1 and Stage 2, we train for 8 and 2\nepochs, respectively, using learning rates of 1 × 10−6 and 5 × 10−7 in bf16 precision. For GRPO,\nwe use 16 generations per prompt, a batch size of 8, and train for 14 epochs in bf16 precision.\nAdditionally, we set the domain reasoning reward coefficient λ = 0.1 to avoid over-emphasizing\nsemantic similarity to the pseudo-domain rationale, ensuring that it acts as a soft alignment signal\nrather than dominating the multi-reward optimization.\nBaselines and Inference Settings. We benchmark JUDO against leading general-purpose models\nsuch as Qwen2.5-VL, InternVL3.5, and various commercial models. Our primary industrial specialized baseline is AnomalyR1 (Chao et al., 2025); another recent method, OmniAD (Zhao et al.,\n2025), was not included because its public codebase was unavailable as of February 2026. For consistency with JUDO’s architecture, we re-implemented the AnomalyR1 approach on a Qwen2.5-VL\n7B model using the author’s provided code and our sampled dataset. The result is referred to as the\nAnomalyR1 in Table 1 and the Base GRPO model in our ablation study in Section 4.3. All models\nare evaluated under a strict 1-shot inference protocol in the same way as MMAD, using both a query\nimage and a normal template as input to ensure a fair comparison.\n6\n\n\fPublished as a conference paper at ICLR 2026\n\nTable 1: Performance comparison of both commercial and open-source LMMs in MMAD with the\nstandard 1-shot setting. Anomaly Discrimination uses the average accuracy (%) across the normal\nand abnormal categories. The best scores are highlighted in bold, while the second best are underlined. * indicates the best performance among the open-source models.\nModel\n\nScale\n\nAnomaly\nDiscrimination\n\nClassification\n\nRandom Chance\n\n-\n\n50.00\n\n25.00\n\n25.00\n\n25.00\n\n25.00\n\n25.00\n\n25.00\n\n28.57\n\nHuman (expert)\nHuman (ordinary)\n\n-\n\n95.24\n86.90\n\n75.00\n66.25\n\n92.31\n85.58\n\n83.33\n71.25\n\n94.20\n81.52\n\n86.11\n89.58\n\n80.37\n69.72\n\n86.65\n78.69\n\nClaude-3.5-sonnet\nGemini-1.5-pro\nGemini-2.5-pro\nGemini-2.5-flash\nGPT-4o\nGPT-5-mini\n\n-\n\n60.14\n68.63\n83.07\n93.38\n68.63\n64.10\n\n60.14\n60.12\n73.86\n69.88\n65.80\n67.35\n\n48.81\n58.56\n67.20\n63.30\n55.62\n69.07\n\n67.13\n70.38\n79.97\n76.41\n73.21\n79.02\n\n79.11\n82.46\n86.27\n81.57\n83.41\n86.72\n\n85.19\n89.20\n94.88\n94.04\n94.98\n93.96\n\n79.83\n82.25\n83.08\n82.00\n82.80\n83.37\n\n68.36\n73.09\n81.19\n80.08\n74.92\n77.65\n\nQwen2.5-VL\nLLaVA-OneVision\nInternVL3.5\nKimi-VL-A3B\nMiMo-VL\nAnomalyR1\n\n7B\n7B\n8B\n16B\n8B\n7B\n\n71.39\n51.77\n67.50\n72.93*\n54.45\n60.93\n\n54.35\n46.13\n49.37\n53.49\n59.56\n64.81\n\n61.17\n41.85\n57.90\n59.66\n60.77\n70.72\n\n65.81\n62.19\n58.07\n72.39\n71.50\n79.06\n\n79.32\n69.73\n77.66\n81.74\n78.48\n85.52\n\n91.44\n90.31\n72.01\n91.91\n90.56\n93.12\n\n84.43\n80.93\n81.11\n85.89\n81.60\n86.91\n\n72.56\n63.27\n66.30\n74.00\n70.99\n77.29\n\nJUDO\n\n7B\n\n65.04\n\n74.74*\n\n73.01*\n\n84.56*\n\n89.41*\n\n94.04*\n\n87.58*\n\n81.20*\n\n4.2\n\nDefect\nLocalization Description\n\nAnalysis\n\nObject\nClassification Analysis\n\nAverage\n\nE XPERIMENTAL RESULTS\n\nTable 1 presents a comparison of our model with both general-purpose LMMs and the anomalyfocused baseline, such as AnomalyR1. JUDO achieves strong performance across the MMAD seven\nsubtasks, reaching the highest overall averaged accuracy of 81.20%. Advantages of JUDO are particularly evident across the four defect-related subtasks: classification, localization, description, and\nanalysis. Since these tasks critically depend on domain-specific knowledge, the performance gains\nhighlight the effectiveness of incorporating domain knowledge in reasoning through our progressive\nstages. Specifically, Stage 1 establishes a strong foundation by using juxtaposed segmentation training to foster fine-grained comparative analysis, which directly boosts defect localization to 73.01%\n(from 61.17% for the base Qwen). This visual grounding is then enriched in Stage 2, where the\nintegration of domain-specific knowledge provides the conceptual basis needed for accurate explanations, as seen in the 84.56% and 89.41% accuracy on the defect description and analysis, respectively. Finally, Stage 3 is critical for merging these capabilities. The multi-reward GRPO training\nensures the model’s final output is a coherent synthesis of juxtaposed visual evidence and textual\nexpertise. This integrated process allows JUDO to not only locate defects precisely but also to classify, describe, and analyze them with a domain-aligned thinking process, leading to more robust and\nreliable reasoning.\nHowever, our JUDO does not achieve superior performance in anomaly discrimination tasks, even\nwith rich domain-specific foundational knowledge. Similarly, other models trained with a GRPO\nframework, such as AnomalyR1, exhibit a trade-off in raw binary detection accuracy. This is evident in the results: AnomalyR1 achieves 60.93% accuracy, while JUDO shows only a modest\nimprovement at 65.04%. Both remain below the 72.93% and 71.39% reached by recent LLMs such\nas Kimi-VL, as well as the base model Qwen2.5-VL, respectively. We attribute Kimi-VL’s higher\nperformance to its more advanced visual encoder, although it still lacks domain-specialized knowledge, as reflected in its relatively low performance on defect-related tasks. Commercial multimodal\nmodels such as Gemini-2.5-Pro and Gemini-2.5-Flash also show strong performance on anomaly\ndiscrimination, likely due to their highly capable vision encoders.\nEven in the base model Qwen2.5-VL, which is not equipped with a stronger vision encoder, we\nobserve a similar performance drop in the base model Qwen2.5-VL when switching from direct answering to reasoning mode. This observation suggests that the degradation is not solely attributable\nto encoder capacity but is instead attributable to the introduction of reasoning itself. Notably, the\ndrop is more pronounced in relatively simple anomaly discrimination settings, a phenomenon that\nhas also been observed in recent studies on related tasks (Liu et al., 2025a; Yang et al., 2025). We\nprovide a more detailed analysis of this phenomenon in Section 4.4, where we examine the impact\nof our multi-staged learning framework on the anomaly discrimination task.\n7\n\n\fPublished as a conference paper at ICLR 2026\n\nTable 2: Ablation study of different methods. We denote Stage 1 as SegJux, Stage 2 as DomInj, and\nthe full Stage 3 as GRPOdom , where the domain reasoning reward is used. The segmentation reward\nis only used in methods that go through Stage 1 training. Average accuracy (%) is reported.\nMethod\n\nAverage\n\nQwen2.5-VL-7B\n+ GRPO\n+ GRPO + RAG\n+ GRPO + DomInj\n+ GRPO + SegJux + DomInj\n\n72.56\n77.29\n76.29\n79.82\n80.35\n\n+ GRPOdom + SegJux + DomInj (JUDO)\n\n81.20\n\nExcept for the relatively simple anomaly discrimination task, the performance of both recent openand closed-source LMMs on domain-level defect reasoning remains overall lower than JUDO’s.\nThis contrast highlights a key distinction: while large commercial LMMs excel at broad visual\npattern recognition, they do not have sufficient defect semantics or comparative industrial cues in a\nway that generalizes across classification, localization, description, and analysis. In contrast, despite\nbeing built on a smaller open-source backbone, JUDO consistently achieves higher defect-reasoning\naccuracy because its training explicitly incorporates domain knowledge and visual context. These\nresults demonstrate that domain-aligned training can surpass much larger commercial systems when\nthe task requires specialized industrial reasoning rather than generic visual understanding.\n4.3\n\nA BLATION S TUDY\n\nWe conduct an ablation study to systematically evaluate the contribution of each component in\nthe JUDO framework, with results summarized in Table 2. The study begins with the baseline\nQwen2.5-VL-7B model, which achieves an average accuracy of 72.56%. We note that this result is\nobtained without using the Chain-of-Thought process, not requiring the reasoning process generally\nin &lt;think&gt; tags, but outputting the answer directly, since it is not trained to learn the proper\nreasoning, yet. Applying a standard GRPO training stage improves general instruction-following\nand raises the accuracy to 77.29% in the equivalent of AnomalyR1. To evaluate the effectiveness\nof domain knowledge injection, we employ RAG, which dynamically provides external information\nupon the model trained on vanilla GRPO, referring to the model as (+ GRPO + RAG). The way\nof employing RAG is followed in the MMAD (Jiang et al., 2025). While RAG-based approaches\nhave been claimed to often improve the performance, the external context attached to our trained\nreasoning model acted in the negative direction rather than bringing in positive gain. In contrast,\nthe impact of domain injection was remarkably effective, resulting in an improvement of almost 5%\ngain.\nThe effectiveness of JUDO’s learning-based\napproach becomes evident in the subsequent\nsteps, as shown in the result. The most significant performance leap comes from Stage\n2’s Domain Injection (+ GRPO + DomInj),\nwhich internalizes domain knowledge through\nsupervised fine-tuning and increases accuracy\nto 79.82%. This result is substantially higher\nthan the RAG-based method, demonstrating the\nsuperiority of integrating textual knowledge directly into the model’s parameters. Building on\nthis, the addition of Stage 1’s juxtaposed segmentation training (+ GRPO + SegJux + DomInj) brings the accuracy to 80.35%, highlighting the value of grounding textual reasoning in\nfine-grained juxtaposed visual analysis. The final refinement, which uses the complete Stage 3\n\nFigure 2: Performance across different stages.\n\n8\n\n\fPublished as a conference paper at ICLR 2026\n\nFigure 3: Response comparison between Base GRPO, Base GRPO + RAG and JUDO. The anomalous region in the query image is highlighted in green, while the segmentation output from JUDO is\nrepresented as red patches in the image next to JUDO’s response.\nGRPO with a specialized domain reasoning reward (+ GRPOdom ), achieves the peak performance\nof 81.20%. This confirms that each stage of the JUDO framework provides a meaningful and incremental benefit, leading to its final state-of-the-art performance.\n4.4\n\nD ISCUSSION OF M ULTI - STAGED L EARNING F RAMEWORK\n\nFigure 2 presents the progression of anomaly discrimination accuracy and averaged accuracy of defect subtasks (classification, localization, description, and analysis) across the key checkpoints of our\npipeline: the Qwen2.5-VL baseline, its Chain-of-Thought (CoT) variant, and each JUDO stage. The\nfigure shows that the most significant performance shift occurs before any of JUDO’s optimization\ntakes place. When the model switches from direct answering to CoT reasoning, anomaly discrimination accuracy drops sharply (71.39% → 61.90%), and the averaged accuracy over the four defect\nsubtasks decreases from 65.15% to 57.00%. This confirms that the initial degradation stems from a\nreasoning-mode behavioral change rather than from the design of our multi-stage training. The drop\nin anomaly discrimination in particular is consistent with a recent finding (Liu et al., 2025a) that explicit verbal reasoning can impair performance on perception-heavy tasks by interfering with rapid,\npattern-based visual judgments, a phenomenon analogous to verbal overshadowing. After entering\nthe pipeline, anomaly-detection performance remains largely stable, with only a small fluctuation\nfrom 65.42% (Stage 1+2) to 65.04% in the final model, indicating that catastrophic forgetting is\npresent but limited.\nIn contrast, the progressive optimization produces substantial and consistent gains across the four\ndefect subtasks. As shown in Figure 2, accuracy increases from 62.58% after Stage 1 to 67.18%\nafter Stage 1+2, and ultimately reaches 80.43% in the full model. This pattern demonstrates that\nthe GRPO-based domain alignment strengthens domain-aware classification, localization, description, and analysis, even as low-level anomaly discrimination remains stable. These results highlight that JUDO’s multi-stage design primarily enhances domain-oriented reasoning capabilities\nwhile preserving binary anomaly detection performance. Overall, despite a minor drop in visionoriented anomaly discrimination, JUDO significantly improves performance on reasoning-intensive\ndefect subtasks, while additionally improving reliability and explainability through localized defect\ngrounding and domain-aligned reasoning.\n4.5\n\nQ UALITATIVE A NALYSIS\n\nFigure 3 provides a qualitative comparison that highlights the limitations of baseline models and the\neffectiveness of JUDO’s integrated reasoning. The Base GRPO model exhibits a critical failure, as\nit is unable to detect the defect and states there is “no visible defect,” while paradoxically offering\n9\n\n\fPublished as a conference paper at ICLR 2026\n\nFigure 4: Examples of JUDO’s output on the MMAD dataset. The anomalous region in the query\nimage is highlighted in green, while the segmentation output from JUDO is represented as red\npatches in the image next to JUDO’s response.\nan incorrect answer (“C”). The Base GRPO + RAG model demonstrates a different failure mode\nrooted in contextual distraction. Misled by the retrieved domain snippet, which contains descriptions\nof multiple potential defects, it latches onto a plausible but incorrect description of a “noticeable\nindentation or dent”—likely related to deformation—instead of the correct “opened” defect type.\nThis failure to ground the textual context in the visual evidence leads to a mislocalization of the\n“body of the canister” and the wrong answer (“A”). This negative impact is also confirmed by\nthe quantitative results, where the RAG model’s accuracy (76.29%) is lower than the Base GRPO\nmodel’s (77.29%).\nIn stark contrast, JUDO leverages its internalized knowledge for a successful and coherent analysis.\nIt correctly identifies and locates the defect on the “lid of the canister,” provides a visually-grounded\nexplanation of an “irregular white area,” and supports its reasoning with an accurate segmentation\nmap to arrive at the correct answer (“D”). This direct comparison clearly illustrates that JUDO’s\nintegrated, learning-based approach is essential for achieving reliable and fine-grained reasoning,\novercoming the weaknesses of models that either lack domain knowledge or are distracted by it.\n\n5\n\nC ONCLUSION\n\nIn this work, we presented JUDO, a novel framework that addresses the core challenge of aligning\ndomain knowledge in industrial anomaly understanding. By unifying comparative visual reasoning\nand domain semantics into a domain-aligned learning objective, our approach significantly enhances\nanomaly understanding capabilities. Experimental results on the MMAD benchmark demonstrate\nsuperior performance compared to state-of-the-art models in defect-reasoning tasks. These findings\nsuggest that internalizing domain knowledge and context during training is not only highly effective\nbut also significantly more beneficial than providing context solely at inference time. This approach,\ntherefore, enables more reliable and accurate multimodal reasoning systems in complex industrial\nscenarios.\n\n10\n\n\fPublished as a conference paper at ICLR 2026\n\nACKNOWLEDGEMENTS\nThis work was supported by the Institute of Information and Communications Technology Planning and Evaluation (IITP) and the National Research Foundation of Korea (NRF) through\ngrants funded by the Korean government (RS-2024-00333068, RS-2024-00436936, IITP-2026-RS2020-II201821, RS-2019-II190421, IITP-2025-RS-2024-00360227, RS-2025-02218768, RS-202525442569, RS-2025-24803185, RS-2025-02653113).\n\nE THICS S TATEMENT\nThe authors have read and adhered to the ICLR Code of Ethics. This research is based on publicly\navailable datasets for industrial anomaly detection (MMAD, REAL-IAD), which contain images\nof inanimate industrial objects. No human subjects were involved in this study, and no personally\nidentifiable information was used, thereby minimizing privacy concerns. Our work uses GPT-4o\nfor the programmatic generation of structured training data, as detailed in Appendix A, to ensure\na consistent and replicable data construction pipeline and grammar correction. The goal of this\nresearch is to advance industrial quality control and automation, and we do not foresee any direct\nnegative societal impacts or ethical concerns arising from the proposed method.\n\nR EPRODUCIBILITY S TATEMENT\nWe are committed to ensuring the reproducibility of our work. The complete source code for our\nframework, including data preprocessing scripts, implementation of all three training stages, and\nevaluation protocols, is provided in the supplementary materials, accessible via the repository at\nhttps://github.com/woodavid31/JUDO. The core methodology of our three-stage training process is detailed in Section 3. Our experimental setup, including the specific datasets, baselines, and key implementation details such as the base model, libraries, and hyperparameters, is\ndescribed in Section 4.1. Furthermore, a comprehensive description of our programmatic dataset\nconstruction pipeline for all training stages can be found in Appendix A. We believe these resources\nprovide the necessary details for the research community to reproduce our results.\n\nR EFERENCES\nGarima Agrawal, Kuntal Pal, Yuli Deng, Huan Liu, and Ying-Chih Chen. CyberQ: Generating\nquestions and answers for cybersecurity education using knowledge graph-augmented llms. In\nProceedings of the AAAI Conference on Artificial Intelligence, volume 38, pp. 23164–23172,\n2024a.\nPravesh Agrawal, Szymon Antoniak, Emma Bou Hanna, Baptiste Bout, Devendra Chaplot, Jessica Chudnovsky, Diogo Costa, Baudouin De Monicault, Saurabh Garg, Theophile Gervet, et al.\nPixtral 12B. arXiv preprint arXiv:2410.07073, 2024b.\nJinwon An and Sungzoon Cho. Variational autoencoder based anomaly detection using reconstruction probability. Special Lecture on IE, 2:1–18, 2015.\nShuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Pengfei Wang,\net al. Qwen2.5-VL technical report. arXiv preprint arXiv:2502.13923, 2025.\nPaul Bergmann, Michael Fauser, David Sattlegger, and Carsten Steger. MVTec AD–a comprehensive real-world dataset for unsupervised anomaly detection. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern Recognition, pp. 9592–9600, 2019.\nPaul Bergmann, Kilian Batzner, Michael Fauser, David Sattlegger, and Carsten Steger. The MVTec\nanomaly detection dataset: a comprehensive real-world dataset for unsupervised anomaly detection. International Journal of Computer Vision, 129(4):1038–1059, 2021.\nPaul Bergmann, Kilian Batzner, Michael Fauser, David Sattlegger, and Carsten Steger. Beyond dents\nand scratches: Logical constraints in unsupervised anomaly detection and localization. International Journal of Computer Vision, 130(4):947–969, 2022.\n11\n\n\fPublished as a conference paper at ICLR 2026\n\nYuhao Chao, Jie Liu, Jie Tang, and Gangshan Wu. AnomalyR1: A GRPO-based end-to-end mllm\nfor industrial anomaly detection. arXiv preprint arXiv:2504.11914, 2025.\nZhe Chen, Weiyun Wang, Yue Cao, Yangzhou Liu, Zhangwei Gao, Erfei Cui, Jinguo Zhu, Shenglong Ye, Hao Tian, Zhaoyang Liu, et al. Expanding performance boundaries of open-source\nmultimodal models with model, data, and test-time scaling. arXiv preprint arXiv:2412.05271,\n2024.\nGheorghe Comanici, Eric Bieber, Mike Schaekermann, Ice Pasupat, Noveen Sachdeva, Inderjit\nDhillon, Marcel Blistein, Ori Ram, Dan Zhang, Evan Rosen, et al. Gemini 2.5: Pushing the\nfrontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint arXiv:2507.06261, 2025.\nThomas Defard, Aleksandr Setkov, Angelika Loesch, and Romann Audigier. Padim: a patch distribution modeling framework for anomaly detection and localization. In Proceedings of the\nInternational Conference on Pattern Recognition, pp. 475–489, 2021.\nMatt Deitke, Christopher Clark, Sangho Lee, Rohun Tripathi, Yue Yang, Jae Sung Park, Mohammadreza Salehi, Niklas Muennighoff, Kyle Lo, Luca Soldaini, et al. Molmo and pixmo:\nOpen weights and open data for state-of-the-art vision-language models. In Proceedings of the\nIEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 91–104, 2025.\nZhaopeng Gu, Bingke Zhu, Guibo Zhu, Yingying Chen, Ming Tang, and Jinqiao Wang. AnomalyGPT: Detecting industrial anomalies using large vision-language models. In Proceedings of the\nAAAI Conference on Artificial Intelligence, volume 38, pp. 1932–1940, 2024.\nAaron Hurst, Adam Lerer, Adam P Goucher, Adam Perelman, Aditya Ramesh, Aidan Clark, AJ Ostrow, Akila Welihinda, Alan Hayes, Alec Radford, et al. Gpt-4o system card. arXiv preprint\narXiv:2410.21276, 2024.\nXi Jiang, Jian Li, Hanqiu Deng, Yong Liu, Bin-Bin Gao, Yifeng Zhou, Jialin Li, Chengjie Wang,\nand Feng Zheng. MMAD: A comprehensive benchmark for multimodal large language models\nin industrial anomaly detection. In Proceedings of the International Conference on Learning\nRepresentations, 2025.\nKimi Team, Angang Du, Bohong Yin, Bowei Xing, Bowen Qu, Bowen Wang, Cheng Chen,\nChenlin Zhang, Chenzhuang Du, Chu Wei, et al. Kimi-VL technical report. arXiv preprint\narXiv:2504.07491, 2025.\nMengcheng Lan, Chaofeng Chen, Yue Zhou, Jiaxing Xu, Yiping Ke, Xinjiang Wang, Litong Feng,\nand Wayne Zhang. Text4Seg: Reimagining image segmentation as text generation. In Proceedings of the International Conference on Learning Representations, 2025.\nZhuo Li, Yuhao Yan, Xiangheng Wang, Yifei Ge, and Lin Meng. A survey of deep learning for\nindustrial visual anomaly detection. Artificial Intelligence Review, 58(9):279, 2025.\nRyan Liu, Jiayi Geng, Addison J Wu, Ilia Sucholutsky, Tania Lombrozo, and Thomas L Griffiths.\nMind your step (by step): Chain-of-thought can reduce performance on tasks where thinking\nmakes humans worse. Forty-second International Conference on Machine Learning, 2025a.\nZhiqiang Liu, Chengtao Gan, Junjie Wang, Yichi Zhang, Zhongpu Bo, Mengshu Sun, Huajun Chen,\nand Wen Zhang. OntoTune: Ontology-driven self-training for aligning large language models. In\nProceedings of the ACM on Web Conference, pp. 119–133, 2025b.\nNick Mecklenburg, Yiyou Lin, Xiaoxiao Li, Daniel Holstein, Leonardo Nunes, Sara Malvar, Bruno\nSilva, Ranveer Chandra, Vijay Aski, Pavan Kumar Reddy Yannam, et al. Injecting new knowledge\ninto large language models via supervised fine-tuning. arXiv preprint arXiv:2404.00213, 2024.\nLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong\nZhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow\ninstructions with human feedback. Advances in Neural Information Processing Systems, 35:\n27730–27744, 2022.\n12\n\n\fPublished as a conference paper at ICLR 2026\n\nVignesh Prabhakar, Md Amirul Islam, Adam Atanas, Yao-Ting Wang, Joah Han, Aastha Jhunjhunwala, Rucha Apte, Robert Clark, Kang Xu, Zihan Wang, et al. OmniScience: A domainspecialized llm for scientific reasoning and discovery. arXiv preprint arXiv:2503.17604, 2025.\nLingfei Qian, Weipeng Zhou, Yan Wang, Xueqing Peng, Han Yi, Yilun Zhao, Jimin Huang, Qianqian Xie, and Jian-yun Nie. Fino1: On the transferability of reasoning enhanced llms to finance.\narXiv preprint arXiv:2502.08127, 2025.\nNils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using siamese bertnetworks. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2019.\nKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf, Zeynep Akata, and Peter Gehler.\nTowards total recall in industrial anomaly detection. In Proceedings of the IEEE/CVF Conference\non Computer Vision and Pattern Recognition, pp. 19551–19561, 2022.\nThomas Schlegl, Philipp Seeböck, Sebastian M Waldstein, Ursula Schmidt-Erfurth, and Georg\nLangs. Unsupervised anomaly detection with generative adversarial networks to guide marker\ndiscovery. In Proceedings of the International Conference on Information Processing in Medical\nImaging, pp. 146–157, 2017.\nZhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang,\nMingchuan Zhang, YK Li, Yang Wu, et al. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.\nAaditya Singh, Adam Fry, Adam Perelman, Adam Tart, Adi Ganesh, Ahmed El-Kishky, Aidan\nMcLaughlin, Aiden Low, AJ Ostrow, Akhila Ananthram, et al. Openai gpt-5 system card. arXiv\npreprint arXiv:2601.03267, 2025.\nZirui Song, Bin Yan, Yuhan Liu, Miao Fang, Mingzhe Li, Rui Yan, and Xiuying Chen. Injecting\ndomain-specific knowledge into large language models: A comprehensive survey. In Proceedings\nof the Findings of the Association for Computational Linguistics: EMNLP 2025, 2025.\nChengjie Wang, Wenbing Zhu, Bin-Bin Gao, Zhenye Gan, Jiangning Zhang, Zhihao Gu, Shuguang\nQian, Mingang Chen, and Lizhuang Ma. Real-iad: A real-world multi-view dataset for benchmarking versatile industrial anomaly detection. In Proceedings of the IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, pp. 22883–22892, 2024.\nWeiyun Wang, Zhangwei Gao, Lixin Gu, Hengjun Pu, Long Cui, Xingguang Wei, Zhaoyang Liu,\nLinglin Jing, Shenglong Ye, Jie Shao, et al. InternVL3.5: Advancing open-source multimodal\nmodels in versatility, reasoning, and efficiency. arXiv preprint arXiv:2508.18265, 2025.\nLLM Xiaomi, Bingquan Xia, Bowen Shen, Dawei Zhu, Di Zhang, Gang Wang, Hailin Zhang,\nHuaqiu Liu, Jiebao Xiao, Jinhao Dong, et al. MiMo: Unlocking the reasoning potential of language model–from pretraining to posttraining. arXiv preprint arXiv:2505.07608, 2025.\nJiacong Xu, Shao-Yuan Lo, Bardia Safaei, Vishal M Patel, and Isht Dwivedi. Towards zero-shot\nanomaly detection and reasoning with multimodal large language models. In Proceedings of the\nIEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 20370–20382, 2025.\nJihan Yang, Shusheng Yang, Anjali W Gupta, Rilyn Han, Li Fei-Fei, and Saining Xie. Thinking in\nspace: How multimodal large language models see, remember, and recall spaces. In Proceedings\nof the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10632–10643,\n2025.\nJian Zhang, Runwei Ding, Miaoju Ban, and Linhui Dai. PKU-GoodsAD: A supermarket goods\ndataset for unsupervised anomaly detection and segmentation. IEEE Robotics and Automation\nLetters, 9(3):2008–2015, 2024.\nPenghao Zhao, Hailin Zhang, Qinhan Yu, Zhengren Wang, Yunteng Geng, Fangcheng Fu, Ling\nYang, Wentao Zhang, Jie Jiang, and Bin Cui. Retrieval-augmented generation for AI-generated\ncontent: A survey. Data Science and Engineering, 2026.\n13\n\n\fPublished as a conference paper at ICLR 2026\n\nShifang Zhao, Yiheng Lin, Lu Han, Yao Zhao, and Yunchao Wei. OmniAD: Detect and understand\nindustrial anomaly via multimodal reasoning. arXiv preprint arXiv:2505.22039, 2025.\nYang Zou, Jongheon Jeong, Latha Pemula, Dongqing Zhang, and Onkar Dabeer. Spot-the-difference\nself-supervised pre-training for anomaly detection and segmentation. In Proceedings of the European Conference on Computer Vision, pp. 392–408, 2022.\n\n14\n\n\fPublished as a conference paper at ICLR 2026\n\nDomain Knowledge\n\nThe inspected pills exhibit defects\nprimarily characterized by\ncontamination and structural\nanomalies. The contamination often\npresents as irregular discolorations,\nprotrusions, or uneven textures …\n\nDomain QA Generating Process\nStep 1: Generate Domain QA pairs\n\nStep 2: Paraphrase Domain QA pairs\n\nQ. What visual signs indicate\ncontamination in the pills?\nA. Contamination is indicated by irregular\ndiscolorations, protrusions, or uneven\ntextures.\n\nQ. How can one visually identify contamination\nin the pills?\nA. Signs of contamination include abnormal\ndiscoloration, raised areas, or uneven textures.\n\nFigure 5: Stage 2 domain Q&amp;A construction pipeline. Illustration of generating domain-specific\nQ&amp;A pairs from unstructured domain snippets and augmenting them via paraphrasing, using pill\ncontamination defects as an example. The resulting Q&amp;A pairs are paired with normal images to\nassociate textual knowledge with visual context.\n\nA\n\nD ETAILED DATASET C ONSTRUCTION P ROCESS\n\nWe construct the datasets using GPT-4o within a programmatic pipeline. This design ensures high\nquality, structural consistency, and scalability across all data. The pipeline consists of three stages:\nconstructing comparative explanations (Stage 1), constructing domain Q&amp;A datasets (Stage 2), and\ngenerating pseudo-domain reference reasoning (Stage 3). The detailed process for each stage is\ndescribed below.\nStage 1: Comparative Explanation. The primary goal of this stage is to construct a dataset that enables fine-grained comparative reasoning between anomalous and normal images. The construction\nprocess for each data instance is as follows:\n1. Input: Each instance includes a query image containing anomalies, its corresponding binary mask, and a randomly selected normal template image from the same object category.\n2. Anomaly Patch Generation: The provided anomaly mask is used to identify the precise\nlocation of the defect. We overlay a 16×16 grid on the image, and any grid cell overlapping the mask is marked as anomalous. The coordinates of these anomalous patches are\nthen converted into a structured textual sequence. This sequence uses (row, column)\nnotation for individual patches and (row, col start)-(row, col end) for contiguous horizontal patches. This text string is then encapsulated within &lt;seg&gt; tags (e.g.,\n&lt;seg&gt;(11,12)-(11,14), (12,11)&lt;/seg&gt;).\n3. Comparative Explanation Synthesis: To generate the reasoning text, we first annotate the\nanomalous query image by using its mask to draw a red outline around the defect region.\nThis visually grounded image, along with the normal template image, the defect type, and\nany relevant domain notes, is provided as input to GPT-4o. The model is prompted to act\nas an expert and generate a concise comparative explanation, describing the visual differences between the two images with a focus on the defective region’s characteristics. This\nsynthetically generated text forms the content for the &lt;think&gt; tags.\n4. Final Data Assembly: The final training instance combines the visual and textual components. It consists of the original anomalous image and the normal template image as inputs,\npaired with the generated dual-part response: the &lt;seg&gt; tag containing the patch coordinates, followed by the &lt;think&gt; tag containing the comparative explanation. Figure 6\nshows an example of training data for Stage 1.\nStage 2: Domain Q&amp;A. This stage aims to inject category-specific domain knowledge into the\nmodel through supervised fine-tuning (Mecklenburg et al., 2024). The dataset is constructed by\nconverting the unstructured textual knowledge from MMAD into a structured Q&amp;A format. The\noverall process is described in Figure 5.\n1. Input: We utilize the “domain snippets” from the MMAD benchmark as the foundational\nknowledge source. Each snippet describes the characteristics of a specific object category and its associated defect types. Table 4 shows an example of a domain snippet for\n“Squeezed Teeth” defect of the object “Zipper”.\n15\n\n\fPublished as a conference paper at ICLR 2026\n\nTable 3: System prompt for data construction in Stage 2\nGenerate unique QA pairs grounded in the snippet with enforced categories.\nYou are tasked with generating high-quality Q&amp;A pairs grounded strictly in the given\nsnippet.\nRules:\n- DO NOT mention “snippet” or “according to the snippet”.\n- All answers must be strictly grounded in the text, no outside knowledge.\n- Produce exactly count unique question–answer pairs.\n- Use a variety of question styles, including:\n1. Criteria-based (e.g., “What criteria indicate a defect in ...?”)\n2. Defect understanding (e.g., “How does this affect. . . ?”)\n3. Comparative reasoning (e.g., “What distinguishes X from Y?”)\n4. Functional impact (e.g., “Why does this defect matter?”)\n5. Recognition (e.g., “What is. . . ?”)\n6. Quality control reasoning (e.g., “Why is it important to detect. . . ?”)\n7. Aesthetic/structural concerns\n- Ensure balance: include multiple styles, not just one.\n- Keep answers factual and strictly tied to the snippet.\nReturn as a JSON array: [ {“question”: “...”, “answer”: “...”}]\nSnippet:{snippet}\nTable 4: Example of a domain snippet for “Squeezed Teeth” defect of the object “Zipper”.\nThe defect manifests as teeth of the zipper that appear squeezed or compressed together,\ndisrupting the otherwise uniform alignment and spacing of the zipper teeth. This irregularity can occur at various locations along the zipper, often concentrated in the central or\ntop/bottom areas. Characteristics of the defect include noticeable distortion in the shape\nof the teeth, which appear pinched and may vary in spacing compared to the adjacent,\nproperly aligned teeth. The presence of squeezed teeth could potentially hinder the functionality of the zipper, leading to difficulties in smooth opening and closing or causing the\nzipper slider to get stuck during use. The affected area is identifiable by its misshapen and\nirregular appearance, contrasting with the uniform and symmetrical pattern of the healthy\nzipper teeth surrounding it.\n\n2. Initial Q&amp;A Generation: For each domain snippet, we employ GPT-4o to generate an\ninitial set of 30 unique question-answer pairs. The generation is guided by a prompt that\ninstructs the model to formulate questions reflecting industrial inspection knowledge, such\nas inquiries about defect criteria, visual appearance, or functional impact. All answers are\nstrictly grounded in the provided text snippet, without introducing external knowledge.\n3. Paraphrasing for Robustness: To enhance the model’s robustness and prevent overfitting\non specific phrasing, each of the initial 30 Q&amp;A pairs is further paraphrased. We use\nGPT-4o again to generate two semantically identical but lexically diverse paraphrases for\neach pair. This step expands the dataset by introducing varied phrasings of the same core\nknowledge.\n4. Final Data Assembly: The final dataset consists of the original and paraphrased Q&amp;A\npairs. To anchor this textual knowledge to a visual context, each Q&amp;A instance is paired\nwith a randomly sampled normal image from the corresponding object category. This\nencourages the model to associate the domain knowledge with the visual appearance of\nthe object, facilitating better knowledge recall during multimodal reasoning tasks. Figure 7\nshows examples of the final Q&amp;A pairs generated from the domain snippets for Stage 2.\n\n16\n\n\fPublished as a conference paper at ICLR 2026\n\nB\n\nDATASET E XAMPLES\n\nB.1\n\nS TAGE 1\n\n&lt;seg&gt;(3,7)-(3,8), (4,7)-(4,8), (5,8), (6,8)&lt;/seg&gt;&lt;think&gt;The first\nimage shows a component with a defect where one of the\nmetal pins is bent out of alignment, leaning to one side.\nIn contrast, the second image displays a normal component\nwith all pins straight, indicating proper alignment.&lt;/think&gt;\n\n&lt;seg&gt; (10,4), (11,4)-(11,5) &lt;/seg&gt; &lt;think&gt; The first image shows a\ncylindrical object with a defect. This defect appears as a reddish\ndiscoloration, suggesting a possible surface damage. In contrast,\nthe second image shows a smooth surface without any\nirregularities, indicating a normal condition. &lt;/think&gt;\n\n&lt;seg&gt; (11,13), (12,12)-(12,13), (13,10)-(13,12), (14,8)-(14,11)\n&lt;/seg&gt; &lt;think&gt; The first image shows a roll of tape with a defect on\nits outer surface. The defect appears as an irregular line,\ndisrupting the smooth surface seen in the second image. The\nsecond image shows without any irregularities. &lt;/think&gt;\n\nFigure 6: Stage 1 training dataset examples\n\n17\n\n\fPublished as a conference paper at ICLR 2026\n\nB.2\n\nS TAGE 2\n\nOriginal Q: What might cause fabric border fraying in zippers?\nA: Fabric border fraying in zippers might be caused\nby improper stitching or material degradation.\nParaphrased Q-1: What are possible reasons for fabric border fraying\nin zippers?\nA: Possible reasons for fabric border fraying in zippers\ninclude improper stitching or material degradation.\nParaphrased Q-2: Why might fabric border fray in a zipper?\nA: Fabric border might fray in a zipper due to improper stitching\nor material degradation.\n\nOriginal Q: What ensures the pasta is of standard quality?\nA: The well-defined ridges on the exterior help indicate\nthat the pasta is of standard quality.\nParaphrased Q-1: How is the quality of the pasta indicated?\nA: The quality of the pasta is indicated by the well-defined ridges\non its exterior.\nParaphrased Q-2: What feature suggests the pasta is standard\nquality?\nA: The feature suggesting the pasta is standard quality\nis the well-defined ridges on its exterior.\n\nFigure 7: Stage 2 training dataset examples\n\n18\n\n\fPublished as a conference paper at ICLR 2026\n\nC\n\nA DDITIONAL JUDO R ESPONSES\n\nFigure 8: Examples of JUDO’s output on the MMAD dataset. The anomalous region in the query\nimage is highlighted in green, while the segmentation output from JUDO is represented as red\npatches in the segmented image.\n\n19\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"