"<!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>Self-Distilled Agentic Reinforcement Learning\nZhengxi Lu1,2 ,∗ Zhiyuan Yao1,2 , Zhuowen Han2 , Zi-Han Wang2,3 , Jinyang Wu3\nQi Gu2†, Xunliang Cai2 , Weiming Lu1 , Jun Xiao1 , Yueting Zhuang1 , Yongliang Shen1†\n1 Zhejiang University\n\n2 Meituan\n\n{zhengxilu, syl}@zju.edu.cn\n\n3 Tsinghua University\n\nguqi03@meituan.com\n\narXiv:2605.15155v1 [cs.LG] 14 May 2026\n\nAbstract\nReinforcement learning (RL) has emerged as a central paradigm for posttraining LLM agents, yet its trajectory-level reward signal provides only\ncoarse supervision for long-horizon interaction. On-Policy Self-Distillation\n(OPSD) complements RL by introducing dense token-level guidance from a\nteacher branch augmented with privileged context. However, transferring\nOPSD to multi-turn agents proves problematic: compounding multi-turn\ninstability destabilizes supervision, while skill-conditioned privileged guidance requires asymmetric treatment for negative teacher rejections may\narise from imperfect skills retrieval or utilization. We introduce SDAR\n(Self-Distilled Agentic Reinforcement Learning), which treats OPSD as a\ngated auxiliary objective while keeping RL as the primary optimization\nbackbone. SDAR maps detached token-level signals into a sigmoid gate,\nstrengthening distillation on teacher-endorsed positive-gap tokens and\nsoftly attenuating negative teacher rejections. Across the Qwen2.5 and\nQwen3 families on ALFWorld, WebShop, and Search-QA, SDAR substantially improves over GRPO (+9.4% on ALFWorld, +7.0% on Search-QA,\n+10.2% on WebShop-Acc), avoids the instability of naive GRPO+OPSD, and\nconsistently outperforms hybrid RL–OPSD baselines across model scales.\nCode available: https://github.com/ZJU-REAL/SDAR.\n\nFigure 1: (a) Comparison between GRPO+OPSD and SDAR; (b) Overall Performance.\n∗ Work done during internship at Meituan.\n† Corresponding author\n\n1\n\n\f1\n\nIntroduction\n\nAgentic post-training has become a central challenge for Large Language Models\n(LLMs) (Guo et al., 2025; Team et al., 2025; Yang et al., 2025; Comanici et al., 2025; Team et al.,\n2026b). Unlike static single-turn reasoning, multi-turn agents interact with environments\nover extended horizons, where each action changes future observations and each generated\nresponse becomes part of the context for subsequent decisions (Shen et al., 2023; Shi et al.,\n2025; Jimenez et al., 2023).\nTwo paradigms naturally emerge as complementary forces: Reinforcement Learning\n(RL) (Shao et al., 2024; Dong et al., 2025; Feng et al., 2025) provides task-level optimization\ngrounded in environment or verifier feedback, whereas On-Policy Distillation (OPD) (Ye\net al., 2026; Yang et al., 2026b; Team et al., 2026a; GLM-5-Team et al., 2026) and On-Policy\nSelf-Distillation (OPSD) (Zhao et al., 2026; He et al., 2026; Zhang et al., 2026) provide dense\ntoken-level guidance from a teacher branch. Yet, OPSD does not transfer cleanly to multiturn agent training. We attribute this to two observations: [1] Multi-turn OPSD Instability\nand [2] Asymmetric Trust in Privileged Guidance.\n\nKL Divergence\n\nKL Loss\n\nSuccess Rate\n\n[Observation-1] Multi-turn OPSD Instability Once the student agent inevitably drifts\n0.35\nfrom the teacher-supported traMulti-turn OPSD\nGRPO+OPSD\n0.3\nGRPO\njectory, the once-helpful token0.30\nRLSD\nlevel supervision becomes increas0.2\n0.25\ningly unreliable. This compound0.20\n0.1\ning error leads to surging perTraining Steps\n3.0\n0.15\nturn KL divergence and catas2.5\n0.10\ntrophic degradation in task per2.0\n0.05\nformance, as shown in Figure 2\n1.5\nMulti-turn OPSD\n1.0\n0.00\n(Left). TCOD (Wang et al., 2026b)\n0\n5\n10\n15\n20\n0\n50\n100\n150\nattempts to address this through\nTraining Steps\nTurn Step\ncurriculum learning, but relies\non rigid temporal schedules or Figure 2: Left: Multi-turn OPSD Instability, with performance\nand KL reported. Right: RLSD-Style Instability, with KL loss.\ntrajectory-depth thresholds.\n[Observation-2] Asymmetric Trust in Privileged Guidance. In OPSD, the teacher branch\nis not an independently stronger model, but the same policy augmented with privileged\ntraining-only context, such as retrieved skills. This makes its token-level guidance inherently\nasymmetric. For a student-sampled token yt , if the privileged teacher assigns a higher\nprobability than the student, the retrieved skill provides an endorsement signal: it supports\nan on-policy behavior that the student can already generate but has not fully internalized.\nSuch positive guidance is particularly suitable for distillation.\nIn contrast, if the privileged teacher assigns a lower probability to the sampled token, the\nsignal should be interpreted more cautiously. A negative gap may indicate that the token\nshould indeed be suppressed, but in skill-conditioned OPSD it may also arise from the instability of privileged context: (1) Skill Quality. Retrieved skills may be irrelevant, incomplete,\nor redundant. (2) Skill Utilization. The teacher may fail to ground even relevant skills\ninto reliable token-level preferences (Chen et al., 2019). (3) Multi-turn Drift. As trajectories\nunfold, the teacher-student gap tends to widen across turns (Figure 3, Middle), amplifying\nearly mismatches over successive decisions (Ross et al., 2011). Our preliminary study on\nQwen2.5-3B-Instruct shows that negative-gap tokens exceed 50% of all tokens (Figure 3),\nmaking this issue pervasive. This motivates an asymmetric treatment of privileged guidance: trust positive teacher endorsements more strongly, while applying negative teacher\nrejections more conservatively.\nA stark realization emerges: for multi-turn agents, RL could reign as the primary optimization backbone, while OPSD is relegated to a carefully controlled auxiliary role.\nBut how should this auxiliary role be controlled? RLSD (Yang et al., 2026a) directly uses selfdivergence to re-weight token-level RL advantages, but can substantially amplify updates\nespecially early in training when teacher-student mismatch is large (see Figure 2, Right).\n2\n\n\f0.11\n\nMean=-0.1168\n\n250000\n\n0.04\n0.06\n\n150000\n100000\n\nAverage Gaps\n\n0.08\n\nAverage Gaps\n\nToken Count\n\n200000\n\n0.12\n\n50000\n0\n\n0.10\n0.12\n0.14\n0.16\n\n-1\n\n-0.5\n\n0\n\n0.5\n\nTeacher-Student Gap\n\n1\n\n0.13\n\n1\n\n11\n\n21\n\n31\n\nTurn Step Interval\n\n41\n\n0.18\n\n5%\n\n30%\n\n55%\n\n80%\n\nRelative Position in Turn\n\nFigure 3: Teacher-Student Gap Analysis. Left: Token count distribution partitioned by\nTeacher-Student gap value. Middle: Average teacher-student gap indexed by multi-turn\nstep. Right: Average teacher-student gap indexed by relative position within a single turn.\n\nWe take a different path: the OPSD loss is treated as a direct, auxiliary optimization objective,\nleaving the verifier-driven RL policy loss untouched and thereby strictly preserving the\nsemantics and unbiasedness of the RL advantage. To overcome instability of multi-turn\nOPSD and privileged guidance, distillation is not performed uniformly on every token.\nInstead, tokens are selectively distilled via an adaptive, smooth gating mechanism rather\nthan a hand-crafted, rigid schedule (such as Skill-SD (Wang et al., 2026a) and HDPO (Ding,\n2026)). Inspired by TIP (Xu et al., 2026), we use token-level signals (such as student entropy\nor teacher-student divergence) to control the gate’s activation. The core philosophy is\nsimple: let each token decide the intensity of its own supervision. This yields a dynamic, selfpaced curriculum operating at the finest possible granularity: the individual token level.\nWe validated our method across the Qwen2.5 and Qwen3 model families on three diverse\nbenchmarks for llm-based agents: ALFWorld (Shridhar et al., 2020), WebShop (Yao et al.,\n2022), and Search-QA (Jin et al., 2025). SDAR achieves substantial improvements over\nGRPO (+9.4% on ALFWorld, +7.0% on Search-QA, and +10.2% on WebShop-Acc for\n7B), entirely avoids the catastrophic instability of naı̈ve GRPO+OPSD, and consistently\noutperforms RL–OPSD hybrid methods such as Skill-SD and RLSD across all three model\nscales (Qwen3-1.7B included). Furthermore, robustness analysis shows that SDAR degrades\ngracefully with retrieval quality: even random retrieval outperforms the GRPO baseline, as\nour gating design filters out noise from low-quality skills and distills beneficial signals only.\n\n2\n\nMethod\n\n2.1\n\nProblem Setup\n\nWe consider a multi-turn agent that interacts with an environment over a finite horizon.\nGiven an initial prompt or task description x, at turn k the agent receives an observation\nok , generates a response ak , and the environment returns the next observation ok+1 . Each\nresponse ak may contain both intermediate reasoning tokens and executable action tokens.\nFor notational simplicity, we flatten all valid response tokens in one trajectory into a single\ntoken sequence\ny = (y1 , . . . , y T ) ∼ πθ (· | x ),\nwhere πθ denotes the student policy and T is the total number of valid response tokens. At\ntoken position t, we denote the self-student context by\nst = ( x, y&lt;t ),\nand the self-teacher context by\n+\ns+\nt = ( x, c , y&lt;t ),\n\nwhere c+ denotes privileged training-only context available only to the teacher branch, such\nas reference answers, skills (ours), or other auxiliary information not accessible at test time.\n3\n\n\fAgent Loop\n\nOPSD\n\nTurn 1\n\nEnv\n\nSkills\n\nSelf-Teacher\n\nRetrieval\n\nGiven the Current Situation ,\n\nObservation\n\nAction\n\nGRPO\n\nthe\n\nsid etable\n\n-0.25 0.06\n\nAgent\n\n0.20 -1.7\n\nTurn N\n\nEnvironment\n\n-0.07\n\n0.00\n\n1\n\nis\n\n0.02\n\n0.0 -0.03\n\nit\n\nTask-Outcome Signal\n\nseems\n\nτ1\n\nr1\n\nA1\n\n0 0.46 -0.43\n\nτ2\n\nr2\n\nA2\n\nτG\n\nrG\n\nAG\n\nTraj\n\nReward\n\nempty\n\nRollout\n\n0.28\n\nGaps\n\nToken-Level Advantages\n\nToken-Level Gating\n\nSelf-Student\n\nTokens\n\nλ* OPSD Loss + GRPO Loss\n\nFigure 4: Illustrations of SDAR framework, which trains multi-turn agents using tokenlevel OPSD loss and verifier-driven RL loss.\n\nSkills Retrieval We retrieve task-relevant skills—compact, structured demonstrations that\nencode domain-specific knowledge such as sub-goal decompositions or action templates.\nWe implement four retrieval strategies of varying quality to evaluate the robustness of our\nframework to the fidelity of the retrieved context: (1) UCB Retrieval, (2) Keyword Matching\n(KM), (3) Full Retrieval, and (4) Random Retrieval.\nSkill retrieval is cast as a multi-armed bandit problem over the skill library E = {e1 , . . . , e M }.\nFor each incoming task, UCB Retrieval selects the single highest-scoring skill file according\nto the Upper Confidence Bound (UCB) criterion:\ns\nln Nucb\n,\n(1)\nscore(e) = r̄ (e) + c\nn(e)\nwhere r̄ (e) is the running mean reward obtained when skill e was previously supplied as\ncontext, Nucb is the total number of retrieval queries issued for the same task type, n(e) is the\nnumber of times e has been selected, and c controls the exploration–exploitation trade-off.\nKeyword Matching bypasses the bandit formulation and instead identifies the task scenario\nby matching keywords in the task description against predefined category labels, directly\nretrieving the skill file associated with the matched category.\n2.2\n\nOptimization Goals\n\nOur method is designed as an auxiliary objective on top of a standard policy optimization\nGRPO loss. The overall training objective is\n\nL(θ ) = LGRPO (θ ) + λ SDAR · LSDAR (θ ),\nwhere LGRPO is the original policy loss and L SDAR is our on-policy self-distillation objective.\nLet mt ∈ {0, 1} be the response mask indicating whether token t is valid. We define masked\ntoken averaging as\nAgg(z1:T ) =\nRL Optimization\n\n∑tT=1 mt zt\n.\n∑tT=1 mt\n\nFor each input x, GRPO samples a group of responses\n\n{y(i) }iG=1 ∼ πθ (· | x ),\n4\n\n\fand computes a sequence-level advantage A(i) from environment rewards. Using a reference\npolicy πref , the GRPO objective can be written as\n\nLGRPO (θ ) = −\n\n\u0010\n\u0010\n\u0011\u0011\n1 G\n(i )\n(i )\nAgg min rt A(i) , clip(rt , 1 − ϵ, 1 + ϵ) A(i)\n∑\nG i =1\n\n+ β·\n(i )\n\n(i )\n\n\u0011\n\u0010\n1 G\n(i )\n(i )\nπ\n(·\n|\ns\n)\n∥\nπ\n(·\n|\ns\n))\n,\nAgg\nD\n(\nKL θ\nref\nt\nt\nG i∑\n=1\n\n(i )\n\n(i )\n\n(2)\n\n(i )\n\nwhere rt = πθ (yt | st )/πθold (yt | st ) is the importance sampling ratio.\nOPSD Optimization At a fixed token position t, the teacher and student induce conditional token distributions π T (· | s+\nt ) and πθ (· | st ), respectively. The per-token reverse KL\ndivergence is defined as:\n(t)\n\nDRKL = DKL πθ (· | st )\n\n\u0001\nπθ (v | st )\nπ T (· | s+\n.\nt ) = ∑ πθ ( v | st ) log\nπ T (v | s+\nt )\nv∈V\n\nTo efficiently derive an importance signal without computing the expensive full-vocabulary\nsummation, we take a single-sample estimate on the student-sampled token yt ∼ πθ (· | st ).\nThe negation of this estimate directly yields the Teacher-Student log-probability gap ∆t :\n(t)\n\n+\nb\n∆t = − D\nRKL = log π T ( yt | st ) − log πθ ( yt | st ).\n\n2.3\n\nToken-Level Gating\n\nThe key idea is to convert privileged teacher guidance into a token-level trust weight,\nwhile keeping the verifier-driven RL objective unchanged. We introduce a token-level gate\ngt ∈ [0, 1] that modulates the OPSD signal on each student-sampled token, and apply it to a\nsampled-token surrogate so that different gating strategies share the same optimization.\nLet\n\n\u0010\n\u0011\n∆t = sg log πθ+ (yt | s+\nt ) − log πθ ( yt | st )\n\ndenote the detached Teacher-Student log-probability gap on the student-sampled token, and\nht = − ∑ πθ (v | st ) log πθ (v | st )\nv∈V\n\ndenote the student entropy at position t. We compose each raw score with the logistic\nsigmoid σ so that every gate is smooth, differentiable, and naturally bounded in (0, 1). The\nsharpness parameter β &gt; 0 controls the transition between conservative attenuation and\nstrong activation.\nWe instantiate three complementary gating strategies:\n1. Entropy gating: gt = σ ( β ht ), targeting high-entropy positions where the student is\nmost uncertain.\n2. Gap gating: gt = σ ( β ∆t ), assigning larger weights to positive-gap tokens endorsed\nby the privileged teacher while attenuating negative-gap tokens.\n3. Soft-OR gating: gt = σ( β[1 − (1 − ht )(1 − ∆t )]), combining student uncertainty and\nteacher-student gap as an alternative gating strategy.\nIn all cases, the gate is detached via sg(·), so gradients flow exclusively through the student\nlog-probability. The token-level loss is\n\nℓtSDAR = gt · (log πθ+ (yt | s+\nt ) − log πθ ( yt | st )),\n\nLSDAR = Agg(ℓtSDAR ).\n\nWith gap gating, the sigmoid gate implements asymmetric token-level modulation: positivegap tokens receive stronger auxiliary distillation, while negative-gap tokens are softly\nattenuated. We also provide theoretical analysis of our design in Appendix A.\n5\n\n\fTable 1: Performance on ALFWorld, Search-QA and WebShop tasks. We report the success\nrate (%) on ALFWorld, accuracy (%) on Search-QA, and Score/Acc (%) on WebShop (128\ntasks). * means validation with skills. Best and second-best are highlighted.\nALFWorld\nMethod\n\nSearch-QA\n\nPick Look CleanHeat Cool Pick2 Avg NQ\n\nWebShop\n\nTriv Pop Hotp 2Wk MuS Bam Avg Score Acc\n\nQwen2.5-3B-Instruct\nVanilla\n44.4\nSkill-Prompt* 51.7\nOPSD\n48.8\nGRPO\n91.2\nSkill-GRPO\n88.9\nSkill-GRPO*\n94.3\nGRPO+OPSD 100\nSkill-SD\n88.2\nRLSD\n87.9\nSDAR\n97.1\n\n11.1\n66.7\n41.7\n62.5\n71.4\n57.1\n82.4\n50.0\n75.0\n62.5\n\n6.2\n48.4\n16.7\n96.2\n58.8\n100\n85.7\n96.2\n90.9\n100\n\n15.4\n0.0\n0.0\n61.9\n70.6\n66.7\n75.0\n52.4\n75.0\n61.9\n\n28.6\n4.3\n15.8\n65.0\n40.7\n73.1\n70.0\n65.0\n73.1\n75.0\n\n12.5\n10.0\n16.7\n47.4\n29.2\n57.1\n60.0\n57.9\n68.4\n84.2\n\n21.9\n28.9\n28.1\n75.0\n60.2\n80.5\n81.2\n73.4\n79.7\n84.4\n\n24.6\n23.7\n0.1\n39.3\n43.5\n44.3\n44.9\n44.4\n41.5\n44.8\n\n48.1\n46.2\n0.1\n60.6\n58.8\n59.6\n61.2\n60.4\n58.6\n58.1\n\n31.0\n30.6\n0.1\n41.1\n43.0\n44.3\n45.2\n44.0\n42.3\n44.3\n\n26.3\n24.4\n0.0\n37.4\n36.8\n39.0\n40.4\n39.5\n40.4\n38.6\n\n25.3\n22.1\n0.0\n34.6\n32.2\n36.1\n38.5\n40.4\n40.2\n36.2\n\n7.2\n7.5\n0.0\n15.4\n11.7\n14.5\n16.0\n15.4\n16.8\n15.7\n\n59.7\n12.5\n0.0\n26.4\n12.5\n14.9\n66.1\n64.9\n66.9\n66.1\n\n31.7\n23.9\n0.0\n36.4\n34.1\n36.1\n44.6\n44.1\n43.8\n43.4\n\n6.7\n0.2\n11.3\n79.8\n77.3\n76.3\n77.8\n75.9\n84.4\n85.0\n\n0.8\n0.8\n3.1\n63.3\n60.9\n66.4\n66.4\n64.0\n66.4\n68.0\n\nQwen2.5-7B-Instruct\nVanilla\n36.1\nSkill-Prompt* 51.7\nOPSD\n50.0\nGRPO\n91.2\nSkill-GRPO\n88.5\nSkill-GRPO*\n100\nGRPO+OPSD 91.4\nSkill-SD\n93.9\nRLSD\n100\nSDAR\n94.7\n\n22.2\n50.0\n60.0\n87.5\n66.7\n83.3\n61.5\n93.8\n87.5\n75.0\n\n3.1\n32.3\n22.7\n96.2\n65.2\n96.4\n100\n90.9\n92.3\n100\n\n0.0\n5.3\n21.4\n81.0\n61.1\n83.3\n87.5\n100\n58.8\n86.7\n\n0.0\n4.3\n17.6\n65.0\n57.7\n75.0\n76.5\n69.2\n80.0\n68.2\n\n0.0\n0.0\n9.5\n57.9\n73.1\n78.9\n52.2\n68.4\n65.2\n78.9\n\n12.5\n23.4\n32.8\n81.2\n69.5\n88.3\n80.4\n85.1\n82.0\n85.9\n\n25.2\n30.9\n8.8\n45.1\n45.2\n44.8\n47.3\n47.1\n46.8\n46.3\n\n50.8\n52.1\n8.6\n63.7\n63.7\n63.0\n64.5\n64.5\n63.0\n63.5\n\n29.5\n32.7\n17.5\n44.0\n45.7\n45.1\n46.9\n47.8\n44.4\n48.2\n\n29.0\n32.7\n2.5\n43.6\n43.1\n43.7\n43.8\n44.2\n45.5\n43.8\n\n29.0\n27.9\n4.2\n43.2\n43.3\n43.7\n39.3\n42.1\n48.9\n48.4\n\n10.4\n12.7\n0.5\n16.8\n19.6\n20.5\n18.0\n20.2\n21.5\n19.6\n\n63.7\n66.1\n1.2\n37.6\n21.4\n71.4\n69.4\n69.0\n73.0\n73.0\n\n33.9\n36.4\n6.2\n42.0\n40.3\n47.5\n47.0\n47.8\n49.0\n49.0\n\n5.9\n1.7\n4.5\n80.9\n80.4\n87.0\n86.8\n86.1\n87.4\n89.4\n\n1.6\n0.8\n2.3\n72.6\n71.9\n81.2\n76.5\n76.5\n77.3\n82.8\n\nQwen3-1.7B-Instruct\nVanilla\n25.0\nSkill-Prompt* 10.3\n26.3\nOPSD\nGRPO\n71.1\nSkill-GRPO\n27.6\nSkill-GRPO*\n31.4\nGRPO+OPSD 38.2\nSkill-SD\n52.9\nRLSD\n50.0\nSDAR\n73.5\n\n22.2\n50.0\n33.3\n41.7\n54.5\n42.9\n50.0\n37.5\n37.5\n25.0\n\n3.1\n16.1\n9.1\n36.4\n22.7\n51.9\n30.8\n69.2\n61.5\n76.9\n\n0.0\n0.0\n0.0\n40.0\n27.3\n8.3\n28.6\n42.9\n19.0\n33.3\n\n21.4\n0.0\n4.5\n31.8\n0.0\n11.5\n30.0\n60.0\n50.0\n40.0\n\n4.2\n5.0\n5.3\n31.6\n19.2\n7.1\n21.1\n36.8\n21.1\n36.8\n\n12.5\n9.4\n14.1\n46.1\n21.1\n28.1\n32.0\n52.3\n42.2\n53.9\n\n29.4\n29.4\n4.2\n40.0\n39.2\n38.0\n40.7\n39.1\n38.6\n39.7\n\n46.9\n46.5\n8.3\n58.9\n58.6\n58.4\n58.9\n57.5\n57.3\n58.9\n\n37.0\n36.2\n4.6\n43.5\n43.9\n43.9\n45.0\n45.4\n43.0\n45.3\n\n23.5\n22.9\n6.6\n35.4\n35.2\n36.3\n37.0\n34.8\n34.5\n35.9\n\n19.6\n20.8\n15.3\n30.3\n28.2\n29.0\n34.6\n34.1\n34.1\n35.5\n\n6.4\n4.3\n0.7\n12.0\n11.5\n12.5\n13.3\n10.7\n11.5\n12.6\n\n10.5\n10.1\n1.2\n65.7\n66.1\n66.9\n65.7\n64.1\n65.3\n65.3\n\n24.8\n24.3\n5.8\n40.8\n40.4\n40.7\n42.2\n40.8\n40.6\n41.9\n\n46.5\n23.0\n47.4\n67.3\n73.4\n80.4\n70.7\n81.8\n74.0\n76.8\n\n4.7\n2.3\n9.3\n38.3\n46.1\n50.0\n38.3\n53.9\n50.8\n58.6\n\n3\n\nExperiment\n\nBenchmarks We evaluate our methods on ALFWorld (Shridhar et al., 2020), Search-based\nQA (Jin et al., 2025), and Webshop (Yao et al., 2022). ALFWorld is a text-based game\naligned with the ALFRED embodied AI benchmark, including 3,827 task instances across\nsix categories of common household activities: Pick and Place (Pick), Look at Obj in Light\n(Look), Pick Clean then Place in Recep (Clean), Pick Heat then Place in Recep (Heat), Pick\nCool then Place in Recep (Cool), and Pick Two Obj and Place (Pick2). Search-based QA\ncontains several widely-used search-augmented QA benchmarks, including single-hop QA\ndatasets (NQ (Kwiatkowski et al., 2019), TriviaQA (Joshi et al., 2017), and PopQA (Mallen\net al., 2023)) and multi-hop QA datasets (HotpotQA (Yang et al., 2018), 2Wiki (Ho et al.,\n2020), MuSiQue (Trivedi et al., 2022), and Bamboogle (Press et al., 2023)). WebShop is a\ncomplex, web-based interactive environment designed to test the LLM agents in realistic\nonline shopping scenarios. Agents navigate a realistic web interface to find and purchase\nproducts matching user specifications. We select 128 fixed tasks in validation set, which\naligns with Feng et al. (2025).\nImplementation Details. We train the Qwen2.5-Instruct and Qwen3-Instruct series using\nSDAR for at 150 steps on 8 H800 GPUs. For ALFWorld, we adopt the training data split\nfrom GiGPO (Feng et al., 2025), with each batch sampling 16 tasks and 8 rollouts per prompt,\nand a maximum prompt length of 2,048 tokens. For Search-QA, we follow the experimental\nsetup of Search-R1 (Jin et al., 2025), using E5 (Wang et al., 2022) as the retriever. The training\ndata are drawn from NQ and HotpotQA, making these two benchmarks in-domain, while\nthe remaining datasets serve as out-of-domain evaluation. Each batch samples 128 tasks\nwith a maximum prompt length of 4,096 tokens. For Webshop, 1000 tasks are selected for\n6\n\n\ftraining, with each batch sampling 16 tasks and 8 rollouts per prompt, and a maximum\nprompt length of 4,096 tokens. We set the SkillBank from SkillRL (Xia et al., 2026) for all\nthree environments. We set λ SDAR = 0.01 and β = 5.0 in our experiments.\nBaselines We compare SDAR against three categories of methods on three base models.\n(1) Training-free methods. Skill-Prompt retrieves task-relevant skills from the SkillBank\nvia keyword matching (KM) and prepends them to the input prompt at inference time. (2)\nPost-training methods, such as GRPO (Shao et al., 2024), OPSD (Zhao et al., 2026) and\nSkill-GRPO. Skill-GRPO augments GRPO by retrieving skills via KM and injecting them\ninto the training prompt; at test time it can run with (Skill-GRPO*) or without retrieved\nskills. (3) Hybrid methods, that combine RL with privileged knowledge distillation, such as\nGRPO+OPSD, and Skill-SD (Wang et al., 2026a), RLSD (Yang et al., 2026a). GRPO+OPSD\nsimply adds the OPSD distillation loss as an auxiliary objective on top of GRPO training.\nAll the algorithms of SDAR and other baselines are detailed in Appendix A.\n3.1\n\nMain Results\n\nOverall Performance. As summarized in Table 1, SDAR demonstrates exceptional performance, achieving the best or second-best results across almost all settings. Compared to\nGRPO, it delivers substantial gains: on Qwen2.5-3B, it improves ALFWorld by +9.4% (84.4\nvs. 75.0), Search-QA by +7.0%, and WebShop-Acc by +4.7%, with similarly consistent improvements on the 7B model. While standalone OPSD collapses catastrophically (near-zero\non Search-QA) and a naive GRPO+OPSD combination degrades severely on Qwen3-1.7B\n(32.0 vs. 46.1) due to unbounded distillation gradients overwhelming the RL signal, SDAR\navoids the observed instability and maintains stable gains. Through its adaptive gating\nmechanism, it ensures stable optimization and consistent gains across all model scales.\nSkills Internalization. Beyond overall performance, SDAR successfully internalizes privileged knowledge rather than superficially relying on it at inference (Lu et al., 2026c). While\nSkill-GRPO shows a massive performance drop when tested without skills (e.g., 60.2 vs.\n80.5 on ALFWorld-3B) and even underperforms vanilla GRPO due to harmful distributional\ndependencies, SDAR requires no external skills during inference. Yet, it surpasses even the\nskill-augmented Skill-GRPO* in most settings, achieving 84.4 on ALFWorld-3B and a striking 53.9 (vs. 28.1) on ALFWorld-1.7B. These consistent gains confirm that our token-level\ngated distillation genuinely transfers underlying knowledge into the policy’s parameters.\nStrong Generalization. SDAR also exhibits stronger generalization compared to hybrid\nbaselines such as Skill-SD and RLSD. On Qwen2.5-3B, it outperforms both methods on\nALFWorld (84.4 vs. 73.4 for Skill-SD and 79.7 for RLSD) and WebShop. This advantage\nis most pronounced on the challenging Qwen3-1.7B model, where smaller models may\nstruggle to utilize retrieved skills effectively. In this regime, Skill-GRPO drops to 21.1%\non ALFWorld, well below GRPO’s 46.1%, and RLSD reaches 42.2%. In contrast, SDAR\nachieves the highest score of 53.9%. By attenuating uncertain negative teacher guidance\nwhile preserving positive teacher endorsements, our gating mechanism provides a more\nrobust way to incorporate privileged knowledge without sacrificing generalization.\n3.2\n\nTraining Dynamics\n\nTo elucidate the adaptive behavior of SDAR throughout RL optimization, we monitor two\nkey metrics for the Qwen2.5-7B backbone on ALFWorld in Figure 5. (a) shows that the mean\n¯ = Et [∆t ]) remains consistently negative, indicating\nTeacher-Student log-probability gap (∆\nthat the privileged teacher assigns lower probability than the student to sampled tokens on\naverage. This reveals partial asymmetric trust in privileged guidance regime where naı̈ve\n¯ steadily converges toward\ndistillation would actively degrade performance. Crucially, ∆\nzero, confirming that the gating mechanism successfully identifies and up-weights the\nspecific subset of tokens where the teacher does provide beneficial signals. To further validate\nthis adaptive filtering, (b) tracks the gate activation ratio (the fraction of tokens where\ngt &gt; 0.5). For the majority of early training, this ratio remains strictly below 0.5, correctly\n7\n\n\f0.55\n\n0.04\n\n0.50\n\nGate Active Ratio\n\nTeacher Gap Mean\n\n0.02\n0.06\n0.08\n0.10\n0.12\n\n0.45\n0.40\n0.35\n0.30\n0.25\n\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\nFigure 5: Training Dynamics. Average teacher-student gap (Left) and gate activation ratio\n(Right) during the training of Qwen2.5-7B-Instruct on ALFWorld.\nTable 2: Robust Testing of different skill retrieval methods.\nMethod\n\nALFWorld\n\nWebShop-Score\n\nWebShop-Acc\n\nUCB\nKM\nFull\nRandom\nw/o OPSD\n\n86.8+5.6\n85.9+4.7\n83.2+2.0\n83.1+1.9\n81.2\n\n87.5+6.6\n89.4+8.5\n87.2+6.3\n82.5+1.6\n80.9\n\n81.2+8.6\n82.8+10.2\n78.1+5.5\n73.6+1.0\n72.6\n\nsuppressing tokens that carry negative signals. However, as the student’s policy evolves,\nthe ratio gradually increases, reflecting that more tokens enter a regime of constructive\nteacher guidance.\n3.3\n\nRobust Analysis\n\nTo address the practical concern of whether SDAR heavily relies on high-quality skill\nretrieval, we fix our optimal configuration (λ = 0.01, β = 5.0) and evaluate performance\nacross four retrieval quality tiers (Table 2). All four strategies consistently outperform the\npure GRPO baseline (w/o OPSD). Even Random Retrieval—which selects skills with zero\ntask awareness—yields gains of +1.9/+1.6/+1.0 on ALFWorld/WebShop-Score/WebShopAcc. Higher-quality retrieval further amplifies these benefits: Keyword Matching achieves\ngains of +4.7/+8.5/+10.2 and even surpasses UCB on WebShop.\nThese results echo our observation on asymmetric privileged guidance. Low-quality retrieval can introduce mismatched or unstable teacher signals, especially negative guidance\nfrom irrelevant skills. Rather than uniformly following such signals, SDAR uses token-level\ngating to retain positive teacher endorsements while softly attenuating uncertain negative\nrejections. Thus, the performance gains remain robust across retrieval qualities, suggesting\nthat the uplift stems primarily from gated distillation rather than retrieval fidelity alone.\n3.4\n\nAblation Studies\n\nToken-Level Gating Strategy. As shown in Figure 6, Teacher-Student Gap gating consistently outperforms both the entropy and soft-OR gating strategies (introduced in Section 2.3),\nachieving a higher asymptotic success rate (∼0.84) and a steeper performance climb after\nthe initial 100 steps. We attribute this superiority to the directness of the Teacher-Student\ngap (∆t ) as an importance signal, which precisely measures the teacher’s disagreement\nwith the student’s chosen token. In contrast, entropy (ht ) acts as an indirect proxy that may\nerroneously activate on uncertain but already well-handled tokens, while soft-OR dilutes\n8\n\n\f0\n\n25\n\n50\n\n75\n\nStep\n\nSuccess Rate\n\nSuccess Rate\n\nEntropy\nSOFT-OR Score\nTeacher-Student Gap\n\n0.8\n0.7\n0.6\n0.5\n0.4\n0.3\n0.2\n\n100\n\n125\n\n150\n\n0\n\n= 0.01 (Ours)\n= 0.001\n= 0.1\n\n0\n\n25\n\n50\n\n75\n\nStep\n\n100\n\n125\n\n25\n\n50\n\n75\n\nStep\n\n100\n\n125\n\n150\n\nFigure 7: Ablations of β on Qwen2.5-3BInstruct.\n\nSuccess Rate\n\nSuccess Rate\n\nFigure 6: Ablations of Token-level Gating on\nQwen2.5-3B-Instruct.\n\n0.8\n0.7\n0.6\n0.5\n0.4\n0.3\n0.2\n0.1\n0.0\n\n= 5.0 (Ours)\n= 1.0\n= 10.0\n= 0.0 (No Gate)\n\n0.8\n0.7\n0.6\n0.5\n0.4\n0.3\n0.2\n\n150\n\nReverse KL (Ours)\nForward KL\nJSD\n\n0.8\n0.7\n0.6\n0.5\n0.4\n0.3\n0.2\n0\n\n25\n\n50\n\n75\n\nStep\n\n100\n\n125\n\n150\n\nFigure 9: Ablations of L SDAR type on\nQwen2.5-7B-Instruct.\n\nFigure 8: Ablations of λ on Qwen2.5-3BInstruct.\n\nthe gating signal by triggering when only one score is moderately large, thereby reducing\nits selectivity. All remaining experiments default to gap gating.\nSharpness β. Figure 7 evaluates the impact of sigmoid sharpness across β ∈ {0, 1, 5, 10},\nwhere β = 0 denotes the complete removal of the gating mechanism (i.e., uniform distillation). The optimal performance is achieved at β = 5, which effectively balances two distinct\nfailure modes: an excessively small β (including the no-gate baseline) applies distillation\nindiscriminately, thereby inheriting the multi-turn instability of naı̈ve OPSD; conversely, an\noverly large β strictly binarizes the gate, stripping away the smooth modulation necessary\nfor assigning partial credit on borderline tokens.\nDistillation Coefficient λ. Figure 8 sweeps the distillation weight λ SDAR ∈\n{0.001, 0.01, 0.1}, revealing that λ = 0.01 provides an optimal, steady complementary\nsignal without interfering with the primary RL objective. When λ is increased to 0.1, the\ndistillation gradient overwhelmingly dominates the policy update; since the teacher is on\naverage no confident than the student in multi-turn settings (as evidenced by the negative\ngap in Figure 5), this over-weighted term forces the student toward inferior behaviors,\ncausing a severe performance decline that overshadows the GRPO reward signal. Conversely, λ = 0.001 exerts insufficient corrective pressure to meaningfully aid the RL process,\nconfirming the necessity of a carefully calibrated, moderate coefficient.\nDistillation Objective. Figure 9 compares three token-level matching objectives on\nQwen2.5-7B: reverse KL (our default), forward KL, and Jensen–Shannon divergence\n(JSD), where JSD is defined as the symmetrized average with respect to the mixture\n9\n\n\fMt = 21 (πθ (· | st ) + π T (· | s+\nt )):\n(t)\n\nDJSD = 12 DKL(πθ (· | st ) ∥ Mt ) + 21 DKL(π T (· | s+\nt ) ∥ Mt ) .\nReverse KL clearly outperforms both alternatives, aligning perfectly with our design rationale in Section 2.2: the reverse direction DKL (πθ ∥π T ) is inherently mode-seeking (Murphy,\n2012), encouraging the student to concentrate probability mass only on modes supported\nby the teacher. In our partial ”weak” teacher signals—where the teacher is frequently\nlost—this selectivity is paramount, as reverse KL naturally down-weights tokens with low\nteacher probability, thereby seamlessly complementing the explicit gating mechanism. In\ncontrast, the mode-covering nature of forward KL forces the student to spread mass across\nall teacher-supported tokens, indiscriminately incorporating unreliable guidance, while\nJSD acts as a symmetric compromise that inherits this detrimental mode-covering tendency,\nultimately yielding intermediate performance.\n\n4\n\nRelated Work\n\n4.1\n\nAgentic RL\n\nRecent advances in reinforcement learning for LLMs have demonstrated strong effectiveness\non verifiable reasoning tasksn (Shao et al., 2024; Yu et al., 2025; Guo et al., 2025; Yao et al.,\n2026; Chen et al., 2026). Building on this progress, LLMs are increasingly extended from\nstatic reasoning problems to autonomous agents that operate in dynamic, open-world\nenvironments, including GUI automation (Ye et al., 2025), gameplay (Shridhar et al., 2020),\nand embodied control (Wang et al., 2023). In these settings, agents must make sequential\ndecisions based on environment observations and feedback, making agentic RL a crucial\npost-training recipe for improving their decision-making capabilities (Lu et al., 2025; Dong\net al., 2025; Feng et al., 2025; Lu et al., 2026a;b; Shi et al., 2026).\n4.2\n\nOPSD\n\nOn-policy distillation (OPD) supervises a student on its own generated sequences, avoiding\noffline distribution mismatch (Agarwal et al., 2024; Gu et al., 2026). GKD-style methods (Agarwal et al., 2024; Wen et al., 2023) minimize token-level divergences but require\nfull-vocabulary teacher distributions, while PG-style methods (Yang et al., 2026a; Xu et al.,\n2026) convert discrepancy into token-level rewards but risk high-variance updates. For\nmulti-turn agents, TCOD (Wang et al., 2026b) applies a turn-level curriculum to mitigate\ncompounding drift, but relies on rigid schedules. On-Policy Self-Distillation (OPSD) (Zhao\net al., 2026; He et al., 2026) further removes the need for a separate teacher by conditioning\nonly on privileged context.\nHybrid Methods Recent works have explored combining RL with distillation to leverage\ntheir complementary strengths (Wang et al., 2026a; Yang et al., 2026a; Ding, 2026), but suffer\nfrom rigid hand-crafted scheduling or substantially unstable updates. In contrast, our\nmethod treats distillation as a strictly separate auxiliary objective with adaptive, bounded,\ntoken-level gating, preserving the unbiasedness of the RL advantage while selectively\ninjecting only beneficial teacher signals.\n\n5\n\nConclusion\n\nWe presented SDAR, which reconciles RL and OPSD for multi-turn agent training through\na sigmoid gate that lets each token autonomously regulate its distillation intensity. This\npreserves RL as the unbiased optimization backbone while selectively extracting beneficial\nteacher signals. Experiments across three benchmarks and three model scales confirm\nconsistent gains over both pure RL and hybrid baselines.\n\n10\n\n\fReferences\nRishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos, Matthieu\nGeist, and Olivier Bachem. On-policy distillation of language models: Learning from\nself-generated mistakes, 2024. URL https://arxiv.org/abs/2306.13649.\nDian Chen, Brady Zhou, Vladlen Koltun, and Philipp Krähenbühl. Learning by cheating,\n2019. URL https://arxiv.org/abs/1912.12294.\nYuxin Chen, Yu Wang, Yi Zhang, Ziang Ye, Zhengzhou Cai, Yaorui Shi, Qi Gu, Hui Su,\nXunliang Cai, Xiang Wang, et al. Learning to self-verify makes language models better\nreasoners. arXiv preprint arXiv:2602.07594, 2026.\nGheorghe Comanici, Eric Bieber, Mike Schaekermann, Ice Pasupat, Noveen Sachdeva,\nInderjit Dhillon, Marcel Blistein, Ori Ram, Dan Zhang, Evan Rosen, et al. Gemini 2.5:\nPushing the frontier with advanced reasoning, multimodality, long context, and next\ngeneration agentic capabilities. arXiv preprint arXiv:2507.06261, 2025.\nKen Ding. Hdpo: Hybrid distillation policy optimization via privileged self-distillation,\n2026. URL https://arxiv.org/abs/2603.23871.\nGuanting Dong, Hangyu Mao, Kai Ma, Licheng Bao, Yifei Chen, Zhongyuan Wang,\nZhongxia Chen, Jiazhen Du, Huiyang Wang, Fuzheng Zhang, et al. Agentic reinforced\npolicy optimization. arXiv preprint arXiv:2507.19849, 2025.\nLang Feng, Zhenghai Xue, Tingcong Liu, and Bo An. Group-in-group policy optimization\nfor llm agent training. arXiv preprint arXiv:2505.10978, 2025.\nGLM-5-Team, :, Aohan Zeng, Xin Lv, Zhenyu Hou, Zhengxiao Du, Qinkai Zheng, Bin Chen,\nDa Yin, Chendi Ge, Chenghua Huang, Chengxing Xie, Chenzheng Zhu, Congfeng Yin,\nCunxiang Wang, Gengzheng Pan, Hao Zeng, Haoke Zhang, Haoran Wang, Huilong Chen,\nJiajie Zhang, Jian Jiao, Jiaqi Guo, Jingsen Wang, Jingzhao Du, Jinzhu Wu, Kedong Wang,\nLei Li, Lin Fan, Lucen Zhong, Mingdao Liu, Mingming Zhao, Pengfan Du, Qian Dong,\nRui Lu, Shuang-Li, Shulin Cao, Song Liu, Ting Jiang, Xiaodong Chen, Xiaohan Zhang,\nXuancheng Huang, Xuezhen Dong, Yabo Xu, Yao Wei, Yifan An, Yilin Niu, Yitong Zhu,\nYuanhao Wen, Yukuo Cen, Yushi Bai, Zhongpei Qiao, Zihan Wang, Zikang Wang, Zilin\nZhu, Ziqiang Liu, Zixuan Li, Bojie Wang, Bosi Wen, Can Huang, Changpeng Cai, Chao\nYu, Chen Li, Chengwei Hu, Chenhui Zhang, Dan Zhang, Daoyan Lin, Dayong Yang,\nDi Wang, Ding Ai, Erle Zhu, Fangzhou Yi, Feiyu Chen, Guohong Wen, Hailong Sun,\nHaisha Zhao, Haiyi Hu, Hanchen Zhang, Hanrui Liu, Hanyu Zhang, Hao Peng, Hao Tai,\nHaobo Zhang, He Liu, Hongwei Wang, Hongxi Yan, Hongyu Ge, Huan Liu, Huanpeng\nChu, Jia’ni Zhao, Jiachen Wang, Jiajing Zhao, Jiamin Ren, Jiapeng Wang, Jiaxin Zhang,\nJiayi Gui, Jiayue Zhao, Jijie Li, Jing An, Jing Li, Jingwei Yuan, Jinhua Du, Jinxin Liu, Junkai\nZhi, Junwen Duan, Kaiyue Zhou, Kangjian Wei, Ke Wang, Keyun Luo, Laiqiang Zhang,\nLeigang Sha, Liang Xu, Lindong Wu, Lintao Ding, Lu Chen, Minghao Li, Nianyi Lin, Pan\nTa, Qiang Zou, Rongjun Song, Ruiqi Yang, Shangqing Tu, Shangtong Yang, Shaoxiang\nWu, Shengyan Zhang, Shijie Li, Shuang Li, Shuyi Fan, Wei Qin, Wei Tian, Weining Zhang,\nWenbo Yu, Wenjie Liang, Xiang Kuang, Xiangmeng Cheng, Xiangyang Li, Xiaoquan\nYan, Xiaowei Hu, Xiaoying Ling, Xing Fan, Xingye Xia, Xinyuan Zhang, Xinze Zhang,\nXirui Pan, Xu Zou, Xunkai Zhang, Yadi Liu, Yandong Wu, Yanfu Li, Yidong Wang, Yifan\nZhu, Yijun Tan, Yilin Zhou, Yiming Pan, Ying Zhang, Yinpei Su, Yipeng Geng, Yong Yan,\nYonglin Tan, Yuean Bi, Yuhan Shen, Yuhao Yang, Yujiang Li, Yunan Liu, Yunqing Wang,\nYuntao Li, Yurong Wu, Yutao Zhang, Yuxi Duan, Yuxuan Zhang, Zezhen Liu, Zhengtao\nJiang, Zhenhe Yan, Zheyu Zhang, Zhixiang Wei, Zhuo Chen, Zhuoer Feng, Zijun Yao,\nZiwei Chai, Ziyuan Wang, Zuzhou Zhang, Bin Xu, Minlie Huang, Hongning Wang, Juanzi\nLi, Yuxiao Dong, and Jie Tang. Glm-5: from vibe coding to agentic engineering, 2026.\nURL https://arxiv.org/abs/2602.15763.\nYuxian Gu, Li Dong, Furu Wei, and Minlie Huang. Minillm: On-policy distillation of large\nlanguage models, 2026. URL https://arxiv.org/abs/2306.08543.\n11\n\n\fDaya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu,\nRuoyu Zhang, Shirong Ma, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability\nin llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.\nYinghui He, Simran Kaur, Adithya Bhaskar, Yongjin Yang, Jiarui Liu, Narutatsu Ri, Liam\nFowl, Abhishek Panigrahi, Danqi Chen, and Sanjeev Arora. Self-distillation zero: Selfrevision turns binary rewards into dense supervision, 2026. URL https://arxiv.org/\nabs/2604.12002.\nXanh Ho, Anh-Khoa Duong Nguyen, Saku Sugawara, and Akiko Aizawa. Constructing a\nmulti-hop qa dataset for comprehensive evaluation of reasoning steps. In Proceedings of\nthe 28th International Conference on Computational Linguistics, pp. 6609–6625, 2020.\nCarlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and\nKarthik Narasimhan. Swe-bench: Can language models resolve real-world github issues?\narXiv preprint arXiv:2310.06770, 2023.\nBowen Jin, Hansi Zeng, Zhenrui Yue, Jinsung Yoon, Sercan Arik, Dong Wang, Hamed\nZamani, and Jiawei Han. Search-r1: Training llms to reason and leverage search engines\nwith reinforcement learning. arXiv preprint arXiv:2503.09516, 2025.\nMandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale\ndistantly supervised challenge dataset for reading comprehension. In Proceedings of the\n55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers),\npp. 1601–1611, 2017.\nTom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh,\nChris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural\nquestions: a benchmark for question answering research. Transactions of the Association for\nComputational Linguistics, 7:453–466, 2019.\nZhengxi Lu, Jiabo Ye, Fei Tang, Yongliang Shen, Haiyang Xu, Ziwei Zheng, Weiming Lu,\nMing Yan, Fei Huang, Jun Xiao, et al. Ui-s1: Advancing gui automation via semi-online\nreinforcement learning. arXiv preprint arXiv:2509.11543, 2025.\nZhengxi Lu, Yuxiang Chai, Yaxuan Guo, Xi Yin, Liang Liu, Hao Wang, Han Xiao, Shuai\nRen, Pengxiang Zhao, Guangyi Liu, et al. Ui-r1: Enhancing efficient action prediction of\ngui agents by reinforcement learning. In Proceedings of the AAAI Conference on Artificial\nIntelligence, volume 40, pp. 17608–17616, 2026a.\nZhengxi Lu, Fei Tang, Guangyi Liu, Kaitao Song, Xu Tan, Jin Ma, Wenqi Zhang, Weiming\nLu, Jun Xiao, Yueting Zhuang, and Yongliang Shen. Ui-copilot: Advancing long-horizon\ngui automation via tool-integrated policy optimization, 2026b. URL https://arxiv.org/\nabs/2604.13822.\nZhengxi Lu, Zhiyuan Yao, Jinyang Wu, Chengcheng Han, Qi Gu, Xunliang Cai, Weiming Lu,\nJun Xiao, Yueting Zhuang, and Yongliang Shen. Skill0: In-context agentic reinforcement\nlearning for skill internalization, 2026c. URL https://arxiv.org/abs/2604.02268.\nAlex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh\nHajishirzi. When not to trust language models: Investigating effectiveness of parametric\nand non-parametric memories. In Proceedings of the 61st annual meeting of the association for\ncomputational linguistics (volume 1: Long papers), pp. 9802–9822, 2023.\nKevin P Murphy. Machine learning: a probabilistic perspective. 2012.\nOfir Press, Muru Zhang, Sewon Min, Ludwig Schmidt, Noah A Smith, and Mike Lewis.\nMeasuring and narrowing the compositionality gap in language models. In Findings of\nthe Association for Computational Linguistics: EMNLP 2023, pp. 5687–5711, 2023.\nStephane Ross, Geoffrey J. Gordon, and J. Andrew Bagnell. A reduction of imitation learning\nand structured prediction to no-regret online learning, 2011. URL https://arxiv.org/\nabs/1011.0686.\n12\n\n\fZhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang,\nMingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.\nYongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang.\nHugginggpt: Solving ai tasks with chatgpt and its friends in hugging face. Advances in\nNeural Information Processing Systems, 36:38154–38180, 2023.\nYaorui Shi, Yuxin Chen, Zhengxi Lu, Yuchun Miao, Shugui Liu, Qi GU, Xunliang Cai,\nXiang Wang, and An Zhang. Skill1: Unified evolution of skill-augmented agents via\nreinforcement learning, 2026. URL https://arxiv.org/abs/2605.06130.\nZhengliang Shi, Shen Gao, Lingyong Yan, Yue Feng, Xiuyi Chen, Zhumin Chen, Dawei Yin,\nSuzan Verberne, and Zhaochun Ren. Tool learning in the wild: Empowering language\nmodels as automatic tool agents. In Proceedings of the ACM on Web Conference 2025, pp.\n2222–2237, 2025.\nMohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and\nMatthew Hausknecht. Alfworld: Aligning text and embodied environments for interactive learning. arXiv preprint arXiv:2010.03768, 2020.\nCore Team, Bangjun Xiao, Bingquan Xia, Bo Yang, Bofei Gao, Bowen Shen, Chen Zhang,\nChenhong He, Chiheng Lou, Fuli Luo, Gang Wang, Gang Xie, Hailin Zhang, Hanglong\nLv, Hanyu Li, Heyu Chen, Hongshen Xu, Houbin Zhang, Huaqiu Liu, Jiangshan Duo,\nJianyu Wei, Jiebao Xiao, Jinhao Dong, Jun Shi, Junhao Hu, Kainan Bao, Kang Zhou, Lei Li,\nLiang Zhao, Linghao Zhang, Peidian Li, Qianli Chen, Shaohui Liu, Shihua Yu, Shijie Cao,\nShimao Chen, Shouqiu Yu, Shuo Liu, Tianling Zhou, Weijiang Su, Weikun Wang, Wenhan\nMa, Xiangwei Deng, Bohan Mao, Bowen Ye, Can Cai, Chenghua Wang, Chengxuan Zhu,\nChong Ma, Chun Chen, Chunan Li, Dawei Zhu, Deshan Xiao, Dong Zhang, Duo Zhang,\nFangyue Liu, Feiyu Yang, Fengyuan Shi, Guoan Wang, Hao Tian, Hao Wu, Heng Qu,\nHongfei Yi, Hongxu An, Hongyi Guan, Xing Zhang, Yifan Song, Yihan Yan, Yihao Zhao,\nYingchun Lai, Yizhao Gao, Yu Cheng, Yuanyuan Tian, Yudong Wang, Zhen Tang, Zhengju\nTang, Zhengtao Wen, Zhichao Song, Zhixian Zheng, Zihan Jiang, Jian Wen, Jiarui Sun,\nJiawei Li, Jinlong Xue, Jun Xia, Kai Fang, Menghang Zhu, Nuo Chen, Qian Tu, Qihao\nZhang, Qiying Wang, Rang Li, Rui Ma, Shaolei Zhang, Shengfan Wang, Shicheng Li,\nShuhao Gu, Shuhuai Ren, Sirui Deng, Tao Guo, Tianyang Lu, Weiji Zhuang, Weikang\nZhang, Weimin Xiong, Wenshan Huang, Wenyu Yang, Xin Zhang, Xing Yong, Xu Wang,\nXueyang Xie, Yilin Jiang, Yixin Yang, Yongzhe He, Yu Tu, Yuanliang Dong, Yuchen Liu,\nYue Ma, Yue Yu, Yuxing Xiang, Zhaojun Huang, Zhenru Lin, Zhipeng Xu, Zhiyang Chen,\nZhonghua Deng, Zihan Zhang, and Zihao Yue. Mimo-v2-flash technical report, 2026a.\nURL https://arxiv.org/abs/2601.02780.\nKimi Team, Yifan Bai, Yiping Bao, Y Charles, Cheng Chen, Guanduo Chen, Haiting Chen,\nHuarong Chen, Jiahao Chen, Ningxin Chen, et al. Kimi k2: Open agentic intelligence.\narXiv preprint arXiv:2507.20534, 2025.\nMeituan LongCat Team, Anchun Gui, Bei Li, Bingyang Tao, Bole Zhou, Borun Chen, Chao\nZhang, Chen Gao, Chen Zhang, Chengcheng Han, et al. Longcat-flash-thinking-2601\ntechnical report. arXiv preprint arXiv:2601.16725, 2026b.\nHarsh Trivedi, Niranjan Balasubramanian, Tushar Khot, and Ashish Sabharwal. Musique:\nMulti-hop questions via single-hop question composition. Transactions of the Association\nfor Computational Linguistics, 10:539–554, 2022.\nGuanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi\nFan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large\nlanguage models. arXiv preprint arXiv:2305.16291, 2023.\nHao Wang, Guozhi Wang, Han Xiao, Yufeng Zhou, Yue Pan, Jichao Wang, Ke Xu, Yafei Wen,\nXiaohu Ruan, Xiaoxin Chen, and Honggang Qi. Skill-sd: Skill-conditioned self-distillation\nfor multi-turn llm agents, 2026a. URL https://arxiv.org/abs/2604.10674.\n13\n\n\fJiaqi Wang, Wenhao Zhang, Weijie Shi, Yaliang Li, and James Cheng. Tcod: Exploring\ntemporal curriculum in on-policy distillation for multi-turn autonomous agents, 2026b.\nURL https://arxiv.org/abs/2604.24005.\nLiang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan\nMajumder, and Furu Wei. Text embeddings by weakly-supervised contrastive pre-training.\narXiv preprint arXiv:2212.03533, 2022.\nYuqiao Wen, Zichao Li, Wenyu Du, and Lili Mou. f-divergence minimization for sequencelevel knowledge distillation, 2023. URL https://arxiv.org/abs/2307.15190.\nPeng Xia, Jianwen Chen, Hanyang Wang, Jiaqi Liu, Kaide Zeng, Yu Wang, Siwei Han,\nYiyang Zhou, Xujiang Zhao, Haifeng Chen, Zeyu Zheng, Cihang Xie, and Huaxiu Yao.\nSkillrl: Evolving agents via recursive skill-augmented reinforcement learning, 2026. URL\nhttps://arxiv.org/abs/2602.08234.\nYuanda Xu, Hejian Sang, Zhengze Zhou, Ran He, Zhipeng Wang, and Alborz Geramifard.\nTip: Token importance in on-policy distillation, 2026. URL https://arxiv.org/abs/2604.\n14084.\nAn Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu,\nChang Gao, Chengen Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint\narXiv:2505.09388, 2025.\nChenxu Yang, Chuanyu Qin, Qingyi Si, Minghui Chen, Naibin Gu, Dingyu Yao, Zheng\nLin, Weiping Wang, Jiaqi Wang, and Nan Duan. Self-distilled rlvr, 2026a. URL https:\n//arxiv.org/abs/2604.03128.\nWenkai Yang, Weijie Liu, Ruobing Xie, Kai Yang, Saiyong Yang, and Yankai Lin. Learning\nbeyond teacher: Generalized on-policy distillation with reward extrapolation, 2026b. URL\nhttps://arxiv.org/abs/2602.12125.\nZhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop\nquestion answering. In Proceedings of the 2018 conference on empirical methods in natural\nlanguage processing, pp. 2369–2380, 2018.\nShunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. Webshop: Towards\nscalable real-world web interaction with grounded language agents. Advances in Neural\nInformation Processing Systems, 35:20744–20757, 2022.\nZhiyuan Yao, Yi-Kai Zhang, Yuxin Chen, Yueqing Sun, Zishan Xu, Yu Yang, Tianhao Hu,\nQi Gu, Hui Su, and Xunliang Cai. Coba-rl: Capability-oriented budget allocation for\nreinforcement learning in llms. arXiv preprint arXiv:2602.03048, 2026.\nJiabo Ye, Xi Zhang, Haiyang Xu, Haowei Liu, Junyang Wang, Zhaoqing Zhu, Ziwei Zheng,\nFeiyu Gao, Junjie Cao, Zhengxi Lu, et al. Mobile-agent-v3: Fundamental agents for gui\nautomation. arXiv preprint arXiv:2508.15144, 2025.\nTianzhu Ye, Li Dong, Xun Wu, Shaohan Huang, and Furu Wei. On-policy context distillation\nfor language models, 2026. URL https://arxiv.org/abs/2602.12275.\nQiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai,\nTiantian Fan, Gaohong Liu, Lingjun Liu, et al. Dapo: An open-source llm reinforcement\nlearning system at scale. arXiv preprint arXiv:2503.14476, 2025.\nRuixiang Zhang, Richard He Bai, Huangjie Zheng, Navdeep Jaitly, Ronan Collobert, and\nYizhe Zhang. Embarrassingly simple self-distillation improves code generation, 2026.\nURL https://arxiv.org/abs/2604.01193.\nSiyan Zhao, Zhihui Xie, Mengchen Liu, Jing Huang, Guan Pang, Feiyu Chen, and Aditya\nGrover. Self-distilled reasoner: On-policy self-distillation for large language models, 2026.\nURL https://arxiv.org/abs/2601.18734.\n14\n\n\fTable of Contents\n1\n\nIntroduction\n\n2\n\n2\n\nMethod\n\n3\n\n2.1\n\nProblem Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n3\n\n2.2\n\nOptimization Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n4\n\n2.3\n\nToken-Level Gating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n5\n\n3\n\n4\n\n5\n\nExperiment\n\n6\n\n3.1\n\nMain Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n7\n\n3.2\n\nTraining Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n7\n\n3.3\n\nRobust Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n8\n\n3.4\n\nAblation Studies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n8\n\nRelated Work\n\n10\n\n4.1\n\nAgentic RL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n10\n\n4.2\n\nOPSD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n10\n\nConclusion\n\n10\n\nA Theoretical Analysis\n\n16\n\nA.1 Design Rationale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n16\n\nA.2 Theoretical Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n16\n\nB Algorithm\n\n18\n\nC Hyperparameters\n\n23\n\nD Training Dynamics\n\n23\n\nE Prompt\n\n24\n\n15\n\n\fA\n\nTheoretical Analysis\n\nA.1\n\nDesign Rationale\n\nThe central design question is how the divergence signal should enter optimization. We\nadopt the reverse-KL-aligned gap\n∆t = log π T (yt | s+\nt ) − log πθ ( yt | st )\nrather than forward KL, because it naturally evaluates on student-sampled tokens and\navoids the computationally expensive full-vocabulary matching. However, using this raw\ngap directly as a coefficient would create overly strong, unbounded token-level gradients\nduring early training or under severe teacher-student mismatch. To resolve this, we wrap\nthe gap in a sigmoid function\ngt = σ ( β∆t ),\nwhich transforms the raw discrepancy into a bounded and monotone importance weight\n∂gt\n&gt; 0.\n∂∆t\n\ngt ∈ (0, 1),\n\nThis preserves the ordering of token importance while strictly preventing gradient explosion.\nFinally, we apply a stop-gradient operator to the gate. Detaching gt ensures it acts purely as\na confidence weight rather than creating an additional, self-referential optimization pathway,\nyielding a stable, first-order weighted likelihood update.\nA.2\n\nTheoretical Properties\n\nWe formalize the stability and curriculum properties of SDAR through the following\npropositions.\nProposition 1 (Equivalent Weighted Likelihood Form). Assume that both log π T (yt | s+\nt ) and\ngt are detached from gradient computation. Minimizing L SDAR is equivalent, up to an additive\nconstant, to maximizing a token-weighted log-likelihood objective on student-sampled tokens:\n\nLSDAR = C − Agg( gt log πθ (yt | st )) ,\nwhere\n\nC = Agg gt log π T (yt | s+\nt )\n\n\u0001\n\nis constant with respect to θ.\nProof. By definition,\n\u0001\nLSDAR = Agg gt (log π T (yt | s+\nt ) − log πθ ( yt | st ))\n\u0001\n= Agg gt log π T (yt | s+\nt ) − Agg( gt log πθ ( yt | st ))\n\n= C − Agg( gt log πθ (yt | st )) ,\n\u0001\nwhere the first term C = Agg gt log π T (yt | s+\nt ) is constant w.r.t. θ since both gt and\nlog π T (yt | s+\nt ) are detached.\nProposition 2 (Gradient Form). Under the same assumptions, the gradient of L SDAR is strictly\nmodulated by the bounded scalar gate:\n\n∇θ LSDAR = − Agg( gt ∇θ log πθ (yt | st )) .\nProof. From Proposition 1,\n\n∇θ LSDAR = ∇θ [C − Agg( gt log πθ (yt | st ))]\n= 0 − Agg( gt ∇θ log πθ (yt | st )) = − Agg( gt ∇θ log πθ (yt | st )) .\n\n16\n\n\fProposition 3 (Monotonicity and Smoothness of the Gate). The gate gt = σ ( β∆t ) is strictly\nincreasing in ∆t , inducing an online token-level curriculum where larger discrepancies receive\nstronger weights. Its derivative satisfies\n∂gt\n= β σ( β∆t )(1 − σ( β∆t )) ∈ (0, β/4].\n∂∆t\nProof. By the chain rule,\n∂gt\n= β σ′ ( β∆t ).\n∂∆t\nSince the logistic sigmoid satisfies\nσ′ (z) = σ (z)(1 − σ(z)) &gt; 0\n\n∀ z ∈ R,\n\nwe obtain\n∂gt\n= β σ( β∆t )(1 − σ( β∆t )) &gt; 0.\n∂∆t\nLet u = σ ( β∆t ) ∈ (0, 1):\n\u0012\nu (1 − u ) ≤\n\nu + (1 − u )\n2\n\n\u00132\n\n=\n\n1\n4\n\n∂gt\nβ\n= β u (1 − u ) ≤ .\n∂∆t\n4\nProposition 4 (Bounded Auxiliary Gradient). Assume that ∥∇θ log πθ (yt | st )∥ ≤ Bt for each\nvalid token. Then the gate cannot amplify the auxiliary gradient beyond the unweighted likelihood\ngradient:\n∥∇θ LSDAR ∥ ≤ Agg( Bt ).\nProof. By Proposition 2,\n\n∥∇θ LSDAR ∥ = ∥Agg( gt ∇θ log πθ (yt | st ))∥\n≤ Agg( gt ∥∇θ log πθ (yt | st )∥)\n≤ Agg(1 · Bt ) = Agg( Bt ),\nwhere the first inequality is the triangle inequality and the second uses 0 &lt; gt &lt; 1 and\n∥∇θ log πθ (yt | st )∥ ≤ Bt .\nProposition 5 (Effect of Not Detaching the Gate). Without stop-gradient on the gate, the nondetached token loss ℓ̃t = σ( β∆t ) ∆t introduces an unstable self-referential coupling term into the\ngradient:\n\u0010\n\u0011\n\n∇θ ℓ̃t = − gt + β∆t gt (1 − gt ) ∇θ log πθ (yt | st ).\n\nProof. Write ℓ̃t = gt ∆t . Since log π T (yt | s+\nt ) is constant w.r.t. θ,\n\n∇θ ∆t = ∇θ [log π T (yt | s+\nt ) − log πθ ( yt | st )] = −∇θ log πθ ( yt | st ).\nBy the chain rule on gt = σ ( β∆t ),\n\n∇θ gt = β σ′ ( β∆t ) ∇θ ∆t = β gt (1 − gt ) ∇θ ∆t = − β gt (1 − gt ) ∇θ log πθ (yt | st ).\nApplying the product rule,\n\n∇θ ℓ̃t = (∇θ gt ) ∆t + gt (∇θ ∆t )\n= [− β gt (1 − gt ) ∇θ log πθ (yt | st )] ∆t + gt [−∇θ log πθ (yt | st )]\n= − β gt (1 − gt ) ∆t ∇θ log πθ (yt | st ) − gt ∇θ log πθ (yt | st )\n\u0010\n\u0011\n= − gt + β∆t gt (1 − gt ) ∇θ log πθ (yt | st ).\n\n17\n\n\fB\n\nAlgorithm\n\nThe full procedure of SDAR is presented in Algorithm 1. We compare against five baselines\nlisted below:\n• GRPO (Shao et al., 2024) (Algorithm 2): RL baseline that optimizes the policy via a\nclipped surrogate objective with group-relative advantages.\n• OPSD (Zhao et al., 2026) (Algorithm 3): an on-policy self-distillation method that\ndistills token-level knowledge from a frozen reference policy πref into the student.\n• Skill-SD (Wang et al., 2026a) (Algorithm 4): a hybrid method that augments GRPO\nwith an importance-weighted K3 -divergence distillation loss, using retrieved skills\nas privileged context to construct the teacher signal.\n• GRPO+OPSD (Algorithm 5): a hybrid method that simply adds the OPSD distillation loss from πref as an auxiliary objective on top of GRPO training.\n• RLSD (Yang et al., 2026a) (Algorithm 6): a hybrid method that re-weights GRPO’s\nadvantages with self-teacher’s gap.\nAlgorithm 1 SDAR\nRequire: Policy πθ , task set S , skill library E = {e1 , . . . , e M }, group size G, mixing coefficient λ, sharpness β, clip bound ϵ\n1: for each training iteration do\n2:\nSample a batch of tasks { x } from S\n3:\nfor each task x do\n4:\nRetrieve skill c+ from E\n▷ UCB / KM / Full / Random\n5:\n// Step 1: On-policy rollout\n6:\nSample G responses {y(1) , . . . , y(G) } ∼ πθ (· | x )\n7:\n// Step 2: Sequence-level advantage from environment\n8:\nfor i = 1, . . . , G do\n9:\nObtain reward R( x, y(i) ) from environment interaction\n10:\nend for\nR( x,y(i) )−µ G\n11:\nCompute A(i) =\n▷ Group-relative advantage\nσG\n12:\n// Step 3: GRPO policy loss\n13:\nfor i = 1, . . . , G do\n14:\nfor t = 1, . . . , |y(i) | do\n15:\n16:\n17:\n18:\n19:\n20:\n21:\n22:\n23:\n24:\n\n(i )\n\n(i )\n\n(i )\n\n(i )\n\n(i )\n\nrt ← πθ (yt | st ) / πθold (yt | st )\nend for\nend for\n(i )\nCompute LGRPO via clipped surrogate with { A(i) , rt }\n// Step 4: Token-level gated distillation\nfor i = 1, . . . , G do\nCompute teacher logits via forward pass with ( x, c+ , y(i) )\nfor t = 1, . . . , |y(i) | do\n(i )\n\n(i )\n\n(i )\n\n(i )\n\n∆t ← sg(log πθ (yt | s+\nt ) − log πθ ( yt | st ))\ngt ← σ ( β · ∆ t )\n\n25:\nℓt ← gt · (log πθ (yt | s+\nt ) − log πθ ( yt | st ))\n26:\nend for\n27:\nend for\n(i )\n28:\nLSDAR ← G1 ∑iG=1 Agg(ℓt )\n29:\n// Step 5: Joint policy update\n30:\nUpdate θ by minimizing L(θ ) = LGRPO (θ ) + λ · L SDAR (θ )\n31:\nend for\n32: end for\n\n18\n\n\fAlgorithm 2 GRPO\nRequire: Policy πθ , task set S , group size G, clip bounds ϵlo , ϵhi , dual-clip constant c\n1: for each training iteration do\n2:\nSample a batch of tasks { x } from S\n3:\nfor each task x do\n4:\n// Step 1: On-policy rollout\n5:\nSample G responses {y(1) , . . . , y(G) } ∼ πθ (· | x )\n6:\n// Step 2: Sequence-level advantage from environment\n7:\nfor i = 1, . . . , G do\n8:\nObtain reward R( x, y(i) ) from environment interaction\n9:\nend for\nR( x,y(i) )−µ G\n10:\nCompute A(i) =\n▷ Group-relative advantage\nσG\n11:\n// Step 3: Clipped surrogate policy loss\n12:\nfor i = 1, . . . , G do\n13:\nfor t = 1, . . . , |y(i) | do\n(i )\n\n(i )\n\n(i )\n\n(i )\n\n(i )\n\n14:\n\nrt ← πθ (yt | st ) / πθold (yt | st )\n\n15:\n\nL1 ← − A (i ) r t\n\n16:\n\nL2 ← −(A(i) clip(rt , 1−ϵlo , 1+ϵhi )\n\n17:\n\nℓt ←\n\n(i )\n\n(i )\n\n(i )\n\nmin(− A(i) c, max( L1 , L2 ))\nmax( L1 , L2 )\n\nif A(i) &lt; 0\notherwise\n\n18:\nend for\n19:\nend for\n(i )\n20:\nLGRPO ← Agg({ℓt })\n21:\n// Step 4: Policy update\n22:\nUpdate θ by minimizing L(θ ) = LGRPO (θ )\n23:\nend for\n24: end for\n\nAlgorithm 3 OPSD\nRequire: Policy πθ , frozen reference πref , task set S , group size G, KL coefficient α\n1: for each training iteration do\n2:\nSample a batch of tasks { x } from S\n3:\nfor each task x do\n4:\n// Step 1: On-policy rollout\n5:\nSample G responses {y(1) , . . . , y(G) } ∼ πθ (· | x )\n6:\n// Step 2: Token-level KL distillation from reference\n7:\nfor i = 1, . . . , G do\n8:\nfor t = 1, . . . , |y(i) | do\n(i )\n\n(i )\n\n(i )\n\n9:\ndt ← log πθ (yt | st ) − log πref (yt | st )\n10:\nend for\n11:\nend for\n(i )\n12:\nLOPSD ← α · Agg({dt })\n13:\n// Step 3: Policy update\n14:\nUpdate θ by minimizing L(θ ) = LOPSD (θ )\n15:\nend for\n16: end for\n\n19\n\n▷ DKL (πθ ∥πref )\n\n\fAlgorithm 4 Skill-SD\nRequire: Policy πθ , task set S , skill library E = {e1 , . . . , e M }, group size G, distillation\ncoefficient λ, clip bound ϵ\n1: for each training iteration do\n2:\nSample a batch of tasks { x } from S\n3:\nfor each task x do\n4:\nRetrieve skill c+ from E\n▷ UCB\n5:\n// Step 1: On-policy rollout\n6:\nSample G responses {y(1) , . . . , y(G) } ∼ πθ (· | x )\n7:\n// Step 2: Sequence-level advantage from environment\n8:\nfor i = 1, . . . , G do\n9:\nObtain reward R( x, y(i) ) from environment interaction\n10:\nend for\nR( x,y(i) )−µ G\n11:\nCompute A(i) =\n▷ Group-relative advantage\nσG\n12:\n// Step 3: GRPO policy loss (same as Algorithm 2)\n13:\n14:\n15:\n16:\n17:\n\n(i )\n\nCompute LGRPO via clipped surrogate with { A(i) , rt }\n// Step 4: Importance-weighted K3 distillation\nfor i = 1, . . . , G do\nCompute teacher log-probs via forward pass with ( x, c+ , y(i) )\nfor t = 1, . . . , |y(i) | do\n(i )\n\n(i )\n\n18:\n19:\n\ndt ← log πθ (yt | st ) − log πθ (yt | s+\nt )\nk t ← exp(−dt ) − 1 + dt\n\n20:\n\nρt ← exp(log πθ (yt | st ) − log πθold (yt | st ))\n\n(i )\n\n(i )\n\n(i )\n\n▷ Student − Teacher\n▷ K3 divergence\n▷ On-policy IS ratio\n\n21:\nℓt ← ρt · k t\n22:\nend for\n23:\nend for\n(i )\n24:\nLSkill-SD ← Agg({ℓt })\n25:\n// Step 5: Joint policy update\n26:\nUpdate θ by minimizing L(θ ) = LGRPO (θ ) + λ · LSkill-SD (θ )\n27:\nend for\n28: end for\n\n20\n\n\fAlgorithm 5 GRPO+OPSD\nRequire: Policy πθ , frozen reference πref , task set S , group size G, KL coefficient α, clip\nbound ϵ\n1: for each training iteration do\n2:\nSample a batch of tasks { x } from S\n3:\nfor each task x do\n4:\n// Step 1: On-policy rollout\n5:\nSample G responses {y(1) , . . . , y(G) } ∼ πθ (· | x )\n6:\n// Step 2: Sequence-level advantage from environment\n7:\nfor i = 1, . . . , G do\n8:\nObtain reward R( x, y(i) ) from environment interaction\n9:\nend for\nR( x,y(i) )−µ G\n10:\nCompute A(i) =\n▷ Group-relative advantage\nσG\n11:\n// Step 3: GRPO policy loss (same as Algorithm 2)\n12:\n13:\n14:\n15:\n\n(i )\n\nCompute LGRPO via clipped surrogate with { A(i) , rt }\n// Step 4: Token-level KL penalty toward πref\nfor i = 1, . . . , G do\nfor t = 1, . . . , |y(i) | do\n(i )\n\n(i )\n\n(i )\n\n16:\ndt ← log πθ (yt | st ) − log πref (yt | st )\n17:\nend for\n18:\nend for\n(i )\n19:\nLOPSD ← α · Agg({dt })\n20:\n// Step 5: Joint policy update\n21:\nUpdate θ by minimizing L(θ ) = LGRPO (θ ) + LOPSD (θ )\n22:\nend for\n23: end for\n\n21\n\n\fAlgorithm 6 RLSD\nRequire: Policy πθ , task set S , skill library E = {e1 , . . . , e M }, group size G, mixing coefficient λ, weight clip bound ϵw , policy clip bound ϵ\n1: for each training iteration do\n2:\nSample a batch of tasks { x } from S\n3:\nfor each task x do\n4:\nRetrieve skill c+ from E\n▷ UCB / KM / Full / Random\n5:\n// Step 1: On-policy rollout\n6:\nSample G responses {y(1) , . . . , y(G) } ∼ πθ (· | x )\n7:\n// Step 2: Sequence-level advantage from environment\n8:\nfor i = 1, . . . , G do\n9:\nObtain reward R( x, y(i) ) from environment interaction\n10:\nend for\nR( x,y(i) )−µ G\n11:\nCompute A(i) =\n▷ Group-relative advantage\nσG\n12:\n// Step 3: Token-level advantage reweighting via teacher\n13:\nfor i = 1, . . . , G do\n14:\nCompute teacher log-probs via forward pass with ( x, c+ , y(i) )\n15:\nfor t = 1, . . . , |y(i) | do\n(i )\n\n(i )\n\n17:\n\nδt ← log πθ (yt | s+\nt ) − log πθold ( yt | st )\nwt ← clip(exp(sign( A(i) ) · δt ), 1−ϵw , 1+ϵw )\n\n18:\n19:\n20:\n21:\n\nÂt ← A(i) · [(1 − λ) + λ · wt ]\nend for\nend for\n// Step 4: Clipped surrogate with token-level advantages\n\n16:\n\n(i )\n\n(i )\n\n(i )\n\n22:\nCompute LRLSD via clipped surrogate with { Ât , rt }\n23:\n// Step 5: Policy update\n24:\nUpdate θ by minimizing L(θ ) = LRLSD (θ )\n25:\nend for\n26: end for\n\n22\n\n▷ Teacher − Student gap\n\n\fC\n\nHyperparameters\n\nTable 3 summarizes the method-specific hyperparameters used for all baselines and SDAR\nacross our experiments.\nTable 3: Hyperparameters. η: learning rate; G: group size; ϵ: PPO clip ratio; λ: distillation\nloss coefficient; β: sigmoid gate sharpness; αKL : KL penalty coefficient toward the reference\npolicy; SRS: skill retrieval strategy (KM = keyword matching).\nη\n\nG\n\nϵ\n\nλ\n\nβ\n\nαKL\n\nSRS\n\n10−6\n10−6\n10−6\n10−6\n10−6\n10−6\n10−6\n\n8\n8\n—\n8\n8\n8\n8\n\n0.2\n0.2\n—\n0.2\n0.2\n0.2\n0.2\n\n—\n—\n0.01\n0.001\n0.01\n0.5\n0.01\n\n—\n—\n5.0\n—\n0.0\n—\n5.0\n\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n0.01\n\n—\nKM\nKM\nKM\nKM\nKM\nKM\n\nMethod\nGRPO\nSkill-GRPO\nOPSD\nSkill-SD\nGRPO+OPSD\nRLSD\nSDAR (Ours)\n\nD\n\nTraining Dynamics\n\nWe present the full training dynamics of SDAR across all model scales and environments in\nFigures 10–14, tracking five diagnostic metrics throughout training.\n\nQwen2.5-3B\n\nQwen2.5-7B\n\n0.50\n\nALFWorld\n\n0.32\n\n0.50\n\n0.45\n\n0.30\n\n0.45\n0.40\n0.35\n0.30\n\n0.28\n\n0.40\n\n0.26\n\n0.35\n\n0.24\n\n0.30\n\n0.22\n0.20\n\n0.25\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\nQwen3-1.7B\n\n0.34\n\n0.55\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\nWebShop\n\n0.40\n0.45\n\n0.50\n\n0.40\n\n0.45\n\n0.35\n\n0.40\n\n0.30\n\n0.30\n\n0.35\n\n0.25\n\n0.25\n\n0.30\n\n0.35\n\n0.20\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.25\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.375\n\n0.325\n\n0.350\n\n0.40\n\n0.325\n\nSearch\n\n0.300\n\n0.300\n0.275\n\n0.35\n\n0.250\n\n0.275\n0.250\n\n0.225\n\n0.30\n\n0.200\n\n0.225\n\n0.175\n\n0.25\n\n0.200\n\n0.150\n\n0.175\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\n0.125\n\nStep\n\nFigure 10: Gate Active Ratio when training Qwen2.5-3B, Qwen2.5-7B and Qwen3-1.7B on\nALFWorld, WebShop and Search-QA.\n\n23\n\n\fQwen2.5-3B\n\nQwen2.5-7B\n\nQwen3-1.7B\n\nALFWorld\n\n0.47\n0.47\n\n0.49\n\n0.46\n\n0.48\n\n0.45\n\n0.47\n\n0.44\n\n0.46\n\n0.43\n\n0.45\n\n0.46\n0.45\n0.44\n0.43\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.49\n\n0.475\n\nWebShop\n\n0.470\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.46\n\n0.460\n\n0.47\n\n0.455\n\n0.45\n\n0.450\n\n0.46\n\n0.44\n\n0.445\n0.45\n\n0.440\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.485\n0.480\n0.475\n\nSearch\n\n20\n\n0.47\n\n0.48\n\n0.465\n\n0\n0.48\n\n0.470\n0.465\n0.460\n0.455\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.490\n\n0.480\n\n0.485\n\n0.475\n\n0.480\n\n0.470\n\n0.475\n\n0.465\n\n0.470\n\n0.460\n\n0.465\n\n0.455\n0.450\n\n0.460\n\n0.450\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\n0.43\n\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\nStep\n\nFigure 11: Gate Mean when training Qwen2.5-3B, Qwen2.5-7B and Qwen3-1.7B on ALFWorld, WebShop and Search-QA.\n\nE\n\nPrompt\n\nFigures 15–17 present the full prompt templates used by SDAR for the three evaluation\nenvironments, where {skill context} is populated with the retrieved skill during training\nand left empty at inference time.\n\n24\n\n\fQwen2.5-3B\n\nQwen2.5-7B\n\nQwen3-1.7B\n0.050\n\nALFWorld\n\n0.070\n0.065\n\n0.06\n\n0.060\n\n0.05\n\n0.045\n0.040\n\n0.055\n0.050\n\n0.04\n\n0.045\n\n0.03\n\n0.035\n0.030\n\n0.040\n0.02\n\n0.035\n\n0.025\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.060\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.040\n0.035\n\n0.045\n\n0.04\n\n0.040\n0.035\n\n0.030\n0.025\n\n0.03\n\n0.020\n\n0.030\n\n0.015\n\n0.02\n\n0.025\n0\n\nSearch\n\n20\n\n0.045\n\n0.05\n\n0.050\n\n0\n0.050\n\n0.06\n\n0.055\n\nWebShop\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.045\n\n0.045\n\n0.045\n\n0.040\n\n0.040\n\n0.040\n\n0.035\n\n0.035\n\n0.035\n\n0.030\n\n0.030\n\n0.025\n\n0.025\n\n0.020\n\n0.020\n\n0.015\n\n0.015\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\n0.030\n0.025\n0.020\n0.015\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\n0.010\n\nStep\n\nFigure 12: OPSD Loss when training Qwen2.5-3B, Qwen2.5-7B and Qwen3-1.7B on ALFWorld, WebShop and Search-QA.\n\n25\n\n\fQwen2.5-3B\n\nQwen2.5-7B\n0.2\n\n0.04\n\n0.10\n\nALFWorld\n\nQwen3-1.7B\n\n0.02\n\n0.08\n\n0.3\n\n0.06\n\n0.12\n\n0.08\n\n0.14\n\n0.4\n\n0.10\n\n0.16\n\n0.5\n\n0.12\n\n0.18\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.02\n\n0.04\n\nWebShop\n\n0.20\n\n0.08\n\n0.08\n\n0.25\n\n0.10\n\n0.10\n\n0.30\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.14\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.15\n\n0.06\n\n0.20\n\n0.08\n\n0.25\n\n0.10\n\n0.30\n\n0.10\n\n0.12\n\n0.35\n\n0.12\n\n0.14\n\nSearch\n\n0.08\n\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.10\n\n0.04\n\n0.06\n\n80\n\n0.40\n0\n\n0.02\n0.04\n\n60\n\n0.35\n\n0.12\n0\n\n40\n\n0.15\n\n0.06\n\n0.12\n\n20\n\n0.10\n\n0.04\n0.06\n\n0\n\n0.40\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\nStep\n\nFigure 13: Teacher-Student Gap when training Qwen2.5-3B, Qwen2.5-7B and Qwen3-1.7B\non ALFWorld, WebShop and Search-QA.\n\n26\n\n\fQwen2.5-3B\n\nALFWorld\n\nQwen2.5-7B\n\n8\n\n6\n\nQwen3-1.7B\n\n7\n\n2.5\n\n5\n\n6\n\n2.0\n\n4\n\n5\n\n1.5\n\n4\n\n3\n2\n1\n\n3\n\n1.0\n\n2\n\n0.5\n\n1\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n7\n\n0.0\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n8\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\nWebShop\nSearch\n\n0.55\n\n0.45\n\n0.50\n\n0.40\n\n0.45\n\n0.40\n\n0.35\n\n0.40\n\n0.35\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0\n\n20\n\n40\n\n60\n\n80\n\n100\n\n120\n\n140\n\n0.25\n\n0.25\n40\n\n40\n\n0.30\n\n0.30\n20\n\n20\n\n0.45\n\n0.35\n\n0\n\n0\n0.50\n\n0.50\n\n0.25\n\n140\n\n0\n0\n\n0.60\n\n0.30\n\n120\n\n1\n\n0\n20\n\n100\n\n2\n\n2\n\n1\n0\n\n80\n\n3\n\n4\n\n0\n\n60\n\n4\n\n4\n2\n\n40\n\n5\n\n6\n\n3\n\n20\n\n6\n\n6\n5\n\n0\n\n0\n\n20\n\n40\n\n60\n\n80\n\nStep\n\n100\n\n120\n\n140\n\nStep\n\nFigure 14: Reward Curve when training Qwen2.5-3B, Qwen2.5-7B and Qwen3-1.7B on\nALFWorld, WebShop and Search-QA.\n\nPrompt of SDAR on ALFWorld\nYou are an expert agent operating in the ALFRED Embodied Environment. Your task is\nto: {task description}.\n{skill context}\nPrior to this step, you have already taken {step count} step(s). Below are the most recent\n{history length} observations and the corresponding actions you took: {action history}\nYou are now at step {current step} and your current observation is:\n{current observation}\nYour admissible actions of the current situation are: [{admissible actions}].\nNow it’s your turn to take an action. You should first reason step-by-step about the\ncurrent situation. This reasoning process MUST be enclosed within &lt;think&gt; &lt;/think&gt;\ntags. Once you’ve finished your reasoning, you should choose an admissible action for\ncurrent step and present it within &lt;action&gt; &lt;/action&gt; tags.\n\nFigure 15: Prompt template used by SDAR for the ALFWorld task environment.\n\n27\n\n\fPrompt of SDAR on Search-based QA\nYou are an expert agent tasked with answering the given question step-by-step.\n{skill context}\nYour question: {task description}.\nPrior to this step, you have already taken {step count} step(s). Below is the interaction history where &lt;search&gt; &lt;/search&gt; wrapped your past search queries and\n&lt;information&gt; &lt;/information&gt; wrapped the corresponding search results returned by\nthe external search engine. History:\n{memory context}\nNow it’s your turn to respond for the current step. You should first conduct a reasoning\nprocess. This process MUST be enclosed within &lt;think&gt; &lt;/think&gt; tags. After completing your reasoning, choose only one of the following actions (do not perform both):\n1. If you find you lack some knowledge, you MUST call a search engine to get\nmore external information using format: &lt;search&gt; your query &lt;/search&gt;.\n2. If you have enough knowledge to answer the question confidently, provide\nyour final answer within &lt;answer&gt; &lt;/answer&gt; tags, without detailed illustrations. For example, &lt;answer&gt;Beijing&lt;/answer&gt;.\n\nFigure 16: Prompt template used by SDAR for the Search-based QA task environment.\n\nPrompt of SDAR on WebShop\nYou are an expert autonomous agent operating in the WebShop e-commerce environment.\n{skill context}\nYour task is to: {task description}.\nPrior to this step, you have already taken {step count} step(s). Below are the most recent\n{history length} observations and the corresponding actions you took: {action history}\nYou are now at step {current step} and your current observation is:\n{current observation}.\nYour admissible actions of the current situation are: [ {available actions} ].\nNow it’s your turn to take one action for the current step. You should first reason\nstep-by-step about the current situation, then think carefully which admissible action\nbest advances the shopping goal. This reasoning process MUST be enclosed within\n&lt;think&gt; &lt;/think&gt; tags. Once you’ve finished your reasoning, you should choose an\nadmissible action for current step and present it within &lt;action&gt; &lt;/action&gt; tags.\n\nFigure 17: Prompt template used by SDAR for the WebShop task environment.\n\n28\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"