"<!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>BUSSARD: Normalizing Flows for Bijective Universal Scene-Specific Anomalous\nRelationship Detection\nMelissa Schween Mathis Kruse Bodo Rosenhahn\nInstitute for Information Processing, L3S - Leibniz University Hannover\n\narXiv:2603.16645v1 [cs.CV] 17 Mar 2026\n\nschween@tnt.uni-hannover.de\n\nAbstract\nWe propose Bijective Universal Scene-Specific Anomalous\nRelationship Detection (BUSSARD), a normalizing flowbased model for detecting anomalous relations in scene\ngraphs, generated from images. Our work follows a multimodal approach, embedding object and relationship tokens\nfrom scene graphs with a language model to leverage semantic knowledge from the real world. A normalizing flow\nmodel is used to learn bijective transformations that map\nobject-relation-object triplets from scene graphs to a simple\nbase distribution (typically Gaussian), allowing anomaly\ndetection through likelihood estimation. We evaluate our\napproach on the SARD dataset containing office and dining\nroom scenes. Our method achieves around 10% better AUROC results compared to the current state-of-the-art model,\nwhile simultaneously being five times faster. Through ablation studies, we demonstrate superior robustness and universality, particularly regarding the use of synonyms, with\nour model maintaining stable performance while the baseline shows 17.5% deviation. This work demonstrates the\nstrong potential of learning-based methods for relationship\nanomaly detection in scene graphs. Our code is available\nat https://github.com/mschween/BUSSARD.\n\nFigure 1. Example image from SARD dataset [32]. A non complete scene graph consists of: ‘plate-on-chair’, ‘plate-near-clock’,\n‘cup-on-table’, ‘chair-near-table’. The anomaly to detect is ‘plateon-chair’.\n\nticularly human poses, with limited integration of broader\ncontextual information [21, 42, 43]. However, this humancentric focus neglects important anomaly types, such as objects in inappropriate locations (e.g. car on playground) or\nunusual human-object relationships (e.g. child on car). Recognizing this gap, Lai et al. [32] introduced the novel task of\nScene-Specific Anomalous Relationship Detection (SARD)\nalong with a dedicated dataset.\nRecent progress in scene graph generation (SGG) [24,\n46, 65, 69], accelerates the research of applying SGGs for\nanomaly detection (AD) in complex scenes through structured extraction of visual information. While this combination remains underexplored [9, 16, 41], it offers significant potential by interpreting structured scene representations for more effective anomaly detection. Fig. 1 highlights\nsome object relations that can be extracted from the image\nusing SGG. More examples with complete scene graphs can\nbe found in the appendix (see Sec. 12).\nLai et al. [32] propose a counting-based approach to de-\n\n1. Introduction\nDetecting anomalies in images is not always straightforward, as the definition of what constitutes an anomaly depends on the setting and context of the scene. For industrial\napplications, anomalies typically manifest as deformed or\nmissing objects [3, 4]. The automatic detection of anomalies in surveillance footage and similar domains is gaining\nresearch attention, addressing complex data with substantial variability [32, 57, 73]. In this area, the focus shifts\nfrom identifying individual defects to understanding entire\nscenes and evaluating context, with the challenge of filtering what is relevant and necessary to consider. Most existing approaches focus on individual scene components, par1\n\n\f2. Related Work\n\ntect anomalous relationships for the SARD task. A key\nlimitation of this method is its vulnerability to the longtail problem, where data exhibits severe imbalance with a\nfew instances appearing frequently while the majority is\nrare. This counting-based approach cannot fully compensate for such distributional bias, leading to degraded detection performance. We present, to the best of our knowledge,\nthe first learning-based solution for SARD. Our approach\nmakes three core contributions to efficiently approach the\ntask of SARD:\nFirst, we follow a multimodal approach by converting\nscene graphs to semantic vector representations using a pretrained language model to capture real-world knowledge\nabout object and relationship semantics. This embedding\napproach addresses the long-tail distribution of objects and\nrelationships in scene graphs, where many entities appear\nrarely in training data. By placing semantically similar\nwords in close proximity within the embedding space, the\nmodel can generalize to previously unseen objects.\nSecond, we leverage normalizing flows for anomaly\ndetection. Normalizing flows learn bijective transformations that map data to a standard normal distribution, making them well-suited for anomaly detection, as data points\nthat deviate significantly from the normal distribution after\ntransformation can be assigned high anomaly scores based\non their log-likelihood.\nFinally, we address the dimensionality challenge inherent to normalizing flows. Since normalizing flows require\nbijective mappings, they cannot perform dimensionality reduction. However, language embeddings are typically highdimensional, which can lead to training instability and computational inefficiency. To resolve this, we employ an autoencoder that compresses the concatenated triplet embeddings into a lower-dimensional latent space before feeding\nthem to the normalizing flow.\nWe call our approach Bijective Universal Scene-Specific\nAnomalous Relationship Detection (BUSSARD). The ‘bijective’ refers to the invertible transformations in normalizing flows, while ‘universal’ reflects the model’s robustness\nto vocabulary variations, a key advantage demonstrated in\nour experiments. BUSSARD achieves state-of-the-art performance with an AUROC 10% higher than the countingbased SARD baseline.\nOur work comprises the following contributions:\n• We present the first learning-based approach for SARD,\nemploying normalizing flows to learn distributions over\nscene graph relationships.\n• We demonstrate superior robustness and universality\nthrough semantic embeddings, effectively mitigating the\nlong-tail problem that affects counting-based approaches.\n• We achieve state-of-the-art performance on the SARD\ndataset, outperforming the baseline by 10% in AUROC.\n\nWe review related works from the fields of scene graph generation and anomaly detection.\n\n2.1. Scene Graph Generation (SGG)\nIn scene graph generation (SGG) structured information is\nextracted from images, which is stored in a graph consisting\nof multiple triplets. These triplets are composed of two objects, and a relationship describing the connection between\nthe objects. A simple example can be seen in Fig. 1, with\ntriplets such as ‘plate-on-chair’ or ‘plate-near-clock’.\nThe major approaches for generating scene graphs may\nbe separated into one-stage and two-stage methods. In twostage generation, objects are detected first, and then the relations between them are predicted in a second independent step [34, 40, 59]. The one-stage approach differs in\nthat both objects and relations are predicted simultaneously.\nModels such as RelTR, OED, PGSG, and EGTR fall under\nthis group [11, 24, 36, 61]. EGTR operates by extracting\nrelation graphs from the multi-head self-attention layers of\nthe DETR [6] decoder, treating attention queries and keys\nas subject and object entities [24]. Overall, numerous diverse approaches are currently emerging to improve SGG,\nshowing the interest in this field [26, 46, 65, 69]. Besides\nthe image-based SGG there is also a subfield that concentrates on generating scene graphs for videos, called Dynamic Scene Graph Generation (DSGG) [8, 66, 70, 71].\nHere scene graphs are connected over time to track how\nthey change. This enables the recognition of dynamic\nrelations like ‘person-throwing-ball’, instead of ‘personholding-ball’.\nWord Embeddings. Scene graphs consist of textual\ntriplets, making pretrained word embeddings a natural\nchoice for encoding semantic information. Word embedding models such as word2vec [39] and GloVe [7, 47] map\nwords to continuous vector spaces where semantic similarity is reflected by proximity. This property is particularly\nvaluable for addressing the long-tail distribution in scene\ngraphs: semantically similar but lexically different terms\n(e.g. ‘person’ vs. ‘human’, ‘sitting on’ vs. ‘seated on’) are\nembedded nearby, enabling the model to generalize across\nrare or unseen vocabulary.\n\n2.2. Anomaly Detection (AD)\nThe goal of anomaly detection (AD) is to identify unusual,\nanomalous samples of data that fall outside of what may\nbe considered normal data. However, a prominent challenge is the severe imbalance in available training data,\nwhich contains far more normal instances than anomalous\nones. For this reason, most algorithms are semi-supervised,\nwhere the models are trained exclusively on normal data\nand only encounter anomalous data during testing and inference. Algorithms that are widely used for AD include\n2\n\n\fmemory banks, student-teacher networks and normalizing\nflows, while Foundation Models are also gaining more popularity.\nMemory banks are used to store a learned representation\nof normal data and use it as a reference for comparison during inference [15, 52, 64].\nStudent-teacher networks typically use a pretrained network (such as a ResNet [19] trained on ImageNet [12])\nas the teacher, which is typically trained on some auxiliary task. The student network is optimized to imitate the\nteacher using only normal data. During inference, the student may only be able to mimic the teacher on normal\ndata, leading to high errors for anomalous (unseen) patterns.\nThereby, the difference between student and teacher serves\nas a proxy for an anomaly score. A larger difference indicates higher anomaly likelihood, since the student produces more varied results for unseen data. There are various approaches implementing student-teacher networks for\nAD [5, 23, 54].\nFoundation Models are trained on massive datasets and\ncan be applied to a wide range of downstream tasks. One\nsuch task is AD, as their learned understanding of the\nworld helps to identify what might be unusual. A key advantage is their applicability in few-shot or zero-shot settings, requiring minimal or no task-specific training. Therefore, several approaches have been proposed to address AD\ntasks, but they typically require careful pipeline design tailored to the specific problem or they rely on fine-tuned\nprompts to overcome challenges [25, 33, 72, 75]. Specifically there are multiple approaches using GPT [44] for zeroshot AD [17, 27, 74].\nNormalizing Flows learn a bijective mapping between a\nsimple base distribution and a complex target distribution.\nThe bijective nature enables their use for applications such\nas data generation [22, 45, 51], by sampling from the base\ndistribution and applying the reverse mapping to the complex distribution. Additionally, normalizing flows provide\nexact and tractable log-likelihood evaluation, which is essential for their application to AD, as demonstrated by several existing methods [21, 31, 53].\nAnomaly detection finds application across diverse domains, with unique challenges and specialized approaches.\nIndustrial applications represent one of the most mature\nareas, supported by well-established benchmarks such as\nMVTec AD and VisA [3, 4, 20, 76]. These datasets have\nmotivated numerous methods advancing detection capabilities [18, 31, 52, 54]. The medical field has similarly developed domain-specific datasets and approaches [2, 60, 67].\nVideo-based AD introduces temporal complexity, requiring methods to track elements over time. This is particularly relevant for surveillance applications, where datasets\nlike ShanghaiTech and UCF-Crime [57, 73] have driven\nthe development of pose-based approaches, sometimes aug-\n\nmented with contextual information [21, 35, 42, 43].\nGraph-based AD addresses structured relational data, in\ndomains such as attributed networks, social networks and\nindustrial control systems [1, 37, 50, 62]. Recent works\nhave begun incorporating spatial context through context\ngraphs [58] and spatio-temporal graphs [48].\nAnomaly Detection using Scene Graphs. Recent advances in SGG have sparked increased interest in applying\nscene graphs to anomaly detection, a relatively underexplored area. Garg et al. [16] focus on generating new scene\ngraphs, primarily for image generation, and demonstrate\nanomaly detection on their own generated outputs. However, their method requires node classification for likelihood estimation, necessitating predefined entity classes for\nall objects, and evaluates generation quality rather than detecting anomalies in observed scene graphs from real images, making it unsuitable as a baseline for our task. The\nwork of Chen et al. showed the potential of using scene\ngraphs for video-based anomaly detection [9]. ComplexVAD a recently published method, also uses scene graphs\nfor anomaly detection in videos and highlights the importance of focusing on interaction anomalies [41]. The authors of SARD highlight the importance of focusing on\nanomalous relationships and use a counting based approach\nfor detecting those using scene graphs in images [32].\nSARD is explained in more detail in the following section.\n\n3. Foundations\nThis section provides a brief overview of the Scene-Specific\nAnomalous Relationship Detection (SARD) task [32], its\nbaseline model, and the evaluation metrics employed.\nSARD shifts the focus from detecting anomalous objects\nto identifying context-dependent anomalies by analyzing\nrelationships between objects. This relationship-based approach captures anomalies that arise from unusual interactions within a scene.\n\n3.1. Baseline Method\nWe use the AD-model of Lai et al. as baseline [32]. The\nauthors use EGTR [24] for creating scene graphs for each\nimage to extract the relevant information. Subsequently the\ntop 30 triplets with the highest confidence for every image\nare used for further analysis. Lai et al. do not train a neural\nnetwork to detect anomalous triplets but instead employ an\nenhanced counting-based approach, where the triplets that\nappear least often are considered to be an anomaly. For\nthis, scene graphs from multiple images are grouped in subgroups with a specified size. Each subgroup, that can have\n11, 21 or 31 elements, consists of one anomalous image\nwith the remainder filled with normal images. The normal\nimages appear in multiple subgroups.\nScene graphs of each subgroup are grouped separately\nand the triplets that appear the least, are considered to be\n3\n\n\fFigure 2. The components of BUSSARD. The images are parsed using a pretrained scene graph generator. Each triplet is then encoded\nusing a pretrained word embedding model. The embeddings of the triplets are each concatenated and the dimension is reduced using an\nautoencoder. In the end, a normalizing flow is used to predict the likelihood of the triplets being anomalous.\n\nwith the highest confidence from the SGG are used. Let T\ndenote the set of all used triplets extracted from the dataset\n(or from a particular image subgroup, similar to SARD).\nFor each triplet T ∈ T , let a ∈ R denote its anomaly score,\nand define the ground truth anomaly indicator\n\nanomalies. For enhancing the counting-based approach,\nthey include the concepts rarity adjustment, noisy normal\nrelationship reduction and soft counting. Rarity adjustment\nis used to balance the confidence score bias of the SGG\nmodel, as those models tend to assign anomalous relationships lower confidence scores which can lead to an overshadowing through the normal relationships. Noisy normal\nrelationship reduction is added to reduce the likelihood of\nclassifying infrequent, but normal relationships as anomalies. The last enhancement employs soft counting to improve the robustness of object relationship representations,\nas it enables the consideration of multiple likely relationships for each object pair. These enhancements increase the\nperformance of their model, however improving the biased\nconfidence score, or reducing the influence of rare normal\nrelationships does not solve the problem of unbalanced data\nthat is typically found in AD. Similarly, efforts to increase\nrobustness through considering multiple relationships do\nnot fully enable accurate performance in an open-world setting.\n\n  y = \\begin {cases} 1 &amp; \\text {if }T\\text { is anomalous} \\\\ 0 &amp; \\text {otherwise}. \\end {cases} \n\nLet N be the total number of anomalous triplets (assume\nN &gt; 0), and let r(T ) denote the rank of triplet T when\nall triplets are sorted in descending order by their anomaly\nscores. Then, Recall@k is defined as\n  \\label {eq:recall_at_k} \\text {Recall@}k = \\frac {1}{N}\\sum _{T\\in \\mathcal {T}} \\mathbf {1}\\{ r(T) \\le k\\} \\cdot y, \n\n(3)\n\nwhere 1{·} is the indicator function.\nTo aggregate\nRecall@k across a range of k values (following the SARD\nprotocol), we define AUC-Recall@k as the normalized\ndiscrete area under the Recall@k curve for integer k ∈\nkmin , . . . , kmax\n\n3.2. Metrics\nA common metric to evaluate the performance of anomaly\ndetection frameworks is Area Under the Receiver Operating Characteristic Curve (AUROC). AUROC is commonly\nused as it is scale- and threshold-invariant, which helps to\nmeasure the quality of prediction rankings, irrespective of\nthe classification threshold chosen. Conceptually, AUROC\ncorresponds to the area under the curve of the true positive\nrate (TPR) as a function of the false positive rate (FPR) with\n  \\label {eq:auroc} \\text {AUROC} = \\int _0^1 \\text {TPR}(u) \\, d(\\text {FPR}(u)), \n\n(2)\n\n  \\label {eq:auc_recall_k} \\text {AUC-Recall@}k = \\frac {1}{k_{\\max }-k_{\\min }+1} \\sum _{k=k_{\\min }}^{k_{\\max }} \\text {Recall@}k. \n(4)\nIn our experiments, we set kmin = 1 and kmax = 100, following the setting of SARD. A higher AUC-Recall@k indicates that anomalous triplets are ranked closer to the top of\nthe list. Since Lai et al. evaluate ranking quality within contextual subgroups, AUC-Recall@k is also computed separately for each image subgroup.\nAUROC thus captures global discrimination ability\nacross all thresholds, while AUC-Recall@k focuses on the\nranking performance of the most anomalous triplets within\nthe top-k positions.\n\n(1)\n\nwhere both rates are evaluated at varying thresholds u.\nThe authors of SARD introduce an additional metric,\nAUC-Recall@k, to assess ranking quality in the top positions [32]. This metric combines the intuition of Recall@k,\nmeasuring how many anomalies appear among the top-k\nranked samples, with the concept of integrating over the\nrecall curve. Following the protocol of SARD, 30 triplets\n\n4. Method\nAn overview of BUSSARD’s architecture is presented in\nFig. 2. The model comprises four sequential steps. First,\n4\n\n\fa pretrained SGG model extracts scene graphs from images, providing triplets for analysis. Second, a pretrained\nword embedding model converts the object and relationship tokens to semantic vector representations, producing\nrich embeddings. Afterwards, an autoencoder compresses\nthese features to lower-dimensional latent vectors. This\ncompression is essential for the normalizing flow, as these\nmodels require matching input and output dimensions due\nto their bijective nature and exhibit training instability with\nhigh-dimensional inputs. The compressed latent vectors are\nthen passed to the normalizing flow, which assigns anomaly\nscores to triplets. The SGG model and word embedding\nmodels are kept frozen to preserve their learned general semantic knowledge from pretraining.\n\n4.4. Normalizing Flow\n\n4.1. Scene Graph Generator\n\nNormalizing flows require invertible transformations with\nefficiently computable Jacobian determinants. Various architectures have been proposed to satisfy these requirements [13, 22, 29], with RealNVP [14] being one of the\nmost widely used approaches. RealNVP employs coupling\nlayers with affine transformations, which are trivially invertible and have tractable Jacobian determinants due to\ntheir triangular structure, enabling scalable density modeling in high-dimensional spaces. Each coupling layer splits\nthe input zin ∈ RdZ into two parts zin,1 ∈ Rdz /2 and\nzin,2 ∈ Rdz /2 . The first part remains unchanged while the\nsecond part undergoes an affine transformation conditioned\non the first part, leading to the equations\n\nThe latent vectors are passed to a normalizing flow to compute anomaly scores for all triplets. Let u ∈ Rdz denote\nsamples from a simple base distribution, which is commonly a standard Gaussian u ∼ N (0, I) with density pu (u)\nand let z ∈ Rdz denote samples from the target distribution.\nThe normalizing flow fflow : Rdz → Rdz models an invertible transformation that maps the target distribution to the\nbase distribution with u = fflow (z).\nThe density pz (z) can be estimated using the change of\nvariables formula as\n  p_\\mathbf {z}(\\mathbf {z}) = p_\\mathbf {u}\\left (f_\\text {flow}\\left (\\mathbf {z}\\right )\\right ) \\left |\\det \\left ( \\frac {\\partial f_\\text {flow}}{\\partial \\mathbf {z}}\\right ) \\right |. \n\nThe SGG model takes images I as input and generates scene\ngraphs G = (V, E), where V represents nodes and E represents edges. We consider subsets of the scene graphs in\nthe form of triplets Ti,j = (oi , pi,j , oj ) which consist of two\nnodes (objects) and one directed edge (relationship), where\noi , oj ∈ V and pi,j ∈ E. Thus the triplet Ti,j describes the\nrelationship pi,j from object oi to object oj .\n\n4.2. Word Embedding\nWe employ the pretrained word embedding model\nGloVe [7] to map object and relationship tokens to vector\nrepresentations. This leverages learned semantic knowledge from large-scale pretraining, encoding meaningful relationships between words in the embedding space. Each\nobject is mapped to a vector voi ∈ Rd and each relationship pi,j is mapped to a vector vpi,j ∈ Rd . Afterwards, the\nvectors are concatenated to form a unified triplet representation with\n  \\label {eq:word-embed} \\mathbf {t}_{i,j} = \\text {concat}(\\mathbf {v}_{p_{i,j}}, \\mathbf {v}_{o_i}, \\mathbf {v}_{o_j}) \\in \\mathbb {R}^{3d} . \n\n(7)\n\n  \\mathbf {z}_{\\text {out},1} &amp;= \\mathbf {z}_{\\text {in},1}\\\\ \\mathbf {z}_{\\text {out},2} &amp;= \\mathbf {z}_{\\text {in},2} \\odot \\text {exp} (s(\\mathbf {z}_{\\text {in},1})) + t(\\mathbf {z}_{\\text {in},1}),\n(9)\nwhere s and t are deep neural networks computing the scale\nand translation parameters respectively. Multiple coupling\nlayers are stacked with alternating permutations between\nlayers to ensure all dimensions are transformed, yielding\na flexible and tractable bijective function.\nThe anomaly score a for each triplet T is computed as\nthe negative log-probability\n\n(5)\n\nIn the following, we drop the indices i and j for simplicity,\nreferring simply to triplets t when the context is clear.\n\n4.3. Autoencoder\n  \\label {eq:nll} a = -\\log p(\\mathbf {z}) = -\\log p(\\mathbf {u}) - \\log \\left | \\det \\frac {\\partial f_{\\text {flow}}}{\\partial \\mathbf {z}} \\right |, \n\n(10)\n\nAn autoencoder (AE) compresses concatenated triplet vectors into a lower-dimensional latent space. It consists of an\nencoder fenc : R3d → Rdz and a decoder fdec : Rdz → R3d ,\nmapping each triplet t to a latent vector z = fenc (t) and reconstructing it as t̂ = fdec (z), where dz &lt; 3d. The AE\nis trained on normal data by minimizing the mean squared\nerror (MSE) reconstruction loss\n\nwhere higher scores indicate higher anomaly levels. For numerical stability, triplets with undefined scores (NaN or Inf)\nare assigned the maximum observed anomaly score. The\nnormalizing flow is trained exclusively on normal data with\nmaximizing the negative log-likelihood loss given by\n\n  \\mathcal {L}_{\\text {AE}} = \\frac {1}{|\\mathcal {T}|} \\sum _{T \\in \\mathcal {T}} \\|\\mathbf {t} - \\hat {\\mathbf {t}}\\|^2. \n\n  \\label {eq:flow_loss} \\mathcal {L}_{\\text {flow}} = -\\frac {1}{2}\\|\\mathbf {u}\\|^2_2 + \\log \\left | \\det \\frac {\\partial f_{\\text {flow}}}{\\partial \\mathbf {z}} \\right |. \n\n(6)\n\nAfter training the AE in a first stage, only the encoder with\nfrozen weights is used to generate latent representations for\nthe normalizing flow to enable an efficient computation with\ndense information.\n\n(11)\n\n5. Experiments\nOur approach is evaluated on the SARD dataset and compared to what is, to the best of our knowledge, the only\n5\n\n\fis problematic since ground truth anomalies that are not\npresent in the extracted triplets cannot be detected by any\nmethod. To ensure fair evaluation, these missing ground\ntruth anomalous triplets are added in a preprocessing step.\nFor comparability, the baseline SARD method is re-run with\nthis corrected data (SARD-c) in addition to reporting their\noriginal results (SARD-o).\nThe authors of SARD used and evaluated the performance within subgroups of sizes 11, 21 and 31. Since BUSSARD needs to be trained (unlike the SARD model, which\noperates by counting directly), we use a training/test split\nof 80/20 for the normal data. This reduces the amount of\nnormal data available for testing. Consequently, we adopt\nthe subgroup size of 11, pairing each anomalous image with\nten normal images from the test set.\n\nFigure 3. The 40 most frequent triplets of the dining room\nscene. The labels belong to the highlighted bars, showing example\ntriplets.\n\navailable baseline. We also tested BUSSARD in a crossdataset setting, where the model is trained on a subset of\nthe MIT indoor dataset (MIT-67) [49] (for more details see\nappendix Sec. 8). Several ablation studies are conducted to\nshow the robustness of BUSSARD and underline our design\nchoices.\n\n5.2. Implementation Details\nFor converting the images to scene graphs, we use the model\nEGTR [24], which is pretrained on Visual Genome [30].\nThe word embedding model GloVe [7] is used to translate\neach word into a vector with dimension d = 300. The three\nvectors building one triplet are concatenated to one vector t\nwith dimension 3d = 900. The SGG and word embedding\nmodels are not trained or finetuned, but instead use frozen\npretrained weights.\nFor dimensionality reduction, an autoencoder is pretrained separately for each scene using only normal training data from the SARD dataset. The 3d-dimensional input\nis passed through four fully connected layers with ReLU\nactivations, with the latent dimension being dz = 512. Ablation studies (see Sec. 5.4.2) demonstrate that this latent\ndimension yields optimal performance. The decoder mirrors the architecture in reverse. The autoencoder is trained\nusing the Adam optimizer [28] with learning rate η = 0.001\nfor 100 epochs, minimizing LAE . Only the encoder is used\nwith frozen weights for subsequent anomaly detection, after\nthe training of the AE.\nWe implement the normalizing flow using three RealNVP coupling layers [14]. The first two layers use alternating mask patterns, while the third uses a half mask pattern. The s- and t-networks of the coupling layers consist of\nmulti-layer perceptrons (MLPs) that each have three fully\nconnected layers with ReLU activations and a hidden dimension of 128. The normalizing flow is trained exclusively on normal data for 1000 epochs using the AdamW\noptimizer [38] and starting with an initial learning rate of\nη = 10−4 , while maximizing Lflow . A plateau scheduler\nis employed to adaptively adjust the learning rate, by reducing the learning rate by a factor of 0.8 when the loss plateaus\nfor 30 consecutive epochs, with a minimum learning rate of\n10−7 . BUSSARD is trained with ten different random seeds,\nwhile SARD is executed once as the counting-based method\ndoes not involve stochastic training.\n\n5.1. SARD Dataset\nThe SARD dataset contains images of two indoor scenes\nfor anomaly detection, specifically created for the SARD\ntask [32]. The first setting is a dining room scene with 60\nnormal and 54 anomalous images and the second scene consists of 60 normal and 63 anomalous images. All images\nare labeled according to whether they contain an anomaly\nor represent normal data. Additionally, the ground truths\nof anomalous images contain a description of the anomalous triplet. In each image only one anomaly can be found,\nbut there can be varying valid descriptions for the same\nanomaly like ‘cup-on-plate’ and ‘plate-under-cup’.\nScene Graph Dataset Analysis and Adaption. The\nimages in the dataset are converted to scene graphs using\nEGTR [24]. Following the protocol suggested by SARD,\nthe top 30 triplets are used for further analysis, while removing triplets with minor objects as defined by SARD [32]\nusing ConceptNet [56]. The top 30 triplets of all scene\ngraphs contain approximately 145 unique triplets for the office scene, while the dining room scene contains about 80\nunique triplets. An overview of the distribution of the 40\nmost common triplets in the dining room scene can be found\nin Fig. 3, while the distribution of the office scene can be\nfound in the appendix (Fig. 6). The distribution exhibits the\nlong-tail problem characteristic, as a few triplets are highly\nfrequent while the majority appear very infrequently. This\nis why the counting-based approach of Lai et al. has weaknesses, as many normal triplets appear infrequently.\nAn analysis of all loaded triplets reveals that the anomalous triplet is not always within the top 30 triplets. This\noccurs as EGTR assigns lower confidence scores to actual anomalies, causing them to be ranked below the top\n30 threshold and are thus excluded from the dataset. This\n6\n\n\fTable 1. AUROC and AUC-Recall@k on the SARD dataset.\nSARD-o refers to the original baseline results with incomplete\ndata (some ground truth anomalies missing from top 30 triplets).\nSARD-c refers to the baseline re-run with corrected data where all\nground truth anomalous triplets are present. BUSSARD is evaluated on the corrected data. Both baselines are included for transparency. BUSSARD was executed with ten different seeds and the\naverage and standard deviation are provided. The best performing\nmodel is highlighted.\nScene\n\nModel\n\nAUROC (↑)\n\nAUC-Recall@k (↑)\n\nDining\nRoom\n\nSARD-o\nSARD-c\nBUSSARD (ours)\n\n90.30\n90.50\n97.85 ± 0.6\n\n69.48\n91.50\n92.85 ± 1.52\n\nOffice\n\nSARD-o\nSARD-c\nBUSSARD (ours)\n\n81.80\n82.50\n95.29 ± 1.65\n\n64.52\n82.70\n89.57 ± 3.46\n\nFigure 4.\nAblation results with AUROC (↑) and AUCRecall@k (↑) of BUSSARD and SARD-c for different synonym\nrates for the dining room scene. The synonym rate represents the\nprobability of substituting words using synonym mappings. For\nBUSSARD the dots represent the average results after running with\nten different seeds, and the shaded area visualizes the corresponding standard deviation. SARD-c was run only once for each rate\nas the calculation is deterministic.\n\n5.3. Evaluation\nFor evaluation, we apply BUSSARD to the corrected SARD\ndataset and compare it primarily against SARD-c, ensuring both methods are evaluated on the same corrected scene\ngraphs (see Sec. 5.1). The original SARD results (SARD-o)\nare also provided for completeness. The AUROC and AUCRecall@k values for each scene are presented in Tab. 1.\nBUSSARD outperforms SARD-o and SARD-c by a large\nmargin in AUROC, achieving 97.85% and 95.29% on the\ndining room and office scenes, respectively, with an average\nimprovement of 10.07% across both scenes. BUSSARD also\nimproves ranking quality, with an average 4.11% improvement in the AUC-Recall@k metric compared to SARD-c.\nNotably, when comparing to the original implementation\nSARD-o, our method has improved in average 24.21% in\nthe AUC-Recall@k metric. A qualitative analysis of a few\nselected examples is provided in the appendix (see Sec. 11).\nComputational Efficiency. Beyond detection performance, BUSSARD demonstrates superior computational efficiency. Experiments conducted on an NVIDIA RTX 3090\nshow that, despite SARD-c’s simpler counting-based implementation, our approach is on average five times faster.\n\nwords are replaced with different probabilities, here called\nsynonym rate. All ground truths, with triplets containing at\nleast one of the chosen words were modified by adding the\ntriplets with the synonyms as well.\nThe results of BUSSARD and SARD-c are shown in\nFig. 4 for the different synonym rates of the dining room\nscene. Similar results of the office scene can be found in\nthe appendix Fig. 7. Most notably, our model remains stable across all synonym rates with around 2% deviation. In\ncontrast, the results of SARD-c show significantly stronger\ndeviations with a maximum deviation of around 17.5%.\nWe additionally conduct experiments adding Gaussian\nnoise to the word embeddings to simulate slight word variances, confirming robustness to small variations. Further\ndetails are provided in the appendix (see Sec. 9.2).\nOverall, the synonym experiment and the noise robustness highlight the more universal nature of BUSSARD,\nwhich maintains stable performance across vocabulary variations, in contrast to the less robust enhanced counting approach of SARD-c.\nMulti-Scene and Cross-Dataset Evaluation. To show\nthe robustness of our approach, we provide the results of\ntwo additional experiments, summarized in Tab. 2. In both\nexperiments, training is performed on the combined dining room and office scenes, and evaluation is conducted per\nscene on the SARD test set. In the first experiment, we\nuse MIT-67 as the training source, and use the combined\nSARD scene training sets for the second experiment. Tab. 2\nshows that training on both SARD scenes improves office\nperformance with only a small dining room decline. Using MIT-67 reveals strong cross-dataset performance on the\ndining room scene (92% AUROC), whereas the office scene\n\n5.4. Ablation Studies\nWe conduct several ablation studies with special focus on\nshowing robustness, as well as justifying design decisions.\n5.4.1. Robustness\nSynonyms. To demonstrate universality in an openvocabulary setting, we conduct a study where four chosen\nwords are replaced with similar words (see Sec. 9.1 in appendix for more details). The replaced words were chosen\nto be common, while their synonyms are not yet present,\nmaking the effect of synonym substitution clearly measurable. For understanding the influence of the synonyms,\n7\n\n\fTable 2. AUROC and AUC-Recall@kk k comparing multi-scene\ntraining on MIT-67 and SARD, evaluated per scene on the SARD\ntest set.\nTrain Set\n\nTest Scene\n\nAUROC (↑)\n\nAUC-Recall@k (↑)\n\nSARD\n\nDining Room\nOffice\n\n97.46 ± 0.59\n96.73 ± 2.06\n\n91.60 ± 2.11\n88.53 ± 7.31\n\nMIT-67\n\nDining Room\nOffice\n\n92.45 ± 2.50\n60.03 ± 4.45\n\n74.79 ± 7.93\n20.70± 5.63\n\nAutoencoder Latent Dimensions Since normalizing\nflows are sensitive to input dimensions [10], we conduct experiments with varying latent dimension sizes to validate\nour hyperparameter choice. The AUROC results across different latent dimensions are presented in Fig. 5. It shows\nthat smaller latent dimensions yield inferior performance\ncompared to larger ones, justifying our choice of dz = 512.\nNotably, performance drops again when the latent dimension approaches the input dimensionality (here dz = 900).\nThe AUC-Recall@k results, which exhibit similar behavior,\ncan be found in the appendix (see Fig. 8).\nFeature Aggregation Methods. In BUSSARD, the feature vectors of each word in a triplet are concatenated. To\nevaluate whether a more compact representation could be\nsuitable, we performed two experiments that reduce the representation size. The first variant sums all feature vectors\ninstead of concatenating them, resulting in a three times\nsmaller autoencoder input dimension of d = 300 (called\nFeature Sum). Since the chosen latent dimension exceeds\nthis input dimension, the autoencoder is adjusted to compress vectors to dz = 128. The second variant applies\nelement-wise multiplication of the vectors instead of summation, called Feature Mult. The results of the dining\nroom can be seen in Tab. 3 and the office results are in\nthe appendix (see Tab. 6). Both experiments yield inferior results, with Feature multiplication performing closest\nto BUSSARD.\nNormalizing Flow with only Object Encoding. We\nevaluate the contribution of relationship features by testing\na variant that concatenates only object embeddings, called\nNode Only (see Tab. 3 and appendix Tab. 6). The resulting performance drop confirms that incorporating all triplet\ncomponents, both objects and their relationship, is crucial\nfor effective anomaly detection.\nRemove Autoencoder. To validate the autoencoder’s necessity, we tested a variant without it (No AE). The results in\nTab. 3 and appendix Tab. 6 show that this variant performs\nsignificantly worse than all other tested configurations. This\nunderscores the critical role of the autoencoder in enabling\neffective normalizing flow performance.\n\nTable 3. Ablation study results for the dining room scene. All\nexperiments were executed with ten different seeds and the average results are listed with their standard deviation. dz is the input\ndimension to the normalizing flow.\nExperiment\n\ndz\n\nAUROC (↑)\n\nAUC-Recall@k (↑)\n\nFeature Sum\nFeature Mult\nNode Only\nNo AE\nBUSSARD (ours)\n\n128\n128\n512\n900\n512\n\n91.22 ± 2.49\n96.48 ± 0.83\n95.20 ± 1.66\n85.44 ± 2.33\n97.85 ± 0.6\n\n78.88 ± 4.59\n90.02 ± 2.11\n89.33 ± 3.32\n63.40 ± 4.78\n92.85 ± 1.52\n\nsuffers from a serious decline (60% AUROC). We attribute\nthis to the distribution shift between the MIT-67 dataset and\nSARD’s office scenes.\nEncoding Independence. Using RelTR [11] as the\nscene graph generator yields similar performance (see appendix for more details Sec. 9.3), confirming independence\nfrom a specific generator. Similarly, substituting GloVe [7]\nwith stronger sentence embedding models [55, 63, 68] confirms embedding model independence. More details are\nprovided in the appendix (see Sec. 9.3).\n5.4.2. Design Study\nWe perform a design study to assess the influence of\nindividual components and justify our design choices.\n\n6. Conclusion\nWe propose the first model using a normalizing flow for\nsolving the SARD task. By using a word embedding model\nin combination with an autoencoder we are able to create a\nrich embedding of the triplets that help the normalizing flow\nto achieve state-of-the-art results on the SARD dataset. Simultaneously we are able to show the universality of BUSSARD, improving the applicability to open-word settings.\nFor future work, the approach could be applied to videos\nby leveraging DSGG. Additionally large language models\ncould be included to generate textual feedback.\n\nFigure 5. Ablation results with the AUROC (↑) for different latent\nspace dimensions of the autoencoder.\n\n8\n\n\fAcknowledgements. This work was supported by the\n\nquadratic spline coupling and autoregressive flows through\nrobust statistical tests. Symmetry, 16(8):942, 2024. 8\n[11] Yuren Cong, Michael Ying Yang, and Bodo Rosenhahn.\nReltr: Relation transformer for scene graph generation. IEEE\nTrans. Pattern Anal. Mach. Intell., 45(9):11169–11183,\n2023. 2, 8, 1\n[12] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li,\nand Li Fei-Fei. Imagenet: A large-scale hierarchical image\ndatabase. In 2009 IEEE conference on computer vision and\npattern recognition, pages 248–255. Ieee, 2009. 3\n[13] Laurent Dinh, David Krueger, and Yoshua Bengio. NICE:\nnon-linear independent components estimation. In 3rd International Conference on Learning Representations, ICLR\n2015, San Diego, CA, USA, May 7-9, 2015, Workshop Track\nProceedings, 2015. 5\n[14] Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio.\nDensity estimation using real NVP.\nIn 5th International Conference on Learning Representations, ICLR 2017,\nToulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017. 5, 6\n[15] Dario Fontanel, Fabio Cermelli, Massimiliano Mancini, and\nBarbara Caputo. Detecting anomalies in semantic segmentation with prototypes. In IEEE Conference on Computer Vision and Pattern Recognition Workshops, CVPR Workshops\n2021, virtual, June 19-25, 2021, pages 113–121. Computer\nVision Foundation / IEEE, 2021. 3\n[16] Sarthak Garg, Helisa Dhamo, Azade Farshad, Sabrina Musatian, Nassir Navab, and Federico Tombari. Unconditional\nscene graph generation. In 2021 IEEE/CVF International\nConference on Computer Vision, ICCV 2021, Montreal, QC,\nCanada, October 10-17, 2021, pages 16342–16351. IEEE,\n2021. 1, 3\n[17] Zhaopeng Gu, Bingke Zhu, Guibo Zhu, Yingying Chen,\nMing Tang, and Jinqiao Wang. Anomalygpt: Detecting industrial anomalies using large vision-language models. In\nThirty-Eighth AAAI Conference on Artificial Intelligence,\nAAAI 2024, Thirty-Sixth Conference on Innovative Applications of Artificial Intelligence, IAAI 2024, Fourteenth Symposium on Educational Advances in Artificial Intelligence,\nEAAI 2014, February 20-27, 2024, Vancouver, Canada,\npages 1932–1940. AAAI Press, 2024. 3\n[18] Jia Guo, Shuai Lu, Weihang Zhang, Fang Chen, Huiqi Li,\nand Hongen Liao. Dinomaly: The less is more philosophy in\nmulti-class unsupervised anomaly detection. In IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\nCVPR 2025, Nashville, TN, USA, June 11-15, 2025, pages\n20405–20415. Computer Vision Foundation / IEEE, 2025. 3\n[19] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun.\nDeep residual learning for image recognition. In 2016 IEEE\nConference on Computer Vision and Pattern Recognition,\nCVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages\n770–778. IEEE Computer Society, 2016. 3\n[20] Lars Heckler-Kram, Jan-Hendrik Neudeck, Ulla Scheler, Rebecca König, and Carsten Steger. The mvtec AD 2 dataset:\nAdvanced scenarios for unsupervised anomaly detection.\nCoRR, abs/2503.21622, 2025. 3\n[21] Or Hirschorn and Shai Avidan. Normalizing flows for human pose anomaly detection. In IEEE/CVF International\n\nMWK of Lower Saxony within Hybrint (VWZN4219)\nand LCIS (VWZN4704), the Deutsche Forschungsgemeinschaft (DFG) under Germany’s Excellence Strategy\nwithin the Cluster of Excellence PhoenixD (EXC2122)\nand Quantum Frontiers (EXC2123), the European Union\nunder grant agreement no.\n101136006 – XTREME.\n\nReferences\n[1] Oliver Atkinson, Akanksha Bhardwaj, Christoph Englert,\nVishal S Ngairangbam, and Michael Spannowsky. Anomaly\ndetection with convolutional graph neural networks. Journal\nof High Energy Physics, 2021(8):1–19, 2021. 3\n[2] Jinan Bao, Hanshi Sun, Hanqiu Deng, Yinsheng He, Zhaoxiang Zhang, and Xingyu Li. BMAD: benchmarks for medical anomaly detection. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2024 - Workshops, Seattle, WA, USA, June 17-18, 2024, pages 4042–\n4053. IEEE, 2024. 3\n[3] Paul Bergmann, Michael Fauser, David Sattlegger, and\nCarsten Steger. Mvtec ad–a comprehensive real-world\ndataset for unsupervised anomaly detection. In Proceedings\nof the IEEE/CVF conference on computer vision and pattern\nrecognition, pages 9592–9600, 2019. 1, 3\n[4] Paul Bergmann, Kilian Batzner, Michael Fauser, David Sattlegger, and Carsten Steger. Beyond dents and scratches:\nLogical constraints in unsupervised anomaly detection and\nlocalization. Int. J. Comput. Vis., 130(4):947–969, 2022. 1,\n3\n[5] Paul Bergmann, Xin Jin, David Sattlegger, and Carsten Steger. The mvtec 3d-ad dataset for unsupervised 3d anomaly\ndetection and localization. In Proceedings of the 17th International Joint Conference on Computer Vision, Imaging and\nComputer Graphics Theory and Applications, VISIGRAPP\n2022, Volume 5: VISAPP, Online Streaming, February 6-8,\n2022, pages 202–213. SCITEPRESS, 2022. 3\n[6] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas\nUsunier, Alexander Kirillov, and Sergey Zagoruyko. End-toend object detection with transformers. In Computer Vision\n- ECCV 2020 - 16th European Conference, Glasgow, UK,\nAugust 23-28, 2020, Proceedings, Part I, pages 213–229.\nSpringer, 2020. 2\n[7] Riley Carlson, John Bauer, and Christopher D. Manning. A\nnew pair of gloves. CoRR, abs/2507.18103, 2025. 2, 5, 6, 8\n[8] Mu Chen, Liulei Li, Wenguan Wang, and Yi Yang. Diffvsgg: Diffusion-driven online video scene graph generation.\nIn IEEE/CVF Conference on Computer Vision and Pattern\nRecognition, CVPR 2025, Nashville, TN, USA, June 11-15,\n2025, pages 29161–29172. Computer Vision Foundation /\nIEEE, 2025. 2\n[9] NF Chen, Zhiyuan Du, and Khin Hua Ng. Scene graphs for\ninterpretable video anomaly classification. In Conference on\nNeural Information Processing Systems Workshop on Visually Grounded Interaction and Language, 2018. 1, 3\n[10] Andrea Coccaro, Marco Letizia, Humberto Reyes-González,\nand Riccardo Torre. Comparison of affine and rational\n\n9\n\n\flationship detection using scene graph summarization. In\nIEEE/CVF Conference on Computer Vision and Pattern\nRecognition Workshops, CVPR Workshops 2025, Nashville,\nTN, USA, June 11-15, 2025, pages 3995–4003. Computer\nVision Foundation / IEEE, 2025. 1, 3, 4, 6\n[33] Chenghao Li, Lei Qi, and Xin Geng. A sam-guided twostream lightweight model for anomaly detection. ACM\nTrans. Multim. Comput. Commun. Appl., 21(2):67:1–67:23,\n2025. 3\n[34] Lin Li, Guikun Chen, Jun Xiao, Yi Yang, Chunping Wang,\nand Long Chen. Compositional feature augmentation for unbiased scene graph generation. In IEEE/CVF International\nConference on Computer Vision, ICCV 2023, Paris, France,\nOctober 1-6, 2023, pages 21628–21638. IEEE, 2023. 2\n[35] Nanjun Li, Faliang Chang, and Chunsheng Liu. A selftrained spatial graph convolutional network for unsupervised\nhuman-related anomalous event detection in complex scenes.\nIEEE Trans. Cogn. Dev. Syst., 15(2):737–750, 2023. 3\n[36] Rongjie Li, Songyang Zhang, Dahua Lin, Kai Chen, and\nXuming He. From pixels to graphs: Open-vocabulary\nscene graph generation with vision-language models. In\nIEEE/CVF Conference on Computer Vision and Pattern\nRecognition, CVPR 2024, Seattle, WA, USA, June 16-22,\n2024, pages 28076–28086. IEEE, 2024. 2\n[37] Yixin Liu, Shirui Pan, Yu Guang Wang, Fei Xiong, Liang\nWang, Qingfeng Chen, and Vincent Cheng-Siong Lee.\nAnomaly detection in dynamic graphs via transformer. IEEE\nTrans. Knowl. Data Eng., 35(12):12081–12094, 2023. 3\n[38] Ilya Loshchilov and Frank Hutter. Decoupled weight decay\nregularization. In 7th International Conference on Learning\nRepresentations, ICLR 2019, New Orleans, LA, USA, May\n6-9, 2019. OpenReview.net, 2019. 6\n[39] Tomás Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean.\nEfficient estimation of word representations in vector space.\nIn 1st International Conference on Learning Representations, ICLR 2013, Scottsdale, Arizona, USA, May 2-4, 2013,\nWorkshop Track Proceedings, 2013. 2\n[40] Yukuan Min, Aming Wu, and Cheng Deng. Environmentinvariant curriculum relation learning for fine-grained scene\ngraph generation. In IEEE/CVF International Conference on\nComputer Vision, ICCV 2023, Paris, France, October 1-6,\n2023, pages 13250–13261. IEEE, 2023. 2\n[41] Furkan Mumcu, Michael J. Jones, Yasin Yilmaz, and Anoop\nCherian. Complexvad: Detecting interaction anomalies in\nvideo. In IEEE/CVF Winter Conference on Applications\nof Computer Vision, WACV 2025 - Workshops, Tucson, AZ,\nUSA, February 28 - March 4, 2025, pages 1003–1012. IEEE,\n2025. 1, 3\n[42] Ghazal Alinezhad Noghre, Armin Danesh Pazho, and\nHamed Tabkhi. An exploratory study on human-centric\nvideo anomaly detection through variational autoencoders\nand trajectory prediction. In IEEE/CVF Winter Conference\non Applications of Computer Vision Workshops, WACVW\n2024 - Workshops, Waikoloa, HI, USA, January 1-6, 2024,\npages 995–1004. IEEE, 2024. 1, 3\n[43] Sotheany Nou, Joong-Sun Lee, Nagaaki Ohyama, and\nTakashi Obi. Human pose feature enhancement for human\n\nConference on Computer Vision, ICCV 2023, Paris, France,\nOctober 1-6, 2023, pages 13499–13508. IEEE, 2023. 1, 3\n[22] Christian Horvat and Jean-Pascal Pfister. Denoising normalizing flow. In Advances in Neural Information Processing\nSystems, pages 9099–9111. Curran Associates, Inc., 2021.\n3, 5\n[23] Yu Hsuan Hsieh and Shang-Hong Lai. CSAD: unsupervised\ncomponent segmentation for logical anomaly detection. In\n35th British Machine Vision Conference, BMVC 2024, Glasgow, UK, November 25-28, 2024. BMVA Press, 2024. 3\n[24] Jinbae Im, JeongYeon Nam, Nokyung Park, Hyungmin Lee,\nand Seunghyun Park. EGTR: extracting graph from transformer for scene graph generation. In IEEE/CVF Conference\non Computer Vision and Pattern Recognition, CVPR 2024,\nSeattle, WA, USA, June 16-22, 2024, pages 24229–24238.\nIEEE, 2024. 1, 2, 3, 6\n[25] Jongheon Jeong, Yang Zou, Taewan Kim, Dongqing Zhang,\nAvinash Ravichandran, and Onkar Dabeer. Winclip: Zero/few-shot anomaly classification and segmentation. In\nIEEE/CVF Conference on Computer Vision and Pattern\nRecognition, CVPR 2023, Vancouver, BC, Canada, June 1724, 2023, pages 19606–19616. IEEE, 2023. 3\n[26] Soohwan Jeong, Jongmin Park, Mingyu Choi, Yongjin\nKwon, and Sungsu Lim. Llm-powered scene graph representation learning for image retrieval via visual triplet-based\ngraph transformation. Expert Syst. Appl., 286:127926, 2025.\n2\n[27] Er Jin, Qihui Feng, Yongli Mou, Gerhard Lakemeyer, Stefan Decker, Oliver Simons, and Johannes Stegmaier. Logicad: Explainable anomaly detection via vlm-based text feature extraction. In AAAI-25, Sponsored by the Association\nfor the Advancement of Artificial Intelligence, February 25\n- March 4, 2025, Philadelphia, PA, USA, pages 4129–4137.\nAAAI Press, 2025. 3\n[28] Diederik P. Kingma and Jimmy Ba. Adam: A method for\nstochastic optimization. In 3rd International Conference on\nLearning Representations, ICLR 2015, San Diego, CA, USA,\nMay 7-9, 2015, Conference Track Proceedings, 2015. 6\n[29] Diederik P. Kingma and Prafulla Dhariwal. Glow: Generative flow with invertible 1x1 convolutions. In Advances in\nNeural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018,\nNeurIPS 2018, December 3-8, 2018, Montréal, Canada,\npages 10236–10245, 2018. 5\n[30] Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson,\nKenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A. Shamma, Michael S. Bernstein, and\nLi Fei-Fei. Visual genome: Connecting language and vision\nusing crowdsourced dense image annotations. Int. J. Comput. Vis., 123(1):32–73, 2017. 6\n[31] Mathis Kruse and Bodo Rosenhahn. Multi-flow: Multiview-enriched normalizing flows for industrial anomaly detection. In IEEE/CVF Conference on Computer Vision and\nPattern Recognition Workshops, CVPR Workshops 2025,\nNashville, TN, USA, June 11-15, 2025, pages 3933–3944.\nComputer Vision Foundation / IEEE, 2025. 3\n[32] Yu-Chen Lai, Motoharu Sonogashira, Itthisak Phueaksri,\nand Yasutomo Kawanishi. Scene-specific anomalous re-\n\n10\n\n\fderstanding. In Advances in Neural Information Processing\nSystems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020,\nvirtual, 2020. 8, 2\n[56] Robyn Speer, Joshua Chin, and Catherine Havasi. Conceptnet 5.5: An open multilingual graph of general knowledge.\nIn Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, February 4-9, 2017, San Francisco, California, USA, pages 4444–4451. AAAI Press, 2017. 6\n[57] Waqas Sultani, Chen Chen, and Mubarak Shah. Real-world\nanomaly detection in surveillance videos. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR\n2018, Salt Lake City, UT, USA, June 18-22, 2018, pages\n6479–6488. Computer Vision Foundation / IEEE Computer\nSociety, 2018. 1, 3\n[58] Che Sun, Yunde Jia, Yao Hu, and Yuwei Wu. Scene-aware\ncontext reasoning for unsupervised abnormal event detection\nin videos. In MM ’20: The 28th ACM International Conference on Multimedia, Virtual Event / Seattle, WA, USA, October 12-16, 2020, pages 184–192. ACM, 2020. 3\n[59] Shuzhou Sun, Shuaifeng Zhi, Qing Liao, Janne Heikkilä,\nand Li Liu. Unbiased scene graph generation via two-stage\ncausal modeling. IEEE Trans. Pattern Anal. Mach. Intell.,\n45(10):12562–12580, 2023. 2\n[60] Kees M Van Hespen, Jaco JM Zwanenburg, Jan W Dankbaar,\nMirjam I Geerlings, Jeroen Hendrikse, and Hugo J Kuijf. An\nanomaly detection approach to identify chronic brain infarcts\non mri. Scientific Reports, 11(1):7714, 2021. 3\n[61] Guan Wang, Zhimin Li, Qingchao Chen, and Yang Liu.\nOED: towards one-stage end-to-end dynamic scene graph\ngeneration. In IEEE/CVF Conference on Computer Vision\nand Pattern Recognition, CVPR 2024, Seattle, WA, USA,\nJune 16-22, 2024, pages 27938–27947. IEEE, 2024. 2\n[62] Kai Wang, Shuaiyi Lyu, Yang Liu, and Bailing Wang. Graph\noptimization via decoupled edge tuning for efficient industrial anomaly detection. IEEE Trans. Netw. Sci. Eng., 12(5):\n4028–4043, 2025. 3\n[63] Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang,\nand Ming Zhou. Minilm: Deep self-attention distillation for\ntask-agnostic compression of pre-trained transformers. In\nAdvances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems\n2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. 8,\n2\n[64] Yue Wang, Jinlong Peng, Jiangning Zhang, Ran Yi, Yabiao\nWang, and Chengjie Wang. Multimodal industrial anomaly\ndetection via hybrid fusion. In IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, CVPR 2023, Vancouver, BC, Canada, June 17-24, 2023, pages 8032–8041.\nIEEE, 2023. 3\n[65] Shengqiong Wu, Hao Fei, and Tat-Seng Chua. Universal scene graph generation. In IEEE/CVF Conference on\nComputer Vision and Pattern Recognition, CVPR 2025,\nNashville, TN, USA, June 11-15, 2025, pages 14158–14168.\nComputer Vision Foundation / IEEE, 2025. 1, 2\n[66] Shengqiong Wu, Hao Fei, Jingkang Yang, Xiangtai Li,\nJuncheng Li, Hanwang Zhang, and Tat-Seng Chua. Learning 4d panoptic scene graph generation from rich 2d visual\n\nanomaly detection and tracking. International Journal of Information Technology, 17(3):1311–1320, 2025. 1, 3\n[44] OpenAI. Chatgpt, 2025. 3\n[45] George Papamakarios, Iain Murray, and Theo Pavlakou.\nMasked autoregressive flow for density estimation. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems\n2017, December 4-9, 2017, Long Beach, CA, USA, pages\n2338–2347, 2017. 3\n[46] Jae Sung Park, Zixian Ma, Linjie Li, Chenhao Zheng,\nCheng-Yu Hsieh, Ximing Lu, Khyathi Raghavi Chandu,\nQuan Kong, Norimasa Kobori, Ali Farhadi, Yejin Choi, and\nRanjay Krishna. Synthetic visual genome. In IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\nCVPR 2025, Nashville, TN, USA, June 11-15, 2025, pages\n9073–9086. Computer Vision Foundation / IEEE, 2025. 1, 2\n[47] Jeffrey Pennington, Richard Socher, and Christopher D.\nManning. Glove: Global vectors for word representation.\nIn Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2014, October\n25-29, 2014, Doha, Qatar, A meeting of SIGDAT, a Special\nInterest Group of the ACL, pages 1532–1543. ACL, 2014. 2\n[48] Masoud Pourreza, Mohammadreza Salehi, and Mohammad Sabokrou. Ano-graph: Learning normal scene contextual graphs to detect video anomalies. arXiv preprint\narXiv:2103.10502, 2021. 3\n[49] Ariadna Quattoni and Antonio Torralba. Recognizing indoor scenes. In 2009 IEEE Computer Society Conference on\nComputer Vision and Pattern Recognition (CVPR 2009), 2025 June 2009, Miami, Florida, USA, pages 413–420. IEEE\nComputer Society, 2009. 6, 1\n[50] Pallavi Raj. Anoedgepred: A novel method for detecting\nanomalous edges in social networks. IETE Technical Review,\npages 1–17, 2025. 3\n[51] Danilo Jimenez Rezende and Shakir Mohamed. Variational\ninference with normalizing flows. In Proceedings of the 32nd\nInternational Conference on Machine Learning, ICML 2015,\nLille, France, 6-11 July 2015, pages 1530–1538. JMLR.org,\n2015. 3\n[52] Karsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard\nSchölkopf, Thomas Brox, and Peter V. Gehler. Towards\ntotal recall in industrial anomaly detection. In IEEE/CVF\nConference on Computer Vision and Pattern Recognition,\nCVPR 2022, New Orleans, LA, USA, June 18-24, 2022,\npages 14298–14308. IEEE, 2022. 3\n[53] Marco Rudolph, Bastian Wandt, and Bodo Rosenhahn. Same\nsame but differnet: Semi-supervised defect detection with\nnormalizing flows. In IEEE Winter Conference on Applications of Computer Vision, WACV 2021, Waikoloa, HI, USA,\nJanuary 3-8, 2021, pages 1906–1915. IEEE, 2021. 3\n[54] Marco Rudolph, Tom Wehrbein, Bodo Rosenhahn, and Bastian Wandt. Asymmetric student-teacher networks for industrial anomaly detection. In IEEE/CVF Winter Conference\non Applications of Computer Vision, WACV 2023, Waikoloa,\nHI, USA, January 2-7, 2023, pages 2591–2601. IEEE, 2023.\n3\n[55] Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and Tie-Yan Liu.\nMpnet: Masked and permuted pre-training for language un-\n\n11\n\n\fanomaly detection. IEEE Trans Autom. Sci. Eng., 22:7712–\n7723, 2025. 3\n[75] Qihang Zhou, Guansong Pang, Yu Tian, Shibo He, and Jiming Chen. Anomalyclip: Object-agnostic prompt learning\nfor zero-shot anomaly detection. In The Twelfth International Conference on Learning Representations, ICLR 2024,\nVienna, Austria, May 7-11, 2024. OpenReview.net, 2024. 3\n[76] Yang Zou, Jongheon Jeong, Latha Pemula, Dongqing Zhang,\nand Onkar Dabeer. Spot-the-difference self-supervised pretraining for anomaly detection and segmentation. In European Conference on Computer Vision, pages 392–408.\nSpringer, 2022. 3\n\nscene. In IEEE/CVF Conference on Computer Vision and\nPattern Recognition, CVPR 2025, Nashville, TN, USA, June\n11-15, 2025, pages 24539–24549. Computer Vision Foundation / IEEE, 2025. 2\n[67] Julian Wyatt, Adam Leach, Sebastian M. Schmon, and\nChris G. Willcocks. Anoddpm: Anomaly detection with denoising diffusion probabilistic models using simplex noise.\nIn IEEE/CVF Conference on Computer Vision and Pattern\nRecognition Workshops, CVPR Workshops 2022, New Orleans, LA, USA, June 19-20, 2022, pages 649–655. IEEE,\n2022. 3\n[68] An Yang, Anfeng Li, Baosong Yang, Beichen Zhang,\nBinyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen\nHuang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou,\nFei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin\nYang, Jiaxi Yang, Jing Zhou, Jingren Zhou, Junyang Lin, Kai\nDang, Keqin Bao, Kexin Yang, Le Yu, Lianghao Deng, Mei\nLi, Mingfeng Xue, Mingze Li, Pei Zhang, Peng Wang, Qin\nZhu, Rui Men, Ruize Gao, Shixuan Liu, Shuang Luo, Tianhao Li, Tianyi Tang, Wenbiao Yin, Xingzhang Ren, Xinyu\nWang, Xinyu Zhang, Xuancheng Ren, Yang Fan, Yang Su,\nYichang Zhang, Yinger Zhang, Yu Wan, Yuqiong Liu, Zekun\nWang, Zeyu Cui, Zhenru Zhang, Zhipeng Zhou, and Zihan\nQiu. Qwen3 technical report, 2025. 8, 2\n[69] Dongil Yang, Minjin Kim, Sunghwan Kim, Beong-woo\nKwak, Minjun Park, Jinseok Hong, Woontack Woo, and\nJinyoung Yeo. LLM meets scene graph: Can large language\nmodels understand and generate scene graphs? A benchmark and empirical study. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2025, Vienna, Austria,\nJuly 27 - August 1, 2025, pages 21335–21360. Association\nfor Computational Linguistics, 2025. 1, 2\n[70] Jingkang Yang, Wenxuan Peng, Xiangtai Li, Zujin Guo,\nLiangyu Chen, Bo Li, Zheng Ma, Kaiyang Zhou, Wayne\nZhang, Chen Change Loy, and Ziwei Liu. Panoptic video\nscene graph generation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023, Vancouver, BC, Canada, June 17-24, 2023, pages 18675–18685.\nIEEE, 2023. 2\n[71] Yi Yang, Yuren Cong, Hao Cheng, Bodo Rosenhahn, and\nMichael Ying Yang. FDSG: forecasting dynamic scene\ngraphs. CoRR, abs/2506.01487, 2025. 2\n[72] Jinjin Zhang, Guodong Wang, Yizhou Jin, and Di Huang.\nTowards training-free anomaly detection with vision and\nlanguage foundation models. In IEEE/CVF Conference\non Computer Vision and Pattern Recognition, CVPR 2025,\nNashville, TN, USA, June 11-15, 2025, pages 15204–15213.\nComputer Vision Foundation / IEEE, 2025. 3\n[73] Yingying Zhang, Desen Zhou, Siqin Chen, Shenghua Gao,\nand Yi Ma. Single-image crowd counting via multi-column\nconvolutional neural network. In 2016 IEEE Conference on\nComputer Vision and Pattern Recognition, CVPR 2016, Las\nVegas, NV, USA, June 27-30, 2016, pages 589–597. IEEE\nComputer Society, 2016. 1, 3\n[74] Yiheng Zhang, Yunkang Cao, Xiaohao Xu, and Weiming\nShen. Logicode: An llm-driven framework for logical\n\n12\n\n\fBUSSARD: Normalizing Flows for Bijective Universal Scene-Specific Anomalous\nRelationship Detection\nSupplementary Material\n\nFigure 6. The 40 most frequent triplets of the office scene. The\nlabels belong to the highlighted bars, showing example triplets.\n\n7. Additional Information to the Scene Graph\nDataset\n\nFigure 7.\nAblation results with AUROC (↑) and AUCRecall@k (↑) of BUSSARD and SARD-c for different synonym\nrates for the office scene. The synonym rate represents the probability of substituting words using synonym mappings. For BUSSARD the dots represent the average results after running with ten\ndifferent seeds, and the shaded area visualizes the corresponding\nstandard deviation. SARD-c was run only once for each rate as the\ncalculation is deterministic.\n\nFigure 6 shows the frequency distribution of the 40 most frequent\ntriplets of the office scene.\n\n8. MIT-67 Dataset\nThe MIT-67 dataset consists of various indoor scenes, originally\ndesigned for indoor scene recognition [49]. Among the overall 67\nscenes, there are office and dining room scenes, with each having\n109 and 274 samples per scene. The dataset contains no anomalies\nand has no specific labels.\n\nTable 4. Results for experiments for the scene graph generator\nrobustness, with a different scene graph generator and gaussian\nnoise with different σ. AUROC and AUC-Recall@k on the SARD\ndataset.\n\n9. Additional Robustness Results\nIn this section we provide the additional results for the robustness\nexperiments.\n\nScene\n\nExperiment\n\nAUROC (↑)\n\nAUC-Recall@k (↑)\n\nDining\nRoom\n\nRelTR\nσ = 0.01\nσ = 0.05\nσ = 0.10\n\n95.57 ± 0.88\n97.43 ± 0.57\n97.46 ± 0.47\n96.11 ± 1.22\n\n87.29 ± 3.2\n93.08 ± 1.41\n93.44 ± 1.18\n90.37 ± 2.54\n\nOffice\n\nRelTR\nσ = 0.01\nσ = 0.05\nσ = 0.10\n\n96.09 ± 1.16\n95.39 ± 1.54\n95.60 ± 1.46\n92.91 ± 1.69\n\n89.47 ± 3.11\n89.77 ± 3.22\n90.24 ± 3.05\n84.97 ± 3.45\n\n9.1. Synonym Experiment Details\nThe list of the original words and their chosen corresponding synonyms, used for the experiment, are: table → surface, chair →\nstool, laptop → notebook and plate → dish.\nFigure 7 shows the results of the synonym experiments for the\noffice scene. The plateau at 50% synonym rate occurs since, the\noriginal word and its synonym both appear with similar frequency;\nconsequently, when counting, neither word is sufficiently rare to\nbe falsely classified as anomalous.\n\nin object and relationship descriptions. Tab. 4 shows the results\nfor different values of σ. As the noise does not yield a consistent\nimprovement, we exclude it from the final model.\n\n9.2. Gaussian Noise Experiments\n\n9.3. Encoding Independence\n\nWe test robustness to error-prone SGGs by adding Gaussian noise\ndirectly to the concatenated word embedding features. Specifically, we perturb the clean embedding t as\n  \\mathbf {t}_\\text {noisy} = \\mathbf {t} + \\boldsymbol {\\epsilon }, \\quad \\boldsymbol {\\epsilon } \\sim \\mathcal {N}(0, \\sigma ^2 I) \n\nScene Graph Generator Independence. To show the independence of BUSSARD from the chosen scene graph generator, we\nreplaced the modular SGG component with RelTR [11] and provide the results in Tab. 4. The similar performance underlines the\nstability of BUSSARD regarding different scene graph generators.\nWord Embedding Independence. To demonstrate independence from the chosen word embedding model, we conducted ex-\n\n(12)\n\nand use tnoisy as input to the autoencoder. The intuition is that a\nsmall deviation of the embedding vectors corresponds to a shift\ntowards semantically similar words, thereby simulating variability\n\n1\n\n\fTable 6. Ablation study results for office scene. All experiments\nwere executed with ten different seeds and the average results are\nlisted with their standard deviation. dz is the input dimension to\nthe normalizing flow.\n\nTable 5. Results for experiments with different word embedding\nmodels. All variations were executed with ten different seeds and\nthe average and standard deviation is provided. The best performing model is highlighted.\nScene\n\nEmbedding Model\n\nAUROC (↑)\n\nAUC-Recall@k (↑)\n\nExperiment\n\ndz\n\nAUROC (↑)\n\nAUC-Recall@k (↑)\n\nDining\nRoom\n\nall-MiniLM-L6-v2 [63]\nall-mpnet-base-v2 [55]\nQwen3-Embedding-8B [68]\nGloVe [7]\n\n96.34 ± 0.69\n97.25 ± 0.55\n97.99 ± 0.58\n97.85 ± 0.6\n\n90.98 ± 1.35\n93.16 ± 1.22\n94.77 ± 1.48\n92.85 ± 1.52\n\nOffice\n\nall-MiniLM-L6-v2\nall-mpnet-base-v2\nQwen3-Embedding-8B\nGloVe\n\n95.43 ± 2.30\n95.40 ± 2.74\n96.09 ± 1.71\n95.29 ± 1.65\n\n89.68 ± 4.81\n89.69 ± 5.79\n91.30 ± 3.52\n89.57 ± 3.46\n\nFeature Sum\nFeature Mult\nNode Only\nNo AE\nBUSSARD (ours)\n\n128\n128\n512\n900\n512\n\n94.18 ± 2.45\n94.65 ± 3.18\n90.89 ± 4.33\n85.74 ± 2.98\n95.29 ± 1.65\n\n87.35 ± 5.23\n88.24 ± 6.74\n80.16 ± 9.26\n71.82 ± 5.18\n89.57 ± 3.46\n\nFigure 12 shows subsets of the generated scene graphs with\nnormalized triplet anomaly scores, with the two highest-scoring\ntriplets highlighted. In Fig. 12a, ‘flower-on-table’ correctly receives the highest anomaly score. In Fig. 12b, however, ‘bagon-chair’ scores highest while the true anomaly ‘shoe-on-chair’\nranks second, suggesting that bags on chairs were rarely seen during training, causing an elevated anomaly score.\n\n12. Example Scene Graphs of Images\nWe present example images from the dataset with their corresponding top 30 triplets. Three examples each from the dining\nroom and office scenes can be found in Fig. 9. The corresponding scene graphs for the dining room (see Fig. 10) and office (see\nFig. 11) examples are also presented.\nFigure 8. Ablation results with the AUC-Recall@k (↑) for different latent space dimensions of the autoencoder.\n\nperiments substituting GloVe [7] with stronger sentence embedding models, which encode complete sentences rather than individual words. For these models, each triplet is encoded as a\nfull sentence of the form: ‘In a {scene type}, {obj1}\n{relation} {obj2}’, incorporating both the scene context\nand the triplet components. The results are provided in Tab. 5. Despite being a simpler word-level model, GloVe achieves competitive performance compared to the more computationally expensive\nsentence embedding models, justifying its use in BUSSARD.\n\n10. Additional Design Study Results\nTable 6 and Fig. 8 show the office scene and AUC-Recall@k counterparts to the design study results presented in Sec. 5.4.2.\n\n11. Qualitative Analysis\nTo better understand the strengths and weaknesses of BUSSARD,\nwe conduct a qualitative analysis across both scenes. True positives include unusual object placements such as ‘banana-on-chair’\nor ‘shoe-on-desk’. The false negative ‘pillow-on-table’ scored\nnear the decision threshold, indicating a genuinely ambiguous relationship, likely due to rare training occurrences. A notable false\npositive is the triplet ‘flower-under-clock’ which is detected by the\nscene graph generator despite not being in the image. However the\ndetection of this triplet as anomalous is correct.\n\n2\n\n\f(a) Dining room example 1\n\n(d) Office example 1\n\n(b) Dining room example 2\n\n(e) Office example 2\n\n(c) Dining room example 3\n\n(f) Office example 3\n\nFigure 9. Example images from dining room (left) and office (right). The top images (a) and (d) are normal, while the others contain\nanomalies.\n\n3\n\n\f(a) Scene graph dining room example 1\n\n(b) Scene graph dining room example 2\n\n(c) Scene graph dining room example 3\n\nFigure 10. Example scene graphs from dining room images, constructed from the top 30 triplets. The last two scene graphs contain\nanomalies, which are highlighted red.\n\n4\n\n\f(d) Scene graph office example 1\n\n(e) Scene graph office example 2\n\n(f) Scene graph office example 3\n\nFigure 11. Example scene graphs from office images, constructed from the top 30 triplets. The last two scene graphs contain anomalies,\nwhich are highlighted red.\n\n5\n\n\f(a) Scene graph dining room example with normalized anomaly scores\n\n(b) Scene graph office example with normalized anomaly scores\n\nFigure 12. Example subsets of scene graphs with normalized anomaly scores. The red highlighted elements belong to the two triplets with\nthe highest anomaly score and the ground truth is marked with an additional, yellow circle.\n\n6\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"