"<!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>Anomize: Better Open Vocabulary Video Anomaly Detection\nFei Li1,2#\n1\n\nYuran Wang1\n\nNational Engineering Research Center for Multimedia Software, School of Computer Science, Wuhan University\n2\n\narXiv:2503.18094v1 [cs.CV] 23 Mar 2025\n\nWenxuan Liu3,4# Jingjing Chen2 Ruixu Zhang1\nXian Zhong4 Zheng Wang1 *\n\n3\n\nShanghai Key Lab of Intelligent Information Processing, School of Computer Science, Fudan University\n\nState Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University\n4\n\nHubei Key Laboratory of Transportation Internet of Things, Wuhan University of Technology\nlifeiwhu@whu.edu.cn, liuwx66@pku.edu.cn\n\nAbstract\n\n···\nfamiliar\n\nOpen Vocabulary Video Anomaly Detection (OVVAD)\nseeks to detect and classify both base and novel anomalies.\nHowever, existing methods face two specific challenges related to novel anomalies. The first challenge is detection\nambiguity, where the model struggles to assign accurate\nanomaly scores to unfamiliar anomalies. The second challenge is categorization confusion, where novel anomalies\nare often misclassified as visually similar base instances.\nTo address these challenges, we explore supplementary information from multiple sources to mitigate detection ambiguity by leveraging multiple levels of visual data alongside\nmatching textual information. Furthermore, we propose incorporating label relations to guide the encoding of new\nlabels, thereby improving alignment between novel videos\nand their corresponding labels, which helps reduce categorization confusion. The resulting Anomize framework effectively tackles these issues, achieving superior performance\non UCF-C RIME and XD-V IOLENCE datasets, demonstrating its effectiveness in OVVAD.\n\nvisually\n\n···\nunfamiliar\n\nsimilar\nfamiliar\nGT.\n\nambiguous\nscore\n(a) Detection Ambiguity\n\nPred.\n\nNovel\n\nBase\n\nFighting\nmisclassified\nas base one\nAssault\n\nAssault\nAssault\n\n(b) Categorization Confusion\n\nFigure 1. Challenges Related to Novel Anomalies. (a) Detection\nambiguity: The model struggles to assign accurate anomaly scores\nto unfamiliar frames containing novel anomalies. (b) Categorization confusion: Novel anomalies are misclassified as visually similar base instances from the training set.\n\nRecent research has explored open-set VAD [1, 9], where\nanomalies seen in training are considered base cases, while\nothers are treated as novel cases. It trains on normal and\nbase anomalies to detect all anomalies, overcoming the limitations of closed-set detection. However, it struggles with\nunderstanding anomaly categories, leading to unclear outputs [42]. Consequently, a leading study [42] has further\ninvestigated open vocabulary (OV) VAD, which aims to detect and categorize all anomalies using the same training\ndata as open-set VAD, offering more informative results.\nNovel anomalies in OVVAD introduce two challenges\nthat remain unexplored by existing methods: (1) Detection\nambiguity, where the model often lacks sufficient information to accurately assign anomaly scores to unfamiliar data,\nas shown in Fig. 1(a). Current methods rely on training or\nfine-tuning the model, which is inherently limited and cannot adapt to the variability of samples in an open setting. (2)\nCategorization confusion, where novel cases visually similar to base cases are misclassified, as shown in Fig. 1(b). OV\ntasks generally rely on multimodal alignment for categorization. Since the model tends to extract visual features for\nnovel videos similar to base videos, these features are more\nlikely to align with base label encodings, leading to miscategorization. Traditional OV methods use pre-trained encoders to encode text, where the input contains labels with\n\n1. Introduction\nVideo Anomaly Detection (VAD) identifies anomaly in\nvideos and is widely used in public safety systems. Traditional VAD methods can be categorized based on the type\nof training data used. Semi-supervised VAD [3, 22, 49] is\ntrained exclusively on normal samples, detecting anomalies as deviations from learned normal patterns. In contrast, weakly supervised VAD [13, 33, 50] is trained on both\nnormal and anomalous samples but lacks precise temporal labels, treating VAD as a binary classification problem.\nBoth methods focus on detecting specific anomaly within a\nclosed set and exhibit limitations in open-world scenarios.\n* Corresponding author. # Contributed equally to this work.\n\n1\n\n\fnormal visual feature\nanomaly textual feature\nanomaly visual feature\n\ntween base and novel data through grouping, positioning\nthe encodings of novel labels close to those of base labels,\nwhere videos associated with both base and novel labels\nare visually similar, thereby enhancing multimodal alignment for novel data. For novel labels not grouped with base\nlabels, the descriptions provide contextual support to pretrained encoders for text encoding, thus enhancing alignment. Compared to previous methods mainly relying on\npre-trained models, our approach strengthens the guidance\nof the feature space for novel labels, achieving more effective alignment for categorization.\nWith the Anomize framework, we achieve notable\nresults across both XD-V IOLENCE [41] and UCFC RIME [33] datasets. For anomaly detection, we obtain a\n2.78% overall improvement on XD-V IOLENCE and 8.21%\non novel cases, with UCF-C RIME results comparable to a\nmore complex state-of-the-art model. For categorization,\nwe achieve a 25.61% overall increase in Top-1 accuracy on\nXD-V IOLENCE and 5.71% on UCF-C RIME, with improvements of 56.53% and 4.49% on novel cases, respectively.\nIn summary, our contributions are threefold:\n\nguided\ntextual feature space\nmis-aligned\n(before guided)\n\naugment\naugmented\n\nwell-aligned\n(after guided)\n\nsimilar\nvisual feature space\n\n(a) augmented visual features\nof novel anomalies in detection\n\n(b) guided textual features\nof novel labels in categorization\n\nFigure 2. Feature Visualization of Our Design. (a) Text augmentation shifts ambiguous frames to the anomalous feature space.\nIn the static stream, text represents anomaly-related nouns (e.g.,\n“abandoned fire starter”), while in the dynamic stream, it denotes\nlabel descriptions. (b) Group-guided text encoding improves the\nalignment of novel anomalies with novel labels, especially for\nthose resembling base samples.\n\nunified templates [16, 29, 44, 45] or embeddings [2, 4, 53].\nThese methods rely solely on pre-trained encoders without spatial guidance in label encoding, limiting multimodal\nalignment for novel cases.\nTo address detection ambiguity, we introduce a TextAugmented Dual Stream mechanism with dynamic and\nstatic streams, each focusing on different visual features\naugmented by corresponding textual information. The dynamic stream captures sequential information through temporal visual encoding, augmented by label descriptions related to dynamic characteristics. The static stream captures\nscene information through original contrastive languageimage pre-training (CLIP)-encoded visual features, augmented by a concept library related to static characteristics. The complementarity between dynamic and static\ndata is crucial: certain anomalies rely on temporal information, such as tailing, while others depend on contextual\ncues, such as running on a highway. Synergistic training\nof the streams ensures mutual supplementation and constraints, delivering comprehensive temporal and contextual\ninformation, minimizing overfitting to specific anomaly categories, and improving overall performance. Additionally,\nthe augmentation follows common-sense reasoning. To detect anomalies in real-world scenarios, we first define the\nanomaly and establish correlations between visual data and\nanomaly texts, providing a reference for detection within\nthe overall context. Similarly, we augment visual features\nwith relevant anomaly text, providing additional information for detection. As shown in Fig. 2(a), novel visual features that cause ambiguous detections are shifted into the\nanomalous feature space with support from text, helping the\nmodel better assess unfamiliar anomalies.\nTo address categorization confusion, we introduce a\nGroup-Guided Text Encoding mechanism, encoding labels using group-based descriptions, with labels sharing\nsimilar visual characteristics grouped together. As shown\nin Fig. 2(b), this mechanism establishes connections be-\n\n• To address detection ambiguity, we discover the importance of providing sufficient informational support. We\ncombine dynamic and static streams to effectively constrain and complement each other. Operating at different\nlevels of visual features, each stream is augmented with\ncorresponding textual information, offering comprehensive support for detection.\n• To tackle categorization confusion, we emphasize the importance of establishing connections between labels to\nguide their encodings. We propose a text encoding mechanism that groups labels based on visual characteristics\nand generates corresponding descriptions for encodings.\n• Our Anomize framework targets the challenges of novel\nanomalies that remain unexplored, offering new insights\nfor OVVAD and demonstrating superior performance on\ntwo widely-used datasets, particularly for novel cases.\n\n2. Related Work\n2.1. Video Anomaly Detection\nSemi-Supervised VAD. Existing semi-supervised video\nanomaly detection (VAD) methods are typically categorized into three groups: one-class classification (OCC),\nreconstruction-based models, and prediction-based models,\nall of which are trained exclusively on normal data. OCC\nmodels [31, 32, 35, 40, 49] classify anomalies by identifying data points that fall outside a learned hypersphere\nof normal data. However, defining normality can be ambiguous, which often reduces their effectiveness [23, 46].\nReconstruction-based methods [3, 25, 30, 48, 52] use deep\nauto-encoders (DAEs) to learn normal patterns, detecting\nanomalies through high reconstruction errors. However,\n2\n\n\f3. Proposed Anomize Method\n\nDAEs may still reconstruct anomalous frames with low error, weakening detection performance. Prediction models [5, 8, 18, 22, 24, 26], often utilizing GANs, forecast future frames and identify anomalies by comparing predicted\nframes with actual frames.\n\n3.1. Overview\nFollowing Wu et al. [42], we define the training sample set\n+A\nas D = {(vi , yi )}N\ni=1 , which consists of N normal samples Dn and A abnormal samples Da . Here, vi represents\nvideo samples, and yi ∈ Cbase denotes the corresponding anomaly labels. Each vi ∈ Da contains at least one\nanomalous frame, while vi ∈ Dn consists entirely of normal frames. The complete label set C includes both base\nand novel anomaly labels. The objective of OVVAD is to\ntrain a model on D to predict frame-level anomaly scores\nand video-level anomaly labels from C.\nFig. 3 illustrates the overview of framework. We leverage the encoder of the pre-trained CLIP model for its strong\ngeneralization capabilities. Video frames are processed by\nthe CLIP image encoder Φvisual to extract original visual\nfeatures xf ∈ Rn×d , where n is the number of frames\nand d is the feature dimension. These features are temporally modeled by a lightweight temporal encoder. The original features, augmented by a concept library ConceptLib,\npass through the static stream, while temporal features, augmented by label descriptions, pass through the dynamic\nstream. The prediction from each stream is obtained and\naggregated to generate the final frame-level anomaly score\ns ∈ Rn×1 . For categorization, a multimodal alignment\nmethod is used. A fused visual feature is first generated,\nand the CLIP text encoder Φtext extracts textual features via\nthe group-guided text encoding mechanism. Frame-level\npredictions are then obtained through alignment and aggregated for the final video-level result pvideo .\n\nWeakly-Supervised VAD. Weakly-supervised video\nanomaly detection (WSVAD) identifies anomalies using only video-level labels without precise temporal or\nspatial information. WSVAD methods typically frame\nthe task as a multiple instance learning (MIL) problem [19, 33, 34, 39, 50], where videos are divided into\nsegments, and predictions are aggregated into video-level\nanomaly scores. Sultani et al. [33] first define the WSVAD paradigm using a deep multiple-instance ranking\nframework. Recent methods focus on optimizing models.\nTian et al. [34] introduce RTFM, which combines dilated\nconvolutions and self-attention to detect subtle anomalies,\nwhile Zaheer et al. [50] add a clustering-based normalcy\nsuppression mechanism. Other approaches [13, 27] leverage pre-trained models to gain task-agnostic knowledge.\nWu et al. [43] propose VadCLIP, which uses CLIP [29] for\ndual-branch outputs of anomaly scores and labels.\nOpen-Set VAD. Open-set VAD models are trained on\nnormal behaviors and base anomalies to detect all anomalies, addressing the challenges of open-world environments.\nAcsintoae et al. [1] first introduce open-set VAD, along\nwith a benchmark dataset and evaluation framework. Zhu\net al. [54] combine evidential deep learning and normalizing flows within a multiple instance learning framework.\nHirschorn et al. [9] propose a lightweight normalizing flows\nframework that utilizes human pose graph structures.\nOur method provides both detection and categorization\nresults in an open setting, focusing on addressing the challenges related to novel anomalies.\n\n3.2. Lightweight Temporal Encoder\nWe utilize the frozen Φvisual for visual features to leverage its zero-shot capabilities. However, since CLIP is pretrained on image-text pairs, it lacks temporal modeling for\nvideo. Recent methods [14, 37, 38] commonly introduce a\ntemporal encoder. However, this often leads to performance\ndegradation on novel cases, as the additional parameters in\nthe encoder may become specialized for the training set,\nleading to overfitting. Therefore, we adopt a lightweight\nlong short-term memory (LSTM) [10] for temporal modeling, resulting in the temporal visual feature xtem ∈ Rn×d :\n\n2.2. Open Vocabulary Learning\nRecent advancements in pre-trained vision-language models [11, 29] have spurred significant interest in open vocabulary tasks, including object detection [6, 15, 51], semantic segmentation [7, 20, 47], and action recognition [12,\n14, 21, 36]. These studies leverage the pre-trained knowledge of multimodal models, demonstrating strong generalization. Wu et al. [42] first introduce open vocabulary video\nanomaly detection (OVVAD) using the pre-trained model\nCLIP. However, most methods emphasize the visual encoder while neglecting the text encoder, limiting zero-shot\ncapabilities. Our method explores the text encoder and incorporates a guided encoding mechanism to enhance multimodal alignment in OVVAD.\n\nxtem = LSTM (xf ) .\n\n(1)\n\nOther parameter-efficient models may also be suitable,\nas discussed in the supplementary material.\n\n3.3. Group-Guided Text Encoding\nPrevious methods mainly rely on the generalization capabilities of pre-trained models without task-specific guidance,\noften leading to categorization confusion. We introduce a\ngroup-guided text encoding mechanism to address this.\n3\n\n\f(a) Group-Guided Text Encoding\nGroup labels\nand describe\nanomaly in\n{label}…\n\n(b) Concept Library Creation\n\nfighting\nassault\nstealing\n\n...\n\nProgrammer\n\nLLM\n\n(c) Overall Framework\n\n…\n\nlabel feats.\n\nText\nEncoder\n\nframes\nStage 1:\nStage 2:\n\nImage\nEncoder\n\nbroken window\nblood on the ground\nthick black smoke\n\nProgrammer\n\nLLM\n\n...\n\n…\n\nℒ��� (Eq.20)\n\nLightweight\nTemporal Encoder\n\nGive some\nkeywords\nabout\n{label}...\n\nText\nEncoder\n\nDetection Branch\n\nlabel feats.\n\ndynamic stream\n\n…\n\ntemporal\nvisual feats.\n\n…\n\nAugmenter\n\nDetector\n\nℒ�−���\n(Eq.24)\n\nAugmenter\n\nDetector\n\nℒ�−���\n(Eq.24)\n\nstatic stream\n\noriginal visual feats.\n\nConceptLib\n\nanomaly score\n\nConceptLib\n\nCategorization Branch\n(Lightweight Temporal Encoder)\nDetection Branch\n(Augmenter, Detector)\n\nfuse\n\nalignment\n\naverage\n\n…\n\nlabel feats.\n\n…\nvideo label pred.\n\nCategorization Branch\n\nFigure 3. Overview of Our Anomize Framework. (a) Process for obtaining label features via the Group-Guided Text Encoding mechanism. (b) Creation of the concept library ConceptLib for anomaly detection. (c) The framework processes anomaly labels and video\nframes to generate frame-level anomaly scores and detected labels. Scoring is performed using a Text-Augmented Dual Stream mechanism,\nwhere each stream receives corresponding text and visual features, and the fused scores are produced as output. For labeling, the model\naligns label features from the Group-Guided Text Encoding mechanism with the fused original and temporal visual encodings. Both the\ntext and image encoders, pre-trained on CLIP, remain frozen without further optimization.\n\nwhere pframe ∈ Rn×c represents the probability distribution\nover c anomaly labels for each frame. To obtain the videolevel prediction, we select the top M probabilities for each\nlabel and average these top values, where M is the total\nnumber of frames divided by 16:\n\"\n#c\nM\n1 X\npavg = σ\nTopM (pframe [j])\n,\n(7)\nM\n\nWe leverage large language models (LLM), specifically\nGPT-4 [28], for textual encoding. We first use the prompt\npromptgroup to group labels, ensuring that corresponding\nvideos in each group exhibit high visual similarity. Then,\nwe apply the prompt promptdesc to generate text descriptions for each label based on the grouping. These descriptions capture shared elements while emphasizing unique\ncharacteristics within each group, ensuring the encodings\nremain similar yet distinguishable:\n\u0001\nresultgroup = GPT promptgroup , C ,\n(2)\nresultdesc = GPT (promptdesc , resultgroup ) ,\n\nk=1\n\nwhere pavg ∈ R is the average probabilities for each label\nafter applying the softmax function σ(·). Finally, the videolevel prediction pvideo is determined as the label with the\nhighest average probability:\n\n(3)\n\nwhere resultgroup and resultdesc represent the label groups\nand their descriptions. The descriptions are then passed\ninto the frozen CLIP text encoder Φtext to obtain encodings\ntdesc ∈ Rc×d , where c is the number of anomaly labels:\ntdesc = Φtext (resultdesc ) .\n\npvideo = arg max p(j)\navg .\nj\n\nIn our method, both streams utilize text to enhance visual\nencodings via a unified augmenter. The augmenter takes\nvisual encodings evisual and textual encodings etext as input. These are processed by a multi-head attention layer\nMHA(·), where evisual acts as the query and etext acts as\nthe key and value. This operation extracts the most relevant\ntextual features for supplementation, denoted as erefine :\n\n(4)\n\n(5)\n\nerefine = MHA (evisual , etext , etext ) .\n\nwhere α is a scalar weight. The prediction probabilities for\nvideo frames are expressed as:\nxfused t⊤\ndesc\npframe =\n,\n∥xfused ∥ ∥tdesc ∥\n\n(8)\n\n3.4. Augmenter\n\nThese encodings are used for multimodal alignment. For\nthe visual features, we combine the temporal and original\nencodings, preserving the knowledge captured by the pretrained model:\nxfused = xtem + αxf ,\n\nj=1\n\nc\n\n(9)\n\nA fully connected layer FC(·) linearly projects the visual encoding, which is concatenated with the refined textual features and passed through a multi-layer perceptron\n\n(6)\n\n4\n\n\fMLP(·) for dimensionality reduction. This results in the\naugmented output eaug :\neaug = MLP ([erefine ; FC (evisual )]) ,\n\nSimilar to the dynamic stream, xaug is fed into a detector\nfor anomaly score prediction ssta in the static stream:\n\n(10)\n\nssta = Sigmoid (FC (xaug + MLP (xaug ))) .\n\n3.5. Text-Augmented Dual Stream\n\nFinally, the outputs of the two streams are aggregated for\nthe overall anomaly score prediction s:\n\nIn open settings, models may struggle to assess unfamiliar\nanomalies due to limited information. We propose a TextAugmented Dual Stream mechanism with complementary\ndynamic and static streams, each augmented by relevant text\nto provide sufficient support for detection.\nSince video anomaly detection (VAD) relies on temporal cues, we employ a dynamic stream to predict anomaly\nscores sdyn ∈ Rn×1 based on refined visual features faug ∈\nRn×d , derived from temporal visual features and augmented by label descriptions via the augmenter in Sec. 3.4:\nfaug = Augmenter (xtem , tdesc ) ,\nsdyn = Sigmoid (FC (faug + MLP (faug ))) ,\n\n(18)\n\ns = βsdyn + (1 − β) ssta ,\n\n(19)\n\nwhere β is a tunable parameter balancing the contributions\nof the dynamic and static streams.\n\n3.6. Objective Functions\nFirst Training Stage. In the first stage, we focus on video\nanomaly categorization to train the LSTM while freezing\nother modules to prevent optimization conflicts. We use\ncross-entropy loss Lce for categorization. To prevent overfitting to normal data due to class imbalance, we add a separation loss Lsep to enhance the distinction between normal\nand anomalous predictions. The loss for the first stage is:\n\n(11)\n(12)\n\nwhere Sigmoid(·) converts predictions to [0, 1].\nSince the dynamic stream is limited in scene context,\nwe employ a static stream with original visual features augmented by anomaly-relevant concept data.\nSpecifically, we create a concept library ConceptLib\ncontaining key features related to anomalies. These features\nare generated by Φtext from various nouns describing significant characteristics of the anomalies:\n\nLcat = Lce + Lsep ,\n\n(20)\n\nN\n\nLce = −\n\n1 X\ngi log (pavg,i ) ,\nN i=1\n\n(21)\n\nN\n\nConceptLib = Φtext (GPT(promptconc , C)) ,\n\n(13)\n\nLsep = −\n\nwhere promptconc is a prompt for relevant nouns. We then\ncompute the cosine similarity between the visual feature of\n(i)\nframe i, xf , and concept features h ∈ ConceptLib:\n\n1 X\n|max(pavg,i [1 :]) − pavg,i [0]| + 1, (22)\nN i=1\n\nwhere pavg,i denotes the predicted probabilities for the i-th\nvideo, and the normal label is at the first index. gi is the\none-hot ground truth, and N denotes the batch size.\n\n(i)\n\nsim\n\n\u0010\n\n\u0011\n\n(i)\nxf , h\n\n=\n\nxf h⊤\n(i)\nxf\n\n.\n\nSecond Training Stage. In the second stage, we focus on\nanomaly detection to train the static and dynamic streams\nwhile freezing other modules. Following Wu et al. [43], we\napply the MIL loss. Specifically, we first average the top\nM frame anomaly scores to obtain the video-level prediction q̂i , then compute the loss LX−MIL for each stream using binary cross-entropy to quantify the difference between\npredictions and binary labels qi , where qi = 1 denotes an\nanomaly and X ∈ {D, S} denotes the type of stream. Additionally, we apply a weight wi in this phase to tackle data\nimbalance by increasing the penalty for incorrect scores related to anomalous videos. The loss is defined as follows:\n\n(14)\n\n∥h∥\n(i)\n\nThe top K relevant concept features hf ∈ RK×d and their\n(i)\n\nscores sf ∈ RK are selected:\n\u0010\n\u0010\n\u0011\u0011\n(i) (i)\n(i)\nhf , sf = TopK sim xf , h .\n\n(15)\n\nThe selected features are then weighted by their scores and\nconcatenated to form refined textual features for the video:\nh \u0010 \u0011\nin\n(i)\n(i)\nhnew\n= σ sf ⊙ hf\n.\n(16)\nf\ni=1\n\nLdet = LD−MIL + LS−MIL ,\n\nNext, the refined features hnew\n∈ Rn×k×d and the origif\nnal visual features xf are passed through the augmenter to\ngenerate the augmented encoding xaug ∈ Rn×d :\n\u0001\nxaug = Augmenter xf , hnew\n.\n(17)\nf\n\nN\n\nLX−MIL = −\n\n5\n\n(23)\n\n1 X\nwi (qi log (q̂i ) + (1 − qi ) log (1 − q̂i )) .\nN i=1\n(24)\n\n\fMethod\n\nAP\n\nAPb\n\nAPn\n\nAUC\n\nAUCb\n\nAUCn\n\nMethod\n\nACC\n\nACCb\n\nACCn\n\nACC\n\nACCb\n\nACCn\n\nZhu et al.∗ [54]\nSultani et al. [33]\nWu et al. [41]\nRTFM [34]\nWu et al. [42]\nOurs\n\n64.40\n52.26\n55.43\n58.99\n66.53\n69.31\n\n51.25\n52.94\n55.72\n57.10\n57.37\n\n54.64\n64.10\n65.97\n76.03\n84.24\n\n78.82\n78.25\n82.24\n84.47\n86.40\n84.49\n\n86.31\n90.62\n92.54\n93.80\n93.00\n\n80.12\n84.13\n85.87\n88.20\n87.05\n\nWu et al. [42]\nOurs\n\n64.68\n90.29\n\n89.31\n92.37\n\n30.90\n87.43\n\n41.43\n47.14\n\n49.02\n56.86\n\n37.08\n41.57\n\nTable 2. Top-1 Accuracy (%) Comparisons on XD-V IOLENCE\n(left) and UCF-C RIME (right).\n\nTable 1.\nDetection Metrics (%) Comparisons for XDV IOLENCE (left) and UCF-C RIME (right). The best results are\nhighlighted in bold, our method is shaded in gray, the symbol ∗\nindicates different category divisions, and underlined values represent the second-best results.\n\nvisual features from CLIP and adopt an open-set setting.\nOn XD-V IOLENCE, we achieve the best performance, with\nan increase of 2.78% overall and 8.21% on novel cases,\ndemonstrating the effectiveness of our method in reducing detection ambiguity. On UCF-C RIME, our method\nachieves competitive results, likely due to the lightweight\ntemporal encoder and segmented training, which limits optimization for the detection branch. Since other studies focus solely on traditional VAD without categorization, we\ncompare our method’s categorization performance with a\nleading study [42] in Tab. 2. Our method shows significant\nimprovements, with a 25.61% gain on XD-V IOLENCE and\n5.71% on UCF-C RIME, as well as further improvements of\n56.53% and 4.49% on novel cases, highlighting its effectiveness in reducing categorization confusion.\n\n4. Experimental Results\n4.1. Datasets and Implementation Details\nDatasets. We evaluate the performance of Anomize on\ntwo widely-used benchmark datasets. XD-V IOLENCE [41]\nis the largest dataset focused on violent events in videos,\ncontaining 3,954 training videos and 800 testing videos.\nThe videos are collected from movies and YouTube, capturing six types of anomalous events across diverse scenarios. UCF-C RIME [33] is a large-scale dataset with 1,610\nuntrimmed surveillance videos for training and 290 for testing, totaling 128 hours. This dataset includes 13 types of\nanomalous events, spanning both indoor and outdoor settings and providing broad coverage of real-world scenarios.\n\n4.3. Ablation Studies\nEffectiveness of Lightweight Temporal Encoder. The\nexperiments confirm the importance of temporal information in video-level tasks. Tab. 3 shows that the dynamic\nstream, with temporal encoding, provides useful temporal\ncues and complements the static stream effectively. While\nrelying solely on temporal information performs poorly due\nto noise, the dynamic stream becomes more effective with\nloss weighting and text augmentation. Tab. 4 shows that\nadding the temporal encoder improves performance on base\ncases, but without further guidance, the lightweight encoder\nstill introduces confusion for novel anomalies.\n\nEvaluation Metrics. For anomaly detection, we employ\nstandard metrics from previous works [33, 41]. Specifically,\nfor UCF-C RIME, we compute AUC, which captures the\ntrade-off between true positive and false positive rates. For\nXD-V IOLENCE, we report AP, reflecting the balance between precision and recall. For anomaly categorization, we\nreport Top-1 accuracy on anomalous test videos from both\ndatasets. These metrics are provided for all categories combined, as well as separately for base and novel categories,\ndenoted by the subscripts b and n, respectively.\n\nEffectiveness of Group-Guided Text Encoding Mechanism. Comparisons in Tab. 4 between the second and\nthird rows, or the fourth and fifth rows, on both datasets\nshow that textual encodings based on group descriptions\noutperform the baseline, demonstrating the importance of\nour text encoding mechanism.\n\nImplementation Details. We implement our model in\nPyTorch and train it on an RTX 4090 with a 256-frame\nlimit. Using the AdamW optimizer [17] with a learning\nrate of 2 × 10−5 and a batch size of 32, we train for 16\nand 64 epochs in two phases. We use the pre-trained CLIP\n(ViT-B/16) model. The MLP module contains 2 fully connected layers with GeLU activation. The fusion weight α\nis 1 during training and 2 during testing. K is 25 for XDV IOLENCE and 5 for UCF-C RIME. Score weight β is 1 on\nXD-V IOLENCE (0 for base categories) and 0.5 on UCFC RIME (0 for novel categories). Loss weight wi follows the\nnormal-to-anomaly ratio per iteration.\n\nEffectiveness of Text Augmentation. As shown in\nTab. 3, text augmentation in both dynamic and static streams\ngenerally reduces detection ambiguity by compensating for\nthe limitations of visual features. The dynamic stream\nwith only text augmentation shows a slight drop on UCFC RIME, suggesting noise in the temporal encodings. However, when combined with the loss weight, it demonstrates\nthe importance of text, as shown in Rows 6 and 7.\n\n4.2. Comparison with State-of-the-Art Methods\n\nEffectiveness of Integrating Dynamic and Static\nStreams. Tab. 3 shows that integrating the two streams is\ngenerally more effective than using them independently, as\n\nIn Tab. 1, we compare the performance of our method with\nprior VAD methods, ensuring that all methods use the same\n6\n\n\fMsta\n\nMdyn\n\nXD-V IOLENCE\n\nvisual\n√\n√\n√\n\ntext\n\nwi\n\nvisual\n\ntext\n\nwi\n\n×\n√\n√\n\n×\n×\n√\n\n×\n×\n×\n×\n√\n\n×\n×\n×\n×\n√\n\n×\n×\n×\n×\n√\n\n×\n×\n×\n×\n×\n√\n\n√\n√\n\n√\n√\n\n×\n×\n×\n×\n×\n√\n\n×\n×\n×\n√\n√\n√\n√\n√\n√\n√\n\n√\n\n√\n×\n√\n√\n√\n\n√\n×\n√\n√\n\nST\n√\n√\n√\n√\n√\n√\n√\n√\n×\n√\n\nUCF-C RIME\n\nAP (%)\n\nAPb (%)\n\nAPn (%)\n\nAUC (%)\n\nAUCb (%)\n\nAUCn (%)\n\n54.75\n59.65\n59.26\n47.19\n54.98\n54.16\n48.55\n64.92\n58.22\n69.31\n\n46.30\n56.41\n57.20\n36.87\n57.79\n56.03\n51.15\n52.93\n58.58\n57.37\n\n76.61\n75.29\n74.28\n69.79\n69.40\n68.19\n59.93\n79.91\n72.31\n84.24\n\n48.47\n52.21\n84.26\n26.93\n23.06\n83.21\n80.97\n52.37\n84.52\n84.49\n\n47.72\n59.18\n92.06\n17.39\n14.68\n91.94\n90.71\n59.44\n92.62\n93.00\n\n50.05\n48.45\n86.86\n25.73\n19.74\n85.43\n83.63\n48.61\n86.52\n87.05\n\nTable 3. Effectiveness of Dynamic Mdyn and Static Msta Streams with Text-Augmented Visual Data, Additional Loss Weight wi ,\nand Segmented Training (ST) on XD-V IOLENCE (left) and UCF-C RIME (right). In Msta , the visual data is the original visual feature\noutput by CLIP, while in Mdyn , it is derived from a lightweight temporal encoder.\nXD-V IOLENCE\nEtem\n×\n√\n√\n√\n√\n√\n√\n\nMgroup\n×\n×\n√\n×\n√\n√\n√\n\nFfus\n×\n×\n×\n√\n√\n√\n√\n\nLsep\n×\n×\n×\n×\n×\n√\n√\n\nST\n√\n√\n√\n√\n√\n×\n√\n\nUCF-C RIME\n\nACC (%)\n\nACCb (%)\n\nACCn (%)\n\nACC (%)\n\nACCb (%)\n\nACCn (%)\n\n45.92\n53.42\n56.07\n56.51\n90.07\n89.95\n90.29\n\n74.81\n92.37\n92.75\n94.66\n91.98\n91.98\n92.37\n\n6.28\n0\n5.76\n4.19\n87.43\n86.91\n87.43\n\n35.71\n25.71\n27.86\n27.14\n46.43\n46.43\n47.14\n\n56.86\n70.59\n68.63\n74.51\n56.86\n52.94\n56.86\n\n23.60\n0\n4.49\n0\n40.45\n42.70\n41.57\n\nTable 4. Effectiveness of the Lightweight Temporal Encoder Etem , Group-Guided Text Encoding Mechanism Mgroup , Fusion\nFunction Ffus , Additional Separation Loss Lsep , and Segmented Training (ST) on XD-V IOLENCE (left) and UCF-C RIME (right).\n\nthey complement and constrain each other, which is evident\nfrom the comparisons in the third, sixth, and last rows.\n\nTest\nTrain\n\nEffectiveness of Additional Loss Design. Tab. 3 emphasizes the importance of loss weight wi , especially\nwhen training dynamic and static streams together. On\nXD-V IOLENCE, adding wi slightly degrades single-stream\ntraining but significantly benefits integrated streams. Besides, Tab. 4 shows that adding separation loss Lsep improves performance, effectively addressing class imbalance.\n\nXD-V IOLENCE\nUCF-C RIME\n\nXD-V IOLENCE\n\nUCF-C RIME\n\nAP (%)\n\nACC (%)\n\nAUC (%)\n\nACC (%)\n\n69.31\n66.16\n\n90.29\n85.87\n\n81.69\n84.68\n\n45.71\n47.14\n\nTable 5. Cross-Dataset Detection and Categorization Results.\n\nits capability to handle novel cases with minimal detection ambiguity, highlighting the strong support of the textaugmented dual stream.\nFig. 5 shows similarity matrices of textual encodings,\nwhere labels indicated by the same dot are grouped together. Fig. 5(a) and (c) show results from encoding text\nusing only label text, where visually similar anomalies lack\ncorresponding textual similarity, revealing the limitations\nof relying solely on pre-trained models. Fig. 5(b) and (d)\npresent results after being guided, where textual similarities\nwithin groups are enhanced to better align with visual similarities. This demonstrates the benefit of establishing label\nconnections to guide encoding.\n\nEffectiveness of Segmented Training. Results in Tab. 3\nand Tab. 4 show that segmented training generally outperforms single-phase training, especially for novel cases, confirming that single-phase training may cause optimization\nconflicts and increase overfitting risks. On UCF-C RIME,\nsingle-phase training shows slightly better categorization\nperformance on novel categories, likely due to randomness\ncaused by optimization conflicts, as reflected in the poor\nperformance on base categories.\n\n4.4. Qualitative results\nFig. 4 presents qualitative results for anomaly detection,\nfeaturing two base and two novel categories from each\ndataset to cover all label groups. The comparison between\nthe blue predicted score lines and the pink rectangles for\nground truth demonstrates the effectiveness of our model\nin detecting anomalies. Notably, our method demonstrates\n\n4.5. Adaptability and Generalization\nAnalysis of Cross-Dataset Ability. Tab. 5 shows that\ntraining on one dataset in an open-set manner and testing on\nanother achieves results comparable to direct training on the\ntarget dataset, highlighting the adaptability of our method.\n7\n\n\fbase / fighting\n\nbase / car accident\n\nnovel / riot\n\nnovel / explosion\n\nbase / assault\n\nbase / burglary\n\nnovel / arrest\n\nnovel / arson\n\nFigure 4. Qualitative Results for Anomaly Detection. The first and second rows present results on XD-V IOLENCE and UCF-C RIME\nrespectively. Red boxes and rectangles highlight the ground-truth anomalous frames, while blue lines represent predicted anomaly scores.\n-- a group\n\n(a) XD-Violence origin\n\n(b) XD-Violence refine\n\n(c) UCF-Crime origin\n\n(d) UCF-Crime refine\n\nFigure 5. Similarity Matrices of Textual Encoding. (a) and (c) depict results using encodings from the original label data, while (b) and\n(d) show improvements achieved with the group-guided text encoding mechanism.\nSetting\n\nACC (%)\n\nACCb (%)\n\nACCn (%)\n\norig.\n+ shoplifting\n+ arrest\n+ arson\n+ assault\n+ labels\n\n90.29\n90.51\n89.96\n88.77\n87.28\n85.21\n\n92.37\n92.37\n92.37\n92.37\n87.40\n86.64\n\n87.43\n88.21\n86.73\n84.08\n87.11\n83.25\n\norig.\n+ riot\n+ labels\n\n47.14\n65.69\n45.00\n\n56.86\n56.86\n54.90\n\n41.57\n68.09\n39.33\n\nwith similar labels like fighting. On UCF-C RIME, incorporating riot leads to notable improvement, with most instances accurately categorized despite being grouped with\nfour other labels. Although the addition of new labels introduces some confusion, the performance remains robust\nacross both datasets.\n\n5. Conclusion\nWe propose the Anomize framework to address detection\nambiguity and categorization confusion in open vocabulary video anomaly detection (OVVAD). By augmenting\nvisual encodings with anomaly-related text through a dualstream mechanism, Anomize improves the detection of unfamiliar samples and resolves ambiguity. Additionally, a\ngroup-guided text encoding mechanism enhances multimodal alignment and reduces categorization confusion. Experiments on XD-V IOLENCE and UCF-C RIME demonstrate the effectiveness of our method.\n\nTable 6. Impact of Data Addition on Top-1 Accuracy for XDV IOLENCE (top) and UCF-C RIME (bottom). “+ shoplifting”\ndenotes the addition of both videos and labels, while “+ labels”\nindicates adding new labels only.\n\nAnalysis of Open Vocabulary Ability. The open vocabulary ability is demonstrated by stable categorization performance after adding novel anomaly data, which we further validate by evaluating top-1 accuracy with the added\ndata, as shown in Tab. 6. The additional data for one\ndataset is sourced from another. On XD-V IOLENCE, incorporating both same-group (e.g., arson) and differentgroup data (e.g., shoplifting) leads to stable performance,\nthough assault shows the clearest decline due to confusion\n\nAcknowledgments. This work was supported by the\nNational Natural Science Foundation of China (Grants\n62171325, 62271361), the Hubei Provincial Key Research\nand Development Program (Grant 2024BAB039), and the\nsupercomputing system at Wuhan University.\n8\n\n\fReferences\n\n[14] Chen Ju, Tengda Han, Kunhao Zheng, Ya Zhang, and Weidi\nXie. Prompting visual-language models for efficient video\nunderstanding. In Proc. Eur. Conf. Comput. Vis., pages 105–\n124, 2022. 3\n[15] Dahun Kim, Anelia Angelova, and Weicheng Kuo. Regionaware pretraining for open-vocabulary object detection with\nvision transformers. In Proc. IEEE/CVF Conf. Comput. Vis.\nPattern Recognit., pages 11144–11154, 2023. 3\n[16] Jooyeon Kim, Eulrang Cho, Sehyung Kim, and Hyunwoo J.\nKim. Retrieval-augmented open-vocabulary object detection. In Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., pages 17427–17436, 2024. 2\n[17] Diederik P. Kingma and Jimmy Ba. Adam: A method for\nstochastic optimization. In Proc. Int. Conf. Learn. Represent., 2015. 6\n[18] Sangmin Lee, Hak Gu Kim, and Yong Man Ro. BMAN:\nbidirectional multi-scale aggregation networks for abnormal\nevent detection. IEEE Trans. Image Process., 29:2395–2408,\n2020. 3\n[19] Shuo Li, Fang Liu, and Licheng Jiao. Self-training multisequence learning with transformer for weakly supervised\nvideo anomaly detection. In Proc. AAAI Conf. Artif. Intell.,\npages 1395–1403, 2022. 3\n[20] Feng Liang, Bichen Wu, Xiaoliang Dai, Kunpeng Li, Yinan\nZhao, Hang Zhang, Peizhao Zhang, Peter Vajda, and Diana\nMarculescu. Open-vocabulary semantic segmentation with\nmask-adapted CLIP. In Proc. IEEE/CVF Conf. Comput. Vis.\nPattern Recognit., pages 7061–7070, 2023. 3\n[21] Kun-Yu Lin, Henghui Ding, Jiaming Zhou, Yi-Xing Peng,\nZhilin Zhao, Chen Change Loy, and Wei-Shi Zheng. Rethinking clip-based video learners in cross-domain openvocabulary action recognition. arXiv:2403.01560, 2024. 3\n[22] Wen Liu, Weixin Luo, Dongze Lian, and Shenghua Gao. Future frame prediction for anomaly detection - A new baseline. In Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., pages 6536–6545, 2018. 1, 3\n[23] Wenxuan Liu, Shilei Zhao, Xiyu Han, Aoyu Yi, Kui Jiang,\nZheng Wang, and Xian Zhong. Pixel-refocused navigated trimargin for semi-supervised action detection. In Proc. ACM\nInt. Conf. Multimedia Workshop, pages 23–31, 2024. 2\n[24] Zhian Liu, Yongwei Nie, Chengjiang Long, Qing Zhang, and\nGuiqing Li. A hybrid video anomaly detection framework\nvia memory-augmented flow reconstruction and flow-guided\nframe prediction. In Proc. IEEE/CVF Int. Conf. Comput.\nVis., pages 13568–13577, 2021. 3\n[25] Cewu Lu, Jianping Shi, and Jiaya Jia. Abnormal event detection at 150 FPS in MATLAB. In Proc. IEEE/CVF Int. Conf.\nComput. Vis., pages 2720–2727, 2013. 2\n[26] Yiwei Lu, K. Mahesh Kumar, Seyed Shahabeddin Nabavi,\nand Yang Wang. Future frame prediction using convolutional\nVRNN for anomaly detection. In Proc. IEEE Int. Conf. Adv.\nVideo Signal Based Surveill., pages 1–8, 2019. 3\n[27] Hui Lv, Zhongqi Yue, Qianru Sun, Bin Luo, Zhen Cui,\nand Hanwang Zhang. Unbiased multiple instance learning for weakly supervised video anomaly detection. In\nProc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., pages\n8022–8031, 2023. 3\n\n[1] Andra Acsintoae, Andrei Florescu, Mariana-Iuliana\nGeorgescu, Tudor Mare, Paul Sumedrea, Radu Tudor\nIonescu, Fahad Shahbaz Khan, and Mubarak Shah. Ubnormal: New benchmark for supervised open-set video\nanomaly detection. In Proc. IEEE/CVF Conf. Comput. Vis.\nPattern Recognit., pages 20111–20121, 2022. 1, 3\n[2] Dibyadip Chatterjee, Fadime Sener, Shugao Ma, and Angela\nYao. Opening the vocabulary of egocentric actions. In Adv.\nNeural Inf. Process. Syst., 2023. 2\n[3] Yang Cong, Junsong Yuan, and Ji Liu. Sparse reconstruction\ncost for abnormal event detection. In Proc. IEEE/CVF Conf.\nComput. Vis. Pattern Recognit., pages 3449–3456, 2011. 1,\n2\n[4] Yu Du, Fangyun Wei, Zihe Zhang, Miaojing Shi, Yue Gao,\nand Guoqi Li. Learning to prompt for open-vocabulary\nobject detection with vision-language model. In Proc.\nIEEE/CVF Conf. Comput. Vis. Pattern Recognit., pages\n14064–14073, 2022. 2\n[5] Xinyang Feng, Dongjin Song, Yuncong Chen, Zhengzhang\nChen, Jingchao Ni, and Haifeng Chen. Convolutional transformer based dual discriminator generative adversarial networks for video anomaly detection. In Proc. ACM Int. Conf.\nMultimedia, pages 5546–5554, 2021. 3\n[6] Xiuye Gu, Tsung-Yi Lin, Weicheng Kuo, and Yin Cui.\nOpen-vocabulary object detection via vision and language\nknowledge distillation. In Proc. Int. Conf. Learn. Represent.,\n2022. 3\n[7] Kunyang Han, Yong Liu, Jun Hao Liew, Henghui Ding, Jiajun Liu, Yitong Wang, Yansong Tang, Yujiu Yang, Jiashi\nFeng, Yao Zhao, and Yunchao Wei. Global knowledge calibration for fast open-vocabulary segmentation. In Proc.\nIEEE/CVF Int. Conf. Comput. Vis., pages 797–807, 2023. 3\n[8] Yi Hao, Jie Li, Nannan Wang, Xiaoyu Wang, and Xinbo\nGao. Spatiotemporal consistency-enhanced network for\nvideo anomaly detection. Pattern Recognit., 121:108232,\n2022. 3\n[9] Or Hirschorn and Shai Avidan. Normalizing flows for human pose anomaly detection. In Proc. IEEE/CVF Int. Conf.\nComput. Vis., pages 13499–13508, 2023. 1, 3\n[10] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term\nmemory. Neural Comput., 9(8):1735–1780, 1997. 3\n[11] Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh,\nHieu Pham, Quoc V. Le, Yun-Hsuan Sung, Zhen Li, and Tom\nDuerig. Scaling up visual and vision-language representation learning with noisy text supervision. In Proc. Int. Conf.\nMach. Learn., pages 4904–4916, 2021. 3\n[12] Chengyou Jia, Minnan Luo, Xiaojun Chang, Zhuohang\nDang, Mingfei Han, Mengmeng Wang, Guang Dai, Sizhe\nDang, and Jingdong Wang. Generating action-conditioned\nprompts for open-vocabulary video action recognition. In\nProc. ACM Int. Conf. Multimedia, pages 4640–4649, 2024.\n3\n[13] Hyekang Kevin Joo, Khoa Vo, Kashu Yamazaki, and Ngan\nLe. CLIP-TSA: clip-assisted temporal self-attention for\nweakly-supervised video anomaly detection. In Proc. IEEE\nInt. Conf. Image Process., pages 3230–3234, 2023. 1, 3\n\n9\n\n\flisten: Learning multimodal violence detection under weak\nsupervision. In Proc. Eur. Conf. Comput. Vis., pages 322–\n339, 2020. 2, 6\n[42] Peng Wu, Xuerong Zhou, Guansong Pang, Yujia Sun, Jing\nLiu, Peng Wang, and Yanning Zhang. Open-vocabulary\nvideo anomaly detection. In Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., pages 18297–18307, 2024. 1, 3,\n6\n[43] Peng Wu, Xuerong Zhou, Guansong Pang, Lingru Zhou,\nQingsen Yan, Peng Wang, and Yanning Zhang. Vadclip:\nAdapting vision-language models for weakly supervised\nvideo anomaly detection. In Proc. AAAI Conf. Artif. Intell.,\npages 6074–6082, 2024. 3, 5\n[44] Tao Wu, Shuqiu Ge, Jie Qin, Gangshan Wu, and Limin\nWang. Open-vocabulary spatio-temporal action detection.\narXiv:2405.10832, 2024. 2\n[45] Zuxuan Wu, Zejia Weng, Wujian Peng, Xitong Yang, Ang\nLi, Larry S. Davis, and Yu-Gang Jiang. Building an openvocabulary video CLIP model with better architectures, optimization and data. IEEE Trans. Pattern Anal. Mach. Intell.,\n46(7):4747–4762, 2024. 2\n[46] Haiyang Xie, Zhengwei Yang, Huilin Zhu, and Zheng\nWang. Striking a balance: Unsupervised cross-domain\ncrowd counting via knowledge diffusion. In Proceedings of\nthe 31st ACM international conference on multimedia, pages\n6520–6529, 2023. 2\n[47] Mengde Xu, Zheng Zhang, Fangyun Wei, Han Hu, and Xiang Bai. SAN: side adapter network for open-vocabulary\nsemantic segmentation. IEEE Trans. Pattern Anal. Mach.\nIntell., 45(12):15546–15561, 2023. 3\n[48] Zhiwei Yang, Jing Liu, Zhaoyang Wu, Peng Wu, and Xiaotao\nLiu. Video event restoration based on keyframes for video\nanomaly detection. In Proc. IEEE/CVF Conf. Comput. Vis.\nPattern Recognit., pages 14592–14601, 2023. 2\n[49] Muhammad Zaigham Zaheer, Jin-Ha Lee, Marcella Astrid,\nand Seung-Ik Lee. Old is gold: Redefining the adversarially learned one-class classifier training paradigm. In\nProc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., pages\n14171–14181, 2020. 1, 2\n[50] Muhammad Zaigham Zaheer, Arif Mahmood, Marcella\nAstrid, and Seung-Ik Lee. CLAWS: clustering assisted\nweakly supervised learning with normalcy suppression for\nanomalous event detection. In Proc. Eur. Conf. Comput. Vis.,\npages 358–376, 2020. 1, 3\n[51] Alireza Zareian, Kevin Dela Rosa, Derek Hao Hu, and ShihFu Chang. Open-vocabulary object detection using captions.\nIn Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit.,\npages 14393–14402, 2021. 3\n[52] Yuanhong Zhong, Xia Chen, Jinyang Jiang, and Fan Ren.\nA cascade reconstruction model with generalization ability\nevaluation for anomaly detection in videos. Pattern Recognit., 122:108336, 2022. 2\n[53] Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei\nLiu. Learning to prompt for vision-language models. Int. J.\nComput. Vis., 130(9):2337–2348, 2022. 2\n[54] Yuansheng Zhu, Wentao Bao, and Qi Yu. Towards open set\nvideo anomaly detection. In Proc. Eur. Conf. Comput. Vis.,\npages 395–412, 2022. 3, 6\n\n[28] OpenAI. GPT-4 technical report. arXiv:2303.08774, 2023.\n4\n[29] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya\nRamesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry,\nAmanda Askell, Pamela Mishkin, Jack Clark, Gretchen\nKrueger, and Ilya Sutskever. Learning transferable visual\nmodels from natural language supervision. In Proc. Int.\nConf. Mach. Learn., pages 8748–8763, 2021. 2, 3\n[30] Nicolae-Catalin Ristea, Florinel-Alin Croitoru, Radu Tudor Ionescu, Marius Popescu, Fahad Shahbaz Khan, and\nMubarak Shah. Self-distilled masked auto-encoders are efficient video anomaly detectors. In Proc. IEEE/CVF Conf.\nComput. Vis. Pattern Recognit., pages 15984–15995, 2024.\n2\n[31] Mohammad Sabokrou, Mohammad Khalooei, Mahmood\nFathy, and Ehsan Adeli. Adversarially learned one-class\nclassifier for novelty detection. In Proc. IEEE/CVF Conf.\nComput. Vis. Pattern Recognit., pages 3379–3388, 2018. 2\n[32] Bernhard Schölkopf, Robert C. Williamson, Alexander J.\nSmola, John Shawe-Taylor, and John C. Platt. Support vector method for novelty detection. In Adv. Neural Inf. Process.\nSyst., pages 582–588, 1999. 2\n[33] Waqas Sultani, Chen Chen, and Mubarak Shah. Realworld anomaly detection in surveillance videos. In Proc.\nIEEE/CVF Conf. Comput. Vis. Pattern Recognit., pages\n6479–6488, 2018. 1, 2, 3, 6\n[34] Yu Tian, Guansong Pang, Yuanhong Chen, Rajvinder Singh,\nJohan W. Verjans, and Gustavo Carneiro. Weakly-supervised\nvideo anomaly detection with robust temporal feature magnitude learning. In Proc. IEEE/CVF Int. Conf. Comput. Vis.,\npages 4955–4966, 2021. 3, 6\n[35] Jue Wang and Anoop Cherian. GODS: generalized one-class\ndiscriminative subspaces for anomaly detection. In Proc.\nIEEE/CVF Int. Conf. Comput. Vis., pages 8200–8210, 2019.\n2\n[36] Mengmeng Wang, Jiazheng Xing, and Yong Liu. Actionclip: A new paradigm for video action recognition.\narXiv:2109.08472, 2021. 3\n[37] Syed Talal Wasim, Muzammal Naseer, Salman H.\nKhan, Ming-Hsuan Yang, and Fahad Shahbaz Khan.\nVideogrounding-dino: Towards open-vocabulary spatiotemporal video grounding. In Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., pages 18909–18918, 2024. 3\n[38] Zejia Weng, Xitong Yang, Ang Li, Zuxuan Wu, and YuGang Jiang. Open-vclip: Transforming CLIP to an openvocabulary video model via interpolated weight optimization. In Proc. Int. Conf. Mach. Learn., pages 36978–36989,\n2023. 3\n[39] Peng Wu and Jing Liu. Learning causal temporal relation and\nfeature discrimination for anomaly detection. IEEE Trans.\nImage Process., 30:3513–3527, 2021. 3\n[40] Peng Wu, Jing Liu, and Fang Shen. A deep one-class\nneural network for anomalous event detection in complex\nscenes. IEEE Trans. Neural Networks Learn. Syst., 31(7):\n2609–2622, 2020. 2\n[41] Peng Wu, Jing Liu, Yujia Shi, Yujia Sun, Fangtao Shao,\nZhaoyang Wu, and Zhiwei Yang. Not only look, but also\n\n10\n\n\fAnomize: Better Open Vocabulary Video Anomaly Detection\nSupplementary Material\n1. Overview\n\n4. Impact of Using Other Lightweight Temporal Encoder\n\nThis supplementary material is organized as follows:\n• Data Division\n• Impact of Data Addition\n• Impact of Using Other Lightweight Temporal Encoder\n• t-SNE Visualization of Video Features\n• Visualization of Per-Class Results\n• Prompt Design\n• Limitation\n\nWe implement an LSTM as a lightweight temporal encoder\nto mitigate overfitting to base classes and reduce label confusion in novel cases. This design choice is motivated\nby our observation that highly parameterized encoders are\nprone to overfitting, likely because the additional parameters tend to capture features that closely resemble those in\nthe training data when handling novel data. As a result,\nwhen these visual features align with the label textual features, they are found to be closer to the labels of the base\ndata, thereby leading to misclassification.\nIn the supplementary material, we also evaluate a transformer to validate our method, with results presented in\nTab. 7. However, due to having more parameters, the transformer underperformed compared to the LSTM on both\ndatasets. On UCF-C RIME, the transformer required a lower\nlearning rate of 5 × 10−8 to prevent overfitting. While this\nadjustment improves performance for novel classes, it significantly reduces performance for base classes, resulting\nin poorer overall results. Regardless of the temporal encoder employed, our method consistently outperforms existing SOTA models, indirectly confirming the effectiveness\nof our group-guided text encoding mechanism.\n\n2. Data Division\nIn the OVVAD task, we categorize anomaly labels into base\nand novel categories, utilizing only base category samples\nduring training. Following standard open vocabulary learning practices, frequent labels are designated as base categories, while rare labels are classified as novel categories.\nSpecifically, for UCF-C RIME dataset, the base categories\ninclude Abuse, Assault, Burglary, Road Accident, Robbery,\nand Stealing, with all other labels treated as novel. On XDV IOLENCE dataset, the base categories are Fighting, Shooting, and Car Accident.\n\n3. Impact of Data Addition\nTab. 6 indicates that the performance drop after adding new\nlabels is acceptable. These new labels consist of both samegroup and cross-group categories. Same-group labels can\nlead to closer encodings, potentially interfering with original predictions and slightly affecting performance. For XDV IOLENCE and UCF-C RIME, the added overlapping categories include drug trafficking, harassment, stalking, loitering, and public intoxication. Additionally, XD-V IOLENCE\nincorporates shoplifting, arson, robbery, and arrest, while\nUCF-C RIME includes riot.\nWe provide a detailed analysis of the results presented in\nTab. 6. After adding new labels and data, the model correctly categorizes 20 of 21 shoplifting samples, 3 of 5 arrest\nsamples, 7 of 10 arson samples, 3 of 3 assault samples, and\n91 of 99 riot samples. Among these, only shoplifting is not\ngrouped with the base labels. For anomalous data within\nthe same group of labels, the similarity in visual encodings suggests a higher risk of overfitting, potentially leading\nto miscategorization as base cases within the same group.\nNonetheless, our method achieves excellent results, highlighting the effectiveness of the guided text encodings in\nreducing categorization confusion.\n\nDataset\n\nACC\n\nACCb\n\nACCn\n\nXD-V IOLENCE\nUCF-C RIME\n\n83.89\n46.43\n\n95.04\n52.94\n\n68.59\n42.70\n\nTable 7. Top-1 Accuracy (%) with a Transformer-Based\nLightweight Temporal Encoder.\n\n5. t-SNE Visualization of Video Features\nAs shown in Fig. 6, the original CLIP encodings exhibit\nirregular patterns, making them unsuitable for anomaly detection and categorization. In contrast, Fig. 6(b), (c), (f),\nand (g) demonstrate that the text-augmented static and dynamic streams provide sufficient information, resulting in\nclearer boundaries between normal and anomalous data.\nThis facilitates the detector in better distinguishing between\nthem. After temporal modeling and feature fusion, as\nshown in Fig. 6(d) and (h), more distinct clusters emerge,\nwith data points sharing the same label becoming closer in\nhigh-dimensional space, thereby enhancing categorization.\nNotably, the visualization reflects the frame-level features\nused for detection and categorization, and the presence of\nnormal frames within anomalous videos contributes to minor overlaps.\n1\n\n\f(a) Original Visual Feature\n\n(b) Static Stream Visual Feature\n\n(c) Dynamic Stream Visual Feature\n\n(d) Visual Feature for Categorization\n\n(e) Original Visual Feature\n\n(f) Static Stream Visual Feature\n\n(g) Dynamic Stream Visual Feature\n\n(h) Visual Feature for Categorization\n\nFigure 6. Scatter Plots of Features Reduced to 2D Using t-SNE. (a–d) correspond to XD-V IOLENCE, while (e–h) represent UCFC RIME. “Original Visual Feature” refers to scatter plots generated from CLIP frame encodings. “Static Stream Visual Feature” and\n“Dynamic Stream Visual Feature” denote features refined through the static and dynamic streams for detection, respectively. “Visual\nFeature for Categorization” represents the fused visual features used for classification.\n\n(a) Per-class Detection Results on XD-V IOLENCE\n\n(b) Per-class Categorization Results on XD-V IOLENCE\n\n(c) Per-class Detection Results on UCF-C RIME\n\n(d) Per-class Categorization Results on UCF-C RIME\n\nFigure 7. Per-Class Contribution of Each Design Element to Open Vocabulary Anomaly Detection on XD-V IOLENCE and UCFC RIME. The baseline uses original CLIP encodings, while “w Etem ” incorporates temporal encoding. “Only Mdyn ” and “Only Msta ”\ndenote the dynamic and static streams, respectively, with text augmentation and loss weight wi . “w Etem &amp; Mgroup ” further integrates the\nguided encoding mechanism.\n\n6. Visualization of Per-Class Results\n\n7. Prompt Design\n\nFig. 7 illustrates the impact of key design elements on performance across different categories. In both categorization and detection branches, our method achieves the best\nor near-best results across most categories, demonstrating\nthat our approach not only ensures strong performance on\nbase anomalies but also effectively addresses novel anomalies in OVVAD.\n\nWe provide the prompt designs described in the paper to\noffer deeper insights into our method and explain why the\ngroup-guided text encoding mechanism and ConceptLib\ndesigns lead to significant performance improvements. After generating group data using promptgroup , we manually\nrefine the results to eliminate noise. For promptdesc , we input a group of labels with length constraints to align with\nthe CLIP text encoder requirements. The value of L in\npromptconc is determined by the number of labels: XD2\n\n\fV IOLENCE, with six anomaly labels, uses L = 200, while\nUCF-C RIME, with thirteen labels, uses L = 500.\npromptgroup . Group the following anomaly labels:\n{labels}. Organize them based on similarities in visual\ncharacteristics, where behaviors with comparable actions,\nactivities, or scene contexts during the anomaly are placed\nin the same group.\npromptdesc . Describe the anomaly of {labels}. Begin\neach description with one or two sentences that emphasize\nthe common traits shared among all behaviors, followed by\none or two sentences detailing the unique characteristics\nspecific to each behavior. Ensure the descriptions clearly\ncapture significant details of the anomaly, such as actions,\nmovements, and scene context. Maintain a consistent sentence structure for each description, with word counts between 50 and 70 words.\npromptconc . Given the anomaly labels: {labels}, generate {L} noun phrases that accurately capture the key scene\ncharacteristics associated with each label. These phrases\nshould be well-suited for CLIP model encoding and designed to complement visual features, enhancing the effectiveness of model in anomaly detection.\n\n8. Limitation\nIn this paper, we distinguish dynamic and static elements at\nthe semantic level, considering dynamic elements as label\ndescriptions that appear in the form of sentences, and static\nelements as nouns that describe key features of the anomaly.\nThere may be slight redundancy between these two elements, but it does not affect our ability to achieve outstanding performance. However, exploring feature-level disentanglement for them may further enhance performance.\n\n3\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"