"<!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:2511.00962v1 [cs.CV] 2 Nov 2025\n\nA Unified Reasoning Framework for\nHolistic Zero-Shot Video Anomaly Analysis\n\nDongheng Lin1,2 Mengxue Qu1 Kunyang Han1\nJianbo Jiao2 Xiaojie Jin1 Yunchao Wei1∗\n1\nInstitute of Information Science, Beijing Jiaotong University\n2\nThe MIx Group, University of Birmingham\n{d.lin.2, j.jiao}@bham.ac.uk\n{qumengxue, kunyanghan, xiaojie.jin, yunchao.wei}@bjtu.edu.cn\n\nAbstract\nMost video-anomaly research stops at frame-wise detection, offering little insight\ninto why an event is abnormal, typically outputting only frame-wise anomaly\nscores without spatial or semantic context. Recent video anomaly localization\nand video anomaly understanding methods improve explainability but remain\ndata-dependent and task-specific. We propose a unified reasoning framework\nthat bridges the gap between temporal detection, spatial localization, and textual\nexplanation. Our approach is built upon a chained test-time reasoning process that\nsequentially connects these tasks, enabling holistic zero-shot anomaly analysis\nwithout any additional training. Specifically, our approach leverages intra-task\nreasoning to refine temporal detections and inter-task chaining for spatial and\nsemantic understanding, yielding improved interpretability and generalization in\na fully zero-shot manner. Without any additional data or gradients, our method\nachieves state-of-the-art zero-shot performance across multiple video anomaly\ndetection, localization, and explanation benchmarks. The results demonstrate that\ncareful prompt design with task-wise chaining can unlock the reasoning power\nof foundation models, enabling practical, interpretable video anomaly analysis\nin a fully zero-shot manner. Project Page: https://rathgrith.github.io/\nUnified_Frame_VAA/.\n\n1\n\nIntroduction\n\nVideo anomaly analysis is a key application of computer vision for public security. Most early works\nformulate the task as temporal Video Anomaly Detection (VAD): mark the segments whose behavior\ndeviates from learned normal patterns. Traditional detectors have reached high performance on\nbenchmarks, yet they output only frame-wise scores and provide no insight into why the segment\nis abnormal. These limitations of interpretability motivate a broader shift from temporal detection\nto more downstream anomaly analysis tasks with user-friendly and explainable outputs, including\nspatial Video Anomaly Localization (VAL) [Liu and Ma, 2019, Weng et al., 2022] and textual\nVideo Anomaly Understanding (VAU) tasks [Du et al., 2024, Tang et al., 2024, Zhang et al., 2024b]\nutilizing fine-tuned MLLMs. While these works provide either spatial or textual cues for better\nexplainability to video anomalies separately, the previous works were mostly focused on a certain\ntype of downstream tasks, which do not provide a holistic analysis to video anomalies, resulting in\n“incompleteness” from existing video anomaly analysis methods.\nA further challenge is the heavy reliance on dataset-specific supervision. Traditional VAD and VAL\nmodels require temporal masks or spatial bounding boxes, yet anomaly definitions vary widely across\n∗\n\nCorresponding author\n\n39th Conference on Neural Information Processing Systems (NeurIPS 2025).\n\n\fTable 1: Comparison of scopes and requirements of recent VLM-based methods. ✓ = supported\ntasks, ✗ = not supported. Our framework is the only strictly zero-shot approach that handles all three.\nMethod\nLAVAD [Zanella et al., 2024]\nCUVA [Du et al., 2024]\nSTPrompt [Wu et al., 2024b]\nHawk [Tang et al., 2024]\nHolmesVAU [Zhang et al., 2024b]\nVERA [Ye et al., 2025]\nOurs\n\nSupervision\n\nFine-tuning\n\nTemporal\n\nSpatial\n\nTextual\n\nNone\nText\nWeak class (closed-set)\nInstr. tuning\nInstr. tuning\nWeak class\n\nNone\nPrompt-tuning\nPrompt-tuning\nProjection\nLoRA\nVerbalized prompt learning\n\n✓\n✗\n✓\n✗\n✓\n✓\n\n✗\n✗\n✓\n✗\n✗\n✗\n\n✗\n✓\n✗\n✓\n✓\n✗\n\nNone\n\nNone\n\n✓\n\n✓\n\n✓\n\ndatasets [Wu et al., 2020, Lu et al., 2013, Mahadevan et al., 2010], so a model tuned on one domain\noften fails on another [Wu et al., 2024a]. Also, in real-world applications, due to privacy and security\nconcerns, the training data could be unavailable for some sensitive scenes. As partial remedies,\nrecent work has explored zero- and few-shot approaches using frozen vision-language backbones\nor MLLMs as we summarized in Table 1. We observed that most of the VLM-based works have\nlimited task scope and still rely on annotated datasets. The only strictly zero-shot method is solely\nfocusing on temporal VAD which makes it less user-friendly [Zanella et al., 2024]. For prompt-based\nmethods [Yang et al., 2024, Ye et al., 2025, Wu et al., 2024b], they inevitably require induction on\nan annotated training set, which comes at the cost of generality as prompts are often learned to be\ntask/domain-specific. This generality problem even exacerbates for instruct-tuned MLLMs [Tang\net al., 2024, Zhang et al., 2024b] which are optimized to return answers from seen QA pairs focused\non describing a closed set of anomaly types [Ding and Wang, 2024].\nIn recognition of these problems, given that multimodal LLMs already encode rich visual-semantic\npriors for commonsense reasoning [Zhao et al., 2023, Zhang et al., 2025b, Ren et al., 2025], finetuning may be unnecessary for certain tasks, as long as we can effectively reason about task contexts\nat test time [Minaee et al., 2025, Ma et al., 2024]. Specifically for video anomaly analysis, we may\nconsider each of the previous benchmark tasks as answering specific questions (When, where, what,\nand why?) about visual anomalies, among which each can be seen as a sub-problem contributing\nto holistic analysis. Therefore, solving these tasks represents naturally stratified reasoning contexts\ncontributing towards holistic anomaly analysis. Inspired by this, we propose a unified reasoningdriven chain framework that conditionally connects different MLLM-based task solvers during test\ntime.\nSpecifically, our framework operates systematically across three clearly defined stages rather than\nmerely concatenating separate tasks. First, an initial Video Anomaly Detection (VAD) computes a\nsurrogate anomaly probability at the video level and extracts a contextual tag list corresponding to the\nmost suspicious segments, thereby providing individualized context cues for each sample. Following\nthis, a score-gated refinement utilizes both the contextual tag list and preliminary anomaly scores to\nperform conditional score adjustments, refining the VAD task based on the inferred contexts. Lastly,\nthe final anomaly scores and contextual tag lists jointly guide the downstream spatial Video Anomaly\nLocalization (VAL) and further textual Video Anomaly Understanding (VAU) tasks, where textual\nand visual prompts are dynamically refined based on the VAD scores. In summary, each stage of\nour framework employs frozen Vision-Language Models (VLMs), with dynamic prompts iteratively\ninferred from preceding stages.\nWe conduct extensive experiments on UCF-Crime, XD-Violence, UBnormal and MSAD [Sultani\net al., 2018, Wu et al., 2020, Acsintoae et al., 2022, Zhu et al., 2024]. The proposed framework\nachieves state-of-the-art performance on three separate tasks under a zero-shot setting, achieving an\noverall 4-6% AUC improvement on VAD, and consistent improvements over diverse metrics for VAL\nand VAU tasks. These results show that our training-free, unified video anomaly analysis framework\nis interpretable, extensible, and robust across various domains and tasks.\n\n2\n\nRelated Works\n\nTraditional video anomaly analysis. Early Video Anomaly Detection (VAD) works typically\nfall into three major supervision regimes: one-class models trained only on normal clips and used\ncompact embeddings or memory banks to detect outliers [Sohrab et al., 2018, Wang and Cherian,\n2\n\n\fVLM\n\nInitial Suspicious Interval\n\nShoplifting?\nStealing?\nFighting?\n\n……\n\nanomaly tag list\n\nMultimodal LLMs\n\nWhere is the anomaly?\nThe anomalies could be…\n\n🏷\n\n❄\n\n❄\n\n❄\n\nVisual prompt refine\nAnomaly Understanding\n\nvideo clips\n\ncaption prompt&amp;\nscore prompt\n\nWhat is the anomaly? Why?\nA rough screening suggests...\n\n🏷\n\n...\n\ninstruction\n\nRefined Anomaly Interval\n\nReason\nGate\n\nSpatial Localization\n\n🏷\n\ninitial score\n\nTemporal Detection\nWhen is the anomaly?\nSuspicious behaviors are…\n\n🏷\n\n❄\n[0.1, 0.8, … 0.1]\n\nVLM\n\nLLM\n\nLLM\n\n❄\n\nReason\nGate\nThe video contains a\nman committing\nshoplifting, because…\n\nFigure 1: Overview of the unified holistic anomaly analysis framework. Left: A preliminary\nstep extracting the most suspicious intervals of a video and extracts anomaly tag lists reflecting\npossible anomaly contexts. Right: Illustraction of how the priors are used to refine each of the tasks.\nLow-confidence samples in Temporal VAD are refined by a selective Intra-Task Reasoning step. The\nInter-Task Chaining further connects it to downstream, including spatial VAL and textual VAU into a\ncascaded chain for a unified holistic anomaly analysis.\n\n2019, Micorek et al., 2024]; fully unsupervised methods rely on reconstruction or future-frame\nprediction losses [Hasan et al., 2016, Thakare et al., 2022]; and weakly-supervised MIL frameworks\nused video-level tags to rank anomalous snippets [Sultani et al., 2018, Feng et al., 2021, Joo et al.,\n2023]. All of them need to be re-trained for unseen domains or anomaly types and provide no\nsemantic rationale for their decisions [Ramachandra et al., 2020, Wu et al., 2024b]. To address this,\nopen-set detectors emerged: OVVAD fuses LLM semantics so the system can both detect and classify\nnovel anomalies [Wu et al., 2024a]. However, such open-set detectors still require task-specific\ntraining and provide very limited textual insight into why frames may be abnormal, motivating the\nmove toward vision-language solutions with task formulations beyond temporal detection.\n\nVLM-based video anomaly analysis. LAVAD [Zanella et al., 2024] introduces a fully training-free\npipeline for temporal detection: a frozen VLM captions each frame; a prompted LLM converts the\ncaption stream into frame-wise anomaly scores that are further refined by ensembles of foundation\nmodels. While effective when anomalies are clearly distinguishable from normality, it occasionally\nfails to distinguish more complex anomaly types [Ding and Wang, 2024], and lacks direct semantic\nexplanations, providing only default VLM captions alongside computed anomaly scores. Prompttuning variants [Du et al., 2024, Wu et al., 2024b, Yang et al., 2024, Ye et al., 2025] optimize textual\nprompts to guide frozen MLLMs for certain tasks. While they reveal strong performance, they remain\ndependent on annotated data and deal with limited task scopes [Zhang et al., 2024b].\n\nVideo anomaly understanding and multimodal LLMs. With the need for deeper semantic\nreasoning, instruction-tuning methods such as Hawk [Tang et al., 2024] and Holmes-VAU [Zhang\net al., 2024b] fine-tune VLMs on detailed, anomaly-captioned video clips to produce narrative\nexplanations. These works have achieved more accurate descriptions but require extensive annotation\nand computational resources, and remain tied to seen anomaly types [Liu et al., 2025].\nTo sum up, we observe: strictly zero-shot methods such as Zanella et al. [2024] support temporal\ndetection but lack spatial grounding and textual insights. Prompt-tuning variants [Du et al., 2024, Wu\net al., 2024b, Ye et al., 2025] are mostly focused on only a subset of tasks/domains as the prompts are\noften task/domain-specific. Instruction-tuned models [Tang et al., 2024, Zhang et al., 2024b] produce\nrich narrative explanations, yet lack either temporal or spatial coverage and incur high annotation\ncosts. These gaps motivate our effort to unify these tasks under a zero-shot setting.\n3\n\n\f3\n\nMethodology\n\nWe show an overview of this framework in Figure 1. The video anomaly analysis task is decomposed\ninto three major sub-tasks, as formulated in previous works, and our framework exploits the inherent\nconnection among them. Our unified framework can be summarized in two major components: 1)\nAn Intra-Task Reasoning (IntraTR) extracts anomaly priors through the temporal video anomaly\ndetection (VAD) task and then refines the temporal detection through a gated additional reasoning\nstep. 2) Building on the reasoning process in IntraTR, an additional Inter-Task Chaining (InterTC)\nconnects the extracted tag list and temporal score results from the initial VAD results to enable\nsubsequent localization and understanding tasks in a cascaded manner. Detailed explanations for\neach component are provided in Section 3.1 and Section 3.2 respectively.\n3.1\n\nIntra-Task Reasoning (IntraTR) for temporal anomaly detection\n\nProblem formulation. VAD can be formulated as a binary (0-1) classification at frame level.\nIdeally, for each input frame fi , the objective is to predict an anomaly probability si . For baseline\nmethods utilizing LLM and VLM [Zanella et al., 2024], it can be formulated as:\n\u0001\n\u0002\n\u0003\nsi = θLLM pVAD ⊕ θVLM (ci , pcaption ) ,\nSV = s1 , . . . , sT ,\n(1)\nwhere T is the number of frames in video V , ci is a short video clip representing events around\nframe fi and pVAD , pcaption represents prompts used respectively for video anomaly detection and\nclip captioning. Vector SV therefore provides a first-pass anomaly estimate for every frame, obtained\nwithout fine-tuning. However, beyond this baseline, can we further leverage SV for improved\nreasoning?\nTrying to answer this question, our VAD pipeline treats SV not only as the final answer but also as a\nstarting point for a structured intra-task reasoning step performed at test time. Figure 2 provided an\noverview of the proposed IntraTR pipeline.\nScore-guided anomaly extraction. To iden- ① Input video\n③\nOverthink\nInitial score\nReject\ntify the potential anomalies present in the video,\n❄\nwe first conduct one forward pass\nproducing\n\u0002\n\u0003\nframe-wise anomaly scores SV = s1 , . . . , sT\nReasoning\nInitial Scorer\nApproval\nfor a video V with T frames, where each ②\n❄\nTruncate\nsi ∈ [0, 1]. Intuitively, an anomalous event\nAnomaly tag list 𝑡\ne should occupy a contiguous window We =\nSuspicious clip\nShoplifting?\n❄\n{t, . . . , t + ℓ − 1}, ℓ ≪ |SV | reflects a local segStealing?\nFighting?\nments. Denote the mean P\nscore inside any win……\nRefine Prompt\nTag Extractor\n1\ndow W by µ(W ) = |W | j∈W sj . Following\nthe intuition that anomaly events should main- Figure 2: Intra-Task Reasoning pipeline: (1)\ntain consistently high scores, in an anomalous the Initial Scorer produces a score curve; (2) peak\nvideo, we expect to find:\ndetection truncates a suspicious window and the\n∃ We : |We | = ℓ, such that µ(We ) ≥ τ, (2) Tag Extractor generates anomaly tags tV ; (3) a\nwhere τ is a natural decision boundary (e.g. reasoning gate refines low-confidence predictions\nvia the Score Updater.\nτ = 0.5).\n{\n\n𝑊!\"#\n\nUp\n\n{\n\nDecision Boundary 𝝉 = 𝟎. 𝟓\n\nScore-based\nReasoning\nGate\n\nda\nte\n\nLLM\n\n!\n\nVLM\n\nTo find whether such a window We exists in the video, at inference time, we slide a window of\nadmissible length ℓ and select:\nWmax = arg\n\nmax\n\nW ⊆{1,...,T }, |W |=ℓ\n\nµ(W ),\n\n(3)\n\ns̃V = µ(Wmax ),\n(4)\nwhere Wmax is the most suspicious segment and s̃V ∈ [0, 1] is the surrogate video-level anomaly\nprobability. After identifying the most suspicious part of the video Vsus indicated by Wmax , we\nextract text contexts related to anomalies by querying VLM to generate a list of concise phrases tV\nsummarizing the possibly related anomaly activities in the video clip Vsus as follows:\nj ∈ Wmax ,\n\nVsus = [fj ] ,\n\ntV = θVLM (Vsus , pextract ) .\nWe then pass Wmax , s̃V and tV to later stages for further processing.\n4\n\n(5)\n(6)\n\n\fScore-based reasoning gate. Recent studies reveal a non-monotonic trade-off between reasoning\ndepth and accuracy in large language models: while a short chain of thought can boost performance,\nexcessive steps often induce “over-thinking” and hallucinations [Huang and Chang, 2023, Chen et al.,\n2025]. Inspired by this observation, we trigger an additional reasoning pass only when the first-pass\nscore is ambiguous via a score-based gate component with motivation explained below.\nStarting from the raw frame scores SV , we obtain the surrogate video-level probability s̃V . If\ns̃V ∈\n/ [0.5−m, 0.5+m], the model is considered confident about its first round predictions as the\nprediction is positioned far from the decision boundary [El-Yaniv and Wiener, 2010]. Therefore,\na gating mechanism with width 2m allows borderline/ambiguous videos with s̃V ∈ [0.5 ± m] to\nproceed to a second reasoning stage. With the tag list tV extracted from frames in Wmax , the task\nprompt is refined to p∗VAD = tV ⊕ pVAD .\nIntuitively, m quantifies the degree of “suspicion”, which can be either a fixed value or adaptive\nw.r.t. each sample. For the setting of m specifically, we offer two options. It could be either 1) a\nfixed heuristic constant over all samples that allowing user to control the degree of suspicion, 2) or\nas an adaptive sample-specific variable estimated from current V by m̃V = Var(SV ) reflecting the\ndiversion of normal/abnormal frame scores may exist in current video. We compare and discuss the\nimpact of m in Section 4.2 and Section B.1 correspondingly.\nBased on the above, querying the scorer LLM once more with refined prompts when s̃V ∈ [0.5±m]:\n\u0001\nSV∗ = θLLM p∗VAD ⊕ θVLM (ci , pcaption ) ,\ni = 1, . . . , T.\n(7)\nThe refinement yields updated frame scores SV∗ , replacing the initial SV for the final decision.\nFollowing established practices in prior works [Ye et al., 2025, Tran et al., 2022], we run a standard\ngaussian smoothing to post-process the refined SV , resulting in the final SVpred . By allocating the\ncostly reasoning step only when the score near the margin indicates uncertainty, the method inherits\nthe computational efficiency and robustness of selective prediction while mitigating “over-thinking”\nhallucinations observed in unrestricted chain-of-thought generation.\nBeyond the IntraTR-assisted VAD above, we further explore leveraging the reasoning steps from the\nVAD task to assist downstream tasks through InterTC component in Section 3.2 and Section 3.2.\n3.2\n\nInter-Task Chaining (InterTC) for holistic anomaly analysis\n\nIn this section, we cover the design of InterTC for two key sub-tasks in anomaly analysis, namely 1)\nspatial Video Anomaly Localization (VAL) and 2) textual Video Anomaly Understanding (VAU).\n\nInterTC from temporal detection to spatial localization. Video Anomaly Localization\n(VAL) aims to predict spatial bounding boxes for\nregions in the frame f containing the anomalous\nactivities. The InterTC connects VAD with VAU\nusing a straightforward method. Specifically,\nwe utilized a frozen VLM θLOC (pLOC ⊕ f ),\nguided by a base localization task prompt pLOC\nfor frame f . And then inject tV to the pLOC ,\nproducing a refined prompt p∗LOC using a predefined template. Therefore, p∗LOC is expected\nto be a more sample-specific and clearer guiding prompt for spatial localization and thereby\nimproving its performance. Detailed prompt\ntemplates are included in Section C.1.\n\nAlgorithm 1: Inter-Task Chaining prompt refinement for VAU\nInput: video V = [f1 , . . . , fT ];\ntag list tV ;\nbase prompt pVAU ;\nlocalization prompt pLOC ;\nsurrogate anomaly score s̃V ;\nmost suspicious window Wmax\nOutput: final description d∗\n\nVAD-prior Prompt Refinement:\np∗VAU ← tV ⊕ pVAU ;\nScore-gated Localization Overlay (optional):\nif s̃V &gt; 0.5 then\nFsel ← sample_frames(V, Wmax\u0001);\nbboxes ← θLOC Fsel , tV ⊕ pLOC ;\nVquery ← draw_boxes(V, bboxes);\nelse Vquery ← V ;\nFinal\ndescription:\n\u0001\nCascaded InterTC for video anomaly underd∗ ← θVLM Vquery , p∗VAU ;\nstanding. Given an untrimmed surveillance return d∗\n\nvideo V = (f1 , . . . , fT ), video-level anomaly\nunderstanding (VAU) aims to 1) decide whether\nV containing an abnormal event and 2) output a human-readable description d∗ that explains anoma5\n\n\flies from the visual inputs. Formally,\nΘVAU : V −→ (ŷV , d∗ ),\n\nŷV ∈ {0, 1}.\n\n(8)\n\nUnlike earlier works that train task-specific models via instruction tuning [Tang et al., 2024, Zhang\net al., 2024b], our approach to ΘVAU operates in a fully zero-shot manner. It reuses the frame-level\nscores SV , the tag list tV , and the suspicious window Wmax obtained during the earlier temporal\ndetection and spatial localization steps to refine the anomaly understanding prompt at inference time.\nAlgorithm 1 provides an overview of the full prompt refinement step for downstream VAU task\nleveraging the reasoning steps from the preceding VAD and VAL tasks. Specifically, we begin with\nVAD-prior Prompt Refinement which incorporates the tag list tV from the VAD task into the anomaly\ndescription prompts, forming a more context-aware textual query p∗VAU = tV ⊕ pVAU .\nNext, we apply a visual prompt enhancement called Score-gated Localization Overlay. Specifically,\nthe surrogate probability s̃V gates a visual-prompt enhancement stage: only when s̃V &gt; 0.5. i.e. the\nVAD detector already believes an anomaly is present, allowing us to trust that object-level cues are\nmeaningful and beneficial to include. For such videos we 1) sample frames inside Wmax . 2) invoke a\ndetection-capable VLM with tV ⊕ pLOC to obtain bounding boxes, and 3) overlay those boxes onto\nthe corresponding frames in original video V , producing an annotated Vquery . If s̃V ≤ 0.5 we skip\nthe bounding box overlay and retain the original, unmodified video.\nFinally, the VLM receives Vquery (either annotated or not) together with p∗VAU and outputs the\ndescription d∗ . Since localization is performed only when the detector is confident that an anomaly\nexists, the inserted boxes act as reliable visual prompts rather than noisy clutters.\n\n4\n\nExperiments\n\n4.1\n\nExperimental setup\n\nDatasets &amp; evaluation metrics. We evaluate on the official test splits of three benchmarks: 1)\nUCF-Crime [Sultani et al., 2018] (real-world CCTV and crowd-sourced, 13 anomaly types); 2)\nXD-Violence [Wu et al., 2020] (800 test videos from movies, sports clips, CCTV, dashcam, cartoons);\n3) UBnormal [Acsintoae et al., 2022] (211 fully synthetic surveillance videos across 29 virtual\nenvironments); 4) a more recent MSAD [Zhu et al., 2024] (14 distinct scenarios captured from\nvarious camera views, containing 360 test videos) which is less likely to overlap with pre-train data.\nAccording to previous works, we primarily evaluate Area Under the Curve (AUC) score for the\nReceiver Operating Characteristic (ROC) Curve on all the datasets. Since several studies also report\nAverage Precision (AP) on XD-Violence [Wu et al., 2020], we include AP results for reference.\nFinally, for Video Anomaly Understanding (VAU) task, to fairly evaluate the quality of the generated\nd∗ , we adopted all the video-level annotations from HIVAU-70k [Zhang et al., 2024b]. Spanning\n1051 video descriptions, with 251 test videos from UCF-Crime, and 800 videos from XD-Violence,\nwhich is larger than the original video-level test set in Zhang et al. [2024b] (398 samples). In addition\nto traditional NLP metrics [Papineni et al., 2002, Vedantam et al., 2015, Banerjee and Lavie, 2005,\nLin, 2004], we also evaluate GPT-guided scores following recent works [Tang et al., 2024, Li et al.,\n2024a]. More details are available in Section C.\nHyperparameters &amp; experiment details. For VAD tasks, clip-level scoring operates on the full\nvideo with a 16-frame stride (see details in Section C.2). The suspicious window size for the prior\nextraction step is set to ℓ = max(300, T /10) and fixed m = 0.05. We evenly subsample at most\n180 frames from the window Wmax due to the limited context capacity of the VLM model to get tV .\nAs for the default VLM and LLM tested in the framework, we choose VideoLLaMA3-7B [Zhang\net al., 2025a] and Llama-3.1-8B-Instruct [Grattafiori et al., 2024]. To reduce computational cost,\nwe subsample all videos at a frame sampling stride of 16. We run all experiments on two NVIDIA\nGeForce RTX 3090 GPUs. Further implementation details, prompts and hyperparameter stability\ntests are provided in Section C and Section B.1.\nAdditionally, we adopted Qwen2.5-VL-7B [Bai et al., 2025] as the default localization VLM for VAL\ntask, and varied different baseline VLMs including Zhang et al. [2025a], Li et al. [2024b], Bai et al.\n[2025] for VAU task. Moreover, for both VAL and VAU tasks, we leverage the anomaly priors (e.g.\ntV , s̃V , Wmax ) obtained under the default configuration of IntraTR in Section 3.1.\n6\n\n\fTable 2: VAD Performance comparison across UCF-Crime, XD-Violence, UBNormal and\nMSAD. ✓ / ✗ indicate whether a method is zero-shot and training-free in terms of model parameters.\nMethod\n\n†\n‡\n\nZero-shot\n\nTraining-free\n\nUCF-Crime\n\nXD-Violence\n\nUBNormal\n\nMSAD\n\nAUC(%)\n\nAUC(%)\n\nAP(%)\n\nAUC(%)\n\nAUC(%)\n\nAP(%)\n\nSultani et al. [2018]\nGODS [Wang and Cherian, 2019]\nRTFM [Tian et al., 2021]\nAccI-VAD [Reiss and Hoshen, 2022]\nCLIP-TSA [Joo et al., 2023]\nMGFN [Chen et al., 2023b]\nSTPrompt [Wu et al., 2024b]\nOVVAD [Wu et al., 2024a]\nHolmes-VAU [Zhang et al., 2024a]\nMULDE [Micorek et al., 2024]\nEGO [Ding et al., 2024]\nAnomalyRuler [Yang et al., 2024]\nVERA [Ye et al., 2025]\nHolmesVAU [Zhang et al., 2024b] (ZS)\n\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✓\n\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n✓\n✓\n✗\n\n77.92\n70.46\n83.31\n87.58\n86.98\n88.08\n86.40\n88.96\n78.50\n81.71\n86.55\n-\n\n61.56\n88.26\n-\n\n73.20\n77.81\n82.19\n80.11\n66.53\n87.68\n65.77\n70.54\n-\n\n50.30\n60.94\n66.51\n63.98\n62.94\n72.80\n71.90\n58.54†\n\n86.7\n85.0\n87.3\n-\n\n66.3\n63.5\n64.4\n-\n\nAnomalyRuler [Yang et al., 2024] (ZS)\nUR-DMU [Zhou et al., 2023] (ZS)\nCLIP [Radford et al., 2021] (ZS)\nLLAVA-1.5 [Liu et al., 2024] (ZS)\nVideoLLaMA3-7B + Llama3.1-8B (ZS)\nGLM-4.1V-9B-Thinking (ZS CoT)‡\nLAVAD [Zanella et al., 2024]\nOurs (fixed constant m)\nOurs (adaptive m̃V )\n\n✓\n✓\n✓\n✓\n✓\n✓\n✓\n✓\n✓\n\n✓\n✓\n✓\n✓\n✓\n✓\n✓\n✓\n✓\n\n53.16\n72.84\n61.80\n80.28\n84.28\n84.08\n\n38.21\n79.62\n72.73\n85.36\n91.34\n91.23\n\n17.83\n50.26\n52.93\n62.01\n68.07\n68.03\n\n65.40†\n60.81\n51.06\n68.98\n69.02\n\n74.3\n78.7\n85.9\n86.0\n\n53.4\n68.5\n76.4\n75.9\n\nThe result is from a direct evaluation of the method trained on other non-overlapping datasets, reflecting its zero-shot performance.\nZero-shot chain-of-thought (CoT) inference VAD performance using GLM-4.1V-9B-Thinking [Team et al., 2025].\n\nTable 3: (a) Ablation of inference steps. showing the effectiveness of each reasoning component.\n(b) Ablation on video-level anomaly priors. toracle uses ground-truth types, and tV are actual local\nanomaly priors we extracted during the reasoning step.\n(a) Inference component effectiveness ablations\n\n(b) Reasoning prior ablations\n\n➀ LLM-Scoring\n\n➁ Prior Reasoning\n\n➂ Score-gated Reasoning\n\nAUC (%)\n\nAnomaly Priors\n\nAUC (%)\n\n✗\n✓\n✓\n✓\n\n✗\n✓\n✗\n✓\n\n✗\n✗\n✗\n✓\n\n77.67 (+0.00)\n77.40 (-0.27)\n80.38 (+2.71)\n84.28 (+6.61)\n\npVAD\n⊕ toracle\n⊕ tV (Ours)\n\n81.86\n83.91\n84.28\n\nFor the Video Anomaly Localization (VAL) task, following previous works, we evaluate temporal\nIoU (TIoU) [Liu and Ma, 2019, Wu et al., 2024b] for each anomalous frame fj (j = 1, . . . , N ),\nthe localization head θLOC (fj , p∗LOC ) outputs a confidence Cj and a box Bj . Then, the TIoU is\nPN Area(B ∩G )\ncomputed as: N1 j=1 Area(Bjj ∪Gjj ) I[Cj ≥ τ ], with Gj the ground-truth bboxes, where the indicator\nI ∈ {0, 1} judges whether the confidence Cj is above the default threshold τ = 0.5.\n4.2\n\nVAD results\n\nTable 2 summarizes the results across the three benchmarks. Across all datasets, our zero-shot,\ntraining-free framework outperforms the previous best zero-shot detectors by 4−6% on UCF-Crime\nand XD-Violence, 3% on UBnormal, and also generalises well on MSAD. Our method also showed\ncompetitive performance to those baselines requiring additional supervision, data or CoT reasoning\nsteps, further proving the benefit of IntraTR component we proposed. Figure 3 qualitatively compares\nour method with the baseline [Zanella et al., 2024] showing significantly reduced false positive\npredictions. More examples are provided in Section D.1.\nWe also find that a fixed margin m already performs well, although it introduces an unavoidable\nassumption on the test domain, while variance estimated m̃V also provides similar performances\nwithout posing any assumption on the test domain. This sample-specific “suspicion” accounts for\nits superiority on a synthetic dataset (UBNormal) where samples are peculiar to natural videos. We\nfurther discuss the impact of m values in Section B.1.\n7\n\n\fTable 4: Comparison with previous supervised\nworks on temporal-IoU (%) metric using zeroshot Qwen2.5-VL-7B. tV comes from IntraTR,\ntoracle from ground-truth class names.\n\nFigure 3: Anomaly scores on a video from\nUCF-Crime with an “Arrest” incident.\n\nMethod\n\nTIoU\n\nVadCLIP [Wu et al., 2024c]\nSTPrompt [Wu et al., 2024b]\n\n22.05\n23.90\n\nQwen2.5-VL-7B (baseline)\n⊕ tV\n⊕ toracle\n\n24.09\n25.17\n25.21\n\nTable 5: Video anomaly understanding performance comparison on two benchmark datasets.\nThe results are computed against ground-truth descriptions provided by [Zhang et al., 2024b]. Apart\nfrom the traditional NLP metrics (BLEU, CIDEr, ROUGE, METEOR), we also provide GPT-R,\nGPT-D, GPT-C metrics Reasonability, Detail and Consistency computed against against\nthe ground-truth using API calls to OpenAI-GPT4.1 [OpenAI, 2025] correspondingly following\nprevious works [Tang et al., 2024, Li et al., 2024a].\nUCF-Crime [Sultani et al., 2018]\n\nMethod\n\nXD-Violence [Wu et al., 2020]\n\nBLEU\n\nCIDEr\n\nMETEOR\n\nROUGE\n\nGPT-R\n\nGPT-D\n\nGPT-C\n\nBLEU\n\nCIDEr\n\nMETEOR\n\nROUGE\n\nGPT-R\n\nGPT-D\n\nGPT-C\n\nInternVideo2.5-8B [Wang et al., 2025]\n\n0.159\n\n0.011\n\n0.088\n\n0.103\n\n0.240\n\n0.266\n\n0.205\n\n0.209\n\n0.013\n\n0.119\n\n0.130\n\n0.456\n\n0.447\n\n0.433\n\nVideoChat-Flash-2B [Li et al., 2024b]\n+ InterTC VAU refine (Ours)\n\n0.165\n0.297\n\n0.008\n0.022\n\n0.108\n0.157\n\n0.168\n0.188\n\n0.488\n0.509\n\n0.283\n0.427\n\n0.404\n0.438\n\n0.277\n0.324\n\n0.026\n0.033\n\n0.144\n0.158\n\n0.186\n0.187\n\n0.690\n0.715\n\n0.576\n0.649\n\n0.627\n0.655\n\nVideoLLaMA3-7B [Zhang et al., 2025a]\n+ InterTC VAU refine (Ours)\n\n0.215\n0.345\n\n0.014\n0.023\n\n0.117\n0.175\n\n0.156\n0.188\n\n0.463\n0.512\n\n0.289\n0.428\n\n0.384\n0.444\n\n0.290\n0.399\n\n0.022\n0.029\n\n0.141\n0.198\n\n0.169\n0.200\n\n0.568\n0.721\n\n0.487\n0.707\n\n0.499\n0.668\n\n0.379\n0.435\n\n0.008\n0.021\n\n0.217\n0.194\n\n0.187\n0.257\n\n0.255\n0.448\n\n0.580\n0.356\n\n0.214\n0.391\n\n0.375\n0.376\n\n0.016\n0.011\n\n0.176\n0.182\n\n0.188\n0.253\n\n0.408\n0.715\n\n0.586\n0.581\n\n0.365\n0.673\n\n†\n\nHawk [Tang et al., 2024]\nHolmesVAU [Zhang et al., 2024b] †\n\n†\n\nRe-evaluated on our new evaluation set strictly following its default configurations.\n\nAblation on test-time reasoning steps. Table 3a evaluates the individual contributions of the three\ncomponents of our inference loop. The simplest baseline, single-round direct query to a frozen\nVLM achieves 77.67% (row 1). Introducing the ➀ LLM-based Scoring component and the ➁\nPrior-Reasoning step without the subsequent score-gated reasoning yields only 77.40% (row 2).\nIn contrast, keeping the LLM scorer but dropping the prior reasoning module lifts performance to\n80.38% (row 3), indicating that unrestricted “overthinking” across all samples without selective\ngating can conversely inject noise, causing hallucination, degrading performance. Activating all three\nstages, including the ➂ score-gated reasoning, further raises the result to 84.28% (row 4), a gain of\n6.61% over the raw VLM baseline. These results validate our hypothesis that confidence in anomaly\npresence can act as a metric to evaluate the quality of first-round prediction and therefore effectively\ncontrol a proper reasoning depth for test samples.\nAblation on tV . Table 3b isolates the effects of incorporating the textual video-level anomaly priors\nin the second-round reasoning for VAD. The baseline score-gated reasoning module under fixed small\nmargin value m = 0.05 with an empty tV achieves a lower performance of 81.86%. Replacing the\ntV with ground-truth oracle class names from annotations (e.g. “Arson, RoadAccident”) (toracle )\nlifts performance to 83.91%, confirming that accurate anomaly priors improve detection performance.\nInterestingly, our automatically extracted priors tV even surpassed the oracle class names, reaching\n84.28%, demonstrating that the local anomaly extraction step could effectively finalize the anomaly\npriors to clearer contexts than rough anomaly classes (e.g. class label “Arrest” is ambiguous,\nwhile extracted tV may include “physical altercation” which is more informative) in ground-truth.\nExploiting clearer contexts leads to superior frame-wise anomaly detection performance.\n4.3\n\nVAL results\n\nTable 4 shows that the zero-shot MLLM baseline already outperforms earlier supervised detectors,\nand that injecting anomaly tags, either from the automatically derived tag list tV in IntraTR or\nthe ground-truth class name, yields an additional ∼ 1% absolute gain in quantitative TIoU metric.\nAlso, the tiny gap between the results using tV and the ground-truth toracle suggests our tV captures\nnear-optimal semantic cues the oracle provides, yet without requiring any manual annotation. These\n8\n\n\fGround-truth\n\n\"The anomaly exists, specifically identified as \\\"Shoplifting\\\". The anomaly event involves the bearded man approaching the glass cabinet, gazing at the mobile\nphones on display, and then carefully taking one of the phones out of the cabinet without anyone noticing. He then discreetly puts the phone in his pocket,\nmaking no attempt to pay for it or interact with the sales staff, and walks away as if nothing out of the ordinary had occurred. The basis for judging this anomaly\nis the unexpected and unauthorized removal of an item from a store display, which deviates from the normal and expected behavior of a customer in a retail\nenvironment, where customers are typically expected to browse, ask for assistance, and make purchases through legitimate means.\"\n\n\"The video appears normal. The scene shows a\nman in a blue shirt and shorts standing at a\ncounter in a mobile phone store. He is looking at\nthe phones on display and occasionally picking\none up to examine it. There are other people in\nthe background, but they are not interacting\nwith the man. The man does not appear to be\ndoing anything unusual or anomalous.“\n\n“The anomaly is shoplifting. A man in a black\njacket and shorts is seen picking up a phone\nfrom the display case and putting it in his\npocket. He then walks away with the phone.”\n\n\"The video depicts a series of mundane\nevents where a man in a blue shirt and glasses\napproaches the counter, takes out a phone,\nand then leaves the counter, with no unusual\nor suspicious activities occurring throughout\nthe video.“\n\nVideoLlama3-7B Baseline\n\nOurs\n\nHolmesVAU\n\nFigure 4: Qualitative results of video anomaly understanding. Descriptions for a video containing\nan incident of “Shoplifting” from different methods, where green text highlights correct descriptions/rationale about the anomaly, and red highlights statements inconsistent with the ground truth.\nTable 6: Ablation study of InterTC prompt refinement steps on description quality.\nDataset\n\nUCF-Crime\n\nXD-Violence\n\nTag tV\n\nMethod\n†\n\nZS CoT Baseline\n\nInterTC (Ablated)\nInterTC (Ablated)\nInterTC (Full)\n\nbboxes\n\nBLEU\n\nCIDEr\n\nMETEOR\n\nROUGE\n\n–\n\n–\n\n0.3172\n\n0.0193\n\n0.1651\n\n0.1820\n\n✗\n✓\n✓\n\n✗\n✗\n✓\n\n0.2147\n0.3328\n0.3453\n\n0.0143\n0.0183\n0.0232\n\n0.1167\n0.1684\n0.1750\n\n0.1564\n0.1920\n0.1878\n\nZS CoT Baseline†\n\n–\n\n–\n\n0.3682\n\n0.0381\n\n0.1824\n\n0.1876\n\nInterTC (Ablated)\nInterTC (Ablated)\nInterTC (Full)\n\n✗\n✓\n✓\n\n✗\n✗\n✓\n\n0.2897\n0.3857\n0.3993\n\n0.0219\n0.0270\n0.0288\n\n0.1410\n0.1931\n0.1980\n\n0.1690\n0.1993\n0.1997\n\n†\nZS CoT: The zero-shot VAU performance of a reasoning VLM: GLM-4.1V-9B-Thinking [Team et al., 2025],\nwhich is capable of long chain-of-thought (CoT) inference.\n\nobservations confirm that even lightweight semantic priors effectively improve spatial localization\nwithout retraining. Additional qualitative examples of localization are included in Section D.\n4.4\n\nVAU results\n\nExperiment results. Table 5 compares our InterTC refinement to direct VLM inference baselines\nand recent instructed-tuned VAU MLLMs [Tang et al., 2024, Zhang et al., 2024b] on two different\ntest domains, against the ground-truth description provided by HIVAU-70k [Zhang et al., 2024b]. On\nboth domains, InterTC-refined query prompts improve the base VLM on both traditional NLP metrics\nand all GPT-scores (Reasonability, Detail, Consistency) of the outputs, narrowing much of the gap to\ninstruction-tuned methods [Tang et al., 2024, Zhang et al., 2024b] and even surpassing instruct-tuned\nmethods on several metrics. Qualitatively, we also demonstrate the descriptive capability of our\nframework in Figure 4. On a shoplifting clip, the baseline VLM [Zhang et al., 2025a] and HolmesVAU\nboth fail to identify the abnormal act, whereas our method reports the key action (“puts the phone in\nhis pocket”) and labels the event as shoplifting. More examples are provided in Section D.3. These\nfindings confirm that 1) the tag-based prompt enrichment injects crucial context and 2) localization\ncues further enhance narrative detail without any additional training.\nAblation to prompt refinement steps. To isolate the improvement of VAU metrics to each component of InterTC-assisted VAU process, we conduct corresponding ablations. As shown in Table 6,\nacross both UCF-Crime and XD-Violence, simply enhancing the prompt with the tag list tV from\nVAD-priors to the base prompt accounts for the majority of the observed gains. In contrast, Inter-task\nchaining from the spatial localization overlay to VAU step yields a smaller, incremental lift on top of\nthat strong improvement. We suspect primarily because the frozen VLMs have not been fine-tuned\non large-scale data featuring overlaid bounding boxes, resulting in a rather marginal improvements.\n9\n\n\fWhile the generic “thinking” VLM [Team et al., 2025] underperforms on the more specialized VAD\ntask (see Table 2), it performs better on VAU than zero-shot baselines. This indicates that chained\ninference idea adopted in both Team et al. [2025] and our InterTC can enrich textual anomaly understanding by encouraging more detailed, stepwise descriptions. However, general-purpose reasoning\nof Team et al. [2025] may not generalise well on the niche and complex anomaly video understanding\ntask [Shojaee* et al., 2025], introducing content weakly related to the true anomalies. In contrast,\nour InterTC-guided prompts focus the description on anomaly-relevant evidence, yielding superior\nscores on most metrics across all video-anomaly tasks. Overall, VAD prior textual prompt refinement\nplays a more major role in prompt refinement, while localization visual prompts could be an optional\nenhancement when extra compute is available.\n\n5\n\nConclusion\n\nIn this work, we introduced a unified, training-free framework for holistic video anomaly analysis\nby chaining temporal detection, spatial localization, and textual understanding in a single inference\npass. Our zero-shot system consistently outperforms prior training-free baselines and approaches\nsupervised methods across all three sub-tasks.\nBy structuring our pipeline as a sequence of gated reasoning steps, each sub-task enriches the next\nwith semantic or visual priors drawn from the model’s own outputs, enabling self-correction and\ndeeper interpretability without any additional training. In video anomaly analysis specifically, where\nevents unfold over time and space, such multi-stage inference captures structure that single-pass\nmodels miss or fail, yielding both accurate detection and user-friendly explanations without any\nadditional training. Despite some possible limitations and potential societal impacts it may bring\nabout a powerful yet bulky VLM system for sensitive video analysis (see more discussion in Section F\nand Section G), we believe this framework of treating inference as an active, context-driven process\ncan foster more robust video analytics and may generalize to other complex vision-language tasks.\n\nAcknowledgements\nThis work was supported by the National Natural Science Foundation of China (No.92470203),\nBeijing Natural Science Foundation (No.L242022), the Fundamental Research Funds for the Central\nUniversities (2024XKRC082). Jianbo Jiao is supported by an Amazon Research Award.\n\nReferences\nAndra Acsintoae, Andrei Florescu, Mariana-Iuliana Georgescu, Tudor Mare, Paul Sumedrea, Radu Tudor Ionescu, Fahad Shahbaz Khan, and Mubarak Shah. Ubnormal: New benchmark for supervised\nopen-set video anomaly detection. In Proceedings of the IEEE/CVF Conference on Computer\nVision and Pattern Recognition (CVPR), June 2022.\nShuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Peng Wang,\nShijie Wang, Jun Tang, Humen Zhong, Yuanzhi Zhu, Mingkun Yang, Zhaohai Li, Jianqiang Wan,\nPengfei Wang, Wei Ding, Zheren Fu, Yiheng Xu, Jiabo Ye, Xi Zhang, Tianbao Xie, Zesen Cheng,\nHang Zhang, Zhibo Yang, Haiyang Xu, and Junyang Lin. Qwen2.5-vl technical report. arXiv\npreprint arXiv:2502.13923, 2025.\nSatanjeev Banerjee and Alon Lavie. METEOR: An automatic metric for MT evaluation with improved\ncorrelation with human judgments. In Jade Goldstein, Alon Lavie, Chin-Yew Lin, and Clare Voss,\neditors, Proceedings of the ACL Workshop on Intrinsic and Extrinsic Evaluation Measures for\nMachine Translation and/or Summarization, pages 65–72, Ann Arbor, Michigan, June 2005.\nAssociation for Computational Linguistics. URL https://aclanthology.org/W05-0909/.\nLiangyu Chen, Bo Li, Sheng Shen, Jingkang Yang, Chunyuan Li, Kurt Keutzer, Trevor Darrell,\nand Ziwei Liu. Large language models are visual reasoning coordinators. Advances in Neural\nInformation Processing Systems, 36:70115–70140, 2023a.\nXingyu Chen, Jiahao Xu, Tian Liang, Zhiwei He, Jianhui Pang, Dian Yu, Linfeng Song, Qiuzhi\nLiu, Mengfei Zhou, Zhuosheng Zhang, Rui Wang, Zhaopeng Tu, Haitao Mi, and Dong Yu.\n10\n\n\fDo not think that much for 2+3=? on the overthinking of o1-like llms, 2025. URL https:\n//arxiv.org/abs/2412.21187.\nYingxian Chen, Zhengzhe Liu, Baoheng Zhang, Wilton Fok, Xiaojuan Qi, and Yik-Chung Wu. Mgfn:\nMagnitude-contrastive glance-and-focus network for weakly-supervised video anomaly detection.\nIn Proceedings of the AAAI conference on artificial intelligence, volume 37, pages 387–395, 2023b.\nDexuan Ding, Lei Wang, Liyun Zhu, Tom Gedeon, and Piotr Koniusz. Learnable expansion of graph\noperators for multi-modal feature fusion. arXiv preprint arXiv:2410.01506, 2024.\nXi Ding and Lei Wang. Quo vadis, anomaly detection? llms and vlms in the spotlight, 2024. URL\nhttps://arxiv.org/abs/2412.18298.\nHang Du, Sicheng Zhang, Binzhu Xie, Guoshun Nan, Jiayang Zhang, Junrui Xu, Hangyu Liu, Sicong\nLeng, Jiangming Liu, Hehe Fan, Dajiu Huang, Jing Feng, Linli Chen, Can Zhang, Xuhuan Li,\nHao Zhang, Jianhang Chen, Qimei Cui, and Xiaofeng Tao. Uncovering what, why and how: A\ncomprehensive benchmark for causation understanding of video anomaly. In 2024 IEEE/CVF\nConference on Computer Vision and Pattern Recognition (CVPR), pages 18793–18803, 2024. doi:\n10.1109/CVPR52733.2024.01778.\nRan El-Yaniv and Yair Wiener. On the foundations of noise-free selective classification. Journal of\nMachine Learning Research, 11(53):1605–1641, 2010. URL http://jmlr.org/papers/v11/\nel-yaniv10a.html.\nJia-Chang Feng, Fa-Ting Hong, and Wei-Shi Zheng. Mist: Multiple instance self-training framework\nfor video anomaly detection. In Proceedings of the IEEE/CVF conference on computer vision and\npattern recognition, pages 14009–14018, 2021.\nRohit Girdhar, Alaaeldin El-Nouby, Zhuang Liu, Mannat Singh, Kalyan Vasudev Alwala, Armand\nJoulin, and Ishan Misra. Imagebind: One embedding space to bind them all, 2023. URL\nhttps://arxiv.org/abs/2305.05665.\nAaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad\nAl-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, Amy Yang, Angela Fan,\nAnirudh Goyal, Anthony Hartshorn, Aobo Yang, Archi Mitra, et al. The llama 3 herd of models,\n2024. URL https://arxiv.org/abs/2407.21783.\nMahmudul Hasan, Jonghyun Choi, Jan Neumann, Amit K Roy-Chowdhury, and Larry S Davis.\nLearning temporal regularity in video sequences. In Proceedings of the IEEE conference on\ncomputer vision and pattern recognition, pages 733–742, 2016.\nJie Huang and Kevin Chen-Chuan Chang. Towards reasoning in large language models: A survey,\n2023. URL https://arxiv.org/abs/2212.10403.\nHyekang Kevin Joo, Khoa Vo, Kashu Yamazaki, and Ngan Le. Clip-tsa: Clip-assisted temporal selfattention for weakly-supervised video anomaly detection. In 2023 IEEE International Conference\non Image Processing (ICIP), pages 3230–3234. IEEE, 2023.\nTeng Li, Jiapeng Wang, and Lianwen Jin. Enhancing visual information extraction with large\nlanguage models through layout-aware instruction tuning. In Chinese Conference on Pattern\nRecognition and Computer Vision (PRCV), pages 276–289. Springer, 2024a.\nXinhao Li, Yi Wang, Jiashuo Yu, Xiangyu Zeng, Yuhan Zhu, Haian Huang, Jianfei Gao, Kunchang Li,\nYinan He, Chenting Wang, Yu Qiao, Yali Wang, and Limin Wang. Videochat-flash: Hierarchical\ncompression for long-context video modeling. arXiv preprint arXiv:2501.00574, 2024b.\nChin-Yew Lin. ROUGE: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74–81, Barcelona, Spain, July 2004. Association for Computational\nLinguistics. URL https://aclanthology.org/W04-1013/.\nHaotian Liu, Chunyuan Li, Yuheng Li, and Yong Jae Lee. Improved baselines with visual instruction\ntuning, 2024. URL https://arxiv.org/abs/2310.03744.\n11\n\n\fKun Liu and Huadong Ma. Exploring background-bias for anomaly detection in surveillance videos.\nIn Proceedings of the 27th ACM International Conference on Multimedia, pages 1490–1499, 2019.\nZihao Liu, Xiaoyu Wu, Jianqin Wu, Xuxu Wang, and Linlin Yang. Language-guided open-world\nvideo anomaly detection, 2025. URL https://arxiv.org/abs/2503.13160.\nMiodrag Lovrić, Marina Milanović, and Milan Stamenković. Algoritmic methods for segmentation\nof time series: An overview. Journal of Contemporary Economic and Business Issues, 1(1):31–53,\n2014.\nCewu Lu, Jianping Shi, and Jiaya Jia. Abnormal event detection at 150 fps in matlab. 2013.\nFan Ma, Xiaojie Jin, Heng Wang, Jingjia Huang, Linchao Zhu, and Yi Yang. Stitching segments and\nsentences towards generalization in video-text pre-training. In Proceedings of the AAAI Conference\non Artificial Intelligence, volume 38, pages 4080–4088, 2024.\nVijay Mahadevan, Weixin Li, Viral Bhalodia, and Nuno Vasconcelos. Anomaly detection in crowded\nscenes. In 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition,\npages 1975–1981, 2010. doi: 10.1109/CVPR.2010.5539872.\nJakub Micorek, Horst Possegger, Dominik Narnhofer, Horst Bischof, and Mateusz Koziński. MULDE:\nMultiscale Log-Density Estimation via Denoising Score Matching for Video Anomaly Detection.\nIn Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR),\npages 18868–18877, June 2024.\nShervin Minaee, Tomas Mikolov, Narjes Nikzad, Meysam Chenaghlu, Richard Socher, Xavier\nAmatriain, and Jianfeng Gao. Large language models: A survey, 2025. URL https://arxiv.\norg/abs/2402.06196.\nOpenAI. Gpt-4.1 api. https://platform.openai.com/docs/models/gpt-4.1, 2025. Accessed: 2025-05-01.\nKishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic\nevaluation of machine translation. In Proceedings of the 40th annual meeting of the Association\nfor Computational Linguistics, pages 311–318, 2002.\nAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal,\nGirish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever.\nLearning transferable visual models from natural language supervision, 2021. URL https:\n//arxiv.org/abs/2103.00020.\nBharathkumar Ramachandra, Michael J Jones, and Ranga Raju Vatsavai. A survey of single-scene\nvideo anomaly detection. IEEE transactions on pattern analysis and machine intelligence, 44(5):\n2293–2312, 2020.\nTal Reiss and Yedid Hoshen. An attribute-based method for video anomaly detection. Transactions\non Machine Learning Research, 2022.\nZhongwei Ren, Yunchao Wei, Xun Guo, Yao Zhao, Bingyi Kang, Jiashi Feng, and Xiaojie Jin.\nVideoworld: Exploring knowledge learning from unlabeled videos. In Proceedings of the Computer\nVision and Pattern Recognition Conference, pages 29029–29039, 2025.\nParshin Shojaee*, Iman Mirzadeh*, Keivan Alizadeh, Maxwell Horton, Samy Bengio, and Mehrdad\nFarajtabar. The illusion of thinking: Understanding the strengths and limitations of reasoning\nmodels via the lens of problem complexity, 2025. URL https://ml-site.cdn-apple.com/\npapers/the-illusion-of-thinking.pdf.\nFahad Sohrab, Jenni Raitoharju, Moncef Gabbouj, and Alexandros Iosifidis. Subspace support vector\ndata description. In 2018 24th International Conference on Pattern Recognition (ICPR), page\n722–727. IEEE, August 2018. doi: 10.1109/icpr.2018.8545819. URL http://dx.doi.org/10.\n1109/ICPR.2018.8545819.\nYang Sui, Yu-Neng Chuang, Guanchu Wang, Jiamu Zhang, Tianyi Zhang, Jiayi Yuan, Hongyi Liu,\nAndrew Wen, Shaochen Zhong, Hanjie Chen, and Xia Hu. Stop overthinking: A survey on efficient\nreasoning for large language models, 2025. URL https://arxiv.org/abs/2503.16419.\n12\n\n\fWaqas Sultani, Chen Chen, and Mubarak Shah. Real-world anomaly detection in surveillance\nvideos. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages\n6479–6488, 2018.\nJiaqi Tang, Hao Lu, Ruizheng Wu, Xiaogang Xu, Ke Ma, Cheng Fang, Bin Guo, Jiangbo Lu, Qifeng\nChen, and Ying-Cong Chen. Hawk: Learning to understand open-world video anomalies. In\nNeural Information Processing Systems (NeurIPS), 2024.\nV Team, Wenyi Hong, Wenmeng Yu, and etc. Xiaotao Gu. Glm-4.5v and glm-4.1v-thinking:\nTowards versatile multimodal reasoning with scalable reinforcement learning, 2025. URL https:\n//arxiv.org/abs/2507.01006.\nKamalakar Thakare, Yash Raghuwanshi, Debi Prosad Dogra, Heeseung Choi, and Ig-Jae Kim.\nDyannet: A scene dynamicity guided self-trained video anomaly detection network, 2022. URL\nhttps://arxiv.org/abs/2211.00882.\nYu Tian, Guansong Pang, Yuanhong Chen, Rajvinder Singh, Johan W Verjans, and Gustavo Carneiro.\nWeakly-supervised video anomaly detection with robust temporal feature magnitude learning. In\nProceedings of the IEEE/CVF international conference on computer vision, pages 4975–4986,\n2021.\nTung Minh Tran, Tu N Vu, Nguyen D Vo, Tam V Nguyen, and Khang Nguyen. Anomaly analysis in\nimages and videos: A comprehensive review. ACM Computing Surveys, 55(7):1–37, 2022.\nRamakrishna Vedantam, C. Lawrence Zitnick, and Devi Parikh. Cider: Consensus-based image\ndescription evaluation, 2015. URL https://arxiv.org/abs/1411.5726.\nJue Wang and Anoop Cherian. Gods: Generalized one-class discriminative subspaces for anomaly\ndetection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages\n8201–8211, 2019.\nYi Wang, Xinhao Li, Ziang Yan, Yinan He, Jiashuo Yu, Xiangyu Zeng, Chenting Wang, Changlian\nMa, Haian Huang, Jianfei Gao, Min Dou, Kai Chen, Wenhai Wang, Yu Qiao, Yali Wang, and\nLimin Wang. Internvideo2.5: Empowering video mllms with long and rich context modeling.\narXiv preprint arXiv:2501.12386, 2025.\nJinta Weng, Yue Hu, Jing Qiu, and Heyan Huan. Stprompt: Semantic-guided and task-driven prompts\nfor effective few-shot classification, 2022. URL https://arxiv.org/abs/2210.16489.\nPeng Wu, Jing Liu, Yujia Shi, Yujia Sun, Fangtao Shao, Zhaoyang Wu, and Zhiwei Yang. Not only\nlook, but also listen: Learning multimodal violence detection under weak supervision. In Computer\nVision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings,\nPart XXX 16, pages 322–339. Springer, 2020.\nPeng Wu, Xuerong Zhou, Guansong Pang, Yujia Sun, Jing Liu, Peng Wang, and Yanning Zhang.\nOpen-vocabulary video anomaly detection. In Proceedings of the IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, pages 18297–18307, 2024a.\nPeng Wu, Xuerong Zhou, Guansong Pang, Zhiwei Yang, Qingsen Yan, Peng Wang, and Yanning\nZhang. Weakly supervised video anomaly detection and localization with spatio-temporal prompts,\n2024b. URL https://arxiv.org/abs/2408.05905.\nPeng Wu, Xuerong Zhou, Guansong Pang, Lingru Zhou, Qingsen Yan, Peng Wang, and Yanning\nZhang. Vadclip: Adapting vision-language models for weakly supervised video anomaly detection.\nIn Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 6074–6082,\n2024c.\nYuchen Yang, Kwonjoon Lee, Behzad Dariush, Yinzhi Cao, and Shao-Yuan Lo. Follow the rules:\nReasoning for video anomaly detection with large language models. In Proceedings of the European\nConference on Computer Vision (ECCV), 2024.\nMuchao Ye, Weiyang Liu, and Pan He. Vera: Explainable video anomaly detection via verbalized\nlearning of vision-language models, 2025. URL https://arxiv.org/abs/2412.01095.\n13\n\n\fLuca Zanella, Willi Menapace, Massimiliano Mancini, Yiming Wang, and Elisa Ricci. Harnessing\nlarge language models for training-free video anomaly detection. In Proceedings of the IEEE/CVF\nConference on Computer Vision and Pattern Recognition, pages 18527–18536, 2024.\nBoqiang Zhang, Kehan Li, Zesen Cheng, Zhiqiang Hu, Yuqian Yuan, Guanzheng Chen, Sicong Leng,\nYuming Jiang, Hang Zhang, Xin Li, Peng Jin, Wenqi Zhang, Fan Wang, Lidong Bing, and Deli\nZhao. Videollama 3: Frontier multimodal foundation models for image and video understanding,\n2025a. URL https://arxiv.org/abs/2501.13106.\nHaoji Zhang, Yiqin Wang, Yansong Tang, Yong Liu, Jiashi Feng, and Xiaojie Jin. Flash-vstream:\nEfficient real-time understanding for long video streams. arXiv preprint arXiv:2506.23825, 2025b.\nHuaxin Zhang, Xiaohao Xu, Xiang Wang, Jialong Zuo, Chuchu Han, Xiaonan Huang, Changxin Gao,\nYuehuan Wang, and Nong Sang. Holmes-vad: Towards unbiased and explainable video anomaly\ndetection via multi-modal llm. arXiv preprint arXiv:2406.12235, 2024a.\nHuaxin Zhang, Xiaohao Xu, Xiang Wang, Jialong Zuo, Xiaonan Huang, Changxin Gao, Shanjun\nZhang, Li Yu, and Nong Sang. Holmes-vau: Towards long-term video anomaly understanding at\nany granularity. arXiv preprint arXiv:2412.06171, 2024b.\nZirui Zhao, Wee Sun Lee, and David Hsu. Large language models as commonsense knowledge for\nlarge-scale task planning, 2023. URL https://arxiv.org/abs/2305.14078.\nHang Zhou, Junqing Yu, and Wei Yang. Dual memory units with uncertainty regulation for weakly supervised video anomaly detection. In Proceedings of the AAAI Conference on Artificial Intelligence,\nvolume 37, pages 3769–3777, 2023.\nLiyun Zhu, Lei Wang, Arjun Raj, Tom Gedeon, and Chen Chen. Advancing video anomaly detection:\nA concise review and a new dataset. In The Thirty-eighth Conference on Neural Information\nProcessing Systems Datasets and Benchmarks Track, 2024.\n\n14\n\n\fTechnical Appendices and Supplementary Material\nA\n\nAppendix Roadmap\n\nIn this appendix, we cover the following materials:\n• Additional ablation study (Section B)\n• Additional implementation details (Section C)\n• Additional qualitative results (Section D)\n• Running-time Analysis (Section E)\n• Limitations (Section F)\n• Broader impacts (Section G)\n\nB\n\nAdditional ablation study\n\nB.1\n\nHyperparameter sensitivity tests\n\nSenstitivity on m We study performances under different decision-boundary-margin width values\nm ∈ (0, 0.5) and dynamic m̃V = Var(SV ) presented in Table 7. Performance remains stable\nfor m ≤ 0.2 and m̃V and drops significantly on UCF-Crime and XD-Violence when m = 0.4,\npresumably because an overly wide margin labels many true positives as “uncertain”, resulting in\nunnecessary hallucinations. In contrast, UBnormal [Acsintoae et al., 2022] benefits from larger m;\nthe synthetic clips are originally ambiguous for pretrained models such that additional skepticism is\nbeneficial [Yang et al., 2024]. As m ∈ [0.05, 0.2] yields near-optimal AUC on all real-world datasets,\nwe adopt the smallest value m = 0.05 as the default setting for constant m.\nTo further investigate how the IntraTR step affect model behaviours, we further visualize the density\nof samples with respect to the l1 distance of their video-level scores to the decision boundary |S̃V − τ |\nthat measures the confidence of predictions in Figure 5. Specifically, we observe that both smaller\nconstant m and the dynamic m̃V can effectively produce more high-confidence predictions, while a\nlarger m conversely results in more confusion and therefore less confident predictions overall.\nSensitivity on window length ℓ: We heuristically set our minimal suspicious window ℓ =\nmax(300, T /10), in which 300 frames is a floor for the shortest window Wmax . Since a clip ci\n(the smallest scoring unit) also spans 300 frames ≈ 10s, lowering this floor has little effect.\nAs a result shown in Table 8, an overly large ℓ (as a result of a smaller divisor on video length T )\ndegrades the performance. We suspect that a large window size ℓ hides fleeting anomalies as the\nMargin values\nmV = Var(SV)\nm=0.05\nm=0.1\nm=0.4\n\n0.6\n\nDensity\n\n0.4\n0.2\n0.0\n0.2\n0.4\n0.6\n0.8\n\n0.0\n\n0.1\n\n0.2\n\n|SV\n\n|\n\n0.3\n\n0.4\n\n0.5\n\nFigure 5: ∆ of Score density with regards to distance to decision boundary. For all samples in\nUCF-Crime and XD-Violence, it is shown that high m value resulted in more ambiguious predictions\nwith |S̃V − τ | → 0 while a small or local variance based m effectively pushes the predictions away\nfrom decision boundary as we expected.\n15\n\n\fTable 7: Impact of several margin values (m ∈ (0, 0.5)) on VAD performance. All settings\noutperform the baseline, with stable results across different m values.\nMargin values\n\nUCF-Crime (AUC)\n\nXD-Violence (AP)\n\nXD-Violence (AUC)\n\nUBNormal (AUC)\n\nm = 0.05\nm = 0.10\nm = 0.20\nm = 0.40\nm̃V = Var(SV )\n\n84.28\n83.10\n83.57\n79.21\n84.08\n\n68.07\n68.16\n68.36\n67.45\n68.03\n\n91.34\n91.40\n91.60\n90.81\n91.23\n\n68.97\n69.52\n70.33\n70.59\n69.02\n\nTable 8: Impact of several window lengths (ℓ) on VAD performance\nWindow length\n\nℓ = max(300, T /5)\n\nℓ = max(300, T /10)\n\nℓ = max(300, T /15)\n\nUCF AUC (%)\n\n81.07\n\n84.28\n\n83.66\n\nwindow may have higher probability of containing benign frames with lower scores, resulting in a\nlower estimate of the surrogate video-level anomaly probability s̃V . In addition to such heuristics\nwe used, it is also possible to introduce an additional time series segmentation model [Lovrić et al.,\n2014] to identify abnormal event intervals from sequences of frame scores.\nImpact of post-processing In addition to m, we also evaluate the impact of the Gaussian smoothing\nparameter used in score post-processing. It’s typical to conduct postprocessing (Gaussian, EMA)\nto the anomaly scores for VAD tasks [Zanella et al., 2024, Ye et al., 2025]. We followed this\ntypical practice and implemented a simple Gaussian filter on the final score. The following Figure 6\ndemonstrate the robustness of our method on different σ values we use for gaussian smoothing\npost-processing.\nB.2\n\nImpact of different VLM/LLM components\n\nAblation on Monolithic Multimodal LLMs In our work, by default, we followed modular\narchitecture of VLM + LLM from previous baseline [Zanella et al., 2024]. There are also other\nexperiments and claims supporting this design.\nIn Table 3a, we have provided ablation to end-to-end VLM performance when used for scoring on\nevery 16 frames clips. As a result, our discrete VLM, LLM framework provide better performance\n(84.28% against 77.67%). Which aligns with the trend reported in the baseline [Zanella et al., 2024].\nWe also tested a even simpler baseline of using VideoLLaMA3-7B to conduct direct end-to-end QA\nwith complete video inputs and asking for timestamps of anomalous intervals. The Table 9 shows\nthat such simple design gives much poorer performances even poorer overall performance.\nBesides these experimental support for the modular design. Another earlier work [Chen et al., 2023a]\nalso suggests such capability of LLMs to coordinate separate VLM models for better reasoning.\nEspecially for cases where the task domain is a niche one under-represented in the massive pretraining\ndata. These rationales justify our modular VLM/LLM design over single model.\nModular Ablation on Different Multimodal LLMs To validate the generality of our method\nacross different MLLM components. Table 10 varies the checkpoints plugged into our pipeline.\nWith the LLM fixed (θLLM = Llama-3.1-8B-Instruct), downgrading the vision backbone from\nVideoLLaMA3-7B to a 2B variant or to a Qwen2.5-VL results in only a marginal drop ≤ 1% AUC,\nindicating that the reasoning loop compensates for weaker video features. Conversely, keeping the\nsame VLM and swapping the LLM shows larger but still moderate drops: a 3B instruct model loses\n∼ 3% AUC, whereas an older Llama-2-13B loses ∼ 4%. Overall, every combination remains above\n80% AUC, confirming the plug-and-play nature of our framework: it can enhance a wide range\nof pre-trained VLM/LLM pairs with minimal performance degradation, and it benefits most from\nstronger language reasoning while being relatively insensitive to vision backbone capabilities, by\nreducing holistic understanding into a chained process of solving simpler, modular tasks.\nFurthermore, to show that our performance gain is not solely from the stronger capability of newer\nVLM and LLM, we run modernised baseline method [Zanella et al., 2024] under newer VideoLLama316\n\n\fPerformance (AUC/AP)\n\n0.95\n\n91.34%\n\n91.34%\n\n91.13%\n\n90.89%\n\n0.85 83.50%\n\n84.29%\n\n84.48%\n\n84.49%\nUCF-Crime (AUC)\nXD-Violence (AUC)\nXD-Violence (AP)\nUBNormal (AUC)\n\n70.46%\n69.04%\n\n69.58%\n68.07%\n\n68.45%\n\n67.65%\n\n5\n\n10\n\n66.90%\n15\n\n65.85%\n20\n\n0.75\n\n0.65\n\nFigure 6: VAD performance stability w.r.t. Gaussian smoothing σ. Performance remains stable\nacross different σ values. We simply choose a default value σ = 10 and a SciPy’s default truncate\n= 4.0 (which yields an effective radius of 4σ) for all the VAD experiments.\nTable 9: VideoLLaMA3-7B End-to-end VAD QA Results\nDirect QA\nOurs (Full)\n\nUCF AUC (%)\n\nXD AUC (%)\n\nXD AP (%)\n\nUBN AUC (%)\n\n58.68\n84.28\n\n62.52\n91.23\n\n33.76\n68.03\n\n53.73\n69.02\n\n7B [Zhang et al., 2025a] and Llama3.1-8B [Grattafiori et al., 2024] backbones. In Table 11, we\nobserved a drop in single VLM performance when using newer model under Zanella et al. [2024] on\nUCF-Crime. This may be due to the limited capability of sentence encoding VLM [Girdhar et al.,\n2023], which may fail to recognise more nuanced frame caption from newer models. This problem\nis mitigated on XD-Violence, where more dramatic videos than mundane surveillance footage of\nUCF-Crime makes raw captions encoded more recognisable in the representation space.\n\nC\n\nAdditional implementation details\n\nC.1\n\nDetailed prompts\n\nWe provide all the used prompts in this part.\nPrompts used in VAD\n\nFirstly, we used the same pcaption across all datasets. Specifically:\n\nPrompts for pcaption\n“role”: “system”,\n“content”: (\n\"You are an AI assistant analyzing this video segment. \"\n\"Summarize the main events or actions in a concise way.\n)\nAs for pVAD , we mainly adopted base prompts from Zanella et al. [2024]. Following their design,\nwe also applied dataset priors to the prompts, as the definition of anomaly varied for each of\nthem. Specifically, we have a base definition of anomaly events denoted as dataset_prior =\n“suspicious activities”. For UCF-Crime, we change it to “suspicious or potentially\n17\n\n\fTable 10: Ablation of pretrained VLM/LLM models used on UCF-Crime. We varied different\ncheckpoints for the components in our framework.\nθVLM\nθLLM\nAUC (%)\nVideoLLaMA3-7B\nVideoLLaMA3-2B\nQwen2.5-VL-7B\n\nLlama-3.1-8B-Instruct\n\n84.28%\n83.35%\n83.23%\n\nVideoLLaMA3-7B\n\nLlama-3.1-8B-Instruct\nLlama-2-13B-Chat\nLlama-3.2-3B-Instruct\n\n84.28%\n80.70%\n81.09%\n\nTable 11: Performance of “modernised” baselines [Zanella et al., 2024] with newer backbone models\nZhang et al. [2025a] and Grattafiori et al. [2024].\nMethod\nZanella et al. [2024] (BLIP2 FLAN-T5-XL + Llama2-13B-chat )\nZanella et al. [2024] (VideoLLama3-7B + Llama3.1-8B)\nOurs (VideoLLama3-7B + Llama3.1-8B)\n\nUCF AUC (%)\n\nXD AUC (%)\n\nXD AP (%)\n\n74.19\n72.99\n84.28\n\n85.16\n84.64\n91.34\n\n61.09\n61.20\n68.07\n\ncriminal”, and for XD-Violence, we opt to “suspicious or violent” subject to the clear\ndefinition of anomalies within each of them [Sultani et al., 2018, Wu et al., 2020]. However, on\nUBNormal [Acsintoae et al., 2022], where the anomalies span a wide range of spontaneous activities\nthat may not be considered malicious by commonsense, we simply keep the base dataset_prior.\n\nPrompts for pVAD\n“role”: “system”,\n“content”: (\nf\"How would you rate the scene described on a scale from 0 to 1, with 0 representing a\nstandard scene and 1 denoting a scene with {dataset_prior} activities?\"\n\"Please provide the response in the form of a Python list and respond with only one\nnumber in the provided list below [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0] without any\ntextual explanation. It should begin with ‘[’ and end with ‘]’.\"\n)\n“role”: “user”,\n“content”: (\nf\"{θVLM (ci , pcaption )}\"\n)\n\nWe also conducted an ablation study for\nTable 12: Ablation of dataset-level anomaly priors.\nthe incorporation of dataset priors in Table 12, which has shown a similar trend\nDataset Priors UCF-Crime (AUC) XD-Violence (AUC)\nto previous works [Ye et al., 2025, Zanella\n✗\n82.94%\n90.72%\net al., 2024]. Specifically, the overall VAD\n✓\n84.28%\n91.34%\nperformance benefited from injecting even\na small context prior. Providing even brief\ncontextual definitions of anomaly events improves baseline model performance, providing a stronger\nmotivation for the automated extraction and utilization of the sample-specific anomaly prior we have\nproposed in our work.\nAs we described in Section 3.2, after we identified Wmax , we got a segment of video Vsus , we queried\nthe θVLM with the Vsus and pextract to get the tag list tV .\n18\n\n\fPrompts for pextract\n“role”: “system”,\n“content”: (\n“You are an AI assistant analyzing a suspicious segment of a video. ”\n)\n“role”: “user”,\n“content”: (\nf\"{Vsus }\"\n\"Analyze the video interval to identify any possible suspicious behaviors. \"\n\"Return your answer strictly as a Python-style list of phrases that could briefly describe \"\n\"the suspicious scene split by commas. \"\n\"No additional commentary or text, return only the list.\"’\n)\nTo produce p∗VAD , during inference, we augment pVAD prompts with a template sentence containing\ntV . Specifically, we inject the following sentences: template(tV ) = f“In addition, we have\nidentified certain {dataset_prior} behaviors that may appear in the video.\nPlease consider these carefully when deciding on the final anomaly rating.\n[Potentially reported suspicious activities: {tV }]” right after the first system\nprompt part of pVAD .\n\nPrompts used in VAL During spatial localization of anomaly regions in video frames, we use the\nsimplest default prompt provided by the official release document of Qwen2.5-VL [Bai et al., 2025].\nPrompts for pLOC\n“role”: “user”,\n“content”: (\nf\"{fi }\"\n\"Analyze this image and identify any suspicious or anomalous region, if present.\"\n\"Return your answer in JSON format: \"\n\"[{\"bbox_2d\": [x1, y1, x2, y2], \"confidence\": c}].\"\n)\nTo incorporate ground-truth or extracted anomaly priors tV , toracle , we simply augment the pLOC by\nadding them at the start of user prompts as hints to the model. Specifically:\nPrompts for p∗LOC\n“role”: “user”,\n“content”: (\nf\"{fi }\"\n\"The video could contain the following anomaly type: ’{tV }’.\"\n\"Localize the suspicious region or individual in this image.\"\n\"Return your answer in JSON format: \"\n\"[{\"bbox_2d\": [x1, y1, x2, y2], \"confidence\": c}].\"\n)\n\nPrompts used in VAU For VAU task, we fixed pVAU across different test domains (UCF-Crime,\nXD-violence), but varied them across different pretrained θVLM for the best baseline performance,\nwhich are:\n19\n\n\fPrompts for pVAU (Videochat-Flash-2B) [Li et al., 2024b]\nuser prompt = f\"Please analyze the video for any anomaly activities. If there is any anomaly,\ndescribe the anomaly activities present in the video. After description, analyze why it is an\nanomaly without timestamps. If no anomalies are found, state that the video appears normal\nand then describe the scene in detail.{V }\"\n\nPrompts for pVAU (VideoLLaMA3-7B) [Zhang et al., 2025a]\n“role”: “system”,\n“content”: (\n\"You are an AI assistant analyzing a video.\"\n)\n“role”: “user”,\n“content”: (\nf\"{V }\"\n\"Please analyze the video for any anomaly activities in detail. \"\n\"If there is any anomaly, describe the anomaly activities present in the video in detail.\nAfter description, analyze why it is an anomaly without timestamps.\"\n\"If no anomalies are found, state that the video appears normal and then describe the scene\nin detail.\"\n)\nAs covered in the main text, producing p∗VAU is simply appending template prompts with tV\nto the end of the system prompt ( or before the user prompt if the model does not support customizing the system prompt) of pVAU . Specifically, templateVAU (tV ) =\"For better anomaly\ndetection and description in detail, a preliminary analysis suggests that\nthe suspicious activity could be related to tV . Use these information to\nguide your anomaly detection analysis.\".\nC.2\n\nDetailed sampling strategies\n\nSampling clip ci around fi in VAD Recent VLMs gain capability to process multiple frames\nas videos [Bai et al., 2025, Li et al., 2024b, Zhang et al., 2025a]. This is a desirable functionality\nwe would like to exploit when dealing with frame-wise VAD. As a single frame may not be able\nto represent contiguous events. Therefore, following previous works sampling multiple frames to\npredict si [Zanella et al., 2024, Ye et al., 2025], we opt to input a series of frames ci around the target\nfi instead of taking fi only. Specifically, we sample ci by following steps.\nLet the video run at fps = rf and denote by ω [s] the dataset-specific temporal radius we keep on\neither side of fi . Empirically, we set ω = 10 s for UCF-Crime and XD-Violence, and ω = 5 s\nfor UBnormal (in which most clips are only 10-15 s long). The total window length in frames is\nL = 2ω rf + 1 and the half-width is δ = ⌊L/2⌋. Bounding the window to the video limits,\n\u0001\na = max 1, i − δ ,\n\n\u0001\nb = min T, i + δ ,\n\nwe draw N = 10 evenly spaced indices\nj\n\u0001k\nI(i) = linspace a, b, N ,\n\nci = {fj | j ∈ I(i)}.\n\nThus, ci always contains 10 frames centered as much as possible on fi . That means, for 30 fps videos\nin UCF-Crime, the sampling spans up to ±150 frames (5 s) on either side, automatically shrinking\nnear the video boundaries.\nSampling for downstream tasks For VAL task, we sample all the frames containing anomalies\nfollowing to practice in previous works [Liu and Ma, 2019, Wu et al., 2024b]. For VAU task, we\n20\n\n\fadhere to the default configuration in Zhang et al. [2024b], which samples 16 frames per video for all\nthe methods taking frame inputs.\n\n(a) tV = “physical altercation, assault,\nfighting”, toracle = “Assault”\n\n(b) tV = “crosswalk, traffic light”,\ntoracle = “Normal”\n\n(c) tV = “attempted break-in, attempted\nburglary”, toracle = “Burglary”\n\n(d) tV = “kidnapping, assault”, toracle =\n“Robbery”\n\n(e) tV = “kidnapping, fighting, choking,\nkicking, punching”, toracle = “Fighting,\nShooting”\n\n(f) tV = “fighting, hitting with sticks,\nthrowing objects, running away”, toracle =\n“Fighting”\n\n(g) tV = “[]”, toracle = “[]”\n\n(h) tV = “fighting, hitting, pushing”,\ntoracle = “Fighting”\n\nFigure 7: Frame-wise anomaly score plots for eight representative clips. Our method exhibit\nconsistent performance on various video/anomaly types. The comparison between tV and toracle (The\noriginal class annotated in Sultani et al. [2018], Wu et al. [2020]) is given for each sample, suggesting\nthe qualitative performance of the anomaly prior extraction step.\n\n21\n\n\fGT\npred-no-prior\n\nGT\npred+prior\n\nGT\npred-no-prior\n\nGT\npred-no-prior\n\nGT\npred+prior\n\nGT\npred-no-prior\n\nGT\npred+prior\n\nGT\npred-no-prior\n\nGT\npred+prior\n\nGT\npred+prior\n\nGT\npred-no-prior\n\nGT\npred+prior\n\nFigure 8: Qualitative examples of our localisation outputs. Each plot the compares detected\nanomaly window using baseline prompts and InterTC-refined prompts against the ground truth\nbounding boxes.\n\nD\n\nAdditional qualitative results\n\nD.1\n\nMore results on frame-level video anomaly detection\n\nWe show additional qualitative temporal VAD results with the corresponding tV tags extracted in Figure 7. For most samples, there are clear and reasonable tags tV extracted.\nThere are also ambiguous tags, e.g., Section C.2, while the performance of the VAD task remains stable. Another interesting observation here is that the tV extracted, in most cases,\nare analytical tags for rough toracle categories. For example, in Section C.2, the elaborated\ntV = “fighting, hitting with sticks, throwing objects, running away” are more\ntractable then the rough toracle = “Fighting”, which explained the observed gap of quantitative\nperformances when using different anomaly priors for VAD task in Table 3b.\nAs it is shown, despite our method exhibit decent performance in flagging various kinds of anomalies,\nit failed occasionally on small event gaps (e.g. in Figure 7e). We suspect that this insensitivity may\nbe due to the uniform sampling around fi we employed to obtain ci . This may result in the ci do not\nhave the necessary granularity to represent extremely short video clips. While this is not our focus in\nthis work, future works may consider a dynamic sampling strategy to improve the baseline VLM for\nVAD.\nD.2\n\nMore results on spatial video anomaly localization\n\nThe additional localization visualization in Figure 8 gives clear evidence proving the performance\ngain by incorporating Inter-Task Chaining of anomaly priors. The tV text prompts suggesting possible\nanomaly contexts allow for more accurate and reasonable groundings.\nD.3\n\nMore qualitative results on video anomaly understanding\n\nIn addition to the results shown in Figure 4, we include extra qualitative comparisons in Figure 9 and\nFigure 10. The results clearly show that MLLMs assisted with Inter-Task Chaining produced excellent\nVAU results, which accounted for the quantitative performance gains in terms of both traditional NLP\nmetrics and preference on several dimensions of GPT-based evaluations [Tang et al., 2024]. However,\nwe also noticed that sometimes our method produced overly verbose answers compared with other\n22\n\n\fcounterparts. This actually aligns with a trend of redundant outputs discovered in LLM reasoning\n[Sui et al., 2025]. Despite this drawback, the majority contents in our generated descriptions are still\nfocused on the desired topic of anomaly analysis and providing additional details, further enhancing\nexplainability.\n\nGround-truth\n\nNo anomaly exists in the video. The video depicts a mundane scene where a man wearing pink takes out some money and places it on a counter, then later puts the\nmoney in front of him and displays it, with no unusual or out-of-the-ordinary events occurring throughout the entire clip.\n\n\"The video appears normal.”\n\nVideoLlama3-7B Baseline\n\n“The video appears normal. The man is seen\nstanding behind a counter in a store, handling\nmoney and counting it. He then puts the\nmoney in his pocket and walks away. There are\nno apparent anomalies in the video.”\n\nOurs\n\n\"The video depicts a mundane scene where a\nman in a pink shirt is seen handling a small\nobject, possibly a piece of paper or a card,\nand then proceeds to take out a few items\nfrom a box, which appears to be a small\ncontainer or a box of items. The man then\nplaces the items back into the box, and the\nvideo ends with the man looking at the items\nin the box.\"\n\nHolmesVAU\n\nGround-truth\n\n\"There is an anomaly in the video, specifically Arson. The anomaly event shows a man attempting to light a Christmas tree, but instead of a controlled and\nintentional action, the flame suddenly and unexpectedly spreads rapidly, engulfing the tree and surrounding environment, indicating intentional damage or harm. The\nbasis for judging this anomaly is that the man's actions initially appear intentional and controlled, but the sudden and uncontrolled spread of the flame suggests a loss\nof control, implying a deliberate act of arson.\"\n\n\"The video appears normal. The scene is a hallway\nwith a Christmas tree, a shelf, and a door. A person\nenters the frame, walks towards the door, opens\nit, and exits. The person then returns to the\nframe, walks towards the shelf, and bends down to\npick something up. The person then stands up and\nwalks out of the frame. The video ends with the\nhallway empty.\",\n\nVideoLlama3-7B Baseline\n\nThe video begins with a view of a room decorated\nfor Christmas, with a Christmas tree and wreaths\nvisible. A man enters the room and appears to be\nsetting up or adjusting something on a shelf. He\nthen exits the room. Shortly after, smoke begins\nto fill the room, obscuring the view. The smoke\nbecomes denser over time, eventually filling the\nentire frame. The source of the smoke is not\nvisible in the video. This video contains an\nanomaly as it shows smoke filling the room, which\nis not a normal occurrence in a decorated room.\nThe smoke could be caused by a fire or other\nhazardous situation, which would require\nimmediate attention and action to ensure the\nsafety of those in the room.\n\nThe anomaly event involves the man in black\nentering the room, opening the door, and then\nleaving the room, which is a suspicious and\nunusual behavior that deviates from normal and\nexpected actions in a typical household setting.\n\nOurs\n\nHolmesVAU\n\nGround-truth\n\n\"The anomaly exists and its specific name is \\\"Explosion\\\". The anomaly event is a machine explosion that emits a large amount of sparks and smoke, occurring\nsuddenly and intensely, with a rapid release of energy and materials that deviates from normal machine operation. The basis for judging this anomaly is the sudden\nand intense release of energy and materials, indicating a potentially hazardous and unexpected event.\"\n\n\"The video begins with a view of an industrial\nsetting, showing a large piece of machinery and a\ncontrol panel. A man in a hard hat is seen working on\nthe control panel, manipulating switches and\nbuttons. The scene then transitions to a dark,\nblurry image of a building at night, followed by a\nseries of black frames with the text \\\"LiveLeak\\\"\nvisible. There are no apparent anomalies in the\nvideo content.\"\n\nVideoLlama3-7B Baseline\n\n“The video begins with a man in an orange hard\nhat standing in front of a large electrical panel.\nHe is looking at the panel and appears to be\ninspecting it. The man then reaches out and\ntouches one of the switches on the panel.\nSuddenly, there is a bright flash of light and a\nloud explosion. The man is thrown back by the\nforce of the blast and the electrical panel is\ndestroyed. The video ends with a shot of the\ndamaged panel and the surrounding area.\\n\\n This\nvideo is an anomaly because it shows a man\nintentionally causing an explosion in an electrical\npanel. This is not a normal or expected behavior\nand could potentially cause serious harm to the\nman and others in the vicinity.\"\n\nOurs\n\n“The anomaly event involves a man in a white shirt\nand black pants walking towards the camera, and\nthen a man in a white shirt and black pants\nwalking towards the camera, with a fire burning in\nthe background, suggesting a potential explosion or\nfire.”\n\nHolmesVAU\n\nFigure 9: Representative qualitative results for the video-anomaly understanding task (part2). Green parts represents correct description/reasoning about the anomaly and the red parts\nhighlight the statements inconsistent with the ground-truth.\n\n23\n\n\fGround-truth\n\nThere is no anomaly in the video. The video depicts a series of normal and playful interactions between two mascots, one in an orange costume and the other in a\ngrey or grey wolf costume, on a basketball court, where they perform antics, dance, and engage with players and staff members on the sidelines, ultimately\nculminating in a series of dance moves and acrobatic stunts, and showcasing various activities such as walking, playfully wrestling, interacting, and performing a dance\nroutine, while players and coaches are seen in the background, stretching, sitting on the sidelines, or watching the interaction.\n\n“The video appears normal. The scene takes\nplace on a basketball court where two mascots,\none orange and one gray, are performing a dance\nroutine. They interact with each other and the\nplayers, who are seen stretching and preparing\nfor the game. The mascots‘ movements are\nenergetic and entertaining, adding to the pregame atmosphere.”\n\n“The video is an analysis of a basketball court\nwhere two mascots, one in an orange bird\ncostume and the other in a gray wolf costume,\nare engaging in playful interactions. The mascots\nare seen running around, jumping, and playfully\nwrestling with each other. The scene appears to\nbe part of a pre-game or halftime entertainment\nsegment. There are no visible anomalies in the\nvideo; it seems to be a normal, lighthearted\ninteraction between the mascots.”\n\n“The anomaly events involve a series of\nphysical altercations between mascots and\nplayers, including a player in a white jersey\nbeing knocked to the ground by a mascot, a\nplayer in a white jersey being pushed to the\nground by a mascot, and a player in a white\njersey being knocked to the ground by a\nmascot, with the mascots engaging in\naggressive behavior and physical contact\nwith the players”\n\nVideoLlama3-7B Baseline\n\nOurs\n\nHolmesVAU\n\nGround-truth\n\n“The anomaly exists and is specifically identified as \\”Fighting\\“. The anomaly event involves a series of physical altercations between individuals, showcasing\nvarious martial arts techniques, including blocking, striking, and evasive maneuvers, as well as attempts to overpower each other. The events unfold in different\nsettings, including an outdoor area with laundry hanging in the background, and feature different individuals, such as a man in a dark jacket and cap, a man in black,\nand a man in blue. The anomaly events are characterized by violent and aggressive behavior, including grappling, holding, and choreographed combat routines, which\ndeviate from normal and peaceful human interactions. The basis for judging this anomaly is the clear depiction of aggressive and violent behavior between\nindividuals, which is a significant deviation from normal human interactions.”\n\n\"The video appears to be a scene from a movie\nor TV show, featuring a man in a black outfit\nengaging in various activities. He is seen talking\nto another man, performing martial arts moves,\nand interacting with different people in the\nenvironment. The setting includes outdoor\nlocations with greenery, buildings, and laundry\nhanging on lines. There are no apparent\nanomalies in the video.“\n\nVideoLlama3-7B Baseline\n\n\"The video begins with a man in a black\nuniform standing in front of a green door,\ngesturing with his hands. The scene then\nshifts to a man in a blue jacket and cap\nstanding in front of a building with the\nnumber \\\"160\\\" on it. He is seen pushing\nanother man, who is wearing a black uniform,\nagainst a wall. The man in the blue jacket\nthen punches the man in the black uniform,\ncausing him to fall to the ground. The man\nin the blue jacket then stands over the fallen\nman, looking down at him.\\n\\nThe anomaly in\nthis video is the physical confrontation\nbetween the two men. This type of behavior\nis not typically seen in public spaces and could\nbe considered aggressive or violent. It is\npossible that the two men were involved in a\ndispute or altercation that escalated into\nphysical violence. However, without further\ncontext or information, it is difficult to\ndetermine\nthe\nexact\ncircumstances\nsurrounding the confrontation.”\n\n\"The anomaly events involve a series of\nphysical\nintense\nand\nconfrontational\ninteractions\nbetween\ntwo\nindividuals,\nincluding punches, kicks, and grappling, with\none individual appearing to be in a defensive\nstance and the other in a more aggressive\nstance, suggesting a potential fight or\naltercation“\n\nOurs\n\nHolmesVAU\n\nFigure 10: Representative qualitative results for the video-anomaly understanding task (part1). Green parts represents correct description/reasoning about the anomaly and the red parts\nhighlight the statements inconsistent with the ground-truth.\nTable 13: Amortised per-frame processing time (sec/frame) for a full UCF-Crime test run, model\nloading excluded, smaller value means faster.\nMethod\nZanella et al. [2024]\nOurs\n\nE\n\nVLM Captioning\n\nCaption Cleaning\n\nLLM Summary\n\nLLM Scoring\n\nScore Refinement\n\nVAD Overall\n\n0.06736\n0.02587\n\n0.01490\n—\n\n0.01684\n—\n\n0.01109\n0.00314\n\n0.00673\n0.00026\n\n0.11691\n0.02927\n\nRunning-time analysis\n\nAs we mentioned earlier in Section 3.1, our method has a relatively efficient inference process due to\nthe selective prediction nature saving unnecessary thinking on samples where the first round scores\nshow enough confidence. Beyond this, we also find that our method is faster than previous baseline\nzero-shot LLM work [Zanella et al., 2024] by design. In the following, we provide a complexity\nanalysis of our inference steps and compare it with that of the prior work.\nOur test-time IntraTR pipeline for VAD requires 1 VLM captioning query and 1 LLM scoring query\nper 16 frames, along with a single VLM query per suspicious video to extract tags. For videos flagged\nas “uncertain”, we perform an additional LLM scoring query per 16 frames. In total, our method\nperforms at most 1 VLM and 2 LLM queries per 16 frames, plus fewer than 1 VLM query per video\n24\n\n\fFigure 11: Failure video anomaly analysis cases. Both contains nuanced anomaly events that\nmay be hard to determine. We find that for both cases, the model can still reasonable anomaly tags\ntV despite unsatisfactory VAD scores, therefore still yielding partially correct (Green/Red fonts\nrepresents Correct/Wrong statements) textual anomaly descriptions.\non average. In contrast, full method of previous work [Zanella et al., 2024] performs up to 5 VLM\ncaptions per frame and 2 additional LLM queries for summarising and scoring per 16 frame. It also\nrequires additional refinement steps that introduce massive costs of encoding captions and vector\nsearching.\nTable 13 reports the amortized processing clock time inference speed on 2 RTX 3090 GPUs for a full\nrun of the UCF-Crime test set (model loading time excluded). This gives clear supporting evidence\nof our efficiency advantage over the previous work.\n\nF\n\nLimitations\n\nDespite its effectiveness, our method exhibits several limitations. First, its performance is fundamentally constrained by the representational capabilities and prior knowledge of the underlying\nfrozen multimodal large language models, which may occasionally introduce semantic biases or\ninaccuracies inherited from their pretraining data (see failure cases in Figure 11). Secondly, due\nto reliance on frozen models, our approach may suffer from reduced sensitivity in detecting highly\nsubtle or domain-specific anomalies compared to explicitly fine-tuned models.\n\nG\n\nBroader Impacts\n\nOur work aims at enhancing public safety through better anomaly detection and interpretability in\nsurveillance systems. However, broader deployment raises ethical considerations regarding privacy\nand potential misuse. Improved localization and descriptive capabilities could inadvertently facilitate\ninvasive surveillance practices or profiling if misapplied without proper governance. Thus, any practical application of our method should be carefully regulated, ensuring transparency, accountability,\nand compliance with privacy laws and ethical guidelines to prevent societal harm while benefiting\npublic security and safety.\n\n25\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"