"<!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>RC-NF: Robot-Conditioned Normalizing Flow for Real-Time Anomaly Detection\nin Robotic Manipulation\nBin Zhu3 Jiarui Yang1,2 Xiangyu Zhao1,2 Jingjing Chen1,2 * Yu-Gang Jiang1,2\n1\nInstitute of Trustworthy Embodied AI, Fudan University\n2\nShanghai Key Laboratory of Multimodal Embodied AI 3 Singapore Management University\n\nShijie Zhou1,2\n\narXiv:2603.11106v1 [cs.CV] 11 Mar 2026\n\n§ https://heikaishuizz.github.io/RC-NF/ {zhousj24, jryang24, zhaoxy25}@m.fudan.edu.cn,\nbinzhu@smu.edu.sg, {chenjingjing, ygj}@fudan.edu.cn\n\nFigure 1. We propose Robot-Conditioned Normalizing Flow (RC-NF) model to monitor in real time whether the robot’s execution state and\nobject motion trajectory remain consistent with the task. To evaluate anomaly (i.e., Out-of-Distribution, OOD) detection performance, we\nintroduce LIBERO-Anomaly-10, which includes three common robotic anomalies. Real-world experiments further demonstrate RC-NF\nmanages to enhance the adaptability of the VLA models (e.g.,  \\pi _0  ).\n\nAbstract\nRecent advances in Vision-Language-Action (VLA) models\nhave enabled robots to execute increasingly complex tasks.\nHowever, VLA models trained through imitation learning struggle to operate reliably in dynamic environments\nand often fail under Out-of-Distribution (OOD) conditions. To address this issue, we propose Robot-Conditioned\nNormalizing Flow (RC-NF), a real-time monitoring model\nfor robotic anomaly detection and intervention that ensures\nthe robot’s state and the object’s motion trajectory align\nwith the task. RC-NF decouples the processing of taskaware robot and object states within the normalizing flow.\nIt requires only positive samples for unsupervised training\nand calculates accurate robotic anomaly scores during inference through the probability density function. We fur* Corresponding author.\n\nther present LIBERO-Anomaly-10, a benchmark comprising three categories of robotic anomalies for simulation\nevaluation. RC-NF achieves state-of-the-art performance\nacross all anomaly types compared to previous methods in\nmonitoring robotic tasks. Real-world experiments demonstrate that RC-NF operates as a plug-and-play module for\nVLA models (e.g.,  \\pi _0  ), providing a real-time OOD signal that enables state-level rollback or task-level replanning when necessary, with a response latency under 100\nms. These results have demonstrated that our RC-NF noticeably enhances the robustness and adaptability of VLAbased robotic systems in dynamic environments.\n\n1. Introduction\nWith the development of Vision-Language Models (VLM),\nVision-Language-Action (VLA) models [5, 19, 20, 23, 52]\n\n\fare capable of performing an increasing variety of manipulation tasks from natural-language prompts. These VLA\nmodels are typically trained through imitation learning on\nexpert demonstration data, and map high-level task prompts\nto low-level control actions. However, despite their impressive performance, VLA models often struggle when deployed in dynamic real-world environments, where Out-ofDistribution (OOD) scenarios occur frequently and can significantly degrade performance. As a result, VLA models\nrequire an accurate runtime monitoring system to determine\nwhether the robot’s execution remains consistent with the\nintended task in OOD situations.\nPrevious works on runtime monitoring typically formulate failure detection as a robotic state classification problem [3, 26, 38, 42, 43], requiring exhaustive enumeration of abnormal conditions or manually defined preconditions. However, this approach struggles to handle the combinatorial variability of real-world manipulation. Recent\napproaches have introduced high-level Vision-Language\nModels (VLMs), such as in dual-system architectures [6, 9,\n12, 17, 28, 39, 51] and Sentinel [1], but these models require\nmulti-step reasoning, resulting in multi-second latency, hindering timely intervention.\nTo address these limitations, we propose RobotConditioned Normalizing Flow (RC-NF), a real-time\nanomaly detection model that monitors whether the joint\ndistribution of robot states and task-relevant object trajectories is consistent with normal task execution. Specifically, RC-NF is trained solely on successful demonstrations and models robot–object motion through a conditional\nnormalizing flow. At runtime, it computes an anomaly\nscore based on the probability density. If the score exceeds the threshold, behavioral drift is immediately detected. Key to RC-NF is a novel affine coupling layer,\nthe Robot-Conditioned Point Query Network (RCPQNet),\nwhich fuses robot states, task embeddings, and objectcentric point-set representations from SAM2 [32] segmentations. In particular, RCPQNet is designed to decouple\nrobot state and object features while preserving their interactive features, providing a structured and expressive representation for manipulation tasks.\nTo evaluate our method, we introduce LIBEROAnomaly-10, a benchmark for robotic anomaly detection\nbuilt upon LIBERO-10 [25]. Unlike prior datasets focused on generalized task failures [1, 34, 36, 47], LIBEROAnomaly-10 contains three manipulation-specific anomaly\ntypes—Gripper Open, Gripper Slippage, and Spatial Misalignment—each designed to test a different axis of deviation from expert trajectories. Compared to current state-ofthe-art robotic monitoring model [47] and VLMs [1, 4, 8,\n29], our proposed RC-NF achieves state-of-the-art performance across all anomaly types, surpassing the best baseline by approximately 8% AUC and 10% AP respectively.\n\nIn real-world deployment, RC-NF can detect anomalies\nwithin 100 ms. Furthermore, we demonstrate that RC-NF\ncan trigger corrections for both task-level and state-level\nOOD situations, thereby enhancing the adaptability and robustness of VLA models (e.g., π0 [5]). Task-level OOD occurs when the current VLA input task prompt no longer supports the task, requiring task replanning. State-level OOD\nrefers to situations where the relative motion trajectory between the robot and the object drifts outside the VLA training distribution [35]. Although the instruction is still valid,\nrecovery can still be achieved by adjusting the trajectory according to the original task. At the task level, RC-NF serves\nas a trigger for the high-level module, bridging the low-level\nand high-level modules. At the state level, RC-NF can trigger the homing procedure to correct the trajectory, enabling\nreal-time adjustments for VLA.\nIn summary, our main contributions are as follows.\n• We propose RC-NF, an unsupervised robot-conditioned\nnormalizing flow for robotic anomaly detection, featuring\na novel affine coupling layer (RCPQNet) that injects taskaware robot states as conditions into the normalizing flow.\n• We present LIBERO-Anomaly-10, a new benchmark\nspanning three diverse manipulation-specific anomaly\ntypes, and show that RC-NF achieves state-of-the-art\nAUC and AP, outperforming prior robotic failure detectors and VLM-based monitors.\n• We validate RC-NF in real-world robotic manipulation,\nshowing that it detects anomalies within 100 ms and supports both task-level replanning and state-level trajectory rollback, substantially enhancing the robustness and\nadaptability of VLA models in dynamic environments.\n\n2. Related Work\nVision-Language-Action Model.\nWith the advancement of foundational models, powerful VLA models have\nemerged [5, 19, 20, 23, 52]. These imitation learning strategies face challenges during inference, particularly under\nOut-Of-Distribution (OOD) conditions. For example, tasklevel OOD occurs when instructions no longer align with\nthe operational environment, while state-level OOD arises\nwhen the robotic state drifts from the training distribution [35, 48]. Existing methods [6, 9, 12, 17, 39, 51]that\nintegrate high-level decision-making with low-level execution help address task-level OOD to some extent but are\nlimited by their execution speed and response accuracy. In\ncontrast, our approach can provide feedback on anomalies\nwithin 100 ms, effectively correcting low-level execution in\nresponse to both task-level and state-level OOD.\nPoint Representations for Manipulation. Points effectively describe the position and motion trajectory of objects. As embodied intelligence progresses, points are vital in both high-level semantic understanding and low-level\naction execution [14–16, 18, 24, 30, 40, 41]. Existing work\n\n\fFigure 2. Overview of our framework. Our Robot-Conditioned Normalizing Flow (RC-NF) operates as a real-time runtime monitor for\nrobotic manipulation tasks. (Left) SAM2 extracts object masks from video streaming, which are then grid-sampled into point sets. Task\nprompts are encoded using spherical uniform encoding, and robot proprioception provides joint, gripper, and pose states. (Center) Our\nRC-NF leverages these signals as conditions within the affine coupling layers in the proposed RCPQNet (Sec . 3.3) to apply K invertible\ntransformations and compute anomaly scores for the current task. (Right) When the anomaly score exceeds the threshold, the Anomaly\nDetection and Handling module triggers corrective behaviors by task replanning for task-level OOD and task rollback for state-level OOD.\n\nrelies on sparse point trajectories as intermediate representations to guide execution modules. With advancements\nin open-world object detection [7, 11, 33, 46] and visual\nsegmentation [22, 32], this paper introduces a point set enriched with object semantic shapes, providing a more detailed representation during execution.\nRuntime Robot Behavior Monitoring. Some studies\nframe anomaly detection as a state classification problem,\nsuch as using behavior trees to partition or roll back task\nsteps [3, 26, 38, 42, 43]. However, these methods depend\non explicit task design, which may limit their applicability to more complex tasks. Recent studies have employed\nVLMs for task monitoring [1, 27, 45, 45], but these require chain of thought inferences to generate anomaly assessment, making it difficult to quickly adapt to environmental changes. FailDetect [47] proposed an unsupervised\nflow matching model [49] that concatenates image features\nwith robot states as its input, but this method leaves potential for improvement in feature selection and processing.\nTo address above, inspired by anomaly detection in pedestrian scenarios [2, 10, 13, 44, 50], RC-NF uses unsupervised\ntraining, eliminating the need to enumerate all anomalies. It\nprocesses multimodal inputs through decoupled pathways,\nenabling intuitive anomaly score reflection. As a result, RCNF can operate as a sub-100 ms fast system, preventing failure accumulation in closed-loop control.\n\n3. Method\n3.1. Preliminary\nNormalizing Flow (NF) establishes a bidirectional mapping between the complex distribution \\protect \\mathcal  {X} and a simple probability distribution \\protect \\mathcal  {Z} via a sequence of invertible transfor-\n\nmations f , enabling explicit probability density estimation:\n  p_{X}(x)=p_{Z}(f(x))\\left |\\operatorname {det}\\left (\\frac {\\partial f}{\\partial x}\\right )\\right |. \\label {NF-2} \n\n(1)\n\nTaking the Glow [21] model as an example, the entire\nnetwork consists of K flow steps f . Each flow step comprises three layers: an ActNorm layer, a permutation layer,\nand an affine coupling layer. The ActNorm layer applies\nlearnable channel-wise scaling and bias initialized with the\nfirst data batch, achieving normalization while preserving\ninvertibility. The permutation transformation employs an\ninvertible 1\\times 1 convolution to reorder feature channels. This\nformulation allows NF models to compute tractable likelihoods and to model complex distributions while maintaining differentiability and invertibility. The affine coupling\nlayer splits the input into two parts,  x_0  and  x_1  , using  x_0  to\ncompute the scale  \\gamma  and shift  \\beta  via a neural network. The\naffine transformation  x_1 \\odot \\gamma + \\beta  is then applied to  x_1  , leaving  x_0  unchanged. This design ensures invertibility with a\ntractable Jacobian determinant.\n\n3.2. Robot-Conditioned Normalizing Flow\nBuilding on the foundation of Normalizing Flow, as shown\nin Fig. 2, we propose the Robot-Conditioned Normalizing\nFlow (RC-NF), which augments Glow with robot- and taskaware conditioning. Specifically, we design a new affine\ncoupling layer—the Robot-Conditioned Point Query Network (RCPQNet, detailed in Sec. 3.3)—that integrates the\nrobot’s execution state s and target object trajectory xtarget\nto model the conditional probability of successful task execution. This formulation allows RC-NF to detect whether\nthe joint distribution pT (xtarget , s) deviates from the task T\nby applying a threshold-based criterion.\n\n\fSpecifically, RC-NF extends a standard NF by conditioning on  c = (s, \\tau ) , where  s  denotes the robot state and  \\tau  is\nthe task embedding. The task embedding  \\tau  is derived by\nmapping the current task prompt to a surface vector of a  T  dimensional hypersphere with radius  \\mathcal {R} .  T  is the number\nof sliding-window steps. These surface vectors, optimized\nto approximate a uniform distribution on the hypersphere,\nensure maximal separation between task embeddings in the\nlatent space, providing an optimal geometric structure for\nsubsequent density estimation. The robot state  s  includes\nthe  T  -dimensional joint state, gripper state, and Cartesian\npose. As illustrated in Fig. 2, the video stream captured\nby the camera is processed by SAM2 [32] to obtain object\nsegmentation masks. Grid sampling is then applied to these\nmasks to extract the shape representation of the manipulated\nobjects. Given this point set  \\mathcal {X}  , RC-NF maps it into a Gaussian latent distribution  \\mathcal {Z} \\sim \\mathcal {N}(\\mu _{\\text {task}}, I) , where the mean\n \\mu _{\\text {task}}  is obtained by broadcasting the task embedding  \\tau  to\nmatch the dimensionality of  \\mathcal {Z} .\nThe conditional invertible mapping of RC-NF defines:\n  z = f_c(x), \\label {NF-1} \n\n(2)\n\nwhere  x \\in \\mathcal {X}  ,  z \\in \\mathcal {Z} , and  f_c  is a composition of  K  conditional transformations, with intermediate representations\n y_i  , and final output  z = y_K  :\n\nFigure 3. Robot-Conditioned Point Query Network (RCPQNet)\nis introduced as the affine coupling layer in RC-NF that generates\nshift and scale parameters.\n\n3.3. Robot-Conditioned Point Query Network\n\nTaking the logarithm of Eq. 3 and expanding over K steps:\n\nAs shown in Fig. 2, we denote the point set generated by\nSAM2 as  x \\in \\mathbb {R}^{B \\times T \\times N \\times 2}  , where  B  represents the batch\nsize,  T  is the number of sliding-window steps,  N  denotes\nthe number of sampled points per object mask, and the last\ndimension corresponds to the 2D coordinates of each point.\nThe point set after the ActNorm and Permute layers of the\nfirst flow step is also denoted as  x , which is used as an example to illustrate the processing flow of the RCPQNet. The\npoint set  x  is split into two halves along the temporal dimension:  x_b = x[:T/2]  and  x_t = x[T/2:] .\nThe scaling factor  \\gamma  and shift  \\beta  are obtained by applying\n \\text {RCPQNet}(x_b, c) , where  c = (s, \\tau ) , as detailed in Sec. 3.2:\n\n  \\begin {aligned} \\log p_{X\\mid C}(x \\mid c) &amp; = \\log p_{Z\\mid C}(z \\mid c) \\\\ &amp; + \\sum _{i=1}^{K} \\log \\left |\\det \\frac {\\partial f_{i, c}\\!\\left (y_{i-1}\\right )}{\\partial y_{i-1}}\\right | \\label {NF2}. \\end {aligned} \n\n  \\gamma , \\, \\beta = \\text {RCPQNet}(x_b, c). \n\n  y_0 = x,\\; y_i = f_{i,c}(y_{i-1}),\\;z = y_K,\\; i = 1, \\dots , K \\label {NF0}. \n\n(3)\n\nBased on the change-of-variables principle, where the Jacobian determinant accounts for the local volume change\ninduced by the transformation, we can compute the conditional likelihood of x given c as follows:\n  p_{X\\mid C}(x \\mid c) = p_{Z\\mid C}\\!\\left (f_{c}(x)\\mid c\\right )\\; \\left |\\det \\frac {\\partial f_{c}(x)}{\\partial x}\\right | \\label {NF1}. \n\n(4)\n\n(5)\n\nDuring training, we maximize the log-likelihood in Eq. 5.\nFor a Gaussian prior over the latent variable z, the logprobability term can be expressed as:\n  \\log p_{Z\\mid C}(z \\mid c) = \\text {Const} - \\frac {1}{2}\\|z - \\mu _{\\text {task}}\\|_2^2. \n\n(6)\n\nThe resulting log-probability reflects the likelihood that\nthe current robot-object configuration belongs to the nominal task distribution, with the negative value representing\nthe anomaly score. Each conditional transformation fi,c in\nRC-NF employs an affine coupling layer parameterized by\nthe Robot-Conditioned Point Query Network (RCPQNet),\nwhich fuses task embeddings and robot states to generate\ncontext-dependent transformation parameters.\n\nBased on the above definition, the output of the flow step\ny, can be expressed as:\n  y = \\begin {bmatrix} y_t \\\\ y_{\\text {b}} \\end {bmatrix} = \\begin {bmatrix}\\gamma \\odot x_t + \\beta \\\\ x_b \\end {bmatrix}. \nAs illustrated in Fig. 3, RCPQNet utilizes Task-aware\nRobot-Conditioned Queries to generate the query token\nand Dual-Branch Point Feature Encoding to create the\nmemory token. They are then used in cross-attention within\nthe transformer. Hence, the model learns context-aware\naffine parameters that adjust the flow’s transformation based\non the robot’s current state and the performing task.\nTask-aware Robot-Conditioned Query. The robot state is\nfirst projected into a latent space through a linear layer and\nthen modulated by the task embedding \\tau  using FiLM[31]\nto produce task-specific query features. These query tokens\n\n\fencode both the robot’s state context and the high-level goal\nspecified by the task prompt, serving as dynamic keys for\nretrieving relevant temporal and spatial cues from subsequent feature memories.\nDual-Branch Point Feature Encoding. To capture complementary spatial-temporal representations, RCPQNet employs Dual-Branch Point Feature Encoding. The Dynamic\nShape branch performs centering and normalization on\neach frame to eliminate translation and scale effects during the extraction of shape features. The Positional Residual branch focuses on compensating for the information\nlost during shape normalization of the raw point set. Subsequently, the features are passed through an MLP to increase their dimensionality and then average-pooled to obtain frame-level representations. These representations are\nsequentially modeled by their respective GRUs to capture\ntemporal dependencies. Finally, they are encoded by a\nTransformer encoder to produce the memory vectors.\n\ninto the open drawer. In this case, RC-NF alerts the highlevel controller (e.g, a human operator or LLM-based planner) to perform task replanning, producing an updated sequence of sub-tasks or object interactions consistent with\nthe new environmental state. On the other hand, state-level\nOOD indicates that the task remains valid, but the robot’s\nphysical configuration has drifted from the nominal distribution. For example, during the execution of the task place\nthe blue ball into the open drawer, if the ball falls from\nthe gripper onto the table (in this experiment, we manually\nreposition the ball from the gripper onto the table), RC-NF\ndetects an increase in the anomaly score. Then a homing\nprocedure, designed to return the robotic arm to its initial\nstate, is activated for task rollback. It locally adjusts the trajectory or control parameters until the anomaly score falls\nbelow the threshold. Once the environment and robot state\nreturn to the familiar data distribution, execution control is\nseamlessly handed back to the VLA for normal operation.\n\n3.4. Anomaly Detection and Handling\n\n4. Experiment\n\nAnomaly Detection. During deployment, RC-NF functions as a plug-and-play and real-time monitoring module\nthat can be seamlessly integrated into existing VLA control\nloops without architectural modification (see Fig. 2). Operating in parallel with the policy network, RC-NF continuously observes both the visual stream and robot-state feedback, estimating the likelihood of the current execution trajectory under the learned nominal task distribution. At each\ntime step, the negative log-likelihood of the observed configuration is used as an anomaly score, where higher values\nindicate greater deviation from expected task execution.\nWhen the anomaly score exceeds an upper threshold, it\nindicates both an anomaly and an OOD condition. During\nRC-NF training, debiasing is applied to ensure the temporal smoothness of anomaly scores in each demonstration.\nTherefore, we adopt a static threshold that does not vary\nover time. For each task  \\mathcal {T}  , the upper threshold is estimated\nusing calibration datasets  S_1  and  S_2  derived from successful expert demonstrations[37, 47]:\n\nWe primarily conduct quantitative analysis of RC-NF’s\nanomaly detection capability through simulation experiments, and demonstrate the significance of the monitoring\nmechanism through real-world robotic tasks.\n\n  \\text {Upper}_\\mathcal {T} = \\mu _\\mathcal {T} + Q_{1-\\alpha }(D_\\mathcal {T}), \\label {threshold} \n\n(7)\n\nwhere  \\mu _\\mathcal {T}  is the mean anomaly score from  S_1  , and\n D_T = \\{D_1, \\dots , D_{n_2}\\}  denotes the score deviations from\n \\mu _\\mathcal {T}  values in  S_2  .  Q_{1-\\alpha }(D_\\mathcal {T})  is the  (1-\\alpha ) -quantile.\nAnomaly Handling. Once an anomaly is detected, a highlevel system determines whether it corresponds to a statelevel or task-level OOD case. In practice, the system first\nperforms a lightweight state-level recovery and escalates to\ntask-level replanning if required. On one hand, task-level\nOOD represents that the environment or context no longer\nmatches the given instruction. For instance, the drawer becomes closed when the prompt specifies place the blue ball\n\n4.1. Experimental Setup\nDatasets. We train RC-NF on the original LIBERO10 dataset, which efficiently encompasses all the scenarios present in the LIBERO dataset[25], with 50 demonstrations per task.\nWe evaluate it on our proposed\nLIBERO-Anomaly-10 benchmark. It introduces three distinct anomaly types, illustrated in Fig. 1: (1) Gripper Open:\nthe gripper remains open at tanomaly , when it should grasp the\nobject, leaving the object untouched and unperturbed. This\ncase tests a situation where the object position remains normal, but the robot state does not align with it. (2) Gripper\nSlippage: at tanomaly , when the gripper is holding the object,\nthe gripper friction is set to zero, causing the object to slip\nand produce abnormal trajectory fluctuations. (3) Spatial\nMisalignment: the robot moves toward the wrong compartment (left, front or right) instead of the intended back at\ntanomaly , testing semantic–spatial misalignment between the\ntask prompt and motion direction.\nDuring annotation, the period before tanomaly is labeled\nas normal and after tanomaly as abnormal. Gripper Open and\nGripper Slippage are generated for all ten tasks in LIBERO10, whereas Spatial Misalignment corresponds to tasks involving three different incorrect compartment placements\n(front, left, and right), rather than the demo task Pick up the\nbook and place it in the back compartment of the caddy.\nBaselines and Evaluation Metrics. We compare RCNF against two categories of methods. The first category\nis VLM-based monitoring method, represented by Sen-\n\n\fTable 1. Quantitative comparison of anomaly detection performance on the LIBERO-Anomaly-10 benchmark.\n\nMethod\n\nGPT-5 [29]\nGemini 2.5 Pro [8]\nClaude 4.5 [4]\nFailDetect [47]\nRC-NF(Ours)\n\nGripper Open\n\nGripper Slippage\n\nSpatial Misalignment\n\nAUC\n\nAP\n\nAUC\n\nAP\n\nAUC\n\nAP\n\nAUC\n\nAP\n\n0.9137\n0.8644\n0.8754\n0.7883\n0.9312\n\n0.9642\n0.9333\n0.9401\n0.9032\n0.9781\n\n0.8941\n0.8633\n0.8551\n0.6665\n0.9195\n\n0.8720\n0.8505\n0.8285\n0.6932\n0.9180\n\n0.4904\n0.5167\n0.5292\n0.6557\n0.9676\n\n0.4015\n0.4271\n0.4290\n0.5820\n0.9585\n\n0.8500\n0.8186\n0.8214\n0.7181\n0.9309\n\n0.8507\n0.8313\n0.8249\n0.7700\n0.9494\n\ntinel [1], where we employ the most advanced VLMs, GPT5 [29], Gemini 2.5 Pro [8], and Claude 4.5 [4]. They\nare evaluated under conditions involving parallel invocation\nand a sampling frequency of 1 Hz. The second category\nis also flow-based, represented by FailDetect [47], a flowmatching model that jointly encodes image and robot-state\nfeatures for unsupervised failure detection.\nWe evaluate the model using Area Under the ROC Curve\n(AUC) and Average Precision (AP). AUC assesses the\nmodel’s overall discriminatory ability, while AP focuses on\nprecision-recall performance, particularly for imbalanced\ntasks like anomaly detection. These threshold-independent\nmetrics offer a comprehensive evaluation of both discriminatory power and precision-recall trade-offs.\nReal-World Setup. Experiments are conducted on a Franka\nResearch 3 robotic arm equipped with both a wrist-mounted\nand a third-person camera, both of which are Intel RealSense D435 depth cameras. VLA model π0 [5] is adopted\nas the imitation policy baseline. The training demonstrations for both VLA and RC-NF are consistent. VLA uses\nboth camera views during training, while RC-NF uses only\nthe third-person camera for monitoring. The threshold parameters of real-world experiments in Eq. 7 are set with\n \\alpha = 0.05 , following the design of FailDetect [47].\nImplementation Details. As shown in Fig. 2, before SAM2\nprocesses the video stream, a bounding box prompt is required for the first frame. In the simulation environment,\ncomputer graphics techniques are used to ensure the reproducibility of the point set. In the real-world setup, the\nbounding box is obtained using the Gemini 2.5 Pro.\nThe parameters of FailDetect [47] follow its open-source\ncode exactly. The prompts for the VLMs are derived from\nSentinel [1], originally designed for task progress assessment, and are used in this paper as anomaly scores with\nthe following anchors: 0–3 (normal), 4–6 (slightly abnormal), and 7–10 (strongly abnormal). For RC-NF, the number of flow steps is  K = 12  and the model is trained for 100\nepochs with debiasing applied for data balancing. More details can be found in the Supplementary Materials.\n\n4.2. Performance Comparison\nTable 1 presents a comparison of anomaly detection performance on the LIBERO-Anomaly-10 benchmark. Across all\n\nAverage\n\nFigure 4. Visualization of the anomaly scores for the task Pick up\nthe book and place it in the back compartment of the caddy. The\nx-axis denotes the time steps, and the y-axis indicates the anomaly\nscore. The red dashed line marks tanomaly .\n\nanomaly types, RC-NF consistently outperforms baselines\nacross all metrics, surpassing the best prior method by about\n8% in AUC and 10.0% in AP on average.\nVLMs achieve moderate success in Gripper Open and\nGripper Slippage but degrade to near-random performance\n(AUC ≈ 0.5, AP ≈ 0.4) on Spatial Misalignment, highlighting their difficulty in aligning visual semantics with spatial\nreasoning. In contrast, RC-NF can precisely compute the\ndegree of deviation from the normal trajectory for the task\nin real-time, replacing semantic understanding with the spatial trajectories of the object and robot arm.\nCompared to FailDetect, RC-NF offers significant advantages in feature selection and feature processing for\nrobotic anomaly monitoring. In terms of feature selection,\nRC-NF operates on a refined point-set representation derived from segmentation masks, which offers greater robustness to noise than raw image features used in FailDetect.\nRegarding feature processing, RC-NF treats the robot state\nfeatures as query tokens and the object point features as\nmemory tokens, enabling an efficient and decoupled design\nthat encourages multimodal information interaction while\navoiding feature interference. By contrast, FailDetect concatenates robot and image features as flow-matching inputs,\n\n\fTable 2. Ablation study of the proposed Robot-Conditioned Point Query Network (RCPQNet). RC-NF (Ours) denotes the full model.\n\nRow\n\n1\n2\n3\n4\n5\n\nMethod\n\nGripper Open\n\nGripper Slippage\n\nSpatial Misalignment\n\nAUC\n\nAUC\n\nAP\n\nAUC\n\nAP\n\nAUC\n\nAP\n\n0.9195\n0.8668\n0.7443\n0.8971\n0.7763\n\n0.9180\n0.8680\n0.8116\n0.9085\n0.8108\n\n0.9676\n0.8139\n0.8929\n0.8543\n0.1022\n\n0.9585\n0.8118\n0.8617\n0.8072\n0.2755\n\n0.9309\n0.8643\n0.7152\n0.8947\n0.6841\n\n0.9494\n0.9008\n0.8401\n0.9225\n0.7899\n\nAP\n\nRC-NF(Ours)\n0.9312 0.9781\nw/o Task Embedding\n0.8769 0.9603\nw/o Robot State\n0.6327 0.8621\nw/o Pos. Residual branch 0.9045 0.9712\nw/o Dyn. Shape branch\n0.7666 0.9234\n\nFigure 5. A real-world comparison of π0 and π0 + RC-NF (ours)\nduring the task placing the ball into the open drawer, when the\ndrawer closes midway.\n\nleading to entangled representations and feature imbalance.\nFig. 4 visualizes the anomaly detection curves for the\ntask Pick up the book and place it in the back compartment of the caddy. RC-NF maintains a stable score of 2 before  t_{\\text {anomaly}}  for each task, indicating normal behavior.\nOnce an anomaly occurs after  t_{\\text {anomaly}}  , as indicated by the\nred dashed line, it quickly reacts by increasing the anomaly\nscore. Compared to VLM-based monitoring methods, RCNF can calculate the anomaly score in real-time without\nthe need for prolonged inference or reasoning. In contrast\nto FailDetect, RC-NF produces scores that are superior in\nterms of smoothness, stability, and accuracy, which can be\nattributed to its structured feature decoupling and robotconditioned flow formulation.\n\n4.3. Ablation Study\nTo investigate the effectiveness of the proposed RobotConditioned Point Query Network (RCPQNet), as shown\nin Tab. 2, we perform ablations on the two principal components introduced in Sec. 3.3.\nEffect of Task-Aware Robot-Conditioned Query. To assess the role of task modulation and robot awareness, we\nremove either the task embedding or the robot-state features. When the task embedding is removed (Row 2), the\npoint set  \\mathcal {X}  is projected into the latent space  \\mathcal {Z} \\sim \\mathcal {N}(0, I) .\nAs a result, model can only detect dataset-level OOD sam-\n\nAverage\n\nples but fails to distinguish task-specific anomalies. Performance on Spatial Misalignment drops nearly threefold compared to the counterparts, confirming that task embeddings\nare crucial for encoding spatial intent and disambiguating\nsimilar object trajectories under different instructions. In\naddition, removing robot-state features (Row 3) eliminates\ncontextual grounding of object motion. For the Gripper\nOpen anomaly, since the gripper remaining open does not\ndirectly displace the object, the anomaly manifests in the\nrelative motion between the robot and the object, leading to\nthe greatest drop in AUC. In contrast, for the Spatial Misalignment anomaly, the anomaly can be detected through\nthe object’s positional deviation, leading to the least decline.\nThese results highlight that robot-conditioned query enables\nRC-NF to reason jointly about robot–object motion, resulting in more precise anomaly localization.\nEffect of Dual-Branch Point Feature Encoding. We further examine the contribution of the two encoding branches\nwithin RCPQNet: the Positional Residual branch and the\nDynamic Shape branch. Removing the positional branch\n(Row 4) results in a moderate drop, with an average AUC\nof approximately 0.89, suggesting that absolute spatial information complements dynamic-shape cues by preserving\naverage shifts within robot-object motion features. The Dynamic Shape branch treats the point sets of all objects as a\nunified whole, representing the relative movements between\ntarget objects as shape variations of the entire set. Removing this branch (Row 5) leads to the greatest degradation\n(AUC ≈ 0.68 on average), underscoring its importance in\nDual-Branch Point Feature Encoding. The sharp decline\nobserved under Spatial Misalignment further indicates that\ntemporal shape evolution provides stronger evidence of abnormality than inter-frame average positional shifts.\n\n4.4. Real-World Evaluation\nWe further conduct real-world evaluations to demonstrate\nhow RC-NF enhances the adaptability and robustness of\nVision-Language-Action (VLA) policies. The study focuses on the representative scenario placing the blue ball\ninto the open drawer and associated derivative tasks using\nthe  \\pi _0  model as the baseline. In real-world deployment,\nRC-NF can detect anomalies within 100 ms on a consumer-\n\n\fFigure 6. Comparison of  \\pi _0  + RC-NF (Ours) and  \\pi _0  model in handling two consecutive task-level OOD events during real-world deployment. t1a represents the moment when the ball is repositioned on the table. t2a marks when the ball rolls behind the gripper. t3r indicates\nwhen control is returned to the VLA after homing. The timeline of  \\pi _0  + RC-NF (Ours) is shown in Fig. 7.\n\nthe anomaly immediately and adjusts the trajectory towards\nthe new position of the ball. Once the anomaly score drops\nto normal at  t_{3r}  , control is seamlessly returned to VLA for\nregular operation. Without RC-NF, π0 continues to move\nincorrectly, causing the gripper to grasp air and lift.\n\nFigure 7. Anomaly score plot for a state-level OOD sequence\nwhere the ball is repositioned at t1a and rolls behind the gripper at\nt2a . The yellow curve indicates the detection of an anomaly, with\nthe trajectory corrected by the homing procedure. The green curve\nrepresents the operation of the VLA model π0 .\n\ngrade GPU such as Nvidia GeForce RTX 3090. Related\nvideos can be found in the Supplementary Materials.\nTask-Level Anomaly Handling. As shown in Fig. 5, during the execution of the task, if the drawer closes unexpectedly,  \\pi _0  policy continues execution and fails. With our RCNF, the anomaly score computed from the visual stream and\nrobot state increases sharply beyond the threshold defined in\nEq. 7.  \\pi _0  +RC-NF manages to pause the motion and signals\nthe high-level controller (human or LLM planner) to initiate\ntask replanning, i.e., reset the ball and open the drawer first,\nthen execute the task normally, leading to task success.\nState-Level Anomaly Handling. As shown in Fig. 6 and 7,\nwe next examine state-level disturbances that preserve task\nintent but perturb execution dynamics. At t1a , when the ball\nreturns to the table, RC-NF quickly signals an anomaly and\nactivates the homing procedure to re-align the trajectory.\nNevertheless, π0 alone experiences a delay, which continues moving to the drawer with empty gripper. In addition,\nwhen the ball rolls behind the gripper at t2a , RC-NF detects\n\nThe real-world evaluation demonstrates that RC-NF\ntransfers effectively from simulation to physical settings. It\nprovides low-latency feedback for both task-level and statelevel OOD anomalies, enabling safe and adaptive execution without altering the underlying VLA architecture. The\nplug-and-play design allows direct integration with existing\nimitation-learning policies, enhancing robustness and situational awareness in unstructured environments.\n\n5. Conclusion\nWe introduced the Robot-Conditioned Normalizing Flow\nmodel, designed to enhance the adaptability of VLA models in dynamic real-world environments. By utilizing\nTask-aware Robot-Conditioned Query and Dual-Branch\nPoint Feature Encoding, RC-NF enables real-time robotic\nanomaly detection, improving the robot’s ability to handle\nOut-of-distribution scenarios. Our quantitative experiments\non the LIBERO-Anomaly-10 benchmark show that RCNF outperforms existing methods for monitoring, achieving state-of-the-art AUC and AP scores. These results underscore RC-NF’s effectiveness in monitoring robotic tasks,\ndetecting deviations in task execution and object motion.\nRC-NF acts as a real-time monitor that produces a generalpurpose OOD signal meaningful across different granularities. Real-world evaluations further confirm RC-NF’s effectiveness, highlighting its fast response (under 100 ms) and\nseamless integration with the VLA policy (e.g.  \\pi _0  ).\n\n\fAcknowledgments\nThis work was supported by the Science and Technology\nCommission of Shanghai Municipality (No. 24511103100)\nand the National Natural Science Foundation of China\n(NSFC) under Grant No. 62521004. It was also supported by the Ministry of Education (MOE), Singapore,\nunder its Academic Research Fund (AcRF) Tier 2 (Proposal ID: T2EP20125-0048). Any opinions, findings,\nand conclusions or recommendations expressed in this\nmaterial are those of the authors and do not necessarily\nreflect the views of the Ministry of Education, Singapore.\n\nReferences\n[1] Christopher Agia, Rohan Sinha, Jingyun Yang, Ziang Cao,\nRika Antonova, Marco Pavone, and Jeannette Bohg. Unpacking failure modes of generative policies: Runtime monitoring of consistency and progress. In Conference on Robot\nLearning, pages 689–723. PMLR, 2025. 2, 3, 6\n[2] Ghazal Alinezhad Noghre, Armin Danesh Pazho, Vinit\nKatariya, and Hamed Tabkhi. Understanding the challenges\nand opportunities of pose-based anomaly detection. In Proceedings of the 8th international Workshop on Sensor-Based\nActivity Recognition and Artificial Intelligence, pages 1–9,\n2023. 3\n[3] Dogan Altan and Sanem Sariel. Clue-ai: A convolutional\nthree-stream anomaly identification framework for robot manipulation. IEEE Access, 11:48347–48357, 2023. 2, 3\n[4] Anthropic. Introducing claude sonnet 4.5, 2025. Accessed:\n2025-10-28. 2, 6\n[5] Kevin Black, Noah Brown, Danny Driess, Adnan Esmail,\nMichael Equi, Chelsea Finn, Niccolo Fusai, Lachy Groom,\nKarol Hausman, Brian Ichter, et al. pi0: A vision-languageaction flow model for general robot control. arXiv preprint\narXiv:2410.24164, 2024. 1, 2, 6\n[6] Kevin Black, Noah Brown, James Darpinian, Karan Dhabalia, Danny Driess, Adnan Esmail, Michael Robert Equi,\nChelsea Finn, Niccolo Fusai, Manuel Y Galliker, et al. pi05:\na vision-language-action model with open-world generalization. In 9th Annual Conference on Robot Learning, 2025.\n2\n[7] Tianheng Cheng, Lin Song, Yixiao Ge, Wenyu Liu, Xinggang Wang, and Ying Shan.\nYolo-world: Real-time\nopen-vocabulary object detection. In Proceedings of the\nIEEE/CVF conference on computer vision and pattern\nrecognition, pages 16901–16911, 2024. 3\n[8] Gheorghe Comanici, Eric Bieber, Mike Schaekermann, Ice\nPasupat, Noveen Sachdeva, Inderjit Dhillon, Marcel Blistein, Ori Ram, Dan Zhang, Evan Rosen, et al. Gemini 2.5:\nPushing the frontier with advanced reasoning, multimodality,\nlong context, and next generation agentic capabilities. arXiv\npreprint arXiv:2507.06261, 2025. 2, 6\n[9] Can Cui, Pengxiang Ding, Wenxuan Song, Shuanghao Bai,\nXinyang Tong, Zirui Ge, Runze Suo, Wanqi Zhou, Yang Liu,\nBofang Jia, et al. Openhelix: A short survey, empirical analysis, and open-source dual-system vla model for robotic manipulation. arXiv preprint arXiv:2505.03912, 2025. 2\n\n[10] Anja Delić, Matej Grcic, and Siniša Šegvić. Sequential keypoint density estimator: an overlooked baseline of skeletonbased video anomaly detection. In Proceedings of the\nIEEE/CVF International Conference on Computer Vision,\npages 11579–11589, 2025. 3\n[11] Shenghao Fu, Qize Yang, Qijie Mo, Junkai Yan, Xihan Wei,\nJingke Meng, Xiaohua Xie, and Wei-Shi Zheng. Llmdet:\nLearning strong open-vocabulary object detectors under the\nsupervision of large language models. In Proceedings of the\nComputer Vision and Pattern Recognition Conference, pages\n14987–14997, 2025. 3\n[12] ByungOk Han, Jaehong Kim, and Jinhyeok Jang. A dual\nprocess vla: Efficient robotic manipulation leveraging vlm.\narXiv preprint arXiv:2410.15549, 2024. 2\n[13] Or Hirschorn and Shai Avidan. Normalizing flows for human\npose anomaly detection. In Proceedings of the IEEE/CVF\nInternational Conference on Computer Vision, pages 13545–\n13554, 2023. 3\n[14] Haoxu Huang, Fanqi Lin, Yingdong Hu, Shengjie Wang, and\nYang Gao. Copa: General robotic manipulation through spatial constraints of parts with foundation models. In 2024\nIEEE/RSJ International Conference on Intelligent Robots\nand Systems (IROS), pages 9488–9495. IEEE, 2024. 2\n[15] Wenlong Huang, Chen Wang, Yunzhu Li, Ruohan Zhang,\nand Li Fei-Fei. Rekep: Spatio-temporal reasoning of relational keypoint constraints for robotic manipulation. arXiv\npreprint arXiv:2409.01652, 2024.\n[16] Yuheng Ji, Huajie Tan, Jiayu Shi, Xiaoshuai Hao, Yuan\nZhang, Hengyuan Zhang, Pengwei Wang, Mengdi Zhao, Yao\nMu, Pengju An, et al. Robobrain: A unified brain model for\nrobotic manipulation from abstract to concrete. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 1724–1734, 2025. 2\n[17] Tao Jiang, Tianyuan Yuan, Yicheng Liu, Chenhao Lu, Jianning Cui, Xiao Liu, Shuiqi Cheng, Jiyang Gao, Huazhe Xu,\nand Hang Zhao. Galaxea open-world dataset and g0 dualsystem vla model. arXiv preprint arXiv:2509.00576, 2025.\n2\n[18] Nikita Karaev, Ignacio Rocco, Benjamin Graham, Natalia\nNeverova, Andrea Vedaldi, and Christian Rupprecht. Cotracker: It is better to track together. In European conference\non computer vision, pages 18–35. Springer, 2024. 2\n[19] Moo Jin Kim, Karl Pertsch, Siddharth Karamcheti, Ted Xiao,\nAshwin Balakrishna, Suraj Nair, Rafael Rafailov, Ethan\nFoster, Grace Lam, Pannag Sanketi, et al. Openvla: An\nopen-source vision-language-action model. arXiv preprint\narXiv:2406.09246, 2024. 1, 2\n[20] Moo Jin Kim, Chelsea Finn, and Percy Liang. Fine-tuning\nvision-language-action models: Optimizing speed and success. arXiv preprint arXiv:2502.19645, 2025. 1, 2\n[21] Durk P Kingma and Prafulla Dhariwal. Glow: Generative\nflow with invertible 1x1 convolutions. Advances in neural\ninformation processing systems, 31, 2018. 3\n[22] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao,\nChloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C Berg, Wan-Yen Lo, et al. Segment anything. In Proceedings of the IEEE/CVF international conference on computer vision, pages 4015–4026, 2023. 3\n\n\f[23] Xinghang Li, Minghuan Liu, Hanbo Zhang, Cunjun Yu, Jie\nXu, Hongtao Wu, Chilam Cheang, Ya Jing, Weinan Zhang,\nHuaping Liu, et al. Vision-language foundation models as\neffective robot imitators. arXiv preprint arXiv:2311.01378,\n2023. 1, 2\n[24] Yi Li, Yuquan Deng, Jesse Zhang, Joel Jang, Marius Memmel, Raymond Yu, Caelan Reed Garrett, Fabio Ramos, Dieter Fox, Anqi Li, et al. Hamster: Hierarchical action\nmodels for open-world robot manipulation. arXiv preprint\narXiv:2502.05485, 2025. 2\n[25] Bo Liu, Yifeng Zhu, Chongkai Gao, Yihao Feng, Qiang Liu,\nYuke Zhu, and Peter Stone. Libero: Benchmarking knowledge transfer for lifelong robot learning. Advances in Neural\nInformation Processing Systems, 36:44776–44791, 2023. 2,\n5\n[26] Huihan Liu, Shivin Dass, Roberto Martı́n-Martı́n, and Yuke\nZhu. Model-based runtime monitoring with interactive imitation learning. In 2024 IEEE International Conference on\nRobotics and Automation (ICRA), pages 4154–4161. IEEE,\n2024. 2, 3\n[27] Gen Luo, Ganlin Yang, Ziyang Gong, Guanzhou Chen, Haonan Duan, Erfei Cui, Ronglei Tong, Zhi Hou, Tianyi Zhang,\nZhe Chen, et al. Visual embodied brain: Let multimodal\nlarge language models see, think, and control in spaces.\narXiv preprint arXiv:2506.00123, 2025. 3\n[28] J Bjorck Nvidia, Fernando Castaneda, N Cherniadev, X Da,\nR Ding, L Fan, Y Fang, D Fox, F Hu, S Huang, et al.\nGr00t n1: An open foundation model for generalist humanoid robots. arXiv preprint arXiv:2503.14734, 2025. 2\n[29] OpenAI. Gpt-5 system card, 2025. Accessed: 2025-10-28.\n2, 6\n[30] Mingjie Pan, Jiyao Zhang, Tianshu Wu, Yinghao Zhao, Wenlong Gao, and Hao Dong. Omnimanip: Towards general\nrobotic manipulation via object-centric interaction primitives\nas spatial constraints. In Proceedings of the Computer Vision\nand Pattern Recognition Conference, pages 17359–17369,\n2025. 2\n[31] Ethan Perez, Florian Strub, Harm De Vries, Vincent Dumoulin, and Aaron Courville. Film: Visual reasoning with a\ngeneral conditioning layer. In Proceedings of the AAAI conference on artificial intelligence, 2018. 4\n[32] Nikhila Ravi, Valentin Gabeur, Yuan-Ting Hu, Ronghang\nHu, Chaitanya Ryali, Tengyu Ma, Haitham Khedr, Roman\nRädle, Chloe Rolland, Laura Gustafson, et al. Sam 2:\nSegment anything in images and videos. arXiv preprint\narXiv:2408.00714, 2024. 2, 3, 4\n[33] Tianhe Ren, Yihao Chen, Qing Jiang, Zhaoyang Zeng, Yuda\nXiong, Wenlong Liu, Zhengyu Ma, Junyi Shen, Yuan Gao,\nXiaoke Jiang, et al. Dino-x: A unified vision model for openworld object detection and understanding. arXiv preprint\narXiv:2411.14347, 2024. 3\n[34] Ralf Romer, Adrian Kobras, Luca Worbis, and Angela P\nSchoellig. Failure prediction at runtime for generative robot\npolicies. arXiv preprint arXiv:2510.09459, 2025. 2\n[35] Stéphane Ross, Geoffrey Gordon, and Drew Bagnell. A reduction of imitation learning and structured prediction to noregret online learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics,\n\npages 627–635. JMLR Workshop and Conference Proceedings, 2011. 2\n[36] Junwon Seo, Kensuke Nakamura, and Andrea Bajcsy.\nUNISafe: Uncertainty-aware latent safety filters for avoiding\nout-of-distribution failures. In Second Workshop on Out-ofDistribution Generalization in Robotics at RSS 2025, 2025.\n2\n[37] Glenn Shafer and Vladimir Vovk. A tutorial on conformal\nprediction. Journal of Machine Learning Research, 9(3),\n2008. 5\n[38] Daniel Sliwowski and Dongheui Lee. Conditionnet: Learning preconditions and effects for execution monitoring. IEEE\nRobotics and Automation Letters, 2024. 2, 3\n[39] Wenxuan Song, Jiayi Chen, Wenxue Li, Xu He, Han Zhao,\nCan Cui, Pengxiang Ding Shiyan Su, Feilong Tang, Xuelian\nCheng, Donglin Wang, et al. Rationalvla: A rational visionlanguage-action model with dual system. arXiv preprint\narXiv:2506.10826, 2025. 2\n[40] Qianqian Wang, Yen-Yu Chang, Ruojin Cai, Zhengqi Li,\nBharath Hariharan, Aleksander Holynski, and Noah Snavely.\nTracking everything everywhere all at once. In Proceedings\nof the IEEE/CVF International Conference on Computer Vision, pages 19795–19806, 2023. 2\n[41] Chuan Wen, Xingyu Lin, John So, Kai Chen, Qi Dou, Yang\nGao, and Pieter Abbeel. Any-point trajectory modeling for\npolicy learning. arXiv preprint arXiv:2401.00025, 2023. 2\n[42] Christoph Willibald and Dongheui Lee. Hierarchical task\ndecomposition for execution monitoring and error recovery: Understanding the rationale behind task demonstrations. The International Journal of Robotics Research, page\n02783649251352112, 2025. 2, 3\n[43] Christoph Willibald, Daniel Sliwowski, and Dongheui Lee.\nMultimodal anomaly detection with a mixture-of-experts.\narXiv preprint arXiv:2506.19077, 2025. 2, 3\n[44] Ruituo Wu, Yang Chen, Jian Xiao, Bing Li, Jicong Fan,\nFrédéric Dufaux, Ce Zhu, and Yipeng Liu. Da-flow: Dual\nattention normalizing flow for skeleton-based video anomaly\ndetection. IEEE Transactions on Multimedia, 2025. 3\n[45] Yilin Wu, Ran Tian, Gokul Swamy, and Andrea Bajcsy.\nFrom foresight to forethought: Vlm-in-the-loop policy steering via latent alignment. arXiv preprint arXiv:2502.01828,\n2025. 3\n[46] Xing Xi, Yangyang Huang, Ronghua Luo, and Yu Qiu. Owovd: Unified open world and open vocabulary object detection. In Proceedings of the Computer Vision and Pattern\nRecognition Conference, pages 25454–25464, 2025. 3\n[47] Chen Xu, Tony Khuong Nguyen, Emma Dixon, Christopher\nRodriguez, Patrick Miller, Robert Lee, Paarth Shah, Rares\nAmbrus, Haruki Nishimura, and Masha Itkina. Can we detect failures without failure data? uncertainty-aware runtime\nfailure detection for imitation learning policies. In Proceedings of Robotics: Science and Systems (RSS), 2025. 2, 3, 5,\n6\n[48] Jiarui Yang, Bin Zhu, Jingjing Chen, and Yu-Gang Jiang.\nActor-critic for continuous action chunks: A reinforcement\nlearning framework for long-horizon robotic manipulation\nwith sparse reward. arXiv preprint arXiv:2508.11143, 2025.\n2\n\n\f[49] Ling Yang, Zixiang Zhang, Zhilong Zhang, Xingchao Liu,\nMinkai Xu, Wentao Zhang, Chenlin Meng, Stefano Ermon, and Bin Cui. Consistency flow matching: Defining straight flows with velocity consistency. arXiv preprint\narXiv:2407.02398, 2024. 3\n[50] Yuchen Yang, Kwonjoon Lee, Behzad Dariush, Yinzhi Cao,\nand Shao-Yuan Lo. Follow the rules: Reasoning for video\nanomaly detection with large language models. In European\nConference on Computer Vision, pages 304–322. Springer,\n2024. 3\n[51] Jianke Zhang, Yanjiang Guo, Xiaoyu Chen, Yen-Jen Wang,\nYucheng Hu, Chengming Shi, and Jianyu Chen. Hirt: Enhancing robotic control with hierarchical robot transformers.\narXiv preprint arXiv:2410.05273, 2024. 2\n[52] Brianna Zitkovich, Tianhe Yu, Sichun Xu, Peng Xu, Ted\nXiao, Fei Xia, Jialin Wu, Paul Wohlhart, Stefan Welker,\nAyzaan Wahid, et al. Rt-2: Vision-language-action models\ntransfer web knowledge to robotic control. In Conference on\nRobot Learning, pages 2165–2183. PMLR, 2023. 1, 2\n\n\fRC-NF: Robot-Conditioned Normalizing Flow for Real-Time Anomaly Detection\nin Robotic Manipulation\nSupplementary Material\n1. Experimental Demonstration Videos\nSimulated Environment Results.mp4 presents three\nanomalies of LIBERO-Anomaly-10: Gripper Open, Gripper Slippage, and Spatial Misalignment, along with the\ncorresponding anomaly scores inferred by RC-NF.\nReal World Experiments Results.mp4 presents realworld experiments, exhibiting how the RC-NF monitoring\nmechanism enhances the robustness and adaptability of the\nmodel  \\pi _0  , in task-level and state-level OOD situations.\n\n2. Further details on Task Embedding\nImplementation Details of Task Embedding. This section\nexplains the implementation of task embedding τ from Sec.\n3.2. Fig. 8 (left) shows the ten tasks in the LIBERO-10. In\ndeployment, the first step is to obtain 10 vectors uniformly\ndistributed on a hypersphere with radius  R = 5  and dimension  T = 12  using an optimization algorithm. Then, these\n10 task instructions are mapped one-to-one to the spherical\nvectors, resulting in [\\tau _1, \\tau _2, \\dots , \\tau _{12}]. Fig. 8 (right) provides\ndetailed examples to clarify the mapping process. When\n T = 3  and the number of tasks is 6, this results in 6 spherical vectors on a 3-dimensional sphere, intersecting the  x ,  y ,\nand  z -axes, as represented by [\\tau _1, \\tau _2, \\tau _3].\nRole of Task Embedding. As discussed in Sec. 4.3, removing the task embedding limits the model to detecting\nonly dataset-level OOD samples, preventing it from identifying task-specific anomalies. To illustrate this, consider\nthe Spatial Misalignment setup: during training, the book is\nplaced in the back compartment, while in the test scenario,\nthe robotic arm places the book in the left, front, or right\ncompartments, referred to as the 3 tasks (see Fig. 9(right)).\nTables 1 and 2 show that without these tasks in the training set, the action trajectories are out-of-distribution, and\nSpatial Misalignment is classified as a dataset-level OOD\nanomaly. When these 3 tasks are included in the training\nset, the action trajectories become in-domain, and detecting Spatial Misalignment is recognized as a task-specific\nanomaly. Fig. 9 compares the metrics for this scenario.\nAfter adding the 3 tasks, the performance of the RC-NF\nmodel shows almost no decrease. However, without the task\nembedding, the RC-NF monitoring performance drops to\naround 0.6, emphasizing the importance of task embedding\nin distinguishing tasks within the training set. In contrast,\nFailDetect’s performance drops to 0.5, highlighting its inability to differentiate tasks within the same training set.\n\nAlgorithm 1 Training Loop with BalancedHardSampler\n1: for epoch ← startEpoch to numEpochs do\n2:\nmodel.train()\n3:\nfor data in trainLoader do\n4:\n... // process data, compute\n\nloss, update model\nend for\nif epoch = NextStageEpoch then\nmodel.eval()\nfor data in trainLoader do\nupdate weights(model(data))\n10:\nend for\n11:\nsampler ← BalancedHardSampler(weights)\n12:\nend if\n13:\nif epoch ≥ NextStageEpoch then\n14:\nupdate train loader(sampler)\n15:\nend if\n16: end for\n5:\n6:\n7:\n8:\n9:\n\n3. Training Data Debiasing\nThe Training Data Debiasing Procedure aims to address the\nissue of imbalanced sample distribution during robotic manipulation. Specifically, in the initial stages of a robotic\narm’s motion, the motion trajectories tend to be more consistent, whereas near the object grasping phase, the trajectories exhibit greater variation. This results in a higher\nfrequency of similar trajectories from the initial movement\nphase, causing an uneven sample distribution. To mitigate\nthis, we design the BalancedHardSampler class, designed\nto equalize the distribution of these samples, ensuring a\nmore balanced and robust training process.\nAlgorithm 1 illustrates the training procedure, which is\ndivided into two stages. In the first stage, standard sampling\nis used to train RC-NF. Upon reaching the NextStageEpoch,\ninference results are collected for sample evaluation. The\nBalancedHardSampler is then initialized to reduce redundant samples while increasing the diversity of underrepresented samples, ensuring a more balanced sample distribution throughout the demonstration. After the NextStageEpoch, the BalancedHardSampler is continuously employed\nfor sample collection during the remaining stages.\n\n4. Implementation Details for Simulations\nAs mentioned in the Implementation Details in Sec. 4.1,\ncomputer graphics techniques are used in the simulation\n\n\fenvironment to generate the first frame’s bounding box for\nSAM2. This method of obtaining the bounding box is stable, low-cost, and ensures reproducibility. The following\nsection provides a detailed explanation of the process.\nGenerating Sample Points in Geometry. For each object,\nwe generate a grid of sample points within the geometry.\nAssuming the geometry size is  \\text {geom\\_size} = [W, H, D] ,\nwhere  W  ,  H , and  D  represent the width, height, and depth\nof the geometry, respectively, the offset for each sample in\na 5x5x5 grid is computed as:\n  \\text {local\\_offset} = \\begin {bmatrix} dx \\cdot W \\\\ dy \\cdot H \\\\ dz \\cdot D \\end {bmatrix}. \nHere,  dx, dy, dz  are the offsets in the grid along the\nwidth, height, and depth axes of the geometry.\nThese local offsets are then transformed into world coordinates using the geometry’s position in the world  \\text {geom\\_pos} \nand its rotation matrix  R :\n  P_{\\text {world}} = \\text {geom\\_pos} + R \\cdot \\text {local\\_offset}. \nIn this equation,  \\text {geom\\_pos}  is the position of the geometry in the world frame (a 3D vector representing the center\nof the geometry), and  R  is the rotation matrix that transforms the local offset into the world frame.\nProjection of 3D Points to 2D. After obtaining the world\ncoordinates of all sample points  P_{\\text {world}}  , we project them\nonto the 2D image plane using the camera’s intrinsic matrix  K  and the extrinsic matrix  \\text {Extrinsic} :\n\n5. Implementation Details in the Real World\nBounding Box Generation. In this paper, we utilize\nthe multimodal large model Gemini 2.5 Pro[8], which\ncan understand the manipulated object from task instructions and generate a zero-shot bounding box for SAM2.\nAs illustrated in Fig. 10, the process begins by extracting the OBJECT LIST (e.g., blue ball, drawer) from the\nTASK DESCRIPTION, such as Place the blue ball into the\nopen drawer. The image and identified objects are subsequently passed to Gemini, which generates a JSON list.\nDescription of the Homing Procedure. The homing procedure refers to the process by which a robot returns from\nan unknown or arbitrary position to a predefined home position, which serves as the starting point for the robotic operations. We utilize the homing procedure to perform task\nrollback in state-level OOD situations. The intervention of\nRC-NF’s monitoring mechanism allows the robotic arm to\nadjust its trajectory without the need to completely return to\nthe home position when an error is encountered.\nExplanation of the Real-Time Characteristic. RC-NF\ncan detect anomalies within 100 ms on a consumer-grade\nGPU, such as the Nvidia GeForce RTX 3090. Below we report the latency breakdown for a single-frame inference. At\n100 ms, this performance is faster than the average human\nreaction time, and thus, we refer to the operations involved\nin RC-NF as capable of real-time anomaly detection.\nSAM2\nInference\n\nGrid\nSampling\n\nRC-NF\nInference\n\nOther\nLatency\n\nOverall\n(RTX 3090)\n\n50 ms\n\n1.7 ms\n\n30 ms\n\n5 ms\n\n86.7 ms\n\n  P_{\\text {image}} = K \\cdot (\\text {Extrinsic} \\cdot P_{\\text {world}}). \nIn this equation,  \\text {Extrinsic}  represents the transformation from the world coordinates to the camera coordinates\n(a combination of rotation and translation), and\n P_{\\text {image}} = [x, y]^T \nrepresents the 2D coordinates of the projected point\non the image plane.\nFiltering Invalid Projections. We filter out invalid projections, such as those behind the camera or outside the image\nboundaries. For each projected point  P_{\\text {image}} = [x, y] :\n  0 \\leq x &lt; \\text {image\\_width}, \\quad 0 \\leq y &lt; \\text {image\\_height}. \nBounding Box Calculation. For the valid projected points,\nwe calculate the bounding box by finding the minimum and\nmaximum  x  and  y  coordinates:\n  x_{\\text {min}} = \\min (x), \\quad x_{\\text {max}} = \\max (x). \n  y_{\\text {min}} = \\min (y), \\quad y_{\\text {max}} = \\max (y). \nThe bounding box is then defined as:\n  \\text {bbox} = [x_{\\text {min}}, y_{\\text {min}}, x_{\\text {max}}, y_{\\text {max}}]. \n\n6. VLMs as anomaly scorers\nIn the simulation experiments presented in Sec. 4.2, we\nutilize VLMs such as GPT-5 [29], Gemini 2.5 Pro [8], and\nClaude 4.5 [4] for anomaly scoring. To reduce the effects\nof network latency and extended inference times on large\nmodel performance during streaming, we employ a parallel\nAPI invocation strategy and sample results at 1 Hz.\nFig. 11 illustrates the prompt provided to the model,\nwhich is an improved version derived from Sentinel,\nadapted for anomaly detection scoring. We provide VLMs\nwith the current time (TIME) and the total time allocated\nfor the task (TIME LIMIT), enabling them to calculate the\nprogress ratio of the task. DESCRIPTION refers to the task\ndescription, such as Pick up the book and place it in the\nback compartment of the caddy. FRAME RATE denotes\nthe sampling frequency, set here to 1 Hz. CURRENT represents a sequence of 256×256 images, with the number of\nimages being TIME/FRAME RATE, which captures the visual progression of the task from start to present. This enables the VLMs to capture the complete image sequence.\n\n\fFigure 8. Diagram illustrating Spherical Uniform Encoding. The left side displays the ten tasks from the training set along with their\ndescriptions, while the right side provides an example demonstration.\n\nFigure 9. Comparison of performance metrics before and after incorporating three tasks with spatial misalignment (left, front and right)\ninto the training set.\n\nFigure 10. Prompts for generating bounding boxes with Gemini 2.5 Pro\n\n\fFigure 11. VLMs prompts for robotic anomaly detection scoring\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"