"<!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>Sequential keypoint density estimator:\nan overlooked baseline of skeleton-based video anomaly detection\nAnja Delić, Matej Grcić, Siniša Šegvić\nUniversity of Zagreb, Faculty of Electrical Engineering and Computing\nZagreb, Croatia\n\narXiv:2506.18368v3 [cs.CV] 3 Sep 2025\n\nname.surname@fer.hr\n\nSeeKer\n\nAbstract\n\nμ\n\nDetecting anomalous human behaviour is an important\nvisual task in safety-critical applications such as healthcare monitoring, workplace safety, or public surveillance.\nIn these contexts, abnormalities are often reflected with unusual human poses. Thus, we propose SeeKer, a method for\ndetecting anomalies in sequences of human skeletons. Our\nmethod formulates the skeleton sequence density through\nautoregressive factorization at the keypoint level. The\ncorresponding conditional distributions represent probable\nkeypoint locations given prior skeletal motion. We formulate the joint distribution of the considered skeleton as\ncausal prediction of conditional Gaussians across its constituent keypoints. A skeleton is flagged as anomalous if\nits keypoint locations surprise our model (i.e. receive a low\ndensity). In practice, our anomaly score is a weighted sum\nof per-keypoint log-conditionals, where the weights account\nfor the confidence of the underlying keypoint detector. Despite its conceptual simplicity, SeeKer surpasses all previous methods on the UBnormal and MSAD-HR datasets\nwhile delivering competitive performance on the ShanghaiTech dataset.\n\n1. Introduction\nAnomaly detection in videos is a safety-critical computer\nvision task that focuses on identifying events that deviate\nfrom regular patterns within observed video sequences [30,\n43]. This task is particularly relevant for applications such\nas public institution monitoring, workplace safety, or crowd\nsurveillance [34, 48], where abnormal frames may indicate\nemergencies such as strokes, accidents or acts of violence\n[3]. Designing more accurate human-related anomaly detectors may improve the security of shared spaces and contribute to overall public safety.\nCapturing normality in raw RGB video sequences\nis challenging due to high resolution, complex back-\n\nΣ\n\nt-3\n\nt-2\n\nt-1\n\nt\n\nFigure 1. Given preceding skeleton keypoints (colored dots),\nSeeKer estimates the multivariate normal distribution of probable\nlocations for the subsequent keypoint. Observing keypoints at improbable locations indicates anomalous behaviour (e.g. fainting).\n\ngrounds, and spatio-temporal correlations between consecutive frames [34]. Consequently, previous anomaly detection approaches turn to feature representations extracted\nwith deep models [2, 55] and optical flow predictions [36]\nas well as to combinations of multiple modalities [42]. Although these approaches achieve varying degrees of success, video anomaly detection remains an open challenge.\nIn the context of human-related anomalies, promising approaches rely solely on skeletal representations of human\nposes [16, 23]. These are particularly relevant as problematic human behaviour can often be associated with irregular\nbody positions [3]. Moreover, skeleton sequences provide\na low-dimensional and anonymous representation that reduces susceptibility to biases such as variations in clothing,\nbody shape, or ethnicity and ensures that anomaly detection\nis based solely on motion dynamics. Previous approaches\nto skeleton-based anomaly detection [17, 39, 55] consider\nskeletons as graphs and train graph-oriented models [56]\nto maximize the likelihood of the skeleton sequence [23].\nHowever, such monolithic approaches ignore the causality\nin skeleton sequences inherent in the temporal domain and\noverlook the compositional nature of skeletons. Moreover,\nanomaly scores of these approaches cannot account for the\nuncertainty of skeleton keypoint detectors.\n\n\fIn this manuscript, we propose SeeKer (Sequential\nKeypoint Density Estimator), a method for detecting\nanomalous human behaviour by predicting the conditional\ndensity of skeleton keypoints, as visualized in Figure 1.\nGiven the preceding keypoints, SeeKer predicts a multivariate normal distribution over possible locations for the\nsubsequent keypoint. Applying this approach across the entire skeleton sequence results in an autoregressive factorization of the joint sequence density at the keypoint level.\nConsequently, SeeKer training corresponds to maximizing\nsequence likelihood. During inference, SeeKer identifies\nskeletons as anomalous if their constituent keypoints deviate from the predicted distributions. The corresponding skeleton anomaly score is a sum of keypoint likelihoods weighted by the keypoint extraction confidence from\nan off-the-shelf skeleton extractor. Thus, our final decision accounts for uncertainties across all pipeline components. Overall, SeeKer presents the following key novelties\nto skeleton-based anomaly detection: autoregressive density factorization at the keypoint level, interpretable compositional anomaly scoring, and principled inclusion of keypoint detection uncertainty. Experimental evaluation shows\nthat SeeKer achieves six percentage points absolute improvement over the best previous method on the UBnormal\ndataset and five percentage points absolute improvement on\nthe MSAD-HR dataset in terms of AUROC.\n\n2. Related work\nVideo anomaly detection. Video anomaly detection [30,\n43] focuses on identifying anomalous frames within video\nsequences. This task is particularly relevant in surveillance\n[48] where anomalies may indicate accidents or emergencies [34]. Early approaches to frame-based video anomaly\ndetection map input frames into a shared feature space\n[2, 14] and apply decision rules that differentiate between\nnormal and abnormal patterns [25]. More recent approaches\n[8, 16, 19] focus on bounding box detections and recognize\nanomalies using self-supervised features [20, 53]. Other\nmethods leverage failed optical flow predictions [36], errors\nin denoising of diffusion models [55], and predictions from\ncooperatively trained deep models [59]. In addition, there\nare exciting density estimation techniques such as denoising score matching [42]. However, these RGB-based methods may raise ethical concerns due to potential appearancebased biases and difficult anonymization. SeeKer builds\natop skeleton sequences, and thus avoids such concerns.\nSkeleton-based video anomaly detection. Video anomaly\ndetection based on human skeleton sequences [11, 41]\nis particularly effective due to anonymity, low computational requirements, and domain invariance [23]. Existing\nskeleton-based methods capture spatio-temporal dependencies within skeleton sequences using recurrent models [11]\nor convolutional variational autoencoders [26, 27]. Alterna-\n\ntively, viewing skeletons as graphs [17, 23, 39, 41] allows\nfor processing with graph-based architectures [56, 57]. The\ntrained models then detect anomalies as failed pose predictions [16, 26] or unlikely sequences [23]. Unlike previous\napproaches, SeeKer leverages the compositional nature of\nskeletons and applies autoregressive sequence factorization\nat the keypoint level. This results in improved alignment,\nprincipled inclusion of keypoint detection uncertainty, and\ninterpretable scoring in the sense that we can easily identify\nthe keypoint(s) that triggered the anomaly detector.\nHuman pose estimation. Human pose estimation [47, 49]\naims to detect key body joints in an image and assemble them into skeletal structures. Recent pose estimators\n[15, 61] allow for accurate real-time detection of all skeletons in a given image, facilitating skeleton-based recognition. SeeKer builds on efficient pose estimators [15] to enable real-time anomaly detection. An overview of human\npose estimation can be found in surveys [10, 29].\nAutoregressive data likelihood factorization. Autoregressive factorization of data likelihood emerged as a foundational approach across numerous machine learning applications with a dominant temporal domain [5, 12]. Such factorization is conveniently modeled using sliding window based\napproaches [6, 52], recurrent neural networks [24, 46] or\ntransformer decoders [9, 51] with causal self-attention layers [32, 50]. SeeKer relies on autoregressive factorization\nof skeleton sequence density.\n\n3. Skeleton anomaly detection by predicting\nprobable locations of subsequent keypoint\nProblem setup. Let D = {Xi = (X1i , X2i , . . . , XTi i )}M\ni=1\nbe a dataset of M skeleton sequences Xi that track human\nactivity throughout Ti time steps. Each skeleton Xti ∈ Xi is\nextracted from the corresponding image and tracked across\nmultiple frames with AlphaPose [15], an off-the-shelf detector and tracker. Each skeleton Xt is an N × D matrix\nwith rows corresponding to skeleton joints and columns representing the spatial coordinates of the detected keypoint. In\npractice, N = 18 (number of keypoints) and D = 2 (coordinates of each keypoint). Thus, each sequence Xi forms a\nthird-order tensor of shape Ti × N × D. Given the dataset\nD of normal skeleton sequences, our objective is to develop\nan anomaly detector τ : Xi → {0, 1}Ti capable of distinguishing between regular and anomalous skeletons in each\ntime instant of a given sequence.\nThe core approach behind SeeKer is to predict a conditional distribution of probable keypoint locations based on\nthe preceding keypoints in the skeleton sequence, as visualized in Figure 2. Leveraging this design in conjunction\nwith the compositional nature of skeletons provides a highly\ninterpretable skeleton anomaly score that aggregates likelihoods estimated at the keypoint level.\n\n\fAUTOREGRESSIVE\nMODEL\n\npast keypoints\n\nμ\nΣ\n\nTraining objective:\n\nmaximize conditional keypoint likelihood\nσy\n\nsubsequent\nkeypoint\nμ\n\nXt-4\n\nXt-3\n\nXt-2\n\nXt-1\n\nXt\n\nσx\n\nAnomaly score:\n\npreceding keypoints\n&amp; target\n\nevaluate conditional keypoint likelihood\npredicted distributions\nof probable keypoint locations\n\nFigure 2. SeeKer training starts by flattening the target skeleton Xt and the preceding skeletons X&lt;t into vector representations. Then, the\nconcatenated vectors of the preceeding keypoints and the target skeleton are fed to an autoregressive model, which outputs the mean µθ\nand covariance Σθ for each keypoint of the target. These values induce normal distributions under which each keypoint should be likely.\n\n3.1. Autoregressive density of skeleton sequences\nWe derive the conditional per-keypoint density from the\njoint density of a skeleton sequence with a top-down approach. The joint density of a skeleton sequence X can be\nconveniently factorized by autoregressive modeling [7, 21]\nin order to capture skeleton motion:\n\nBoth µθ and Σθ are predicted from the preceding keypoints\nin the current timestep Xt,&lt;n and the past keypoints X∆\nusing a deep autoregressive model with tuneable parameters\nθ. Altogether, we can now express the log-likelihood of the\nentire sequence (1) in terms of the keypoint likelihoods:\n  \\label {eq:seq_keypoint_loglik} \\ln p_\\theta (\\mathbf {X}) = \\sum _{t=1}^T \\sum _{n=1}^N \\ln \\mathcal {N}(X_{t,n}|\\boldsymbol {\\mu }_\\theta , \\Sigma _\\theta ). \n\n  \\label {eq:likelihood} p_\\theta (\\mathbf {X}) = \\prod _{t=1}^T p_\\theta (X_t| \\mathbf {X}_{&lt;t}) \\approx \\prod _{t=1}^T p_\\theta (X_t| \\mathbf {X}_{\\Delta }). \n\n(1)\n\nHere, the conditional likelihood of a skeleton Xt is determined from the skeletons from the past t − 1 time steps,\ndenoted by X&lt;t . Given skeleton sequences of arbitrary\nlength, we adopt a siding-window approach with a fixedsize time window. In practice, this means that we can faithfully approximate pθ (Xt |X&lt;t ) using only past ∆ skeletons,\ni.e., pθ (Xt |X∆ ), where ∆ is sufficiently large to capture\ncrucial temporal dependencies.\nSince each skeleton consists of keypoints, we can further\nmodel the conditional likelihood of each skeleton Xt as the\nautoregressive joint likelihood of N keypoints:\n  \\label {eq:skel_joi_lik} p_\\theta (X_t|\\mathbf {X}_{\\Delta }) = \\prod _{n=1}^N p_\\theta (X_{t,n}|X_{t,&lt;n},\\mathbf {X}_{\\Delta }). \n\n(2)\n\nWe condition the density of n-th keypoint at timestep t on\nthe preceding n−1 keypoints of the current timestep, as well\nas N · ∆ keypoints from the past timesteps, as ilustrated on\nFigure 3. This formulation requires a fixed ordering of keypoints across skeletons. However, as experimentally confirmed later, keypoint ordering does not affect the model’s\nexpressiveness [40].\nWe further define per-keypoint conditional likelihoods as\nmultivariate normal distributions with mean µθ and covariance Σθ computed from the previous keypoints:\n  \\label {eq:normal_fact} p_\\theta (X_{t,n}|X_{t,&lt;n},\\mathbf {X}_{\\Delta }) := \\mathcal {N}(X_{t,n}|\\boldsymbol {\\mu }_\\theta , \\Sigma _\\theta ). \n\n(4)\n\n(3)\n\npast keypoints\n\nAUTOREGRESSIVE\nMODEL\n\nμ\nΣ\n\npreceding\nkeypoints\n\nkeypoint n\n\nLegend:\npast/preceding keypoints\nmasked keypoints\ncurrent keypoint\nestimated distribution\n\nXΔ\n\nXt\n\nComputed simultaneously\nfor all keypoints!\n\nFigure 3. We autoregressively predict distributions of possible\nkeypoint locations for the current skeleton Xt . For instance, the\ndistribution of the current keypoint Xt,n (denoted in red) is estimated from all past keypoints X∆ and the preceding keypoints\nXt,&lt;n , all denoted in blue. Dark keypoints are masked due to autoregressive likelihood factorization.\n\nOptimization objective. Given a dataset of regular skeleton sequences D, we recover the maximum likelihood estimate of the parameters θ by minimizing:\n  \\theta _\\text {MLE} = \\underset {\\theta }{\\text {argmax}} \\,L(\\theta ; \\mathcal {D}), L(\\theta ; \\mathcal {D}) = -\\sum _{\\mathbf {X} \\in \\mathcal {D}} \\ln p_\\theta (\\mathbf {X}) .  (5)\nDue to Gaussian nature of our distributions and autoregressive factorization of the sequence likelihood (4), the objec-\n\n\ftive L(θ; D) simplifies to (as detailed in Appendix A):\n  \\label {eq:loss_objective} L(\\theta ; \\mathcal {D}) \\cong \\sum _{\\mathbf {X}, t, n} (X_{t, n} - \\boldsymbol {\\mu }_\\theta )^\\top \\Sigma ^{-1}_\\theta (X_{t, n} - \\boldsymbol {\\mu }_\\theta ) + \\ln \\text {det} \\, \\Sigma _\\theta . \n(6)\nThe objective (6) encourages the model to minimize the\nMahalanobis distance [1] between the observed keypoint\nXt,n and the normal distribution with predicted parameters\nµθ and Σθ . The second loss term can be viewed as a form\nof regularization that prevents trivial solutions, e.g. large covariance that makes all locations equally likely.\nFigure 2 visualizes the training procedure of SeeKer. We\naggregate locations from the preceding keypoints and feed\nthem to an autoregressive model that estimates the distribution parameters (µ and Σ) for each of the subsequent\nkeypoints in the target skeleton. The training proceeds by\nadapting the predicted distribution parameters so that the\nlikelihood of the observed keypoints is maximized. Note\nthat the presented design offers great interpretability since\nit operates in the original 2D space of skeleton keypoints.\nAutoregressive architectures. The nature of skeleton sequences implies that we will anticipate N new keypoints\nat every timestep t. Therefore, an appropriate model must\nbe capable to simultaneously predict the mean µ and covariance Σ for N multivariate normal distributions. Figure\n4 illustrates the required relationships between inputs and\noutputs in the SeeKer framework. Observe that these relations closely resemble the teacher forcing computational\ngraph [28] commonly used in natural language processing.\nμ\nΣ\nAUTOREGRESSIVE\nMODEL\n\npast keypoints\n\nX&lt;t\n\n3.2. Composite anomaly score\nSeeKer expresses the density of a skeleton sequence as aggregate key-point density (Eq. 2). Thus, observing a keypoint at a probable location indicates normal (expected) behavior. Contrary, observing the keypoint at an improbable\nlocation signals abnormal behavior. We define the anomaly\nscore of the skeleton Xt given the context X∆ as a joint\ndensity of its keypoints:\n  s'(X_t|\\mathbf {X}_{\\Delta }) = - \\sum _{n} \\ln p_{\\theta _\\text {MLE}}(X_{t,n}|X_{t,&lt;n},\\mathbf {X}_{\\Delta }). \\label {eq:skeleton_score_inial} \n\n(7)\n\nThe anomaly score (7) assumes that the entire skeleton Xt is\naccurately extracted from the corresponding scene It . However, occlusions and faulty skeleton detectors may produce\nerrors. Fortunately, most detectors provide a confidence\nscore for each keypoint [15]. Consequently, we introduce\nthe detection confidence into our anomaly score as:\n  s(X_t|\\mathbf {X}_{\\Delta }) = - \\sum _{n} c_{t, n} \\ln p_{\\theta _\\text {MLE}}(X_{t,n}|X_{t,&lt;n},\\mathbf {X}_{\\Delta }). \\label {eq:anomaly_score}  (8)\nThe score (8) weighs each keypoint log-density by its detection confidence ct,n ∈ [0, 1]. Thus, our anomaly score integrates the uncertainties of all pipeline components. Given\na threshold δ, we can classify each frame as τ (Xt ) =\nJs(Xt |X&lt;t ) &gt; δK, where J·K represents Iverson brackets.\nNote that the proposed anomaly score readily discloses perkeypoint contributions to the decision, which makes it much\nmore interpretable than the current state of the art [23, 42].\nIn the case when multiple humans are present in a scene\nIt , we simply determine the per-frame anomaly score as\nthe maximum score among all skeletons within that frame.\nConsequently, our per-frame anomaly score sF equals:\n  s_F(\\mathcal {I}_t |\\mathcal {I}_{&lt;t} ) = \\max _{X_t \\in \\mathcal {I}_t} s(X_t|\\mathbf {X}_{\\Delta }). \n\n(9)\n\nXt\npreceding keypoints &amp; target\n\nFigure 4. Graphical representation of the causality constraints in\nautoregressive factorization. The first (blue) output depends only\non past keypoints, while the green output depends on all past keypoints and preceding blue and red keypoints from the target.\n\nThe described causal constraint can be enforced using\ndifferent architectures [21, 24, 51]. Our experimental evaluation revealed that the relatively simple masked fully connected model [21] performs best for our task, which can be\nattributed to the uniformity of the skeleton sequences. Our\nmodel differs from [21] by following the natural ordering\nof inputs while allowing neighboring inputs (e.g., keypoint\ncoordinates) to be codependent rather than strictly causal.\nThus, we enforce causality through fixed blockwise triangular masks. We revisit this architecture in Appendix B.\n\nNext, we experimentally validate SeeKer utility on the standard human-related anomaly detection benchmarks.\n\n4. Experimental setup\nDatasets. We consider three publicly available datasets\nfor unsupervised video anomaly detection in skeleton sequences. UBnormal [3] is a synthetic dataset with 268 training, 64 validation, and 211 test video sequences. The inlier sequences contain actions such as walking while texting and talking to others. Anomalous actions include unexpected behaviour, such as stealing or fighting. This is\nthe most relevant dataset for our task due to highly accurate labels. ShanghaiTech [34] consists of 330 training and\n107 test videos of real-world scenes. Walking, standing,\nor sitting are considered as inlier actions, while cycling,\nskateboarding, and fighting are anomalous. Furthermore,\n\n\fboth datasets contain anomalous events that are not humanrelated (e.g. car accident or fire). Consequently, we also\nconsider dataset subsets that contain only human-related\nanomalies as suggested in [16, 45] refered to as UBnormalHR and ShanghaiTech-HR. The MSAD [62] dataset includes videos captured across diverse locations and various\nviewpoints, ensuring a wide range of perspectives and conditions, making it the most challenging benchmark to date.\nMSAD contains 720 videos in total, some extending up to\n6K frames, and features 55 distinct abnormal events. We focus on the human-related subset with 20 distinct abnormal\nactions, MSAD-HR, as the full dataset track includes scenarios and events related to industrial automation and manufacturing without any human involvement. Note that nonhuman related anomalies on UBnormal and ShanghaiTech\nstill involve humans, making them detectable through human reactions to events like fire or unusual vehicle behavior. Previous work [23] noticed that contemporary skeleton\nextractors [15] and trackers [54] fail to produce satisfactory outputs on some datasets (UCFCrime [48] and Avenue\n[37]). Hence, we skip these datasets in our experiments.\nMetrics. We report the standard anomaly detection metrics AUROC and AP, as well as human-related anomaly\ndetection metrics RBDC and TBDC. Notably, we are the\nfirst to introduce the measurement of AP in this context. We compute AUROC and AP jointly over all test\nframes, which therefore corresponds to micro-averaging,\ne.g. micro-AUROC. We also report the region-based and\ntrack-based detection criteria (RBDC and TBDC) [44] to\nevaluate the spatial and temporal localization of detected\nanomalies on UBnormal and ShanghaiTech since they offer location annotations. RBDC assesses each detected region by calculating its Intersection-over-Union (IoU) with\nthe corresponding ground truth region, labeling it as a true\npositive if the overlap exceeds a specified threshold α. On\nthe other hand, TBDC evaluates the accuracy of tracking\nabnormal regions over time, identifying a detected track as\na true positive if the number of detections within the track\nexceeds a threshold β. Following the previous work [8], we\nset both α and β at 0.1. We calculate the area under the\nROC curve for both metrics, taking into account the tradeoff between detection rate and false-positive rate. For this\nevaluation, we rely on the ground truths provided by [19].\nSome methods are not suitable for calculating RBDC and\nTBDC since they cannot pair features to their temporal or\nspatial locations in the original videos [42].\nBaselines. We organize the considered baselines with respect to the modality they receive on the input. Methods\nthat operate on deep features [22, 34] are denoted with (D).\nMethods that utilize optical flow velocities [36, 57] are denoted with (V), while skeletons-based approaches [23, 42]\nare denoted with (S). We briefly discuss the most relevant\nskeleton-based methods. STG-NF [23] proposes to estimate\n\nthe likelihood of skeleton sequences with a graph-oriented\nnormalizing flow with space and time separable graph convolutions in the coupling layers. MoCoDAD [16] proposes\nto model both normality and abnormality as multimodal by\nforecasting future skeletons with a diffusion model conditioned on the past. MULDE [42] is a recent method that\nleverages an energy-based model trained by a modification\nof denoising score matching that requires the model to have\ntwo times differentiable layers. For a fair comparison, we\nevaluate the AP of the most relevant baseline, STG-NF, with\nmodels provided by the authors.\nImplementation details. Our skeleton extractor procedure\nclosely follows STG-NF [23]. We extract human skeletons\nwith AlphaPose [15] within the YOLOX bounding boxes\n[18] and track skeletons with reID [60] across the video.\nThe output skeletons consist of 18 keypoints in the COCO\npose format [33]. We divide the extracted skeleton trajectories into time segments of T = 24 frames and normalize\nthem to have zero mean and unit variance.\nWe predict the per-keypoint distribution parameters µ\nand Σ with deep autoregressive models that we configure for skeleton sequences. We consider causally masked\nfully connected models [21], transformers [51], and recurrent models. We train the causal fully connected model for\n20 epochs on UBnormal and MSAD-HR and 10 epochs on\nShanghaiTech with the Adam optimizer, learning rate 10−3\nand batch size 256. Since UBnormal is the only dataset\nwith a validation split, we validate all hyperparameters on\nthe UBnormal validation subset and reuse them for ShanghaiTech and MSAD-HR. During inference, SeeKer considers T preceding frames in a sliding-window manner. At the\nbeginning of a sequence, we backtrack the score of the T -th\nframe to the first T − 1 frames. Following [16, 23, 42], we\nfinally apply Gaussian smoothing of the computed anomaly\nscores. However, we apply smoothing for each person separately before aggregating the per-frame anomaly score with\nσ = 10. All reported results are averaged over three runs,\nand variance is consistently below 0.05 pp. Our code is\npublicly available1 .\n\n5. Experimental results\n5.1. Skeleton-based video anomaly detection\nTable 1 compares SeeKer with previous methods on the UBnormal dataset. Our method substantially improves over all\nprevious approaches in terms of AUROC, AP, and RBDC.\nCompared to the best previous skeleton-based method STGNF [23], SeeKer attains substantial increase of over 6 percentage points (pp) AUROC, 17 pp improvement in terms\nof AP, and 10 pp improvement in terms of RBDC, all\nwhile maintaining competitive TBDC. Moreover, SeeKer\nachieves over 15 pp AUROC improvement compared to\n1 https://github.com/adelic99/seeker\n\n\fthe leading method based on deep features Ssmtl++ [20].\nSeeKer also outperforms the multimodal baseline MULDE\n[42], despite relying solely on skeletons. For human-related\nanomalies, SeeKer achieves over 7 pp gain in terms of AUROC and over 12 pp AP improvement over the best performing baseline STG-NF [23]. Thus, SeeKer is a new best\nmodel for anomaly detection on the UBnormal dataset.\nModality\nMethod\nD V S\n\nAUROC\nAP\nRBDC TBDC\nFull HR Full HR\n\n✓\nBAF [19]\n✓\nJigsaw [53]\nSsmtl++ [20]\n✓\n✓ ✓\nFPDM[55]\n✓ ✓ ✓ MULDE [42]\n\n59.3\n56.4\n62.1\n62.7\n72.8\n\n-\n\n-\n\n-\n\n21.9\n11.8\n25.6\n-\n\n53.4\n36.8\n63.5\n-\n\n50.7 52.3 ✓ BiPOCO [27]\n✓ GEPC [41]\n53.4 55.2 ✓ MPED-RNN [11] 60.6 61.2 65.0 65.5 ✓ COSKAD [17]\n✓ MoCoDAD [16] 68.3 68.4 71.8 71.5 62.7 67.2 31.7\n✓ STG-NF [23]\n\n62.3\n\n✓ SeeKer\n\n58.5\n\n77.9 78.9 80.3 79.8 42.0\n\nTable 1. Experimental evaluation of unsupervised anomaly detection on UBnormal [3]. Input modality acronyms denote deep\nfeatures (D), optical flow (V), and skeletons (S).\n\nTable 2 compares SeeKer performance with all previous\napproaches on the ShanghaiTech dataset. Among skeletonbased methods, our approach attains the highest AP and\nRBDC, while ranking second in AUROC and TBDC. Notably, the improvement upon the top-performing skeleton\nbaseline STG-NF is over 9pp in terms of RBDC. In the\ncase of human-related anomalies, SeeKer achieves the best\nAP and the second-best AUROC among skeleton-based approaches and continues to outperform methods that depend on deep features and optical flow velocities. Overall,\nSeeKer is a competitive model on ShanghaiTech dataset.\nTable 3 compares SeeKer with relevant skeleton-based\nmethods on the MSAD-HR dataset [62]. As the first to report results on MSAD-HR, we reproduce the most relevant\nbaselines [16, 23]. SeeKer surpasses these baselines by a\nsubstantial margin of 5.4 pp in AUROC and more than 3\npp in terms of AP. The MSAD-HR dataset presents significant challenges due to crowded scenes, where frequent human trajectory intersections impact skeleton estimation and\ntracking accuracy. Consequently, the baseline methods only\nmarginally exceed random guessing. Next, we qualitatively\nanalyse SeeKer performance to gain deeper insights into the\nobtained quantitative results.\n\n5.2. Qualitative performance\nThe SeeKer anomaly score (8) is highly interpretable,\nas it consolidates keypoint likelihoods into skeleton-level\nanomaly scores while operating in the original 2D space.\nFigure 5 shows the difference in predictions during nor-\n\nModality\nMethod\nD V S\n\nAUROC\nAP\nRBDC TBDC\nFull HR Full HR\n\n✓\nsRNN [38]\n✓\nConv-AE [22]\nLSA [2]\n✓\n✓ ✓\nFFP [35]\n✓\nGCL [59]\nCAE-SVM [25]\n✓ ✓\n✓ ✓\nVEC [58]\nHF2 [36]\n✓ ✓\n✓ ✓\nFPDM[55]\n✓\nSSMTL [20]\nBA-AED [19]\n✓ ✓\n✓\nSSMTL++ [8]\n✓\nJigsaw [53]\n✓ ✓ ✓ MULDE [42]\n\n68.0 70.4 69.8\n72.5 72.8 72.7\n79.6 78.7 74.8 76.2 78.6 82.7 82.7 83.8 84.2 84.7\n86.7 -\n\n-\n\n-\n\n41.3\n47.1\n22.4\n52.7\n\n78.8\n85.6\n60.8\n83.6\n\n✓ BiPOCO [27]\n- 74.9 ✓ MPED-RNN [11] 73.4 75.4 76.0 77.0 ✓ MTP [45]\n✓ GEPC [41]\n76.1 74.8 - 75.5 ✓ PoseCVAE [26]\n✓ Normal Graph [39] - 76.5 ✓ COSKAD [17]\n- 77.1 ✓ GCAE-LSTM [31] - 77.2 ✓ MoCoDAD [16]\n- 77.6 78.5 ✓ MULDE [42]\n✓ STG-NF [23]\n85.9 87.4 77.6 81.4 52.1\n\n82.4\n\n✓ SeeKer\n\n81.8\n\n85.5 86.9 80.0 81.5 62.5\n\nTable 2. Experimental evaluation of anomaly detection on ShanghaiTech [38]. Input modality acronyms denote deep features (D),\noptical flow (V), and skeletons (S).\nModality\nD V S\n✓\n✓\n✓\n\nMethod\nMoCoDaD [16]\nSTG-NF [23]\nSeeKer\n\nAUROC\n\nAP\n\n53.9\n55.7\n61.1\n\n51.7\n56.5\n60.1\n\nTable 3. Experimental evaluation of unsupervised anomaly detection on the MSAD-HR [62]. All baseline evaluations were reproduced by us.\n\nmal and abnormal behavior. The observations align closely\nwith predictions of possible keypoint locations at normal\ntimesteps. At abnormal timesteps, the predictions tend\nto follow normal motion patterns and deviate significantly\nfrom actual observations, resulting in high anomaly scores.\nIn addition, Figure 6 emphasizes the interpretability of perkeypoint contributions. At each timestep, keypoints contribute with different intensity to the abnormality of the\nskeleton, as visualized through color variation. Notably, this\nlevel of analysis is not feasible with previous methods.\nFigure 7 compares SeeKer and the best skeleton-oriented\nbaseline STG-NF [23] on an anomalous sequence from\nShanghaiTech (bike riding in the pedestrian area). We\nplot both the raw anomaly scores and the anomaly scores\nsmoothed with a 1D Gaussian filter. The x- and y-axes represent time and anomaly score, respectively, and red-shaded\n\n\fA skeleton sequence extracted from the video:\n\nSTG-NF\n\nSeeKer\nSequentially estimated keypoint distributions:\n\nFigure 7. SeeKer accurately signals anomalous frames at the temporal border of the abnormal action, as shown by the blue curves,\neven without Gaussian smoothing (example from ShanghaiTech).\nAnomaly score\n\nKeypoint-level anomaly scores:\n\nNormal walking\n\nAbnormal jumping\n\nAnomaly score\n\nFigure 5. Qualitative performance of SeeKer on an example\nfrom UBnormal. During normal behavior, the observed keypoints\nemerge at anticipated locations. Abnormal behavior causes significant deviation from the expected keypoint locations, which enables seamless anomaly detection.\n\nt\n\nFigure 6. Interpretability of SeeKer shown on an anomalous action\nfrom UBnormal (running). SeeKer anomaly score aggregates perkeypoint likelihoods denoted with varying color intensities. Each\nkeypoint contribution to the final score changes over time.\n\nregions mark frames labeled as anomalous. SeeKer accurately identifies the anomalous frames, while STG-NF fails\nto detect anomalies at the temporal borders of the abnormal\naction. Prior work [42] notes that ShanghaiTech contains\nnoisy labels for skeleton-based anomaly detection. For instance, a bicycle wheel may appear before the rider, delaying detection by skeleton-based methods.\n\n5.3. Discussion\nFor all experiments in the discussion, we report AUROC on\nthe UBnormal and ShanghaiTech test subsetss.\nOn predefined or learned covariance. SeeKer predicts\nparameters of multivariate normal distribution, µ and Σ.\nWe validate the importance of the learned covariance matrix\ncompared to the predefined alternative. We consider prede-\n\nfined covariance (identity matrix), learned diagonal covariance (Σθ = σ 2 I), and learned full covariance. In the latter\ncase, we model the inverse covariance matrix with Cholesky\n⊤\ndecomposition Σ−1\nθ = Lθ Lθ where Lθ is a lower triangular matrix outputted by the model [13]. The decomposition\nensures numerically stable full covariance implementation.\nNote that the case with the identity matrix as covariance\nmakes the second term of objective (6) constant.\nTable 4 compares the performance of learned covariance,\neither full or diagonal, and baseline with the fixed covariance matrix. The obtained results indicate over 10% absolute improvement with respect to the fixed covariance, emphasising the importance of the learned covariance in the\nSeeKer framework.\nCovariance Σ\nidentity\nfull\ndiagonal\n\nUBnormal\nFull\nHR\n61.4\n63.4\n77.8\n78.1\n77.9\n78.9\n\nShanghaiTech\nFull\nHR\n74.1\n74.4\n84.3\n85.8\n85.5\n86.9\n\nTable 4. Learned covariance significantly outperforms the predefined identity matrix covariance.\n\nOn prediction granularity. Autoregressive factorization\ncan be spanned at different granularity levels, i.e. at the\nkeypoint or skeleton level. Each of these options requires\nthe adjustment in masking strategy, as detailed in the Appendix B. Table 5 validates the performance of each of these\ngranularities with the same hyperparameters. We observe\nthat modeling skeleton sequences at the keypoint level consistently outperforms its skeleton-level counterpart across\nthe datasets. Interestingly, both granularities from Table 5\noutperform the current state of the art on UBnormal. This\noutcome underscores the effectiveness of our autoregressive\nmodelling of skeleton sequences.\nOn the impact of keypoint uncertainty. Our anomaly\nscore weights conditional log-likelihoods of each keypoint\nwith its keypoint extractor uncertainty from the skeleton\n\n\fUBnormal\nFull\nHR\n77.9\n78.9\n75.0\n76.8\n\nGranularity\nKeypoint\nSkeleton\n\nShanghaiTech\nFull\nHR\n85.5\n86.9\n79.0\n82.1\n\nTable 5. Per-keypoint vs. per-skeleton prediction granularity.\n\ndetector. Table 6 shows that incorporating the keypoint\nuncertainty into the final anomaly score substantially enhances anomaly detection performance across all datasets.\nThese results emphasise that aggregating uncertainties of all\npipeline components contribute to the end decision. Note\nthat previous best methods [23, 42] cannot easily incorporate keypoint extraction uncertainty in their anomaly score.\nWe also integrate the detector uncertainty in the training\nprocess as discussed in Appendix C.\n\nto the causally masked fully-connected model, we also test\ntransformer architecture [51] that use causal self-attention\nlayers. Each transformer token is a 2D skeleton keypoint\nlocation projected into a higher dimensional space. Further,\nwe encode timestep and keypoint IDs to positional encoding\nof each token, as detailed in Appendix B.\nTable 8 shows that the masked fully connected model\nsignificantly outperforms its transformer-based counterpart.\nWe attribute this gap to the low variability in skeleton sequences, as each person’s gait differs only subtly. Additionally, skeleton sequences are much shorter than text paragraphs, and keypoint tokens have have a much lower dimensionality, which influences the nature of the task and\napplicability of simpler models.\nArchitecture\n\nConfidence\nweighting\n✗\n✓\n\nAnomaly\nscore\nEq. (7)\nEq. (8)\n\nUBnormal\nFull\nHR\n76.8 77.7\n77.9 78.9\n\nShanghaiTech\nFull\nHR\n83.7\n85.2\n85.5\n86.9\n\nTable 6. Integrating keypoint detection uncertainty into the\nanomaly score improves performance.\n\nOn the heuristic smoothing. Post-process smoothing is a\ncommon technique for reducing outliers in time-sequence\ndata. Previous works [16, 23, 42] apply Gaussian kernel\nsmoothing in a sliding window to refine per-frame anomaly\nscores. This postprocessing strategy yields around three\npercentage points performance improvement for the STGNF baseline. SeeKer, on the other hand, accurately detects\naction boundaries by construction, as shown in Figure 7.\nThus, smoothing contributes less to the end score. Furthermore, if we remove postprocessing from both methods,\nSeeKer consistently outperforms STG-NF on all datasets.\nMethod\n\nSmoothing\n\nSTG-NF\nSeeKer\nSTG-NF\nSeeKer\n\n✗\n✗\n\nUBnormal\nFull\nHR\n68.2 68.0\n76.8 77.7\n\nShanghaiTech\nFull\nHR\n83.0\n84.4\n83.4\n84.9\n\n✓\n✓\n\n71.8\n77.9\n\n85.9\n85.5\n\n73.9\n78.9\n\n87.4\n86.9\n\nTable 7. Post-process smoothing only slightly boosts the performance of SeeKer. Importantly, SeeKer without smoothing outperforms STG-NF with smoothing.\n\nOn the keypoint ordering. SeeKer assumes a fixed ordering of skeleton keypoints. Ablations with different keypoint\norderings incur a variance of less than 0.1, demonstrating\nSeeKer invariance to predefined keypoint order. Thus, we\nrely on the standard keypoint ordering [33] by default.\nOn autoregressive model architectures. We analyse the\nperformance of SeeKer depending on the specific model architecture used to predict parameters µ and Σ. In addition\n\nTransformer decoder [51]\nMasked fully connected [21]\n\nUBnormal\nFull\nHR\n71.1\n71.6\n77.9\n78.9\n\nShanghaiTech\nFull\nHR\n79.1\n80.0\n85.5\n86.9\n\nTable 8. Comparison of the proposed masked fully-connected\nmodel and the causal transformer decoder.\n\n6. Conclusion\nWe introduced SeeKer, a detector for anomalous human\nbehaviour based on generative modeling of skeletal sequences. Unlike previous approaches of this kind, SeeKer\nconsiders each skeleton as a collection of keypoints and\nmodels sequence density as a product of Gaussian conditional keypoint densities. The parameters of the conditionals (µ, Σ) are regressed by a causal deep model that ensures that each prediction can only observe the locations of\nthe precedent keypoints. The proposed architecture infers\nall per-keypoint distributions with a single forward pass.\nWe implement the corresponding causal architecture with\nmasked fully connected layers. Interestingly, this formulation outperforms its counterpart based on a transformer\ndecoder, probably due to the specifics of our data. During inference, we evaluate the per-keypoint distributions\nof the considered skeleton given the preceding keypoints\nin a sliding window, and summarize them into a skeletonlevel anomaly score. Here, we take advantage of the composite structure of the proposed anomaly score by weighting the per-keypoint log-densities with the corresponding\nconfidence values of the keypoint detector. The resulting\nanomaly score identifies abnormal behaviour by assessing\nthe surprise of our model. Furthermore, our compositional\nanomaly score is highly interpretable since we can track\nkeypoint contributions to the final decision. The conducted\nexperiments indicate that SeeKer surpasses the state of the\nart on UBnormal and MSAD-HR by a wide margin, while\ndelivering a close runner-up performance on ShanghaiTech.\n\n\f7. Acknowledgements\nThis work has been supported by Croatian Recovery and\nResilience Fund - NextGenerationEU (grant C1.4 R5I2.01.0001). The authors declare no competing interests.\n\nReferences\n[1] Reprint of: Mahalanobis, p.c. (1936) “on the generalised distance in statistics.”. Sankhya Ser. A, 2018. 4\n[2] Davide Abati, Angelo Porrello, Simone Calderara, and Rita\nCucchiara. Latent space autoregression for novelty detection. In IEEE Conference on Computer Vision and Pattern\nRecognition, CVPR 2019, Long Beach, CA, USA, June 1620, 2019, 2019. 1, 2, 6\n[3] Andra Acsintoae, Andrei Florescu, Mariana-Iuliana\nGeorgescu, Tudor Mare, Paul Sumedrea, Radu Tudor\nIonescu, Fahad Shahbaz Khan, and Mubarak Shah. Ubnormal: New benchmark for supervised open-set video anomaly\ndetection. In Computer Vision and Pattern Recognition,\n2022. 1, 4, 6, 13, 14\n[4] Yoshua Bengio and Samy Bengio.\nModeling highdimensional discrete data with multi-layer neural networks.\nIn Advances in Neural Information Processing Systems. MIT\nPress, 1999. 12\n[5] Maria A. Berezina, Daniel Rudoy, and Patrick J. Wolfe. Autoregressive modeling of voiced speech. In IEEE International Conference on Acoustics, Speech, and Signal Processing, ICASSP, pages 5042–5045, 2010. 2\n[6] Vladimir Braverman. Sliding Window Algorithms. 2015. 2\n[7] Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom\nHenighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler,\nJeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen,\nEric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess,\nJack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models\nare few-shot learners. In Advances in Neural Information\nProcessing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December\n6-12, 2020, virtual, 2020. 3, 13\n[8] Antonio Bărbălău, Radu Tudor Ionescu, Mariana-Iuliana\nGeorgescu, Jacob Velling Dueholm, Bharathkumar Ramachandra, Kamal Nasrollahi, Fahad Shahbaz Khan,\nThomas Baltzer Moeslund, and Mubarak Shah. Ssmtl++:\nRevisiting self-supervised multi-task learning for video\nanomaly detection. Comput. Vis. Image Underst., page\n103656, 2022. 2, 5, 6\n[9] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas\nUsunier, Alexander Kirillov, and Sergey Zagoruyko. End-toend object detection with transformers. In European Conference on Computer Vision, 2020. 2\n[10] Yucheng Chen, Yingli Tian, and Mingyi He. Monocular human pose estimation: A survey of deep learning-based methods. Comput. Vis. Image Underst., 192:102897, 2020. 2\n\n[11] Romero F. A. B. de Morais, Vuong Le, Truyen Tran, Budhaditya Saha, Moussa Reda Mansour, and Svetha Venkatesh.\nLearning regularity in skeleton trajectories for anomaly detection in videos. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA,\nUSA, June 16-20, 2019, 2019. 2, 6\n[12] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina\nToutanova. BERT: pre-training of deep bidirectional transformers for language understanding. In Conference of the\nNorth American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACLHLT, 2019. 2\n[13] Garoe Dorta, Sara Vicente, Lourdes Agapito, Neill D. F.\nCampbell, and Ivor Simpson. Structured uncertainty prediction networks. In 2018 IEEE Conference on Computer\nVision and Pattern Recognition, CVPR 2018, Salt Lake City,\nUT, USA, June 18-22, 2018, 2018. 7\n[14] Fernando Pereira dos Santos, Leonardo Sampaio Ferraz\nRibeiro, and Moacir A. Ponti. Generalization of feature embeddings transferred from different video anomaly detection\ndomains. J. Vis. Commun. Image Represent., 2019. 2\n[15] Haoshu Fang, Jiefeng Li, Hongyang Tang, Chao Xu, Haoyi\nZhu, Yuliang Xiu, Yong-Lu Li, and Cewu Lu. Alphapose: Whole-body regional multi-person pose estimation\nand tracking in real-time. IEEE Trans. Pattern Anal. Mach.\nIntell., 2023. 2, 4, 5, 15\n[16] Alessandro\nFlaborea,\nLuca\nCollorone,\nGuido\nMaria D’Amely di Melendugno, Stefano D’Arrigo, Bardh\nPrenkaj, and Fabio Galasso. Multimodal motion conditioned\ndiffusion model for skeleton-based video anomaly detection.\nIn IEEE/CVF International Conference on Computer Vision,\nICCV 2023, Paris, France, October 1-6, 2023, 2023. 1, 2, 5,\n6, 8, 14\n[17] Alessandro Flaborea, Guido Maria D’Amely di Melendugno, Stefano D’Arrigo, Marco Aurelio Sterpa, Alessio\nSampieri, and Fabio Galasso. Contracting skeletal kinematics for human-related video anomaly detection. Pattern\nRecognit., 2024. 1, 2, 6\n[18] Zheng Ge, Songtao Liu, Feng Wang, Zeming Li, and Jian\nSun. Yolox: Exceeding yolo series in 2021. ArXiv, 2021. 5\n[19] Mariana-Iuliana Georgescu, Radu Tudor Ionescu, Fahad Shahbaz Khan, Marius Popescu, and Mubarak Shah. A\nbackground-agnostic framework with adversarial training for\nabnormal event detection in video. IEEE Trans. Pattern Anal.\nMach. Intell., 2022. 2, 5, 6\n[20] Mariana-Iuliana Georgescu, Antonio Bărbălău, Radu Tudor\nIonescu, Fahad Shahbaz Khan, Marius Claudiu Popescu,\nand Mubarak Shah. Anomaly detection in video via selfsupervised and multi-task learning. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR),\n2020. 2, 6\n[21] Mathieu Germain, Karol Gregor, Iain Murray, and Hugo\nLarochelle. MADE: masked autoencoder for distribution estimation. In International Conference on Machine Learning,\n2015. 3, 4, 5, 8, 12\n[22] Mahmudul Hasan, Jonghyun Choi, Jan Neumann, Amit K.\nRoy-Chowdhury, and Larry S. Davis. Learning temporal\n\n\fregularity in video sequences. In 2016 IEEE Conference on\nComputer Vision and Pattern Recognition, CVPR 2016, Las\nVegas, NV, USA, June 27-30, 2016, pages 733–742. IEEE\nComputer Society, 2016. 5, 6\n[23] Or Hirschorn and Shai Avidan. Normalizing flows for human pose anomaly detection. In International Conference\non Computer Vision, 2023. 1, 2, 4, 5, 6, 8\n[24] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term\nmemory. Neural Comput., 1997. 2, 4\n[25] Radu Tudor Ionescu, Sorina Smeureanu, Bogdan Alexe,\nand Marius Popescu. Unmasking the abnormal events in\nvideo. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017, 2017.\n2, 6\n[26] Yashswi Jain, Ashvini Kumar Sharma, Rajbabu Velmurugan,\nand Biplab Banerjee. Posecvae: Anomalous human activity detection. In 25th International Conference on Pattern\nRecognition, ICPR 2020, Virtual Event / Milan, Italy, January 10-15, 2021, 2020. 2, 6\n[27] Asiegbu Miracle Kanu-Asiegbu, Ram Vasudevan, and Xiaoxiao Du. Bipoco: Bi-directional trajectory prediction with\npose constraints for pedestrian anomaly detection. CoRR,\nabs/2207.02281, 2022. 2, 6\n[28] Alex M Lamb, Anirudh Goyal ALIAS PARTH GOYAL,\nYing Zhang, Saizheng Zhang, Aaron C Courville, and\nYoshua Bengio. Professor forcing: A new algorithm for\ntraining recurrent networks. In Advances in Neural Information Processing Systems, 2016. 4\n[29] Gongjin Lan, Yu Wu, Fei Hu, and Qi Hao. Vision-based\nhuman pose estimation via deep learning: A survey. IEEE\nTrans. Hum. Mach. Syst., 2023. 2\n[30] Roberto Leyva, Victor Sanchez, and Chang-Tsun Li. Video\nanomaly detection with compact feature sets for online performance. IEEE Trans. Image Process., 2017. 1, 2\n[31] Nanjun Li, Faliang Chang, and Chunsheng Liu. Humanrelated anomalous event detection via spatial-temporal graph\nconvolutional autoencoder with embedded long short-term\nmemory network. Neurocomputing, 2021. 6\n[32] Yingcong Li, Yixiao Huang, Muhammed Emrullah Ildiz,\nAnkit Singh Rawat, and Samet Oymak. Mechanics of next\ntoken prediction with self-attention. In International Conference on Artificial Intelligence and Statistics, 2024. 2\n[33] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays,\nPietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence\nZitnick. Microsoft coco: Common objects in context. In\nComputer vision–ECCV 2014: 13th European conference,\nzurich, Switzerland, September 6-12, 2014, proceedings,\npart v 13, pages 740–755. Springer, 2014. 5, 8\n[34] Wen Liu, Weixin Luo, Dongze Lian, and Shenghua Gao. Future frame prediction for anomaly detection - A new baseline. In Conference on Computer Vision and Pattern Recognition, 2018. 1, 2, 4, 5, 14\n[35] Wen Liu, Weixin Luo, Dongze Lian, and Shenghua Gao. Future frame prediction for anomaly detection - A new baseline. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June\n18-22, 2018, pages 6536–6545. Computer Vision Foundation / IEEE Computer Society, 2018. 6\n\n[36] Zhian Liu, Yongwei Nie, Chengjiang Long, Qing Zhang, and\nGuiqing Li. A hybrid video anomaly detection framework\nvia memory-augmented flow reconstruction and flow-guided\nframe prediction. 2021 IEEE/CVF International Conference\non Computer Vision (ICCV), 2021. 1, 2, 5, 6\n[37] Cewu Lu, Jianping Shi, and Jiaya Jia. Abnormal event detection at 150 FPS in MATLAB. In IEEE International Conference on Computer Vision, ICCV 2013, Sydney, Australia,\nDecember 1-8, 2013, 2013. 5, 15\n[38] Weixin Luo, Wen Liu, and Shenghua Gao. A revisit of sparse\ncoding based anomaly detection in stacked RNN framework.\nIn International Conference on Computer Vision, 2017. 6\n[39] Weixin Luo, Wen Liu, and Shenghua Gao. Normal graph:\nSpatial temporal graph convolutional networks based prediction network for skeleton based video anomaly detection.\nNeurocomputing, 2020. 1, 2, 6\n[40] Eran Malach. Auto-regressive next-token predictors are universal learners. In International Conference on Machine\nLearning, 2024. 3\n[41] Amir Markovitz, Gilad Sharir, Itamar Friedman, Lihi ZelnikManor, and Shai Avidan. Graph embedded pose clustering for anomaly detection. In 2020 IEEE/CVF Conference\non Computer Vision and Pattern Recognition, CVPR 2020,\nSeattle, WA, USA, June 13-19, 2020, 2020. 2, 6\n[42] Jakub Micorek, Horst Possegger, Dominik Narnhofer, Horst\nBischof, and Mateusz Kozinski. MULDE: multiscale logdensity estimation via denoising score matching for video\nanomaly detection. In IEEE/CVF Conference on Computer\nVision and Pattern Recognition, CVPR 2024, Seattle, WA,\nUSA, June 16-22, 2024, 2024. 1, 2, 4, 5, 6, 7, 8\n[43] Xuan Mo, Vishal Monga, and Raja Bala. Simultaneous sparsity model for multi-perspective video anomaly detection. In\nInternational Conference on Image Processing, 2014. 1, 2\n[44] Bharathkumar Ramachandra and Michael J. Jones. Street\nscene: A new dataset and evaluation protocol for video\nanomaly detection. In IEEE Winter Conference on Applications of Computer Vision, WACV 2020, Snowmass Village,\nCO, USA, March 1-5, 2020, 2020. 5\n[45] Royston Rodrigues, Neha Bhargava, Rajbabu Velmurugan,\nand Subhasis Chaudhuri. Multi-timescale trajectory prediction for abnormal human activity detection. In IEEE Winter Conference on Applications of Computer Vision, WACV\n2020, Snowmass Village, CO, USA, March 1-5, 2020, 2020.\n5, 6, 14\n[46] David E. Rumelhart, Geoffrey E. Hinton, and Ronald J.\nWilliams. Learning representations by back-propagating errors. Nature, 1986. 2\n[47] Benjamin Sapp, Alexander Toshev, and Ben Taskar. Cascaded models for articulated pose estimation. In European\nConference on Computer Vision, 2010. 2\n[48] Waqas Sultani, Chen Chen, and Mubarak Shah. Real-world\nanomaly detection in surveillance videos. In Conference on\nComputer Vision and Pattern Recognition, 2018. 1, 2, 5, 15\n[49] Min Sun, Pushmeet Kohli, and Jamie Shotton. Conditional\nregression forests for human pose estimation. In Computer\nVision and Pattern Recognition, 2012. 2\n\n\f[50] Davoud Ataee Tarzanagh, Yingcong Li, Xuechen Zhang,\nand Samet Oymak. Max-margin token selection in attention mechanism. In Neural Information Processing Systems,\n2023. 2\n[51] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia\nPolosukhin. Attention is all you need. In Neural Information\nProcessing Systems, 2017. 2, 4, 5, 8, 13\n[52] Alexander Waibel, Toshiyuki Hanazawa, Geoffrey E. Hinton, Kiyohiro Shikano, and Kevin J. Lang. Phoneme recognition using time-delay neural networks. IEEE Trans. Acoust.\nSpeech Signal Process., 1989. 2\n[53] Guodong Wang, Yunhong Wang, Jie Qin, Dongming Zhang,\nXiuguo Bao, and Di Huang. Video anomaly detection by\nsolving decoupled spatio-temporal jigsaw puzzles. In Computer Vision - ECCV 2022 - 17th European Conference,\nTel Aviv, Israel, October 23-27, 2022, Proceedings, Part X,\n2022. 2, 6\n[54] Yuliang Xiu, Jiefeng Li, Haoyu Wang, Yinghong Fang, and\nCewu Lu. Pose flow: Efficient online pose tracking. In\nBritish Machine Vision Conference 2018, BMVC 2018, Newcastle, UK, September 3-6, 2018, 2018. 5, 15\n[55] Cheng Yan, Shiyu Zhang, Yang Liu, Guansong Pang, and\nWenjun Wang. Feature prediction diffusion model for video\nanomaly detection. In IEEE/CVF International Conference\non Computer Vision, ICCV 2023, Paris, France, October 1-6,\n2023, 2023. 1, 2, 6\n[56] Sijie Yan, Yuanjun Xiong, and Dahua Lin. Spatial temporal graph convolutional networks for skeleton-based action\nrecognition. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and\nthe 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA,\nFebruary 2-7, 2018, 2018. 1, 2\n[57] Bing Yu, Haoteng Yin, and Zhanxing Zhu. Spatio-temporal\ngraph convolutional networks: A deep learning framework\nfor traffic forecasting. In Proceedings of the Twenty-Seventh\nInternational Joint Conference on Artificial Intelligence, IJCAI 2018, July 13-19, 2018, Stockholm, Sweden, 2018. 2,\n5\n[58] Guang Yu, Siqi Wang, Zhiping Cai, En Zhu, Chuanfu Xu,\nJianping Yin, and Marius Kloft. Cloze test helps: Effective video anomaly detection via learning to complete video\nevents. In MM ’20: The 28th ACM International Conference\non Multimedia, Virtual Event / Seattle, WA, USA, October\n12-16, 2020. ACM, 2020. 6\n[59] Muhammad Zaigham Zaheer, Arif Mahmood, Muhammad Haris Khan, Mattia Segù, Fisher Yu, and Seung-Ik\nLee. Generative cooperative learning for unsupervised video\nanomaly detection. In IEEE/CVF Conference on Computer\nVision and Pattern Recognition, CVPR 2022, New Orleans,\nLA, USA, June 18-24, 2022, pages 14724–14734. IEEE,\n2022. 2, 6\n[60] Kaiyang Zhou, Yongxin Yang, Andrea Cavallaro, and\nTao Xiang. Omni-scale feature learning for person reidentification. In 2019 IEEE/CVF International Conference\n\non Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, 2019. 5\n[61] Leyan Zhu, Zitian Wang, Si Liu, Xuecheng Nie, Luoqi Liu,\nand Bo Li. Multi-person pose regression with distributionaware single-stage models. IEEE Trans. Pattern Anal. Mach.\nIntell., 2024. 2\n[62] Liyun Zhu, Lei Wang, Arjun Raj, Tom Gedeon, and Chen\nChen. Advancing video anomaly detection: A concise review and a new dataset. Advances in Neural Information\nProcessing Systems, 37:89943–89977, 2025. 5, 6, 14\n\n\fSequential keypoint density estimator:\nan overlooked baseline of skeleton-based video anomaly detection\nSupplementary Material\nA. Derivation of the SeeKer optimization objective\nWe train the SeeKer model by minimizing the sequence likelihood (6) that boils down to minimizing the Mahalanobis\ndistance between the observed keypoint Xt,n and the multivariate normal distribution with parameters µθ and Σθ , alongside\na regularization term. The step-by-step derivation goes as follows:\n  L(\\theta ; \\mathcal {D}) &amp;= -\\sum _{\\mathbf {X} \\in \\mathcal {D}} \\ln p_\\theta (\\mathbf {X}) \\\\ &amp;= -\\sum _{\\mathbf {X} \\in \\mathcal {D}} \\sum _{t=1}^T \\sum _{n=1}^N \\ln \\mathcal {N}(X_{t,n}|\\boldsymbol {\\mu }_\\theta , \\Sigma _\\theta ) \\\\ &amp;= - \\sum _{\\mathbf {X}, t, n} \\ln \\frac {1}{(2\\pi ) |\\Sigma _\\theta |^{1/2}} \\exp \\left [ -\\frac {1}{2} (\\mathbf {X}_{t,n} - \\boldsymbol {\\mu }_\\theta )^T \\Sigma _\\theta ^{-1} (\\mathbf {X}_{t,n} - \\boldsymbol {\\mu }_\\theta ) \\right ] \\\\ &amp;= \\frac {1}{2} \\sum _{\\mathbf {X}, t, n} \\left [ (\\mathbf {X}_{t,n} - \\boldsymbol {\\mu }_\\theta )^T \\Sigma _\\theta ^{-1} (\\mathbf {X}_{t,n} - \\boldsymbol {\\mu }_\\theta ) \\right ] + \\ln (2\\pi ) + \\ln \\det \\Sigma _\\theta \\\\ &amp;\\cong \\sum _{\\mathbf {X}, t, n} \\left [ (\\mathbf {X}_{t,n} - \\boldsymbol {\\mu }_\\theta )^T \\Sigma _\\theta ^{-1} (\\mathbf {X}_{t,n} - \\boldsymbol {\\mu }_\\theta ) \\right ] + \\ln \\det \\Sigma _\\theta\n\n(14)\nIn practice, our main model used diagonal covariance, Σ = σI which yields:\n  L(\\theta ; \\mathcal {D}) = \\sum _{\\mathbf {X}, t, n} \\left [ (\\mathbf {X}_{t,n} - \\boldsymbol {\\mu }_\\theta )^T \\text {diag}(1/\\boldsymbol \\sigma ) (\\mathbf {X}_{t,n} - \\boldsymbol {\\mu }_\\theta ) \\right ] + \\ln \\sigma _x + \\ln \\sigma _y \n\n(15)\n\nB. Architectures of autoreregressive density estimators\nB.1. Causal fully connected model\nCausality constraints can be effectively incorporated into deep fully connected models by strategically masking weight matrices [4, 21]. Given an input vector x of size T × N × D (e.g. a flattened matrix X containing a skeleton sequence), we\ndefine the causal fully connected layer (C-FCl ) as:\n  \\text {C-FC$_l$}(\\mathbf {x}) = (\\mathbf {W} \\odot \\mathbf {M}) \\cdot \\mathbf {x} + \\mathbf {b} . \n\n(16)\n\nThe mask M enforces causality by setting weights that correspond to current and subsequent input dimensions to zero. By\nstacking multiple C-FCl layers, we can construct a deep causal fully connected model (C-FC). Assuming L hidden layers,\nwe can express the C-FC with the following equations:\n  \\mathbf {h}_{0} &amp;= \\mathbf {x} \\\\ \\mathbf {h}_{l} &amp;= g((\\mathbf {W}_l \\odot \\mathbf {M}_l)\\mathbf {h}_{l-1} + \\mathbf {b}_l), \\,\\, l=\\{1, \\dots L\\}\\\\ \\boldsymbol \\mu , \\boldsymbol \\sigma &amp;= (\\mathbf {W}_o \\odot \\mathbf {M}_o)\\mathbf {h}_{L} + \\mathbf {b}_o\n\n(19)\nHere, g is some non-linear activation function, such as ReLU. We mask the weights of intermediate layers l with blockwise\nlower triangular matrices Ml :\n  \\mathbf {M}^{l}_{i,j} = \\begin {cases} 1, &amp; \\text {if } \\lfloor j / D \\rfloor \\leq \\lfloor i / D \\rfloor \\\\ 0, &amp; \\text {otherwise} \\end {cases} \\label {eq:M_in} \n\n(20)\n\nensuring that the elements of each keypoint are still codependent. The mask of the output layer Mo is an upper diagonal\n  \\mathbf {M}^o_{i,j} = \\begin {cases} 1, &amp; \\text {if } \\lfloor j / D \\rfloor &gt; \\lfloor i / D \\rfloor \\\\ 0, &amp; \\text {otherwise}, \\end {cases} \\label {eq:M_out} \n\n(21)\n\n\fto ensure independent predictions, e.g. computation without direct influence from its own current and all succeeding representation. We duplicate the mask in the output layer since we output two values for each input, e.g. µ and Σ. For the main\nexperiments that are on the keypoint granularity level, we use D = 2, and for the experiments on the skeleton granularity\nlevel D = N · T = 36 (Table 5). Finally, to ensure that all keypoints contribute equally, the hidden layer dimensions must be\na multiple of the input dimension. This guarantees a balanced flow of information across all keypoints during processing.\nFigure 8 shows a minimal example of a causal fully-connected model. For example, the predicted parameters of distribution under which the keypoint K2 (red) should be probable depends on the keypoint K1 (blue) as highlighted with red weights\n(see Figure 3 in the main text). To maintain clarity, keypoints of preceding skeletons and bias terms bl are omitted from the\nvisualization.\nμx2 μy2\n\nμx3 μy3\n\nσx2 σy2\n\nW3 ⊙ M3\n\nσx3 σy3\n\nT\n\nM3 =\n\nM2 =\n\nW2 ⊙ M2\nW1 ⊙ M1\n\nM1 =\nx1\n\nK1\n\ny1\n\nx2\n\ny2\n\nK2\n\nx3\n\ny3\n\nK3\n\nFigure 8. A minimal example of the causal deep fully connected model. Here we causally predict parameters of the distribution for target\nkeypoint K2 with respect to the preceding keypoint K1 and another target keypoint K3 with respect to preceding K1 and K2 . We also show\nexamples of masks that ensure causality.\n\nB.2. Causal transformer\nTransformer decoder with causal self-attention layers [7, 51] is an alternative architecture that admits autoregressive factorization by construction. We briefly review the causal self-attention layer and analyse its shortcomings in the context of\nskeleton sequences.\nThe causal self-attention layer (C-SA) processes each token in a sequence X by attending only to the preceding tokens.\nIn the case of skeleton keypoint sequences, the corresponding input is an L × d matrix that collects L d-dimensional tokens.\nThis transformation is parametrized by three learnable projection matrices, Wq , Wk and Wv which generate the query, key,\nand value representations, respectively, as follows:\n  \\text {C-SA}(\\mathbf {X}) = \\left (\\sigma (\\mathbf {X} \\mathbf {W}_q \\mathbf {W}_k^\\top \\mathbf {X}^\\top / \\sqrt {d}) \\odot \\mathbf {M}^{\\text {SA}}\\right ) \\mathbf {X} \\mathbf {W}_v . \n\n(22)\n\nHere, σ represents the row-wise softmax function, while the mask M ensures causality by not attending the future tokens in\nthe sequence:\n  \\mathbf {M}^{\\text {SA}}_{ij} = \\begin {cases} 1, &amp; \\text {if } j \\leq i \\\\ 0, &amp; \\text {otherwise}. \\end {cases} \n\n(23)\n\nThis design ensures all model parameters are involved in predicting next sequence token.\nOur empirical observations indicate that the transformer architecture is a suboptimal design choice for autoregressive\ndensity estimation on skeleton sequences.\n\nC. Additional discussion\nC.1. On hyperparameter sensitivity.\nWe tune the SeeKer hyperparameters on the validation subset of UBnormal [3], and apply the same settings to ShanghaiTech\nand MSAD. We use the early stopping criteria and optimize for maximum validation AUROC. Table 9 reports the performance of SeeKer across key hyperparameters: skeleton sequence length, number of hidden layers, and the input expansion\nfactor that governs the size of the hidden layers. SeeKer consistently achieves competitive performance on the UBnormal\nvalidation set across different hyperparameter choices.\n\n\fSequence\nNr. hidden\nExpansion\nAUROC\nAUROC\nAUROC\nlength\nlayers\nfactor\n8\n84.9\n1\n84.8\n1\n85.4\n2\n84.8\n2\n85.4\n16\n84.1\n24\n85.6\n3\n85.6\n3\n85.6\n32\n85.5\n4\n84.6\n4\n85.6\n5\n80.1\n5\n85.5\n48\n85.5\n\nTable 9. Validation of the model architecture hyperparameters on the UBnormal validation set shows that minor adjustments in hyperparameter selection have minimal impact on performance.\n\nC.2. On integrating keypoint detection confidence.\nAdditionally, during training, we train only on confident skeletons. We leverage the per-keypoint detection confidence and\ndefine the skeleton confidence as the mean confidence over its keypoints. We filter out skeletons with a detection confidence\nless than 0.4. This includes occluded skeletons, or skeletons at the border of the frame. Table 10 validates the importance on\ntraining only on skeletons with high detection confidence.\nConfidence\nweighting\n✗\n✓\n\nconfidence\nfiltering\nEq. (7)\nEq. (8)\n\nUBnormal\nFull HR\n75.5\n76.\n77.9 78.9\n\nShangahaiTech\nFull\nHR\n83.7\n84.3\n85.5\n86.9\n\nTable 10. Training on skeletons with high detection confidence improves the performance in terms of AUROC on UBnormal and ShanghaiTech test.\n\nC.3. On non-human related anomalies.\nFigure 9 illustrates SeeKer anomaly scores for an abnormal event from the UBnormal dataset labeled as non-human related\n(smoke). SeeKer accurately flags the corresponding anomalous frames since people exhibit unusual poses in response to this\nanomaly. Some works on skeleton-based methods [16, 45] tend to remove non-human related anomalies from the test dataset.\nHowever, these test cases highlight the versatility of skeleton-based methods like SeeKer by demonstrating their ability to\ndetect anomalies even when they are only indirectly related to human behavior. Moreover, such testing scenarios regularly\nappear in relevant benchmarks [3, 34, 62].\nNon human-related anomaly: smoke\n\nFigure 9. SeeKer can signal non-human related anomalies (e.g. smoke) as long as there are humans in the scene, since humans strike\nunusual poses in such cases (example from UBnormal).\n\nC.4. On computational requirements.\nOur method is efficient in terms of computational requirements. Training requires only 0.76 GB of GPU memory and\ncompletes in under 10 minutes on a single NVIDIA GeForce RTX 3090.\n\n\fD. Limitations\nKeypoint extractors. Contemporary skeleton extractors [15] and trackers [54] can struggle in challenging scenarios, such as\ndense crowds [37] and poor lighting conditions [48]. This may potentially limit the effectiveness of SeeKer in these cases.\nHowever, future advances in skeleton extractions can be easily incorporated into our framework and thus enhance SeeKer\napplicability across diverse conditions.\nPotential biases. SeeKer relies on skeleton sequences that are invariant to human-related appearance. Consequently, we\ncannot introduce any appearance-related biases but may inherit biases of skeleton extractors.\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"