"<!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>PA-VAD: Diffusion-Based\nPseudo-Only Video Anomaly Detection\nvia Domain-Aligned Memory Updates\n\narXiv:2512.06845v2 [cs.CV] 30 Jun 2026\n\nSatoshi Hashimoto⋆ , Yanan Wang, Hitoshi Nishimura, and Mori Kurokawa\nKDDI Research, Inc., Fujimino, Saitama, Japan\n{st-hashimoto,wa-yanan,ht-nishimura,mo-kurokawa}@kddi.com\n\nAbstract. Deploying video anomaly detection (VAD) in the real world\nis often constrained by the scarcity, privacy, and cost of collecting real\nabnormal footage. We propose PA-VAD, a novel pseudo-only framework that trains an anomaly detector without using any real abnormal\nvideos, by pairing real normal videos with diffusion-synthesized pseudoabnormal videos generated from a small set of real normal images. Beyond proposing a generation-driven training pipeline, we make a key\nempirical discovery: pseudo anomalies exhibit a characteristic spatiotemporal magnitude bias in feature space, which can dominate Multiple\nInstance Learning and degrade generalization if left unaddressed. To\ncounter this pseudo-induced bias, we introduce the Domain-Aligned Regularized Module (DARM), which combines domain alignment with usageaware memory updates to balance prototype coverage and stabilize optimization under biased pseudo supervision. Extensive experiments demonstrate that PA-VAD achieves 98.2% AUC on ShanghaiTech, 82.5% on\nUCF-Crime, and 95.1% on XD-Violence, and further improves generalization to unseen anomaly classes in open-set evaluations. Notably, PAVAD surpasses the best real-abnormal WVAD baselines on ShanghaiTech\nand XD-Violence by +0.6% and +0.9% , respectively, and improves over\nthe UVAD state of the art on UCF-Crime by +1.9% —showing that highaccuracy VAD is attainable without collecting real abnormal videos.\nKeywords: Anomaly Detection· Diffusion Model· Vision Language Model\n\n1\n\nIntroduction\n\nEnsuring public safety and order has driven extensive research on video anomaly\ndetection (VAD) in computer vision. VAD aims to identify abnormal events such\nas assaults, traffic accidents, and theft in surveillance videos. Prior works span\ntwo main families: (i) unsupervised VAD (UVAD), which trains only on normal\ndata [7, 11, 12, 17, 19, 20, 29, 30, 34]; (ii) weakly supervised VAD (WVAD), which\nrelies on normal and abnormal videos with video-level labels [6,8,13,18,22,24,26,\n⋆\n\nCorresponding author\n\n\f2\n\nS. Hashimoto et al.\n\nFig. 1: Our PA-VAD framework generates class-aware pseudo-abnormal videos (e.g.,\nExplosion, Road Accidents, Assault) from a small set of normal images. These controllable pseudo anomalies provide scalable, diverse supervision, removing the need for\nreal abnormal data and broadening the range of learnable abnormal patterns.\n\n28,31,32,35,36]. Despite rapid progress, deployment remains challenging. UVAD\nmethods can be brittle under distribution shift and label noise, whereas WVAD\napproaches typically assume access to substantial real abnormal footage, which\nis costly and often constrained by safety, privacy, or rarity. A complementary\ndirection synthesizes pseudo anomalies to ease data scarcity [3, 16]. Yet, in most\ncases the synthesized clips supplement rather than replace real anomalies, and\nthe synthesis is driven by rule-based edits or narrow generative priors, so the\nreliance on real abnormal data is reduced but not removed.\nOur approach. We introduce PA-VAD, a generation-driven framework that\nlearns an anomaly detector from pseudo-anomalous videos synthesized from a\nsmall set of real normal images. Training uses no real abnormal videos, while\nevaluation follows the standard benchmark splits and protocols. Unlike prior\npseudo-anomaly works that mainly supplement real anomalies and rely on heuristic edits or narrow generators, our synthesis pipeline is designed to replace real\nanomalies: we select class-relevant seed images with CLIP and perform VLMbased prompt rewriting before driving a video diffusion model, which improves\nfidelity and scene consistency without manual prompt search.\nWhen training solely on diffusion-synthesized pseudo anomalies without any\nreal abnormal videos, a naïve detector can become biased; we discover that\nsynthesis artifacts (e.g., exaggerated motions, physical implausibility, and temporal inconsistency) often yield abnormally large feature norms—a spatiotemporal magnitude bias—that skews learning toward magnitude cues. To counter\nthis pseudo-induced bias, we introduce the Domain-Aligned Regularized Module\n(DARM), combining domain alignment between real Normal and pseudo-Normal\nstreams with usage-aware memory updates to suppress magnitude-driven bias\nand stabilize learning for stronger anomaly discrimination.\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\n\n3\n\nFig. 2: Overview of our framework.\nPA-VAD trains on real Normal and\ndiffusion-generated pseudo videos (no\nreal Abnormal ) and is evaluated\non standard splits with real Normal /Abnormal.\n\nWe conduct extensive experiments on multiple benchmarks, showing that our\napproach outperforms state-of-the-art UVAD baselines and can surpass strong\nmethods that rely on real abnormal videos, while substantially reducing data\ncollection costs and improving open-set generalization to unseen anomalies.\n– We propose a generation-driven VAD framework that trains without real\nabnormal videos while evaluating under standard weakly supervised splits,\nsubstantially reducing data collection costs.\n– We propose the Class-Aware Pseudo-Anomaly Generator (CA-PAG), a video\ndiffusion–based pseudo-anomaly generator that attains high-fidelity abnormal videos through CLIP-guided initial image selection and VLM-driven\nprompt refinement.\n– We propose the Domain-Aligned Regularized Module (DARM), an adaptive\nmemory module that mitigates the pseudo-induced large-magnitude bias via\ndomain alignment and usage-aware updates, enabling stable MIL training\nwith synthesized anomalies.\n– Through comprehensive experiments on multiple datasets, we demonstrate\nstate-of-the-art results against UVAD methods and show that our approach\ncan surpass strong methods that depend on real abnormal videos.\n\n2\n\nRelated Work\n\n2.1\n\nVideo Anomaly Detection\n\nWe group prior work into two families—unsupervised (UVAD) and weakly supervised (WVAD) based methods—and summarize their techniques and limitations. In UVAD, classical approaches include dictionary learning on normalonly data [17] and prediction/reconstruction paradigms [11, 12, 19, 20, 29, 30, 34].\nRecent methods that integrate prediction with reconstruction have proven effective; to explicitly address small-scale anomalies and background interference,\nMGSTRL learns multi-grained spatio-temporal representations via three proxy\ntasks—continuity judgment, discontinuity localization, and contrastive missingframe estimation in feature space—achieving state-of-the-art results, especially\non small-scale anomalies [34]. A persistent deployment issue for UVAD is the\nassumption that training covers all normal variations, which rarely holds in the\nwild. When previously unseen normal patterns arise due to camera/view changes\nor noise, UVAD methods tend to suffer from false positives.\n\n\f4\n\nS. Hashimoto et al.\n\nFig. 3: Overview of our framework. Starting from a small set of real normal images\nand class texts, we synthesize pseudo-abnormal videos via an image-to-video diffusion\nprocess, then train a classifier on real normal and synthesized pseudo-abnormal videos.\nA Domain-Aligned Regularized Module—designed to account for the characteristic\nlarge spatiotemporal magnitude of synthesized anomalies—mitigates Multiple Instance\nLearning (MIL) bias and enables accurate detection.\n\nIn contrast, WVAD has become popular as a practical discriminative framework trainable with weak video-level labels. A large body of work explores architectures using video-level supervision to infer frame-level anomalies [5, 6, 13, 18,\n22, 25, 26, 31, 35, 36]. Sultani et al. [18] introduced a MIL-based training scheme\nunder weak labels. Each video is split into segments and represented as a bag\ni l\nof instances: a normal bag B̃n = {fni }m\ni=1 and an abnormal bag B̃a = {fa }i=1 ,\nK\nwhere f ∈ R denotes a K-dimensional feature vector and m, l are the numbers\nof segments. A detector D outputs an anomaly score s = D(f ) for each segment.\nUnder the MIL assumption, the detector is optimized so that the maximum score\nin abnormal bags exceeds that in normal bags, using ranking loss:\n  \\mathcal {L}_{\\text {MIL}} = \\max \\!\\left (0,\\; 1 - \\max _{i \\in \\tilde {B}_a} s_a^i + \\max _{i \\in \\tilde {B}_n} s_n^i \\right ). \\label {eq:mil_rank} \n\n(1)\n\nUnlike UVAD, such weak supervision learns discriminative representations\nand tends to be more robust to multi-scene settings and complex backgrounds.\nWVAD continues to advance, with studies such as Chen et al. [5] extending it\nby leveraging single-frame supervision. Recently, WVAD methods have adopted\nvision–language models (VLMs) for better interpretability. Du et al. [8] target\ncausal understanding of abnormal events using hard/soft prompts. Zhang et\nal. [32] fine-tune VLM on large captioned datasets and report leading performance. However, these WVAD approaches typically presuppose large-scale collection of real abnormal videos, which can be costly and constrained by safety\nand privacy, limiting practical deployment.\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\n\n2.2\n\n5\n\nPseudo Video Generation\n\nSeveral works have explored generating pseudo data to boost VAD. Cai et al. [3]\nintegrate video generation into weakly supervised training by synthesizing textconditioned pseudo anomalies mixed with real abnormal videos. This alleviates\nbut does not eliminate reliance on real anomalies, as full real sets remain used\nduring training. Rai et al. [16] generate pseudo anomalies for UVAD by inpainting frames with a pretrained diffusion model and perturbing optical flow, but\ntheir design still limits the diversity and realism of synthesized anomalies.\nRecent advances in diffusion models have produced powerful video generators. Two major conditions are common: text-to-video (T2V), which directly\nsynthesizes videos from text prompts, and image-to-video (I2V), which extends\na static image over time while preserving spatial structure under a prompt.\nWan 2.2 is a diffusion-Transformer framework with noise-stage mixture of experts and highly compressed latent representations [21]. Stable Video Diffusion\nestablishes a three-stage curriculum spanning text–image pretraining, video pretraining, and high-quality video finetuning [2]. While these models are strong\ngeneral-purpose generators, they are not tailored for anomaly synthesis; prompting to obtain rare abnormal behaviors is challenging and typically requires careful\nsearch and conditioning.\n\n3\n\nProposed Method\n\nWe propose PA-VAD, a pseudo-only framework that trains a video anomaly\ndetector without any real abnormal videos. As illustrated in Fig. 2, training uses\nreal Normal videos together with diffusion-generated pseudo-abnormal videos,\nwhile evaluation follows the standard splits with real Normal /Abnormal. An\noverview is provided in Fig. 3. PA-VAD comprises two components: (i) ClassAware Pseudo-Anomaly Generator and (ii) Domain-Aligned Regularized Module\n(DARM). We detail each module below.\n3.1\n\nClass-Aware Pseudo-Anomaly Generator\n\nThe goal is to synthesize pseudo-abnormal videos from only a small set of real\nnormal images and class metadata (abnormal class names) by driving a video\ndiffusion model. We adopt an image-to-video (I2V) inference process conditioned\non (a) an initial image and (b) a textual prompt. A central challenge is the covariate shift between synthesized anomalies and real data: prior synthesis for\nVAD either mixes generated clips with real abnormal videos [3] or perturbs real\nimages/videos [16], which keeps the domain gap relatively small. In contrast, because our aim is to eliminate reliance on real abnormal footage altogether, reducing this gap while preserving quality is crucial. We therefore introduce the ClassAware Pseudo-Anomaly Generator (CA-PAG), whose synthesis is controlled by\ntwo levers: (1) initial image selection to anchor the generation near the target\nclass domain, and (2) prompt refinement to tailor textual conditioning to the\nchosen initial image via zero-shot vision–language reasoning.\n\n\f6\n\nS. Hashimoto et al.\n\nInitial Image Selection. Naively sampling initial images at random from the\nnormal set risks large domain gaps for certain classes (e.g., selecting an indoor\nhome scene for the target class “Road Accident” in UCF-Crime [18]). Instead,\nwe propose to select class-relevant inits with CLIP [15] using a Top-K strategy\nin the joint vision–text space (Fig. 4 (a)).\nConcretely, given a class label xc , we augment it with positive phrases gpos\nto enforce surveillance-style attributes such as camera footage and CCTV, and\nintroduce a set of negative phrases gneg to suppress nuisances such as black\nscreens or channel logos. Let Φ and ψ denote the CLIP image and text encoders. Please refer to the supplementary material for the detailed description of each phase. Define unit-normalized embeddings v̂(I) = Φ(I)/|Φ(I)|2 and\nt̂(u) = ψ(u)/|ψ(u)|2 . We form a single positive text by concatenating the class\nname with positives,tc = concat(xc , gpos ) and compute the positive similarity:\n  s_{\\mathrm {pos}}(\\mathbf I,c)=\\big \\langle \\hat {\\mathbf v}(\\mathbf I),\\, \\hat {\\mathbf t}(t_c)\\big \\rangle . \\label {eq:clip_pos} \n\n(2)\n\nWe compute each negative similarity:\n  s_{\\mathrm {neg}}(\\mathbf I) = \\big \\langle \\hat {\\mathbf v}(\\mathbf I),\\, \\hat {\\mathbf t}(g_{\\mathrm {neg}}) \\big \\rangle . \\label {eq:clip_neg} \n\n(3)\n\nThe final score balances class affinity and nuisance suppression,\n  \\tilde {s}(\\mathbf I,c)= s_{\\mathrm {pos}}(\\mathbf I,c)-\\lambda \\, s_{\\mathrm {neg}}(\\mathbf I),\\qquad \\lambda \\in [0,1], \\label {eq:clip_final} \n\n(4)\n\nand select the initial set TopKc for class c using a scene-balanced ranking scheme.\nWe apply scene balancing to prevent seed selection from being dominated by\npopulous camera/location scenes. Specifically, with s denoting a camera/location\nscene, we subsample the normal-image pool with per-scene budgets proportional\nto count(s)α and prioritize the highest-scoring candidate from each scene before\nfilling the remaining Top-K slots by the global ranking s̃(I, c).\nPrompt Refinement for Pseudo Anomalies Using a raw class name as a\nprompt is simple but often ambiguous, which harms generation consistency and\ntext–video alignment [10,14]. Exhaustive manual search, however, is impractical.\nWe therefore refine prompts with a vision–language model (VLM) by extracting\nobjects and scene cues from each initial image and turning them into concise,\nclass-consistent abnormal descriptions (Fig. 4 (b)).\n(k)\nGiven initial images {Ic }K\nk=1 for class c, a class text xc , and a refinement\ninstruction gvlm , the VLM produces short candidate phrases:\n  \\hat {s}_c^{(k)} \\;=\\; \\mathcal {G}_{\\varphi }\\!\\bigl (\\mathbf {I}_c^{(k)},\\, g_{\\mathrm {vlm}},\\, x_c\\bigr ). \n\n(5)\n\nTo standardize camera and rendering attributes and suppress artifacts, each\nphrase is concatenated with a set of template prompts gtem (e.g., natural movement, fixed camera):\n  p_c^{(k)} \\;=\\; \\mathrm {concat}\\!\\bigl (\\hat {s}_c^{(k)},\\, g_{\\mathrm {tem}}\\bigr ). \n(6)\nFinally, the video diffusion model Gθ is conditioned on the refined prompt and\nthe corresponding initial image to synthesize a pseudo-abnormal clip:\n  \\tilde {\\mathbf {V}}_c^{(k)} \\;=\\; \\mathcal {G}_{\\theta }\\!\\bigl (p_c^{(k)},\\, \\mathbf {I}_c^{(k)}\\bigr ). \n(7)\nPlease see the supplementary material for details of the refinement instruction.\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\n\n(a) Initial image selection in the vision–text\nspace. We score normal images using a class text\nwith positive phrases and subtract a negative\nsimilarity, taking the Top-K per class.\n\n7\n\n(b) Prompt refinement. A VLM converts initialimage cues into concise, class-consistent abnormal descriptions, concatenating a template before\ndriving the diffusion model.\n\nFig. 4: Overview of our class-aware pseudo-anomaly generation pipeline.\n\n3.2\n\nDomain-Aligned Regularized Module\n\nThis module trains and infers an anomaly detector using synthesized pseudoabnormal videos Ṽ and real normal videos V. When we simply plug synthesized videos into existing weakly supervised pipelines, we observe a characteristic failure mode: generated clips tend to exhibit excessive motion and viewpoint\nchanges, inflating feature norms and biasing MIL Top-k optimization toward a\nfew high-magnitude pseudo instances. This bias induces a covariate shift at test\ntime against real anomalies and degrades sensitivity. Table 1 reports the mean\nI3D feature norms on UCF-Crime for real vs. pseudo anomalies.\nTo counter this and exploit the diversity of synthesized data, we introduce\nthe Domain-Aligned Regularized Module (DARM) with two components: (i)\nDomain alignment: a DANN-based objective [9] that aligns real and pseudo\nnormal distributions to reduce covariate shift; (ii) Usage-aware memory update: an update rule that pulls under-utilized slots toward their responsibilityweighted centers to rebalance coverage across abnormal modes. The domain\nalignment term is applied to mean-pooled features of real normal and pseudonormal streams. By encouraging domain-invariant representations via gradient\nreversal, it reduces magnitude shifts between real and pseudo data, preventing pseudo anomalies from dominating MIL Top-k due to inflated norms. The\nusage-aware memory update balances the abnormal prototypes. It computes\nper-slot usage from soft assignments and updates under-utilized slots toward\ntheir responsibility-weighted centers, mitigating the tendency of a few high-norm\nslots to monopolize MIL Top-k selection. We follow the UR-DMU [36] classifier,\nwhich provides a GL-MHSA–based encoder, dual (normal/abnormal) memory\nbanks for prototype separation, and a MIL scoring head with uncertainty control.\nAdding the DARM objectives on top of this backbone effectively suppresses the\nMIL bias caused by excessive spatiotemporal magnitude in synthesized anomalies while preserving representation diversity across abnormal prototypes.\n\n\f8\n\nS. Hashimoto et al.\n\nTable 1: Mean ℓ2 norms of frozen backbone features extracted from real and pseudo\nanomalies on UCF-Crime. Feature spaces differ across backbones.\n\nReal\nPseudo\n\nI3D [4]\n\nQwen [1]\n\nC3D [23]\n\n20.52\n23.03\n\n24.22\n25.55\n\n19.14\n20.41\n\nFormulation. Given a video, a feature extractor Φvid produces segment features\nf = Φvid (V) ∈ RT ×D . We embed them with temporal convolution and selfattention to obtain f̃ ∈ RB×T ×d :\n  \\tilde {\\mathbf {f}}=\\mathrm {SelfAttn}\\!\\bigl (\\mathrm {Temporal}(\\mathbf {f})\\bigr ). \n\n(8)\n\nLet MA , MN ∈ RK×d denote abnormal and normal memory banks. Their\nmemory guided augmentations are hA (f̃ ) and hN (f̃ ). We concatenate these with\nf̃ and predict framewise anomaly scores â:\n  \\hat {\\mathbf {a}}=\\sigma \\!\\Bigl (\\mathbf {W}\\,\\bigl [\\,\\tilde {\\mathbf {f}}\\,;\\,\\mathbf {h}_A(\\tilde {\\mathbf {f}})+\\mathbf {h}_N(\\tilde {\\mathbf {f}})\\,\\bigr ]+\\mathbf {b}\\Bigr ). \n\n(9)\n\nLet Sabn be indices of abnormal embeddings and f̃abn = f̃ [Sabn ]. Unfolding\nover time yields Z ∈ R(Ba T )×d . Define row-wise ℓ2 normalization by DZ =\ndiag(∥Z1 ∥2 , . . . , ∥ZBa T ∥2 ) and Z̄ = D−1\nZ Z. Similarly, define\n  \\mathbf {D}_M=\\operatorname {diag}\\!\\bigl (\\|\\mathbf {m}_1\\|_2,\\ldots ,\\|\\mathbf {m}_K\\|_2\\bigr ), \n\n(10)\n\nand let M̄A = D−1\nM MA .\nWith temperature τ &gt; 0, we define the assignment matrix and slot usage as:\n  \\mathbf {Q} = \\operatorname {softmax}\\!\\left (\\frac {\\bar {\\mathbf {Z}}\\bar {\\mathbf {M}}_A^{\\!\\top }}{\\tau }\\right ) \\in \\mathbb {R}^{(B_a\\,T)\\times K}. \n\n(11)\n\n  \\mathbf {u} = \\frac {1}{B_a\\,T}\\,\\mathbf {1}^{\\top }\\mathbf {Q} \\in \\mathbb {R}^{K}. \n\n(12)\n\n(i) Domain alignment We align real Normal and pseudo-Normal distributions\nthrough adversarial training. Let f̄N and f̄Ñ denote the mean features of Normal\nand pseudo-Normal streams, and D(·) the domain discriminator with gradient\nreversal layer Gλda (·). The domain alignment loss is\n  \\begin {aligned} \\mathcal {L}_{\\mathrm {DA}} &amp;= \\mathrm {BCE}\\big (D(G_{\\lambda _{\\mathrm {da}}}(\\bar {\\mathbf f}_N)),\\, y_N\\big ) \\\\ &amp;\\quad + \\mathrm {BCE}\\big (D(G_{\\lambda _{\\mathrm {da}}}(\\bar {\\mathbf f}_{\\tilde N})),\\, y_{\\tilde N}\\big ) \\\\ &amp;\\quad + \\lambda _{\\mathrm {dist}} \\big \\|\\bar {\\mathbf f}_N - \\bar {\\mathbf f}_{\\tilde N}\\big \\|_2^2, \\end {aligned} \n(13)\n\nwhere λda ≥ 0 controls the gradient reversal strength and λdist ≥ 0 weights the\nexplicit Normal–pseudo-Normal feature alignment term.\n(ii) Usage-aware update. While domain alignment\nglobal\n\u0001\nP adjusts \u0001\u000e\nP statistics,\nsome slots may remain underutilized. Let µk =\nQ\nZ\nn nk n\nn Qnk be\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\n\n9\n\nthePresponsibility-weighted center of slot k, mk the k-th row of MA , and ū =\n1\nk uk the mean slot usage. We encourage balanced coverage by pulling unK\nderused slots more strongly toward their centers:\n  \\mathcal {L}_{\\mathrm {upd}} =\\tfrac {1}{K}\\sum _{k=1}^{K} \\Bigl (\\tfrac {\\bar {u}}{u_k+\\varepsilon }\\Bigr )^{\\!\\beta } \\!\\bigl \\|\\,\\mathbf {m}_k-\\boldsymbol {\\mu }_k\\,\\bigr \\|_2^2. \n\n(14)\n\nObjective. Our final loss augments the UR-DMU discrimination term with the\ntwo regularizers:\n  \\mathcal {L}=\\mathcal {L}_{\\mathrm {UR\\mbox {-}DMU}}+\\lambda _{1}\\mathcal {L}_{\\mathrm {DA}}+\\lambda _{2}\\mathcal {L}_{\\mathrm {upd}}. \n(15)\n\n4\n\nExperiments\n\n4.1\n\nExperimental Setup\n\nSetup. Unless otherwise specified, we follow an unsupervised training regime:\nthe training data include only real normal videos and the names of abnormal\nclasses that might appear at inference time; no real abnormal videos are used for\ntraining. At evaluation, both real normal and real abnormal videos are included,\nand we report frame-level metrics.\nDatasets. We evaluate on three widely used benchmarks with distinct characteristics: ShanghaiTech (SHT) [11], UCF-Crime (Crime) [18] and XD-Violence\n(XD) [24]. SHT consists of fixed-view campus surveillance scenes with diverse\nillumination and viewpoints, spanning 13 locations and 437 video clips, and\ncovering 14 abnormal categories (e.g., bicycle riding, skateboard intrusion, fighting), with 63 abnormal clips available in the training split. Following common\npractice for weakly supervised evaluation [6, 13, 22], we use the revised split\nof [33] at test time, while keeping training abnormal-free. For SHT, we synthesize 10 pseudo-abnormal clips per class (total 140) and additionally generate 50\npseudo-normal clips for domain alignment. Crime is a large-scale collection of\nreal-world surveillance videos (about 1,900 videos, ∼128 hours) covering 13 abnormal classes (e.g., explosion, abuse), with 810 abnormal clips in the training\nsplit. For Crime, we synthesize 20 pseudo clips per class (total 260) and additionally generate 80 pseudo-normal clips. Following prior setups [36], we apply\n10-crop augmentationl. XD is a large-scale multi-scene violence benchmark with\n4,754 untrimmed videos and 217 hours, spanning 6 violence categories. We follow the official weakly supervised split with 3,954 training videos and 800 testing\nvideos. For XD, we synthesize 10 pseudo-abnormal clips for each of 6 classes and\n50 pseudo-normal clips for domain alignment; details of pseudo-generation are\nprovided in the supplementary material. Pseudo-video synthesis is performed\nonce offline; generating 60 clips takes ∼10 hours on two RTX 6000 Ada GPUs\n(96GB).\nMetrics. To assess the generation quality of the synthesized videos, we report\nstandard video generation metrics. For image-level quality, we compute Fréchet\nInception Distance (FID) and Kernel Inception Distance (KID) between frame\n\n\f10\n\nS. Hashimoto et al.\nTable 2: Examples of prompt refinement by the VLM.\nw/o refine Generate Shoplifting\nGenerate Store theft involves an individual removing merchandise from\nw/ refine\nshelves, concealing it in a backpack, and evading surveillance cameras.\n\nFig. 5: Initial image examples produced by our CLIPbased selection for SHT and\nUCF-Crime. Images are classrelevant and scene-consistent,\nserving as anchors for I2V synthesis.\n\ndistributions of generated and real videos. For spatiotemporal fidelity, we report\nFréchet Video Distance (FVD) and Kernel Video Distance (KVD) based on I3D\nfeatures, capturing motion and temporal coherence. For anomaly detection, we\nfollow the VAD literature and report frame-level Area Under the ROC Curve\n(AUC). In all quantitative comparisons, scores of prior methods are directly\nquoted from their original papers unless otherwise stated.\nImplementation Details. We use the Wan 2.2 image-to-video diffusion model\n(I2V-A14B) [21] with a resolution of 832 × 480 and a frame length of 81. For\nprompt refinement, we employ the Qwen3 30B-A3B vision–language model [27].\nAs an auxiliary video feature extractor (for analysis/metrics), we use the final projector embedding (3,584-D) of Qwen2.5-VL 7B-Instruct [1]. CLIP ViTB/32 [15] is used for initial image selection. Our implementation is based on\nPyTorch and HuggingFace Transformers.\nInitial Images and Prompt Design. Using the init selection process in\nSec. 3.1, we obtain class-relevant init images for SHT and Crime (Fig. 5). They\nexhibit minimal semantic mismatch to target classes. Representative examples\nof VLM-based prompt refinement are shown in Table 2, where the refined text\nbetter reflects the scene context of the initial image. These inits and refined\nprompts are then fed to the I2V generator to construct the pseudo-anomaly\ndatasets. Please refer to the supplementary material for the detail.\n4.2\n\nQualitative Evaluation\n\nClass-Aware Pseudo-Anomaly Generator (CA-PAG) Fig. 6 shows examples of generated videos. Without prompt refinement (w/o Refine, i.e., using\nthe raw class label), ambiguous instructions degrade consistency and text–video\nalignment, leading in SHT to artifacts such as the intrusion of large fighting\ncrowds, object merging/disappearance across frames, and excessive motion that\nignores physical plausibility. On Crime, we likewise observe multiple vehicles\nappearing/disappearing. With prompt refinement (w/ Refine), the VLM-guided\nprompts produce scenes that reflect the initial image context: on SHT we observe\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\n\n11\n\nFig. 6: Qualitative examples of synthesized pseudo anomalies.\n\nFig. 7: Qualitative detection results. Left: SHT (top:skateboarder, bottom:biker).\nRight: UCF-Crime (top:explosion,bottom:burglary). The adaptive memory module\nmitigates MIL bias and improves sensitivity to subtle abnormal segments.\n\nperson fighting present in the initial image with more natural motion; on Crime\nwe observe an inter-vehicle collision without disappearance/merging artifacts.\nDomain-Aligned Regularized Module(DARM). Fig. 7 shows score traces\n(vertical: score; horizontal: time). Left: in “skateboard intrusion,” w/ DARM responds sharply at abnormal segments, while w/o DARM barely rises. In the\n“biker” case, w/ DARM suppresses false positives and concentrates its peak\nwithin the annotated interval. Right: in “explosion,” w/ DARM sustains higher\nsensitivity during the burning phase. In “burglary,” it produces temporally tighter\npeaks aligned with abnormal actions. These examples demonstrate that DARM\nnot only enhances responsiveness to true abnormal events but also suppresses\nmagnitude-driven false negatives, yielding temporally sharper and more semantically aligned detection peaks.\n\n\f12\n\n4.3\n\nS. Hashimoto et al.\n\nQuantitative Evaluation\n\nPseudo-anomaly videos quality. Table 3 reports SHT generation quality. As\nprompt refinement is applied, all metrics improve. In particular, we observe a reduction of FVD by 97 points and KVD by 22.7 points, indicating better motion\nand temporal coherence. These gains are consistent with the qualitative trends\nin Fig. 6, suggesting that refined prompts enhance physical plausibility and scene\nconsistency. In contrast, KID remains unchanged. As it reflects per-frame appearance rather than temporal dynamics, both settings share identical image\nstatistics, while CA-PAG improves motion coherence captured by FVD/KVD.\nDARM for detection. Table 4 reports frame-level AUC against prior UVAD\nand WVAD methods under the Real/Pseudo setting (i.e., training without any\nreal abnormal videos). On SHT, PA-VAD with DARM achieves 98.2% AUC,\nsurpassing the best UVAD method [34] and even outperforming the strongest\nWVAD competitor CMRL [6] (97.6%) by +0.6 points. On XD-Violence, it attains 95.1% AUC and exceeds the strongest Real/Real baseline UR-DMU [36]\n(94.2%) by +0.9 points. These results indicate that DARM mitigates pseudoinduced bias and improves transfer across diverse anomaly domains. On Crime,\nour Real/Pseudo setting is naturally disadvantaged against Real/Real baselines, yet PA-VAD with DARM remains competitive, and still surpasses the\nUVAD state-of-the-art [34] (80.6%) by +1.9 points. UVAD methods are the\nclosest comparison in abnormal-data access, though the level of supervision is\nnot strictly equal, as PA-VAD additionally relies on large pretrained generative\nand vision-language priors; this trades hard-to-collect real abnormal footage for\nreadily available pretrained knowledge—a practical advantage for real-world deployment. Within our PA-VAD framework, replacing the plain UR-DMU [36]\nwith DARM consistently improves performance under the same setting, from\n96.0% → 98.2% on SHT, 80.2% → 82.5% on Crime, and 92.5% → 95.1% on XD;\na consistent gain also holds for the Sultani et al. [18] classifier, indicating that\ndomain alignment and the usage-aware update are important to fully exploiting\npseudo anomalies without overfitting to their magnitude bias.\nAblation of CA-PAG and DARM. Table 5a disentangles the individual\ncontributions of the CA-PAG and DARM components on SHT, allowing us to\nquantify the effect of each design choice. Starting from a random-init baseline\n(86.7%), CLIP-based initial image selection raises AUC to 94.9%, a substantial\ngain of +8.2 points, confirming the benefit of anchoring generation to classrelevant normal seeds. Enabling prompt refinement on top of init image selection already improves AUC from 94.9% to 96.0%, indicating that class-aware\ntextual conditioning is important even without any regularization on the detector side. Within DARM, the usage-aware memory update is the primary driver\nof gains: adding the update term on top of CA-PAG boosts AUC to 97.6–97.7%,\nwhereas domain alignment alone provides only modest improvement. The best\nresult (98.2%) is obtained when domain alignment and usage-aware update are\ncombined, supporting our design that DARM suppresses the magnitude bias by\nreducing the real/pseudo discrepancy and preventing high-magnitude prototypes\nfrom dominating MIL optimization.\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\n\n13\n\nTable 3: Quality of pseudo-anomaly videos.\nData\n\nFVD↓\n\nFID↓\n\nKVD↓\n\nKID↓\n\nOurs w/o Refine\nOurs w/ Refine\n\n701\n604\n\n83.9\n78.0\n\n57.4\n34.7\n\n0.03\n0.03\n\nTable 4: Frame-level AUC (%) comparison on ShanghaiTech (SHT), UCF-Crime\n(Crime), and XD-Violence (XD). “Feature” denotes the frozen clip-level backbone used\nby the detector; “–” indicates methods without such features. “Data type (Nor/Abn)”\ndenotes the source of normal/abnormal training videos (real or pseudo).\nProtocol\n\nUVAD\n\nWVAD\n\nPA-VAD\n(Ours)\n\nMethods\n\nReference\n\nFeature\n\nData type\n(Nor/Abn)\n\nSHT\n\nCrime\n\nXD\n\nLERF [19]\nHSC [20]\nMGSTRL [34]\nSeeKer [7]\nSultani et al. [18]\nCMRL [6]\nUR-DMU [36]\nVERA [28]\nOurs w/Sultani [18]\nOurs w/UR-DMU [36]\nOurs w/DARM\n\nAAAI23\nCVPR23\nCVPR24\nICCV25\nCVPR18\nCVPR23\nAAAI23\nCVPR25\n\n–\n–\n–\n–\nC3D\nI3D\nI3D\nInternVL2\nQwen2.5-VL\nQwen2.5-VL\nQwen2.5-VL\n\nReal/Real/Real/Real/Real/Real\nReal/Real\nReal/Real\nReal/Real\nReal/Pseudo\nReal/Pseudo\nReal/Pseudo\n\n78.6\n83.4\n87.5\n85.5\n–\n97.6\n–\n–\n93.7\n96.0\n98.2\n\n–\n–\n80.6\n–\n75.4\n86.1\n87.0\n86.6\n77.8\n80.2\n82.5\n\n–\n–\n–\n–\n–\n–\n94.2\n88.3\n81.8\n92.5\n95.1\n\nTable 5: Ablation studies of PA-VAD.\n(a) Effect of CA-PAG and DARM components\non SHT.\nCA-PAG\nInitial\n✓\n✓\n✓\n✓\n✓\n✓\n✓\n\nRefine\n\nDARM\nDA\n\n✓\n✓\n✓\n\n✓\n✓\n✓\n\n✓\n✓\n✓\n\nAUC(%)\n\nUpdate\n\n✓\n\n86.7\n94.9\n96.0\n97.6\n97.7\n96.0\n96.8\n98.2\n\n(b) Mean ℓ2 norm of real/pseudo abnormal features in the detector space.\n\nFeature norm\n\nSHT\n\nCrime\n\nXD\n\nReal Abn.\n\n9.13\n\n11.06\n\n39.08\n\nPseudo Abn. w/o DARM\n\n199.48\n\n52.94\n\n420.10\n\nPseudo Abn. w/ DA\n\n183.50\n\n45.87\n\n262.40\n\nPseudo Abn. w/ DARM\n\n8.39\n\n12.80\n\n33.63\n\nTable 6: Effect of the number of synthesized clips on SHT. We vary the number of\ngenerated pseudo-abnormal clips (total = 140) and report the frame-level AUC (%).\nClips\n\n14\n\n35\n\n70\n\n105\n\n140\n\n175\n\nSHT (%)\n\n85.4\n\n94.6\n\n96.9\n\n97.3\n\n98.2\n\n97.7\n\n\f14\n\nS. Hashimoto et al.\nTable 7: Comparison with pseudo-data generation methods and SF-VAD.\nProtocol Method\n\nData type\n\nFeature\nNor.\n\nSHT Crime\nAbn.\n\nCai et al. [3] w/RTFM\nCLIP\nReal+Pseudo Real+Pseudo\n–\nCai et al. [3] w/LAP\nSF-VAD SF-VAD/FPL [5]\nI3D RGB\nReal\nReal\n98.4\nPA-VAD PA-VAD (ours)\nQwen2.5-VL\nReal\nPseudo\n98.2\nWVAD\n\n87.3\n89.3\n89.9\n82.5\n\nMagnitude bias analysis. To verify that DARM mitigates bias on the anomaly\nside, we measure the mean ℓ2 norm of real and pseudo abnormal features in the\ndetector space (Table 5b). The mild gap in the frozen backbone (cf. Table 1)\nis strongly amplified where MIL Top-k operates: without DARM, the pseudoabnormal norm inflates to over 20× the real-abnormal norm on SHT (199.48\nvs. 9.13), forming a magnitude shortcut. Comparing the last two rows of Table 5b isolates the usage-aware update: domain alignment alone (w/ DA) only\npartially narrows the gap, as it aligns the normal streams rather than the abnormal prototypes, whereas full DARM restores the pseudo-abnormal norms to the\nreal-abnormal range across all datasets. This confirms the usage-aware update\nas the key component for correcting the bias on the abnormal side.\nEffect of the number of pseudo clips. Table 6 further analyzes robustness\nto the amount of synthesized data on SHT. Increasing the number of pseudoabnormal clips from 14 to 140 steadily improves performance from 85.4% to\n98.2% AUC, and we already reach 96.9% with only 70 clips. Even when the\nnumber of synthesized clips is reduced to around the scale of the 63 real abnormal clips in the standard WVAD split, PA-VAD with DARM remains highly\ncompetitive. When we further increase the number of synthesized clips to 175,\nthe AUC slightly drops to 97.7%, suggesting a mild saturation effect where overly\nmany pseudo clips introduce redundancy or noise that does not further benefit,\nand can slightly harm, generalization. Overall, the results indicate that pseudoonly training can match or exceed Real/Real pipelines, offering a practical option\nwhen abnormal data is unavailable.\nFurther Analysis with Related Methods. We compare PA-VAD with pseudodata generation methods and the single-frame-supervised SF-VAD/FPL. Table 7\nreports two comparisons: prior pseudo-data results from [3] and the reported\nSF-VAD/FPL results. Cai et al. [3] mix generated pseudo anomalies with real\nabnormal videos; in contrast, PA-VAD uses no real abnormal videos. PA-VAD\nremains competitive with SF-VAD/FPL on SHT (98.2 vs. 98.4) despite not relying on the single precise abnormal-frame annotations that SF-VAD uses. Note\nthat SF-VAD differs from PA-VAD in its baseline, as it employs single frame-level\nsupervision together with real abnormal videos.\nGeneralization to Unseen Anomalies. A key concern in pseudo-only training is overfitting to anomaly categories used for pseudo generation, potentially\nharming robustness to unseen anomalies. Following OpenVAD’s open-set protocol [37] on Crime and XD, we generate pseudo-abnormal videos from a restricted\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\nTable 8: Open-set on Crime.\nSeen anom.\n\n1\n\n3\n\n6\n\n15\n\nTable 9: Open-set on XD.\n9\n\nRTFM [22]\n75.91\n76.98\n77.68\n79.55\nOpenVAD [37]\n76.73\n77.78\n78.82\n80.14\nOurs\n77.65± 3.29 80.86± 2.03 82.18± 0.25 82.30± 0.14\n\nSeen anom.\n\n1\n\n4\n\nOpenVAD [37]\n72.50\n88.25\nOurs\n89.08± 4.52 94.99± 0.13\n\nsubset of anomaly classes (seen) and evaluate on the full test set including heldout classes (unseen). We repeat three random class splits and report mean AUC\nwith standard deviation for PA-VAD; for prior methods, we report the values\nfrom their original papers.\nTables 8 and 9 show that PA-VAD consistently outperforms OpenVAD across\nall settings, even with only one seen class (XD: 72.50 → 89.08, +16.6 points),\nindicating transfer beyond seen-class artifacts. We attribute this open-set robustness primarily to DARM. As discussed in the paper, DARM suppresses\npseudo-induced shortcut cues (e.g., feature-magnitude bias) that can dominate\nMIL-based training and lead to brittle decision rules tied to synthesized artifacts. More importantly for open-set transfer, DARM’s usage-aware memory\nupdate acts as an anti-overfitting mechanism against seen-class specialization: it\nreweights memory updates by slot usage so that slots repeatedly activated by\nthe same seen-class–specific modes are updated less, while under-used slots are\npromoted. This prevents memory from being monopolized by a few seen-driven\nprototypes and encourages the detector to rely on more transferable, modeagnostic abnormal evidence, consistent with the improved sensitivity to unseen\nclasses under open-set splits.\nLimitation. On UCF-Crime, our method does not surpass the SoTA that trains\nwith real abnormal videos under the WVAD setup. A likely factor is the difficulty of synthesizing minute-long, context-heavy anomalies (e.g., extended temporal dependencies), which remain challenging for current video generators; such\nanomalies are more prevalent in UCF-Crime than in SHT, making the dataset\ninherently harder under a pseudo-only setting.\n\n5\n\nConclusion\n\nWe presented PA-VAD, a pseudo-only video anomaly detection framework with\ntwo components: CA-PAG for synthesizing class-consistent pseudo anomalies\nand DARM for mitigating pseudo-induced magnitude bias and stabilizing MILbased learning. Without using any real abnormal footage, PA-VAD achieves\ncompetitive or superior performance to strong baselines on SHT, Crime, and\nXD, demonstrating that high-quality pseudo anomalies with regularized training\nprovide a practical alternative to Real/Real pipelines. Future work includes improving motion priors for pseudo generation and extending evaluation to broader\nvideo generative models and settings.\n\n\f16\n\nS. Hashimoto et al.\n\nReferences\n1. Bai, S., et al.: Qwen2.5-VL technical report. arXiv preprint arXiv:2502.13923\n(2025)\n2. Blattmann, A., Dockhorn, T., Kulal, S., Mendelevitch, D., Kilian, M., Lorenz, D.,\nLevi, Y., English, Z., Voleti, V., Letts, A., Jampani, V., Rombach, R.: Stable video\ndiffusion: Scaling latent video diffusion models to large datasets. arXiv preprint\narXiv:2311.15127 (2023)\n3. Cai, S., Peng, X., Wang, C., Cai, X., Qian, J.: GV-VAD: Exploring Video\nGeneration for Weakly-Supervised Video Anomaly Detection. arXiv preprint\narXiv:2508.00312 (2025)\n4. Carreira, J., Zisserman, A.: Quo vadis, action recognition? a new model and the\nkinetics dataset. In: CVPR. pp. 6299–6308 (2017)\n5. Chen, J., Li, L., Tu, Y., Su, L., Xue, Z., Huang, Q.: Generalizing single-frame\nsupervision to event-level understanding for video anomaly detection. In: NeurIPS.\nvol. 38, pp. 6142–6173 (2025)\n6. Cho, M., Kim, M., Hwang, S., Park, C., Lee, K., Lee, S.: Look around for anomalies:\nWeakly-supervised anomaly detection via context-motion relational learning. In:\nCVPR. pp. 12137–12146 (2023)\n7. Delić, A., Grcic, M., Šegvić, S.: Sequential keypoint density estimator: An overlooked baseline of skeleton-based video anomaly detection. In: ICCV. pp. 11579–\n11589 (2025)\n8. Du, H., Zhang, S., Xie, B., Nan, G., Zhang, J., Xu, J., Liu, H., Leng, S., Liu, J.,\nFan, H., Huang, D., Feng, J., Chen, L., Zhang, C., Li, X., Zhang, H., Chen, J.,\nCui, Q., Tao, X.: Uncovering what, why and how: A comprehensive benchmark for\ncausation understanding of video anomaly. In: CVPR. pp. 18793–18803 (2024)\n9. Ganin, Y., Ustinova, E., Ajakan, H., Germain, P., Larochelle, H., Laviolette, F.,\nMarchand, M., Lempitsky, V.: Domain-adversarial training of neural networks.\nJMLR 17(59), 1–35 (2016)\n10. Hu, Y., Liu, B., Kasai, J., Wang, Y., Ostendorf, M., Krishna, R., Smith, N.A.:\nTIFA: Accurate and interpretable text-to-image faithfulness evaluation with question answering. In: ICCV. pp. 20406–20417 (2023)\n11. Liu, W., Luo, W., Lian, D., Gao, S.: Future frame prediction for anomaly detection\n– a new baseline. In: CVPR. pp. 6536–6545 (2018)\n12. Liu, Z., Nie, Y., Long, C., Zhang, Q., Li, G.: A hybrid video anomaly detection\nframework via memory-augmented flow reconstruction and flow-guided frame prediction. In: ICCV. pp. 13588–13597 (2021)\n13. Lv, H., Yue, Z., Sun, Q., Luo, B., Cui, Z., Zhang, H.: Unbiased multiple instance\nlearning for weakly supervised video anomaly detection. In: CVPR. pp. 8022–8031\n(2023)\n14. Mehrabi, N., Goyal, P., Verma, A., Dhamala, J., Kumar, V., Hu, Q., Chang, K.W.,\nZemel, R., Galstyan, A., Gupta, R.: Resolving ambiguities in text-to-image generative models. In: ACL. pp. 14367–14388 (2023)\n15. Radford, A., Kim, J.W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G.,\nAskell, A., Mishkin, P., Clark, J., Krueger, G., Sutskever, I.: Learning transferable\nvisual models from natural language supervision. In: ICML. vol. 139, pp. 8748–8763\n(2021)\n16. Rai, A.K., Krishna, T., Hu, F., Drimbarean, A., McGuinness, K., Smeaton, A.F.,\nO’Connor, N.E.: Video anomaly detection via spatio-temporal pseudo-anomaly\ngeneration: A unified approach. In: CVPRW. pp. 3887–3899 (2024)\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\n\n17\n\n17. Ren, H., Liu, W., Olsen, S.I., Escalera, S., Moeslund, T.B.: Unsupervised behaviorspecific dictionary learning for abnormal event detection. In: BMVC. pp. 28.1–28.13\n(2015)\n18. Sultani, W., Chen, C., Shah, M.: Real-world anomaly detection in surveillance\nvideos. In: CVPR. pp. 6479–6488 (2018)\n19. Sun, C., Shi, C., Jia, Y., Wu, Y.: Learning event-relevant factors for video anomaly\ndetection. In: AAAI. vol. 37, pp. 2384–2392 (2023)\n20. Sun, S., Gong, X.: Hierarchical semantic contrast for scene-aware video anomaly\ndetection. In: CVPR. pp. 22846–22856 (2023)\n21. Team Wan, et al.: Wan: Open and advanced large-scale video generative models.\narXiv preprint arXiv:2503.20314 (2025)\n22. Tian, Y., Pang, G., Chen, Y., Singh, R., Verjans, J.W., Carneiro, G.: Weaklysupervised video anomaly detection with robust temporal feature magnitude learning. In: ICCV. pp. 4975–4986 (2021)\n23. Tran, D., Bourdev, L., Fergus, R., Torresani, L., Paluri, M.: Learning spatiotemporal features with 3D convolutional networks. In: ICCV. pp. 4489–4497 (2015)\n24. Wu, P., Liu, J., Shi, Y., Sun, Y., Shao, F., Wu, Z., Yang, Z.: Not only look, but also\nlisten: Learning multimodal violence detection under weak supervision. In: ECCV.\nvol. 12375, pp. 322–339 (2020)\n25. Wu, P., Zhou, X., Pang, G., Sun, Y., Liu, J., Wang, P., Zhang, Y.: Open-vocabulary\nvideo anomaly detection. In: CVPR. pp. 18297–18307 (2024)\n26. Wu, P., Zhou, X., Pang, G., Zhou, L., Yan, Q., Wang, P., Zhang, Y.: VadCLIP:\nAdapting vision-language models for weakly supervised video anomaly detection.\nIn: AAAI. vol. 38, pp. 6074–6082 (2024)\n27. Yang, A., et al.: Qwen3 technical report. arXiv preprint arXiv:2505.09388 (2025)\n28. Ye, M., Liu, W., He, P.: VERA: Explainable video anomaly detection via verbalized\nlearning of vision-language models. In: CVPR. pp. 8679–8688 (2025)\n29. Yu, G., Wang, S., Cai, Z., Liu, X., Xu, C., Wu, C.: Deep anomaly discovery from\nunlabeled videos via normality advantage and self-paced refinement. In: CVPR.\npp. 13987–13998 (2022)\n30. Zaheer, M.Z., Mahmood, A., Khan, M.H., Segu, M., Yu, F., Lee, S.I.: Generative\ncooperative learning for unsupervised video anomaly detection. In: CVPR. pp.\n14744–14754 (2022)\n31. Zhang, C., Li, G., Qi, Y., Wang, S., Qing, L., Huang, Q., Yang, M.H.: Exploiting\ncompleteness and uncertainty of pseudo labels for weakly supervised video anomaly\ndetection. In: CVPR. pp. 16271–16280 (2023)\n32. Zhang, H., Xu, X., Wang, X., Zuo, J., Huang, X., Gao, C., Zhang, S., Yu, L.,\nSang, N.: Holmes-VAU: Towards long-term video anomaly understanding at any\ngranularity. In: CVPR. pp. 13843–13853 (2025)\n33. Zhang, J., Qing, L., Miao, J.: Temporal convolutional network with complementary\ninner bag loss for weakly supervised anomaly detection. In: ICIP. pp. 4030–4034\n(2019)\n34. Zhang, M., Wang, J., Qi, Q., Sun, H., Zhuang, Z., Ren, P., Ma, R., Liao, J.:\nMulti-scale video anomaly detection by multi-grained spatio-temporal representation learning. In: CVPR. pp. 17385–17394 (2024)\n35. Zhong, J.X., Li, N., Kong, W., Liu, S., Li, T.H., Li, G.: Graph convolutional label\nnoise cleaner: Train a Plug-And-Play action classifier for anomaly detection. In:\nCVPR. pp. 1237–1246 (2019)\n36. Zhou, H., Yu, J., Yang, W.: Dual memory units with uncertainty regulation for\nweakly supervised video anomaly detection. In: AAAI. vol. 37, pp. 3769–3777\n(2023)\n\n\f18\n\nS. Hashimoto et al.\n\n37. Zhu, Y., Bao, W., Yu, Q.: Towards open set video anomaly detection. In: ECCV.\nvol. 13694, pp. 395–412 (2022)\n\n\fSupplementary Materials for\nPA-VAD: Diffusion-Based Pseudo-Only Video\nAnomaly Detection via Domain-Aligned Memory\nUpdates\nSatoshi Hashimoto⋆ , Yanan Wang, Hitoshi Nishimura, and Mori Kurokawa\nKDDI Research, Inc., Fujimino, Saitama, Japan\n{st-hashimoto,wa-yanan,ht-nishimura,mo-kurokawa}@kddi.com\n\nS1. Additional Details of CA-PAG\nS1.1 Initial image retrieval\nFor each abnormal class c, we retrieve an initial image from the training set of\nreal normal videos that is visually compatible with the target abnormal context. Concretely, we first construct a positive query sentence qc+ that describes\na class-relevant surveillance scene, and a negative query qc− that filters out nonsurveillance artefacts such as noisy images or logos. Example phrases of \"road\naccidents\" include:\n– Positive: “road accidents, roadway, multiple vehicles, street lanes, intersection, traffic lights, road shoulder, median strip, daytime or dusk, fixed high\npole camera, moderate motion blur”\n– Negative: “dashboard ui overlay, speedometer close-up, racing circuit”\nWe encode all candidate normal frames and both queries using CLIP, and\ncompute similarity between each frame and qc+ while penalizing similarity to\nqc− . Figure 1 in the supplementary material visualizes examples of retrieved init\nimages for \"road accidents\" class of UCF-Crime [18]. This CLIP-based retrieval\nanchors the synthesis process to class-consistent, surveillance-style scenes without requiring any real abnormal footage.\n\nFig. 1: Top-4 retrieved init images for the class “road accident”. Ranking is left to right\n(1st→4th).\n\n⋆\n\nCorresponding author\n\n\f20\n\nS. Hashimoto et al.\n\nS1.2 Prompt refinement with a VLM\nStarting from a coarse abnormal class name (e.g., “fighting”, “robbery”), we construct an initial English prompt that describes the abnormal event in a surveillance setting. Given an init image x and a coarse textual description pcoarse\n, we\nc\nquery the VLM with an instruction that (i) asks for a more detailed, temporally\ngrounded description of the abnormal event, (ii) explicitly constrains the camera to be static, and (iii) enforces scene consistency with the given surveillance\nimage. A simple example is as follows:\nYou are an expert in visual scene understanding and anomaly-behavior\ndesign. Given an input image and an anomaly category, describe the\nmost plausible abnormal behavior consistent with both the scene and\nthe category. Your output must be a single short sentence completing\nthe pattern “Generate abuse behavior, manifested as . . . ”. Use only elements clearly visible in the image. Do not invent unseen objects, persons,\nweapons, or motions. Keep the action realistic, scene-grounded, and visually justified. Camera motion is strictly prohibited.\nWe provide the full VLM instruction prompt (written in Chinese) used for\ntextual refinement in the supplemental material. The VLM outputs a refined\n(x) that is used to condition the video diffusion model. Table 1\nprompt prefined\nc\nshows examples of coarse vs. refined prompts. Typically, the refined prompt adds\ntemporal structure (e.g., gradual approach, interaction, and departure), clarifies\nthe role of normal bystanders, and explicitly states the absence of camera motion,\nwhich stabilizes the synthesized videos.\n\nTable 1: Examples of prompt refinement used in CA-PAG. Original prompts were\nwritten in Chinese before translation and refinement.\nBefore Refinement\n\nAfter Refinement\n\nGenerate abuse.\n\nGenerate a person in an office\nspace aggressively shoves and\nrestrains another individual at\nclose distance.\n\nGenerate burglary.\n\nGenerate a person reaches behind a store counter to rummage through items while another stands watching from the\nfront.\n\nGenerate robbery.\n\nGenerate in a parking lot, an\nindividual approaches near a\nvehicle and forcibly grabs an\nitem from another person.\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\n\n21\n\nS1.3 Pseudo-anomaly generation with Wan2.2\nWe use an image-to-video diffusion model (Wan2.2) to synthesize pseudo-abnormal\nclips conditioned on the init image and the refined prompt. Unless otherwise\nstated, we use a resolution of 832×480 pixels, 81 frames per clip, a frame rate\nof 16 fps, and 25 sampling steps.These settings are shared across classes for\nboth ShanghaiTech and UCF-Crime. For the classifier-free guidance scale, we\nuse (3.5,3.5) for SHT and (6.5,4.5) for UCF-Crime and XD-Violence.\nFigure 2 illustrates representative synthesized clips for four classes (burglary,\nexplosion, fighting, moving car, vandalism) and one failure case (shoplifting).\nWe observe that short, visually localized anomalies (e.g., explosions around a\nsingle object, brief collisions, or localized vehicle motion) are synthesized with\nhigh fidelity and maintain a consistent surveillance viewpoint. In contrast, longhorizon, context-heavy crimes such as shoplifting or subtle abuse are more difficult: the generator often produces largely normal behavior with only vague\nor missing abnormal cues. We explicitly treat such failure cases as part of the\npseudo-anomaly distribution; DARM is designed to tolerate these imperfections\nand to prevent a few high-magnitude but unfaithful clips from dominating MIL\noptimization.\n\nS2. Additional Details of DARM\nS2.1 Loss Terms and Coefficients\nOur final training loss follows Eq. (15) of the main paper:\n  \\mathcal {L} = \\mathcal {L}_{\\text {UR-DMU}} + \\lambda _{1}\\mathcal {L}_{\\text {DA}} + \\lambda _{2}\\mathcal {L}_{\\text {upd}} , \nwhere each coefficient corresponds to:\n– λ1 : weight for the domain-alignment loss LDA (Eq. (13))\n– λ2 : weight for the usage-aware memory update loss Lupd (Eq. (14))\n– λda : gradient reversal strength in Eq. (13)\n– λdist : explicit Normal–pseudo-Normal alignment term in Eq. (13)\n– β: exponent controlling the scaling of usage-aware correction in Eq. (14)\nAll hyperparameters used in the main experiments are summarized in Table 2.\n\nS3. Computational Cost\nS3.1 Generation cost\nAll pseudo-anomaly and pseudo-normal videos in our experiments are generated with Wan2.2 on a workstation running Ubuntu 24.04.3 LTS equipped with\ntwo NVIDIA RTX 6000 Ada 96 GB GPUs. During synthesis, Wan2.2 utilizes\n\n\f22\n\nS. Hashimoto et al.\n\n(a) Burglary (UCF-Crime)\n\n(b) Explosion (UCF-Crime)\n\n(c) Fighting (XD-Violence)\n\n(d) Moving car (ShanghaiTech)\n\n(e) Vandalism (UCF-Crime)\n\n(f ) Shoplifting (UCF-Crime, failure example)\n\nFig. 2: Representative synthesized pseudo-anomaly examples used in PA-VAD. Four\nhigh-fidelity cases (burglary, explosion, fighting, moving car, vandalism) and one failure\ncase (shoplifting), where the abnormal cue remains vague or partially missing.\n\napproximately 95,776 MiB of GPU memory, and generating a single pseudoabnormal clip takes about 9 minutes 35 seconds. Producing all synthesized clips\nfor ShanghaiTech (140 pseudo-abnormal and 50 pseudo-normal clips) requires\nroughly 30 hours of wall-clock time, while the full set for UCF-Crime (260\npseudo-abnormal and 80 pseudo-normal clips) takes about 55 hours. For XDViolence, we synthesize 60 pseudo-abnormal clips (10 per each of 6 classes) and\n50 pseudo-normal clips, totaling 110 clips; under the same setup, this requires\nroughly 18 hours of wall-clock time. Considering the scarcity and privacy constraints of real abnormal footage, this generation cost remains modest; PA-VAD\nenables efficient large-scale pseudo-anomaly creation, offering a practical and\nscalable alternative to collecting real anomalies.\n\n\fPA-VAD: Pseudo-Only Video Anomaly Detection\n\n23\n\nTable 2: Training hyperparameters for SHT, UCF-Crime and XD-Violence. All experiments use the same backbone, data pipeline, and MIL configuration; only datasetdependent constants differ.\nHyperparameter\nBatch size\nLearning rate\nSegment number\nOptimizer\nweight decay\n\nShanghaiTech UCF-Crime XD-Violence\n4\n1 × 10−4\n5\nAdam\n1 × 10−5\n\n32\n1 × 10−5\n64\nAdam\n1 × 10−5\n\n4\n1 × 10−5\n4\nAdam\n1 × 10−5\n\nλ1 (Eq. 13, weight of LDA )\nλ2 (Eq. 14, weight of Lupd )\nλda (Eq. 13, GRL strength)\nλdist (Eq. 13, N–Ñ distance)\nβ (Eq. 14, usage exponent)\n\n1.0\n0.1\n0.2\n0.01\n1.0\n\n1.0\n0.1\n0.1\n0.01\n1.0\n\n1.0\n0.1\n0.1\n0.01\n1.0\n\nAbnormal memory slots Kabn\nNormal memory slots Knorm\n\n100\n100\n\n60\n60\n\n60\n60\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"