"<!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>This CVPR paper is the Open Access version, provided by the Computer Vision Foundation.\nExcept for this watermark, it is identical to the accepted version;\nthe final published version of the proceedings is available on IEEE Xplore.\n\nLearning from Noisy Supervision: A Denoising–Debiasing Framework\nfor Weakly Supervised Video Anomaly Detection\nYaxin Zhao1 *, Yang Wang1 *, Wenya Guo1 , Sihan Xu1 , Xiangrui Cai1† , Xi Lin2 , Ying Zhang1 , Xiaojie Yuan1\n1\nVCIP, TMCC, DISSec, College of Computer Science, Nankai University\n2\nCollege of Computer Science, Shanghai Jiao Tong University\nyaznz@mail.nankai.edu.cn, wangyang@dbis.nankai.edu.cn, caixr@nankai.edu.cn\n\nAbstract\nWeakly supervised video anomaly detection (WS-VAD) aims\nto localize frame-level anomalies using only video-level labels. This task is typically formulated within a multiple\ninstance learning (MIL) paradigm, where each video is\ntreated as a bag of snippets, achieving robust performance\nwithout requiring additional information. However, existing methods often struggle with noisy supervision signals.\nNormal snippets within abnormal bags are frequently misclassified as anomalies due to inaccurate anomaly scores.\nThese misclassified instances act as noisy samples, introducing false supervision that hinders the learning of true\nanomaly patterns. In this work, we introduce D2 MIL, a Denoising–Debiasing framework within the Multiple Instance\nLearning paradigm designed to suppress noise and improve\nanomaly discrimination. Our approach integrates two key\ncomponents: (1) Denoising Module: We introduce a dynamic drop rate to adaptively filter out suspected noisy samples during training, based on the observation that noisy\nsamples incur higher training losses. (2) Debiasing Module: We leverage a vision-language model to re-evaluate the\ndiscarded samples. This recovers potentially valuable abnormal instances that were mistakenly removed, as they are\nsimilar to noisy samples but difficult for the model to recognize. D2 MIL is a general purpose denoising strategy that\ncan be integrated into any MIL-based method. Our extensive experiments on the three benchmark datasets (ShanghaiTech, UCF-Crime, and MSAD) demonstrate that D2 MIL\nis compatible with diverse MIL frameworks and consistently\nenhances their performance.\n\n[11, 13], with widespread applications in public safety\nsurveillance [14]. To enhanced generalization across diverse scenes and reduced annotation costs, researchers turn\nto weakly supervised settings.\nWeakly Supervised Video Anomaly Detection (WSVAD) relies solely on video-level binary labels (normal/abnormal) for training, has emerged as a widely studied\nresearch direction [6, 24, 28]. Among various WS-VAD approaches, the Multiple Instance Learning (MIL) framework\nhas emerged as the dominant paradigm due to its effectiveness [19, 22, 25, 34]. In MIL, each video is treated as a\n“bag” and its snippets are regarded as “instance”. Normal\nvideos are treated as negative bags in which all instances\nare normal, while abnormal videos are regarded as positive\nbags containing at least one abnormal instance. Typically,\nmodels identify the top-k high-confidence instances from\npositive bags as pseudo-anomalies, using them to guide\ninstance-level representation learning. [3, 7, 9, 17]\nDespite the strong adaptability of the MIL framework\nto WS-VAD, it remains highly susceptible to label noise\nduring training. The noise primarily arises from the inaccurate selection of pseudo-anomalous instances within abnormal videos. Specifically, abnormal videos typically contain far more normal snippets than truly anomalous ones.\nHowever, due to unreliable anomaly score estimation in the\nearly training stages, some normal instances are mistakenly\nassigned high anomaly scores and selected as part of the\ntop-k pseudo-anomalous set. These incorrectly selected instances, referred to as noisy samples, introduce false supervision signals that disrupt the model’s ability to learn genuine anomaly patterns.\nOur preliminary experiments confirm this noise issue.\nAs illustrated in Figure 1a, in the Burglary example from\nUCF-Crime, the MIL model assigns the highest anomaly\nscore to a normal instance, while the true abnormal instance is ranked second. This highlights a selection bias\nthat misleads the training process. Furthermore, Figure 1b\nshows that such noise persists throughout training: misselected normal instances (noise) consistently exhibit high\n\n1. Introduction\nVideo Anomaly Detection (VAD) is a critical task in computer vision, aimed at identifying abnormal events that deviate from typical behavioral patterns in video sequences\n1 *Equal contribution. † Corresponding author.\n\n21326\n\n\fBurglary\n\n1.0\n0.8\nTime\n\n0.6\n\nLoss\n\nNormal Abnormal Normal\n\nule that uses visual language reasoning to recall informative\nhard samples mistakenly filtered out.\n(3) D2 MIL can be integrated into existing MIL-based\nmethods, leading to steady performance improvements\nacross multiple baselines on the ShanghaiTech, UCFCrime, and MSAD datasets.\n\nTrue Sample\nNoise Sample\n\n0.4\n\nScore\n\nNoise\n\n0.2\n0.0\nTime\n\n(a)\n\n0\n\n200\n\n400\n\n600\n\nIteration\n\n800\n\n2. Related Work\n\n1000\n\nWeakly Supervised Video Anomaly Detection detects and\nlocalizes abnormal events using only video-level binary labels, offering a cost-effective alternative to fully supervised\nmethods [10]. A dominant paradigm is MIL, which treats\nvideos as bags of snippets for instance-level anomaly inference, and was first introduced for deep anomaly detection by Sultani et al.[19], establishing a foundational benchmark. RTFM [20] introduces a feature magnitude learning function to alleviate bias from dominant negative instances. TEVAD [4] uses captions to improve VAD by combining semantic textual guidance with visual features to improve discriminability. MGFN [5] proposed a magnitudecontrastive loss and integrated a glance-and-focus strategy\nto better distinguish anomalies from normal patterns. URDMU [34] employs dual memory units to learn discriminative representations of normal and abnormal data. Despite these advances, most MIL-based methods overlook the\ndetrimental effects of noisy supervision during training.\nSeveral recent studies attempt to alleviate noise and bias\nin MIL-based video anomaly detection. UMIL [15] mitigates bias in MIL-based anomaly detection by separating\nconfident and ambiguous segments to achieve invariant feature learning. Park et al. [16] propose Normality-Guided\nMIL, which models normal patterns with learned prototypes to refine unreliable MIL predictions. ProDisc-VAD\n[36] takes an initial step toward addressing this issue by introducing a progressive discrepancy learning framework to\nmitigate label ambiguity. However, it fails to capture the\ndistinctive loss patterns of noisy samples and does not account for hard abnormal samples. In contrast, D2 MIL explicitly addresses both noise and bias through a two-stage\ncollaborative process, leading to more reliable anomaly localization and improved generalization.\nFurthermore, there are also studies based on external information. Pu et al.[17] enriches contextual feature representations by leveraging semantic prompts. Chen et al. [3]\nintroduces class-aware textual prompts to provide semantic guidance during anomaly instance selection. Similarly,\nLEC-VAD [22] incorporates external class-descriptive information to model the completeness of anomalous events.\nWhile prompt-enhanced methods show promise, they rely\non class-specific prior knowledge. By contrast, our approach requires no additional annotations. It leverages a\nfrozen VLM as a general semantic prior to assist debiasing\nwithout introducing extra supervision.\n\n(b)\n\nFigure 1. (a) An abnormal video example from “Burglary” category, with abnormal (red) and normal (blue) intervals, and the\nMIL model’s anomaly score curve below. Highlighted points indicate the highest-scoring (blue) and second-highest-scoring (red)\ninstances. (b) Loss trend of selected top-k samples during training on UCF-Crime dataset, with the red curve for true abnormal\nsamples (low, stable decline) and the blue curve for noise samples\n(high, volatile). The shaded area represents raw loss distribution,\nand the dark line shows the smoothed moving average.\n\nand unstable losses, in contrast to the gradually converging\nloss curve of true abnormal instances. Motivated by this\nobservation, we propose a Dynamic Threshold-based Denoising Module that leverages the high-loss characteristics\nof noisy samples to adaptively filter out suspected noise,\nthereby mitigating such misleading effects.\nIn addition, we observe that some truly abnormal instances also exhibit high training losses, making them indistinguishable from noisy samples (as shown in the red-blue\nshaded overlap in Figure 1b). These high-loss abnormal instances are typically hard examples that the model struggles\nto recognize. Simply discarding all high-loss instances risks\nremoving such hard samples, leading the model to overfit\neasy instances and impairing its generalization ability. To\naddress this, we introduce a VLM-based Debiasing Module. Leveraging the powerful visual understanding and reasoning capabilities of vision-language models (VLMs), we\nprogressively recall potential hard samples from the filtered\nhigh-loss candidates under the guidance of a curriculum\nlearning strategy [1].\nIn summary, we propose a novel framework, Denoising and Debiasing within Multiple Instance Learning\n(D2 MIL), which integrates denoising and debiasing modules to enable robust and generalizable WS-VAD. The main\ncontributions of this paper are as follows:\n(1) We are the first to explicitly distinguish noisy samples from hard abnormal samples within MIL framework.\nOur empirical analysis reveals that high-loss samples contain both harmful noise and valuable hard instances.\n(2) We propose the D2 MIL framework with two complementary modules: a Denoising Module that adaptively\nsuppresses noisy snippets via loss, and a Debiasing Mod-\n\n21327\n\n\fLarge Multimodal Models for Video Anomaly Detection. In recent years, Large Language Models (LLMs)\nand VLMs have been explored in VAD tasks to enhance\nsemantic understanding and interpretability. For example,\nHolmes-VAD [29] innovates by constructing the large-scale\nVAD-Instruct 50K benchmark with single-frame annotations and fine-tuned multi-modal LLM to achieve unbiased\nVAD. However, methods based on fine-tuning LLMs incur\nexcessive computational overhead. VadCLIP [26] adapts\nCLIP for WS-VAD by aligning snippet-level visual features with class-aware textual prompts. VERA [27], in contrast, achieves interpretable anomaly detection via verbalized learning using off-the-shelf VLMs without requiring\nany fine-tuning. Inspired by these methods, we leverage a\nfrozen VLM as an auxiliary module to re-evaluate discarded\nhigh-loss candidates to recall potential hard abnormal samples. Importantly, our method does not require any additional fine-tuning procedures.\n\nscores of instances from normal videos, while maximizing\nthose from abnormal ones, enabling the model to focus on\ndiscriminative anomalous patterns and achieve frame-level\nanomaly localization.\n\n3.2. Stage1: Dynamic Threshold-based Denoising\nModule\n\n3. Method\n\nWe take the first MIL method [19] as a representative example. In each training batch, we sample b abnormal videos\n(B_a ) and b normal videos (B_n ), where the number of both\ntypes is equal. Then, the instances with the highest anomaly\nscores from the normal and abnormal video bags are selected to form training pairs. Later works [34] extend this\nparadigm by selecting the top-k scoring instances instead\nof just one. In this work, we use the k = 1 case as an illustrative example, while the underlying principle remains\nconsistent. The model is trained with a contrastive loss to\nencourage higher anomaly scores for abnormal instances.\nThe loss function is shown in Eq.(1):\n\nIn this section, we present our proposed framework, Denoising and Debiasing in MIL, as illustrated in Figure 2.\nIt comprises two modules: a dynamic threshold-based denoising module and an VLM-based debiasing module. The\ndenoising module dynamically identifies and filters noisy\nsamples during the training of MIL models by applying a\nloss-based thresholding mechanism. On top of this, the debiasing module leverages the visual reasoning capabilities\nof VLM to identify and recover hard samples that may have\nbeen mistakenly removed during the denoising process. In\nthe following subsections, we first formalize the problem\nsetting and then elaborate on the design of each module.\n\n  \\label {eq1:real-loss} L(B_a,B_n)= \\max (0, 1-\\max _{i \\in B_a} f(v^a_i) +\\max _{i \\in B_n} f(v^n_i)),  (1)\n\n3.1. Problem Formulation\n\nwhere f (via ) and f (vin ) represent the anomaly scores of all\ninstances in the i-th bag of the anomaly batch Ba and the\nnormal batch Bn , respectively. And max denotes selecting\nthe instance sai and sni with the highest anomaly scores for\nthe bags via and vin , respectively. The loss encourages the\nhighest-scoring instance from an abnormal video to have\na significantly higher score than that from a normal video,\nenforcing discriminative learning between anomalous and\nnormal patterns.\nSpecifically, for each normal and abnormal bag (vin , via )\nin the batch, we calculate the contrast loss according to\nEq.(1) and obtain the loss sequence Q = {l1 , l2 , . . . , lb },\nwhere each element li corresponds to the loss between the\ni-th normal and anomaly bags. We then sort the loss values\nin ascending order to obtain Qs :\n\nWe follow the task setting of WS-VAD [28, 32], where\neach training video is annotated only with a binary videolevel label  Y \\in \\{0, 1\\} , indicating whether the video contains anomalous events. Frame-level annotations are not\navailable. The goal is to perform fine-grained frame-level\nanomaly localization under this weak supervision setting.\nTo address this, we adopt the widely-used MIL paradigm\n[3, 23]. In this framework, each video v is treated\nas a bag and divided into m non-overlapping snippets\n \\{s_1, s_2, \\dots , s_m\\} , each regarded as an instance. We denote\nnormal videos as v^n with bag label Y^n = 0, implying that\nall instances are normal. Conversely, abnormal videos are\ndenoted as v^a with bag label Y^a = 1, indicating that at least\none instance in the bag is anomalous.\nThe objective is to learn an anomaly scoring function\nf(v) that assigns a instance level anomaly score to each\nvideo. In typical MIL methods, the top-k highest-scoring\ninstances are selected from both normal and abnormal bags.\nA contrastive loss is then applied to minimize the anomaly\n\n  \\begin {split} Q_{\\text {s}} &amp;= \\{ l_{(1)}, l_{(2)}, \\dots , l_{(b)} \\}, \\\\ &amp;\\quad \\text {where } l_{(1)} \\leq l_{(2)} \\leq \\dots \\leq l_{(b)} \\end {split} \n\n(2)\n\nwhere l(i) represents the i-th smallest loss in the batch.\nNext, we design a dynamic dropout rate to filter out noisy\nsamples during training. Specifically, based on the sorted\nloss sequence Qs , we compute the low-loss subset Qkeep and\nthe high-loss subset Qdrop according to the current dropout\nrate. The calculation process is shown in Eq.(3),\n  \\label {eq3:denoise} Q_{\\text {keep}} = \\mathcal {Q}_{\\text {s}}\\big [ : (1 - \\tau (T))b \\big ], \n\n(3)\n\n21328\n\nwhere τ (T ) ∈ [0, 1] denotes the dynamic drop rate at iteration T of the current epoch, which increases gradually\n\n\fAbnormal Video\n\nModel\n\nNormal Video\n\nNormal ��\n\n0.6 0.2 0.4\n\nTop-k\n\n··· 0.5\n\n0.4 0.7 0.8 ··· 0.6\n\nTop-k\n\n�� 0.6 0.4 ··· 0.5\n\n�� 0.7 0.8 ··· 0.6\n\n�(��� , ��� )\n\nPrompt\nImg 1\nVLM\n\nCandidate Noise Set\n\n�2\n\n�3\n\n�(1) ＜ �(2) ＜ �(3)\n\nImg 2\n\nNoise\n\nAbnormal\n\nStage2: Debiasing Module\n\nLow\nloss\n\nDrop\nRecall\n\n··· ��\n\nSort\n\n··· �(�)\n\nDrop rate �(�)\n\nWhich image is more abnormal?\n\nImg 2\n\n�1\n\nNoise sample pair\n\nAbnormal ��\n\nImg 1\n\nNoise loss sequence �\n\nρ(�)\n\nFinal Set\n�����\n\nBackpropagation\n\n��\n\nHigh\nloss\n\nCandidate\nNoise Set\nStage2\n\nStage1: Denoising Module\n\nFigure 2. Our proposed D2 MIL framework consists of two key modules: a Denoising Module, which adaptively filters out high-loss\ninstances based on a dynamic drop rate, forming a candidate noise set; and a Debiasing Module, which leverages a frozen vision-language\nmodel to recover mistakenly discarded abnormal instances. The final loss is computed using a combination of the retained low-loss\ninstances and the recalled hard samples.\n\nAlgorithm 1 Dynamic Threshold-based Denoising\n\nover iterations within each epoch. We adopt a simple yet\neffective linear scheduling strategy for the drop rate, which\navoids introducing additional hyperparameters. This design\nimproves controllability and ease of use, allowing the optimal noise filtering rate to be efficiently determined across\ndifferent datasets with minimal tuning effort. The calculation formula is shown in Eq.(4),\n  \\label {eq4:droprate} \\tau (T) = \\tau _{\\text {max}} \\cdot \\frac {T}{T_{\\text {total}} - 1}, \n\n(4)\n\nRequire: batches Bn , Ba ; total steps Ttotal ; warm-up\nTwarm ; max drop rate τmax\n1: for T = 1 to Ttotal do\n2:\nSample b normal and abnormal video bags Bn =\n{v1n , . . . , vbn }, Ba = {v1a , . . . , vba }\n3:\nSelect top-scoring instances sni , sai\n4:\nCompute MIL loss with Eq.(1)\n5:\nSort all li in ascending order to obtain Qsorted\n6:\nSet drop rate τ (T )\n7:\nKeep lowest-loss instance pairs Qkeep = ⌊(1 −\nτ (T )) · b⌋\n8:\nStore discard high loss noise sets Qdrop for debiasing\n9: end for\n\nwhere \\tau _{\\text {max}} is the maximum drop rate, and T_{\\text {total}} is the\ntotal number of training iterations within one epoch. This\nstrategy enables the model to leverage most samples to learn\ngeneral patterns at the beginning of each epoch, then progressively reduces the interference from noisy samples, thus\nfacilitating more robust anomaly pattern learning.\nThe whole algorithm is explained in Alg. 1. The highloss sample set Qdrop discarded after noise filtering is saved\nand passed to the subsequent debiasing module for further\nprocessing.\n\n3.3. Stage2: VLM-based Debiasing Module\n\nhard samples that the model struggles to recognize, typically reflecting ambiguous anomaly patterns that have not\nyet been learned. Over-pruning such samples can cause the\nmodel to focus excessively on easier patterns, thereby limiting its generalization ability in real-world scenarios.\n\nWhile the denoising module effectively removes high-risk\nnoisy samples during training, we observe that some true\nabnormal instances may be mistakenly filtered out due to\ntheir similarity to noise. These high-loss instances are often\n\n21329\n\nTo address this issue, we introduce a VLM-based Debiasing Module that leverages zero-shot visual reasoning capabilities to selectively recover potentially informative hard\n\n\fsamples from the set of discarded candidate noise set Qdrop\n. This module is applied after denoising, aiming to preserve\nhigh-value anomaly instances without significantly increasing the risk of introducing noise.\nSpecifically, for each high-loss li′ ∈ Qdrop discarded\nby the denoising module, we retrieve its corresponding in′a\nstance pair (s′n\ni , si ), along with the associated video identifier and segment index. The normal instance s′n\ni , sampled from a normal video bag, serves as a true negative. In\ncontrast, the abnormal instance s′a\ni , previously identified as\nsuspected noise, is the main subject of re-evaluation.\nFollowing prior work [2, 21] that demonstrates the effectiveness of single-frame representations, we specifically\nleverage the middle frame of each snippet, as it is more\nlikely to capture the semantic center of local actions. Given\neach normal-abnormal pair, we extract the middle frame of\nthe snippet as a representative keyframe (imgni , imgai ) and\nfeed them into the vision-language model Qwen-VL-Max\n[31]. This model exhibits state-of-the-art cross-modal reasoning capabilities, enabling it to compare the abnormality\nlevel between two images in a zero-shot manner.\nWe design a conservative prompt to guide the model’s\ndecision process:\n\nsample set Qrecall is combined with the low-loss set Qkeep\nfrom the denoising module to compute the final training loss\nand update the model via backpropagation.\n\n4. Experiments\n4.1. Datasets and Evaluation Metrics\nDatasets. We conduct experiments on three widely-used\nWS-VAD evaluation datasets:\n• ShanghaiTech [12] is a medium-scale dataset comprising\n437 surveillance videos recorded from 13 fixed-camera\nstreet scenes. This dataset was originally designed for\nunsupervised anomaly detection, where only normal samples are used for training. Following the setup in Zhong\net al. [33], we adapt it to a weakly supervised scenario to\nevaluate our method.\n• UCF-Crime [19] is a large-scale, real-world dataset containing 1,900 untrimmed videos, recorded in diverse indoor and outdoor environments. The dataset includes 13\nanomalous event categories. For training, video-level labels are provided for 1,610 videos, while frame-level annotations are available for 290 test videos, enabling precise frame-level evaluation.\n• MSAD [35] is a recently introduced high-resolution\ndataset, consisting of 720 videos collected from 14\ndistinct scenarios. These scenarios cover varying indoor/outdoor contexts, lighting conditions, and weather\nvariations. It contains 35 human-related and 20 nonhuman-related anomaly types. We utilize video-level labels for 360 normal and 120 abnormal videos, and conduct evaluations on a test set consisting of 240 abnormal\nand 120 normal videos.\nEvaluation Metrics. Following previous works [20, 34,\n35], we used the Area Under the Curve (AUC) of the frame\nlevel ROC (Receiver Operating Characteristic) as the main\nevaluation metric for three datasets.\n\n“You are a surveillance anomaly analyst. Given\ntwo keyframe images (Image 1, Image 2), determine which image clearly shows an abnormal\nevent. Return 0 for Image 1, 1 for Image 2, and 2\nif uncertain. Only answer 0 or 1 when the abnormality is obvious and you are highly confident. If\nunsure, return 2.”\nThis prompt encourages the model to assess anomaly\nlikelihood conservatively. If the abnormal instance is\njudged as more anomalous, it is regarded as a potentially\nmisfiltered true anomaly and added to the recalled set. Otherwise, if the normal instance appears more anomalous or\nthe model expresses uncertainty, the candidate is treated as\nnoise and permanently discarded. Given the complexity of\nreal-world video data, we adopt a conservative strategy to\nminimize false positives, preferring to miss difficult samples rather than reintroduce noise into the model\nAfter sample filtering, we adopt a curriculum learning\nstrategy [1, 8, 30]. This strategy gradually incorporates\nmore hard samples from the recalled set Qrecall , aiming to\navoid model instability caused by the abrupt reintroduction\nof hard samples. Similar to the dropout rate τ (T ) used in the\ndenoising module, we employ a linear scheduling strategy\nto progressively increase the recall ratioρ(T ) of these hard\nsamples, following the same formulation as Eq.(4). This\nschedule encourages the model to focus on learning simple\npatterns at the early stage of each epoch while gradually increasing exposure to harder samples, enabling the model to\ncapture richer anomaly patterns. Finally, the recalled hard\n\n4.2. Implementation Details\nWe follow the original hyperparameter settings and model\nconfigurations of each baseline to ensure fair evaluation.\nSpecifically, we adopt the settings from [18] for Sultani et\nal., [35] for RTFM and MGFN, [4] for TEVAD, and [34]\nfor UR-DMU. For the Sultani et al. baseline, we adjust\nthe dropout probability (drop p) to ensure stable training\nunder our setup, while keeping all other configurations unchanged.\nFor D2 MIL , we introduce two additional parameters:\nthe maximum noise drop rate τmax and the maximum hard\nsample recall rate ρmax . Based on the parameter analysis\nexperiments, we determine the optimal parameter settings\nfor each baseline. For the Sultani et al. method, which\nselects the top-1 feature, the best performance is achieved\nwith τmax = 0.5 and ρmax = 0.1 as shown in Table 7. For\n\n21330\n\n\fMethod\n\nFeature\n\nAUC(%)\n\nMIST (CVPR 2021)\nRTFM (ICCV 2021)\nMSL (AAAI 2022)\nTEVAD (CVPR 2023)\nMGFN (AAAI 2023)\nUR-DMU (AAAI 2023)\nProDisc-VAD (arxiv 2025)\n\nI3D\nI3D\nI3D\nI3D + Text\nI3D\nI3D\nViT\n\n94.83\n97.03\n95.45\n97.80\n93.97\n96.15\n97.98\n\nRTFM + D2 MIL\nTEVAD + D2 MIL\nMGFN + D2 MIL\nUR-DMU + D2 MIL\n\nI3D\nI3D + Text\nI3D\nI3D\n\n97.93 (+0.90)\n98.13 (+0.33)\n94.13 (+0.16)\n97.44 (+1.29)\n\nFeature\n\nSultani et al. + D2 MIL\nRTFM + D2 MIL\nTEVAD + D2 MIL\nMGFN + D2 MIL\nUR-DMU + D2 MIL\n\nI3D\nI3D\nI3D + Text\nI3D\nI3D\n\nAUC(%)\n\nRTFM (ICCV 2021)\nTEVAD (CVPR 2023)\nMGFN (AAAI 2023)\nUR-DMU (AAAI 2023)\n\nI3D\nI3D + Text\nI3D\nI3D\n\n86.65\n86.82\n84.96\n85.02\n\nRTFM + D2 MIL\nTEVAD + D2 MIL\nMGFN + D2 MIL\nUR-DMU + D2 MIL\n\nI3D\nI3D + Text\nI3D\nI3D\n\n88.52 (+1.87)\n87.94 (+1.12)\n85.32 (+0.36)\n86.68 (+1.66)\n\ndetection; and UR-DMU, a state-of-the-art method under\nthe current MIL framework on the UCF-Crime dataset. To\nensure a fair and focused comparison, we adhere to the\nstandard WS-VAD setting by excluding methods that leverage additional information (e.g., anomaly category descriptions) and limiting LLM-based methods to results obtained\nwithout instruction fine-tuning. This evaluation protocol\nmore accurately reflects real-world scenarios where supervision and resources are constrained.\nResults on ShanghaiTech. The frame-level AUC results on the ShanghaiTech dataset are presented in Table 1.\nOur proposed D2 MIL method consistently enhances performance across all MIL-based baselines. Specifically, integrating D2 MIL brings about AUC improvements for each\nbaseline: 0.90% over RTFM, 0.33% over TEVAD, and\n0.16% over MGFN, 1.29% over UR-DMU. Even though\nmost baselines already attain strong performance on this\ndataset, our method still maintains stable enhancements.\nMeanwhile, TEVAD reaches a score of 98.13% and outperforms ProDisc-VAD[36], a method designed to address\nambiguous labels.\nResults on UCF-Crime. The frame-level AUC results\non the UCF-Crime dataset are presented in Table 2. Across\nrepresentative MIL-based baselines, our proposed D2 MIL\nmethod delivers consistent performance boosts. Specifically, it yields a 1.90% improvement over the Sultani et\nal. method (reproduced using I3D two-stream features)\n[18], 1.16% over RTFM, 0.22% over TEVAD, 0.40% over\nMGFN, and 1.61% over UR-DMU. Notably, integrating\nD2 MIL into UR-DMU yields an AUC of 87.80%, establishing a new state-of-the-art among MIL-based methods.\nIt also outperforms the LLM-based Holmes-VAD and the\nVLM-based VERA, further demonstrating the effectiveness\nof our approach on large-scale datasets and its ability to substantially enhance MIL model.\nResults on MSAD. As a recently released dataset with\ndiverse scenarios, MSAD is notably more complex to evaluate, with limited existing results. As shown in Table 3, our\n\nAUC(%)\n\nSultani et al. (CVPR 2018)\nC3D\nSultani et al. (CVPR 2018)\nI3D\nSultani et al. (2021)\nI3D\nMIST (CVPR 2021)\nI3D\nRTFM (ICCV 2021)\nI3D\nMSL (AAAI 2022)\nI3D\nTEVAD (CVPR 2023)\nI3D + Text\nMGFN (AAAI 2023)\nI3D\nUR-DMU (AAAI 2023)\nI3D\nUMIL (CVPR 2023)\nI3D\nHolmes-VAD (CVPR 2024)\nVit\nVLM\nVERA (CVPR 2025)\nProDisc-VAD (arxiv 2025)\nViT\n\nFeature\n\nTable 3. AUC results on the MSAD dataset. Notation follows\nTable 1.\n\nTable 1. AUC results on the ShanghaiTech dataset. Gray rows\nindicate baseline methods enhanced by D2 MIL . Improvements\nover original methods are shown in parentheses.\n\nMethod\n\nMethod\n\n75.41\n76.21\n83.34\n82.30\n83.14\n85.30\n84.54\n83.30\n86.19\n86.75\n84.61\n86.55\n87.12\n85.24 (+1.90)\n84.30 (+1.16)\n84.76 (+0.22)\n83.70 (+0.40)\n87.80 (+1.61)\n\nTable 2. AUC results on the UCF-Crime dataset. Notation follows\nTable 1. No Instruction fine-tuning is used for HolmesVAD.\n\nother baselines that adopt top-k feature selection, the optimal performance is typically obtained with τmax ranging\nfrom 0.1 to 0.2 and ρmax around 0.1.\n\n4.3. Comparisons with SOTA Methods\nWe integrate the D2 MIL framework into several representative MIL-based baselines to validate the effectiveness of our\nproposed approach.[4, 5, 19, 20, 34] These include: Sultani et al., the earliest MIL method; RTFM and MGFN,\nwhich extend the top-1 instance selection to top-k; TEVAD,\nthe first to incorporate text information into visual anomaly\n\n21331\n\n\fmethod still achieves stable gains. Specifically, we observe\nimprovements of 1.87% over RTFM, 1.12% over TEVAD,\n0.36% over MGFN, and 1.66% over UR-DMU. Notably,\nthe RTFM + D2 MIL combination attains a state-of-the-art\nperformance of 88.52% on this dataset, underscoring the\nefficacy of our method across diverse scenarios.\n\nDrop τmax\n\n4.4. Ablation Studies\n\n0.1\n0.2\n0.3\n0.4\n0.5\n0.6\n0.7\n0.8\n0.9\n\nBaseline\n\nRaw(%)\n\nDenoise-only(%)\n\nD2 MIL (%)\n\nRTFM\nTEVAD\nMGFN\nUR-DMU\n\n97.03\n97.80\n93.97\n96.15\n\n97.85\n98.07\n94.11\n97.35\n\n97.93\n98.13\n94.13\n97.44\n\nBaseline\n\nRaw(%)\n\nDenoise-only(%)\n\nD2 MIL (%)\n\nSultani et al.\nRTFM\nTEVAD\nMGFN\nUR-DMU\n\n83.34\n83.14\n84.54\n83.44\n86.19\n\n84.77\n83.96\n85.72\n83.60\n87.53\n\n85.24\n84.30\n85.83\n83.70\n87.90\n\nDenoise-only(%)\n\nD2 MIL (%)\n\nRTFM\nTEVAD\nMGFN\nUR-DMU\n\n86.65\n86.82\n84.96\n85.02\n\n88.03\n87.28\n85.13\n86.40\n\n88.52\n87.94\n85.32\n86.68\n\n84.82\n84.92\n84.73\n85.08\n85.24\n84.78\n84.89\n84.79\n83.94\n\n84.76\n84.58\n85.15\n84.94\n85.07\n84.79\n84.93\n84.82\n83.83\n\n30.92\n31.16\n31.48\n31.55\n31.60\n31.43\n31.39\n31.47\n31.28\n\n30.79\n31.22\n31.31\n31.50\n31.52\n31.30\n31.44\n31.29\n31.36\n\n0.09% improvement, indicating that the debiasing module\nremains beneficial even under near-saturated performance\nconditions. On the UCF-Crime dataset (Table 5), a similar trend can be observed. The denoising module enhances\nperformance by 0.16%–1.34% across baselines, confirming its effectiveness in mitigating noisy supervision within\nthe MIL framework. The introduction of the debiasing\nmodule further contributes an additional 0.11%–0.47% improvement, highlighting its complementary role. For the\nMSAD dataset (Table 6), which contains multi-scene aerial\nvideos, our framework exhibits the most significant relative\nperformance gains. Incorporating the denoising module improves the results by an average of 1.1%, while the debiasing stage provides an additional 0.4%–0.7% boost, underscoring its capability to enhance generalization under challenging cross-scene and multi-view conditions.\nParameter analysis. To investigate the optimal values\nfor the drop rate \\tau _\\text {max} and recall rate \\rho _\\text {max} , we tested 18\nparameter combinations to determine the best-performing\nconfiguration. As shown in Table 7, we varied the drop\nrate from 0.1 to 0.9 and evaluated two recall rate settings\n(0.1 and 0.2), with performance quantified using both AUC\nand the frame-level Average Precision (AP) metrics. The\nhighest AUC (85.24%) and AP (31.60%) are achieved when\n\\tau _\\text {max} = 0.5 and \\rho _\\text {max} = 0.1, confirming this parameter combination as optimal.\n\nTable 5. Ablation studies on the UCF-Crime dataset.\n\nRaw(%)\n\nRecall ρmax = 0.2\nAUC\nAP\n\nTable 7. Experimental results of the Sultani et al. + D2 MIL method\nwith varying drop rate \\tau _\\text {max} (0.1–0.9) and recall rate \\rho _\\text {max} (0.1, 0.2)\nparameters on the UCF-Crime dataset, evaluated by AUC and AP\nmetrics.\n\nTable 4. Ablation studies on the ShanghaiTech dataset. We compare the performance of each baseline method under three settings:\nthe original baseline, the baseline with the denoising module, and\nwith the full D2 MIL framework.\n\nBaseline\n\nRecall ρmax = 0.1\nAUC\nAP\n\nTable 6. Ablation studies on the MSAD dataset.\n\nEffectiveness of proposed modules. To comprehensively evaluate the contribution of each component, we\nconduct ablation studies on five representative MIL-based\nVAD baselines across three benchmark datasets: UCFCrime, ShanghaiTech, and MSAD. We compare three configurations: the original baseline (Raw), the baseline integrated with the denoising module (Denoise-only), and the\nfull D2 MIL framework. On the ShanghaiTech dataset (Table 4), integrating the denoising module consistently improves performance across all baselines, particularly on\nRTFM (+0.82%) and UR-DMU (+1.20%), demonstrating\nits good performance in complex crowd-scene environments. The complete D2 MIL pipeline yields an additional\n\n4.5. Qualitative Analysis\n\n21332\n\nIn Figure 3, we present qualitative comparisons between\nRTFM (green curve) and RTFM + D2 MIL (blue curve) on\neight representative test videos from the UCF-Crime and\nMSAD datasets. Each plot depicts the temporal evolution of the predicted anomaly scores, with the ground-truth\nanomaly intervals shaded in light red. Representative key\nframes are shown above each plot, where abnormal frames\n\n\fArrest 001\n\nBurglary 061\n\n1.0\n\n1.0\n\n0.8\n\n0.8\n\n0.6\n\n0.6\n\n0.4\n\n0.4\n\n0.2\n\n0.2\n\n0.0\n\n0.0\n0\n\n500\n\n1000\n\n1500\n\n2000\n\n2500\n\n0\n\n2000\n\n4000\n\n6000\n\n2000\n\n4000\n\n6000\n\n8000\n\nNormal 024\n\n1.0\n\n0\n\n250\n\n500\n\n750\n\n1000\n\n1250\n\n1500\n\nNormal 083\n\n1.0\n\n0.8\n\n0.8\n\n0.6\n\n0.6\n\n0.4\n\n0.4\n\n0.2\n0.0\n\n0\n\n8000\n\nTraffic accident 031\n\nFire 024\n\nNormal 048\n\nNormal 175\n\n0.2\n0\n\n100\n\n200\n\n300\n\nRTFM\n\n400\n\n500\n\n0\n\n100\n\n200\n\nRTFM+D2MIL\n\n300\n\n0.0\n500\n\n400\n\n0\n\n100\n\nNormal Frame\n\n200\n\n300\n\n400\n\n500\n\n600\n\n700\n\nAbnormal Frame\n\n0\n\n200\n\n400\n\n600\n\n800\n\nFrame Location\n\nFigure 3. Qualitative comparison results of RTFM and RTFM + D2 MIL on UCF-Crime and MSAD datasets, where the horizontal axis\nrepresents frames and the vertical axis denotes anomaly scores.\n\nare highlighted in red boxes and normal frames in blue\nboxes; the corresponding frame locations are marked by arrows along the time axis.\nThe four examples on the left are abnormal videos. Compared to the baseline, our D2 MIL -enhanced model produces sharper and more concentrated anomaly peaks within\nannotated abnormal intervals, while suppressing spurious\nresponses in normal regions. For example, in Burglary\n061 and Fire 024, D2 MIL accurately localizes true anomaly\nsegments with high scores, closely matching ground-truth\nboundaries. This demonstrates improved temporal precision in anomaly localization.\nThe four examples on the right are normal videos. The\noriginal RTFM baseline often produces unstable or falsepositive scores in normal scenes, misinterpreting illumination or motion variations as anomalies (e.g., Normal\n083). In contrast, RTFM + D2 MIL maintains consistently\nlow anomaly scores across the sequence, reducing false\nalarms and yielding smoother predictions, which reflects\nimproved robustness and generalization. Overall, the qualitative results confirm that our proposed D2 MIL framework\nenhances anomaly localization accuracy on truly abnormal\nsequences while substantially mitigating false detections in\nnormal scenarios, achieving more stable and trustworthy\nframe-level anomaly detection.\n\n21333\n\n5. Conclusion\nIn this paper, we revisit the MIL paradigm and highlight\ntwo critical yet underexplored challenges: the contamination of noisy samples and their confusion with genuinely\nhard abnormal instances. To address these, we introduce\nD2 MIL , a unified framework that combines a dynamic\nthreshold-based denoising module with a VLM-based debiasing module. This design enables the model to suppress\nunreliable instances while adaptively retaining informative\nsamples, leading to more robust and discriminative learning\nunder weak supervision. D2 MIL can be seamlessly integrated into existing MIL-based baselines, delivering consistent performance improvements across three benchmark\ndatasets: ShanghaiTech, UCF-Crime, and MSAD. Despite\nthese promising results, one aspects leave room for improvement. The debiasing performance is somewhat influenced by the reasoning capacity of the underlying VLM.\n\n6. Acknowledgment\nThis work was supported by the National Natural Science Foundation of China (Nos. 62572260, 62572257,\n72342017, 62572311), National Natural Science Foundation of Tianjin, China (No. 25JCQNJC01380), and the\nFundamental Research Funds for the Central Universities,\nNankai University (No. 63251116)\n\n\fReferences\n[1] Yoshua Bengio, Jérôme Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In Proceedings of the 26th\nannual international conference on machine learning, pages\n41–48, 2009. 2, 5\n[2] Joao Carreira and Andrew Zisserman. Quo vadis, action\nrecognition? a new model and the kinetics dataset. In CVPR,\n2017. 5\n[3] Junxi Chen, Liang Li, Li Su, Zheng-jun Zha, and Qingming Huang. Prompt-enhanced multiple instance learning\nfor weakly supervised video anomaly detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and\nPattern Recognition, pages 18319–18329, 2024. 1, 2, 3\n[4] Weiling Chen, Keng Teck Ma, Zi Jian Yew, Minhoe Hur, and\nDavid Aik-Aun Khoo. Tevad: Improved video anomaly detection with captions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages\n5549–5559, 2023. 2, 5, 6\n[5] Yingxian Chen, Zhengzhe Liu, Baoheng Zhang, Wilton\nFok, Xiaojuan Qi, and Yik-Chung Wu. Mgfn: Magnitudecontrastive glance-and-focus network for weakly-supervised\nvideo anomaly detection. In Proceedings of the AAAI conference on artificial intelligence, pages 387–395, 2023. 2,\n6\n[6] MyeongAh Cho, Minjung Kim, Sangwon Hwang, Chaewon Park, Kyungjae Lee, and Sangyoun Lee.\nLook\naround for anomalies: Weakly-supervised anomaly detection via context-motion relational learning. In Proceedings\nof the IEEE/CVF conference on computer vision and pattern\nrecognition, pages 12137–12146, 2023. 1\n[7] JiaChang Feng, FaTing Hong, and WeiShi Zheng. Mist:\nMultiple instance self-training framework for video anomaly\ndetection. In CVPR, pages 14009–14018, 2021. 1\n[8] Lu Jiang, Zheng Zhou, Thomas Leung, Li-Jia Li, and Li FeiFei. Mentornet: Learning data-driven curriculum for very\ndeep neural networks on corrupted labels. In ICML, 2018. 5\n[9] Shuo Li, Fang Liu, and LiCheng Jiao. Self-training multisequence learning with transformer for weakly supervised\nvideo anomaly detection. In AAAI, pages 1395–1403, 2022.\n1\n[10] Jing Liu, Yang Liu, Jieyu Lin, Jielin Li, Liang Cao, Peng\nSun, Bo Hu, Liang Song, Azzedine Boukerche, and Victor CM Leung. Networking systems for video anomaly detection: A tutorial and survey. ACM Computing Surveys, 57\n(10):1–37, 2025. 2\n[11] Wen Liu, WeiXin Luo, DongZe Lian, and ShengHua Gao.\nFuture frame prediction for anomaly detection - a new baseline. In CVPR, pages 6536–6545, 2018. 1\n[12] Wen Liu, Weixin Luo, Dongze Lian, and Shenghua Gao. Future frame prediction for anomaly detection–a new baseline.\nIn Proceedings of the IEEE conference on computer vision\nand pattern recognition, pages 6536–6545, 2018. 5\n[13] CeWu Lu, JianPing Shi, and JiaYa Jia. Abnormal event detection at 150 fps in matlab. In ICCV, pages 2720–2727,\n2013. 1\n[14] Hui Lv, Chuanwei Zhou, Zhen Cui, Chunyan Xu, Yong Li,\n\n21334\n\nand Jian Yang. Localizing anomalies from weakly-labeled\nvideos. TIP, 2021. 1\n[15] Hui Lv, Zhongqi Yue, Qianru Sun, Bin Luo, Zhen Cui, and\nHanwang Zhang. Unbiased multiple instance learning for\nweakly supervised video anomaly detection. In Proceedings\nof the IEEE/CVF conference on computer vision and pattern\nrecognition, pages 8022–8031, 2023. 2\n[16] Seongheon Park, Hanjae Kim, Minsu Kim, Dahye Kim,\nand Kwanghoon Sohn. Normality guided multiple instance\nlearning for weakly supervised video anomaly detection. In\n2023 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pages 2664–2673, 2023. 2\n[17] Yujiang Pu, Xiaoyu Wu, Lulu Yang, and Shengjin Wang.\nLearning prompt-enhanced context features for weaklysupervised video anomaly detection. IEEE Transactions on\nImage Processing, 33:4923–4936, 2023. 1, 2\n[18] seominseok. Real world anomaly detection in surveillance videos : Pytorch re-implementation.\nhttps :\n//github.com/seominseok0429/Real- worldAnomaly - Detection - in - Surveillance Videos- pytorch, 2021. Accessed: 2025-3-19. 5,\n6\n[19] Waqas Sultani, Chen Chen, and Mubarak Shah. Real-world\nanomaly detection in surveillance videos. In CVPR, pages\n6479–6488, 2018. 1, 2, 3, 5, 6\n[20] Yu Tian, GuangSong Pang, YuanHong Chen, Rajvinder\nSingh, Johan W. Verjans, and Gustavo Carneiro. Weaklysupervised video anomaly detection with robust temporal\nfeature magnitude learning. In ICCV, pages 4955–4966,\n2021. 2, 5, 6\n[21] Limin Wang, Yuanjun Xiong, Zhe Wang, Yu Qiao, Dahua\nLin, Xiaoou Tang, and Luc Van Gool. Temporal segment\nnetworks for action recognition in videos. In ECCV, 2016. 5\n[22] Yu Wang and Shiwei Chen. Learning event completeness\nfor weakly supervised video anomaly detection. ArXiv,\nabs/2506.13095, 2025. 1, 2\n[23] Peng Wu and Jing Liu. Learning causal temporal relation and\nfeature discrimination for anomaly detection. IEEE Transactions on Image Processing, 30:3512–3527, 2021. 3\n[24] Peng Wu and Jing Liu. Learning causal temporal relation and\nfeature discrimination for anomaly detection. IEEE Transactions on Image Processing, 30:3513–3527, 2021. 1\n[25] Peng Wu, Jing Liu, YuJia Shi, FangTao Shao, ZhapYang Wu,\nand ZhiWei Yang. Not only look, but also listen: Learning\nmultimodal violence detection under weak supervision. In\nECCV, pages 322–339, 2020. 1\n[26] Peng Wu, Xuerong Zhou, Guansong Pang, Lingru Zhou,\nQingsen Yan, Peng Wang, and Yanning Zhang. Vadclip:\nAdapting vision-language models for weakly supervised\nvideo anomaly detection. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 6074–6082, 2024. 3\n[27] Muchao Ye, Weiyang Liu, and Pan He. Vera: Explainable\nvideo anomaly detection via verbalized learning of visionlanguage models. ArXiv, abs/2412.01095, 2024. 3\n[28] Muhammad Zaigham Zaheer, Arif Mahmood, Marcella\nAstrid, and Seung-Ik Lee. Claws: Clustering assisted weakly\n\n\fsupervised learning with normalcy suppression for anomalous event detection. In ECCV, pages 358–376, 2020. 1,\n3\n[29] Huaxin Zhang, Xiaohao Xu, Xiang Wang, Jialong Zuo,\nChuchu Han, Xiaonan Huang, Changxin Gao, Yuehuan\nWang, and Nong Sang. Holmes-vad: Towards unbiased and\nexplainable video anomaly detection via multi-modal llm.\nArXiv, abs/2406.12235, 2024. 3\n[30] Yang Zhang, Philip David, and Boqing Gong. Curriculum\nlearning for domain adaptation in semantic segmentation of\nurban scenes. In ICCV, 2017. 5\n[31] Yujia Zhang, Xin Huang, Yijia Wang, and et al. Qwen-vl:\nScaling vision-language models with decoupled visual encoders. In arXiv preprint arXiv:2403.17820, 2024. 5\n[32] JiaXing Zhong, NanNan Li, WeiJie Kong, Shan Liu,\nThomas H. Li, and Ge Li. Graph convolutional label noise\ncleaner: Train a plug-and-play action classifier for anomaly\ndetection. In CVPR, pages 1237–1246, 2019. 3\n[33] Jia-Xing Zhong, Nannan Li, Weijie Kong, Shan Liu,\nThomas H. Li, and Ge Li. Graph convolutional label noise\ncleaner: Train a plug-and-play action classifier for anomaly\ndetection. 2019 IEEE/CVF Conference on Computer Vision\nand Pattern Recognition (CVPR), pages 1237–1246, 2019. 5\n[34] Hang Zhou, Junqing Yu, and Wei Yang. Dual memory units\nwith uncertainty regulation for weakly supervised video\nanomaly detection. In Proceedings of the AAAI Conference\non Artificial Intelligence, pages 3769–3777, 2023. 1, 2, 3, 5,\n6\n[35] 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, 2024. 5\n[36] Tao Zhu, Qi Yu, Xinru Dong, Shiyu Li, Yue Liu, Jinlong\nJiang, and Lei Shu. Prodisc-vad: An efficient system for\nweakly-supervised anomaly detection in video surveillance\napplications, 2025. 2, 6\n\n21335\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"