"<!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>HeadHunt-VAD: Hunting Robust Anomaly-Sensitive Heads in MLLM for\nTuning-Free Video Anomaly Detection\nZhaolin Cai1 , Fan Li2 * , Ziwei Zheng2 , Haixia Bi2 , Lijun He2\n1\n\nSchool of Computer Science and Technology, Xinjiang University\nSchool of Information and Communications Engineering, Xi’an Jiaotong University\n107552301311@stu.xju.edu.cn, lifan@mail.xjtu.edu.cn, ziwei.zheng@stu.xjtu.edu.cn,\nhaixia.bi@xjtu.edu.cn, lijunhe@mail.xjtu.edu.cn\n\narXiv:2512.17601v2 [cs.CV] 23 Dec 2025\n\n2\n\nAbstract\nVideo Anomaly Detection (VAD) aims to locate events\nthat deviate from normal patterns in videos. Traditional approaches often rely on extensive labeled data and incur\nhigh computational costs. Recent tuning-free methods based\non Multimodal Large Language Models (MLLMs) offer a\npromising alternative by leveraging their rich world knowledge. However, these methods typically rely on textual outputs, which introduces information loss, exhibits normalcy\nbias, and suffers from prompt sensitivity, making them insufficient for capturing subtle anomalous cues. To address these\nconstraints, we propose HeadHunt-VAD, a novel tuning-free\nVAD paradigm that bypasses textual generation by directly\nhunting robust anomaly-sensitive internal attention heads\nwithin the frozen MLLM. Central to our method is a Robust\nHead Identification module that systematically evaluates all\nattention heads using a multi-criteria analysis of saliency and\nstability, identifying a sparse subset of heads that are consistently discriminative across diverse prompts. Features from\nthese expert heads are then fed into a lightweight anomaly\nscorer and a temporal locator, enabling efficient and accurate anomaly detection with interpretable outputs. Extensive\nexperiments show that HeadHunt-VAD achieves state-of-theart performance among tuning-free methods on two major\nVAD benchmarks while maintaining high efficiency, validating head-level probing in MLLMs as a powerful and practical\nsolution for real-world anomaly detection.\n\nIntroduction\nVideo Anomaly Detection (VAD) aims to identify and localize events that deviate from normal patterns in video sequences, which is a critical task for ensuring public safety\n(Sultani, Chen, and Shah 2018), industrial quality control\n(Roth et al. 2022), and autonomous driving (Yao et al.\n2023). Traditional paradigms including unsupervised (Lv\net al. 2021), weakly-supervised (Wu et al. 2024b), and fullysupervised methods (Liu et al. 2018), have made significant progress in VAD. However, these approaches often\nstruggle to generalize to diverse anomalies and typically demand large-scale annotated training data along with substantial computational resources, hindering their scalability and\npractical deployment in real-world settings.\n* Corresponding Author\nCopyright © 2026, Association for the Advancement of Artificial\nIntelligence (www.aaai.org). All rights reserved.\n\n(a) Existing Training and Fine-Tuning based Methods\n\nInput\n\nNetwork\nTraining\n\nAnomaly Frames\n\nCostly\nBurden\n\nLabeled\nDatasets\n\nVideo Frames\n\nFine Tuning\nInference\n\nMLLM\n\nDescription\nThis video shows a\ncar accident. The\nvideo shows …\n\nLoss &amp;\nBiased\n\n(b) HeadHunt in MLLM for Tuning-Free Video Anomaly Detection (Ours)\nInput\n\nMLLM\n\nAccurate\n\nAnomaly Frames Efficient\nVideo Frames\n\nHunt Top K Heads\nDetection\nModule\n\nDescription\nThis video shows a\ncar accident. The\nvideo shows …\n\nTuning\nFree\n\nFigure 1: Comparison of VAD methods. Existing methods\nrely on training or fine tuning with large-scale datasets.\nHeadHunt-VAD is a tuning-free approach that detect anomalies using sparse expert heads within a frozen MLLM.\nThe emergence of Multimodal Large Language Models\n(MLLMs) (Liu et al. 2023) has presented novel avenues for\nVAD, leveraging their powerful cross-modal reasoning and\nadaptability. While some methods adapt MLLMs to VAD\nthrough supervised fine-tuning (Zhang et al. 2024b), this\nreintroduces the issues of data dependency and computational costs. Recent tuning-free VAD methods attempt to address these constraints (Zanella et al. 2024) by prompting the\nmodel to reason and generate textual descriptions to detect\nanomalies. However, these methods mostly rely on the final textual output of MLLMs, which suffer from three key\nlimitations. First, converting high-dimensional visual information into natural language inevitably incurs information\nloss, potentially omitting subtle yet crucial anomalous cues.\n(Zhang et al. 2025). Second, MLLMs exhibit normalcy bias,\ntending to describe common objects while ignoring unusual\ndetails that define an anomaly. Third, their outputs are sensitive to prompt phrasing, often producing inconsistent predictions for semantically equivalent queries on the same video.\nThese limitations motivate a shift away from textual outputs\ntowards probing the internal representations of MLLMs.\n\n\fRecent studies revealed that intermediate layers of large\nlanguage models contain richer representations than output\nlayer (Chen et al. 2024; Sun et al. 2024; Skean et al. 2025).\nWhile some works have started to leverage features from entire intermediate layers for diverse tasks including VAD (Orgad et al. 2024; Cai et al. 2025), this is still a coarse-grained\napproach. A transformer layer aggregates outputs from multiple attention heads (Vaswani et al. 2023), each with potential functional specializations (Zheng et al. 2025). The\ndiscriminative signals from a few heads risk being drowned\nout by outputs from heads focusing on mundane background\nfeatures, therefore leading to representation dilution. Although prior work has analyzed heads for passive interpretation or guiding model pruning for efficiency (Baan et al.\n2019; Jin et al. 2024b). The proactive identification and utilization of heads for VAD remains unexplored. This motivates a shift from layer-level to head-level representation\nanalysis, aiming to identify and leverage fine-grained, informative attention heads for improved anomaly detection.\nIn this paper, we propose HeadHunt-VAD, a novel tuningfree paradigm for video anomaly detection that leverages\nsparse, expert attention heads within frozen Multimodal\nLarge Language Models (MLLMs). As illustrated in Figure 1, our approach diverges from conventional methods\nby directly investigating internal representations of MLLM,\nmitigating the need for costly training and the problem of\ninformation loss. To overcome challenges of representation\ndilution, normalcy bias, and prompt sensitivity of MLLMs,\nwe introduce the Robust Head Identification (RHI) module, which systematically hunts for a sparse set of anomalysensitive heads through multi-criteria analysis of saliency\nand stability across diverse prompts. Features from these expert heads are then used to construct a lightweight anomaly\nscorer and temporal locator via few-shot probing, requiring\nas little as 1% of the training sets. This strategy effectively\nminimizing data dependency and supervision while enabling\naccurate anomaly detection and localization without any\nfine-tuning of the MLLM. We evaluate HeadHunt-VAD\non two benchmark datasets including UCF-Crime (Sultani,\nChen, and Shah 2018) and XD-Violence (Wu et al. 2020),\ncomprehensive experiments demonstrate the effectiveness of\nHeadHunt-VAD in video anomaly detection.\nOur main contributions are summarized as follows:\n• We propose HeadHunt-VAD, a novel tuning-free\nparadigm for video anomaly detection that for the first\ntime proactively hunting sparse, expert attention heads\nwithin a frozen MLLM, thereby addressing the issues of\ninformation loss and representation dilution.\n• We introduce a novel Robust Head Identification (RHI)\nmodule, a prompt-invariant selection module that discovers anomaly-sensitive heads through saliency and stability analysis, effectively addressing the challenge of\nprompt sensitivity and enhancing robustness.\n• We conduct extensive experiments on UCF-Crime\nand XD-Violence benchmarks, HeadHunt-VAD achieves\nstate-of-the-art performance among tuning-free methods,\nachieved strong performance without any MLLM finetuning and with remarkable data efficiency.\n\nRelated Work\nTraditional Video Anomaly Detection\nTraditional VAD methods are typically categorized into supervised (Liu et al. 2018; Landi, Snoek, and Cucchiara\n2019), weakly-supervised (Li et al. 2022; Wang et al. 2024;\nZhang et al. 2024a), and unsupervised (Tur et al. 2023)\nparadigms. Supervised approaches achieve high accuracy\nby leveraging frame-level anomaly annotations but require\ncostly and labor-intensive labeling. To reduce this burden,\nweakly supervised methods use video-level labels for training but struggle with subtle cues and may exhibit biased predictions. Unsupervised methods train exclusively on normal\nvideo data to model typical patterns and detect deviations\n(Hasan et al. 2016; Xu et al. 2017; Yang et al. 2023). Despite their effectiveness in specific settings, these methods\nare constrained by their reliance on large-scale training data,\nlimiting their scalability and applicability in the real world.\n\nVideo Anomaly Detection with LLMs and MLLMs\nThe advent of large language models(LLM) (Touvron et al.\n2023) and multimodal LLMs (Zhu et al. 2023) has introduced new approaches to VAD, which can be broadly categorized into fine-tuning and tuning-free paradigms. Finetuning methods adapt pre-trained MLLMs for VAD (Zhang,\nLi, and Bing 2023; Yuan et al. 2024; Zhang et al. 2024c),\nachieving strong results but reintroducing the need for extensive labeled data and computational resources. In contrast,\ntuning-free methods leverage the powerful cross-modal reasoning and zero-shot capabilities of frozen MLLMs for VAD\n(Shao et al. 2025). For example, LAVAD (Zanella et al.\n2024) detects anomalies by prompting MLLM to generate\ndescriptions and reason with extra LLM; VERA (Ye, Liu,\nand He 2025) employs verbalized learning to elicit more effective reasoning with MLLM through optimized prompts.\nHowever, these methods risk losing subtle visual patterns\nduring the vision-to-text translation. This limitation motivates bypassing the textual output to probe more direct internal representations in MLLM.\n\nInternal Analysis in LLMs and MLLMs\nRecent research has demonstrated that intermediate layers of\nLLMs often contain richer representations than the final outputs (Jin et al. 2024a; Ju et al. 2024; Merullo, Eickhoff, and\nPavlick 2024), with mid-layer features shown to enhance\nperformance in diverse downstream tasks (Skean et al. 2025;\nOrgad et al. 2024). Recent work in MLLMs has revealed that\nthe integration of visual and linguistic information occurs\nin the middle layers (Zhang, Dong, and Kawaguchi 2024;\nZhang et al. 2025). Moreover, recent work has identified an\ninformation-rich phenomenon in intermediate layers, where\ninternal features exhibit enhanced discriminative power for\nVAD (Cai et al. 2025). However, these analyses remain at\nthe layer level. Although some studies has explored attention heads for model pruning (Baan et al. 2019; Li et al.\n2023; Jin et al. 2024b), the proactive and goal-driven utilization of specific attention heads for video anomaly detection\nremains an underexplored and promising frontier.\n\n\fhj = Attention(QWjQ , KWjK , VWjV )\n\n0.2\n\n0 1 2 3 4 5 6 7 8 9 10 11 12131415161718192021222324252627\n\nHead Index\n\n0.1\n\n0.40\n0.35\n\nLayer Index\n\n0.3\n\n0.45\n\n0.30\n0.25\n0.20\n0.15\n0 1 2 3 4 5 6 7 8 9 10 11 12131415161718192021222324252627\n\nHead Index\n\n(1)\n\nwhere WjQ , WjK , WjV ∈ RD×dh are the projection matrices for the j-th head, and dh is the dimension of head. The\noutputs of all Nh heads are then concatenated and projected\nby a final linear layer WO ∈ RNh dh ×D to produce the aggregated output:\nX′ = Concat(h1 , . . . , hNh )WO\n\n0.4\n\nLLaVA-OV\n27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0\n\nThe multi-head attention (MHA) module is the cornerstone of the transformer architecture, which underpins Multimodal Large Language Models (MLLMs). Given an input feature sequence X ∈ RL×D , where L is the sequence\nlength and D is the model dimension, MHA projects the input into queries (Q), keys (K), and values (V). The output\nof the j-th attention head, hj ∈ RL×dh , is computed as:\n\n0.6\n0.5\n\nLayer Index\n\nPreliminaries: Representation Dilution in MLLMs\n\n27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0\n\nInternVL3\n\nMethodology\n\n(2)\n\nHowever, this final aggregation step can be detrimental for\nfine-grained tasks. It averages outputs from all heads, causing sharp, discriminative signals from specialized, anomalysensitive heads to be diluted by less relevant ones. Therefore we term this issue as representation dilution. As illustrated in Figure 2, individual heads in intermediate layers\noften exhibit superior discriminative power compared to the\naggregated final output, where crucial signals are lost. This\nobservation motivates our work, as any method relying on\nthe final, diluted output X′ is inherently handicapped for\ntasks like video anomaly detection that demand high sensitivity to subtle cues. Therefore, HeadHunt-VAD is designed\nto circumvent this issue by operating directly on the preaggregation outputs from all heads across all layers. We detotal\nnote the set of all head outputs as {hk }N\nk=1 , where k is a\nglobal index for each head and Ntotal = Nlayers × Nh is the\ntotal number of heads in the MLLM. This allows us to directly identify and exploit the most informative heads.\n\nHeadHunt-VAD Framework Overview\nHeadHunt-VAD is a highly efficient paradigm for video\nanomaly detection by leveraging a frozen Multimodal Large\nLanguage Model (MLLM) without any fine-tuning. As depicted in Figure 3, our approach is structured into two main\nstages: an offline preparation stage and a real-time online\ninference stage. In the offline stage, the core HeadHunt process commences with the Robust Head Identification (RHI)\nmodule, which systematically evaluates all attention heads\nin multi-criteria analysis to select a prompt-robust set of\nconsensus expert heads based on their discriminative power.\nBased on features from selected subset of heads, we construct two lightweight modules: a logistic regression-based\nAnomaly Scorer and a calibrated Temporal Locator. The online stage is engineered for maximum throughput. For an incoming video, it performs a single forward pass to perform\ntargeted feature extraction from the identified expert heads.\nThese features are then processed by the lightweight scorer\nand locator for precise, real-time anomaly localization and\nfinally generate descriptions for detected anomalies.\n\nFigure 2: Visualization of attention head heatmaps in\nMLLMs including InternVL3 and LLaVA-OV.\n\nOffline Stage: Robust Head Identification and\nModule Preparation\nThe offline stage focus on head identification and module\nconstruction to enable efficient and accurate real-time inference in the subsequent online stage. All attention heads\nacross layers are treated as a unified set, indexed by k ∈\n{1, . . . , Ntotal }, where Ntotal = Nlayers × Nh .\nHead Saliency Characterization To evaluate the usefulness of each head, we first extract a representative feature\nvector from MLLM. For a given video and text prompt, we\nperform a single forward pass through the frozen MLLM\nand intercept the output of each head hk ∈ RL×dh before\nthe final aggregation layer. From this matrix, we extract the\nfeature vector xk ∈ Rdh corresponding to the first generated\ntoken, as it encapsulates a summary of the input sequence for\nthe initial generative decision and avoids the cost of the full\nauto-regressive decoding process. By processing all videos\nin our calibration set, we form feature sets Xk,n (normal) and\nXk,a (abnormal) for each head k. To obtain a holistic and robust assessment of discriminative power with each head after\nthe extraction, we construct comprehensive metrics to effectively calculate the saliency score. The multi-faceted evaluation spans across statistical, geometric, and informationtheoretic perspectives, thereby ensuring our selection is not\nbiased by a single criterion. The saliency of head k under a\ngiven prompt pm is then characterized as follows. Detailed\nderivations and pipeline algorithms are provided in the supplementary materials.\n• Linear Discriminant Analysis Score (SLDA ): Measures\nlinear separability, aligning with our goal of finding features suitable for an efficient linear classifier. A higher\nscore signifies greater class separation.\nSLDA (k) = (µk,a − µk,n )T (SW,k )−1 (µk,a − µk,n ) (3)\nwhere µk,c and SW,k are the class-specific mean and\nwithin-class scatter matrix for head k. ,\n• Symmetrized KL Divergence (SKL ): Quantifies the dissimilarity between the probability distributions of normal and abnormal representations, which are modeled\nas multivariate Gaussian distributions, thereby capturing\nnon-linear statistical differences.\nSKL (k) =\n\n1\n[DKL (Nk,a ||Nk,n ) + DKL (Nk,n ||Nk,a )] (4)\n2\n\n\f(a) Preparation with Head Hunt before Inference\n\n(b) Real-time Inference via MLLM\n\nMulti-Modal LLM\n\nNormal Videos\nVision\nEncoder\n\nMulti Head\nAttention\n\nMulti Head\nAttention\n\nTest Videos\nDescribe the scene and\nidentify if any of the\nabnormal events occur ？\n\nMulti Head\nAttention\n\nMulti Heads\n\nVision Encoder\n\nText Encoder\n\nAbormal Videos\nSingle Forward MLLM\nExtract\n&amp;\nConcat\nTop K\nHeads\n\n……\n\nDescribe the scene and identify if\nany of the abnormal events\noccur?\n……\nDoes the video exhibit any\nactions that should not happen?\n……\nIf there are any of the abnormal\nevents occurred in the video that\ndeviate from the normal scene？\n\n……\n\nRobust Head\nIdentification\n\nText\nEncoder\n\nMulti-mode Prompts\n\nAnomaly Frames\nTop K Heads\n\nAnomaly Scorer\n\nFeature Sta�s�cs\nAnomaly\nLocator\n\nFew Shot Training\n\nAnomaly\nScorer\n\nAnomaly Locator\n\nAnomaly Distribution\n\nAuto Regression\nMLLM\n\nThe video shows car accident.\nThe video show …\n\nFigure 3: The overall architecture of HeadHunt-VAD. The offline HeadHunt phase identifies consensus expert heads and prepares downstream modules. The efficient online inference phase leverages these for real-time detection.\n• Maximum Mean Discrepancy (SMMD ): Measures the\ndistributional discrepancy in a Reproducing Kernel\nHilbert Space (RKHS), making it sensitive to complex\ndifferences in distribution shape.\n2\n\nX\nX\n1\n1\nSMMD (k) =\nϕ(x) −\nϕ(y)\n|Xk,a | x∈X\n|Xk,n | y∈X\n2\n\nk,a\n\nk,n\n\nH\n\n(5)\n\nwhere ϕ(·) is the kernel-induced feature map into the\nRKHS H.\n• Normalized Mutual Information (SNMI ): Measures the\nstatistical dependency between feature representations\nand ground-truth labels. We perform K-Means clustering\n(k)\n(K = 2) on the features to get predicted labels Ypred .\n(k)\n\nI(Ytrue , Ypred )\n\nSNMI (k) = q\n(k)\nH(Ytrue )H(Ypred )\n\n(6)\n\nprompts, P = {p1 , . . . , pM }. For each head k and prompt\npm , we first compute every saliency scores and normalize\nthem to [0, 1] across all heads. The score S(k, pm ) is the\naverage of normalized saliency scores.\nThe mean performance µk and instability (standard deviation) σk are calculated for each head across the prompt set:\nM\n\nµk =\n\n1 X\nS(k, pm )\nM m=1\n\nv\nu\nM\nu 1 X\n2\nσk = t\n(S(k, pm ) − µk )\nM m=1\n\n(7)\n\n(8)\n\nInspired by risk-aversion principles, we define a Robust\nSaliency Score (RSS) to favor heads with both high average\nperformance and low variance across prompts:\nRSS(k) = µk − λσk\n\n(9)\n\nAlthough these metrics provide a comprehensive evaluation\nof discriminative capability, identifying universally effective\nheads requires assessing their stability across diverse textual\ninputs. We therefore introduce the Robust Head Selection.\n\nwhere λ is a hyperparameter that controls the trade-off between performance and stability. A head that performs well\nfor one prompt but poorly for another will have a high σk\nand thus be penalized, as we seek heads that are not only\nhigh returns (high mean saliency µk ) but also low risk (low\nperformance volatility σk across prompts). We calculate and\nrank all heads by their RSS and select the top-K heads,\nwhose indices form our consensus expert head set I ∗ .\n\nRobust Head Selection To identify heads that are universally effective, we assess their stability across diverse textual inputs. We evaluate each head over a set of M diverse\n\nAnomaly Scorer Training The anomaly scorer is implemented using logistic regression, chosen for its efficiency\nand interpretability. For each video i in the calibration set,\n\nwhere I(·, ·) is the mutual information and H(·) is the\nentropy.\n\n\fa composite feature vector zi ∈ RK·dh is constructed by\nconcatenating feature {xk }k∈I ∗ from the K expert heads.\n(v)\nGiven the training set {(zi , yi(v) )}N\n∈ {0, 1}\ni=1 , where yi\nis the video-level label, the model learns a weight vector w\nand bias b to predict the anomaly probability:\n\nFrame-level Anomaly Scoring and Localization The\nfeature vector ft is fed into the pre-trained Anomaly Scorer\nto compute the anomaly probability for each segment:\n\nT\np(v)\ni = σ(w zi + b)\n\nThis yields a sequence of anomaly scores p = (p1 , . . . , pT )\nfor the entire video. The probability sequence p is then processed by the calibrated Temporal Locator. The sequence is\nfirst smoothed using the pre-calibrated Gaussian kernel Gσg∗\nto enforce temporal consistency, producing a smoothed sequence p′ . The final detection ŷt ∈ {0, 1} is made by applying the calibrated threshold τ ∗ :\n\n(10)\n\nwhere σ(·) is the sigmoid function. The model is trained\nby minimizing the binary cross-entropy loss:\nN\n\nL=−\n\ni\n1 X h (v)\n(v)\n(v)\nyi log p(v)\ni + (1 − yi ) log(1 − pi )\nN i=1\n\n(11)\n\nThis lightweight model effectively leverages the discriminative features from the expert heads while ensuring computational efficiency and accuracy.\nTemporal Locator Calibration To convert anomaly\nprobabilities into coherent temporal event predictions, a\ntemporal locator is introduced. This component operates on\na sequence of probabilities {pt }, which are generated by applying the trained Anomaly Scorer to the feature vector of\neach individual temporal segment from the validation set.\nThe locator then refines the resulting raw probability sequence p by applying a transformation that includes convolution with a 1D Gaussian kernel, Gσg , followed by binarization using a threshold τ .\nThe standard deviation σg of the Gaussian kernel and the\nthreshold τ are determined by optimizing the frame-level\nF1-score on a validation set via grid search. For each candidate pair (σg , τ ), the validation videos are processed by\nfirst generating the raw probability sequence p and then applying the complete transformation:\nX\np′t = (p ∗ Gσg )t =\npj · G(t − j; σg )\n(12)\nj\n\nThe resulting binarized outputs are compared with\nground-truth annotations to compute the F1-score. The parameter combination (σg∗ , τ ∗ ) that maximizes the score is\nselected. This data-driven calibration ensures the Temporal\nLocator is configured for precise anomaly localization.\n\nOnline Stage: Real-time Video Anomaly Detection\nThe online stage with MLLMs focuses on processing unseen\nvideos to detect and localize anomaly frames and optionally\nprovide comprehensive anomaly descriptions.\nSingle Forward Pass with Feature Extraction An incoming video is first divided into a sequence of nonoverlapping temporal segments {S1 , S2 , . . . , ST }. For each\nsegment St , we uniformly sample F frames. These frames,\nalong with a task-specific textual prompt, are processed in\na single forward pass through the frozen MLLM. During\nthis pass, we perform targeted feature extraction by retrieving and concatenating the outputs from the K expert heads\nin our consensus set I ∗ , thereby avoiding the costly autoregressive decoding. Following the procedure from the offline stage, we extract the feature corresponding to the first\ntoken from each selected head and concatenate them to form\na single, robust feature vector ft ∈ RK·dh for segment St .\n\npt = σ(wT ft + b)\n\nŷt = [p′t &gt; τ ∗ ]\n\n(13)\n\n(14)\n\nwhere [·] denotes the Iverson bracket. Consecutive segments\nwhere ŷt = 1 are grouped to yield precise temporal localizations of anomalous events.\nEvent-level Explanation Generation For enhanced interpretability, detected anomalous clips in a video can be\npassed back to the full auto-regressive MLLM. Given the\nclips and textual inputs, the model generates a natural language explanation of the event. This final step completes the\nprocess from detection to understanding, providing a comprehensive and interpretable explanations for videos.\n\nExperiments\nExperimental Settings\nDatasets and evaluation metrics We evaluate our method\non two widely used benchmarks for video anomaly detection: UCF-Crime (Sultani, Chen, and Shah 2018) and XDViolence (Wu et al. 2020). These datasets contain long,\nuntrimmed videos with real-world anomalies, providing a\nrealistic and challenging evaluation environment.\nFor performance evaluation, we use standard metrics\nfrom the literature: frame-level AUC (Area Under the ROC\nCurve) for UCF-Crime and average precision (AP) for XDViolence. Both metrics are widely used in prior work and\nprovide a comprehensive assessment of detection performance, higher values indicate better results.\nImplementation Details We use the InternVL3 model as\nthe frozen MLLM backbone of HeadHunt-VAD. Each video\nis segmented at 48 frames intervals and uniformly sample\nF = 16 frames as the input to MLLM. The offline phase\nuse a small calibration subset comprising 1% of the training data from each benchmark. The prompt set P consists\nof five varied prompts. We select the top K = 5 expert\nheads for feature extraction and set the instability penalty\nto λ = 0.5. The Anomaly Scorer is a logistic regression\nmodule. The Temporal Locator uses 1D Gaussian smoothing kernel σg = 1.5 and threshold of τ = 0.65, both optimized for frame-level F1-score on the validation set. All\nexperiments are conducted on a single NVIDIA RTX 4090\nGPU. Detailed hyperparameter analysis, prompts, and further analysis are provided in the supplementary materials.\n\n\fBackbone AUC (%)\nI3D\nI3D\nI3D\nI3D\nI3D\nI3D\nI3D\nViT\nViT\nViT\nViT\n\n82.44\n82.30\n84.30\n85.99\n85.30\n86.97\n86.98\n86.40\n87.58\n87.79\n88.02\n\nSelf\nSupervised\n\nTUR et al.(2023)\nBODS(2019)\nGODS(2019)\n\nResnet\nI3D\nI3D\n\n66.85\n68.26\n70.46\n\nUnsupervised\n\nGCL(2022)\nDYANNET(2023)\n\nResNext\nI3D\n\n71.04\n84.50\n\nTuning-Free\nMultimodal\nVAD\n\nZero-Shot CLIP(2021)\nZS ImageBind (Video)(2023)\nZS ImageBind (Image)(2023)\nLLAVA-1.5(2024)\nLAVAD(2024)\nEventVAD(2025)\nVERA(2025)\nHiProbeVAD(2025)\nHeadHunt-VAD\n\nViT\nViT\nViT\nViT\nViT\nViT\nViT\nViT\nViT\n\n53.16\n55.78\n53.65\n72.84\n80.28\n82.03\n86.55\n86.72\n87.03\n\nWeakly\nSupervised\n\nTable 1: Comparison with existing methods on the UCFCrime dataset.\n\nMode\n\nTables 1 and 2 present the main results on the UCF-Crime\nand XD-Violence datasets. On UCF-Crime, HeadHunt-VAD\nachieves an AUC of 87.03%, setting a new state-of-the-art\namong tuning-free and unsupervised methods. Our method\nalso remains competitive with many weakly-supervised\nmethods that require extensive training on large-scale labeled datasets. On the XD-Violence dataset, HeadHuntVAD achieves an AP of 82.63%, which represents an improvement over other tuning-free approaches and significantly narrows the performance gap to leading weaklysupervised models. The consistent and robust performance\nacross these two benchmarks provides strong evidence for\nthe effectiveness of our proposed approach for VAD.\n\nEfficiency Analysis\nHeadHunt-VAD achieves practical efficiency by reducing\ncomputational cost, model complexity, and data dependency. As shown in Figure 4, our single forward pass strategy avoids costly auto-regressive decoding and yields a significant computational efficiency. This efficiency extends to\nscalability. Our few-shot calibration uses less than 1% of the\ndata required for fine-tuning approaches. By extracting features from only top-K expert heads instead of all heads,\nwe dramatically reduce the feature dimension from over\n100K to just 640. The combination of fast detection, minimal data requirements, and low feature complexity validates\nHeadHunt-VAD as an effective and practical VAD solution.\n\nBackbone AP (%)\n\nWu et al.(2020)\nRTFM(2021)\nMSL(2022)\nMFGN(2022)\nS3R(2022)\nUR-DMU(2023)\nWu et al.(2024a)\nCLIP-TSA(2023)\nYang et al.(2024)\nVadCLIP(2023)\n\nI3D\nI3D\nI3D\nI3D\nI3D\nI3D\nViT\nViT\nViT\nViT\n\n73.20\n77.81\n78.28\n79.19\n80.26\n81.66\n66.53\n82.19\n83.68\n84.51\n\nZero-Shot CLIP(2021)\nZS ImageBind (Video)(2023)\nTuning-Free ZS ImageBind (Image)(2023)\nLLAVA-1.5(2024)\nMultimodal LAVAD(2024)\nVAD\nEventVAD(2025)\nHiProbeVAD(2025)\nHeadHunt-VAD\n\nViT\nViT\nViT\nViT\nViT\nViT\nViT\nViT\n\n17.83\n25.36\n27.25\n50.26\n62.01\n64.04\n82.15\n82.63\n\nWeakly\nSupervised\n\nTable 2: Comparison of existing methods on the XDViolence dataset.\nInference Efficiency Comparison\n90\n\n10\n\nSpeed:+89.8%\nAUC:+0.48pp\n\n85\n\nSpeed:+88.9%\nAUC:+ 14.19pp\n\n80\n\nModels\nHeadHunt-VAD\nVERA\nLAVA-1.5\nLAVAD\n\n0\n\n2\n\n10\n\nEfficiency Comparison\n\n100352\n\n100\n\n100\n\n6\n\n8\n\nInference Time per Segment (s)\n\n60\n\n4\n\n40\n10\n\n4\n\n5\n\n80\n\nSpeed:+93.6%\nAUC:+ 6.75pp\n\n75\n\nComparison with State-of-the-Art Methods\n\nMethods\n\n20\n\n3\n640\n\nDimension\n\nPercentage (%)\n\nWu et al. (2020)\nMIST(2021)\nRTFM(2021)\nS3R(2022)\nMSL(2022)\nUR-DMU(2023)\nMFGN(2022)\nWu et al.(2024a)\nCLIP-TSA(2023)\nYang et al.(2024)\nVadCLIP(2023)\n\nComplexity\n\nMethods\n\nAUC (%)\n\nMode\n\n1\n\nRequired Data 0\n\nExisting Fine-Tuning Methods\n\nHeadHunt-VAD\n\nFigure 4: Efficiency comparison of HeadHunt-VAD including inference time, dimension complexity, and required data.\n\nAblation Studies\nEffectiveness of the Robust Head Identification We\nevaluate the proposed Robust Head Identification (RHI) by\ncomparing it with different feature extraction strategies (Table 3). Using all attention heads from the final layer leads to\nsubstantial performance degradation, while random head selection further deteriorates results, confirming the necessity\nof informed head selection. We also assess prompt sensitivity. A single generic prompt underperforms, and although a\nmanually crafted oracle prompt yields slightly better results,\nit requires fixed prompt for all time. In contrast, RHI automatically identifies a robust subset across prompts, achieving comparable performance with different text inputs.\nImpact of Anomaly Scorer We analyze the role of the final anomaly scorer with other common lightweight models,\nwith results presented in Table 3. The support vector machine (SVM) achieves performance comparable to the proposed method, while multi-layer perceptron (MLP) yields a\nmarginal improvement of 0.22% in AUC and 0.18% in AP.\nWe adopt logistic regression for its optimal balance of ac-\n\n\fAP (%)\n\n30\n\n87.03\n\n82.63\n\n20\n\nAblation on Robust Head Identification (RHI)\nw/ Full Layer Features\nw/ Random-K Heads\nw/ Single Coarse Prompt\nw/ Oracle (Detailed) Prompt\n\n80.15\n66.65\n81.86\n87.11\n\n72.10\n45.33\n74.52\n82.95\n\nAblation on Anomaly Scorer (Ours: Logistic Regression)\nSVM (Linear Kernel)\nMLP (2-Layer)\n\n84.95\n87.25\n\n76.52\n82.81\n\nAblation on Temporal Locator (Ours: τ = 0.65)\nw/o Gaussian Smoothing\nw/ Fixed Threshold (τ = 0.25)\nw/ Fixed Threshold (τ = 0.50)\nw/ Fixed Threshold (τ = 0.75)\n\n82.44\n70.91\n80.32\n71.15\n\n75.88\n55.21\n71.49\n58.10\n\n10\n0\n10\n20\n30\n\nTop Consensus Heads\n20\n\n30\n\n20\n\n10\n\n0\n\n10\n\nt-SNE Dimension 1\n\nNormal\nAnomaly\n20 30\n\nt-SNE Dimension 2\n\nHeadHunt-VAD (Full Model)\n\nAggregated Output Layer\n\nAUC (%)\n\nt-SNE Dimension 2\n\nMethod / Variation\n\n(a) Features from Full Layer\n\n10\n0\n10\n20\n30\n40\n\n20\n\n0\n\n20\n\nt-SNE Dimension 1\n\nNormal\nAnomaly\n40\n\n(b) Features from Expert Heads\n\nFigure 5: t-SNE visualization. (a) Full output layer show\nclass overlap due to representation dilution. (b) Features\nfrom HeadHunt-VAD form distinct, separable clusters.\nDescription: Yes. There is\nshooting happening in the scene.\nMultiple individuals are seen\nholding guns and firing them...\n\nDescription: Yes. A vehicle is in\nmotion, and it seems to be\ninvolved in a high-speed chase\nor collision...\n\nTable 3: Effectiveness of the Robust Head Identification\nmodule, Anomaly Scorer, and the Temporal Locator.\n\ncuracy, computational efficiency, and interpretability, which\naligns with overall emphasis on practicality and ease of deployment of our method.\nImpact of Temporal Locator Our temporal locator consists of two key components: temporal score smoothing and\na data-driven threshold calibration, with results in Table 3.\nRemoving the Gaussian smoothing step results in a significant AUC drop of 4.59% on UCF-Crime, which demonstrates its crucial role in stabilizing frame-level predictions\nand reducing spurious noise from isolated, high-scoring\nframes. Furthermore, replacing our data-driven threshold\ncalibration with fixed, arbitrary values leads to severe performance degradation. This confirms that a calibrated, dataaware threshold is indispensable for accurately segmenting\nanomalous events from raw scores.\n\nQualitative Analyses\nFeature Space Visualization Figure 5 visualizes the feature distributions of normal and abnormal samples using tSNE. Features from the full output layer exhibit significant\nclass overlap due to representation dilution. In contrast, features from our expert heads form clearly separated and compact clusters, confirming their superior discriminative power\nand better separability for anomaly detection.\nQualitative Visualization Figure 6 shows qualitative results from XD-Violence. For each video, the plot shows\nthe anomaly curves across different frames. For abnormal\nvideo, the frame-level probability curve generated by our\nmethod rises sharply and aligns precisely with the groundtruth temporal segments. Conversely, the anomaly curve of\nnormal video remains consistently low and stable. These results demonstrate that HeadHunt-VAD provide reliable and\naccurate temporal localization of anomalous events. More\nvisualization are provided in the supplementary materials.\n\nDescription: No abnormal events detected. The video features a young\nwoman wearing a colorful, patterned dress and a man with reddish hair who\nis dressed in a dark jacket over a red shirt. The initial setting shows the\nwoman walking energetically through a dark, narrow hallway, exiting into a\nnighttime street scene.\n\nFigure 6: Qualitative results of HeadHunt-VAD on XDViolence. Each panel shows a representative video snippet\nand the anomaly curve. The shaded regions denote the detected anomaly frames that surpasses the threshold. Further\ngenerated descriptions are also provided.\n\nConclusion\nIn this paper, we introduced HeadHunt-VAD, a novel tuningfree paradigm that moves beyond the limitations of lossy\ntextual outputs and diluted layer-level representations in\nMLLM-based VAD. Our method proactively identifies and\nleverages a sparse set of robust, anomaly-sensitive attention heads within a frozen MLLM, pinpointed by a multicriteria Robust Head Identification module. Features from\nthese expert heads are then channeled into lightweight modules for highly efficient scoring and localization. Extensive experiments on two major benchmarks demonstrate that\nHeadHunt-VAD establishes a new state-of-the-art among\ntuning-free methods, achieving superior performance with\nremarkable computational and data efficiency. Our work\nvalidates head-level probing as a powerful and practical\nparadigm for real-world video anomaly detection.\n\n\fReferences\nBaan, J.; ter Hoeve, M.; van der Wees, M.; Schuth, A.; and\nde Rijke, M. 2019. Understanding multi-head attention in\nabstractive summarization. arXiv:1911.03898.\nCai, Z.; Li, F.; Zheng, Z.; and Qin, Y. 2025. HiProbeVAD: Video Anomaly Detection via Hidden States Probing\nin Tuning-Free Multimodal LLMs. arXiv:2507.17394.\nChen, N.; Wu, N.; Liang, S.; Gong, M.; Shou, L.; Zhang, D.;\nand Li, J. 2024. Is bigger and deeper always better? Probing\nLLaMA across scales and layers. arXiv:2312.04333.\nChen, Y.; Liu, Z.; Zhang, B.; Fok, W.; Qi, X.; and Wu, Y.C. 2022. MGFN: magnitude-contrastive glance-and-focus\nnetwork for weakly-supervised video anomaly detection.\nFeng, J.-C.; Hong, F.-T.; and Zheng, W.-S. 2021. MIST:\nMultiple Instance Self-Training Framework for Video\nAnomaly Detection. In 2021 IEEE/CVF Conference on\nComputer Vision and Pattern Recognition (CVPR), 14004–\n14013. IEEE.\nGirdhar, R.; El-Nouby, A.; Liu, Z.; Singh, M.; Alwala, K. V.;\nJoulin, A.; and Misra, I. 2023. ImageBind One Embedding\nSpace to Bind Them All. In 2023 IEEE/CVF Conference on\nComputer Vision and Pattern Recognition (CVPR), 15180–\n15190. IEEE.\nHasan, M.; Choi, J.; Neumann, J.; Roy-Chowdhury, A. K.;\nand Davis, L. S. 2016. Learning Temporal Regularity in\nVideo Sequences. In 2016 IEEE Conference on Computer\nVision and Pattern Recognition (CVPR), 733–742. IEEE.\nJin, M.; Yu, Q.; Huang, J.; Zeng, Q.; Wang, Z.; Hua, W.;\nZhao, H.; Mei, K.; Meng, Y.; Ding, K.; Yang, F.; Du,\nM.; and Zhang, Y. 2024a. Exploring concept depth: how\nlarge language models acquire knowledge at different layers? arXiv:2404.07066.\nJin, P.; Zhu, B.; Yuan, L.; and Yan, S. 2024b. MoH:\nmulti-head attention as mixture-of-head attention.\narXiv:2410.11842.\nJoo, H. K.; Vo, K.; Yamazaki, K.; and Le, N. 2023. CLIPTSA: Clip-Assisted Temporal Self-Attention for WeaklySupervised Video Anomaly Detection. In 2023 IEEE International Conference on Image Processing (ICIP), 3230–\n3234. IEEE.\nJu, T.; Sun, W.; Du, W.; Yuan, X.; Ren, Z.; and Liu, G. 2024.\nHow large language models encode context knowledge? A\nlayer-wise probing study. arXiv:2402.16061.\nLandi, F.; Snoek, C. G. M.; and Cucchiara, R. 2019.\nAnomaly locality in video surveillance. arXiv:1901.10364.\nLi, C.; Wang, S.; Zhang, Y.; Zhang, J.; and Zong, C.\n2023. Interpreting and exploiting functional specialization in multi-head attention under multi-task learning.\narXiv:2310.10318.\nLi, G.; Cai, G.; Zeng, X.; and Zhao, R. 2022. Scale-Aware\nSpatio-Temporal Relation Learning for Video Anomaly Detection. In Computer Vision - ECCV 2022, 333–350.\nSpringer.\nLi, S.; Liu, F.; and Jiao, L. 2022. Self-Training MultiSequence Learning with Transformer for Weakly Supervised Video Anomaly Detection. Proceedings of the AAAI\nConference on Artificial Intelligence, 36(2): 1395–1403.\n\nLiu, H.; Li, C.; Li, Y.; and Lee, Y. J. 2024. Improved Baselines with Visual Instruction Tuning. In 2024 IEEE/CVF\nConference on Computer Vision and Pattern Recognition\n(CVPR), 26286–26296. IEEE.\nLiu, H.; Li, C.; Wu, Q.; and Lee, Y. J. 2023. Visual instruction tuning. https://arxiv.org/abs/2304.08485v2.\nLiu, W.; Luo, W.; Lian, D.; and Gao, S. 2018. Future Frame\nPrediction for Anomaly Detection - A New Baseline. In\n2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 6536–6545. IEEE.\nLv, H.; Chen, C.; Cui, Z.; Xu, C.; Li, Y.; and Yang, J. 2021.\nLearning Normal Dynamics in Videos with Meta Prototype\nNetwork. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 15420–15429. IEEE.\nMerullo, J.; Eickhoff, C.; and Pavlick, E. 2024. Talking\nheads: understanding inter-layer communication in transformer language models. arXiv:2406.09519.\nOrgad, H.; Toker, M.; Gekhman, Z.; Reichart, R.; Szpektor,\nI.; Kotek, H.; and Belinkov, Y. 2024. LLMs know more than\nthey show: on the intrinsic representation of LLM hallucinations. arXiv:2410.02707.\nRadford, A.; Kim, J. W.; Hallacy, C.; Ramesh, A.; Goh,\nG.; Agarwal, S.; Sastry, G.; Askell, A.; Mishkin, P.; Clark,\nJ.; Krueger, G.; and Sutskever, I. 2021. Learning transferable visual models from natural language supervision.\narXiv:2103.00020.\nRoth, K.; Pemula, L.; Zepeda, J.; Scholkopf, B.; Brox, T.;\nand Gehler, P. 2022. Towards Total Recall in Industrial\nAnomaly Detection. In 2022 IEEE/CVF Conference on\nComputer Vision and Pattern Recognition (CVPR), 14298–\n14308. IEEE.\nShao, Y.; He, H.; Li, S.; Chen, S.; Long, X.; Zeng, F.; Fan,\nY.; Zhang, M.; Yan, Z.; Ma, A.; Wang, X.; Tang, H.; Wang,\nY.; and Li, S. 2025. EventVAD: training-free event-aware\nvideo anomaly detection. arXiv:2504.13092.\nSkean, O.; Arefin, M. R.; Zhao, D.; Patel, N.; Naghiyev,\nJ.; LeCun, Y.; and Shwartz-Ziv, R. 2025.\nLayer by\nlayer: uncovering hidden representations in language models. arXiv:2502.02013.\nSultani, W.; Chen, C.; and Shah, M. 2018. Real-World\nAnomaly Detection in Surveillance Videos.\nIn 2018\nIEEE/CVF Conference on Computer Vision and Pattern\nRecognition, 6479–6488. IEEE.\nSun, M.; Chen, X.; Kolter, J. Z.; and Liu, Z. 2024. Massive\nactivations in large language models. arXiv:2402.17762.\nThakare, K. V.; Raghuwanshi, Y.; Dogra, D. P.; Choi, H.;\nand Kim, I.-J. 2023. DyAnNet: A Scene Dynamicity Guided\nSelf-Trained Video Anomaly Detection Network. In 2023\nIEEE/CVF Winter Conference on Applications of Computer\nVision (WACV), 5530–5539. IEEE.\nTian, Y.; Pang, G.; Chen, Y.; Singh, R.; Verjans, J. W.; and\nCarneiro, G. 2021. Weakly-supervised Video Anomaly Detection with Robust Temporal Feature Magnitude Learning.\nIn 2021 IEEE/CVF International Conference on Computer\nVision (ICCV), 4955–4966. IEEE.\n\n\fTouvron, H.; Lavril, T.; Izacard, G.; Martinet, X.; Lachaux,\nM.-A.; Lacroix, T.; Rozière, B.; Goyal, N.; Hambro, E.;\nAzhar, F.; Rodriguez, A.; Joulin, A.; Grave, E.; and Lample,\nG. 2023. LLaMA: Open and Efficient Foundation Language\nModels. arXiv:2302.13971.\nTur, A. O.; Dall’Asen, N.; Beyan, C.; and Ricci, E. 2023.\nUnsupervised video anomaly detection with diffusion models conditioned on compact motion representations.\nVaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones,\nL.; Gomez, A. N.; Kaiser, L.; and Polosukhin, I. 2023. Attention is all you need. arXiv:1706.03762.\nWang, H.; Lai, C.; Sun, Y.; and Ge, W. 2024. Weakly Supervised Gaussian Contrastive Grounding with Large Multimodal Models for Video Question Answering. In Proceedings of the 32nd ACM International Conference on Multimedia, 5289–5298. ACM.\nWang, J.; and Cherian, A. 2019. GODS: Generalized OneClass Discriminative Subspaces for Anomaly Detection. In\n2019 IEEE/CVF International Conference on Computer Vision (ICCV), 8200–8210. IEEE.\nWu, J.-C.; Hsieh, H.-Y.; Chen, D.-J.; Fuh, C.-S.; and Liu, T.L. 2022. Self-supervised Sparse Representation for Video\nAnomaly Detection. In Computer Vision - ECCV 2022,\n729–745. Springer.\nWu, P.; Liu, J.; Shi, Y.; Sun, Y.; Shao, F.; Wu, Z.; and Yang,\nZ. 2020. Not only Look, But Also Listen: Learning Multimodal Violence Detection Under Weak Supervision. In\nComputer Vision - ECCV 2020, 322–339. Springer-Verlag.\nWu, P.; Zhou, X.; Pang, G.; Sun, Y.; Liu, J.; Wang, P.; and\nZhang, Y. 2024a. Open-vocabulary video anomaly detection. arXiv:2311.07042.\nWu, P.; Zhou, X.; Pang, G.; Yang, Z.; Yan, Q.; Wang, P.;\nand Zhang, Y. 2024b. Weakly Supervised Video Anomaly\nDetection and Localization with Spatio-Temporal Prompts.\nIn Proceedings of the 32nd ACM International Conference\non Multimedia, 9301–9310. ACM.\nWu, P.; Zhou, X.; Pang, G.; Zhou, L.; Yan, Q.; Wang, P.; and\nZhang, Y. 2023. VadCLIP: adapting vision-language models\nfor weakly supervised video anomaly detection.\nXu, D.; Yan, Y.; Ricci, E.; and Sebe, N. 2017. Detecting\nanomalous events in videos by learning deep representations\nof appearance and motion. Computer Vision and Image Understanding, 156: 117–127.\nYang, Z.; Liu, J.; and Wu, P. 2024. Text prompt with normality guidance for weakly supervised video anomaly detection.\narXiv:2404.08531.\nYang, Z.; Liu, J.; Wu, Z.; Wu, P.; and Liu, X. 2023. Video\nEvent Restoration Based on Keyframes for Video Anomaly\nDetection. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 14592–14601. IEEE.\nYao, Y.; Wang, X.; Xu, M.; Pu, Z.; Wang, Y.; Atkins, E.;\nand Crandall, D. J. 2023. DoTA: Unsupervised Detection of\nTraffic Anomaly in Driving Videos. IEEE Transactions on\nPattern Analysis and Machine Intelligence, 45(1): 444–459.\nYe, M.; Liu, W.; and He, P. 2025. VERA: Explainable Video Anomaly Detection via Verbalized Learning of\n\nVision-Language Models. In Proceedings of the Computer\nVision and Pattern Recognition Conference (CVPR), 8679–\n8688.\nYuan, T.; Zhang, X.; Liu, K.; Liu, B.; Chen, C.; Jin, J.; and\nJiao, Z. 2024. Towards Surveillance Video-and-Language\nUnderstanding: New Dataset, Baselines, and Challenges. In\n2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 22052–22061. IEEE.\nZaheer, M. Z.; Mahmood, A.; Khan, M. H.; Segu, M.; Yu,\nF.; and Lee, S.-I. 2022. Generative Cooperative Learning for Unsupervised Video Anomaly Detection. In 2022\nIEEE/CVF Conference on Computer Vision and Pattern\nRecognition (CVPR), 14724–14734. IEEE.\nZanella, L.; Menapace, W.; Mancini, M.; Wang, Y.; and\nRicci, E. 2024.\nHarnessing Large Language Models\nfor Training-Free Video Anomaly Detection. In 2024\nIEEE/CVF Conference on Computer Vision and Pattern\nRecognition (CVPR), 18527–18536. IEEE.\nZhang, H.; Li, X.; and Bing, L. 2023. Video-LLaMA: an\ninstruction-tuned audio-visual language model for video understanding.\nZhang, H.; Wang, X.; Xu, X.; Huang, X.; Han, C.; Wang, Y.;\nGao, C.; Zhang, S.; and Sang, N. 2024a. GlanceVAD: Exploring glance supervision for label-efficient video anomaly\ndetection.\nZhang, H.; Xu, X.; Wang, X.; Zuo, J.; Han, C.; Huang, X.;\nGao, C.; Wang, Y.; and Sang, N. 2024b. Holmes-VAD: towards unbiased and explainable video anomaly detection via\nmulti-modal LLM. arXiv:2406.12235.\nZhang, H.; Xu, X.; Wang, X.; Zuo, J.; Huang, X.; Gao, C.;\nZhang, S.; Yu, L.; and Sang, N. 2024c. Holmes-VAU: towards long-term video anomaly understanding at any granularity. arXiv:2412.06171.\nZhang, Y.; Dong, Y.; and Kawaguchi, K. 2024.\nInvestigating layer importance in large language models.\narXiv:2409.14381.\nZhang, Z.; Yadav, S.; Han, F.; and Shutova, E. 2025. Crossmodal information flow in multimodal large language models. arXiv:2411.18620.\nZheng, Z.; Zhao, J.; Yang, L.; He, L.; and Li, F. 2025. Spot\nRisks Before Speaking! Unraveling Safety Attention Heads\nin Large Vision-Language Models. arXiv:2501.02029.\nZhou, H.; Yu, J.; and Yang, W. 2023. Dual memory units\nwith uncertainty regulation for weakly supervised video\nanomaly detection. arXiv:2302.05160.\nZhu, D.; Chen, J.; Shen, X.; Li, X.; and Elhoseiny, M. 2023.\nMiniGPT-4: enhancing vision-language understanding with\nadvanced large language models. arXiv:2304.10592.\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"