"<!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>M EDIC -AD: Towards Medical Vision-Language Model’s Clinical Intelligence\nWoohyeon Park1 Jaeik Kim1 Sunghwan Steve Cho1 Pa Hong2 Wookyoung Jeong3\nYoojin Nam2 Namjoon Kim2 Ginny Y. Wong4 Ka Chun Cheung4 Jaeyoung Do1\n1\nAIDAS Laboratory, Seoul National University 2 Samsung Changwon Hospital\n3\nSamsung Medical Center 4 NVIDIA, Santa Clara, USA\n\narXiv:2603.27176v3 [cs.CV] 23 Nov 2026\n\n{woohyeon, jake630, steve97, knj01, jaeyoung.do}@snu.ac.kr\n{papa.hong, yoojin8998.nam}@samsung.com\n\njeongwk@gmail.com\n\n{gwong, chcheung}@nvidia.com\n\nhttps://github.com/AIDASLab/Medic-AD\n\nAbstract\nLesion detection, symptom tracking, and visual explainability are central to real-world medical image analysis, yet\ncurrent medical Vision-Language Models (VLMs) still lack\nmechanisms that translate their broad knowledge into clinically actionable outputs. To bridge this gap, we present\nM EDIC -AD, a clinically oriented VLM that strengthens\nthese three capabilities through a stage-wise framework.\nFirst, learnable anomaly-aware tokens (&lt;Ano&gt;) encourage\nthe model to focus on abnormal regions and build more discriminative lesion centered representations. Second, interimage difference tokens (&lt;Diff&gt;) explicitly encode temporal changes between studies, allowing the model to distinguish worsening, improvement, and stability in disease\nburden. Finally, a dedicated explainability stage trains the\nmodel to generate heatmaps that highlight lesion-related\nregions, offering clear visual evidence that is consistent\nwith the model’s reasoning. Through our staged design,\nM EDIC -AD steadily boosts performance across anomaly\ndetection, symptom tracking, and anomaly segmentation,\nachieving state-of-the-art results compared with both closed\nsource and medical-specialized baselines. Evaluations on\nreal longitudinal clinical data collected from real hospital workflows further show that M EDIC -AD delivers stable\npredictions and clinically faithful explanations in practical\npatient-monitoring and decision-support workflows.\n\n1. Introduction\nVision–Language Models (VLMs) have rapidly\nevolved [14, 40, 66] from simple image–text tasks\nsuch as visual question answering (VQA) [2] and captioning [52] to more advanced capabilities including visual\ngrounding [47, 60] and multi–image reasoning [3, 11, 34].\nThese advances have inspired the emergence of Medical\n\nBrain MRI (F1)\n92.00\n\nOverall\n(MMXU %)\n\nHead CT\n(F1)\n\n65.50\n\n95.50\n\nNo Change\n(MMXU %) 58.80\n\n90.20 Br35h\n(F1)\n0\n\n73.40\n\n88.50\n\nImproved\n(MMXU %)\n\nInternVL2.5-8B\nQwen2.5VL-7B\n\nCOVID-19\n(F1)\n66.30\n\n91.60\n\nWorsen\n(MMXU %)\n\nAverage\n(F1)\n\nGPT-4o\nClaude-3.5\n\nCitrus-V-8B\nLingshu-7B\n\nMedic-AD (Ours)\n\nFigure 1. Overall performance of VLMs on Medical Anomaly\nDetection and Medical Symptom Tracking (MMXU [42]).\n\nFoundation VLMs [35, 41, 50], which aim to integrate\nvisual and textual medical knowledge for comprehensive\ndiagnostic understanding. Trained on large-scale imagereport pairs and multimodal instructions, these models have\nachieved strong results across tasks such as disease classification, report generation, and Med–VQA, demonstrating\nthe promise of language-driven clinical reasoning.\nHowever, most Medical Foundation VLMs remain optimized for broad medical knowledge coverage rather than\nreal clinical application [53, 59]. Their training typically relies on long–form captioning, OCR–based instruction tuning, and medical chain–of–thought reasoning that enhance\ngeneric reasoning ability, but overlook key properties re-\n\n\fquired for real-world clinical workflows [1]: (1) accurate lesion detection, (2) reliable temporal symptom tracking, and (3) transparent visual explainability of the reasoning process. Addressing these limitations demands a\nparadigm shift from generalized intelligence toward clinically grounded perception, and understanding.\nTo that end, we explore three research questions guiding\nthe design of a clinically usable medical VLM.\nRQ1: How can lesion and symptom recognition be improved in VLMs for real clinical settings? Even as medical VLMs expand in knowledge, accurate abnormality detection remains essential for safe deployment. We define\nan abnormality as any pathological deviation within an image and propose to enhance this recognition through explicit anomaly–aware representations. By injecting learnable &lt;Ano&gt; tokens into the transformer layers, the model\nhighlights abnormal regions and strengthens its discriminative reasoning. Experiments on brain MRI, head CT, and\nchest X-ray datasets show that this design achieves strong\nperformance in medical anomaly detection.\nRQ2: How can a VLM disentangle temporal medical images to enable more accurate symptom tracking?\nExisting foundation models that support multi–image inputs\ntypically concatenate visual features, thus failing to capture\nthe temporal progression between scans. To model clinically meaningful changes, we introduce &lt;Diff&gt; tokens\nthat compare anomaly features extracted from multiple images of the same patient. These representations allow the\nmodel to reason about whether a condition has worsened,\nimproved, or remained unchanged. On benchmarks such\nas MMXU [42], which assess longitudinal symptom understanding, our approach achieves superior performance,\nhighlighting its effectiveness as a practical clinical tool for\npatient monitoring.\nRQ3: How can visual explainability be integrated\ninto medical VLM reasoning? Explainability is indispensable for clinical decision-making. To visually justify\nmodel’s predictions, we design a heatmap decoder that\nfuses anomaly features and visual features to generate\nvisualization maps highlighting regions responsible for\neach prediction. These region-level explanations enhance\ntransparency by providing visual evidence for both lesion\ndetection and change assessment, ultimately bridging the\ngap between black-box reasoning and clinical trust.\nThese three research directions culminate in M EDIC AD, a stage-wise medical VLM with clinical intelligence,\ndesigned to integrate anomaly detection, temporal reasoning, and visual explainability. M EDIC -AD is trained in\nthree stages: Stage 1: Anomaly Detection. Learn discriminative abnormality embeddings via injected anomaly\ntokens, &lt;Ano&gt;, adapting contrastive architecture between\n\nnormal and abnormal regions for enhancing sensitivity to\npathological cues. Stage 2: Difference Reasoning. Encode\ncross-scan variations using &lt;Diff&gt; tokens that disentangle\ntemporal progression of abnormal features and enable finegrained symptom tracking. Stage 3: Visual Explainability.\nGenerate visual evidence heatmaps that ground textual outputs on abnormal regions, ensuring verifiable reasoning.\nThrough extensive evaluation, M EDIC -AD consistently\ndemonstrates state-of-the-art (SOTA) performance across\ndiverse medical modalities and tasks as shown in Fig. 1.\nIt outperforms medical foundation models [35, 53, 59],\nanomaly–specialized models [17, 58], and closed-source\ncounterparts [4, 24] in both lesion detection, and temporal symptom reasoning. Moreover, M EDIC -AD delivers\nsuperior visual explainablity generating spatially grounded\nexplanations that align model decisions with clinical evidence. Beyond numerical gains, its stage–wise design encodes the clinical diagnostic workflow—detect, compare,\nexplain—into the model’s learning curriculum, transforming general-purpose vision–language understanding into\nclinically actionable intelligence.\nOur main contributions are as follows:\n• We present a unified, stage-wise framework (M EDIC AD) that integrates anomaly detection, longitudinal reasoning, and visual grounding to enable explainable medical inference.\n• We introduce anomaly- and difference-token mechanisms\nthat endow medical VLMs with explicit lesion sensitivity\nand temporal reasoning capability.\n• We conduct comprehensive evaluations on multiple medical tasks, as well as on real longitudinal datasets from\nhospital sites, demonstrating superior reliability and usability compared to both open- and closed-source foundation models, and showcasing deployment readiness for\nreal-world clinical practice workflows.\n\n2. Related Works\n2.1. Vision-Language Models for Medical Imaging\nVision Language Models (VLMs) [3, 11, 14, 34, 40, 66]\nhave unified visual and textual reasoning across domains\nthrough large-scale contrastive or instruction-tuned learning. Building upon these, medical VLMs have adapted\nmultimodal alignment to clinical imaging and reporting\ntasks. Early medical VLMs focused on contrastive alignment and report-level representation learning [6, 54], while\nlater instruction-tuned architectures expanded multimodal\nreasoning through larg scale medical–text pretraining [35,\n49, 51, 57]. More recently, Lingshu and Citrus-V [53, 59],\nbuilt on Qwen-VL 2.5 [3], introduced multi-stage training\nwith shallow/deep alignment, medical instruction tuning,\nand reinforcement learning with verifiable rewards, achieving state-of-the-art results on single-image medical VQA\n\n\fbenchmarks such as SLAKE, PathVQA, VQA-RAD, and\nOmniMedVQA [19, 22, 33, 51]. These datasets collectively evaluate anatomical localization, factual consistency,\nand report generation, forming the empirical foundation for\nsingle-image medical VLMs. Beyond single-image understanding, medical VLMs have advanced toward differenceaware reasoning, modeling longitudinal changes and disease progression between paired studies. Generic difference captioning frameworks describe visual changes across\nimage pairs [46, 61], whereas medical-specific longitudinal reasoning integrates anatomical or report-based temporal modeling [12, 21]. A recent unified framework [15]\nproposes a Report Generator–Answer Generator (RG–AG)\narchitecture. While these studies have achieved meaningful progress in understanding longitudinal medical images,\nthey remain largely task-specific, focusing on objectives\nsuch as VQA and report generation, without fully leveraging the extensive medical knowledge and generative reasoning capabilities offered by Medical Foundation VLMs.\n\nQ:\nWhat has changed in the\nlung as observed in the two\nchest CXR images?\nPrior\n\nCurrent\n\nGPT-4o\nLack of Medical Knowledge\n\nA: Nothing have changed.\n\nVisual Grounding Not Supported\n\nCitrus-V\nBroad Medical Knowledge\nInsufficient Lesion Detection\nLack of Anomaly Grounding\n\nA: Pulmonary edema occurred.\n\nMedic-AD (Ours)\nSOTA Lesion Detection\nSOTA Temporal Reasoning\nPowerful Anomaly Grounding\n\nA: Worsened pulmonary edema.\n\n2.2. Zero-Shot Anomaly Detection\nTraditional anomaly detection (AD) methods primarily focused on low-level visual irregularities in industrial datasets\nsuch as MVTec-AD [8] and VisA [67], later extending toward zero-shot recognition through text–image alignment.\nCLIP-based approaches introduced adapter- or promptbased mechanisms for open-vocabulary detection [10, 23,\n65], while Q-Former-based [37] architectures further connected anomaly detection and instruction tuning [17, 58]\nin general AD tasks. In the medical context, unified\nbenchmarks such as BMAD [7] integrate diverse medical\nanomaly detection datasets—covering Brain MRI, Chest XRay, Liver CT, Retinal OCT, and Pathology—into a single evaluation framework. BMAD consolidates various\nmodality-specific datasets to enable consistent cross-dataset\nand cross-organ evaluation under a unified protocol. In parallel, chest-specific datasets such as ChestX-Det [39] further provide detailed pixel-level annotations for thoracic\ndisease localization and anomaly segmentation. Collectively, these works mark a shift from handcrafted features\nto medically grounded anomaly understanding.\n\n2.3. Explainability in Vision–Language Models\nExplainability has become a key criterion for assessing the\nreliability of VLMs, especially in safety-critical domains\nsuch as medicine. Recent VLMs utilize cross-attention\nheatmaps and token-conditioned activations to visualize\nhow linguistic tokens attend to visual regions during reasoning, thereby revealing the internal correspondence between\ntextual semantics and spatial evidence [16, 36, 40, 45]. Such\nmechanisms improve transparency and enable systematic\nmodel auditing and error analysis by linking visual attention patterns with generated textual outputs.\n\nFigure 2. Comparison of VLMs on clinical applications. MedicAD provides stronger lesion detection, temporal reasoning, and\nvisual grounding than GPT-4o [24] and Citrus-V [53].\n\nIn medical imaging, explainability has been advanced\nthrough explicit grounding and concept-level alignment.\nGrounded VLMs explicitly associate textual rationales\nwith anatomical regions [6, 15, 25], while conceptdisentanglement approaches align clinical entities with visual concepts to enhance explainability and trustworthiness [38]. Building upon these developments, we extend\nvisual grounding beyond a mere auxiliary visualization tool.\nIn our medical VLM, explainability is achieved by grounding the reasoning process on anomalous features such as\nlesions or symptoms, thereby providing explicit visual evidence that supports the model’s clinical conclusions and\nensuring clinically verifiable visual explainability.\n\n3. Methodology\n3.1. Overview\nStandard VLMs encode an input image I and textual instruction T into a joint multimodal sequence to generate a\nresponse R:\nR = fl ([ fp (V) ; Emb(T) ]),\n\n(1)\n\nwhere fp (·) denotes a visual projection layer that maps visual features V, extracted from I via a vision encoder, into\nthe text embedding space, and fl (·) represents the large language model (LLM). While this general formulation supports broad multimodal reasoning, it lacks the inductive biases required for clinically meaningful perception including reliable lesion localization, temporal tracking, and vi-\n\n\fNormal\nCA\n\nAnomaly\nAttention Map\n\nVisual\nFeatures\n\nAnomaly\nFusion CA\n\nPooling\n\n−\n\n+\n\n&lt;Ano&gt;\nTokens\n\nL4\n\nNormal Image\n\nLearnable\n\nFrozen\n\n− Subtract\n\n+\n\nAbnormal Image\n\nPooling\n\n+\n\n(b) &lt;Diff&gt; Token Generation\n\n−\n\n&lt;Diff&gt;\nTokens\n\nLLM\n\nProjection\n\nL3\n\nAnomaly\nProcessor\n\nL2\n\n+\n\nL1\n\nText Query\n\nVision Encoder\n\nAnomaly Region\n\nDiff Q-former\n\nNormal\nSystem Token\n\nAbnormal\nCA\n\nAnomaly\nQ-former\n\nAbnormal\nSystem Token\n\n(c) Heatmap Generation\n\nAnomaly Processor\n\nConvNeXt\n\n(a) &lt;Ano&gt; Token Generation\n\nElement-wise Multiplication\n\nFigure 3. Architecture of M EDIC -AD. (a) Stage 1: &lt;Ano&gt; Token Generation, (b) Stage 2: &lt;Diff&gt; Token Generation, and (c) Stage 3:\nHeatmap Generation illustrate each stage of the proposed framework. Note that CA denotes Cross-Attention.\n\nsual justification, all of which are essential for trustworthy\ndecision support.\nM EDIC -AD extends this paradigm into a clinically\ngrounded reasoning framework through a stage-wise optimization pipeline, composed of three progressive stages\nwhere each stage incrementally enhances the model’s reasoning capability. Stage 1 learns anomaly-aware representations that encode lesion-specific semantics. Stage 2 builds\non these representations to disentangle temporal variations\nbetween prior and current studies, yielding difference tokens. Stage 3 introduces grounding supervision that aligns\nthe learned anomaly features with spatial heatmaps, enabling visually verifiable predictions.\nWe first introduce anomaly-aware tokens, &lt;Ano&gt;, derived from a cross-attention mechanism applied to the visually enhanced feature representation V∗ . Here, V∗ denotes the anomaly-augmented visual features obtained by\nincorporating visual soft prompts [26] into the original visual embeddings V. This process encourages the model to\nemphasize lesion-relevant regions and discriminative cues.\nThe resulting tokens are concatenated with the visual and\ntextual embeddings as\nR = fl ([ fp (V∗ ) ; &lt;Ano&gt; ; Emb(T) ]).\n\n(2)\n\nNext, to model temporal changes between prior and current images, our model learns anomaly-aware representations across time and produces &lt;Diff&gt; tokens. Given two\ninput images, their corresponding anomaly-augmented visual features, V1∗ and V2∗ , are extracted by the vision encoder and formulated as\nR = fl ([ fp (V1∗ ) ; &lt;Ano&gt; ; fp (V2∗ ) ; &lt;Ano&gt; ;\n(3)\nEmb(T) ; &lt;Diff&gt; ]),\n\nfollowing the modified chat template as illustrated in Appendix Sec. A. Finally, the anomaly-aware tokens, &lt;Ano&gt;,\nare fed into a heatmap decoder fh (·) together with the corresponding visual features V∗ to generate grounding maps\nM. These maps provide region-level visual evidence that\nsupports and justifies textual predictions as\nM = fh ([ fp (V∗ ) ; &lt;Ano&gt; ]).\n\n(4)\n\n3.2. Architecture and Stage-wise Training\nIn this section, we present the detailed architecture of\nM EDIC -AD and the corresponding training pipelines designed to implement the framework illustrated in Sec. 3.1.\nEach stage progressively enhances the capability of the\nbaseline Medical Foundation VLM, Lingshu [59], which is\na strong backbone model pretrained on large-scale medical data, by introducing specialized modules for anomaly\nreasoning, temporal difference analysis, and visual explainability.\nStage 1: Anomaly Detection. The first stage focuses\non training an Anomaly Processor that produces &lt;Ano&gt;\ntokens, compact latent representations capturing lesionrelated semantics, as illustrated in Fig. 3 (a). These tokens\nare constructed through two learnable system tokens, the\nAbnormal System Token and Normal System Token. They\ninteract with multi-scale visual features extracted from\nfour intermediate layers of the vision encoder via a crossattention mechanism, producing Abnormal and Normal Attention Scores for each visual patch.\nTo preserve the pretrained vision encoder’s representational stability while adapting it for anomaly detection, we\n\n\fadopt Visual Soft Prompt Tuning [26] to the selected four\nlayers instead of fully updating their parameters. Unlike\nconventional attention head using Softmax normalization,\nour design applies Sigmoid activation to obtain patch-wise\nanomaly probabilities. The difference between abnormal\nand normal attention weights yields an Anomaly Attention\nMap, which reflects the likelihood of each patch being abnormal. This map modulates the original visual features\nthrough element-wise multiplication, adjusting their magnitudes according to anomaly salience.\nSubsequently, 2D global pooling is performed over\nthe modulated visual features to derive Anomaly Queries.\nThese queries are passed through an Anomaly Q-Former,\nwhere the LLM-projected visual tokens act as keys and\nvalues. The Anomaly Q-Former outputs are then fed into\na 2-layer MLP to yield the final Anomaly-aware tokens,\n&lt;Ano&gt;, which are used in both downstream LLM inference\nand later heatmap generation in Stage 3.\nTraining for this stage utilizes a diverse collection of\nmedical anomaly datasets spanning MRI, X-ray, and CT\nmodalities, including BMAD, ChestX-Det [7, 39], as well\nas multimodal VQA datasets such as SLAKE, PathVQA,\nand VQA-RAD [19, 33, 51], ensuring both robust visual\ngrounding and generalizable medical reasoning capability.\nStage 2: Difference Reasoning. The second stage focuses on modeling inter-image differences to analyze disease progression over time. Here, the goal is to learn difference tokens, &lt;Diff&gt;, that disentangle the variations in\nabnormal regions across time or paired studies (e.g., followup vs. baseline scans), effectively separating genuine pathological progression from visual or acquisition-related noise.\nAs shown in Fig. 3 (b), the modulated visual features\nderived in Stage 1 from two images are contrasted and disentangled through a Diff Q-Former, which isolates lesionspecific change patterns. Then, each image’s projected visual tokens, fp (V1∗ ) and fp (V2∗ ), serves as keys and values to encode structured inter-image relationships. Passing\nthese through the Diff Q-Former and a subsequent 2-layer\nMLP yields the difference tokens, &lt;Diff&gt;, which are appended to the multimodal input sequence. By explicitly isolating temporal anomalies from static visual context, this\nstage enables the LLM to reason over fine-grained temporal\nvariations in lesion appearance or intensity, thereby enhancing its ability for longitudinal disease reasoning.\nStage 2 training requires temporally paired or longitudinal datasets. We use MIMIC-Diff-VQA[21], a dataset\nbuilt for multi-image reasoning in clinical follow-up scenarios, allowing the model to learn spatial correspondence\nand temporal progression patterns in real patient studies.\nStage 3: Visual Explainability. The final stage introduces a heatmap generation module designed to achieve\n\nvisual grounding and enhance explainability. While prior\nMedical Foundation VLMs often rely on pretrained vision\ndecoders (e.g., SAM2 [48] used in Citrus-V [53]), our approach leverages the learned &lt;Ano&gt; tokens and ConvNeXtbased [55] segmentation head to directly link visual reasoning with evidence.\nAs illustrated in Fig. 3 (c), we fuse &lt;Ano&gt; tokens with\nthe vision encoder’s intermediate feature maps via a fusion\nblock, reinforcing the model’s focus on lesion-relevant regions driving the LLM’s prediction. The fused features are\nthen processed by a compact ConvNeXt-based segmentation head to generate a heatmap M spatially aligned with\nthe input image. This heatmap is overlaid on the original\nimage to provide region-level visual evidence that supports\nthe textual output, thereby connecting model reasoning with\nclinically observable cues.\nStage 3 is trained on datasets with pixel-level segmentation masks, such as selected subsets of BMAD and\nChestX-Det [7, 39]. Leveraging anomaly-token-guided fusion, our model achieves substantially improved anomalylocalization accuracy compared with recent groundingbased medical VLMs, as demonstrated in Sec. 4.3. For the\nmore detailed training configurations of each stages, please\nsee Appendix Sec. B.\n\n4. Experiments\nTo validate the effectiveness of M EDIC -AD, we conduct a series of experiments corresponding to each stage\nof the proposed framework introduced in Sec. 3. Each\nstage is validated on a task specifically aligned with its\nobjective. Stage 1 evaluates the discriminative capability of the learned &lt;Ano&gt; tokens via Medical Zero-shot\nAnomaly Detection. Stage 2 assesses temporal reasoning through the MMXU Benchmark for medical symptom tracking. Finally, Stage 3 examines Medical Visual\nExplainability, evaluating region-level grounding and the\nconsistency between visual evidence and textual reasoning\nusing segmentation-based metrics.\nAs this section focuses on the stage-specific tasks central to our framework, evaluations on conventional medical VQA benchmarks (VQA RAD [33], SLAKE [51],\nPathVQA [19], and MMMU Med [62]) are provided in\nAppendix Sec. C, demonstrating that M EDIC -AD successfully preserves general medical knowledge of backbone\nwhile simultaneously reinforcing its stage-wise clinical applicability.\n\n4.1. Medical Zero-shot Anomaly Detection\nExperimental Settings. In the zero-shot anomaly detection setting, the model is tested on datasets that are entirely\nunseen during training to ensure a fair comparison with\ncompeting models. We evaluate across four heterogeneous\nmodalities—Brain MRI, Head CT, Br35h, and COVID-\n\n\fTable 1. Results on Zero-shot Medical Anomaly Detection (Brain MRI [29], Head CT [31], Br35h [18], and COVID-19 [13]). For each\ndataset, we report Precision, Recall, and F1. The rightmost column shows the average F1 over all tasks.\nCategory\n\nModel\n\nBrain MRI\n\nSize\n\nHead CT\n\nBr35h\n\nCOVID-19\n\nAvg. F1\n\nPrec.\n\nRec.\n\nF1\n\nPrec.\n\nRec.\n\nF1\n\nPrec.\n\nRec.\n\nF1\n\nPrec.\n\nRec.\n\nF1\n\nGeneral\n\nQwen2.5-VL\nInternVL2.5\n\n7B\n8B\n\n76.1\n81.2\n\n92.9\n97.4\n\n83.6\n88.6\n\n61.6\n67.6\n\n100.0\n96.0\n\n76.3\n79.3\n\n66.4\n71.2\n\n94.5\n99.0\n\n78.0\n82.8\n\n88.6\n94.8\n\n83.4\n60.2\n\n85.9\n73.6\n\n81.0\n81.1\n\nClosed\n\nGPT-4o\nClaude-3.5\n\n–\n–\n\n59.3\n64.0\n\n98.6\n100.0\n\n74.1\n78.1\n\n48.7\n50.0\n\n100.0\n100.0\n\n65.5\n66.7\n\n48.9\n51.2\n\n99.9\n100.0\n\n65.6\n67.7\n\n29.1\n47.2\n\n92.9\n100.0\n\n44.4\n64.2\n\n62.4\n69.2\n\nAnomaly\n\nAnomalyGPT\nAnomaly-OV\n\n13B\n7B\n\n61.0\n53.1\n\n96.8\n71.6\n\n74.8\n61.0\n\n50.8\n39.8\n\n97.0\n66.0\n\n66.7\n49.6\n\n47.2\n42.2\n\n88.6\n73.0\n\n61.6\n53.5\n\n33.9\n29.6\n\n57.2\n47.0\n\n42.5\n36.3\n\n61.4\n50.1\n\nMedical\n\nLLaVA-MED\nCitrus-V\nLingshu\nM EDIC -AD\n\n7B\n8B\n7B\n7B\n\n69.0\n85.5\n83.1\n91.1\n\n95.5\n95.5\n94.3\n92.9\n\n80.1\n90.2\n88.4\n92.0\n\n54.1\n78.7\n91.4\n95.1\n\n77.9\n100.0\n94.1\n96.0\n\n63.8\n88.1\n92.8\n95.5\n\n60.8\n79.5\n86.0\n90.8\n\n92.7\n97.5\n93.3\n89.5\n\n73.4\n87.6\n89.5\n90.2\n\n46.1\n58.4\n84.0\n96.6\n\n86.3\n90.4\n84.4\n81.6\n\n60.1\n70.9\n84.2\n88.5\n\n69.4\n84.2\n88.7\n91.6\n\nTable 2. Results on MMXU [42]. Models are categorized into general-purpose, closed-source, and medical-domain VLMs.\nCategory\n\nModel\n\nSize\n\nWorsen\n\nImproved\n\nNo Change\n\nOverall (↑)\n\nGeneral\n\nInternVL2.5\nQwen2.5-VL\n\n8B\n7B\n\n0.486\n0.499\n\n0.607\n0.545\n\n0.402\n0.513\n\n0.498\n0.519\n\nClosed\n\nClaude-3.5\nGPT-4o\n\n–\n–\n\n0.494\n0.480\n\n0.518\n0.675\n\n0.493\n0.559\n\n0.502\n0.571\n\nMedical\n\nCitrus-V\nLingshu\nM EDIC -AD (Ours)\n\n8B\n7B\n7B\n\n0.468\n0.597\n0.663\n\n0.713\n0.734\n0.714\n\n0.532\n0.529\n0.588\n\n0.571\n0.620\n0.655\n\n19 X-ray [13, 18, 29, 31]—to assess generalization capability. Each test sample is queried with a consistent instruction\nprompt: “Is there any abnormality in this image?” The\nmodel’s binary response is evaluated using the F1 score to\ncapture both precision and recall performance.\nWe compare M EDIC -AD against a range of baselines\nspanning three categories: (1) General-purpose opensource VLMs: Qwen2.5-VL-7B and InternVL2.5-8B [3,\n11], (2) Closed-source models: GPT-4o and Claude-3.5 [4,\n24], and (3) Anomaly Detection Specialized VLMs:\nAnomalyGPT and Anomaly-OV [17, 58], as well as (4)\nMedical Foundation VLMs: LLaVA-Med-7B, Citrus-V8B, and Lingshu-7B [35, 53, 59].\nResults. As summarized in Tab. 1, M EDIC -AD achieves\nSOTA performance across all four datasets, demonstrating\nsuperior generalization to unseen medical imaging modalities and conditions. The results indicate that the learned\nanomaly-aware tokens, &lt;Ano&gt;, effectively capture lesionrelevant features, enabling reliable and robust zero-shot\nabnormality discrimination even in unseen datasets. Notably, M EDIC -AD surpasses all medical-specialized baselines and even outperforms closed-source models, validating the efficacy of its anomaly representation learning.\nWhile some closed-source models (e.g., GPT-4o) occasionally produce conservative outputs for normal cases due to\nsafety-alignment bias [30, 56] (e.g., responding with “I’m\n\nunable to analyze medical images ...”), M EDIC -AD consistently produces well-calibrated predictions across both normal and abnormal cases, indicating greater clinical reliability and decision consistency. Overall, Stage 1 demonstrates\nthat anomaly representation learning offers a reliable foundation for zero-shot medical abnormality detection.\n\n4.2. Medical Symptom Tracking\nExperimental Settings. We evaluate temporal reasoning\nability using the MMXU benchmark [42], which involves\npaired chest X-ray studies from the same patient. For each\ninstance, the model must classify disease progression as\nworsened, improved, or unchanged based on two images\nand a multiple-choice question such as:“What is the condition of the left lower lung zone across the two chest CXR\nimages? A: No significant change, B: Improved, C: Worsened.” Only models supporting multi-image reasoning are\nincluded in this comparison, and the evaluation metric follows the accuracy of categorical predictions derived from\nthe model’s textual responses.\nResults. As shown in Tab. 2, M EDIC -AD demonstrates\nclear advantages over existing multimodal models on the\nMMXU benchmark. By leveraging the &lt;Diff&gt; tokens\nrepresentations disentangled through the Diff Q-Former, the\nmodel effectively captures localized lesion changes while\nbeing robust to irrelevant appearance variations such as il-\n\n\fTable 3. Visual grounding performance on BMAD [7] (BraTS2021 [5], RESC [20], BTCV + LiTs [9, 32]) and ChestX-Det [39] datasets.\nEach dataset reports AUC and mIoU metrics (higher is better).\nBraTS2021\n\nModel\n\nRESC\n\nBTCV + LiTs\n\nChestX-Det\n\nAUC (↑) mIoU (↑) AUC (↑) mIoU (↑) AUC (↑) mIoU (↑) AUC (↑) mIoU (↑)\n\nGT\nGT\n\nCitrus-V\nMedic-AD (Ours)\n\n98.8\n99.8\n\n32.6\n87.6\n\n87.6\n100\n\nMedic-AD\nMedic-AD\n\nGT\nGT\n\nCitrus-V\nCitrus-V\n\nMedic-AD\nMedic-AD\n\nCitrus-V\nCitrus-V\n\n2.1\n97.2\n\n82.1\n97.2\n\n1.7\n83.6\n\n98.0\n99.8\n\n12.4\n79.8\n\nCitrus-V, which use a SAM2 decoder [48], tends to produce less precise masks, sometimes highlighting non-lesion\nareas or yielding diffuse activations in normal images. Representative examples in Fig. 4 highlight these differences.\nThese results show that Stage 3 improves the alignment between visual evidence and model reasoning, yielding more\nclinically coherent responses.\n\n5. Analysis\n\n(a) Abnormal samples\n\n(b) Normal samples\n\nFigure 4. Visual Grounding comparison between M EDIC -AD and\nCitrus-V [53] on diverse abnormal and normal samples.\n\nlumination or positional shifts. Unlike general VLMs that\nsimply concatenate multiple images, M EDIC -AD explicitly encodes inter-image relationships, yielding consistent\nreasoning about temporal dynamics. In particular, qualitative inspection shows that M EDIC -AD highlights pathological regions with true clinical changes (e.g., consolidation growth or opacity reduction), whereas other models\noften mistake global contrast shifts for disease progression\n(Fig.2). These findings indicate that Stage 2 effectively separates clinically relevant temporal changes.\n\n4.3. Medical Visual Explainability\nExperimental Settings. To assess visual grounding and\nexplainability, we evaluate M EDIC -AD on medical datasets\nthat include pixel-level anomaly masks, specifically a subset of BMAD [7] (BraTS2021 [5], RESC [20], and BTCV\n+ LiTs [9, 32]) and the ChestX-Det [39] dataset. For\neach image, the model generates a heatmap using the same\nanomaly-detection query as in Sec. 4.1. Predicted heatmaps\nare compared with ground-truth masks using AUC and\nmIoU. We compare against Citrus-V [53], the most recent\nmedical VLMs supporting visual grounding.\nResults. M EDIC -AD shows consistently strong performance across datasets, outperforming Citrus-V on both\nAUC and mIoU (Tab. 3). By integrating &lt;Ano&gt; tokens\nwith intermediate visual features, M EDIC -AD produces\nheatmaps that more accurately localize pathological regions\naligned with the model’s textual rationale. In contrast,\n\nIn this section, we present a comprehensive analysis of\nthe proposed M EDIC -AD framework through ablation studies, hyperparameter sensitivity experiments, and real-world\nevaluations. Across all studies, the results consistently support the central claim of this work: temporal reasoning in\nmedical image pairs fundamentally benefits from coherent\nintegration of anomaly-aware spatial cues and temporally\ngrounded difference representations.\n\n5.1. Effect of &lt;Ano&gt; Tokens on Temporal Reasoning\nThe first analysis focuses on how &lt;Ano&gt; tokens contributes to constructing reliable temporal representations.\nIn M EDIC -AD, the construction of &lt;Diff&gt; tokens is\ngrounded in the anomaly-aware visual features generated\nduring the &lt;Ano&gt; tokens estimation process, where patchwise anomaly likelihood modulates the magnitude of visual\nrepresentations (Sec. 3.2). To isolate the role of &lt;Ano&gt; tokens, we generate &lt;Diff&gt; tokens using the unmodified,\noriginal visual features without salience adjustment.\nAs reported in Tab. 4 (Effect of &lt;Ano&gt; Tokens), removing &lt;Ano&gt; tokens consistently degrades performance\nacross tasks. The drop reveals two important observations.\nFirst, anomaly-aware magnitude modulation enhances the\nexpressiveness of the visual embeddings used for temporal differencing, allowing &lt;Diff&gt; tokens to capture clinically relevant cues rather than global appearance changes.\nSecond, incorporating &lt;Ano&gt; tokens during inference adds\ncomplementary contextual information that stabilizes the\ninterpretation of new findings. Together, these results show\nthat &lt;Ano&gt; and &lt;Diff&gt; tokens form a mutually reinforcing pair: one grounds spatial anomaly cues, while the other\ncaptures temporal evolution, and both are required for accurate modeling of medical image progression.\n\n\fTable 4. Effect of utilizing &lt;Ano&gt; tokens and comparison of visual feature extraction strategies.\n&lt;Ano&gt;\n\nAvg. F1 (↑)\n\nMMXU (↑)\n\nEffect of &lt;Ano&gt; Tokens\n×\n✓\n\n&lt;Diff&gt; tokens only\nM EDIC -AD\n\n–\n–\n\n0.635\n0.655\n\nFeature Selection Strategy\n0.619\n0.635\n\n2\n\n4\nPooling Size\n\n8\n\n0.6\n\n1\n\n20\n88\n.7\n\n0.6\n\n27\n90\n.2\n\nAvg. F1\nMMXU (Overall)\n\n0\n\n5\n\n(a)\n\n10\nSoft Prompt\n\n20\n\n20\n\n0.6\n\n0.6\n0.6\n27\n35\nMMXU (Overall)\n\n35\n91\n.8\n\n.8\n91\nAvg. F1\n90\n.2\n\nAvg. F1\nMMXU (Overall)\n\n.7\n88\n\n90.9\n91.6\n\n0.6\n\n✓\n✓\n\nLast layer\nIntermediate 4-layers\n\n(b)\n\nFigure 5. Hyperparameter sensitivity analysis on (a) query token\npooling size and (b) visual soft prompt counts. The red line denotes the baseline performance of Lingshu [59].\n\n5.2. Layer Selection in Visual Feature Extraction\nIn generating both &lt;Ano&gt; and &lt;Diff&gt; tokens, M EDIC AD relies on visual features extracted from the vision encoder of the backbone VLM. To understand how visual\nrepresentations influence anomaly and temporal token construction, we compare two configurations: using only the\nlast-layer visual features, and aggregating intermediatelayer features together with the final representation.\nAs shown in Tab. 4 (Feature Selection Strategy), using\nintermediate-layer features consistently outperforms relying solely on the final hidden state. This advantage echoes\nprior findings [10, 23, 58, 65] that multi-level feature aggregation provides a broader range of semantic cues and\nimproves downstream performance. In our setting, incorporating intermediate features not only enriches the anomaly\nrepresentations but also produces feature embeddings that\nare more stable and informative for computing inter-image\ndifferences in temporal reasoning.\n\n5.3. Impact of Hyperparameters\nM EDIC -AD involves two key hyperparameters: (1) the\nnumber of generated &lt;Ano&gt; tokens and &lt;Diff&gt; tokens,\nand (2) the number of soft prompts injected into the vision\nencoder. The number of &lt;Ano&gt; and &lt;Diff&gt; tokens is implicitly determined by the 2D pooling size applied to the\nmagnitude-adjusted visual features used for token generation. Therefore, we investigate the effect of varying the\npooling size. In parallel, the number of soft prompts influences how the extracted visual features are adapted to\nM EDIC -AD while also affecting the overall performance of\n\nTable 5. Evaluation on a real-world clinical dataset of 300 patients\nusing GREEN [43], RaTEScore [64], and GPT-4o evaluation.\nModel\n\nGREEN\n\nRaTEScore\n\nGPT eval\n\nLingshu-7B\nM EDIC -AD\n\n0.009\n0.020\n\n0.359\n0.430\n\n0.177\n0.291\n\nthe backbone VLM, motivating a sensitivity analysis.\nAs illustrated in Fig. 5 (a), the model achieves consistently strong performance on both Anomaly Detection and\nMMXU benchmarks when the query-token pooling size is\nset to 4 × 4, indicating that this granularity provides a favorable balance between spatial abstraction and anomaly localization. Similarly, the soft prompt sensitivity study in\nFig. 5 (b) demonstrates that using 10 visual soft prompts\nyields the most stable and competitive results. We therefore\nadopt a pooling size of 4 × 4 and 10 soft prompts as the\ndefault configuration for M EDIC -AD.\n\n5.4. Real-world Application\nTo validate the applicability of M EDIC -AD beyond public benchmarks, we conduct a real-world clinical study using chest X-ray pairs collected from 300 patients who visited a hospital for follow-up examinations. For each image\npair, radiologists provide structured annotations describing\nthe presence or absence of specific clinical findings, and\nthe degree of change compared to the previous examination. Using this dataset, we formulate a temporal-difference\ncaptioning task in which the model must generate clinically\nconsistent descriptions of symptom progression.\nAs shown in Tab. 5, M EDIC -AD outperforms Lingshu [59]—the strongest baseline in temporal reasoning\n(Tab. 2)—under GREEN [43], RaTEScore [64], and GPT\nevaluation. These results indicate that M EDIC -AD remains effective not only in controlled benchmarks but also\ndemonstrates robustness and reliability on real-world clinical data. Moreover, the model produces descriptions that\nalign closely with expert assessments, highlighting its potential for integration into clinical workflows that demand\nexplainable and accurate temporal reasoning.\n\n6. Conclusion\nWe introduced M EDIC -AD, a stage-wise medical VLM\nthat strengthens clinical intelligence: lesion detection, temporal reasoning, and visual explainability through anomalyaware and difference-token mechanisms. Our unified design enables the model to focus on abnormality cues, capture clinically meaningful changes between images, and\nprovide accurate grounded visual evidence. Furthermore,\nevaluations on real-world hospital cases show robust alignment with expert assessments, indicating that M EDIC -AD\noffers a practical and reliable application for clinically usable medical VLMs.\n\n\fAcknowledgements\nThis work was supported in part by National Research\nFoundation of Korea (NRF) grant (RS-2024-00414981),\nInstitute of Information &amp; communications Technology\nPlanning &amp; Evaluation (IITP) grant (RS-2025-25442338,\nRS-2024-00397085, RS-2021-II211343), and by the Health\nand Medical R&amp;D Program of the Ministry of Health and\nWelfare (RS-2025-25455059). This research was supported by the AI Computing Infrastructure Enhancement\n(GPU Rental Support) User Support Program funded by\nthe Ministry of Science and ICT (MSIT), Republic of\nKorea(RQT-25-090156). This research was also conducted\nas part of the Sovereign AI Foundation Model Project (Data\nTrack, 2026-AIData-WII01), organized by the Ministry of\nScience and ICT (MSIT) and supported by the National\nInformation Society Agency (NIA). We also thank the\nsupport from NVIDIA AI Technology Center (NVAITC),\nSamsung Changwon Hospital, and Samsung Medical\nCenter. J. Do is with ASRI, Seoul National University.\n\nReferences\n[1] Uwa O Aideyan, Kevin Berbaum, and Wilbur L Smith. Influence of prior radiologic information on the interpretation\nof radiographic examinations. Academic Radiology, 2(3):\n205–208, 1995. 2\n[2] Stanislaw Antol, Aishwarya Agrawal, Jiasen Lu, Margaret\nMitchell, Dhruv Batra, C Lawrence Zitnick, and Devi Parikh.\nVqa: Visual question answering. In CVPR, pages 2425–\n2433, 2015. 1\n[3] Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin\nGe, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun\nTang, et al. Qwen2. 5-vl technical report. arXiv preprint\narXiv:2502.13923, 2025. 1, 2, 6\n[4] Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda\nAskell, Jackson Kernion, Andy Jones, Anna Chen, Anna\nGoldie, Azalia Mirhoseini, Cameron McKinnon, et al. Constitutional ai: Harmlessness from ai feedback. arXiv preprint\narXiv:2212.08073, 2022. 2, 6\n[5] Ujjwal Baid, Satyam Ghodasara, Suyash Mohan, Michel\nBilello, Evan Calabrese, Errol Colak, Keyvan Farahani,\nJayashree Kalpathy-Cramer, Felipe C Kitamura, Sarthak\nPati, et al. The rsna-asnr-miccai brats 2021 benchmark on\nbrain tumor segmentation and radiogenomic classification.\narXiv preprint arXiv:2107.02314, 2021. 7\n[6] Shruthi Bannur, Stephanie Hyland, Qianchu Liu, Fernando\nPerez-Garcia, Maximilian Ilse, Daniel C Castro, Benedikt\nBoecking, Harshita Sharma, Kenza Bouzid, Anja Thieme,\net al. Learning to exploit temporal structure for biomedical\nvision-language processing. In CVPR, pages 15016–15027,\n2023. 2, 3\n[7] Jinan Bao, Hanshi Sun, Hanqiu Deng, Yinsheng He, Zhaoxiang Zhang, and Xingyu Li. Bmad: Benchmarks for medical\nanomaly detection. arXiv preprint arXiv:2306.11876, 2023.\n3, 5, 7\n[8] Paul Bergmann, Michael Fauser, David Sattlegger, and\nCarsten Steger. The mvtec anomaly detection (mvtec ad)\n\ndataset: A comprehensive real-world dataset for unsupervised anomaly detection. Technical report, MVTec Software\nGmbH, 2021. 3\n[9] Patrick Bilic, Patrick Christ, Hongwei Bran Li, Eugene\nVorontsov, Avi Ben-Cohen, Georgios Kaissis, Adi Szeskin,\nColin Jacobs, Gabriel Efrain Humpire Mamani, Gabriel\nChartrand, et al. The liver tumor segmentation benchmark\n(lits). MIA, 84:102680, 2023. 7\n[10] Yunkang Cao, Jiangning Zhang, Luca Frittoli, Yuqi Cheng,\nWeiming Shen, and Giacomo Boracchi. Adaclip: Adapting\nclip with hybrid learnable prompts for zero-shot anomaly detection. arXiv preprint arXiv:2407.15795, 2024. 3, 8\n[11] Zhe Chen, Weiyun Wang, Yue Cao, Yangzhou Liu, Zhangwei Gao, Erfei Cui, Jinguo Zhu, Shenglong Ye, Hao Tian,\nZhaoyang Liu, et al. Expanding performance boundaries of\nopen-source multimodal models with model, data, and testtime scaling. arXiv preprint arXiv:2412.05271, 2024. 1, 2,\n6\n[12] Yeongjae Cho, Taehee Kim, Heejun Shin, Sungzoon Cho,\nand Dongmyung Shin. Pretraining vision-language model\nfor difference visual question answering in longitudinal chest\nx-rays. arXiv preprint arXiv:2402.08966, 2024. 3\n[13] Muhammad E. H. Chowdhury, Tawsifur Rahman, Amith\nKhandakar, Rashid Mazhar, Muhammad Abdul Kadir,\nZaid Bin Mahbub, Khandakar Reajul Islam, Muhammad Salman Khan, Atif Iqbal, Nasser Al Emadi, Mamun\nBin Ibne Reaz, and Mohammad Tariqul Islam. Can ai help\nin screening viral and covid-19 pneumonia? IEEE Access,\n8:132665–132676, 2020. 6\n[14] Wenliang Dai, Junnan Li, Dongxu Li, Anthony Tiong, Junqi\nZhao, Weisheng Wang, Boyang Li, Pascale N Fung, and\nSteven Hoi. Instructblip: Towards general-purpose visionlanguage models with instruction tuning. NeurIPS, 36:\n49250–49267, 2023. 1, 2\n[15] Francesco Dalla Serra, Patrick Schrempf, Chaoyang Wang,\nZaiqiao Meng, Fani Deligianni, and Alison Q. O’Neil.\nGrounding chest x-ray visual question answering with generated radiology reports. arXiv preprint arXiv:2505.16624,\n2025. 3\n[16] Yossi Gandelsman, Alexei A. Efros, and Jacob Steinhardt.\nInterpreting clip’s image representation via text-based decomposition. arXiv preprint arXiv:2310.05916, 2023. 3\n[17] Zhaopeng Gu, Bingke Zhu, Guibo Zhu, Yingying Chen,\nMing Tang, and Jinqiao Wang. Anomalygpt: Detecting industrial anomalies using large vision-language models. In\nAAAI, pages 1932–1940, 2024. 2, 3, 6\n[18] Ahmed Hamada. Br35h: Brain tumor detection 2020, 2020.\n6\n[19] Xuehai He, Yichen Zhang, Luntian Mou, Eric Xing, and\nPengtao Xie. Pathvqa: 30000+ questions for medical visual\nquestion answering. arXiv preprint arXiv:2003.10286, 2020.\n3, 5, 1, 2\n[20] Junjie Hu, Yuanyuan Chen, and Zhang Yi. Automated segmentation of macular edema in oct using deep neural networks. MIA, 55:216–227, 2019. 7\n[21] Xinyue Hu, Lin Gu, Qiyuan An, Mengliang Zhang,\nLiangchen Liu, Kazuma Kobayashi, Tatsuya Harada,\n\n\fRonald M. Summers, and Yingying Zhu. Expert knowledgeaware image difference graph representation learning for\ndifference-aware medical visual question answering. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD ’23), pages 1–16.\nACM, 2023. 3, 5\n[22] Yutao Hu, Tianbin Li, Quanfeng Lu, Wenqi Shao, Junjun He,\nYu Qiao, and Ping Luo. Omnimedvqa: A new large-scale\ncomprehensive evaluation benchmark for medical lvlm. In\nCVPR, pages 22170–22183, 2024. 3\n[23] Chaoqin Huang, Aofan Jiang, Jinghao Feng, Ya Zhang, Xinchao Wang, and Yanfeng Wang. Adapting visual-language\nmodels for generalizable anomaly detection in medical images. In CVPR, 2024. 3, 8\n[24] Aaron Hurst, Adam Lerer, Adam P Goucher, Adam Perelman, Aditya Ramesh, Aidan Clark, AJ Ostrow, Akila Welihinda, Alan Hayes, Alec Radford, et al. Gpt-4o system card.\narXiv preprint arXiv:2410.21276, 2024. 2, 3, 6\n[25] Saahil Jain, Ashwin Agrawal, Adriel Saporta, Steven Q.H.\nTruong, Du Du Nguyen Duong, Tan Bui, Pierre Chambon,\nYuhao Zhang, Matthew P. Lungren, Andrew Y. Ng, Curtis P. Langlotz, and Pranav Rajpurkar. Radgraph: Extracting\nclinical entities and relations from radiology reports. arXiv\npreprint arXiv:2106.14463, 2021. 3\n[26] Menglin Jia, Luming Tang, Bor-Chun Chen, Claire Cardie,\nSerge Belongie, Bharath Hariharan, and Ser-Nam Lim. Visual prompt tuning. In ECCV, pages 709–727. Springer,\n2022. 4, 5\n[27] Di Jin, Eileen Pan, Nassim Oufattole, Wei-Hung Weng,\nHanyi Fang, and Peter Szolovits. What disease does this\npatient have? a large-scale open domain question answering\ndataset from medical exams. Applied Sciences, 11(14):6421,\n2021. 1, 2\n[28] Qiao Jin, Bhuwan Dhingra, Zhengping Liu, William Cohen,\nand Xinghua Lu. Pubmedqa: A dataset for biomedical research question answering. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural\nlanguage processing (EMNLP-IJCNLP), pages 2567–2577,\n2019. 1, 2\n[29] Pranita Balaji Kanade and PP Gumaste. Brain tumor detection using mri images. Brain, 3(2):146–150, 2015. 6\n[30] Jaeik Kim, Woojin Kim, Woohyeon Park, and Jaeyoung Do.\nMmpb: It’s time for multi-modal personalization. arXiv\npreprint arXiv:2509.22820, 2025. 6\n[31] Felipe Campos Kitamura. Head ct - hemorrhage, 2018. 6\n[32] Bennett Landman, Zhoubing Xu, J Igelsias, Martin Styner,\nT Langerak, and Arno Klein.\nMiccai multi-atlas labeling beyond the cranial vault–workshop and challenge.\nIn Proc. MICCAI Multi-Atlas Labeling Beyond Cranial\nVault—Workshop Challenge, page 12, 2015. 7\n[33] Jason J Lau, Soumya Gayen, Asma Ben Abacha, and Dina\nDemner-Fushman. A dataset of clinically generated visual\nquestions and answers about radiology images. Scientific\ndata, 5(1):1–10, 2018. 3, 5, 1, 2\n[34] Bo Li, Yuanhan Zhang, Dong Guo, Renrui Zhang, Feng Li,\nHao Zhang, Kaichen Zhang, Peiyuan Zhang, Yanwei Li, Zi-\n\nwei Liu, et al. Llava-onevision: Easy visual task transfer.\narXiv preprint arXiv:2408.03326, 2024. 1, 2\n[35] Chunyuan Li, Cliff Wong, Sheng Zhang, Naoto Usuyama,\nHaotian Liu, Jianwei Yang, Tristan Naumann, Hoifung Poon,\nand Jianfeng Gao. Llava-med: Training a large languageand-vision assistant for biomedicine in one day. NeurIPS,\n36:28541–28564, 2023. 1, 2, 6\n[36] Junnan Li, Ramprasaath R. Selvaraju, Akhilesh D. Gotmare,\nShafiq Joty, Caiming Xiong, and Steven C.H. Hoi. Align before fuse: Vision and language representation learning with\nmomentum distillation. In arXiv preprint arXiv:2107.07651,\n2021. 3\n[37] Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi.\nBlip-2: Bootstrapping language-image pre-training with\nfrozen image encoders and large language models. In ICML,\npages 19730–19742. PMLR, 2023. 3\n[38] Tang Li, Mengmeng Ma, and Xi Peng. Deal: Disentangle and localize concept-level explanations for vlms. arXiv\npreprint arXiv:2407.14412, 2024. 3\n[39] Jie Lian, Jingyu Liu, Shu Zhang, Kai Gao, Xiaoqing Liu,\nDingwen Zhang, and Yizhou Yu. A structure-aware relation\nnetwork for thoracic diseases detection and segmentation.\nIEEE Transactions on Medical Imaging, 40(8):2042–2052,\n2021. 3, 5, 7\n[40] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee.\nVisual instruction tuning. NeurIPS, 36:34892–34916, 2023.\n1, 2, 3\n[41] Michael Moor, Qian Huang, Shirley Wu, Michihiro Yasunaga, Yash Dalmia, Jure Leskovec, Cyril Zakka, Eduardo Pontes Reis, and Pranav Rajpurkar. Med-flamingo: a\nmultimodal medical few-shot learner. In Machine Learning\nfor Health (ML4H), pages 353–367. PMLR, 2023. 1\n[42] Linjie Mu, Zhongzhen Huang, Shengqian Qin, Yakun Zhu,\nShaoting Zhang, and Xiaofan Zhang. Mmxu: A multi-modal\nand multi-x-ray understanding dataset for disease progression. arXiv preprint arXiv:2502.11651, 2025. 1, 2, 6\n[43] Ostmeier et al. Green: Generative radiology report evaluation and error notation. In EMNLP 2024, pages 374–390,\n2024. 8\n[44] Ankit Pal, Logesh Kumar Umapathi, and Malaikannan\nSankarasubbu. Medmcqa: A large-scale multi-subject multichoice dataset for medical domain question answering. In\nConference on health, inference, and learning, pages 248–\n260. PMLR, 2022. 1, 2\n[45] Xichen Pan, Li Dong, Shaohan Huang, Zhiliang Peng,\nWenhu Chen, and Furu Wei. Kosmos-g: Generating images\nin context with multimodal large language models. arXiv\npreprint arXiv:2310.02992, 2023. 3\n[46] Yue Qiu, Shintaro Yamamoto, Kodai Nakashima, Ryota\nSuzuki, Kenji Iwata, Hirokatsu Kataoka, and Yutaka Satoh.\nDescribing and localizing multiple changes with transformers. In ICCV, pages 1971–1980, 2021. 3\n[47] Hanoona Rasheed, Muhammad Maaz, Sahal Shaji, Abdelrahman Shaker, Salman Khan, Hisham Cholakkal, Rao M\nAnwer, Eric Xing, Ming-Hsuan Yang, and Fahad S Khan.\nGlamm: Pixel grounding large multimodal model. In CVPR,\npages 13009–13018, 2024. 1\n\n\f[48] 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. 5, 7\n[49] Andrew Sellergren, Sahar Kazemzadeh, Tiam Jaroensri, Atilla Kiraly, Madeleine Traverse, Timo Kohlberger,\nShawn Xu, Fayaz Jamil, Cı́an Hughes, Charles Lau,\net al.\nMedgemma technical report.\narXiv preprint\narXiv:2507.05201, 2025. 2\n[50] Omkar Thawkar, Abdelrahman Shaker, Sahal Shaji Mullappilly, Hisham Cholakkal, Rao Muhammad Anwer, Salman\nKhan, Jorma Laaksonen, and Fahad Shahbaz Khan. Xraygpt:\nChest radiographs summarization using medical visionlanguage models. arXiv preprint arXiv:2306.07971, 2023.\n1\n[51] Tao Tu, Shekoofeh Azizi, Danny Driess, Mike Schaekermann, Mohamed Amin, Pi-Chuan Chang, Andrew Carroll,\nCharles Lau, Ryutaro Tanno, Ira Ktena, et al. Towards generalist biomedical ai. Nejm Ai, 1(3):AIoa2300138, 2024. 2,\n3, 5, 1\n[52] Oriol Vinyals, Alexander Toshev, Samy Bengio, and Dumitru Erhan. Show and tell: A neural image caption generator. In CVPR, pages 3156–3164, 2015. 1\n[53] Guoxin Wang, Jun Zhao, Xinyi Liu, Yanbo Liu, Xuyang\nCao, Chao Li, Zhuoyun Liu, Qintian Sun, Fangru Zhou, Haoqiang Xing, et al. Citrus-v: Advancing medical foundation\nmodels with unified medical image grounding for clinical\nreasoning. arXiv preprint arXiv:2509.19090, 2025. 1, 2,\n3, 5, 6, 7\n[54] Zifeng Wang, Zhenbang Wu, Dinesh Agarwal, and Jimeng\nSun. Medclip: Contrastive learning from unpaired medical\nimages and text. In EMNLP, page 3876, 2022. 2\n[55] Sanghyun Woo, Shoubhik Debnath, Ronghang Hu, Xinlei\nChen, Zhuang Liu, In So Kweon, and Saining Xie. Convnext v2: Co-designing and scaling convnets with masked\nautoencoders. In CVPR, pages 16133–16142, 2023. 5\n[56] Tinghao Xie, Xiangyu Qi, Yi Zeng, Yangsibo Huang,\nUdari Madhushani Sehwag, Kaixuan Huang, Luxi He, Boyi\nWei, Dacheng Li, Ying Sheng, et al. Sorry-bench: Systematically evaluating large language model safety refusal. arXiv\npreprint arXiv:2406.14598, 2024. 6\n[57] Yunfei Xie, Ce Zhou, Lang Gao, Juncheng Wu, Xianhang\nLi, Hong-Yu Zhou, Sheng Liu, Lei Xing, James Zou, Cihang\nXie, et al. Medtrinity-25m: A large-scale multimodal dataset\nwith multigranular annotations for medicine. arXiv preprint\narXiv:2408.02900, 2024. 2\n[58] Jiacong Xu, Shao-Yuan Lo, Bardia Safaei, Vishal M. Patel,\nand Isht Dwivedi. Towards zero-shot anomaly detection and\nreasoning with multimodal large language models. arXiv\npreprint arXiv:2502.07601, 2025. 2, 3, 6, 8\n[59] Weiwen Xu, Hou Pong Chan, Long Li, Mahani Aljunied,\nRuifeng Yuan, Jianyu Wang, Chenghao Xiao, Guizhen Chen,\nChaoqun Liu, Zhaodonghui Li, et al. Lingshu: A generalist foundation model for unified multimodal medical understanding and reasoning. arXiv preprint arXiv:2506.07044,\n2025. 1, 2, 4, 6, 8\n\n[60] Li Yang, Yan Xu, Chunfeng Yuan, Wei Liu, Bing Li, and\nWeiming Hu. Improving visual grounding with visuallinguistic verification and iterative reasoning. In CVPR,\npages 9499–9508, 2022. 1\n[61] Linli Yao, Weiying Wang, and Qin Jin. Image difference captioning with pre-training and contrastive learning. In AAAI,\npages 3108–3116, 2022. 3\n[62] Xiang Yue, Yuansheng Ni, Kai Zhang, Tianyu Zheng, Ruoqi\nLiu, Ge Zhang, Samuel Stevens, Dongfu Jiang, Weiming\nRen, Yuxuan Sun, et al. Mmmu: A massive multi-discipline\nmultimodal understanding and reasoning benchmark for expert agi. In CVPR, pages 9556–9567, 2024. 5, 1, 2\n[63] Xiaoman Zhang, Chaoyi Wu, Ziheng Zhao, Weixiong Lin,\nYa Zhang, Yanfeng Wang, and Weidi Xie. Pmc-vqa: Visual instruction tuning for medical visual question answering. arXiv preprint arXiv:2305.10415, 2023. 1, 2\n[64] Zhao et al. Ratescore: A metric for radiology report generation. medrxiv, 2024. 8\n[65] Q Zhou and et al. Object-agnostic prompt learning for zeroshot anomaly detection. arXiv preprint arXiv:2310.18961,\n2023. 3, 8\n[66] Deyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li, and Mohamed Elhoseiny. Minigpt-4: Enhancing vision-language\nunderstanding with advanced large language models. arXiv\npreprint arXiv:2304.10592, 2023. 1, 2\n[67] Yang Zou, Jongheon Jeong, Latha Pemula, Dongqing Zhang,\nand Onkar Dabeer. Spot-the-difference self-supervised pretraining for anomaly detection and segmentation. In ECCV,\npages 392–408, 2022. 3\n[68] Yuxin Zuo, Shang Qu, Yifei Li, Zhangren Chen, Xuekai Zhu,\nErmo Hua, Kaiyan Zhang, Ning Ding, and Bowen Zhou.\nMedxpertqa: Benchmarking expert-level medical reasoning\nand understanding. arXiv preprint arXiv:2501.18362, 2025.\n1, 2\n\n\fM EDIC -AD: Towards Medical Vision-Language Model’s Clinical Intelligence\nSupplementary Material\nThis supplementary document provides additional details supporting the main paper.\n\nTable 6. Parameter size of M EDIC -AD’s additional modules.\nCategory\n\nParam. Size\n\nA. Chat Template\n\nVisual soft prompts\n\n51K\n\nTo incorporate the new &lt;Ano&gt; and &lt;Diff&gt; tokens, we update the original chat template to provide more explicit cues\nfor abnormality detection and change description (Fig. 6).\nWhile the original template simply presented two images\nand asked what had changed, M EDIC -AD template attaches\nanomaly tokens (&lt;Ano&gt;) to each image and adds diff tokens (&lt;Diff&gt;) to the change question. This enriches the\nprompt with clinically aligned signals, enabling the model\nto produce more accurate abnormality identification and localized change explanations.\n\n&lt;Ano&gt; modules\n\n40M\n\n&lt;Diff&gt; modules\n\n40M\n\nHeatmap modules\n\n48M\n\nOriginal Template\n\nMedic-AD Template\n\nMain image: &lt;image&gt;,\nReference image: &lt;image&gt;,\nWhat has changed compared\nto the reference image?\n\nMain image: &lt;image&gt;\n(Anomaly tokens: &lt;Anomaly_tokens&gt;),\nReference image: &lt;image&gt;\n(Anomaly tokens: &lt;Anomaly_tokens&gt;),\nWhat has changed compared to the\nreference image?\n(Diff tokens: &lt;Diff_tokens&gt;)\n\nFigure 6. Comparison of chat template between original and\nM EDIC -AD, utilizing &lt;Ano&gt; and &lt;Diff&gt; tokens.\n\nverse set of established medical VQA and QA datasets,\nincluding VQA-RAD [33], SLAKE [51], PathVQA [19],\nMMMU Med [62], PMC-VQA [63] for visual reasoning, and MedMCQA [44], PubMedQA [28], MedQA [27],\nMedXpertQA [68] for text-only medical QA. As shown in\nTab. 7 and Tab. 8, M EDIC -AD preserves broad medical\nknowledge acquired during pretraining while maintaining\nstrong question–answering competence across both visual\nand non-visual domains. Notably, when comparing against\na fully fine-tuned Lingshu baseline—trained end-to-end on\nthe Stage 1 and Stage 2 datasets—we observe a pronounced\ndegradation in general medical knowledge, leading to substantial drops across benchmarks. This contrast underscores\nthat M EDIC -AD’s stage-wise design, which updates only\ntargeted components such as &lt;Ano&gt; and &lt;Diff&gt;, effectively avoids catastrophic forgetting and retains generaldomain medical reasoning capabilities.\n\nC.2. Results on hyperparameter experiments\n\nB. Training Details\nAll training stages employ the AdamW optimizer together\nwith a cosine learning rate scheduler. Stage 1 is trained on\n3 H200 GPUs for one epoch (3 hours) using an initial learning rate of 1e−6 and a per-device batch size of 16, resulting\nin a global effective batch size of 48. Stage 2 is trained on\nthe same hardware for one epoch (6 hours) using an initial\nlearning rate of 1e−6 and a global effective batch size of 96.\nBoth Stage 1 and Stage 2 are optimized using the standard\nLLM cross-entropy loss. Stage 3 is trained for 100 epochs\n(15 hours) using an initial learning rate of 1e−3 and a global\neffective batch size of 96, optimizing the DiceCE loss. The\nparameter size of additional modules introduced in M EDIC AD follows the specifications summarized in Tab. 6.\n\nC. Additional experiments\nC.1. Generic-Medical VQA\nIn this section, we assess the general medical reasoning\ncapability of M EDIC -AD by benchmarking it on a di-\n\nThe experimental results on hyperparameters summarized\nin Fig. 5 are provided in full detail in Tab. 9, offering a comprehensive breakdown of each experimental configuration.\n\nC.3. Stage-wise vs. Joint Training\nTab. 10 shows that stage-wise training consistently outperforms joint optimization under identical experimental settings. While joint training still yields performance improvements over the baseline, stage-wise optimization achieves\nsuperior results by providing a more stable learning curriculum. This result suggests that the proposed curriculum\nenables each stage-specific objective to be effectively internalized before introducing additional supervision signals.\n\n\fTable 7. Results on medical VQAs (VQA RAD [33], SLAKE [51], PathVQA [19], MMMU Med [62]), and PMC VQA [63]).\nModel\n\nSize\n\nVQA RAD\n\nSLAKE\n\nPathVQA\n\nMMMU Med\n\nPMC VQA\n\nLLaVA-Med\nCitrus-V\nLingshu\n\n7B\n8B\n7B\n\n53.7\n64.3\n67.9\n\n48.0\n84.9\n83.1\n\n32.5\n62.0\n61.9\n\n29.3\n46.4\n54.0\n\n30.5\n55.6\n56.0\n\nLingshu (full finetuning)\nM EDIC -AD\n\n7B\n7B\n\n40.8\n64.3\n\n38.4\n78.5\n\n45.3\n56.5\n\n24.8\n54.2\n\n6.4\n56.1\n\nTable 8. Results on medical QAs (MedMCQA [44], PubMedQA [28], MedQA [27], and MedXpertQA [68]).\nModel\n\nSize\n\nMedMCQA\n\nPubMedQA\n\nMedQA\n\nMedXpertQA\n\nLLaVA-Med\nCitrus-V\nLingshu\n\n7B\n8B\n7B\n\n39.4\n55.1\n55.9\n\n26.4\n74.8\n75.4\n\n42.0\n64.9\n63.3\n\n9.9\n16.9\n16.5\n\nLingshu (full finetuning)\nM EDIC -AD\n\n7B\n7B\n\n1.8\n56.7\n\n35.4\n75.6\n\n24.4\n63.6\n\n10.9\n16.5\n\nTable 9. Ablation on pooling size and soft prompt counts. We report average F1 and MMXU (Overall) for each configuration.\nCategory\n\nConfig. Value\n\nAvg. F1\n\nMMXU\n\nPooling Size\n\n1\n2\n4\n8\n\n90.5\n90.2\n91.6\n91.7\n\n0.620\n0.631\n0.635\n0.623\n\nSoft Prompt Counts\n\n0\n5\n10\n20\n\n90.6\n91.8\n91.6\n89.2\n\n0.625\n0.630\n0.635\n0.626\n\nTable 10. Comparison between Stage-wise and Joint training.\nModel\nLingshu-7B\nMedic-AD (Joint)\nMedic-AD (Stage-wise)\n\nAVG. F1\n\nMMXU\n\n88.7\n89.7\n91.6\n\n0.620\n0.630\n0.655\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"