"<!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>arXiv:2412.06171v2 [cs.CV] 14 Mar 2025\n\nHolmes-VAU: Towards Long-term Video Anomaly Understanding\nat Any Granularity\nHuaxin Zhang1 Xiaohao Xu2 Xiang Wang1 Jialong Zuo1 Xiaonan Huang2 Changxin Gao1\nShanjun Zhang3 Li Yu1 Nong Sang1 *\n1\nKey Laboratory of Image Processing and Intelligent Control,\nSchool of Artificial Intelligence and Automation, Huazhong University of Science and Technology\n2\n3\nUniversity of Michigan, Ann Arbor\nKanagawa University\n{zhanghuaxin,wxiang,cgao,hustlyu,nsang}@hust.edu.cn, {xiaohaox,xiaonanh}@umich.edu, {chiyoz01}@kanagawa-u.ac.jp\n\nQ\n5s\n\n15s\n\n10s\n\nQ:Describe this video\n\nQ:Provide a caption\n\nA:The public gathers\n\nA:A group of guards\n\ntogether, creating a\nscene of disorder\n\nstands in front of a\ndamaged glass door\n\n…\n\n35s\nQ\nA\n\n5s\n\n35s\n\nQ:Summarize the anomaly-related event in the video\nA:Individuals on the street are marching and\nvandalizing the surrounding buildings, while\ngroup of uniformed guards is maintaining order.\n\n…\n\n79s 84s\n\na\n\n89s\n\nQ\n\nQ\n\nA\n\nA\n\n…\n\n117s\n\nA\n\n117s\n… 79s\nQ:Provide a summary of the video\nA:The\n\nvideo begins with a\nburning car, smoke and flames\nfilling the air, creating a\nchaotic atmosphere.\n\n130s\n\n0s\n\nQ:Summarize the anomaly events in the video\nA:The anomaly events depict chaotic and violent scenes, including individuals holding firearms,\npeople throwing objects at a car, a person being restrained by police officers, a burning\nobject, a car engulfed in flames, and a person smashing a glass door.\n\nTemporal Anomaly Granularity:\n\nAnomaly-focused\nTemporal Sampler\n\nQ\n\nClip-level\n\nEvent-level\n\nMulti-modal LLM\n\nA\n\nA\n\nCaption Judgement\nDescription\nAnalysis\n\nA\nJudgement\nDescription\nAnalysis\n\nVideo-level\n\nFigure 1. Motivation. Left: Existing datasets lack the hierarchical structure to capture transient and sustained anomalies across varying\ntemporal scales. Our HIVAU-70k dataset addresses this by providing multi-granularity annotations—clip, event, and video levels—that\nenable detailed anomaly analysis in complex real-world scenarios. Right: Inspired by Sherlock Holmes’s knack for zeroing in on critical\ndetails, our Holmes-VAU method integrates an Anomaly-focused Temporal Sampler with a multi-modal LLM, directing model attention\nto anomaly-rich segments, which enables models to decode complex, long-term video anomalies efficiently.\n\nAbstract\n\nannotation using large language models (LLMs). This results in over 70,000 multi-granular annotations organized\nat clip-level, event-level, and video-level segments. For efficient anomaly detection in long videos, we propose the\nAnomaly-focused Temporal Sampler (ATS). ATS integrates\nan anomaly scorer with a density-aware sampler to adaptively select frames based on anomaly scores, ensuring that\nthe multimodal LLM concentrates on anomaly-rich regions,\nwhich significantly enhances both efficiency and accuracy.\nExtensive experiments demonstrate that our hierarchical\ninstruction data markedly improves anomaly comprehension. The integrated ATS and visual-language model outperform traditional methods in processing long videos. Our\nbenchmark and model are publicly available at https:\n//github.com/pipixin321/HolmesVAU .\n\nHow can we enable models to comprehend video anomalies occurring over varying temporal scales and contexts?\nTraditional Video Anomaly Understanding (VAU) methods\nfocus on frame-level anomaly prediction, often missing the\ninterpretability of complex and diverse real-world anomalies. Recent multimodal approaches leverage visual and textual data but lack hierarchical annotations that capture both\nshort-term and long-term anomalies. To address this challenge, we introduce HIVAU-70k, a large-scale benchmark\nfor hierarchical video anomaly understanding across any\ngranularity. We develop a semi-automated annotation engine that efficiently scales high-quality annotations by combining manual video segmentation with recursive free-text\n* Corresponding author\n\n1\n\n\f1. Introduction\n\nacross clip-level, event-level, and video-level segments as\nshown in Fig. 1. This hierarchical structure empowers models to detect immediate anomalies, e.g., sudden explosions\nor fighting, as well as complex events that require an understanding of long-term context, like theft or arson. By annotating at multiple temporal levels, HIVAU-70k provides\ndiverse anomalies in open-world scenarios.\nTowards long-term VAU, efficiency remains a critical\nchallenge. Previous methods [9, 47, 67] often rely on\nuniform frame sampling, which can either miss crucial\nanomaly frames or incur large computational costs [25, 47,\n67]. To address this, we propose the Holmes-VAU method,\nwhich combines the proposed Anomaly-focused Temporal Sampler (ATS) with the multimodal visual-language\nmodel for efficient long-term video anomaly understanding (See Fig. 1). The ATS combines a anomaly scorer\nwith a density-aware sampler that adaptively selects frames\nby their anomaly scores. This integration ensures that the\nvisual-language model concentrates on anomaly-rich regions, enhancing both efficiency and accuracy.\nOur contributions are threefold: 1) We introduce\nHIVAU-70k, a large-scale, multi-granular benchmark for\nhierarchical video anomaly understanding. 2) We propose\nthe Holmes-VAU method, which combines the proposed\nAnomaly-focused Temporal Sampler (ATS) to boost the\nefficiency and accuracy of inference on long-term videos.\n3) We conduct extensive experiments demonstrating the\neffectiveness of hierarchical instruction data in enhancing\nanomaly comprehension and validate the performance gains\nprovided by the integrated ATS and visual-language model\nin processing long videos.\n\nVideo Anomaly Understanding (VAU) is crucial for applications such as video surveillance [46], violent content analysis [56], and autonomous driving [63]. Detecting deviations from normal patterns aids in hazard prevention and real-time decision-making. Traditional methods [14, 49, 74] mainly focus on frame-level predefined\nclosed-set anomaly prediction, assigning an anomaly score\nto each frame. However, these approaches often fail to describe and understand complex anomalies in the real world.\nTo address this gap, open-world anomaly understanding [57] embraces the diversity and unpredictability of\nreal-world anomalies. Recent work integrates multimodal\napproaches, combining visual data with textual descriptions [42, 58, 62, 65], while advances in multimodal visuallanguage models (VLMs) [6, 21, 27, 29, 68] have enabled\nmore nuanced understanding through anomaly-related instruction tuning and text generation [9, 36, 47, 67].\nDespite these advancements, a significant gap remains\nin models’ ability to comprehend anomalies across multiple temporal scales. For instance, while anomalies\nsuch as explosions or fights may be captured in a single frame, more complex events like theft or arson require understanding long-term contextual patterns. Existing VAU datasets [46, 56] typically provide annotations at\na single level of granularity, limiting models to understanding either immediate perceptual anomalies or those requiring extended contextual reasoning. The lack of datasets\nwith hierarchical annotations—encompassing both shortterm and long-term anomalies—hinders models’ capacity\nto reason about anomalies with diverse temporal characteristics. Moreover, constructing datasets that encapsulate this\nhierarchical complexity poses significant challenges in scalability and annotation quality.\nTo address these issues, we develop a semi-automated\nannotation engine that efficiently scales high-quality annotation by combining manual video segmentation with recursive free-text annotation using large language models\n(LLMs). The process involves three key stages: 1) hierarchical video decoupling, where we manually identify\nanomaly events and segment them into shorter clips; 2)\nhierarchical free-text annotation, where captions for each\nclip are generated through human effort or video captioning\nmodels, then summarized at the event and video levels via\nLLMs; and 3) hierarchical instruction construction, where\nthe textual data is transformed into question-answer instruction prompts by combining captions and summaries with\ndesigned prompts, creating a dataset with rich annotations\nfor training and evaluating models.\nUtilizing the annotation engine, we introduce HIVAU70k, a large-scale video anomaly understanding benchmark with hierarchical instructions. Our dataset comprises over 70,000 multi-granular instruction data organized\n\n2. Related Works\nVideo Anomaly Detection. This task aims to temporally detect abnormal frames in a long untrimmed video [1,\n14, 23, 34, 40, 52]. Early attempts are based on handcrafted features [1, 19, 23, 34, 40, 72]. Recently, deep\nlearning approaches [14, 37, 61] have become dominant,\nbroadly classified into unsupervised, weakly-supervised,\nand fully-supervised methods. Unsupervised methods train\nonly on normal videos to learn normal patterns and are\noften designed as reconstruction-based [13, 14, 59, 61],\nprediction-based [31], or a combination [33]. Some methods [48, 50, 66] also explore a fully unsupervised setting,\nincluding both normal and abnormal videos in training set\nwithout real labels. Weakly-supervised methods [11, 22,\n37, 46, 49, 55, 56, 70, 73, 74] use both normal and abnormal videos with video-level annotations. Fully-supervised\nmethods [20, 30] are less studied due to the high cost of\nprecise frame-level annotations.\nMulti-modal Video Anomaly Understanding. Largescale visual-language pre-trained models such as CLIP [44]\n2\n\n\fserve as a bridge between visual and textual modalities.\nSome recent works [17, 42, 58, 62] in the realm of video\nanomaly detection have leveraged textual information as\nprompts to enhance the model’s anomaly representation.\nBased on this, [57] firstly proposed the open vocabulary\nVAD task, [65] introduced a multimodal video anomaly\ndataset composed of dense clip captions. Furthermore, [67]\nextracted captions from video frames and designed prompts\nfor LLMs to provide anomaly scores, [9] and [47] construct diverse and interactive instruction data at the video\nlevel. However, these datasets consider only a single temporal level of anomaly understanding data construction, i.e.\nclip-level [65] or video-level [9, 47]. Unlike these methods, we focus on building large-scale hierarchical video\nanomaly understanding data for multimodal instruction tuning.\n\nTemporal\nGranularity\n\n…\n\nvideo\n\n…\n…\n\nevent\nclip\nCAP\n\nPrompt+Label\n\nCAP\n\nCAP\n\nLLM\n\nClip Caption\n\nLLM\nEvent Summary\n\nP+L\n\nEvent Summary\n\nPrompt+Label\n\nCAP\n\nClip Caption\n\nClip Caption\n\nClip Caption\n\nLLM\nVideo Summary\n\nClip Caption\n\nEvent Summary\n\nVideo Summary\n\nManual Checking\n{Q:Prompt_J, A:Judgement,\n{Q:Prompt_C, {Q:Prompt_J, A:Judgement,\nA:Caption}\nQ:Prompt_D, A:Description, Q:Prompt_D, A:Description,\nQ:Prompt_A, A:Analysis}\nQ:Prompt_A, A:Analysis}\n\nFigure 2. Data Engine. We present a structured workflow for\ngenerating hierarchical annotations across video, event, and clip\nlevels. Clips are first captioned, then processed through a large\nlanguage model (LLM) with prompts for event summarization.\nThe outputs include clip captions, event summaries, and video\nsummaries, followed by manual checking and refinement. This\nmulti-step approach enriches the dataset with detailed judgments,\ndescriptions, and analyses of anomalies, enabling robust contextual understanding at varying granularities.\n\nHierarchical Video Understanding. Video understanding is a challenging task due to its temporal-scale diversity. To better comprehend videos, many previous works\nhave focused on both datasets and models in hierarchical\nvideo understanding. For example, [3, 24, 32, 35, 45, 54]\nproposed fine-grained action recognition and localization\ndatasets, [16] provided free-form hierarchical captions for\nhour-long videos at multiple temporal scales, and [8, 18,\n38, 43, 60, 69] trained models on hierarchical levels to obtain better video feature representation. Recently, to assess\nthe capability of video vision-language models (VLMs) in\nhandling challenges in real-world scenarios, several video\nbenchmarks [10, 12] have been built, incorporating data at\nmultiple temporal scales for evaluation. Unlike these works,\nwe dive into the field of Video Anomaly Understanding,\nthus filling the gap in multi-scale annotations in this area.\n\nmodel’s judgment and analysis of the anomaly content.\n\n3.2. LLM-Empowered Data Engine\nAs shown in Fig.2, we develop a semi-automated annotation engine that efficiently scales high-quality annotations,\nwhich consists of three main steps: 1) hierarchical video\ndecoupling, 2) hierarchical free-text annotation, and 3) hierarchical instruction construction.\nHierarchical Video Decoupling. Our video sources include the training set of the UCF-Crime [46] dataset and the\nXD-Violence [56] dataset, which contains videos of varying durations and diverse real-world anomalies. For abnormal videos, we first manually obtain the temporal boundaries of each anomaly event in the video. Non-continuous\nanomalous states are considered separate events. Then, we\ndivide each event into clips of random lengths. For normal\nvideos, we apply random sampling to obtain corresponding\nsegments of varying granularities. Ultimately, we obtained\n5,443 videos, 11,076 events, and 55,806 clips. This process took 5 annotators approximately 20 hours to complete.\nMore details can be found in the appendix.\nHierarchical Free-text Annotation. To fully extract semantic information from the clip-level videos, we utilize\na powerful off-the-shell video perception model LLaVANext-Video [28] to generate detailed captions for each clip.\nWe also include the UCA dataset [64], which provides\nmanually annotated captions for video clips in the UCFCrime [46] dataset. Then, we use an LLM [2] to consoli-\n\n3. HIVAU-70k Benchmark\nWe first define the video anomaly understanding task in\nSec.3.1. Then, the construction process of the HIVAU-70k\nbenchmark will be elaborated in Sec.3.2. Finally, we will\npresent HIVAU-70k’s statistical information in Sec. 3.3.\n\n3.1. Task Description\nThis work focuses on video anomaly understanding, involving temporal anomaly detection and anomaly explainability. Temporal anomaly detection aims to predict an\nanomaly score for each frame in a video V, represented as\nS ∈ RT , where T is the total number of frames. Building on this, we explore the model’s ability to generate explanatory text outputs related to anomalies based on video\ninput and user queries. Specifically, given a video V and a\ntext query Q, the model generates an anomaly-related response A. We consider two key abilities: 1) visual perception, which involves recognizing main entities in the\nvideo, and 2) anomaly reasoning, which encompasses the\n3\n\n\f(a)\n\n(b)\n\nPerception\n\nCount\n\n54k\n\nReasoning\n\n11k\n\nClip-level\n\n(c)\n\n…\n\n5k\n\n…\n\n…\n\nEvent-level\n\nVideo-level\n\nGranularity\nQ: Give a short and clear caption of the\nvideo clip.\n\nCaption\n\nDescription\n\n(d)\n\nQ: Describe the anomaly events in the video.\nA: The anomaly event involves the three\npolicemen turning the man in red over and\nmoving him to the wall, indicating a\npossible arrest or detention.\n\nA: A group of policemen dragged a man in\nred out of the gate.\n\nQ: Why is this event as an anomaly?\n\nQ: Are there any anomaly events detected\nin the video?\n\nA: An anomaly exists, specifically an\nArrest anomaly.\n\nJudgement\n\nHIVAU-70k Analysis\n\nA: The unusual and potentially forceful\ninteraction between the policemen and the\nman\nin\nred,\ndeviating\nfrom\nnormal\npedestrian behavior in the scene\n\nFigure 3. HIVAU-70k dataset. (a) Duration distributions for clips, events, and full videos, showing dominance of short clips. (b)\nHierarchical data organization from clip-level to video-level, enabling perception-to-reasoning insights. (c) Word count variations across\nannotation levels, with more detailed descriptions at the video level. (d) Sample annotations capturing captioning, judgment, description,\nand anomaly analysis, highlighting nuanced understanding of anomaly events in complex scenes.\n\ntion and curation strategies. First, we labeled the temporal\nboundaries of abnormal event segments and reviewed them\nat the second level. Next, anomaly labels were incorporated\nduring summary generation using LLMs, directing focus on\nrelevant entities. Finally, manual reviews were performed to\ncorrect low-quality instruction data.\n\ndate all clip captions within an event, generating an eventlevel video summary. Specifically, we design prompts1 to\nguide the LLM to produce three parts of content for each\nanomalous event summary: 1) Judgment: A determination of whether an anomaly exists and its specific category, 2) Description: A detailed description of the anomalous or normal event, 3) Analysis: The reasoning behind\nthe anomaly judgment, including causal analysis. To guide\nthe LLM in generating reliable responses, we also inject\nthe event’s category label (e.g., ”Shooting”, ”Explosion”)\ninto the LLM prompt. We consolidate all event-level summaries to obtain the video-level summary. This results in\nfree-text annotations across multiple temporal scales, including short-term visual perception (clip-level) and longterm anomaly reasoning (event-level, video-level).\nHierarchical Instruction Data Construction. The ability\nof VLMs to follow user instructions and generate responses\nis achieved through instruction-tuning [21, 25, 27, 29]. The\ntraining data format typically consists of the following:\n‘{Q:user instruction, A:model response.}’\nTo build instruction-tuning data for VLMs in the domain\nof Video Anomaly Understanding, we matched free-text annotations with pre-designed anomaly-related user instructions. Specifically, for clip-level segments, we only construct instructions related to captions, as it is challenging\nto obtain anomaly-related analysis for short videos. For\nevent-level and video-level segments, we construct instruction data from the perspectives of Judgment, Description,\nand Analysis. Typical examples are shown in the Fig. 3 (d).\nManual Checking for Data Quality Control. To ensure dataset quality, we implemented several human inspec-\n\n3.3. Data Statistic of HIVAU-70k\nUtilizing the proposed annotation engine, we introduce\nHIVAU-70k, as shown in Fig. 3, a large-scale benchmark\ndesigned for hierarchical instruction-based video anomaly\nunderstanding. As shown in Fig. 3(b), HIVAU-70k contains over 70,000 multi-granular annotations organized at\nclip-level, event-level, and video-level segments, achieving\na progression from perception to reasoning. As shown in\nFig. 3(a) and (c), the durations of segments and the word\nnumbers of text annotations at different granularities exhibit\nsignificant distributional differences. As shown in Fig. 3(d),\nHIVAU-70k’s instruction data covers Caption, Judgment,\nDescription, and Analysis for real-world anomalies, which\nguide the model to develop both short-term and long-term\nvideo anomaly understanding capabilities.\n\n4. Method: Holmes-VAU\nLong-term\nvideo\nanomaly\nunderstanding\nwith\nLLMs/VLMs has traditionally been hindered by frame\nredundancy, complicating accurate anomaly detection.\nPrevious VAU approaches struggle with focus: methods\nlike dense window sampling [67] add redundancy, and\nuniform frame sampling [9, 47] often misses key anomalies, limiting application to short videos. We introduce the\nAnomaly-focused Temporal Sampler (ATS) to address this,\n\n1 For detailed prompts, please refer to the appendix.\n\n4\n\n\fVideo Frames\n\nVisual Token\n[patch]\n\n[cls]\n\nAnomaly-focused Temporal Sampler\n\nwhich includes a tokenizer and an embedding layer. The\nprompt text Q is converted into text tokens through the text\nencoder: Xq = ϕt (Q).\nAnomaly-focused Temporal Sampler (ATS). ATS consists of two components: the anomaly scorer and the\ndensity-aware sampler. The anomaly scorer ϕs is a featurebased VAD network which estimates the anomaly score for\neach frame. We follow the network architecture in [74] due\nto its simplicity and good performance. Given the class token of the video frames {v1cls , v2cls , ..., vTcls }, the anomaly\nscores can be obtained: si = ϕs (vicls ), where si denotes the\nanomaly score of the i-th frame.\nAnomalous frames typically contain more information\nand exhibit greater variation than normal frames [49]. This\nobservation motivates us to sample more frames in regions\nwith higher anomaly scores while reducing the sampling in\nareas with lower anomaly scores. As shown in Fig. 4, to\nachieve non-uniform sampling, we propose density-aware\nsampler to selectively choose N frames from a total of\nT input frames. Specifically, we treat the anomaly scores\nS ∈ RT as a probability mass function and first accumulate\nthem along the temporal dimension to obtain the cumulative\ndistribution function, denoted as Scumsum :\n\nAnomaly Scorer\nAnomaly Distribution 𝑺\n\nVisual\nEncoder\n\nT\ncumulation\n\n…\n\n…\n\n…\n\nDensity-aware\nSampler\n\n𝑺𝒄𝒖𝒎𝒔𝒖𝒎\n\nT\nToken Selection\n&amp; Flattening\n\nPrompt\n\nSampled Frame Indices\nAnomaly Understanding Output\n\nLoRA\n\n…\n\nText\nEncoder\n\nText\nToken\n\nLarge\nLanguage Model\n\nProjector\n\nDescribe the anomaly\nevents in the video.\n\nThe\nvideo\nshows\na\ncollision between a car\nand a motorcycle, with\nscattered debris on the\nground. People are seen\ncoming to inspect the\nscene, indicating that\na traffic accident may\nhave occurred in the\nvideo.\n\nFigure 4. Holmes-VAU: a multi-modal-LLM-based video\nanomaly detection framework with adaptive anomaly focus.\n\nintegrating it into the VLM, and fine-tuning it via instruction on HIVAU-70k to form our Holmes-VAU model.\n\n4.1. Pipeline Overview\n\n  S_{cumsum}(t) = \\sum _{i=1}^t (s_i + \\tau ) \\label {eq:cumsum} \n\nThe overall pipeline of our Holmes-VAU model is shown\nin Fig. 4. Video frames are processed by a visual encoder, creating visual tokens. These tokens are analyzed by\nan Anomaly-focused Temporal Sampler using an anomaly\nscorer and cumulative sum (Scumsum ) to select keyframes.\nA text encoder processes a prompt (e.g., ’Describe the abnormal events in the video’). Visual and textual representations are combined in a pre-trained language model,\nfine-tuned with LoRA, to generate a description of detected\nanomalies, such as a ’collision between a car and a motorcycle’ and ’traffic accident’ indicators.\n\nWe uniformly sample N points along the cumulative\naxis, then map these points to the cumulative distribution\nScumsum , the corresponding N timestamps on the time axis\nare mapped to the closest frame index and finally form the\nsampled frame indices, denoted as G. τ is used to control\nthe uniformity of the sampling.\nProjector and LLM. We select the tokens corresponding\nto the sampled frame, i.e., G, as the visual embedding. A\nprojector ϕp is then used to map the visual embedding to\nthe language feature space. Finally, we concatenate these\nembeddings with the text embeddings, input them into the\npre-trained large language model, and compute the probability of the target answers Xa . To obtain an initial visuallanguage alignment space, we initialize the projector and\nLLM parameters from [6], with the parameters kept frozen.\nThe above process can be expressed as follows:\n\n4.2. Model Architecture\nVisual and Text embedding. We utilize the frozen visual\nencoder in InternVL2 [6], which inherits the ViT structure\nfrom CLIP [44], we refer to it as ϕv . Following previous\nVAU works [55, 58, 67, 74], we sample dense video frames\nat an interval of 16 frames from the input video. Each video\nframe is then processed through the visual encoder to obtain the corresponding visual tokens. Given the input video\nframe sequence V ∈ RT ×H×W ×C , the output features of\ni-th frame can be denotes as:\n  V_i=\\{v_i^{cls}, v_i^1, v_i^2,...,v_i^{N_p}\\} = \\phi _v(\\mathcal {V}_i) \n\n(2)\n\n  X_{ins} = \\text {cat}[\\phi _p(\\text {cat}[{V_i}]), X_q] \\qquad i \\in \\mathcal {G} \n\n(3)\n\n  p(X_a|X_{ins}) = \\prod _{i=1}^{L}p_{\\theta }|(x_i|X_{ins,&lt;i},X_{a,&lt;i}) \n\n(4)\n\n(1)\nwhere cat[·] represents the concatenation operation, θ is the\ntrainable parameters, Xins,&lt;i , Xa,&lt;i are the instruction and\nanswer tokens in all turns before the current prediction token xi , L is the length of sequence, respectively.\n\nwhere vicls indicates the class token, vij (j ∈ {1, 2, ..., Np })\ndenotes the patch tokens, and Np reperesents the number of\npatches. The text encoder ϕt is also initialized from [6],\n5\n\n\fTable 1. Comparison of detection performance with state-ofthe-art Video Anomaly Detection approaches. We include the\nresults of explainable and non-explainable methods. ”∗” represents the result reported in [67].\n\n4.3. Training and Testing\nTraining. We train the model following two steps. In\nthe first step, we use the video data and annotated framelevel label (ŷ ∈ RT ) from HIVAU-70k to train the anomaly\nscorer, which provides more accurate anomaly supervision\ncompared to previous unsupervised and weakly-supervised\nmethods [14, 46, 55, 74].\n  {\\mathcal L}_{AS} = - \\sum _{i=1}^{T}( s_ilog(\\hat {y}_i) + (1-s_i)log(1-\\hat {y}_i)) \n\nXD-Violence\nAP/%\nNon-explainable VAD\nConv-AE [14] (CVPR’16)\n27.25\nI3D\nN/A\nGODS [52] (ICCV’19)\nGCL [66] (CVPR’22)\nResNext\nN/A\nI3D\nN/A\nDYANNET [48] (WACV’23)\nMIST [11] (CVPR’21)\nI3D\nN/A\nWu et al. [56] (ECCV’20)\nI3D\n78.64\nRTFM [49] (ICCV’21)\nI3D\n77.81\nMSL [22] (AAAI’22)\nI3D\n78.28\nI3D\n80.26\nS3R [55] (ECCV’22)\nMGFN [5] (AAAI’23)\nI3D\n79.19\nI3D\n81.66\nUR-DMU [74] (AAAI’23)\nCLIP-TSA [17] (ICIP’23)\nViT\n82.19\nViT\n84.51\nVadCLIP [58] (AAAI’24)\nYang et al. [62] (CVPR’24)\nViT\n83.68\nWu et al. [57] (CVPR’24)\nViT\n66.53\nExplainable Multi-modal VAD\nZero-Shot CLIP [44]∗\nViT\n17.83\nLLAVA-1.5 [27]∗\nViT\n50.26\nLAVAD [67] (CVPR’24)\nViT\n62.01\nHolmes-VAU (Ours)\nViT\n87.68\nMethods\n\n(5)\n\nIn the second step, we keep the anomaly scorer fixed, and\nuse all the instruction data from HIVAU-70k to train the\nmodel. To achieve more efficient fine-tuning without disrupting the original capabilities of the LLM, we employ\nLoRA [15] for fine-tuning, optimizing the cross entropy\nloss between the predicted and the ground truth tokens.\nTesting. During testing, the user inputs a video and text\nprompts; the model will generate the corresponding text response following the user’s instruction.\n\nBackbone\n\nUCF-Crime\nAUC/%\n50.60\n70.46\n71.04\n84.50\n82.30\n82.44\n84.30\n85.30\n85.99\n86.98\n86.97\n87.58\n88.02\n87.79\n86.40\n53.16\n72.84\n80.28\n88.96\n\n5. Experiments\nmethod, we initialize the Multimodal LLM with InternVL22B [6]. To optimize the Anomaly-focused Temporal Sampler, we adopt the Adam optimizer with a learning rate\nof 1e-4. Note that when evaluating detection performance\non XD-Violence and UCF-Crime, only videos in the corresponding training sets are used to train our model for\nfair comparisons. For instruction tuning, we train with a\nbatch size of 512 for 1 epoch, using the AdamW optimizer\nwith cosine learning rate decay and a warm-up period. The\nLoRA [15] parameters are set as: r=64, α=128, and learning rate=4e-5. During testing, τ in Eq. 2 is set to 0.1. Experiments are conducted on 2 NVIDIA A100 GPUs.\n\n5.1. Experiment Setup\nDataset. Our HIVAU-70k is built upon two large-scale realworld datasets, i.e., UCF-Crime [46] and XD-Violence [56],\nthey provide a diverse range of videos with anomalous\nevents. UCF-Crime [46] comprises 1,900 untrimmed\nvideos totaling 128 hours from outdoor and indoor surveillance cameras. It encompasses 13 classes of real-world\nanomalies, including Abuse, Explosion, Fighting, and\nShooting. XD-Violence [56] is the largest VAD benchmark,\ncomprising 4,754 videos totaling 217 hours sourced from\nsurveillance, movies, car cameras, and games. It encompasses 6 anomaly classes: Abuse, Car Accidents, Explosions, Fighting, Riots, and Shooting.\nMetric. We assess the anomaly understanding ability from\ntwo aspects: anomaly detection and reasoning. 1) For\nanomaly detection, we use the anomaly scores output by\nthe Anomaly Scorer as the prediction and perform the evaluation. Following [14, 46, 67, 74], we use AUC and AP\nto quantify detection performance, which is evaluated only\non the video level. 2) For anomaly reasoning, we annotate\ninstruction data from the UCF-Crime and XD-Violence test\nsets, which have been carefully reviewed and filtered by annotators. We finally collected 3,300 test samples at multiple\ngranularities. The test set contains 2200/732/398 samples\nat clip/event/video levels. We calculate metrics including\nBLEU [41], CIDEr [51], METEOR [4] and ROUGE [26]\nto measure the quality of the reasoning text output by the\nmodel, comparing with the annotated ground truth text.\nImplementation Details. For the proposed Holmes-VAU\n\n5.2. Main Results\nAnomaly Detection Results. We compare our method\nwith state-of-the-art methods, including semi-supervised\nmethods [14, 52], unsupervised methods [48, 66], weaklysupervised methods [17, 22, 49, 55, 58, 74] and recently training-free method [67]. We have indicated their\nbackbones and performance on the UCF-Crime and XDViolence datasets, as shown in Table 1. Our method has an\nAP of 87.68% on XD-Violence and an AUC of 88.96% on\nUCF-Crime, significantly outperforming the prior state-ofthe-art methods, which demonstrates that our method can\ngenerate less biased anomaly scores. It is worth noting that\nwhile achieving precise localization of anomalies, HolmesVAU is also capable of providing explanations and analysis\nfor the detected anomalies by the model, a feature unavailable in existing non-explainable VAD methods. Although\nLAVAD [67] has explainability, the training-free large lan6\n\n\fTable 2. Comparison of reasoning performance with state-of-the-art Multimodal Large Language Models (MLLMs). ’BLEU’ refers\nto the cumulative values from BLEU-1 to BLEU-4. We evaluate the quality of the generated text at different granularities, including cliplevel (C), event-level (E), and video-level (V).\nMethod\n\nParams\n\nVideo-ChatGPT [39]\nVideo-LLaMA [68]\nVideo-LLaVA [25]\nLLaVA-Next-Video [71]\nQwenVL2 [53]\nInternVL2 [6]\nHolmes-VAU (Ours)\n\n7B\n7B\n7B\n7B\n7B\n8B\n2B\n\nBLEU [41](↑)\nC\nE\nV\n0.152 0.068 0.066\n0.151 0.079 0.104\n0.164 0.046 0.055\n0.435 0.091 0.120\n0.312 0.082 0.155\n0.331 0.101 0.145\n0.913 0.804 0.566\n\nCIDEr [51](↑)\nC\nE\nV\n0.033 0.011 0.013\n0.024 0.014 0.017\n0.032 0.009 0.013\n0.102 0.015 0.031\n0.044 0.020 0.044\n0.052 0.022 0.035\n0.467 1.519 1.437\n\nTable 3. Ablation of hierarchical instruction data. During the\ninstruction tuning phase, we combined training data of different\ngranularities, including clip (C), event (E), and video (V) levels.\nTraining Data\nC E\nV\n✓\n✓\n✓\n✓ ✓\n✓\n✓\n✓\n✓\n✓ ✓\n✓\n\nC\n0.984\n0.508\n0.280\n0.889\n0.906\n0.394\n0.913\n\nBLEU(↑)\nE\nV\n0.261 0.351\n0.576 0.292\n0.222 0.279\n0.741 0.349\n0.341 0.522\n0.797 0.505\n0.804 0.566\n\nC\n0.459\n0.097\n0.039\n0.470\n0.472\n0.081\n0.467\n\nMETEOR [4](↑)\nC\nE\nV\n0.102 0.069 0.044\n0.112 0.076 0.057\n0.097 0.022 0.014\n0.117 0.085 0.096\n0.133 0.092 0.112\n0.141 0.095 0.101\n0.190 0.165 0.121\n\nROUGE [26](↑)\nC\nE\nV\n0.153 0.048 0.079\n0.156 0.067 0.090\n0.132 0.023 0.045\n0.198 0.080 0.106\n0.163 0.081 0.137\n0.182 0.102 0.122\n0.329 0.370 0.355\n\nTable 4. Ablation study of sampling methods and the number\nof sampled frames. We compare the proposed Anomaly-focused\nTemporal Sampler (ATS) with other sampling methods under different frame sampling numbers, including Uniform and Top-K. Latency is the time delay in generating the first token.\n\nCIDEr(↑)\nE\nV\n0.120 0.106\n1.183 0.872\n0.708 0.884\n1.285 0.889\n0.962 1.093\n1.472 1.074\n1.519 1.437\n\nFrames (N)\n8\n\n16\n\n32\n\nguage model lacks an understanding of anomaly knowledge\ndue to the limitation of insufficient supervised data.\nAnomaly Reasoning Results. We compare the anomalyrelated text quality generated by Holmes-VAU with that\nproduced by state-of-the-art general Multimodal Large Language Models (MLLMs), and presented the results at different temporal granularities, including clip-level, event-level,\nand video-level, as shown in Table. 2. Earlier MLLMs such\nas Video-ChatGPT [21] and Video-LLaMA [68], struggled\nwith basic visual perception and instruction-following capabilities. Recent MLLMs [6, 7, 71] trained on larger and\nhigher-quality video instruction data have made significant\nprogress in general video understanding, with noticeable\nimprovements at the clip-level perception task. However,\ndue to the absence of learning from complex, real-world\nanomaly data, their reasoning abilities at the event-level\nand video-level are still lacking. Our Holmes-VAU, however, shows significant improvements in video understanding across all temporal granularities compared to existing\ngeneral MLLMs, highlighting the importance of injecting\nanomaly-related knowledge through instruction tuning on\nhigh-quality Video Anomaly Understanding benchmarks.\n\nSampler\nTop-K\nUniform\nATS (Ours)\nTop-K\nUniform\nATS (Ours)\nTop-K\nUniform\nATS (Ours)\n\nLatency (ms)\n244\n\n566\n\n1402\n\nVideo-level\nBLEU(↑) CIDEr(↑)\n0.462\n1.229\n0.491\n1.276\n0.514\n1.324\n0.476\n1.302\n0.511\n1.345\n0.566\n1.437\n0.481\n1.332\n0.558\n1.357\n0.576\n1.460\n\nin Table 3. The inclusion of clip-level data primarily enhanced the model’s basic visual perception abilities regarding actions and scenes within the video. Adding eventlevel data improved the model’s ability to judge and understand complete anomaly events. Furthermore, the involvement of video-level data further enhanced the model’s ability to analyze and summarize anomaly-related information\nacross longer-span videos. The hierarchical instruction data\nstructure facilitated a comprehensive and complementary\nimprovement in the model’s anomaly-related perception-toreasoning capabilities.\nInfluence of different sampling methods and the number\nof sampled frames. Our ATS (Anomaly-focused Temporal\nSampler) is designed to adaptively sample frames input to\nthe LLM based on the frame-level anomaly scores. To validate its advantages, we compared ATS with other sampling\nmethods at various sample frame counts, including Uniform\nand Top-K sampling. In Uniform sampling, N frames are\nuniformly sampled from all frames, while Top-K sampling\nselects the frames with the top N highest anomaly scores.\nAs shown in Table 4, ATS consistently outperforms other\nsampling methods, regardless of the sample count. We believe that Uniform sampling tends to overlook key anomaly\nframes, though this issue lessens as more frames are sampled. Besides, Top-K sampling tends to overly focus on\nlocal anomaly frames, missing contextual frame informa-\n\n5.3. Analytic Results\nInfluence of Hierarchical Instruction. To explore the\nimpact of different granularity video training data on the\nmodel’s anomaly reasoning ability, we designed various\ntraining data combinations during the instruction tuning\nphase and evaluated the model’s performance, as shown\n7\n\n\f…\n\n…\nPrompt: Determine whether there are\nanomaly events in the video and the\nspecific name of the anomaly.\nGround Truth\nThe anomaly exists and is specifically\nidentified as a Burglary event.\n\nPrompt: How would you describe the particular anomaly events\nin the video? What evidence do you have to support your\njudgment of this event as an anomaly?\n\nInternVL2-8B [Incorrect Judgement]\nYes, there are anomaly events in\nthe video. The specific anomaly is\nthat the man in the video is seen\nthrowing a punch at the other man.\n\nGround Truth\nThe video anomaly event depicts chaotic street scenes where people are\nrunning, police officers are clad in riot gear, and confrontations or\nprotests are underway, with scenes of apprehension, restraint, and property\ndamage unfolding from start to end. The presence of violent behavior, law\nenforcement intervention, and disruption of public order in the urban\nenvironment depicted in the video, which collectively indicate a significant\ndeviation from normal, peaceful civic activity.\n\nQwenVL2-7B [Incorrect Judgement]\nHolmes-VAU (Ours)\nYes, there is an anomaly in the\nvideo,\nspecifically\na\nbreak-in\nburglary.\n\nThere are no anomaly events in the\nvideo.\n\nHolmes-VAU (Ours)\nThe anomaly events involve a series of chaotic and violent scenes, including\npolice officers in riot gear, people running and pushing against barriers,\nand a helicopter flying over the scene, suggesting a high level of tension\nand unrest. The presence of destructive behavior, including property damage,\nproperty destruction, and physical altercations, which deviates from normal\nand peaceful urban activity.\n\nBurglary037_x264\n\n…\nPrompt: Identify any abnormal events\ndepicted in the video.\n\nGround Truth\nNo anomaly exists in the video\n\nInternVL2-8B [Visual Hallucination, Incomplete Analysis]\nThe video shows a group of people walking down a street, and a man is seen\nwalking down the street with a skateboard. The man is wearing a black jacket\nand a black hat. The event depicted in the video is classified as an anomaly\ndue to the presence of a large group of people engaging in violent behavior.\n\nInternVL2-8B [Incorrect Judgement]\nThe video shows a white truck\nparked on the side of the road,\nwhich is an abnormal behavior as\nit is not supposed to be parked on\nthe road.\n\nQwenVL2-7B [Incomplete Description, Incomplete Analysis]\nThe video shows a group of people walking down the street, and suddenly, a\ncar crashes into a crowd of people. The car is on fire, and the people are\nrunning away. The video does not provide any context or explanation for this\nevent, but it is clear that it is an anomaly. The car crash is a violent and\nunexpected event that is not related to the rest of the video.\n\nQwenVL2-7B\nThe video does\nabnormal events.\n\nHolmes-VAU (Ours)\n\nnot\n\nshow\n\n…\n\nany\n\nThere is no anomaly in the video.\n\nNormal_Videos_902_x264\n\nv=3WmMhircZOc__#1_label_B4-0-0\n\nFigure 5. Qualitative comparison of anomaly understanding explanation. Compared with state-of-the-art general MLLMs, i.e., InternVL2 [6] and QwenVL2 [53], our proposed Holmes-VAU demonstrates more accurate anomaly judgment, along with more detailed and\ncomprehensive anomaly-related descriptions and analysis. Correct and wrong explanations are highlighted in green and red, respectively.\n\n5.4. Qualitative Comparision\n\n(b)\n\nWe provide qualitative comparisons between Holmes-VAU\nand existing MLLMs in Fig. 5. The results demonstrate that\nHolmes-VAU can accurately identify anomalies in videos\nand provide accurate and complete explanations, highlight\nthe effectiveness and advantage of Holmes-VAU in perceiving video events and analyzing anomalies.\n\nloss\n\n(a)\n\niter\n\nr=32\n\nr=64\n\nr=128\n\nFigure 6. Ablation study of trainable parameters. (a) Loss\ncurve during instruction-tuning. (b) We tuned the LoRA [15] parameter r to control trainable parameters, evaluating its impact on\nVAU capability, and General performance on Video-MME [12].\n\n6. Conclusion\nIn conclusion, this work pushes the boundaries of\nvideo anomaly understanding by introducing hierarchical\nanomaly detection across diverse temporal scales, from momentary clips to extended events. The HIVAU-70k benchmark, with over 70,000 multi-level annotations, addresses a\ncritical gap in the field, enabling comprehensive anomaly\nanalysis in real-world scenarios. Our Anomaly-focused\nTemporal Sampler (ATS) strategically enhances focus on\nanomaly-dense segments, optimizing both efficiency and\naccuracy in long-term anomaly detection. Extensive experiments demonstrate that our hierarchical dataset and\nATS-enhanced VLM achieve significant performance gains\nover conventional methods, proving robust for open-world\nanomaly understanding. This work sets a new standard for\nmulti-granular anomaly comprehension, paving the way for\nmore fine-grained video anomaly understanding.\n\ntion. Our proposed ATS mitigates both issues. To balance\ninference efficiency and performance, we set N =16 as the\ndefault sample frame number.\nInstruction Tuning Parameters. We conducted an ablation study on the parameter r in LoRA [15] to explore\nhow the trainable parameters affects both the model’s VAU\nperformance and its general capability. We use VideoMME [12] to evaluate the model’s general capability. The\nresults are shown in Fig. 6, as r increases, the model gradually adapts to the VAU task. However, when r becomes\ntoo large, the model’s general capability decreases. To retain the original general video understanding capability of\nthe MLLM, we set r=64 as the default value.\n8\n\n\fAcknowledgement This work is supported by the National Natural Science Foundation of China under grants\nU22B2053 and 623B2039, and in part by the Interdisciplinary Research Program of HUST (2024JCYJ034).\n\non computer vision and pattern recognition, pages 14009–\n14018, 2021. 2, 6\n[12] Chaoyou Fu, Yuhan Dai, Yondong Luo, Lei Li, Shuhuai Ren,\nRenrui Zhang, Zihan Wang, Chenyu Zhou, Yunhang Shen,\nMengdan Zhang, et al. Video-mme: The first-ever comprehensive evaluation benchmark of multi-modal llms in video\nanalysis. arXiv preprint arXiv:2405.21075, 2024. 3, 8\n[13] Dong Gong, Lingqiao Liu, Vuong Le, Budhaditya Saha,\nMoussa Reda Mansour, Svetha Venkatesh, and Anton\nvan den Hengel. Memorizing normality to detect anomaly:\nMemory-augmented deep autoencoder for unsupervised\nanomaly detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 1705–1714,\n2019. 2\n[14] Mahmudul Hasan, Jonghyun Choi, Jan Neumann, Amit K\nRoy-Chowdhury, and Larry S Davis. Learning temporal regularity in video sequences. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages\n733–742, 2016. 2, 6\n[15] Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan AllenZhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen.\nLora: Low-rank adaptation of large language models. arXiv\npreprint arXiv:2106.09685, 2021. 6, 8\n[16] Md Mohaiminul Islam, Ngan Ho, Xitong Yang, Tushar Nagarajan, Lorenzo Torresani, and Gedas Bertasius. Video recap: Recursive captioning of hour-long videos. In Proceedings of the IEEE/CVF Conference on Computer Vision and\nPattern Recognition, pages 18198–18208, 2024. 3\n[17] Hyekang Kevin Joo, Khoa Vo, Kashu Yamazaki, and Ngan\nLe. Clip-tsa: Clip-assisted temporal self-attention for\nweakly-supervised video anomaly detection. In 2023 IEEE\nInternational Conference on Image Processing (ICIP), pages\n3230–3234. IEEE, 2023. 3, 6\n[18] Kumara Kahatapitiya and Michael S Ryoo. Coarse-fine networks for temporal activity detection in videos. In Proceedings of the IEEE/CVF Conference on Computer Vision and\nPattern Recognition, pages 8385–8394, 2021. 3\n[19] Jaechul Kim and Kristen Grauman. Observe locally, infer\nglobally: a space-time mrf for detecting abnormal activities with incremental updates. In 2009 IEEE conference on\ncomputer vision and pattern recognition, pages 2921–2928.\nIEEE, 2009. 2\n[20] Federico Landi, Cees GM Snoek, and Rita Cucchiara.\nAnomaly locality in video surveillance. arXiv preprint\narXiv:1901.10364, 2019. 2\n[21] KunChang Li, Yinan He, Yi Wang, Yizhuo Li, Wenhai\nWang, Ping Luo, Yali Wang, Limin Wang, and Yu Qiao.\nVideochat: Chat-centric video understanding. arXiv preprint\narXiv:2305.06355, 2023. 2, 4, 7\n[22] Shuo Li, Fang Liu, and Licheng Jiao. Self-training multisequence learning with transformer for weakly supervised\nvideo anomaly detection. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 1395–1403, 2022. 2,\n6\n[23] Weixin Li, Vijay Mahadevan, and Nuno Vasconcelos.\nAnomaly detection and localization in crowded scenes. IEEE\ntransactions on pattern analysis and machine intelligence,\n36(1):18–32, 2013. 2\n\nReferences\n[1] Amit Adam, Ehud Rivlin, Ilan Shimshoni, and Daviv\nReinitz. Robust real-time unusual event detection using multiple fixed-location monitors. IEEE transactions on pattern\nanalysis and machine intelligence, 30(3):555–560, 2008. 2\n[2] AI@Meta. Llama 3 model card. 2024. 3, 13\n[3] Kumar Ashutosh, Rohit Girdhar, Lorenzo Torresani, and\nKristen Grauman. Hiervl: Learning hierarchical videolanguage embeddings. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\npages 23066–23078, 2023. 3\n[4] Satanjeev Banerjee and Alon Lavie. Meteor: An automatic\nmetric for mt evaluation with improved correlation with human judgments. In Proceedings of the acl workshop on intrinsic and extrinsic evaluation measures for machine translation and/or summarization, pages 65–72, 2005. 6, 7\n[5] Yingxian Chen, Zhengzhe Liu, Baoheng Zhang, Wilton\nFok, Xiaojuan Qi, and Yik-Chung Wu. Mgfn: Magnitudecontrastive glance-and-focus network for weakly-supervised\nvideo anomaly detection. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 387–395, 2023. 6\n[6] Zhe Chen, Weiyun Wang, Hao Tian, Shenglong Ye, Zhangwei Gao, Erfei Cui, Wenwen Tong, Kongzhi Hu, Jiapeng\nLuo, Zheng Ma, et al. How far are we to gpt-4v? closing\nthe gap to commercial multimodal models with open-source\nsuites. arXiv preprint arXiv:2404.16821, 2024. 2, 5, 6, 7, 8,\n17\n[7] Zesen Cheng, Sicong Leng, Hang Zhang, Yifei Xin, Xin\nLi, Guanzheng Chen, Yongxin Zhu, Wenqi Zhang, Ziyang\nLuo, Deli Zhao, et al. Videollama 2: Advancing spatialtemporal modeling and audio understanding in video-llms.\narXiv preprint arXiv:2406.07476, 2024. 7\n[8] Jisheng Dang, Huicheng Zheng, Xiaohao Xu, Longguang\nWang, Qingyong Hu, and Yulan Guo. Adaptive sparse memory networks for efficient and robust video object segmentation. IEEE Transactions on Neural Networks and Learning\nSystems, 2024. 3\n[9] Hang Du, Sicheng Zhang, Binzhu Xie, Guoshun Nan, Jiayang Zhang, Junrui Xu, Hangyu Liu, Sicong Leng, Jiangming Liu, Hehe Fan, et al. Uncovering what why and how:\nA comprehensive benchmark for causation understanding of\nvideo anomaly. In Proceedings of the IEEE/CVF Conference\non Computer Vision and Pattern Recognition, pages 18793–\n18803, 2024. 2, 3, 4, 16, 17\n[10] Xinyu Fang, Kangrui Mao, Haodong Duan, Xiangyu Zhao,\nYining Li, Dahua Lin, and Kai Chen. Mmbench-video: A\nlong-form multi-shot benchmark for holistic video understanding. arXiv preprint arXiv:2406.14515, 2024. 3\n[11] Jia-Chang Feng, Fa-Ting Hong, and Wei-Shi Zheng. Mist:\nMultiple instance self-training framework for video anomaly\ndetection. In Proceedings of the IEEE/CVF conference\n\n9\n\n\f[39] Muhammad Maaz, Hanoona Rasheed, Salman Khan, and Fahad Shahbaz Khan. Video-chatgpt: Towards detailed video\nunderstanding via large vision and language models. In Proceedings of the 62nd Annual Meeting of the Association for\nComputational Linguistics (ACL 2024), 2024. 7\n[40] Ramin Mehran, Alexis Oyama, and Mubarak Shah. Abnormal crowd behavior detection using social force model.\nIn 2009 IEEE conference on computer vision and pattern\nrecognition, pages 935–942. IEEE, 2009. 2\n[41] Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing\nZhu. Bleu: a method for automatic evaluation of machine\ntranslation. In Proceedings of the 40th annual meeting of the\nAssociation for Computational Linguistics, pages 311–318,\n2002. 6, 7\n[42] Yujiang Pu, Xiaoyu Wu, Lulu Yang, and Shengjin Wang.\nLearning prompt-enhanced context features for weaklysupervised video anomaly detection. IEEE Transactions on\nImage Processing, 2024. 2, 3\n[43] Zhiwu Qing, Shiwei Zhang, Ziyuan Huang, Yi Xu, Xiang\nWang, Mingqian Tang, Changxin Gao, Rong Jin, and Nong\nSang. Learning from untrimmed videos: Self-supervised\nvideo representation learning with hierarchical consistency.\nIn Proceedings of the IEEE/CVF Conference on Computer\nVision and Pattern Recognition, pages 13821–13831, 2022.\n3\n[44] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya\nRamesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry,\nAmanda Askell, Pamela Mishkin, Jack Clark, et al. Learning\ntransferable visual models from natural language supervision. In International conference on machine learning, pages\n8748–8763. PMLR, 2021. 2, 5, 6\n[45] Dian Shao, Yue Zhao, Bo Dai, and Dahua Lin. Finegym:\nA hierarchical video dataset for fine-grained action understanding. In Proceedings of the IEEE/CVF conference on\ncomputer vision and pattern recognition, pages 2616–2625,\n2020. 3\n[46] Waqas Sultani, Chen Chen, and Mubarak Shah. Real-world\nanomaly detection in surveillance videos. In Proceedings of\nthe IEEE conference on computer vision and pattern recognition, pages 6479–6488, 2018. 2, 3, 6, 13\n[47] Jiaqi Tang, Hao Lu, Ruizheng Wu, Xiaogang Xu, Ke Ma,\nCheng Fang, Bin Guo, Jiangbo Lu, Qifeng Chen, and YingCong Chen. Hawk: Learning to understand open-world\nvideo anomalies. arXiv preprint arXiv:2405.16886, 2024.\n2, 3, 4, 16, 17\n[48] Kamalakar Vijay Thakare, Yash Raghuwanshi, Debi Prosad\nDogra, Heeseung Choi, and Ig-Jae Kim. Dyannet: A scene\ndynamicity guided self-trained video anomaly detection network. In Proceedings of the IEEE/CVF Winter conference\non applications of computer vision, pages 5541–5550, 2023.\n2, 6\n[49] 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 Proceedings of the IEEE/CVF international\nconference on computer vision, pages 4975–4986, 2021. 2,\n5, 6\n\n[24] Yingwei Li, Yi Li, and Nuno Vasconcelos. Resound: Towards action recognition without representation bias. In Proceedings of the European Conference on Computer Vision\n(ECCV), pages 513–528, 2018. 3\n[25] Bin Lin, Bin Zhu, Yang Ye, Munan Ning, Peng Jin, and\nLi Yuan. Video-llava: Learning united visual representation by alignment before projection. arXiv preprint\narXiv:2311.10122, 2023. 2, 4, 7\n[26] Chin-Yew Lin. Rouge: A package for automatic evaluation\nof summaries. In Text summarization branches out, pages\n74–81, 2004. 6, 7\n[27] Haotian Liu, Chunyuan Li, Yuheng Li, and Yong Jae Lee.\nImproved baselines with visual instruction tuning. arXiv\npreprint arXiv:2310.03744, 2023. 2, 4, 6\n[28] Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan\nZhang, Sheng Shen, and Yong Jae Lee. Llava-next: Improved reasoning, ocr, and world knowledge, 2024. 3\n[29] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee.\nVisual instruction tuning. Advances in neural information\nprocessing systems, 36, 2024. 2, 4\n[30] Kun Liu and Huadong Ma. Exploring background-bias for\nanomaly detection in surveillance videos. In Proceedings\nof the 27th ACM International Conference on Multimedia,\npages 1490–1499, 2019. 2\n[31] Wen Liu, Weixin Luo, Dongze Lian, and Shenghua Gao. Future frame prediction for anomaly detection–a new baseline.\nIn Proceedings of the IEEE conference on computer vision\nand pattern recognition, pages 6536–6545, 2018. 2\n[32] Yi Liu, Limin Wang, Yali Wang, Xiao Ma, and Yu Qiao.\nFineaction: A fine-grained video dataset for temporal action\nlocalization. IEEE transactions on image processing, 31:\n6937–6950, 2022. 3\n[33] 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 Proceedings of the IEEE/CVF international conference on computer vision, pages 13588–13597,\n2021. 2\n[34] Cewu Lu, Jianping Shi, and Jiaya Jia. Abnormal event detection at 150 fps in matlab. In Proceedings of the IEEE international conference on computer vision, pages 2720–2727,\n2013. 2\n[35] Jian Lu, Xuanfeng Li, Bo Zhao, and Jian Zhou. A review of\nskeleton-based human action recognition. Journal of Image\nand Graphics, 28(12):3651–3669, 2023. 3\n[36] Hui Lv and Qianru Sun. Video anomaly detection and\nexplanation via large language models. arXiv preprint\narXiv:2401.05702, 2024. 2, 16\n[37] Hui Lv, Zhongqi Yue, Qianru Sun, Bin Luo, Zhen Cui, and\nHanwang Zhang. Unbiased multiple instance learning for\nweakly supervised video anomaly detection. In Proceedings\nof the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8022–8031, 2023. 2\n[38] Baiteng Ma, Shiwei Zhang, Changxin Gao, and Nong Sang.\nTemporal global correlation network for end-to-end action\nproposal generation. Acta Electronica Sinica, 50(10):2452–\n2461, 2022. 3\n\n10\n\n\f[62] Zhiwei Yang, Jing Liu, and Peng Wu. Text prompt with normality guidance for weakly supervised video anomaly detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 18899–18908,\n2024. 2, 3, 6\n[63] Yu Yao, Xizi Wang, Mingze Xu, Zelin Pu, Yuchen Wang,\nElla Atkins, and David J Crandall. Dota: Unsupervised detection of traffic anomaly in driving videos. IEEE transactions on pattern analysis and machine intelligence, 45(1):\n444–459, 2022. 2\n[64] Tongtong Yuan, Xuange Zhang, Kun Liu, Bo Liu, Chen\nChen, Jian Jin, and Zhenzhen Jiao. Towards surveillance\nvideo-and-language understanding: New dataset, baselines,\nand challenges, 2023. 3, 16\n[65] Tongtong Yuan, Xuange Zhang, Kun Liu, Bo Liu, Chen\nChen, Jian Jin, and Zhenzhen Jiao. Towards surveillance\nvideo-and-language understanding: New dataset baselines\nand challenges. In Proceedings of the IEEE/CVF Conference\non Computer Vision and Pattern Recognition, pages 22052–\n22061, 2024. 2, 3, 13, 17\n[66] M Zaigham Zaheer, Arif Mahmood, M Haris Khan, Mattia\nSegu, Fisher Yu, and Seung-Ik Lee. Generative cooperative\nlearning for unsupervised video anomaly detection. In Proceedings of the IEEE/CVF conference on computer vision\nand pattern recognition, pages 14744–14754, 2022. 2, 6\n[67] Luca Zanella, Willi Menapace, Massimiliano Mancini, Yiming Wang, and Elisa Ricci. Harnessing large language models for training-free video anomaly detection. In Proceedings\nof the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 18527–18536, 2024. 2, 3, 4, 5, 6,\n16\n[68] Hang Zhang, Xin Li, and Lidong Bing. Video-llama: An\ninstruction-tuned audio-visual language model for video understanding. arXiv preprint arXiv:2306.02858, 2023. 2, 7\n[69] Huaxin Zhang, Xiang Wang, Xiaohao Xu, Zhiwu Qing,\nChangxin Gao, and Nong Sang. Hr-pro: Point-supervised\ntemporal action localization via hierarchical reliability propagation. arXiv preprint arXiv:2308.12608, 2023. 3\n[70] Huaxin Zhang, Xiang Wang, Xiaohao Xu, Xiaonan Huang,\nChuchu Han, Yuehuan Wang, Changxin Gao, Shanjun\nZhang, and Nong Sang. Glancevad: Exploring glance supervision for label-efficient video anomaly detection. arXiv\npreprint arXiv:2403.06154, 2024. 2\n[71] Yuanhan Zhang, Jinming Wu, Wei Li, Bo Li, Zejun Ma, Ziwei Liu, and Chunyuan Li. Video instruction tuning with\nsynthetic data. arXiv preprint arXiv:2410.02713, 2024. 7,\n13\n[72] Bin Zhao, Li Fei-Fei, and Eric P Xing. Online detection\nof unusual events in videos via dynamic sparse coding. In\nCVPR 2011, pages 3313–3320. IEEE, 2011. 2\n[73] Jia-Xing Zhong, Nannan Li, Weijie Kong, Shan Liu,\nThomas H Li, and Ge Li. Graph convolutional label noise\ncleaner: Train a plug-and-play action classifier for anomaly\ndetection. In Proceedings of the IEEE/CVF conference on\ncomputer vision and pattern recognition, pages 1237–1246,\n2019. 2\n[74] Hang Zhou, Junqing Yu, and Wei Yang. Dual memory units\nwith uncertainty regulation for weakly supervised video\n\n[50] Anil Osman Tur, Nicola Dall’Asen, Cigdem Beyan, and\nElisa Ricci. Exploring diffusion models for unsupervised\nvideo anomaly detection. In 2023 IEEE International\nConference on Image Processing (ICIP), pages 2540–2544.\nIEEE, 2023. 2\n[51] Ramakrishna Vedantam, C Lawrence Zitnick, and Devi\nParikh. Cider: Consensus-based image description evaluation. In Proceedings of the IEEE conference on computer\nvision and pattern recognition, pages 4566–4575, 2015. 6, 7\n[52] Jue Wang and Anoop Cherian. Gods: Generalized one-class\ndiscriminative subspaces for anomaly detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 8201–8211, 2019. 2, 6\n[53] Peng Wang, Shuai Bai, Sinan Tan, Shijie Wang, Zhihao Fan,\nJinze Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin\nGe, Yang Fan, Kai Dang, Mengfei Du, Xuancheng Ren, Rui\nMen, Dayiheng Liu, Chang Zhou, Jingren Zhou, and Junyang Lin. Qwen2-vl: Enhancing vision-language model’s\nperception of the world at any resolution. arXiv preprint\narXiv:2409.12191, 2024. 7, 8\n[54] SC Wang, Q Huang, YF Zhang, X Li, YQ Nie, and GC Luo.\nReview of action recognition based on multimodal data. Image Graph, 27(11):3139–3159, 2022. 3\n[55] Jhih-Ciang Wu, He-Yen Hsieh, Ding-Jie Chen, Chiou-Shann\nFuh, and Tyng-Luh Liu. Self-supervised sparse representation for video anomaly detection. In European Conference\non Computer Vision, pages 729–745. Springer, 2022. 2, 5, 6\n[56] Peng Wu, Jing Liu, Yujia Shi, Yujia Sun, Fangtao Shao,\nZhaoyang Wu, and Zhiwei Yang. Not only look, but also\nlisten: Learning multimodal violence detection under weak\nsupervision. In Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part XXX 16, pages 322–339. Springer, 2020. 2, 3,\n6, 13\n[57] Peng Wu, Xuerong Zhou, Guansong Pang, Yujia Sun, Jing\nLiu, Peng Wang, and Yanning Zhang. Open-vocabulary\nvideo anomaly detection. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\npages 18297–18307, 2024. 2, 3, 6\n[58] 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 Proceedings of the AAAI Conference on Artificial Intelligence, pages 6074–6082, 2024. 2,\n3, 5, 6\n[59] Dan Xu, Yan Yan, Elisa Ricci, and Nicu Sebe. Detecting\nanomalous events in videos by learning deep representations\nof appearance and motion. Computer Vision and Image Understanding, 156:117–127, 2017. 2\n[60] Xiaohao Xu, Jinglu Wang, Xiang Ming, and Yan Lu. Towards robust video object segmentation with adaptive object\ncalibration. In Proceedings of the 30th ACM International\nConference on Multimedia, pages 2709–2718, 2022. 3\n[61] Zhiwei Yang, Jing Liu, Zhaoyang Wu, Peng Wu, and Xiaotao\nLiu. Video event restoration based on keyframes for video\nanomaly detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages\n14592–14601, 2023. 2\n\n11\n\n\fanomaly detection. In Proceedings of the AAAI Conference\non Artificial Intelligence, pages 3769–3777, 2023. 2, 5, 6,\n14, 15\n\n12\n\n\fHolmes-VAU: Towards Long-term Video Anomaly Understanding\nat Any Granularity\nSupplementary Material\n\nA. Details of the Data Engine.\n\nBrief explanation of the basis for judging the anomaly.’\nVideo Summary. Similar to generating event summaries,\nwe generated video-level summaries by analyzing the\nevent-level summaries. The specific prompt is as follows:\n’Below is a summary of all the events in the video: {event\nsummaries}. There are (is no) abnormal events ({videolevel label}) in the video. Your response should include the\nfollowing three parts: 1. Whether the anomaly exists and\nthe specific name of the anomaly. 2. Detailed description of\nthe video anomaly event from start to end. 3. Brief analysis\nof the basis for judging the anomaly.’\nAnnotation Format. In Fig.A, we present an example of\nthe hierarchical free-text annotations for a video.\n\nTo construct a dataset with hierarchical annotations with\nboth short-term and long-term anomalies, we developed a\nsemi-automated annotation engine that combines manual\nefforts with the generative capabilities of LLM. In the main\npaper, we present the complete annotation workflow. Below, we provide additional details about the data engine.\n\nA.1. Hierarchical Video Decoupling\nBefore annotation, we collected videos from the training sets of the UCF-Crime [46] and XD-Violence [56]\ndatasets. From UCF-Crime, we selected 758 normal videos\nand 735 anomaly videos, while from XD-Violence, we selected 1,904 normal videos and 2,046 anomaly videos. The\nanomaly videos included their original video-level labels,\ne.g., Abuse, Explosion. For the anomaly videos, we organized a team of five annotators to label each anomaly event\nwithin the videos. The annotation process took approximately 20 hours to complete. For the normal videos, we\nconsidered all segments to be normal and randomly cropped\nsegments of varying lengths to serve as normal event-level\nvideo segments. These anomaly and normal event-level\nvideos were further divided into shorter clip-level segments.\nFor UCF-Crime, we adopted the clip-level divisions from\nUCA [65]. For XD-Violence, we performed uniform division.\n\nA.3. Hierarchical Instruction Data Construction\nTo construct the instruction dataset, we designed question prompts tailored to different tasks, including Caption,\nJudgment, Description, and Analysis. For each instruction item, we randomly selected one prompt from the pool\nand matched it with the corresponding content from the\nfree-text annotations as the answer.\nCaption.\n1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.\n10.\n11.\n12.\n13.\n14.\n15.\n16.\n17.\n18.\n19.\n20.\n21.\n22.\n23.\n24.\n\nA.2. Hierarchical Free-text Annotation\nClip Captioning. For videos in UCF-Crime, we fully\nutilized the manually annotated captions from UCA [65].\nFor videos in XD-Violence, we used LLaVA-Next-Video7B [71] as our captioner to generate textual descriptions for\nclip-level videos. The specific prompt is as follows:\n’Please provide a short and brief description of the video\nclip, focusing on the main subjects and their actions.’\nEvent Summary. We combined all captions and videolevel category labels to generate anomaly-related summaries for each event using an LLM. We selected LLaMA370B [2] as our LLM due to its strong summarization capabilities. The specific prompt is as follows:\n’The dense caption of the video is: {clip captions}.\nThere are (is no) abnormal events ({video-level label}) in\nthe video. Your response should include the following three\nparts: 1. Whether the anomaly exists and the specific name\nof the anomaly. 2. A summary of the anomaly events. 3.\n\n”Describe the video briefly.”\n”Describe the main events that take place in this video.”\n”Give a short description of the video.”\n”What happened in this video?”\n”Generate a brief caption for the video.”\n”Can you provide a brief description of the video?”\n”Briefly describe the main subjects and their actions in the video.”\n”Provide a short overview of what happens in the video?”\n”Describe the key moments that showcase the subjects’ activities in the video.”\n”Describe the sequence of events involving the main subjects in the video.”\n”What activities happen throughout the video?”\n”Describe the main subjects and their roles in the video.”\n”What key moments stand out in the video?”\n”What are the primary activities showcased in the video?”\n”What happens to the main subjects as the video progresses?”\n”What is a brief overview of what happens in the video?”\n”Describe the main subjects and their contributions to the video.”\n”Describe the key events in the video.”\n”Describe the video’s main activities.”\n”Can you describe the main action in this video briefly?”\n”Describe the video clip concisely.”\n”Provide a brief description of the given video clip.”\n”Summarize the visual content of the video clip.”\n”Give a short and clear explanation of the subsequent video clip.”\n\nJudgement.\n1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.\n\n13\n\n”What types of anomalies are shown in the video clip?”\n”Are there any anomaly events detected in the video?”\n”Detect and classify the anomaly events in the video.”\n”Identify any abnormal behaviors depicted in the video.”\n”Determine whether there are anomaly events in the video and the specific name\nof the anomaly.”\n”What anomalies can be identified in the video?”\n”What categories of anomalies can be found in the video?”\n”Could you point out any abnormal actions in the video?”\n”Point out the abnormal actions in the video.”\n\n\f1\n\n{\n\"video\": \"v=2rfyeR-YaJw__#1_label_G-0-0\",\n\"n_frames\": 1940,\n\"fps\": 24.0,\n\"label\": [\"Explosion\"],\n\"clips\": [[[5.583, 11.903], [11.903, 18.222], [18.222, 24.542]],\n[[36.167, 43.48], [43.48, 50.792]]],\n\"clip_captions\":[\n[\n\"A military tank moving across a barren landscape with low-rise buildings and sparse vegetation. the sky\n,→\nis overcast, and the overall color palette is muted with earthy tones.\",\n\"A series of images depicting a barren landscape with a few buildings in the background. the foreground\n,→\nconsists of a rocky terrain with sparse vegetation. the sky is overcast, and there are no visible\n,→\npeople or moving objects.\",\n\"A silhouette of a person operating a large, mounted weapon on a rocky terrain under a clear sky. the\n,→\nindividual appears to be adjusting or aiming the weapon.\"\n],\n[\n\"A series of images depicting a hazy, dusty environment with buildings in the background. the focus is on\n,→\na red light source that appears to be moving or flashing, possibly indicating some form of activity or\n,→\nevent occurring in the area.\",\n\"A series of images depicting a military tank moving across a landscape with buildings in the background.\n,→\nthe tank is seen from different angles, and there are visible explosions occurring in the distance.\"\n]\n],\n\"events\": [[5.583, 24.542], [36.167, 50.792]],\n\"event_summary\": [\n\"The anomaly exists, specifically an Explosion anomaly. The basis for judging the anomaly is the presence of an\n,→\nunexpected and sudden release of energy, likely accompanied by a loud noise and visible effects such as smoke,\n,→\nfire, or debris.\",\n\"The anomaly exists and its specific name is Explosion. The anomaly event is a series of visible explosions\noccurring in the distance as a military tank moves across a landscape with buildings in the background. The\n,→\nbasis for judging the anomaly is the sudden and intense release of energy and light in the form of explosions,\n,→\nwhich is an unusual and notable event in the otherwise desolate and quiet war-torn environment depicted in the\n,→\nvideo\"],\n,→\n\"video_summary\": \"The anomaly exists, specifically named as Explosion. The anomaly event depicts a series of\nvisible explosions occurring in the distance as a military tank moves across a landscape with buildings in the\n,→\nbackground, characterized by sudden and intense releases of energy and light, accompanied by loud noise and\n,→\nvisible effects such as smoke, fire, or debris. The basis for judging the anomaly lies in the unusual and\n,→\nnotable nature of these explosions, which stand out against the otherwise desolate and quiet war-torn\n,→\nenvironment depicted in the video, making them an unexpected and sudden release of energy that grabs\n,→\nattention.\"\n,→\n\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n\n12\n13\n14\n15\n\n16\n17\n18\n19\n20\n21\n\n22\n\n23\n\n24\n\n}\n\nFigure A. An example of hierarchical free-text annotations. For each labeled video, the hierarchical free-text annotations include cliplevel captions, event-level, and video-level anomaly analysis. Additionally, the temporal boundaries for each event and clip are annotated.\n10. ”Are there anomalies observed in the video clip?”\n\nA.4. Data Samples.\n\nDescription.\n\nTo facilitate understanding, we provide the final constructed\ninstruction data at various temporal granularities, including\nclip-level, event-level, and video-level, as shown in Fig. B,\nFig. C, and Fig. D.\n\n1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.\n10.\n\n”Describe the anomaly events observed in the video.”\n”Could you describe the anomaly events observed in the video?”\n”Could you specify the anomaly events present in the video?”\n”Give a description of the detected anomaly events in this video.”\n”Could you give a description of the anomaly events in the video?”\n”Provide a summary of the anomaly events in the video.”\n”Could you provide a summary of the anomaly events in this video?””\n”What details can you provide about the anomaly in the video?”\n”How would you detail the anomaly events found in the video?”\n”How would you describe the particular anomaly events in the video?”\n\nB. Details of the Anomaly Scorer\nB.1. Model Architecture\n\nAnalysis.\n1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.\n10.\n\nWe use UR-DMU [74] as the anomaly scorer in our\nAnomaly-focused Temporal Sampler. As shown in Fig. E,\nUR-DMU utilizes a Global and Local Multi-Head Self Attention (GL-MHSA) module to capture both long-range and\nshort-range temporal relationships among video snippets.\nFurthermore, UR-DMU introduces two memory banks to\nstore and differentiate abnormal and normal prototypes,\nthereby maximizing the margins between these two representations. In order to learn discriminative representations,\nUR-DMU uses triplet loss to increase the feature distance\n\n”Why do you judge this event to be anomalous?”\n”Can you provide the reasons for considering it anomalous?”\n”Can you give the basis for your judgment of this event as an anomaly?”\n”What led you to classify this event as an anomaly?”\n”Could you provide the reasons for considering this event as abnormal?”\n”What evidence do you have to support your judgment of this event as an\nanomaly?”\n”Can you analyze the factors contributing to this anomalous event?”\n”Could you share your analysis of the anomalous event?”\n”What patterns did you observe that contributed to your conclusion about this\nevent being an anomaly?”\n”How do the characteristics of this event support its classification as an\nanomaly?”\n\n14\n\n\f1\n\n{\n\"id\": \"v=xLFbqPzSI2Y__#1_label_B4-0-0\",\n\"type\": \"video\",\n\"video\": \"xd-violence/videos/train/\nv=xLFbqPzSI2Y__#1_label_B4-0-0.mp4\",\n\"conversations\": [\n{\"from\": \"human\",\n\"value\": \"Are there any anomaly events detected in\n,→\nthe video?\"},\n{\"from\": \"gpt\",\n\"value\": \"The anomaly exists and its specific name\n,→\nis the Riot anomaly.\"},\n{\"from\": \"human\",\n\"value\": \"Could you give a description of the\n,→\nanomaly events in the video?\"},\n{\"from\": \"gpt\",\n\"value\": \"The anomaly event depicts a chaotic and\nintense urban unrest scene, starting with a\n,→\nchaotic street scene where individuals are\n,→\nrunning away from an area of fire and smoke,\n,→\nwith people appearing to be in a state of panic\n,→\nor urgency, and some being sprayed with water by\n,→\nindividuals in uniform. The scene escalates to\n,→\nshow a growing fire in the background, police\n,→\nofficers in riot gear standing on the street,\n,→\nand a formation of police officers spread out\n,→\nacross the road, suggesting an ongoing riot or\n,→\ncivil unrest. \"},\n,→\n{\"from\": \"human\",\n\"value\": \"Can you give the basis for your\n,→\njudgment?\"},\n{\"from\": \"gpt\",\n\"value\": \"The presence of multiple indicators of a\nriot or emergency situation, including fire,\n,→\nsmoke, and people fleeing in panic, as well as\n,→\nthe sudden appearance of flames, smoke, and\n,→\npolice in riot gear, and the presence of violent\n,→\nand destructive events, such as fires and\n,→\nexplosions, and the response of authorities,\n,→\nincluding the use of tear gas or pepper spray,\n,→\nwhich deviate significantly from normal,\n,→\npeaceful urban activity.\"}\n,→\n]\n\n2\n3\n4\n5\n1\n\n{\n\n3\n4\n5\n6\n7\n8\n9\n10\n11\n\n6\n\n\"id\": \"Abuse007_x264_E0C2\",\n\"type\": \"clip\",\n\"video\":\n,→\n\"ucf-crime/clips/train/Abuse007_x264_E0C2.mp4\",\n\"conversations\": [\n{\"from\": \"human\",\n\"value\": \"Describe the key events in the video.\"},\n{\"from\": \"gpt\",\n\"value\": \"The man in shorts was slapped to the\n,→\nground by the strong man opposite.\"}\n]\n\n2\n\n7\n8\n9\n10\n11\n12\n13\n14\n\n}\n\nFigure B. An example of clip-level instruction data.\n\n1\n\n{\n\"id\": \"Abuse018_x264_E0\",\n\"type\": \"event\",\n\"video\":\n,→\n\"ucf-crime/events/train/Abuse018_x264_E0.mp4\",\n\"conversations\": [\n{\"from\": \"human\",\n\"value\": \"Identify any abnormal behaviors depicted\n,→\nin the video.\"},\n{\"from\": \"gpt\",\n\"value\": \"An anomaly exists, specifically an\n,→\ninstance of Police Brutality.\"},\n{\"from\": \"human\",\n\"value\": \"Could you provide a summary of the anomaly\n,→\nevents in this video?\"},\n{\"from\": \"gpt\",\n\"value\": \"The anomaly event involves the police\nofficer kicking the man who rushed towards him,\n,→\ncausing the man to fall heavily to the ground\n,→\nwith his head on his back.\"},\n,→\n{\"from\": \"human\",\n\"value\": \"Could you share your analysis of the\n,→\nanomalous event?\"},\n{\"from\": \"gpt\",\n\"value\": \"The excessive use of force by the police\n,→\nofficer, which deviates from standard protocol\n,→\nand may be considered an abuse of authority.\"}\n]\n\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n\n14\n15\n16\n17\n\n18\n19\n\n15\n16\n17\n18\n\n19\n20\n\n}\n\nFigure D. An example of video-level instruction data.\n…\n\nvideo class tokens\nGlobal and Local\nMulti-Head Self Attention\n\n}\n\nFigure C. An example of event-level instruction data.\n\nAbnormal&amp;Normal\nMermory\n\nconcat\n\nafter interacting with different memories. Simultaneously,\nit utilizes KL loss to constrain the normal memory to follow\na Gaussian distribution, accounting for the variance introduced by noise. Furthermore, We leveraged the event-level\nanomaly boundaries obtained during the annotation phase\nto generate frame-level labels and computed a binary crossentropy loss, i.e., LAS , which is simple yet effective. Thus,\nthe loss function for the anomaly scorer is defined as follows:\n  {\\mathcal L} = {\\mathcal L}_{AS} + {\\mathcal L}_{triplet} + {\\mathcal L}_{kl} \n\nConv 1d,ReLU\n\nvideo anomaly scores\nFigure E. Architecture of the Anomaly Scorer (UR-DMU [74]).\n\nB.2. Visualization Results\nIn Fig. F, we present visualized results of anomaly scores\nand sampled frames on the UCF-Crime and XD-Violence\ntest sets. These results demonstrate the accuracy of our\n\n(6)\n\n15\n\n\fArrest001_x264\n\nBurglary079_x264\n\nRoadAccidents131_x264\n\nStealing079_x264\n\nv=v-Plzx73K68__#1_label_B4-0-0\n\nv=w2NgAYJHnS0__#1_label_G-0-0\n\nv=9Ydg5IeZpFI__#1_label_B1-0-0\n\nv=CLFYvG6MsZU__#00-02-16_00-05-06_label_B2-0-0\n\nGround Truth\n\nSampled Frames\n\nFigure F. Visualization results of anomaly scores and sampled frames output by the Anomaly-focused Temporal Sampler..\nTable A. Comparision with related multimodal/explanable VAU methods and benchmarks. HIVAU-70k provides accurate temporal\nannotations and hierarchical anomaly-related free-text annotations.\nMethods\n\nText\n\n#Catogories #Samples\n\nTemp. Anno. MLLM tuning\n\nclip-level event-level video-level\nUCA [64]\nLAVAD [67]\nVAD-VideoLLama [36]\nCUVA [9]\nHawk [47]\nHIVAU-70k (Ours)\n\n13\nN/A\n13/7\n11\n19\n\n23,542\nN/A\n2,400\n6,000\n16,000\n70,000\n\n✓\n✓\n✗\n✗\n✗\n✓\n\n✗\n✗\n✗\n✗\n✗\n✓\n\nmethod in anomaly detection within complex real-world\nscenarios, with the sampled frames being concentrated in\nanomalous regions.\n\n✗\n✓\n✓\n✓\n✓\n✓\n\n✓\n✗\n✗\n✗\n✗\n✓\n\n✗\n✗\nprojection\n✗\nprojection\nLoRA\n\ndesigned a three-phase training method to finetune VideoLLaMA in the VAD domain. CUVA [9] introduced a\ndataset and metric for evaluating causation understanding\nof video anomalies. Hawk [47] constructed an instruction\ndataset and finetuned a video-language framework that incorporates both motion and video information.\nDifference and Advantages of our proposed benchmark\nand method:\n• We develop a semi-automated annotation engine that\nscales hierarchical anomaly annotation efficiently, combining manual refinement with LLM-based annotation\nto maintain high-quality data across multiple granularities, resulting in over 70,000 annotations at clip, event,\nand video levels, which significantly surpasses previous\n\nC. Discussion with related works.\nIn Table A, we provide a comprehensive comparison with\nrelated works in terms of benchmarks and methods.\nSummary of related works: Recently, there has been\nsubstantial research on multi-modal Video Anomaly Understanding, making significant contributions to advancing\nopen-world anomaly understanding. LAVAD [67] utilized\nseveral pre-trained foundational models to offer a trainingfree explainable VAD process. VAD-VideoLLaMA [36],\n16\n\n\fdatasets in scale.\n• UCA [65] only provides clip-level captions, overlooking\nthe understanding of anomalies across longer time spans.\nCUVA [9] and Hawk [47], on the other hand, only offer\nvideo-level instruction data, neglecting finer-grained visual perception and anomaly analysis. In contrast, our\nproposed HIVAU-70k takes a multi-temporal granularity perspective, offering more comprehensive and diverse\nanomaly annotations for open-world anomaly detection.\nIt enables progressive and comprehensive learning, from\nshort-term visual perception to long-term anomaly reasoning.\n• We propose the Anomaly-focused Temporal Sampler\n(ATS), integrated with a multi-modal visual-language\nmodel. Benefiting from the precise temporal annotations\nwe provide, the ATS is able to focus on anomaly-dense\nvideo segments. This integration significantly improves\nefficiency and accuracy in long-video anomaly detection.\n\nD. More Qualitative Results.\nAs shown from Fig. G to Fig. J, we present the output of\nexplainable text generated by Holmes-VAU compared with\nthe base model, i.e., InternVL-2B [6]. The results demonstrate significant improvements in the model’s visual perception and anomaly analysis capabilities after fine-tuning\non HIVAU-70k.\n\nE. Limitations and Future Work.\nWhile our work demonstrates significant strides in multigranular video anomaly understanding, several limitations\npresent opportunities for future enhancement. First, optimizing for real-time streaming remains a challenge. Our\nsparse sampling approach improves efficiency, but further\nrefinement is necessary for seamless deployment in streaming contexts. Additionally, our work has so far focused\non surveillance data, extending our framework to other domains, such as industrial monitoring and medical diagnostics, will help validate its generalization capabilities. Lastly,\nintegrating additional sensory data, like audio, and scalable\nhierarchical annotation could enhance anomaly detection\nand broaden applicability.\n\n17\n\n\fPrompt:\n\nWhat activities happen throughout the video?\n\nclip-level &lt;Caption&gt;\n\nGround Truth:\nA green car driving on a road in rainy weather. the windshield wipers are in\nmotion, and the road appears wet. there are traffic signs and other vehicles\nvisible in the background.\n\nInternVL2\nThroughout the video, we see cars driving on the road, a green car driving on\nthe road, a green car driving on the road, a green car driving on the road, a\ngreen car driving on the road\nHolmes-VAU (Ours)\nA view from inside a vehicle, looking out through the windshield at a street\nscene. the sky is overcast, and the visibility is low due to the weather\nconditions. there are several cars on the road, including a green car in the\nforeground. the road is lined with traffic signs and streetlights, and there\nare buildings and trees visible in the background.\n\nPrompt: Describe the main events that take place in this video.\n\nclip-level &lt;Caption&gt;\n\nGround Truth:\nA man in a striped shirt holding another person by the hair, appearing to be\nin distress. the scene transitions to a close-up of the man's hands as he\npicks up a knife from a cluttered kitchen counter.\nInternVL2\nThe video clip shows a man in a striped shirt cutting a piece of meat with a\nknife on a kitchen counter. The camera focuses on the man's hands and the\nknife as he cuts the meat. The background is blurred, emphasizing the action\nin the foreground.\nHolmes-VAU (Ours)\nA close-up of two individuals engaged in a physical altercation. one person\nis wearing a striped shirt and appears to be grappling with another\nindividual who is dressed in dark clothing. the setting is dimly lit,\nsuggesting an indoor environment, possibly a room or a kitchen\nFigure G. Qualitative comparison of anomaly understanding explanation with our baseline model, i.e., InternVL-2B. Correct and\nwrong explanations are highlighted in green and red, respectively.\n\n18\n\n\fPrompt: Summarize the visual content of the video clip.\n\nclip-level &lt;Caption&gt;\n\nGround Truth:\nAn aerial view of a rural area with fields and a road. a building is shown in\nthe center of the frame, surrounded by a fence. suddenly, an explosion occurs\nat the building, causing a massive fireball and a plume of smoke to rise into\nthe sky.\nInternVL2\nThe video shows an aerial view of a building that is on fire. The flames and\nsmoke are visible in the video.\nHolmes-VAU (Ours)\nA large explosion occurring in an industrial area, with thick plumes of smoke\nand fire rising into the sky. the explosion is massive and appears to be the\ncentral focus of the scene.\n\nPrompt: Describe the video clip.\n\nclip-level &lt;Caption&gt;\n\nGround Truth:\nA series of intense action scenes involving a group of individuals in a\nchaotic environment. the main subject, dressed in dark clothing, is seen\nengaging in combat with multiple opponents wielding sticks and other weapons.\nthe setting appears to be an industrial or construction site, with visible\nscaffolding and construction materials\nInternVL2\nA group of people are fighting in a factory.\n\nHolmes-VAU (Ours)\nA group of individuals engaged in a physical altercation in an industrial\nsetting. the participants are wearing various types of clothing, including\nhelmets and protective gear, and are wielding sticks and other objects. the\nenvironment is cluttered with equipment and machinery, suggesting a workshop\nor factory floor.\n\nFigure H. Qualitative comparison of anomaly understanding explanation with our baseline model, i.e., InternVL-2B. Correct and\nwrong explanations are highlighted in green and red, respectively.\n\n19\n\n\fPrompt:\n\nAre there any anomaly events detected in the video?\n\nevent-leve &lt;Judgment&gt;\n\nGround Truth:\nAn anomaly exists, specifically an Assault anomaly.\nInternVL2\nNo, there are no anomaly events detected in the video.\nHolmes-VAU (Ours)\nThe anomaly exists and the specific name of the anomaly is Assault.\n\nPrompt: How would you detail the anomaly events found in the video?\n\nevent-level &lt;Description&gt;\n\nGround Truth:\nThe anomaly event involves a white car colliding with a black car, causing\nthe black car to be hit onto the sidewalk, and people waiting for the bus to\nscatter in all directions\nInternVL2\nThere are no anomaly events found in the video.\nHolmes-VAU (Ours)\nThe anomaly event involves a sudden and unexpected collision between a car\nand a bus, resulting in a cloud of dust and debris being kicked up into the\nair, followed by people running away from the scene, indicating a sudden and\nunexpected event that disrupts the normal flow of traffic and pedestrian\nactivity.\n\nPrompt: Could you provide the reasons for considering this event\nas abnormal?\n\nevent-level &lt;Analysis&gt;\n\nGround Truth:\nThe sudden and unexpected impact between the two vehicles, deviating from the\nnormal flow of traffic, indicating a hazardous and unusual event.\n\nInternVL2\nThe presence of multiple vehicles involved in the incident suggests that it\nwas not an isolated incident but rather part of a larger event or series of\nevents.\nHolmes-VAU (Ours)\nThe sudden and unexpected collision between the two vehicles, deviating from\nthe normal flow of traffic, which is a clear indication of an anomaly event.\nFigure I. Qualitative comparison of anomaly understanding explanation with our baseline model, i.e., InternVL-2B. Correct and\nwrong explanations are highlighted in green and red, respectively.\n\n20\n\n\fPrompt: Could you point out any abnormal actions in the video?\n\nvideo-level &lt;Judgment&gt;\n\nGround Truth:\nThe anomaly exists and is specifically named Physical Abuse.\n\nInternVL2\nThere are several categories of anomalies that can be observed. Firstly,\nthere is a scene where a man is seen standing in front of a toilet, and\nanother man is standing behind him. Additionally, there is a scene where a\nman is standing in front of a toilet, and another man is standing behind him.\nHolmes-VAU (Ours)\nThe anomaly exists, and the specific name of the anomaly is Abuse.\n\nPrompt: Provide a summary of the anomaly events in the video.\n\nvideo-level &lt;Description&gt;\n\nGround Truth:\nThe anomaly event depicts a chaotic and tense atmosphere in Paris, with scenes of protests,\nvandalism, and arson, including the use of tear gas, smoke bombs, and water cannons, as well\nas vehicles and buildings being set on fire and vandalized with graffiti.\nInternVL2\nThroughout the video, there are several anomalies that can be observed. The first anomaly is\nthe presence of yellow vests worn by some of the protesters, which is not a typical attire for\nsuch gatherings. The second anomaly is the use of water cannons to disperse the crowd, which is\nnot a typical method of crowd control. The third anomaly is the fact that some of the\nprotesters are wearing helmets, which is not a typical attire for such gatherings.\nHolmes-VAU (Ours)\nThe anomaly events involve chaotic street scenes with people running, smoke in the air, and\npolice officers in riot gear, indicating a state of unrest and potential violence.\n\nPrompt:\n\nWhy do you judge this event to be anomalous?\n\nvideo-level &lt;Analysis&gt;\n\nGround Truth:\nThe presence of violent or destructive behavior, law enforcement intervention, and disruption\nof public order in the urban environment depicted in the video.\nInternVL2\nThe presence of riot police, which are typically used for crowd control and maintaining order\nduring protests or demonstrations, suggests that this is not a regular occurrence in the area\nHolmes-VAU (Ours)\nThe presence of violent and destructive behavior, which deviates from normal and peaceful urban\nactivity.\nFigure J. Qualitative comparison of anomaly understanding explanation with our baseline model, i.e., InternVL-2B. Correct and\nwrong explanations are highlighted in green and red, respectively.\n\n21\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"