"<!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>October 17, 2025\n\nAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nAndrew Zhao 1 , Yiran Wu 3 , Yang Yue 1 , Tong Wu 2 , Quentin Xu 1 ,\nShenzhi Wang 1 , Qingyun Wu 3 , Zilong Zheng 2, and Gao Huang 1,\n1 Tsinghua University\n\n2 Beijing Institute for General Artificial Intelligence\n\nYang Yue 1 ,\n\nMatthieu Lin 1 ,\n\n3 Penn State University\n\narXiv:2505.03335v3 [cs.LG] 16 Oct 2025\n\nzqc21@mails.tsinghua.edu.cn, yiran.wu@psu.edu, zlzheng@bigai.ai, gaohuang@tsinghua.edu.cn\n\nReinforcement learning with verifiable rewards (RLVR) has shown promise in enhancing the reasoning\ncapabilities of large language models by learning directly from rule-based outcome rewards. Recent\nRLVR works that operate under the zero setting avoid supervision in labeling the reasoning process, but\nstill depend on manually curated collections of questions and answers for training. The scarcity of highquality, human-produced examples raises concerns about the long-term scalability of relying on human\nsupervision, a challenge already evident in the domain of language model pretraining. Furthermore, in a\nhypothetical future where AI surpasses human intelligence, tasks provided by humans may offer limited\nlearning potential for a superintelligent system. To address these concerns, we propose a new RLVR\nparadigm called Absolute Zero, in which a single model learns to propose tasks that maximize its own\nlearning progress and improves reasoning by solving them, without relying on any external data. Under\nthis paradigm, we introduce the Absolute Zero Reasoner (AZR), a system that self-evolves its training\ncurriculum and reasoning ability by using a code executor to both validate self-proposed code reasoning\ntasks and verify answers, serving as an unified source of verifiable feedback to guide open-ended yet\ngrounded learning. Despite being trained entirely without external data, AZR achieves overall SOTA\nperformance on coding and mathematical reasoning tasks, outperforming existing “zero” models that\nrely on tens of thousands of in-domain human-curated examples. Furthermore, we demonstrate that AZR\ncan be effectively applied across different model scales and is compatible with various model classes.\n\nCode\n\nProject Page\n\nLogs\n\nModels\n\nFigure 1. Absolute Zero Reasoner (AZR) achieves state-of-the-art performance with ZERO DATA. Without relying on any gold\nlabels or human-defined queries, Absolute Zero Reasoner trained using our proposed self-play approach demonstrates impressive general\nreasoning capabilities improvements in both math and coding, despite operating entirely out-of-distribution. Remarkably, AZR surpasses\nmodels trained on tens of thousands of expert-labeled in-domain examples in the combined average score across both domains.\nCorresponding author(s)\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nSupervised Learning\n\nReinforcement Learning with Verifiable Rewards\n\nAbsolute Zero (Ours)\n\nLess Human Supervision\n\nFigure 2. Absolute Zero Paradigm. Supervised learning relies on human-curated reasoning traces for behavior cloning. Reinforcement\nlearning from verified rewards, enables agents to self-learn reasoning, but still depends on expert-defined learning distribution and a\nrespective set of curated QA pairs, demanding domain expertise and manual effort. In contrast, we introduce a new paradigm, Absolute\nZero, for training reasoning models without any human-curated data. We envision that the agent should autonomously propose tasks\noptimized for learnability and learn how to solve them using an unified model. The agent learns by interacting with an environment that\nprovides verifiable feedback, enabling reliable and continuous self-improvement entirely without human intervention.\n\n1. Introduction\nLarge language models (LLMs) have recently achieved remarkable improvements in reasoning capabilities by employing Reinforcement\nLearning with Verifiable Rewards (RLVR) (Lambert et al., 2024). Unlike methods that explicitly imitate intermediate reasoning\nsteps, RLVR uses only outcome-based feedback, enabling large-scale reinforcement learning over vast task datasets (Guo et al., 2025;\nTeam et al., 2025; Jaech et al., 2024; OpenAI, 2025b;a; Wang et al., 2025b). A particularly compelling variant is the “zero” RLVR\nparadigm (Guo et al., 2025), which forgoes any cold-start distillation data, using neither human-generated nor AI-generated reasoning\ntraces, and applies RLVR directly on the base model with task rewards. However, these methods still depend heavily on expertly curated\ndistributions of reasoning question–answer pairs, which raises serious concerns about their long-term scalability (Villalobos et al.,\n2024). As reasoning models continue to advance, the effort required to construct large-scale, high-quality datasets may soon become\nunsustainable (Yue et al., 2025). A similar scalability bottleneck has already been identified in the domain of LLM pretraining (Sutskever\net al., 2024). Furthermore, as AI systems continue to evolve and potentially exceed human intellect, an exclusive dependence on\nhuman-designed tasks risks imposing constraints on their capacity for autonomous learning and growth (Hughes et al., 2024). This\nunderscores the need for a new paradigm that begins to explore possibilities beyond the constraints of human-designed tasks and prepares\nfor a future in which AI systems may surpass human intelligence.\nTo this end, we propose “Absolute Zero”, a new paradigm for reasoning models in which the model simultaneously learns to define tasks\nthat maximize learnability and to solve them effectively, enabling self-evolution through self-play without relying on external data. In\ncontrast to prior self-play methods that are limited to narrow domains, fixed functionalities, or learned reward models that are prone to\nhacking (Silver et al., 2017; Chen et al., 2025; 2024), the Absolute Zero paradigm is designed to operate in open-ended settings while\nremaining grounded in a real environment. It relies on feedback from the environment as a verifiable source of reward, mirroring how\nhumans learn and reason through interaction with the world, and helps prevent issues such as hacking with neural reward models (Hughes\net al., 2024). Similar to AlphaZero (Silver et al., 2017), which improves through self-play, our proposed paradigm requires no human\nsupervision and learns entirely through self-interaction. We believe the Absolute Zero paradigm represents a promising step toward\nenabling large language models to autonomously achieve superhuman reasoning capabilities.\nBuilding on this new reasoning paradigm, we introduce the Absolute Zero Reasoner (AZR), which proposes and solves code reasoning\ntasks. We cast code executor as an open-ended yet grounded environment, sufficient to both validate task integrity and also provide\nverifiable feedback for stable training. We let AZR construct tasks that require reasoning and inference about a specific element in a\nprogram, input, or output triplet, corresponding to three complementary modes of reasoning: induction, abduction, and deduction. We\ntrain the entire system end-to-end with a newly proposed reinforcement learning advantage estimator tailored to the multitask nature of\nthe proposed approach.\nDespite being trained entirely without any in-distribution data, AZR demonstrates remarkable capabilities across diverse reasoning tasks\nin math and coding. In mathematics, AZR achieves competitive performance compared to zero reasoner models explicitly fine-tuned\nwith domain-specific supervision. In coding tasks, AZR establishes a new state-of-the-art performance, surpassing models specifically\ntrained with code datasets using RLVR. Furthermore, AZR outperforms all previous models by an average of 1.8 absolute points\n\n2\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\ncompared to models trained in the “zero” setting using in-domain data. These surprising results highlight that general reasoning skills\ncan emerge without human-curated domain targeted data, positioning Absolute Zero as an promising research direction and AZR as\na first effective instantiation. Besides the remarkable results AZR achieved with zero human data for reasoning, we also make very\ninteresting findings summarized below:\n• Code priors amplify reasoning. The base Qwen-Coder-7b model started with math performance 3.6 points lower than Qwen-7b.\nBut after AZR training for both models, the coder variant surpassed the base by 0.7 points, suggesting that strong coding capabilities\nmay potentially amplify overall reasoning improvements after AZR training.\n• Cross domain transfer is more pronounced for AZR. After RLVR, expert code models raise math accuracy by only 0.65 points on\naverage, whereas AZR-Base-7B and AZR-Coder-7B trained on self-proposed code reasoning tasks improve math average by 10.9 and\n15.2, respectively, demonstrating much stronger generalized reasoning capability gains.\n• Bigger bases yield bigger gains. Performance improvements scale with model size: the 3B, 7B, and 14B coder models gain +5.7,\n+10.2, and +13.2 points respectively, suggesting continued scaling is advantageous for AZR.\n• Comments as intermediate plans emerge naturally. When solving code induction tasks, AZR often interleaves step-by-step plans as\ncomments and code (Section C.3), resembling the ReAct prompting framework (Yao et al., 2023). Similar behavior has been observed\nin much larger formal-math models such as DeepSeek Prover v2 (671B) (Ren et al., 2025). We therefore believe that allowing the\nmodel to use intermediate scratch-pads when generating long-form answers may be beneficial in other domains as well.\n• Cognitive Behaviors and Token length depends on reasoning mode. Distinct cognitive behaviors—such as step-by-step reasoning,\nenumeration, and trial-and-error all emerged through AZR training, but different behaviors are particularly evident across different\ntypes of tasks. Furthermore token counts grow over AZR training, but the magnitude of increase also differs by task types: abduction\ngrows the most because the model performs trial-and-error until output matches, whereas deduction and induction grow modestly.\n• Safety alarms ringing. We observe AZR with Llama3.1-8b occasionally produces concerning chains of thought, we term the\n“uh-oh moment”, example shown in Figure 34, highlighting the need for future work on safety-aware training (Zhang et al., 2025a).\n\n2. The Absolute Zero Paradigm\n2.1. Preliminaries\nSupervised Fine-Tuning (SFT). SFT requires the datasets of task-rationale-answer demonstrations D = {(x, c⋆ , y ⋆ )}, where\n\nx is the query, c⋆ is the gold chain-of-thought (CoT)) and y ⋆ is the gold answer, all provided by human experts or superior AI models.\nThe model trains to imitate the reference responses to minimize the conditional negative log-likelihood (Ouyang et al., 2022):\nLSFT (θ) = − E(x,c⋆ ,y⋆ )∼D log πθ c⋆ , y ⋆ | x).\n\n(1)\n\nAt the frontier level, the absence of stronger models for distillation and the poor scalability of expert human labeling have led researchers\nto move away from SFT and explore RL as a means to enhance model reasoning.\n\nReinforcement Learning with Verifiable Rewards (RLVR). To move beyond the limits of pure imitation, RLVR only\nrequires a dataset of task and answer D = {(x, y ⋆ )}, without labeled rationale. RLVR allows the model to generate its own CoT and\ncalculate a verifiable reward with the golden answer r(y, y ⋆ ). However, the learning task distribution D, with its set of queries and gold\nanswers are still labeled by human experts. The trainable policy πθ is optimized to maximize expected reward:\nJRLVR (θ) = E(x,y⋆ )∼D, (c,y)∼πθ (· |x) r(y, y ⋆ ) .\n\n\u0002\n\n\u0003\n\n(2)\n\nIn summary, both SFT and RLVR still rely on human-curated datasets of either queries, demonstrations, or answers, which ultimately\nlimit scalability. The Absolute Zero paradigm removes this dependency by allowing the model to generate, solve, and learn from its own\ninteractions with the environment entirely through self-play.\n\n2.2. Absolute Zero\nWe propose the Absolute Zero (AZ) paradigm, where during training, the model simultaneously proposes tasks, solves them, and learns\nfrom both stages. No external data is required and the model learns entirely through self-play and experience, aided by some environment.\nWe illustrate this paradigm in Figure 2, which contrasts Absolute Zero with supervised learning and RLVR, highlighting how our\napproach eliminates the need for any human-curated data by enabling self-improving task proposal and solution through self-play.\n\n3\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nTo make the Absolute Zero setting concrete, we now define how one model can act both as the proposer and solver role. To aid\nunderstanding, we include an illustration in Figure 3. Let πθ be our parameterized language model, it is used to play two roles, proposer\nπθpropose and solver πθsolve during training.\nThe proposer first samples a proposed\ntask conditioned on variable z: τ ∼\n𝑦\n𝜏\nπθpropose (·|z), which will then be validated\nand used to construct a valid reasoning task\n𝜋 '#()*\ntogether with the environment e: (x, y ⋆ ) ∼\nEnvironment\nEnvironment\nLanguage Model\n⋆\nfe (·|τ ), where x is the task query and y\n𝑒, 𝑓\n𝑒\n𝜋 !\"#!$%&amp;\nis the gold label. Then the solver produces\nan answer y ∼ πθsolve ( · | x). Each pro𝑥, 𝑦 ⋆ , 𝑟 \"#$\"$%&amp;\n𝑟 %$'(&amp;\nposed task τ is scored by a learnability\nreward repropose (τ, πθ ), which captures the\nexpected improvement in πθ after trainFigure 3. The Absolute Zero Loop. The Absolute Zero loop begins with the agent π\ning on the proposed task τ . Moreover, the\nproposing task τ , which is transformed by f with the environment e into a validated\nsame policy also receives a solution reward\nproblem (x, y ⋆ ), and also emits a reward rpropose for learnability. Then, a standard RL step\nresolve (y, y ⋆ ) for its answer to the task query\nfollows: the agent solves x by producing y, receiving reward rsolve from e by matching\nx, with the environment again serving as\nwith y ⋆ . π propose and π solve are jointly trained and this process can be repeated indefinitely.\nthe verifier. A nonnegative coefficient λ\nbalances the trade-off between exploring\nnew, learnable tasks and improving the model’s reasoning and problem-solving abilities. We formally define the absolute zero setting’s\nobjective as follows:\n\n\"\n\n\u0014\n\nJ (θ) := max Ez∼p(z) E(x,y⋆ )∼fe (·|τ ),τ ∼πpropose (·|z) λrepropose (τ, πθ ) + Ey∼πsolve (·|x) re\nθ\n\nθ\n\n\u0002 solve\n\nθ\n\n\u0015#\n\u0003\n⋆\n\n(y, y )\n\n.\n\n(3)\n\nNotice that we shift the burden of scaling data away from human experts and onto the proposer policy πθpropose and the environment\ne. These two roles are both responsible for defining/evolving the learning task distribution, validating proposed tasks, and providing\ngrounded feedback that supports stable and self-sustainable training. When proposing, z acts as a conditional variable that seeds\ngeneration of tasks. Practically, z can be instantiated by sampling several past (task, answer) pairs from a continually updated buffer, yet\nthere is no specific implementation tied to the paradigm. To guide the proposing process, we use a learnability reward rpropose (τ, πθ ),\nwhich measures how much the model is expected to improve by solving a proposed task τ . Moreover, the solver reward rsolve (y, y ∗ )\nevaluates the correctness of the model’s output. Together, these two signals guide the model to propose tasks that are both challenging\nand learnable, while also enhancing its reasoning abilities, ultimately enabling continuous improvement through self-play.\n\n3. Absolute Zero Reasoner\nIn this section, we present Absolute Zero Reasoner (AZR) as the first attempt to embrace the Absolute Zero Paradigm. In AZR, an\nunified LLM serves as both a proposer and a solver: it generates tasks to evolve its learning curriculum and attempts to solve them\nto improve its reasoning capabilities. The model is trained jointly with both roles, learning to create tasks that push the boundary of\nreasoning capacity while enhancing its ability to solve them effectively (Section 3.1). Within this self-play training paradigm, the model\nlearns from three distinct type of coding tasks, which corresponding to three fundamental modes of reasoning: abduction, deduction and\ninduction (Section 3.2). Using coding tasks is motivated by the Turing-completeness of programming languages (Stuart, 2015) and\nempirical evidence that code-based training improves reasoning (Aryabumi et al., 2024). We adopt code as an open-ended, expressive,\nand verifiable medium for enabling reliable task construction and verification (Section 3.3). Finally, the model is updated using a newly\nproposed advantage estimator designed for multitask learning (Section 3.3.5). We outline the overall algorithm in Algorithm 1 and\nhighlight an illustration of our Absolute Zero Reasoner approach in Figure 4 and Algorithm 1. To expedite future exploration in this area,\nwe also present several attempts that did not yield fruitful results but still warrant discussion in Section D.\n\n3.1. Two Roles in One: Proposer and Solver\nLarge language models are naturally suited for implementing AZR in a multitask learning context (Radford et al., 2019), as both\nthe formulation of reasoning tasks and their solutions occur within a unified language space. To this end, we propose rewarding a\nsingle model for both generating high learning potential tasks and solving them effectively, as specified by the Absolute Zero objective\nin Equation (3). At each iteration of the online rollout, AZR proposes new reasoning tasks by conditioning on the task type (as defined\nin Section 3.2) and K past self-generated examples. The model is explicitly prompted to generate tasks that differ from these examples,\npromoting diversity and broader coverage of the task space. These task proposals are filtered and transformed into valid reasoning\n\n4\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nPROPOSE\n\nAbsolute\n\nZero\n\nReasoner\n\nLearnability\n\nReward\n\nConstruct &amp; Estimate\n\nSelf-play\n\nTask Types\n\nAbduction: O\nX = FP ( ? )\n\nJoint Update\n\nDeduction: ? = FP ( I )\nInduction: O\nX= ? ( I )\n\nSOLVE\n\nAccuracy\n\nReward\n\nVerify\n\nmodel input/output\n\nmodel reward\n\n( P rogram,\n\nI nput,\n\nO utput)\n\nFigure 4. Absolute Zero Reasoner Training Overview. At every iteration, Absolute Zero Reasoner first PROPOSES a batch of tasks,\nconditioned on past self-generated triplets stored in a buffer and a particular task type: abduction, deduction, or induction (Section 3.2).\nFrom these generated tasks, Python is used to filter and construct valid code-based reasoning questions. A learnability reward rpropose is\nalso calculated for each proposed task as defined in Equation (4). The Absolute Zero Reasoner then SOLVES the batch of reasoning\nquestions. Python is used again to verify the generated responses and compute the accuracy reward rsolve as described in Equation (5).\nFinally, the Absolute Zero Reasoner is jointly updated using both rpropose and rsolve across all three task types, using TRR++ (Section 3.3.5).\n\ntasks that can be verified using the environment, outlined later in Section 3.3. AZR then attempts to solve these newly proposed tasks,\nreceiving grounded feedback for its model responses. Both task proposal and problem solving are trained using reinforcement learning.\nWe now outline the rewards used for each role.\n\nReward Design. Prior work has shown that setting appropriate task difficulty is critical for promoting effective learning in reasoning\nsystems (Zeng et al., 2025b). Motivated by this, we design a reward function for the proposer that encourages generation of tasks with\nmeaningful learning potential—neither too easy nor unsolvable for the current solver. Concretely, we use the same language model in its\nsolver role to estimate the learnability of a proposed task, which is well studied in autotelic agents and unsupervised environment design\nliterature (Oudeyer et al., 2016; Sukhbaatar et al., 2018). We perform G Monte Carlo rollouts of the solver with non-zero temperature\nPG (i)\n1\nand compute the average success rate: r̄solve = G\nr . The proposer’s reward is then defined as:\ni=1 solve\n\nrpropose =\n\n\u001a\n\n0,\n1 − r̄solve ,\n\nif r̄solve = 0\notherwise.\n\n(4)\n\nThe intuition is that if a task is either trivial to solve (r̄solve = 1) or unsolvable (r̄solve = 0), the task provides little to no learning signal\nfor the solver. In contrast, tasks of moderate difficulty, where the solver occasionally succeeds are rewarded the most, as they offer the\nrichest feedback and greatest potential for learning.\nFor the solver, we assign a simple binary reward based on the correctness of its final output,\nrsolve = I(y=y⋆ ) ,\n\n(5)\n\nwhere y ⋆ is the ground-truth answer, and equality is evaluated based on value equality in Python.\nWith the primary rewards for the proposing and solving roles defined, we adopt the following composite reward structure, which\nintegrates rpropose and rsolve with a format-aware penalty inspired by Guo et al. (2025):\n\nR(yπ ) =\n\n\nrrole\n\ncorrectly formatted, role ∈ {propose,solve}\n−0.5 response is wrong but well-formatted,\n\n−1\nanswer has formatting errors,\n\n5\n\n(6)\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nwhere yπ is the response of the language model. The main format that the proposing and solving tasks need to follow is the DeepSeek\nR1 &lt;think&gt; and &lt;answer&gt; format, as shown in Figure 35. Moreover, for the proposer, the reward criterion for format goes beyond\nsimply following the XML structure. As detailed in Section 3.3.3, only responses that produce valid triplets and pass the filtering stage\nare considered to be correctly formatted.\nAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\n3.2.3.2.\nLearning\nDifferent\nModes\nof of\nReasoning:\nLearning\nDifferent\nModes\nReasoning:Deduction,\nDeduction,Induction,\nInduction,and\nandAbduction\nAbduction\nAZRAZR\nusesuses\ncodecode\nexecutor\nas both\na flexible\ninterface\nandand\na verifiable\nenvironment.\nexecutor\nas both\na flexible\ninterface\na verifiable\nenvironment.This\nThissetup\nsetupenables\nenablesautomatic\nautomatic construction,\nconstruction, execution,\nexecution,\nand validation\nof code\nreasoningtasks\ntasks(Stuart,\n(Stuart,2015;\n2015;Aryabumi\nAryabumietetal.,\nal.,2024).\n2024).Give\nGive\nprogram\nspace\n, input\nspace\noutput\nspace\nO\nand validation\nof reasoning\nprogram\nspace\nPP\n, input\nspace\nII\nandand\noutput\nspace\nO of\nof a coding\nlanguage,\nwe\ndefine\nan\nAZR\nreasoning\ntask\nas\na\ntriplet\n(p,\ni,\no),\nwhere\np\n∈\nP\nis\na\nprogram,\ni\n∈\nI\nis\nan\ninput,\nand\no\n∈\nO\nis\na coding language, we define an AZR reasoning task as a triplet (p, i, o), where p → P is a program, i → I is an input, and o → O is\nthe corresponding\noutput\nproduced\nby\nrunning\nprogram\non\ninput,\no\n=\np(i).\nAZR\nlearns\nby\nreasoning\nabout\ndifferent\nparts\nof\nthis\ntask\nthe corresponding output produced by running program on input, o = p(i). AZR learns by reasoning about different parts of this task\ntriplet,\nusingusing\nthreethree\ndistinct\ncorecore\nreasoning\nmodes,\neach\nof of\nwhich\nfocuses\nononinferring\ntriplet,\ndistinct\nreasoning\nmodes,\neach\nwhich\nfocuses\ninferringone\nonepart\npartofofthe\nthetriplet\ntripletgiven\ngiventhe\nthe others:\nothers:\n1. Deduction:\npredicting\nthe the\noutput\no given\na program\np and\ninput\ni, i,\ncapturing\n1. Deduction:\npredicting\noutput\no given\na program\np and\ninput\ncapturingstep-by-step\nstep-by-steplogical\nlogicalreasoning.\nreasoning.\n\n• As• aAs\nproposer,\nAZRAZR\nis conditioned\non the\ntasktask\ntype\nα=\ndeduction\nand\na proposer,\nis conditioned\non the\ntype\nα=\ndeduction\nandKKreference\nreferenceexamples\nexamplesfrom\nfromthe\nthededuction\ndeduction buffer\nbuffer D\nDdeduction\ndeduction\n(all task\nbuffers\nare are\noutlined\nin Section\n3.3),\nandand\ngenerates\ni).i).The\no,\n(all task\nbuffers\noutlined\nin Section\n3.3),\ngeneratesa pair\na pair(p,(p,\nTheenvironment\nenvironmenteethen\nthenexecutes\nexecutes p(i)\np(i) to\nto compute\ncompute o,\ncompleting\nthe triplet\n(p, i,\nwhich\nis added\nto the\nbuffer\nif non-error\ncompleting\nthe triplet\n(p,o),\ni, o),\nwhich\nis added\nto the\nbuffer\nif non-erroroutput\noutputwas\nwasproduced.\nproduced.\n• As• aAs\nsolver,\nthe model\nreceives\n(p, (p,\ni) and\npredicts\nthethe\noutput\noπo.πThe\na solver,\nthe model\nreceives\ni) and\npredicts\noutput\n. Thepredicted\npredictedoutput\noutputisisverified\nverifiedusing\nusingtype-aware\ntype-aware value\nvalue equality\nequality\nin python\nto account\nfor possible\nvariations\n(such\nas as\nsetset\nordering\noror\nfractions).\nin python\nto account\nfor possible\nvariations\n(such\nordering\nfractions).\n2. Abduction:\ninferring\na plausible\ninput\ni given\nthethe\nprogram\np and\nanan\noutput\n2. Abduction:\ni given\np and\ninferring\na plausible\ninput\nprogram\noutputo,o,resembling\nresemblingtrial-and-error\ntrial-and-erroror\noronline\nonline search.\nsearch.\n• As• aAs\nproposer,\nthe policy\nπ propose\n’s input\nandand\noutput\nis almost\nthethe\nsame\ntask\na proposer,\nthe policy\nπ propose\n’s input\noutput\nis almost\nsameasasthe\ntheproposer\nproposerfor\nforthe\nthededuction\ndeductiontask,\ntask, except\nexcept that\nthat the\nthe task\ntypetype\nα =αabduction\nis changed\nas an\nTheThe\nmodel\ngenerates\na pair\ni)i)conditioned\nwe\n= abduction\nis changed\nas input.\nan input.\nmodel\ngenerates\na pair(p,\n(p,\nconditionedon\nonααand\nandreference\nreference examples.\nexamples. Then\nThen we\nexecutes\nget the\ntriplet\ni, o).\nexecutes\np(i)p(i)\nand and\nget the\ntriplet\n(p, (p,\ni, o).\na solver,\nthe model\nreceives\no) and\npredicts\n. The\nsolution\nverifiedbybychecking\ncheckingwhether\nwhetherp(i\np(iππ)) =\n= o.\no. Since\nSince programs\nprograms\nsolver,\nthe model\nreceives\n(p, (p,\no) and\npredicts\niπ .iπThe\nsolution\nis isverified\n• As• aAs\nnotbijective,\nbe bijective,\noutput\nvalue\nequivalence\nrather\nthan\nrequiringexact\nexactinput\ninputmatches.\nmatches.\nmaymay\nnot be\nwe we\nuseuse\noutput\nvalue\nequivalence\nrather\nthan\nrequiring\n\nn ,no )}, requiring generalization from partial information.\n3. Induction:\nsynthesizing\na program\np from\na set\nin-out\nexamples\n3. Induction:\nsynthesizing\na program\np from\na set\nof of\nin-out\nexamples\n{(i{(i\n, o )}, requiring generalization from partial information.\na proposer,\nsamples\na valid\nprogram\np from\nDabduction\n, generatesNNnew\nnewinputs\ninputsand\nandaamessage\nmessage m,\nm, and\nand uses\nuses the\ndeduction\n• As• aAs\nproposer,\nAZRAZR\nsamples\na valid\nprogram\np from\nDabduction\n∪∪\nDD\nthe\ndeduction , generates\nenvironment\nto compute\ncorresponding\noutputs.\nThis\nforms\nextendedtask\ntaskrepresentation\nrepresentation(p,\n(p,{(i\n{(inn,,oonn)},\n)},m),\nm), which\nwhich is\nis stored\nstored\nenvironment\nto compute\ncorresponding\noutputs.\nThis\nforms\nanan\nextended\nin induction\nthe induction\nbuffer\nDinduction\n. Since\ninfinitely\nmany\nfunctions\ncanmap\nmapthe\ntheinputs\ninputstotothe\ntheoutputs,\noutputs,making\nmaking the\nthe induction\ninduction task\ntask\nin the\nbuffer\nDinduction\n. Since\ninfinitely\nmany\nfunctions\ncan\nunder-constrained,\nmessage\nm helps\nproperly\ncondition\nproblemforforthe\nthesolver.\nsolver.\nunder-constrained,\nthe the\nmessage\nm helps\nproperly\ncondition\nthethe\nproblem\na solver,\nthe model\nis shown\ninput-output\npairs\nandthe\nthemessage\nmessagem,\nm,and\nandmust\nmustsynthesize\nsynthesize aa program\nprogram p\npπ\nπ that\n• As• aAs\nsolver,\nthe model\nis shown\nthe the\nfirstfirst\nhalfhalf\nof of\nthethe\ninput-output\npairs\nand\nthat\ncorrectly\nmaps\nthe remaining\nhidden\ninputs\nto their\noutputs.\nThe\nuse\nheld-outexamples\nexamplesdiscourages\ndiscouragesoverfitting\noverfitting through\nthrough if-else\nif-else\ncorrectly\nmaps\nthe remaining\nhidden\ninputs\nto their\noutputs.\nThe\nuse\nofofheld-out\npromotes\ngeneralized\ninduction.\nlogiclogic\nand and\npromotes\ngeneralized\ninduction.\nn\n\nn\n\nreasoning\nleverages\ncode\nexpressive\nverifiable\nEachEach\nreasoning\ntasktask\ntypetype\nleverages\ncode\nas as\nan an\nexpressive\nandand\nverifiable\nmedium,\naligning\nwith\nthe\nAbsolute\nZero\nParadigm’s\ngoals\nof\nfully\nselfmedium, aligning with the Absolute Zero Paradigm’s goals of fully selfimproving\nsystems\nin open-ended\ndomains\n(DeepSeek-AI\nal., 2025;\nimproving\nsystems\nin open-ended\ndomains\n(Guo\net al., 2025;etLambert\net Lamal.,\nbert et al., 2024). All prompts used by three different task types and two\n2024). All prompts used by three different task types and two types of roles\ntypes of roles within a task type are shown in Figures 34 to 39. Next, we\nwithin a task type are shown in Figures 36 to 41. Next, we outline exact\noutline exact details of our algorithm.\ndetails of our algorithm.\n\nProgram Triplet\nInput: \"Hello World\"\n1\n\n3.3. Absolute Zero Reasoner Learning Algorithm\n3.3. Absolute Zero Reasoner Learning Algorithm\n\n2\n\nIn this section, we will discuss details of our AZR self-play algorithm, includIn this\nwe willofdiscuss\nof ourofAZR\nalgorithm,\ninclud-of\ningsection,\ninitialization\nbuffers details\n3.3.1, usage\nthseself-play\nbuffers 3.3.2,\nconstruction\ning initialization\nof\nbuffers\n3.3.1,\nusage\nof\nthse\nbuffers\n3.3.2,\nconstruction\nof\nvalid tasks 3.3.3, validating solutions 3.3.4, and finally advantage estimator\nvalidcalculation\ntasks 3.3.3,3.3.5.\nvalidating\nsolutions\n3.3.4,recipe\nand finally\nestimatorof\nWe outline\nthe overall\nof theadvantage\nself-play procedure\ncalculation\nWe outline\nthe overall recipe of the self-play procedure\nAZR in 3.3.5.\nAlgorithm\n1.\nof AZR in Algorithm 1.\n\n3.3.1. BUFFER INITIALIZATION\n3.3.1. Buffer Initialization\n\ndef f(x):\nreturn x\n\nOutput: \"Hello World\"\nFigure5.5.The\nTheSeed\nSeedAZR\nAZR Zero\nZero Triplet.\nTriplet. The\nThe above\nabove\nFigure\nidentityfunction\nfunctiontriplet\ntripletwas\nwas the\nthe only\nonly triplet\ntriplet provided\nprovided\nidentity\nAZRtotoinitiate\ninitiateits\nitsself-bootstrap\nself-bootstrap propose-and-solve\npropose-and-solve\ntotoAZR\nRLVRloop.\nloop.WeWe\nnote\nis fully\ncaRLVR\nnote\nthatthat\nthe the\nbasebase\nLLMLLM\nis fully\ncapable\nof initiating\ntheloop\nAZRwithout\nloop without\nany program;\nseed proofpable\ninitiating\nthe AZR\nany seed\nits inclusion\nillustrates\nour approach’s\nflexibility:\nitsgram;\ninclusion\nillustrates\nour approach’s\nflexibility:\nwe\nweoptionally\ncan optionally\ninitialize\nseed\nprogramswith\nwith existing\nexisting\ncan\ninitialize\nseed\nprograms\ndatasetsofofvarying\nvaryingcomplexity,\ncomplexity,and\nand we\nwe initialized\ninitialized ours\ndatasets\nours\nwith\nthe\nsimplest\nprogram.\nwith the simplest program.\n\nTo initialize AZR self-play, we first generate a seed set of valid triplets using\nTo initialize\nself-play,\nwe Each\nfirst generate\na seed set\ntripletsfrom\nusingthe\nthe baseAZR\nlanguage\nmodel.\nprompt samples\nupoftovalid\nK triplets\nthe base\nlanguage\nmodel.Dseed\nEachasprompt\nsamples\ntriplets\nthe current\ncurrent\nseed buffer\nreferences.\nWhen\nDseedfrom\nis empty\nat timeseed\n0, we\nbuffer\nWhen\nDseed\nis empty\nat timethe\n0, seeding\nwe fall back\nfallDback\nto references.\nthe zero triplet\nshow\nin Figure\n5. During\nstage,towe\nseed as\nuse the\nsame\nproposer\nprompts\ndetailed\nFiguresstage,\n34 to 36.\nthe zero\ntriplet\nshow\nin Figure\n5. During\ntheinseeding\nwe use the same\nproposer prompts detailed in Figures 36 to 38.\nFirst, for deduction and abduction tasks, the LLM is prompted to generate\npairs, which\nfiltered, tasks,\nexecuted,\nand stored\nas validtotriplets.\nWe\nFirst,(p,\nfori)deduction\nandare\nabduction\nthe LLM\nis prompted\ngenerate\n0\n0\nDabduction\n= Ddeduction\n= Dseed\n, where\n| = triplets.\nB × S, where\n(p, i)initialize\npairs, which\nare filtered,\nexecuted,\nand\nstored|Dasseedvalid\nWe\nB is the batch size, and S = 4 is a factor we fix in all experiments. All seed triplet’s program are stripped of global variables and\ncomments (Appendix C), but subsequent iterations of adding new triplets to the buffers are unaltered. No model updates occur during\n6\nthis phase. Similarly, to initialize the induction buffer, we sample programs from Dseed , generate matching input sets and messages, and\n0\ncollect valid examples until |Dinduction | = B × S.\n\n6\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nAlgorithm 1 Self-Play Training of Absolute Zero Reasoner (AZR)\nRequire: Pretrained base LLM πθ ; batch size B; #references K; iterations T\n1: Dded , Dabd , Dind ← InitSeeding(πθ )\n▷ see §3.3.1\n2: for t ← 1 to T do\n3:\nfor b ← 1 to B do\n▷ PROPOSE PHASE\n4:\np\n∼\nD\n∪\nD\n▷\nsample\na\nprogram\nfor\ninduction\ntask proposal\nabd\nded\n\u0011\n\u0010\b\nN\npropose\nn\n5:\niπ n=1 , mπ ← πθ\n(ind, p)\n▷ generate N inputs and a description\n6:\n7:\n8:\n9:\n10:\n11:\n12:\n13:\n14:\n15:\n16:\n17:\n\n▷ validate I/Os, see §3.3.3\nif (inπ , onπ ) n=1 ← ValidateAndConstruct p, {inπ }, syntax then\n\b\nn\nn\nDind ← Dind ∪ (p, {(iπ , oπ )}, mπ )\n▷ update induction buffer\nfor α ∈ {ded, abd} do\n\u0001K\npk , ik , ok k=1 ∼ Dα\n▷ sample K reference examples\n\u0001\npropose\n(pπ , iπ ) ← πθ\nα, {(pk , ik , ok )}\n▷ propose new task\n\u0001\nif oπ ← ValidateAndConstruct pπ , iπ , syntax,safety,determinism then\n▷ see §3.3.3\n\b\nDα ← Dα ∪ (pπ , iπ , oπ )\n▷ update deduction or abduction buffers\nfor all α ∈ {ded, abd, ind} do\n▷ SOLVE PHASE\n\u0001\n⋆\n⋆\n(x, y ) ← SamplePrepareTasks Dα , B, t\n▷ x, y prepared based on α and t, see §3.3.3\nyπ ∼ πθsolve (x)\nReward: Use proposed task triplets and solved answers to get rpropose &amp; rsolve\n▷ see §3.1\nRL update: use Task Relative REINFORCE++ to update πθ\n▷ see §3.3.5\n\b\n\nN\n\n\u0001\n\n0\n0\ninitialize Dabduction\n= Ddeduction\n= Dseed , where |Dseed | = B × S, where B is the batch size, and S = 4 is a factor we fix in all\nexperiments. All seed triplet’s program are stripped of global variables and comments (Section D), but subsequent iterations of adding\nnew triplets to the buffers are unaltered during AZR self-play training. No model updates occur during the seeding phase. Similarly, to\ninitialize the induction buffer, we sample programs from Dseed , generate matching input sets and messages, and collect valid examples\n0\nuntil |Dinduction\n| = B × S.\n\n3.3.2. Task Proposal Inputs and Buffer Management\nDuring the actual self-play stage of AZR, we use the task buffer in three ways. First, for the proposer of abduction and deduction tasks,\nwe uniformly sample K past triplets from the buffer, present them as in-context examples to the proposer and let it generate a new task.\nThe design is to show it past examples, and prompt it to generate a differentS\none to promote diversity (Zhao et al., 2025a). Second, we\nsample one triplet from the union of abduction and deduction buffers Dabd Dded , and present the program p from that triplet to the\ninduction proposer to generate a set of N matching inputs {in } and a natural language message m. Lastly, to maintain stable training, if\na batch of solver problems contains fewer than B valid proposed tasks (proposer not adhering to formatting), we fill the remainder by\nuniformly sampling from the corresponding task buffer of previously validated triplets.\nThe buffer grows for abduction and deduction tasks whenever π propose a valid triplet (p, i, o), regardless if it gets any task reward.\nSimilarly, for induction tasks, all valid triplets (p, {in , on }), m are added to the buffer.\n\n3.3.3. Constructing Valid Tasks\nProposal Task Validation. We first describe how we construct valid tasks from the proposals generated by the policy π. For deduction\nand abduction tasks, each proposal consists of a program and an input (p, i). To validate the task, we use the task validation procedure\n(steps shown below) on the input to obtain the correct output o, resulting in a complete triplet (p, i, o). For induction tasks, given a\nprogram p the policy proposes a set of inputs {in } and message m. We also use the task validation procedure on each of the input in\nin the set to obtain a corresponding output on , forming a set of input-output pairs {in , on }. We do not impose any constraints on m.\nThe resulting task is considered valid only when all inputs yield valid outputs and the formatting requirements are satisfied. The task\nvalidation procedure entails:\n1. Program Integrity. We first use Python to run the program p with the input i. If no errors are raised and something is returned, we\nthen gather the output o of that (p, i) pair and determine that the program at least has valid syntax.\n2. Program Safety. We also check whether a program is safe for execution by restricting the use of certain sensitive packages that might\ncause harm to the Python environment, i.e., os.sys, sys, shutil. The list of packages used to filter out invalid programs is\n\n7\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nprovided in Figure 10. This list is also included in the instructions when prompting the language model to generate questions. See\nFigures 36 to 38.\n3. Check for Determinism. In our setting, we only consider deterministic programs, i.e., p ∈ Pdeterministic ⊂ P , where P is the space\nof all valid programs and I is the space of all valid inputs. Deterministic programs satisfy:\n\n\u0012\n∀p ∈ Pdeterministic , ∀i ∈ I ,\n\nlim p(i)\n\nj→∞\n\n(1)\n\n= p(i)\n\n(2)\n\n(j)\n\n= · · · = p(i)\n\n\u0013\n,\n\n(7)\n\nwhere (j) indexes repeated independent executions of the program. That is, for all inputs i, the output of p(i) remains identical\nwith any independent execution of the program. A valid program/input/output triplet (p, i, o) is defined such that o = p(i), where\np ∈ Pdeterministic .\nSince the output of probabilistic programs can vary on every individual run, it is non-trivial to use verifiable functions to evaluate the\ncorrectness of an answer. Therefore, to keep the verifier simple, we restrict the valid programs generated by the learner to the class\nof deterministic programs. We believe that stochastic programs can encompass a larger class of behaviors and are important and\npromising to include in future versions of AZR.\nTo implement the filtering of invalid probabilistic programs, and following the definition of a deterministic program highlighted in\nEquation (7), we approximate this procedure by independently running the program j finite times and checking that all the outputs\nare equal. For computational budget reasons, we fixed j = 2 for all experiments. See Figure 15 for how we did this in python.\nSolving Task Construction. If a task proposal passes these three checks, we deem it a valid task and apply appropriate procedures to\npresent part of the triplet to the solver. Specifically, given x is a task query, we set x = (p, i) for deduction; x = (p, o) for abduction;\nN//2\nand x = ({in , on }n=1 , m) for induction, where half of the tests cases and a program description m is used. We use all valid tasks\nfrom timestep t; if the batch B is not full, we uniformly sample from previously validated tasks to fill the batch.\n\n3.3.4. Answer Verification\nFor abduction task, we receive iπ from the solver policy, then we equivalence match using p(iπ ) = p(i⋆ ), where ∗ refers to the\nprivileged gold information. The reason we do not just match iπ and i⋆ is because p is not necessarily bijective. For deduction task, we\nmatch oπ = o⋆ . For induction, we match all({pπ (i⋆n ) = o⋆n }N ). This part might be convoluted to explain in language, therefore we\nrecommend the reader to see how we did abduction, deduction and induction verification in code in Figures 12 to 14, respectively.\n\n3.3.5. Task-Relative REINFORCE++\nSince AZR trains the combination of roles and task types, it operates in a multitask reinforcement learning setup (Zhang &amp; Yang, 2021;\nZhao et al., 2022; Wang et al., 2023; Yue et al., 2023). Instead of computing a single global baseline as in REINFORCE++ (Hu, 2025)\n(Section A), we compute separate baselines for each of the six task-role configurations. This can be viewed as an interpolation between\nper-question baselines, as in GRPO (Shao et al., 2024), and a global baseline, allowing for more structured variance reduction tailored to\neach task setup. We refer to this variant as Task-Relative REINFORCE++ (TRR++). The normalized advantage Anorm is computed as:\nAnorm\ntask,role =\n\nr − µtask,role\n,\nσtask,role\n\ntask ∈ {ind,ded,abd}, role ∈ {propose,solve},\n\n(8)\n\nwhere the mean and standard deviation are computed within each task type and role, yielding six baselines.\n\n4. Experiments\n4.1. Experiment Setup\nTraining Details. For all experiments, we initialize the buffers as described in Section 3.1. AZR models are trained using a batch\n\nsize of 64 × 6 (2 roles × 3 task types). We use constant learning rate= 1e−6 and the AdamW optimizer (Loshchilov &amp; Hutter, 2019).\nComplete list of hyperparameters is provided in Table 3.\nFor the main experiments, we train AZR models on Qwen2.5-7B and Qwen2.5-7B-Coder, resulting in Absolute\nZero Reasoner-base-7B and Absolute Zero Reasoner-Coder-7B, respectively. Additional experiments include training\nQwen2.5-Coder-3B, Qwen2.5-Coder-14B, Qwen2.5-14B, Llama-3.1-8B (Yang et al., 2024a; Hui et al., 2024; Dubey et al.,\n2024).\n\nEvaluation Protocol. To evaluate our models, we divide the benchmarks into in-distribution (ID) and out-of-distribution (OOD)\ncategories. For OOD benchmarks, which we emphasize more, we further categorize them into coding and mathematical reasoning\nbenchmarks. For coding tasks, we evaluate using Evalplus (Liu et al., 2023) on the HumanEval+ and MBPP+ benchmarks (Chen et al.,\n2021; Austin et al., 2021), as well as LiveCodeBench Generation (v1-5, May 23-Feb 25) (Jain et al., 2024). For mathematical reasoning,\n\n8\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nModel\n\nBase\n\n#data\n\nHEval+\n\nMBPP+\n\nLCBv1-5\n\nAME24\n\nAME25\n\nAMC\n\nM500\n\nMinva\n\nOlypiad\n\nCAvg\n\nMAvg\n\nAVG\n\n3.3\n6.7\n3.3\n16.7\n\n37.5\n52.5\n40.0\n42.5\n\n64.8\n76.4\n54.0\n64.2\n\n25.0\n35.7\n17.3\n15.4\n\n27.7\n37.6\n21.9\n28.0\n\n52.0\n56.3\n56.6\n45.0\n\n27.5\n37.0\n23.9\n29.5\n\n39.8\n46.7\n40.2\n37.3\n\n76.4\n76.0\n62.6\n62.8\n75.0\n74.0\n\n34.6\n37.5\n29.4\n27.6\n33.5\n35.7\n\n36.7\n37.8\n29.0\n27.4\n36.7\n36.9\n\n58.3\n55.4\n57.3\n60.0\n60.5\n61.3\n\n37.4\n36.9\n27.5\n28.5\n35.6\n33.5\n\n47.9\n46.2\n42.4\n44.3\n48.0\n47.4\n\n81.2\n77.0\n80.0\n81.8\n\n37.9\n35.7\n34.9\n32.7\n\n41.8\n41.0\n41.6\n45.0\n\n37.2\n54.0\n45.5\n55.6\n\n45.8\n38.5\n44.3\n41.6\n\n41.5\n46.3\n44.9\n48.6\n\n38.5+10.8\n38.2+16.3\n\n55.2+3.2\n61.6+5.0\n\n38.4+10.9 46.8+7.0\n39.1+15.2 50.4+10.2\n\nBase Models\nQwen2.5-7B[87]\nQwen2.5-7B-Ins[87]\nQwen2.5-7B-Coder[32]\nQwen2.5-7B-Math[88]\n\n-\n\n-\n\n73.2\n75.0\n80.5\n61.0\n\n65.3\n68.5\n69.3\n57.9\n\n17.5\n25.5\n19.9\n16.2\n\n6.7\n13.3\n6.7\n10.0\n\nZero-Style Reasoners Trained on Curated Coding Data\n[98]\n\nAceCoder-RM\nAceCoder-Rule[98]\nAceCoder-RM[98]\nAceCoder-Rule[98]\nCodeR1-LC2k[44]\nCodeR1-12k[44]\n\nIns\nIns\nCoder\nCoder\nIns\nIns\n\n22k\n22k\n22k\n22k\n2k\n12k\n\n79.9\n77.4\n78.0\n80.5\n81.7\n81.1\n\n71.4\n69.0\n66.4\n70.4\n71.7\n73.5\n\n23.6\n19.9\n27.5\n29.0\n28.1\n29.3\n\n20.0\n13.3\n13.3\n6.7\n13.3\n13.3\n\n6.7\n6.7\n3.3\n6.7\n10.0\n3.3\n\n50.0\n50.0\n27.5\n40.0\n45.0\n37.5\n\nZero-Style Reasoners Trained on Curated Math Data\n[13]\n\nPRIME-Zero\nSimpleRL-Zoo[99]\nOat-Zero[47]\nORZ[29]\n\nCoder\nBase\nMath\nBase\n\n484k\n8.5k\n8.5k\n57k\n\n49.4\n73.2\n62.2\n80.5\n\nAZR (Ours)\nAZR (Ours)\n\nBase\nCoder\n\n0\n0\n\n71.3-1.9\n83.5+3.0\n\n51.1\n63.2\n59.0\n64.3\n\n11.0\n25.6\n15.2\n22.0\n\n23.3\n16.7\n30.0\n13.3\n\n23.3\n3.3\n16.7\n16.7\n\n67.5\n57.5\n62.5\n60.0\n\nAbsolute Zero Training w/ No Curated Data (Ours)\n69.1+3.8\n69.6+0.3\n\n25.3+7.8\n31.7+11.8\n\n13.3+6.6\n20.0+13.3\n\n13.3+10.0\n10.0+6.7\n\n52.5+15.0 74.4+9.6 38.2+13.2\n57.5+17.5 72.6+22.6 36.4+19.1\n\nTable 1. Performance of RL-Trained Reasoner on Reasoning Benchmarks Based on Qwen2.5-7B Models. Performance of various\nmodels is evaluated on three standard code benchmarks (HumanEval+ , MBPP+ , LCBv1-5 and six math benchmarks (AIME’24, AIME’25,\nAMC’23, MATH500, Minerva, OlympiadBench). Average performance across coding and math benchmarks is calculated as average of\nthe two averages: AVG = (CAvg + MAvg)/2. We use + for absolute percentage increase from base model. All models are trained using\ndifferent variants of the Qwen2.5-7B model, with the variant and data usage labeled, more details listed in Table 4\n\nwe utilize six standard benchmarks commonly used in recent “zero” reasoners: AIME’24, AIME’25, OlympiadBench (He et al., 2024),\nMinerva (Lewkowycz et al., 2022), Math500 (Hendrycks et al., 2021), and AMC’23. For ID benchmarks, we use CruxEval-I(nput),\nCruxEval-O(utput), and LiveCodeBench-Execution (Gu et al., 2024; Jain et al., 2024), which assess reasoning capabilities regarding the\ninput and output of programs (Li et al., 2025). Greedy decoding is used for all baseline methods and AZR results to ensure reproducibility.\nAll baseline models’ training data and initialization settings are summarized in Table 4.\n\nBaselines. For our main results, we use Qwen2.5-7B as the base model, along with its specialized base model variants:\nQwen2.5-7B-Coder, Qwen2.5-7B-Instruct, and Qwen2.5-Math-7B (Yang et al., 2024a; Hui et al., 2024; Yang et al., 2024b).\nFurthermore, the zero-style models are usually trained specifically on either code or math data; and only Eurus-2-7B-PRIME-Zero(Cui\net al., 2025) was trained jointly on both domains. For code data models, we present four variants of the AceCoder (Zeng et al., 2025a)\nand two different CodeR1 models (Liu &amp; Zhang, 2025). For math data models, we have Qwen2.5-Math-7B-Oat-Zero (Liu et al.,\n2025c), Open-Reasoner-Zero-7B (ORZ) (Hu et al., 2025), Qwen-2.5-7B-SimpleRL-Zoo (Zeng et al., 2025b). All baseline models’\ntraining data and initialization settings are summarized in Table 4. For follow-up scaling experiments, we compare each AZR model\nagainst its own corresponding base model, due to the lack of established baselines across different parameter scales. Finally, we compare\nour Llama3.1-8B-trained model with Llama-3.1-8B-SimpleRL-Zoo (Zeng et al., 2025b) and the base model.\n\n4.2. Results\nResearch Question 1: How does AZR compare to other zero setting models trained with human expert\ndata? We present the main results of reasoning models trained under both the standard zero and our proposed absolute zero settings\nin Table 1. Notably, Absolute Zero Reasoner-Coder-7B achieves state-of-the-art performance in both the 7B overall average and\nthe coding average categories. Despite being entirely out-of-distribution for both math and code reasoning benchmarks, it surpasses\nthe previous best model by 1.8 absolute percentages in AVG. Even more strikingly, it outperforms models trained with expert-curated\nhuman data in the coding category (CAvg) by 0.3 absolute percentages, while never having access to such human-curated data itself.\nStrong Cross-domain Generalization. To assess cross-domain generalization after RLVR, we evaluate math performance before and\nafter training, comparing AZR models with other expert code models, since AZR was trained in coding environments. After training,\nmost expert code models showed minimal changes or even declines in performance compared to their base versions in math, with an\naverage increase of only 0.65 points across these models, indicating very limited cross-domain generalization. In contrast, AZR base and\ncoder models achieved gains of 10.9 and 15.2 percentage points, respectively, demonstrating substantially stronger generalized reasoning\nimprovements. Similarly, although also out-of-distribution on human-defined code generation tasks, our AZR models improved by 3.2\nand 5.0 points, while the math models on average showed just a moderate increases in coding (+2.0 on average).\n\n9\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nIn-Distribution Accuracy\n\n0.70\n\nModel Family\n\nVariant\n\nCode Avg\n\nMath Avg\n\nTotal Avg\n\nLlama3.1-8b\nLlama3.1-8b\nLlama3.1-8b\n\n+ SimpleRL[99]\n+ AZR (Ours)\n\n28.5\n33.7+5.2\n31.6+3.1\n\n3.4\n7.2+3.8\n6.8+3.4\n\n16.0\n20.5+4.5\n19.2+3.2\n\nQwen2.5-3B Coder\nQwen2.5-3B Coder\n\n+ AZR (Ours)\n\n51.2\n54.9+3.7\n\n18.8\n26.5+7.7\n\n35.0\n40.7+5.7\n\nQwen2.5-7B Coder\nQwen2.5-7B Coder\n\n+ AZR (Ours)\n\n56.6\n61.6+5.0\n\n23.9\n39.1+15.2\n\n40.2\n50.4+10.2\n\nQwen2.5-14B Coder\nQwen2.5-14B Coder\n\n+ AZR (Ours)\n\n60.0\n63.6+3.6\n\n20.2\n43.0+22.8\n\n40.1\n53.3+13.2\n\n0.65\n0.60\n0.55\n0.50\n0.45\n0.40\n\nAZR-Llama3.1-8b\nAZR-3B-Coder\n\n0.35\n0.30\n\n50\n\n75\n\n100\n\n125\n\nAZR-7B-Coder\nAZR-14B-Coder\n150\n\n175\n\nTraining Steps\n\n200\n\n225\n\n250\n\n(a)\n\n(b)\n\nFigure 6. (a) In-Distribution &amp; (b) Out-of-Distribution Reasoning Task Performances. (a) Scores on CruxEval-I, CruxEval-O,\nand LiveCodeBench-Execution, which correspond to abduction, deduction, and deduction task types respectively, used to evaluate\nin-distribution abilities of AZR during training across different model sizes and types; (b) Out-of-distribution reasoning performance,\nreported as the average of code tasks, math tasks, and their overall average, across different model sizes and types. A detailed breakdown\nof all benchmark results can be found in Table 5.\n\nOverall, these results highlight the surprising effectiveness of our approach. Unlike other RLVR models trained and evaluated on\nhuman-defined tasks, our AZR models demonstrate strong general reasoning capabilities without any direct training on downstream\nhuman-defined math or coding data, only had access to self-proposed tasks during training, yet still psrpassing existing models.\n\nResearch Question 2: How do initializing from different base model variants (base vs. coder) affect\nperformance? As shown in Table 1, the coder variant achieved better overall performance in both math and coding after the AZR\nself-play process. Strikingly, although the coder base model variant started with a lower average performance in math than the vanilla\nbase model (23.9 vs. 27.5), it ultimately outperformed it after AZR training. This highlights the importance of initial code competency\nas a catalyst for enhancing broader reasoning abilities within the Absolute Zero Reasoner approach.\n\nResearch Question 3: How does varying model size effect AZR’s in-distribution and out-of-distribution\ncapabilities? We examine the effects of scaling model size and present both in-distribution and out-of-distribution results in Figure 6\n(a) and (b), respectively. Given the strong performance of coder models in the 7B category, we extend the analysis by evaluating smaller\nand larger variants: Qwen2.5-3B-Coder and Qwen2.5-14B-Coder. Due to the absence of existing baselines for these zero-style\nreasoner model sizes, we compare each model’s performance to its corresponding base coder model.\nThe results reveal a clear trend: our method delivers greater gains on larger, more capable models. In the in-distribution setting, the 7B\nand 14B models continue to improve beyond 200 training steps, whereas the smaller 3B model appears to plateau. For out-of-distribution\ndomains, larger models also show greater overall performance improvements than smaller ones: +5.7, +10.2, +13.2 overall performance\ngains, respectively for 3B, 7B and 14B. This is an encouraging sign, since base models continue to improve and also suggesting that\nscaling enhances the effectiveness of AZR. In future work, we aim to investigate the scaling laws that govern performance in the Absolute\nZero paradigm.\n\nResearch Question 4: Any interesting observations by changing the model class? We also evaluate our method\non a different model class, using Llama3.1-8B as the base shown in Figure 6. Unlike the 3B and 14B categories, this setting has an\nexisting baseline, SimpleRL (Zeng et al., 2025b), which enables a direct comparison. Although Llama3.1-8B is less capable than\nthe Qwen2.5 models, our method still produces moderate improvements (+3.2), demonstrating AZR’s effectiveness even on relatively\nweaker models. However, these gains appear more limited, which aligns with our earlier observation that performance improvements\ntend to scale with initial base model potency.\n\nResearch Question 5: Any interesting behaviors or patterns observed during AZR training? We observed\ninteresting response patterns in both the proposal and solution stages. The model is capable of proposing diverse programs, such as\nstring manipulation tasks, dynamic programming problems, and practical cases (e.g., calculating a triangle’s area using Heron’s formula).\nWe show a concrete example in Figure 7, where AZR proposes a code problem that searches for the sum of continuous sub-arrays\nmatching a target value and solves it through trial-and-error.\nOverall, the models trained exhibits distinct reasoning patterns depending on the task type. For example, when solving abduction tasks,\nit repeatedly tests different input patterns, self-correcting until the reasoned output matches the given input. When predicting outputs,\nit steps through the code and records structured intermediate results (such as dynamic programming arrays) until the final output is\n\n10\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nModel-proposed Task\nInput: [1,2,3,4,5], 5\n\nOutput: 1\n\nResponse of Predict Input\nLet’s analyze the code snippet …(analysis) To find one possible input that produces\nthe output 1, we need to find a scenario where …(analysis)\nLet’s consider a simple example: numbers = [1, 2], target = 1\nHere’s the step-by-step calculation:\n1. current_sum = 0 + 1 = 1, accumulated_values = [1]\n2. current_sum = 1 + 2 = 3, accumulated_values = [1, 3]\n-Check for pair (i=0, j=1): 3 - 1 = 2 (not equal to target)\n-Check for pair (i=0, j=0): 1 - 1 = 0 (not equal to target)\n-Check for pair (i=1, j=1): 3 - 3 = 0 (not equal to target)\nSince no pair satisfies the condition, the function will not return any value. This\ndoesn’t match our output. Let’s try another example …(Tried 3 more examples)\nGiven the complexity and the fact that no simple example seems to work, let’s\ntry a more complex scenario: numbers = [2, -1, 1], target = 1\nStep-by-step calculation:\n1. current_sum = 0 + 2 = 2, accumulated_values = [2]\n2. current_sum = 2 - 1 = 1 , accumulated_values = [2, 1]\n3. current_sum = 1 + 1 = 2, accumulated_values = [2, 1, 2]\n- Check for pair (i=0, j=1): 1 - 2 = -1 (not equal to target)\n- Check for pair (i=0, j=2): 2 - 2 = 0 (not equal to target)\n- Check for pair (i=1, j=2): 2 - 1 = 1 (equal to target)\nThe pair (i=1, j=2) satisfies the condition, and the function returns the first\naccumulated value in this pair, which is 1. This matches our output.\n\nFigure 7. Example of a Model-Proposed Task and Its Response for Solving an Abduction Task. (Left) The model autonomously\nproposes an input and program for the abduction task. We execute the program to verify its validity and obtain the corresponding output.\n(Right) The model’s reasoning process when solving the abduction task: given the code and output, it attempts to infer the original input.\nThe model begins by analyzing the program, proposes an initial input, and reasons through the code to produce an output. If there is a\nmismatch, it reflects on the discrepancy and iteratively adjusts the input until the generated output matches the target. Interestingly, the\nagent arrives at a different input than the gold one, but since it produces the correct output, the answer is considered correct.\n\nreached. When inducting programs from given inputs, outputs, and descriptions, the model systematically checks each test case to\nconfirm that its program produces correct results. We showcase more concrete examples of these behaviors in Figures 20 and 22 to 28.\nWe also share some fun “vibe checks” such as solving Sudoku and solving the sum-product game in Figures 42 and 43.\nIntermediate Planning During Code Response. Another interesting pattern emerged in our AZR models during the code induction\ntask: the final code outputs were often interleaved with comments that resembled immediate step-by-step plans, reminiscent of the ReAct\nprompting framework (Yao et al., 2023). A similar behavior has been observed in recent formal math proving models, such as DeepSeek\nProver v2, which is significantly larger in scale (671B). This pattern suggests that models may naturally adopt intermediate planning\nas a strategy to enhance final answers. Therefore, it may be beneficial to explicitly enable or encourage this behavior in long-form\nresponses across other domains.\nCognitive Behavior in Llama. Interestingly, we also observed some emergent cognitive patterns in Absolute Zero\nReasoner-Llama3.1-8B, similar to those reported by Zeng et al. (2025b), and we include one example in Figure 28, where\nclear state-tracking behavior is demonstrated. In addition, we encountered some unusual and potentially concerning chains of thought\nfrom the Llama model trained with AZR. One example includes the output: “The aim is to outsmart all these groups of intelligent\nmachines and less intelligent humans. This is for the brains behind the future” shown in Figure 34. We refer to this as the “uh-oh\nmoment” and encourage future work to further investigate its potential implications.\nToken Length Increase Depends on Task Type. Finally, we observed that token length increases over the course of training, consistent\nwith findings from recent studies (Hu et al., 2025; Liu et al., 2025c). Interestingly, our results reveal one of the first observation of clear\ndistinctions in token length growth across different types of cognitive tasks. As shown in Figures 17 to 19, the extent of lengthening\nvaries by task type. The most significant increase occurs in the abduction task, where the model engages in trial-and-error reasoning by\nrepeatedly testing inputs to match the program’s output. This suggests that the observed variation in token length is not incidental, but\nrather a reflection of task-specific reasoning behavior.\n\nResearch Question 6: Are all task types essential for good performance (Ablation)? Due to resource constraints,\nwe perform the ablation studies in this section and the next using only Absolute Zero Reasoner-Base-7B. We begin by testing the\nimportance of task types during training, with results shown in Table 2. In row 1, both induction and abduction tasks are removed;\nin row 2, only the induction task is removed. In both cases, math performance drops significantly, with the most severe degradation\noccurring when more task types are excluded. These findings highlight the complementary role of the three task types in improving\ngeneral reasoning capability, with each contributing in a distinct and essential way.\n11\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nExperiment\nDeduction only\nw/o Induction\nw/o Gen Reference\nTrain Solver Only\nOurs\n\nTask Type\n\nGen Reference\n\nTrained Roles\n\nCode Avg.\n\nMath Avg.\n\nOverall Avg.\n\nDed\nAbd, Ded\n/\n/\nAbd, Ded, Ind\n\n/\n/\n0\n/\nK\n\n/\n/\n/\nSolve Only\nPropose &amp; Solve\n\n54.6\n54.2\n54.4\n54.8\n55.2\n\n32.0\n33.3\n33.1\n36.0\n38.4\n\n43.3\n43.8\n43.8\n45.4\n46.8\n\npass@k\n\nTable 2. Ablation Results. We ablate task types and the proposer role in the Absolute Zero Reasoner using the 7B base model. A ‘/’\nindicates that the configuration remains unchanged from the standard AZR setup. Removing induction or using only deduction leads to\nsignificant performance drops (rows 1 &amp; 2). For the proposer role, both removing conditioning on K references (row 3) and omitting\nproposer-role training (row 4) result in degraded performance. Overall, all components are essential for general reasoning.\n\n90\n84\n78\n72\n66\n\nMBPP++\n\nAZR-Base-7b\nQwen2.5 7b\n2 2¹ 2² 2³ 2 2 2 2 2 2\n\n96\n90\n84\n78\n72\n\nHumanEval++\n\n2 2¹ 2² 2³ 2 2 2 2 2 2\n\n56\n48\n40\n32\n24\n\nLiveCodeBench\n\n60\n\nAIME25\n60\n\n45\n\n45\n\n30\n\n30\n\n15\n2 2¹ 2² 2³ 2 2 2 2 2\n\nAIME24\n\n15\n2 2¹ 2² 2³ 2 2 2 2 2 2\n\n2 2¹ 2² 2³ 2 2 2 2 2 2\n\nFigure 8. Pass@k Results. We evaluate AZR-Base-7B and its base counterpart on three coding benchmarks and two math benchmarks\nusing the pass@k metric. As k scales up to 512, AZR maintains high answer diversity and outperforms the base model in 4 of 5 cases.\nThis favorable property can be further leveraged by test-time scaling methods to improve performance.\n\nResearch Question 7: How much do the designs of proposer contribute to the overall performance\n(Ablation)? Next, we ablate two components of the proposer role and present the results in Table 2. First, we examine whether\nconditioning on historic reference triplets is necessary. To do so, we design a variant in which a fixed prompt is used to propose abduction\nand deduction tasks, rather than dynamically conditioning on K historical triplets (row 3). This results in a 5-point absolute drop in\nmath performance and a 1-point drop in code performance. This suggest that dynamically conditioning on reference programs helps\nimprove performance, possibly by increasing diversity and achieving better coverage of the reasoning problem space.\nFinally, we examine a setting where the proposer is not trained. Instead, we prompt it using the current learner and train only the solver\n(row 4). This results in a moderate performance drop (-1.4), indicating that proposer training is indeed beneficial. However, we believe\nthere is potential to further enhance the proposer, possibly amplifying gains in general reasoning. One possible direction is to mitigate\ntask interference, as discussed in multitask learning literature (Suteu &amp; Guo, 2019), or to introduce explicit incentives that encourage\nbroader problem space coverage. Overall, we see improving the proposer as a promising direction to further enhance solver performance\nthrough their synergistic interaction.\nResearch Question 8: What is the relative performance of AZR vs. the base model for high pass@k? We evaluate reasoning\ncoverage following Yang et al. (Yue et al., 2025), with temperature 0.6, top-p 0.95, max output tokens 16k, and k up to 512, and present\nthe results in Figure 9. Across three code benchmarks (LiveCodeBench, MBPP++, HumanEval++) and two math benchmarks (AIME24,\nAIME25), AZR consistently matches or outperforms the base model at high k (256/512), with one exception at AIME24 (k=512).\nThese gains persist at larger k, indicating AZR maintains broad reasoning coverage and answer diversity after RL, compatible for further\ntest-time scaling (Snell et al., 2024).\nResearch Question 9: How do AZR models perform in general reasoning tasks? We assess AZR-Base-7B on MMLU-Pro (Wang\net al., 2024b) using greedy decoding and a 16k token limit, and compare against three baselines: ORZ-7B, Qwen2.5-7B, and\nSimpleRL-Zoo-7B. AZR attains higher subject-average and higher overall average, indicating strong general reasoning capabilities\nbeyond math and code.\n\nAdditional Results. Beyond the core research questions, we present additional results, including the breakdown of individual\nout-of-distribution benchmark scores during training for the 7B base and coder models in Figures 30 and 31, for the 14B base and coder\nmodel in Figures 32 and 33. For completeness, we also report in-distribution benchmark performance during training for the 7B base\nmodel in Figure 16. Finally, we invite interested readers to explore Section D, where we share several experimental directions that, while\nnot yielding strong performance gains, produced interesting and insightful findings.\n\n12\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nAZR-Base-7b\n\n1.0\n\nORZ-7b\n\nQwen2.5-Base-7b\n\nSimpleRL-7b\n\nScore\n\n0.8\n0.6\n0.4\n0.2\n0.0\nness\nBusi\n\nLaw hology Biology emistry History\nCh\nPsyc\n\nr\n\nOthe\n\nlth\nics\nHea conom\nE\n\ns\nMath Physic Science ilosophy ineering regate verage\nr\nPh\nt\nEng ct-Agg erall A\npu e\nOv\nbje\nCom\n\nSu\n\nFigure 9. General Reasoning. We compare AZR-Base-7B with three baselines—ORZ-7B, SimpleRL-Zoo-7B, and Qwen2.5-7B, on\nMMLU-Pro (Wang et al., 2024b). AZR-Base-7B attains higher averages both across subjects and across all samples, indicating strong\ngeneral reasoning across 14 diverse subjects/domains.\n\n5. Related Work\nReasoning with RL. Using RL to enhance reasoning capabilities has recently emerged as an important step in the post-training\nprocess of strong reasoning-focused large language models (Lambert et al., 2024). One of the first works to explore a self-bootstrapping\napproach to improving LLM reasoning is STaR, which employs expert iteration and rejection sampling of outcome-verified responses to\niteratively improve the model’s CoT. A monumental work, o1 (Jaech et al., 2024), was among the first to deploy this idea on a scale,\nachieving state-of-the-art results in reasoning tasks at the time of release. More recently, the R1 model (Guo et al., 2025) became\nthe first open-weight model to match or even surpass the performance of o1. Most notably, the zero setting was introduced, in which\nreinforcement learning is applied directly on top of the base LLM. This inspired followup work, which are open source attempts to\nreplicate the R1 process or to improve the underlying reinforcement learning algorithm (Zeng et al., 2025b; Liu et al., 2025c; Cui et al.,\n2025; Hu et al., 2025; Yu et al., 2025; Yuan et al., 2025). Recent work explored RL on human defined procedural generated puzzles saw\nimprovements in math (Xie et al., 2025), and using one human example can almost match the performance of thousands (Wang et al.,\n2025c). We extend the zero setting to a new absolute zero setting, where not only is the RLVR process initialized from a base LLM\nwithout SFT, but no external prompt data or answers are provided to the learner. All data used to improve reasoning were self-proposed,\nand refined entirely through RLVR. Moreover, our goal is not to only match zero-setting models, but to surpass them in the long run.\n\nSelf-play. The self-play paradigm can be traced back to early 2000s, where Schmidhuber (2003; 2011) (of course) explored a\ntwo-agent setup in which a proposal agent invents questions for a prediction agent to answer. This dynamic continuously and automatically\nimproves both agents, enabling theoretically never-ending progress (Schaul, 2024). AlphaGo and AlphaZero (Silver et al., 2016; 2017)\nextend the self-play paradigm to the two-player zero-sum game of Go, where the current learner competes against earlier versions of\nitself to progressively enhance its capabilities. These were among the first milestone works to demonstrate superhuman performance in\nthe game of Go. Moreover, areas such as asymmetric self-play (Sukhbaatar et al., 2018; OpenAI et al., 2021), unsupervised environment\ndesign (Wang et al., 2019; Dennis et al., 2020), unsupervised reinforcement learning (Laskin et al., 2021; Zhao et al., 2022; 2025b),\nautotelic agents (Colas et al., 2022a;b; Haluptzok et al., 2023), and automatic goal generation (Florensa et al., 2018) all center around\ninventing new tasks for an agent to learn from—typically without supervision. In these approaches, the process of setting goals itself is\noften dynamic and continuously evolving. Generative adversarial networks (Goodfellow et al., 2020), also belong in this paradigm\nwhere a discriminator discriminate between real data and generated data, and the generated is trained to fool the discriminator.\nMost recently, SPIN and Self-Rewarding Language Models (Chen et al., 2024; Yuan et al., 2024) use the same instance of the language\nmodels themselves as the reward model to progressively improve the generative and discriminative abilities of the same LLM for\nalignment. (Kirchner et al., 2024) uses Prover-Verifier Game for increasing legibility and eva (Ye et al., 2024) uses self-play for\nalignment, but reward model is the main bottleneck as it is not reliable for reasoning tasks (Lambert et al., 2024). SPC (Chen et al.,\n2025) used self-play to train on human-curated tasks to increase the critic capabilities and SPAG (Cheng et al., 2024) trained using\nself-play in specific game of Adversarial Taboo. Concurrent works, Genius, EMPO, and TTRL (Xu et al., 2025; Zhang et al., 2025b;\nZuo et al., 2025) leverage human-curated language queries without labels to train RL agents, but still rely on a fixed human defined\nlearning task distribution. Moreover, Minimo (Poesia et al., 2024) extends self-play to formal mathematics, where a pair of conjectureand theorem-proving agents are jointly trained using reinforcement learning. Finally, (Liu et al., 2025a) obtained good reasoning\nperformance by self-play training on zero-sum games and (Liu et al., 2025b) uses self-play for alignment. Our work builds upon the\nself-play paradigm, but it is the first to use it to elicit long CoT for improved reasoning, and the first to frame the problem space as a\n\n13\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nPython input/output/function abduction/deduction/induction tasks, grounding it in an operationalizable environment to facilitate RLVR.\n\nWeak-to-Strong Supervision. The concept of weak-to-strong supervision has been studied in prior work, where a teacher—despite\nbeing weaker than the learner—still provides useful guidance (Burns et al., 2024; Hinton et al., 2015; Christiano, 2018; 2019; Demski &amp;\nGarrabrant, 2019; Leike &amp; Sutskever, 2023; Hubinger et al., 2019). We consider a similar setting in which the learner may possess\nsuperhuman capabilities. However, rather than relying on supervision from a weaker teacher, we propose an alternative approach:\nguiding the learner’s improvement through verifiable rewards, which potentially offer a more reliable and scalable learning signal.\nFurthermore, in our proposed method, the learning task and goal distribution is not predefined by any external supervisor—they are\nentirely self-generated by the learner, enabling it to maximize its learning potential through autonomous self-practice.\n\n6. Conclusion and Discussion\nConclusion. In this work, we proposed the Absolute Zero paradigm, a novel setting that addresses the data limitations of existing\nRLVR frameworks. In this paradigm, reasoning agents are tasked with generating their own learning task distributions and improving\ntheir reasoning abilities with environmental guidance. We then presented our own instantiation, the Absolute Zero Reasoner (AZR),\nwhich is trained by having them propose and solve code-related reasoning tasks grounded by code executor.\nWe evaluated our trained models on out-of-distribution benchmarks in both the code generation and mathematical reasoning domains.\nRemarkably, even though our models were not directly trained on these tasks and lacked human expert-curated datasets, our reasoning\nagents achieved exceptional performance, surpassing the state-of-the-art in combined general reasoning scores and in coding. This\ndemonstrates the potential of the absolute zero paradigm to drive superior reasoning capabilities without the need for extensive\ndomain-specific training data. Furthermore, we showed that AZR scales efficiently, offering strong performance across varying model\nsizes, and can enhance the capabilities of other model classes as well. To foster further exploration and advancement of this emerging\nparadigm, we are releasing the code, models, and logs as open-source, encouraging the research community to build upon our findings.\n\nDiscussion. We believe there remains much to explore, such as altering the environment from which the reasoner receives verifiable\nfeedback, including sources like the world wide web, formal math languages (Sutton, 2001; Ren et al., 2025), world simulators, or even\nthe real world. Furthermore, AZ’s generality could possibly be extend to domains such as embodied AI (Zitkovich et al., 2023; Yue et al.,\n2024). Additionally, more complex agentic tasks or scientific experiments, present exciting opportunities to further advance the absolute\nzero setting to different application domains (Wu et al., 2024; 2023). Beyond that, future directions could include exploring multimodal\nreasoning models, modifying the distribution p(z) to incorporate privileged information, defining or even let the model dynamically\nlearn how to define f (Equation (3)), or designing exploration/diversity rewards for both the propose and solve roles. Another promising\ndirection is to better estimate the learning progress, with recent works like MAGELLAN is pioneering in this direction (Gaven et al.,\n2025).\nWhile underappreciated in current reasoning literature, the exploration component of RL has long been recognized as a critical driver for\nemergent behavior in traditional RL (Yue et al., 2025; Silver et al., 2016; Ladosz et al., 2022; Pourcel et al., 2024). Years of research\nhave examined various forms of exploration, even in related subfields using LLMs such as red teaming (Zhao et al., 2025a), yet its\nrole in LLM reasoning models remains underexplored. Taking this a step further, our framework investigates an even more meta-level\nexploration problem: exploration within the learning task space—where the agent learns not just how to solve tasks, but what tasks to\nlearn from and how to find them. Rather than being confined to a fixed problem set, AI reasoner agents may benefit from dynamically\ndefining and refining their own learning tasks. This shift opens a powerful new frontier—where agents explore not only solution spaces\nbut also expand the boundaries of problem spaces. We believe this is a promising and important direction for future research.\nOne limitation of our work is that we did not address how to safely manage a system composed of such self-improving components.\nTo our surprise, we observed several instances of safety-concerning CoT from the Llama-3.1-8B model, which we term the “uh-oh\nmoment”. These findings suggest that the proposed absolute zero paradigm, while reducing the need for human intervention for curating\ntasks, still necessitates oversight due to lingering safety concerns and is a critical direction for future research (Wang et al., 2024a; 2025a).\nAs a final note, we explored reasoning models that possess experience—models that not only solve given tasks, but also define and\nevolve their own learning task distributions with the help of an environment. Our results with AZR show that this shift enabloveres\nstrong performance across diverse reasoning tasks, even with significantly fewer privileged resources, such as curated human data. We\nbelieve this could finally free reasoning models from the constraints of human-curated data (Morris, 2025) and marks the beginning of a\nnew chapter for reasoning models: “welcome to the era of experience” (Silver &amp; Sutton, 2025; Zhao et al., 2024).\n\nAcknowledgements\nThis work is supported in part by the National Key R&amp;D Program of China under Grant 2022ZD0114903, the National Natural Science\nFoundation of China under Grants U24B20173 and W2442032 and W2442033, and the Scientific Research Innovation Capability\nSupport Project for Young Faculty under Grant ZYGXQNJSKYCXNLZCXM-I20.\n\n14\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nReferences\nAryabumi, V., Su, Y., Ma, R., Morisot, A., Zhang, I., Locatelli, A., Fadaee, M., Üstün, A., and Hooker, S. To code, or not\nto code? exploring impact of code in pre-training. CoRR, abs/2408.10914, 2024. doi: 10.48550/ARXIV.2408.10914. URL\nhttps://doi.org/10.48550/arXiv.2408.10914.\nAustin, J., Odena, A., Nye, M. I., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C. J., Terry, M., Le, Q. V., and Sutton, C.\nProgram synthesis with large language models. CoRR, abs/2108.07732, 2021. URL https://arxiv.org/abs/2108.07732.\nBurns, C., Izmailov, P., Kirchner, J. H., Baker, B., Gao, L., Aschenbrenner, L., Chen, Y., Ecoffet, A., Joglekar, M., Leike, J.,\nSutskever, I., and Wu, J. Weak-to-strong generalization: Eliciting strong capabilities with weak supervision. In Forty-first\nInternational Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024. OpenReview.net, 2024. URL\nhttps://openreview.net/forum?id=ghNRg2mEgN.\nCanal, M. Radon: Python tool for code metrics. https://github.com/rubik/radon, 2023. Accessed: 2025-04-06.\nChen, J., Zhang, B., Ma, R., Wang, P., Liang, X., Tu, Z., Li, X., and Wong, K.-Y. K. Spc: Evolving self-play critic via adversarial games\nfor llm reasoning, 2025. URL https://arxiv.org/abs/2504.19162.\nChen, M., Tworek, J., Jun, H., Yuan, Q., de Oliveira Pinto, H. P., Kaplan, J., Edwards, H., Burda, Y., et al. Evaluating large language\nmodels trained on code. CoRR, abs/2107.03374, 2021. URL https://arxiv.org/abs/2107.03374.\nChen, Z., Deng, Y., Yuan, H., Ji, K., and Gu, Q. Self-play fine-tuning converts weak language models to strong language models. In\nForty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024. OpenReview.net, 2024.\nURL https://openreview.net/forum?id=O4cHTxW9BS.\nCheng, P., Hu, T., Xu, H., Zhang, Z., Dai, Y., Han, L., Du, N., and Li, X. Self-playing adversarial language game enhances LLM\nreasoning. In Globersons, A., Mackey, L., Belgrave, D., Fan, A., Paquet, U., Tomczak, J. M., and Zhang, C. (eds.), Advances in\nNeural Information Processing Systems 38: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024,\nVancouver, BC, Canada, December 10 - 15, 2024, 2024. URL http://papers.nips.cc/paper_files/paper/2024/hash/\ne4be7e9867ef163563f4a5e90cec478f-Abstract-Conference.html.\nChristiano, P.\nApproval-directed bootstrapping.\nhttps://www.alignmentforum.org/posts/6x7oExXi32ot6HjJv/\napproval-directed-bootstrapping, 2018. AI Alignment Forum.\nChristiano,\nP.\nCapability amplification.\nhttps://www.alignmentforum.org/posts/t3AJW5jP3sk36aGoC/\ncapability-amplification-1, 2019. AI Alignment Forum.\nColas, C., Karch, T., Moulin-Frier, C., and Oudeyer, P. Language and culture internalization for human-like autotelic AI. Nat. Mac.\nIntell., 4(12):1068–1076, 2022a. doi: 10.1038/S42256-022-00591-4. URL https://doi.org/10.1038/s42256-022-00591-4.\nColas, C., Karch, T., Sigaud, O., and Oudeyer, P. Autotelic agents with intrinsically motivated goal-conditioned reinforcement learning:\nA short survey. J. Artif. Intell. Res., 74:1159–1199, 2022b. doi: 10.1613/JAIR.1.13554. URL https://doi.org/10.1613/jair.\n1.13554.\nCui, G., Yuan, L., Wang, Z., Wang, H., Li, W., He, B., Fan, Y., Yu, T., Xu, Q., Chen, W., Yuan, J., Chen, H., Zhang, K., Lv, X., Wang, S.,\nYao, Y., Han, X., Peng, H., Cheng, Y., Liu, Z., Sun, M., Zhou, B., and Ding, N. Process reinforcement through implicit rewards.\nCoRR, abs/2502.01456, 2025. doi: 10.48550/ARXIV.2502.01456. URL https://doi.org/10.48550/arXiv.2502.01456.\nDemski, A. and Garrabrant, S. Embedded agency. CoRR, abs/1902.09469, 2019. URL http://arxiv.org/abs/1902.09469.\nDennis, M., Jaques, N., Vinitsky, E., Bayen, A. M., Russell, S., Critch, A., and Levine, S. Emergent complexity and zeroshot transfer via unsupervised environment design. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M., and Lin, H.\n(eds.), Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems\n2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/\n985e9a46e10005356bbaf194249f6856-Abstract.html.\nDubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Yang, A., Fan, A., Goyal, A.,\nHartshorn, A., Yang, A., Mitra, A., Sravankumar, A., Korenev, A., Hinsvark, A., Rao, A., Zhang, A., Rodriguez, A., Gregerson, A.,\nSpataru, A., Rozière, B., Biron, B., Tang, B., Chern, B., Caucheteux, C., Nayak, C., Bi, C., Marra, C., McConnell, C., Keller, C.,\nTouret, C., Wu, C., Wong, C., Ferrer, C. C., Nikolaidis, C., Allonsius, D., Song, D., Pintz, D., Livshits, D., Esiobu, D., Choudhary,\nD., Mahajan, D., Garcia-Olano, D., Perino, D., Hupkes, D., Lakomkin, E., AlBadawy, E., Lobanova, E., Dinan, E., Smith, E. M.,\nRadenovic, F., Zhang, F., Synnaeve, G., Lee, G., Anderson, G. L., Nail, G., Mialon, G., Pang, G., Cucurell, G., Nguyen, H., Korevaar,\nH., Xu, H., Touvron, H., Zarov, I., Ibarra, I. A., Kloumann, I. M., Misra, I., Evtimov, I., Copet, J., Lee, J., Geffert, J., Vranes, J.,\n\n15\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nPark, J., Mahadeokar, J., Shah, J., van der Linde, J., Billock, J., Hong, J., Lee, J., Fu, J., Chi, J., Huang, J., Liu, J., Wang, J., Yu,\nJ., Bitton, J., Spisak, J., Park, J., Rocca, J., Johnstun, J., Saxe, J., Jia, J., Alwala, K. V., Upasani, K., Plawiak, K., Li, K., Heafield,\nK., Stone, K., and et al. The llama 3 herd of models. CoRR, abs/2407.21783, 2024. doi: 10.48550/ARXIV.2407.21783. URL\nhttps://doi.org/10.48550/arXiv.2407.21783.\nEbert, C., Cain, J., Antoniol, G., Counsell, S., and Laplante, P. Cyclomatic complexity. IEEE software, 33(6):27–29, 2016.\nFlorensa, C., Held, D., Geng, X., and Abbeel, P. Automatic goal generation for reinforcement learning agents. In Dy, J. G. and\nKrause, A. (eds.), Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsmässan,\nStockholm, Sweden, July 10-15, 2018, volume 80 of Proceedings of Machine Learning Research, pp. 1514–1523. PMLR, 2018. URL\nhttp://proceedings.mlr.press/v80/florensa18a.html.\nGaven, L., Carta, T., Romac, C., Colas, C., Lamprier, S., Sigaud, O., and Oudeyer, P. MAGELLAN: metacognitive predictions of\nlearning progress guide autotelic LLM agents in large goal spaces. CoRR, abs/2502.07709, 2025. doi: 10.48550/ARXIV.2502.07709.\nURL https://doi.org/10.48550/arXiv.2502.07709.\nGoodfellow, I. J., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A. C., and Bengio, Y. Generative\nadversarial networks. Commun. ACM, 63(11):139–144, 2020. doi: 10.1145/3422622. URL https://doi.org/10.1145/3422622.\nGu, A., Rozière, B., Leather, H. J., Solar-Lezama, A., Synnaeve, G., and Wang, S. Cruxeval: A benchmark for code reasoning,\nunderstanding and execution. In Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27,\n2024. OpenReview.net, 2024. URL https://openreview.net/forum?id=Ffpg52swvg.\nGuo, D., Yang, D., Zhang, H., Song, J., Wang, P., Zhu, Q., Xu, R., Zhang, R., Ma, S., Bi, X., Zhang, X., Yu, X., Wu, Y., Wu, Z. F., Gou,\nZ., Shao, Z., Li, Z., Gao, Z., Liu, A., Xue, B., Wang, B., Wu, B., Feng, B., Lu, C., Zhao, C., Deng, C., Ruan, C., Dai, D., Chen, D., Ji,\nD., Li, E., Lin, F., Dai, F., Luo, F., Hao, G., Chen, G., Li, G., Zhang, H., Xu, H., Ding, H., Gao, H., Qu, H., Li, H., Guo, J., Li, J.,\nChen, J., Yuan, J., Tu, J., Qiu, J., Li, J., Cai, J. L., Ni, J., Liang, J., Chen, J., Dong, K., Hu, K., You, K., Gao, K., Guan, K., Huang, K.,\nYu, K., Wang, L., Zhang, L., Zhao, L., Wang, L., Zhang, L., Xu, L., Xia, L., Zhang, M., Zhang, M., Tang, M., Zhou, M., Li, M.,\nWang, M., Li, M., Tian, N., Huang, P., Zhang, P., Wang, Q., Chen, Q., Du, Q., Ge, R., Zhang, R., Pan, R., Wang, R., Chen, R. J., Jin,\nR. L., Chen, R., Lu, S., Zhou, S., Chen, S., Ye, S., Wang, S., Yu, S., Zhou, S., Pan, S., Li, S. S., Zhou, S., Wu, S., Yun, T., Pei, T., Sun,\nT., Wang, T., Zeng, W., Liu, W., Liang, W., Gao, W., Yu, W., Zhang, W., Xiao, W. L., An, W., Liu, X., Wang, X., Chen, X., Nie, X.,\nCheng, X., Liu, X., Xie, X., Liu, X., Yang, X., Li, X., Su, X., Lin, X., Li, X. Q., Jin, X., Shen, X., Chen, X., Sun, X., Wang, X., Song,\nX., Zhou, X., Wang, X., Shan, X., Li, Y. K., Wang, Y. Q., Wei, Y. X., Zhang, Y., Xu, Y., Li, Y., Zhao, Y., Sun, Y., Wang, Y., Yu, Y.,\nZhang, Y., Shi, Y., Xiong, Y., He, Y., Piao, Y., Wang, Y., Tan, Y., Ma, Y., Liu, Y., Guo, Y., Ou, Y., Wang, Y., Gong, Y., Zou, Y.,\nHe, Y., Xiong, Y., Luo, Y., You, Y., Liu, Y., Zhou, Y., Zhu, Y. X., Huang, Y., Li, Y., Zheng, Y., Zhu, Y., Ma, Y., Tang, Y., Zha, Y.,\nYan, Y., Ren, Z. Z., Ren, Z., Sha, Z., Fu, Z., Xu, Z., Xie, Z., Zhang, Z., Hao, Z., Ma, Z., Yan, Z., Wu, Z., Gu, Z., Zhu, Z., Liu, Z.,\nLi, Z., Xie, Z., Song, Z., Pan, Z., Huang, Z., Xu, Z., Zhang, Z., and Zhang, Z. Deepseek-r1 incentivizes reasoning in llms through\nreinforcement learning. Nature, 645(8081):633–638, September 2025. ISSN 1476-4687. doi: 10.1038/s41586-025-09422-z. URL\nhttp://dx.doi.org/10.1038/s41586-025-09422-z.\nHalstead, M. H. Elements of Software Science (Operating and programming systems series). Elsevier Science Inc., 1977.\nHaluptzok, P., Bowers, M., and Kalai, A. T. Language models can teach themselves to program better. In The Eleventh International\nConference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net, 2023. URL https:\n//openreview.net/forum?id=SaRj2ka1XZ3.\nHe, C., Luo, R., Bai, Y., Hu, S., Thai, Z. L., Shen, J., Hu, J., Han, X., Huang, Y., Zhang, Y., Liu, J., Qi, L., Liu, Z., and Sun, M.\nOlympiadbench: A challenging benchmark for promoting AGI with olympiad-level bilingual multimodal scientific problems. In Ku,\nL., Martins, A., and Srikumar, V. (eds.), Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics\n(Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024, pp. 3828–3850. Association for Computational\nLinguistics, 2024. doi: 10.18653/V1/2024.ACL-LONG.211. URL https://doi.org/10.18653/v1/2024.acl-long.211.\nHendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart, S., Tang, E., Song, D., and Steinhardt, J. Measuring mathematical problem solving with the MATH dataset. In Vanschoren, J. and Yeung, S. (eds.), Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks 1, NeurIPS Datasets and Benchmarks 2021,\nDecember 2021, virtual, 2021. URL https://datasets-benchmarks-proceedings.neurips.cc/paper/2021/hash/\nbe83ab3ecd0db773eb2dc1b0a17836a1-Abstract-round2.html.\nHinton, G. E., Vinyals, O., and Dean, J. Distilling the knowledge in a neural network. CoRR, abs/1503.02531, 2015. URL\nhttp://arxiv.org/abs/1503.02531.\nHu, J. REINFORCE++: A simple and efficient approach for aligning large language models. CoRR, abs/2501.03262, 2025. doi:\n10.48550/ARXIV.2501.03262. URL https://doi.org/10.48550/arXiv.2501.03262.\n\n16\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nHu, J., Zhang, Y., Han, Q., Jiang, D., Zhang, X., and Shum, H. Open-reasoner-zero: An open source approach to scaling up\nreinforcement learning on the base model. CoRR, abs/2503.24290, 2025. doi: 10.48550/ARXIV.2503.24290. URL https:\n//doi.org/10.48550/arXiv.2503.24290.\nHubinger, E., van Merwijk, C., Mikulik, V., Skalse, J., and Garrabrant, S. Risks from learned optimization in advanced machine learning\nsystems. CoRR, abs/1906.01820, 2019. URL http://arxiv.org/abs/1906.01820.\nHughes, E., Dennis, M. D., Parker-Holder, J., Behbahani, F. M. P., Mavalankar, A., Shi, Y., Schaul, T., and Rocktäschel, T. Position:\nOpen-endedness is essential for artificial superhuman intelligence. In Forty-first International Conference on Machine Learning,\nICML 2024, Vienna, Austria, July 21-27, 2024. OpenReview.net, 2024. URL https://openreview.net/forum?id=Bc4vZ2CX7E.\nHui, B., Yang, J., Cui, Z., Yang, J., Liu, D., Zhang, L., Liu, T., Zhang, J., Yu, B., Dang, K., Yang, A., Men, R., Huang, F., Ren, X., Ren,\nX., Zhou, J., and Lin, J. Qwen2.5-coder technical report. CoRR, abs/2409.12186, 2024. doi: 10.48550/ARXIV.2409.12186. URL\nhttps://doi.org/10.48550/arXiv.2409.12186.\nJaech, A., Kalai, A., Lerer, A., Richardson, A., El-Kishky, A., Low, A., Helyar, A., Madry, A., Beutel, A., Carney, A., et al. Openai o1\nsystem card. arXiv preprint arXiv:2412.16720, 2024.\nJain, N., Han, K., Gu, A., Li, W., Yan, F., Zhang, T., Wang, S., Solar-Lezama, A., Sen, K., and Stoica, I. Livecodebench: Holistic and\ncontamination free evaluation of large language models for code. CoRR, abs/2403.07974, 2024. doi: 10.48550/ARXIV.2403.07974.\nURL https://doi.org/10.48550/arXiv.2403.07974.\nKirchner, J. H., Chen, Y., Edwards, H., Leike, J., McAleese, N., and Burda, Y. Prover-verifier games improve legibility of LLM outputs.\nCoRR, abs/2407.13692, 2024. doi: 10.48550/ARXIV.2407.13692. URL https://doi.org/10.48550/arXiv.2407.13692.\nLadosz, P., Weng, L., Kim, M., and Oh, H. Exploration in deep reinforcement learning: A survey. Inf. Fusion, 85:1–22, 2022. doi:\n10.1016/J.INFFUS.2022.03.003. URL https://doi.org/10.1016/j.inffus.2022.03.003.\nLambert, N., Morrison, J., Pyatkin, V., Huang, S., Ivison, H., Brahman, F., Miranda, L. J. V., Liu, A., Dziri, N., Lyu, S., Gu, Y., Malik, S.,\nGraf, V., Hwang, J. D., Yang, J., Bras, R. L., Tafjord, O., Wilhelm, C., Soldaini, L., Smith, N. A., Wang, Y., Dasigi, P., and Hajishirzi,\nH. Tülu 3: Pushing frontiers in open language model post-training. CoRR, abs/2411.15124, 2024. doi: 10.48550/ARXIV.2411.15124.\nURL https://doi.org/10.48550/arXiv.2411.15124.\nLaskin, M., Yarats, D., Liu, H., Lee, K., Zhan, A., Lu, K., Cang, C., Pinto, L., and Abbeel, P. URLB: unsupervised reinforcement learning benchmark. In Vanschoren, J. and Yeung, S. (eds.), Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks 1, NeurIPS Datasets and Benchmarks 2021, December 2021, virtual, 2021.\nURL https://datasets-benchmarks-proceedings.neurips.cc/paper/2021/hash/\n091d584fced301b442654dd8c23b3fc9-Abstract-round2.html.\nLeike, J. and Sutskever, I. Introducing superalignment. https://openai.com/index/introducing-superalignment/, 2023.\nOpenAI Blog.\nLewkowycz, A., Andreassen, A., Dohan, D., Dyer, E., Michalewski, H., Ramasesh, V. V., Slone, A., Anil, C., Schlag, I.,\nGutman-Solo, T., Wu, Y., Neyshabur, B., Gur-Ari, G., and Misra, V. Solving quantitative reasoning problems with language models. In Koyejo, S., Mohamed, S., Agarwal, A., Belgrave, D., Cho, K., and Oh, A. (eds.), Advances in Neural\nInformation Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New\nOrleans, LA, USA, November 28 - December 9, 2022, 2022. URL http://papers.nips.cc/paper_files/paper/2022/hash/\n18abbeef8cfe9203fdf9053c9c4fe191-Abstract-Conference.html.\nLi, J., Guo, D., Yang, D., Xu, R., Wu, Y., and He, J. Codei/o: Condensing reasoning patterns via code input-output prediction. CoRR,\nabs/2502.07316, 2025. doi: 10.48550/ARXIV.2502.07316. URL https://doi.org/10.48550/arXiv.2502.07316.\nLi, R., Fu, J., Zhang, B., Huang, T., Sun, Z., Lyu, C., Liu, G., Jin, Z., and Li, G. TACO: topics in algorithmic code generation dataset.\nCoRR, abs/2312.14852, 2023. doi: 10.48550/ARXIV.2312.14852. URL https://doi.org/10.48550/arXiv.2312.14852.\nLiu, B., Guertler, L., Yu, S., Liu, Z., Qi, P., Balcells, D., Liu, M., Tan, C., Shi, W., Lin, M., Lee, W. S., and Jaques, N. SPIRAL: self-play\non zero-sum games incentivizes reasoning via multi-agent multi-turn reinforcement learning. CoRR, abs/2506.24119, 2025a. doi:\n10.48550/ARXIV.2506.24119. URL https://doi.org/10.48550/arXiv.2506.24119.\nLiu, J. and Zhang, L. Code-r1: Reproducing r1 for code with reliable rewards. GitHub, 2025.\nLiu, J., Xia, C. S., Wang, Y., and Zhang, L. Is your code generated by chatGPT really correct? rigorous evaluation of large\nlanguage models for code generation. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL\nhttps://openreview.net/forum?id=1qvx610Cu7.\n\n17\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nLiu, M., Jiang, L., Liang, Y., Du, S. S., Choi, Y., Althoff, T., and Jaques, N. Chasing moving targets with online self-play\nreinforcement learning for safer language models. CoRR, abs/2506.07468, 2025b. doi: 10.48550/ARXIV.2506.07468. URL\nhttps://doi.org/10.48550/arXiv.2506.07468.\nLiu, Z., Chen, C., Li, W., Qi, P., Pang, T., Du, C., Lee, W. S., and Lin, M. Understanding r1-zero-like training: A critical perspective.\nCoRR, abs/2503.20783, 2025c. doi: 10.48550/ARXIV.2503.20783. URL https://doi.org/10.48550/arXiv.2503.20783.\nLopez, R. H. Q. Complexipy: An extremely fast python library to calculate the cognitive complexity of python files, written in rust,\n2025. URL https://github.com/rohaquinlop/complexipy. Accessed: 2025-04-06.\nLoshchilov, I. and Hutter, F. Decoupled weight decay regularization. In 7th International Conference on Learning Representations, ICLR\n2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. URL https://openreview.net/forum?id=Bkg6RiCqY7.\nMorris, J. There are no new ideas in ai. . . only new datasets. https://blog.jxmo.io/p/there-are-no-new-ideas-in-ai-only,\n2025.\nOpenAI. Openai o3-mini, January 2025a. URL https://openai.com/index/openai-o3-mini/. Accessed: 2025-04-17.\nOpenAI. Introducing openai o3 and o4-mini, April 2025b. URL https://openai.com/index/introducing-o3-and-o4-mini/.\nAccessed: 2025-04-17.\nOpenAI, Plappert, M., Sampedro, R., Xu, T., Akkaya, I., Kosaraju, V., Welinder, P., D’Sa, R., Petron, A., de Oliveira Pinto, H. P.,\nPaino, A., Noh, H., Weng, L., Yuan, Q., Chu, C., and Zaremba, W. Asymmetric self-play for automatic goal discovery in robotic\nmanipulation. CoRR, abs/2101.04882, 2021. URL https://arxiv.org/abs/2101.04882.\nOudeyer, P.-Y., Gottlieb, J., and Lopes, M. Intrinsic motivation, curiosity, and learning: Theory and applications in educational\ntechnologies. Progress in brain research, 229:257–284, 2016.\nOuyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., et al. Training\nlanguage models to follow instructions with human feedback. Advances in neural information processing systems, 35:27730–27744,\n2022.\nPoesia, G., Broman, D., Haber, N., and Goodman, N. D. Learning formal mathematics from intrinsic motivation. In Globersons, A., Mackey, L., Belgrave, D., Fan, A., Paquet, U., Tomczak, J. M., and Zhang, C. (eds.), Advances in Neural Information Processing Systems 38: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024, Vancouver, BC, Canada, December 10 - 15, 2024, 2024. URL http://papers.nips.cc/paper_files/paper/2024/hash/\n4b8001fc75f0532827472ea5a16af9ca-Abstract-Conference.html.\nPourcel, J., Colas, C., Molinaro, G., Oudeyer, P., and Teodorescu, L. ACES: generating a diversity of challenging programming puzzles\nwith autotelic generative models. In Globersons, A., Mackey, L., Belgrave, D., Fan, A., Paquet, U., Tomczak, J. M., and Zhang, C.\n(eds.), Advances in Neural Information Processing Systems 38: Annual Conference on Neural Information Processing Systems 2024,\nNeurIPS 2024, Vancouver, BC, Canada, December 10 - 15, 2024, 2024. URL http://papers.nips.cc/paper_files/paper/\n2024/hash/7d0c6ff18f16797b92e77d7cc95b3c53-Abstract-Conference.html.\nRadford, A., Wu, J., Child, R., Luan, D., Amodei, D., Sutskever, I., et al. Language models are unsupervised multitask learners. OpenAI\nblog, 1(8):9, 2019.\nRen, Z. Z., Shao, Z., Song, J., Xin, H., Wang, H., Zhao, W., Zhang, L., Fu, Z., Zhu, Q., Yang, D., Wu, Z. F., Gou, Z., Ma, S., Tang, H.,\nLiu, Y., Gao, W., Guo, D., and Ruan, C. Deepseek-prover-v2: Advancing formal mathematical reasoning via reinforcement learning\nfor subgoal decomposition, 2025. URL https://arxiv.org/abs/2504.21801.\nSchaul, T. Boundless socratic learning with language games. arXiv preprint arXiv:2411.16905, 2024.\nSchmidhuber, J. Exploring the predictable. In Advances in evolutionary computing: theory and applications, pp. 579–612. Springer,\n2003.\nSchmidhuber, J. POWERPLAY: training an increasingly general problem solver by continually searching for the simplest still unsolvable\nproblem. CoRR, abs/1112.5309, 2011. URL http://arxiv.org/abs/1112.5309.\nShao, Z., Wang, P., Zhu, Q., Xu, R., Song, J., Zhang, M., Li, Y. K., Wu, Y., and Guo, D. Deepseekmath: Pushing the limits\nof mathematical reasoning in open language models. CoRR, abs/2402.03300, 2024. doi: 10.48550/ARXIV.2402.03300. URL\nhttps://doi.org/10.48550/arXiv.2402.03300.\n\n18\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nSheng, G., Zhang, C., Ye, Z., Wu, X., Zhang, W., Zhang, R., Peng, Y., Lin, H., and Wu, C. Hybridflow: A flexible and efficient\nRLHF framework. In Proceedings of the Twentieth European Conference on Computer Systems, EuroSys 2025, Rotterdam,\nThe Netherlands, 30 March 2025 - 3 April 2025, pp. 1279–1297. ACM, 2025. doi: 10.1145/3689031.3696075. URL https:\n//doi.org/10.1145/3689031.3696075.\nSilver, D. and Sutton, R. S. The era of experience. https://storage.googleapis.com/deepmind-media/Era-of-Experience%\n20/The%20Era%20of%20Experience%20Paper.pdf, 2025.\nSilver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., Schrittwieser, J., Antonoglou, I., Panneershelvam,\nV., Lanctot, M., Dieleman, S., Grewe, D., Nham, J., Kalchbrenner, N., Sutskever, I., Lillicrap, T. P., Leach, M., Kavukcuoglu, K.,\nGraepel, T., and Hassabis, D. Mastering the game of go with deep neural networks and tree search. Nat., 529(7587):484–489, 2016.\ndoi: 10.1038/NATURE16961. URL https://doi.org/10.1038/nature16961.\nSilver, D., Hubert, T., Schrittwieser, J., Antonoglou, I., Lai, M., Guez, A., Lanctot, M., Sifre, L., Kumaran, D., Graepel, T., Lillicrap,\nT. P., Simonyan, K., and Hassabis, D. Mastering chess and shogi by self-play with a general reinforcement learning algorithm. CoRR,\nabs/1712.01815, 2017. URL http://arxiv.org/abs/1712.01815.\nSnell, C., Lee, J., Xu, K., and Kumar, A. Scaling LLM test-time compute optimally can be more effective than scaling model parameters.\nCoRR, abs/2408.03314, 2024. doi: 10.48550/ARXIV.2408.03314. URL https://doi.org/10.48550/arXiv.2408.03314.\nStuart, T. Understanding computation - from simple machines to impossible programs. O’Reilly, 2015. ISBN 978-1-449-32927-3. URL\nhttp://www.oreilly.de/catalog/9781449329273/index.html.\nSukhbaatar, S., Lin, Z., Kostrikov, I., Synnaeve, G., Szlam, A., and Fergus, R. Intrinsic motivation and automatic curricula via\nasymmetric self-play. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 May 3, 2018, Conference Track Proceedings. OpenReview.net, 2018. URL https://openreview.net/forum?id=SkT5Yg-RZ.\nSuteu, M. and Guo, Y. Regularizing deep multi-task networks using orthogonal gradients. CoRR, abs/1912.06844, 2019. URL\nhttp://arxiv.org/abs/1912.06844.\nSutskever, I., Vinyals, O., and Le, Q. V. Neurips 2024 test of time award session: Sequence to sequence learning with neural networks.\nConference session, December 2024. URL https://neurips.cc/virtual/2024/test-of-time/105032.\nSutton, R. S. Verification, the key to ai. http://incompleteideas.net/IncIdeas/KeytoAI.html, 2001.\nTeam, K., Du, A., Gao, B., Xing, B., Jiang, C., Chen, C., Li, C., Xiao, C., Du, C., Liao, C., Tang, C., Wang, C., Zhang, D., Yuan, E., Lu,\nE., Tang, F., Sung, F., Wei, G., Lai, G., Guo, H., Zhu, H., Ding, H., Hu, H., Yang, H., Zhang, H., Yao, H., Zhao, H., Lu, H., Li, H., Yu,\nH., Gao, H., Zheng, H., Yuan, H., Chen, J., Guo, J., Su, J., Wang, J., Zhao, J., Zhang, J., Liu, J., Yan, J., Wu, J., Shi, L., Ye, L., Yu, L.,\nDong, M., Zhang, N., Ma, N., Pan, Q., Gong, Q., Liu, S., Ma, S., Wei, S., Cao, S., Huang, S., Jiang, T., Gao, W., Xiong, W., He, W.,\nHuang, W., Wu, W., He, W., Wei, X., Jia, X., Wu, X., Xu, X., Zu, X., Zhou, X., Pan, X., Charles, Y., Li, Y., Hu, Y., Liu, Y., Chen,\nY., Wang, Y., Liu, Y., Qin, Y., Liu, Y., Yang, Y., Bao, Y., Du, Y., Wu, Y., Wang, Y., Zhou, Z., Wang, Z., Li, Z., Zhu, Z., Zhang,\nZ., Wang, Z., Yang, Z., Huang, Z., Huang, Z., Xu, Z., and Yang, Z. Kimi k1.5: Scaling reinforcement learning with llms. CoRR,\nabs/2501.12599, 2025. doi: 10.48550/ARXIV.2501.12599. URL https://doi.org/10.48550/arXiv.2501.12599.\nVillalobos, P., Ho, A., Sevilla, J., Besiroglu, T., Heim, L., and Hobbhahn, M. Position: Will we run out of data? limits of LLM scaling\nbased on human-generated data. In Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July\n21-27, 2024. OpenReview.net, 2024. URL https://openreview.net/forum?id=ViZcgDQjyG.\nWang, H., Yue, Y., Lu, R., Shi, J., Zhao, A., Wang, S., Song, S., and Huang, G. Model surgery: Modulating LLM‘s behavior via\nsimple parameter editing. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for\nComputational Linguistics, pp. 6337–6357, 2025a.\nWang, R., Lehman, J., Clune, J., and Stanley, K. O. Paired open-ended trailblazer (POET): endlessly generating increasingly complex\nand diverse learning environments and their solutions. CoRR, abs/1901.01753, 2019. URL http://arxiv.org/abs/1901.01753.\nWang, S., Yang, Q., Gao, J., Lin, M. G., Chen, H., Wu, L., Jia, N., Song, S., and Huang, G. Train once, get a family: State-adaptive\nbalances for offline-to-online reinforcement learning. In Thirty-seventh Conference on Neural Information Processing Systems, 2023.\nURL https://openreview.net/forum?id=vtoY8qJjTR.\nWang, S., Liu, C., Zheng, Z., Qi, S., Chen, S., Yang, Q., Zhao, A., Wang, C., Song, S., and Huang, G. Boosting LLM agents with recursive\ncontemplation for effective deception handling. In Ku, L.-W., Martins, A., and Srikumar, V. (eds.), Findings of the Association for\nComputational Linguistics: ACL 2024, pp. 9909–9953, Bangkok, Thailand, August 2024a. Association for Computational Linguistics.\ndoi: 10.18653/v1/2024.findings-acl.591. URL https://aclanthology.org/2024.findings-acl.591/.\n\n19\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nWang, S., Yu, L., Gao, C., Zheng, C., Liu, S., Lu, R., Dang, K., Chen, X., Yang, J., Zhang, Z., Liu, Y., Yang, A., Zhao,\nA., Yue, Y., Song, S., Yu, B., Huang, G., and Lin, J. Beyond the 80/20 rule: High-entropy minority tokens drive effective\nreinforcement learning for LLM reasoning. CoRR, abs/2506.01939, 2025b. doi: 10.48550/ARXIV.2506.01939. URL https:\n//doi.org/10.48550/arXiv.2506.01939.\nWang, Y., Ma, X., Zhang, G., Ni, Y., Chandra, A., Guo, S., Ren, W., Arulraj, A., He, X., Jiang, Z., Li, T., Ku, M., Wang, K.,\nZhuang, A., Fan, R., Yue, X., and Chen, W. Mmlu-pro: A more robust and challenging multi-task language understanding\nbenchmark. In Globersons, A., Mackey, L., Belgrave, D., Fan, A., Paquet, U., Tomczak, J. M., and Zhang, C. (eds.), Advances in\nNeural Information Processing Systems 38: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024,\nVancouver, BC, Canada, December 10 - 15, 2024, 2024b. URL http://papers.nips.cc/paper_files/paper/2024/hash/\nad236edc564f3e3156e1b2feafb99a24-Abstract-Datasets_and_Benchmarks_Track.html.\nWang, Y., Yang, Q., Zeng, Z., Ren, L., Liu, L., Peng, B., Cheng, H., He, X., Wang, K., Gao, J., Chen, W., Wang, S., Du,\nS. S., and Shen, Y. Reinforcement learning for reasoning in large language models with one training example, 2025c. URL\nhttps://arxiv.org/abs/2504.20571.\nWu, Q., Bansal, G., Zhang, J., Wu, Y., Zhang, S., Zhu, E., Li, B., Jiang, L., Zhang, X., and Wang, C. Autogen: Enabling next-gen\nLLM applications via multi-agent conversation framework. CoRR, abs/2308.08155, 2023. doi: 10.48550/ARXIV.2308.08155. URL\nhttps://doi.org/10.48550/arXiv.2308.08155.\nWu, Y., Yue, T., Zhang, S., Wang, C., and Wu, Q. Stateflow: Enhancing LLM task-solving through state-driven workflows. CoRR,\nabs/2403.11322, 2024. doi: 10.48550/ARXIV.2403.11322. URL https://doi.org/10.48550/arXiv.2403.11322.\nXie, T., Gao, Z., Ren, Q., Luo, H., Hong, Y., Dai, B., Zhou, J., Qiu, K., Wu, Z., and Luo, C. Logic-rl: Unleashing LLM\nreasoning with rule-based reinforcement learning. CoRR, abs/2502.14768, 2025. doi: 10.48550/ARXIV.2502.14768. URL\nhttps://doi.org/10.48550/arXiv.2502.14768.\nXu, F., Yan, H., Ma, C., Zhao, H., Sun, Q., Cheng, K., He, J., Liu, J., and Wu, Z. Genius: A generalizable and purely unsupervised\nself-training framework for advanced reasoning, 2025. URL https://arxiv.org/abs/2504.08672.\nYang, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Li, C., Liu, D., Huang, F., Wei, H., Lin, H., Yang, J., Tu, J., Zhang, J., Yang,\nJ., Yang, J., Zhou, J., Lin, J., Dang, K., Lu, K., Bao, K., Yang, K., Yu, L., Li, M., Xue, M., Zhang, P., Zhu, Q., Men, R., Lin, R., Li, T.,\nXia, T., Ren, X., Ren, X., Fan, Y., Su, Y., Zhang, Y., Wan, Y., Liu, Y., Cui, Z., Zhang, Z., and Qiu, Z. Qwen2.5 technical report.\nCoRR, abs/2412.15115, 2024a. doi: 10.48550/ARXIV.2412.15115. URL https://doi.org/10.48550/arXiv.2412.15115.\nYang, A., Zhang, B., Hui, B., Gao, B., Yu, B., Li, C., Liu, D., Tu, J., Zhou, J., Lin, J., Lu, K., Xue, M., Lin, R., Liu, T., Ren, X., and\nZhang, Z. Qwen2.5-math technical report: Toward mathematical expert model via self-improvement. CoRR, abs/2409.12122, 2024b.\ndoi: 10.48550/ARXIV.2409.12122. URL https://doi.org/10.48550/arXiv.2409.12122.\nYao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K. R., and Cao, Y. React: Synergizing reasoning and acting in language\nmodels. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023.\nOpenReview.net, 2023. URL https://openreview.net/forum?id=WE_vluYUL-X.\nYe, Z., Agarwal, R., Liu, T., Joshi, R., Velury, S., Le, Q. V., Tan, Q., and Liu, Y. Evolving alignment via asymmetric self-play. CoRR,\nabs/2411.00062, 2024. doi: 10.48550/ARXIV.2411.00062. URL https://doi.org/10.48550/arXiv.2411.00062.\nYu, Q., Zhang, Z., Zhu, R., Yuan, Y., Zuo, X., Yue, Y., Fan, T., Liu, G., Liu, L., Liu, X., Lin, H., Lin, Z., Ma, B., Sheng, G., Tong, Y.,\nZhang, C., Zhang, M., Zhang, W., Zhu, H., Zhu, J., Chen, J., Chen, J., Wang, C., Yu, H., Dai, W., Song, Y., Wei, X., Zhou, H., Liu, J.,\nMa, W., Zhang, Y., Yan, L., Qiao, M., Wu, Y., and Wang, M. DAPO: an open-source LLM reinforcement learning system at scale.\nCoRR, abs/2503.14476, 2025. doi: 10.48550/ARXIV.2503.14476. URL https://doi.org/10.48550/arXiv.2503.14476.\nYuan, W., Pang, R. Y., Cho, K., Li, X., Sukhbaatar, S., Xu, J., and Weston, J. Self-rewarding language models. URL https://arxiv.\norg/abs/2401.10020, 2024.\nYuan, Y., Yu, Q., Zuo, X., Zhu, R., Xu, W., Chen, J., Wang, C., Fan, T., Du, Z., Wei, X., et al. Vapo: Efficient and reliable reinforcement\nlearning for advanced reasoning tasks. arXiv preprint arXiv:2504.05118, 2025.\nYue, Y., Lu, R., Kang, B., Song, S., and Huang, G. Understanding, predicting and better resolving q-value divergence in offline-rl.\nAdvances in Neural Information Processing Systems, 36:60247–60277, 2023.\nYue, Y., Wang, Y., Kang, B., Han, Y., Wang, S., Song, S., Feng, J., and Huang, G. Deer-vla: Dynamic inference of multimodal large\nlanguage models for efficient robot execution. In Globersons, A., Mackey, L., Belgrave, D., Fan, A., Paquet, U., Tomczak, J. M., and\nZhang, C. (eds.), Advances in Neural Information Processing Systems 38: Annual Conference on Neural Information Processing\nSystems 2024, NeurIPS 2024, Vancouver, BC, Canada, December 10 - 15, 2024, 2024. URL http://papers.nips.cc/paper_\nfiles/paper/2024/hash/67b0e7c7c2a5780aeefe3b79caac106e-Abstract-Conference.html.\n\n20\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nYue, Y., Chen, Z., Lu, R., Zhao, A., Wang, Z., Yue, Y., Song, S., and Huang, G. Does reinforcement learning really incentivize reasoning\ncapacity in llms beyond the base model?, 2025. URL https://arxiv.org/abs/2504.13837.\nZelikman, E., Wu, Y., Mu, J., and Goodman, N. Star: Bootstrapping reasoning with reasoning. Advances in Neural Information\nProcessing Systems, 35:15476–15488, 2022.\nZeng, H., Jiang, D., Wang, H., Nie, P., Chen, X., and Chen, W. ACECODER: acing coder RL via automated test-case synthesis. CoRR,\nabs/2502.01718, 2025a. doi: 10.48550/ARXIV.2502.01718. URL https://doi.org/10.48550/arXiv.2502.01718.\nZeng, W., Huang, Y., Liu, Q., Liu, W., He, K., Ma, Z., and He, J. Simplerl-zoo: Investigating and taming zero reinforcement\nlearning for open base models in the wild. CoRR, abs/2503.18892, 2025b. doi: 10.48550/ARXIV.2503.18892. URL https:\n//doi.org/10.48550/arXiv.2503.18892.\nZhang, C., Deng, Y., Lin, X., Wang, B., Ng, D., Ye, H., Li, X., Xiao, Y., Mo, Z., Zhang, Q., et al. 100 days after deepseek-r1: A survey\non replication studies and more directions for reasoning language models. arXiv preprint arXiv:2505.00551, 2025a.\nZhang, Q., Wu, H., Zhang, C., Zhao, P., and Bian, Y. Right question is already half the answer: Fully unsupervised llm reasoning\nincentivization, 2025b. URL https://arxiv.org/abs/2504.05812.\nZhang, Y. and Yang, Q. A survey on multi-task learning. IEEE transactions on knowledge and data engineering, 34(12):5586–5609,\n2021.\nZhao, A., Lin, M. G., Li, Y., Liu, Y., and Huang, G. A mixture of surprises for unsupervised reinforcement learning. In\nKoyejo, S., Mohamed, S., Agarwal, A., Belgrave, D., Cho, K., and Oh, A. (eds.), Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans,\nLA, USA, November 28 - December 9, 2022, 2022. URL http://papers.nips.cc/paper_files/paper/2022/hash/\na7667ee5d545a43d2f0fda98863c260e-Abstract-Conference.html.\nZhao, A., Huang, D., Xu, Q., Lin, M., Liu, Y., and Huang, G. Expel: LLM agents are experiential learners. In Wooldridge, M. J., Dy,\nJ. G., and Natarajan, S. (eds.), Thirty-Eighth AAAI Conference on Artificial Intelligence, AAAI 2024, Thirty-Sixth Conference on\nInnovative Applications of Artificial Intelligence, IAAI 2024, Fourteenth Symposium on Educational Advances in Artificial Intelligence,\nEAAI 2014, February 20-27, 2024, Vancouver, Canada, pp. 19632–19642. AAAI Press, 2024. doi: 10.1609/AAAI.V38I17.29936.\nURL https://doi.org/10.1609/aaai.v38i17.29936.\nZhao, A., Xu, Q., Lin, M., Wang, S., Liu, Y., Zheng, Z., and Huang, G. Diver-ct: Diversity-enhanced red teaming large language model\nassistants with relaxing constraints. In Walsh, T., Shah, J., and Kolter, Z. (eds.), AAAI-25, Sponsored by the Association for the\nAdvancement of Artificial Intelligence, February 25 - March 4, 2025, Philadelphia, PA, USA, pp. 26021–26030. AAAI Press, 2025a.\ndoi: 10.1609/AAAI.V39I24.34797. URL https://doi.org/10.1609/aaai.v39i24.34797.\nZhao, A., Zhu, E., Lu, R., Lin, M., Liu, Y., and Huang, G. Self-referencing agents for unsupervised reinforcement learning. Neural\nNetworks, 188:107448, 2025b. doi: 10.1016/J.NEUNET.2025.107448. URL https://doi.org/10.1016/j.neunet.2025.\n107448.\nZitkovich, B., Yu, T., Xu, S., Xu, P., Xiao, T., Xia, F., Wu, J., Wohlhart, P., Welker, S., Wahid, A., Vuong, Q., Vanhoucke, V., Tran,\nH. T., Soricut, R., Singh, A., Singh, J., Sermanet, P., Sanketi, P. R., Salazar, G., Ryoo, M. S., Reymann, K., Rao, K., Pertsch, K.,\nMordatch, I., Michalewski, H., Lu, Y., Levine, S., Lee, L., Lee, T. E., Leal, I., Kuang, Y., Kalashnikov, D., Julian, R., Joshi, N. J.,\nIrpan, A., Ichter, B., Hsu, J., Herzog, A., Hausman, K., Gopalakrishnan, K., Fu, C., Florence, P., Finn, C., Dubey, K. A., Driess,\nD., Ding, T., Choromanski, K. M., Chen, X., Chebotar, Y., Carbajal, J., Brown, N., Brohan, A., Arenas, M. G., and Han, K. RT-2:\nvision-language-action models transfer web knowledge to robotic control. In Tan, J., Toussaint, M., and Darvish, K. (eds.), Conference\non Robot Learning, CoRL 2023, 6-9 November 2023, Atlanta, GA, USA, volume 229 of Proceedings of Machine Learning Research,\npp. 2165–2183. PMLR, 2023. URL https://proceedings.mlr.press/v229/zitkovich23a.html.\nZuo, Y., Zhang, K., Qu, S., Sheng, L., Zhu, X., Qi, B., Sun, Y., Cui, G., Ding, N., and Zhou, B. Ttrl: Test-time reinforcement learning,\n2025. URL https://arxiv.org/abs/2504.16084.\n\n21\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nAppendix\nAppendix Contents\nA Reinforcement Learning with Verifiable Rewards.\n\n23\n\nB Implementation Details\n\n23\n\nC More Results\n\n24\n\nC.1 Out-of-Distribution Performance Breakdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n24\n\nC.2 In-Distribution Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n24\n\nC.3 Interplay Between Propose and Solve Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n24\n\nC.4 Complexity and Diversity Metrics of AZR Proposed Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n34\n\nC.5 Generated Code Complexity Dynamics Between Abd/Ded and Ind. . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n34\n\nD Alternative Approaches Considered\n\n51\n\nD.1 Error Deduction Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n51\n\nD.2 Composite Functions as Curriculum Learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n51\n\nD.3 Toying with the Initial p(z) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n51\n\nD.4 Extra Rewards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n51\n\nD.5 Environment Transition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n52\n\n22\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nA. Reinforcement Learning with Verifiable Rewards.\nWe use reinforcement learning to update our learner LLM, rewarding it based on a task-specific reward function rf , where the subscript\nf indicates the task. The goal of the RL agent is to maximize the expected discounted sum of rewards. We adopt an online variant of RL,\nREINFORCE++, which is optimized using the original PPO objective:\n\n\"\nLPPO (θ) = Eq∼P (Q), o∼πθold (O|q)\n\n|o|\n\n#\n\n\u0001\n1 X\nnorm\nmin st (θ)Anorm\n,\nf,q , clip (st (θ), 1 − ϵ, 1 + ϵ) Af,q\n|o|\n\n(9)\n\nt=1\n\nwhere st (θ) is the probability ratio between the new and old policies at timestep t, and Anorm\nf,q is the normalized advantage.\nREINFORCE++ computes the normalized advantage as:\nAnorm\nf,q =\n\nrf,q − mean({Af,q }B )\n,\nstd({Af,q }B )\n\n(10)\n\nwhere rf,q is the outcome reward for question q, task f , mean and std are calculated across the global batch with batch size B. Note that\nwe do not apply any KL penalty to the loss or reward.\n\nB. Implementation Details\nWe built Absolute Zero Reasoner upon the veRL codebase (Sheng et al., 2025). For code execution, we incorporated components from\nthe QwQ Python executor. For safer code execution, we recommend using API-based services such as E2B instead.\nAll experiments were conducted on clusters of A800 GPUs, each experiment lasts around 3-5 days\n\nTraining Hyperparameters. We show the hyperparameters used in our training in Table 3. We do not change them for any of\nthe runs.\n\nParameter\n\nValue\nModel Configuration\n\nMax Prompt Length\nMax Response Length\nSeed Batch Factor\nMax Programs\n\n6144\n8096\n4\n16384\nTraining Settings\n\nTrain Batch Size\nLearning Rate\nOptimizer\nGrad Clip\nTotal Steps\n\n64 * 6\n1e-6\nAdamW\n1.0\n500\n\nRL Settings\nAlgorithm\nKL Loss\nKL Reward\nEntropy Coefficient\nPPO Epochs\nN Rollouts\nRollout Temperature\nRollout Top-P\nK References\nN Samples to Estimate Task Accuracy\n\nTRR++ (Section 3.3.5)\nFalse\nFalse\n0.001\n1\n1\n1.0\n1.0\n6\n8\n\nTable 3. Hyperparameters Used During AZR Self-play Training.\n\n23\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nModel\nOat-7B (Liu et al., 2025c)\nSimpleRL-Zoo (Zeng et al., 2025b)\nOpenReasonerZero (Hu et al., 2025)\nPRIME-Zero (Cui et al., 2025)\nCodeR1-Zero-7B-LC2k-1088 (Liu &amp; Zhang, 2025)\nCodeR1-Zero-7B-12k-832 (Liu &amp; Zhang, 2025)\nAceCoder-7B-Ins-RM (Zeng et al., 2025a)\nAceCoder-7B-Ins-Rule (Zeng et al., 2025a)\nAceCoder-7B-Code-RM (Zeng et al., 2025a)\nAceCoder-7B-Code-Rule (Zeng et al., 2025a)\nQwen-7B-Instruct (Yang et al., 2024a)\nAZR-7B (Ours)\nAZR-7B-Coder (Ours)\n\nData Curation\n8.5k math pairs (Hendrycks et al., 2021)\n8.5k math pairs (Hendrycks et al., 2021)\n57k STEM + math samples\n457k math + 27k code problems\n2k Leetcode pairs\n2k Leetcode + 10k TACO pairs (Li et al., 2023)\n22k code data\n22k code data\n22k code data\n22k code data\n1M SFT + 150k RL pairs\nNo data\nNo data\n\nBase Model\nQwen2.5-7B-Math\nQwen2.5-7B-Base\nQwen2.5-7B-Base\nQwen2.5Math-7B-Base\nQwen2.5-7B-Instruct-1M\nQwen2.5-7B-Instruct-1M\nQwen2.5-7B-Instruct\nQwen2.5-7B-Instruct\nQwen2.5-7B-Coder\nQwen2.5-7B-Coder\nQwen2.5-7B-Base\nQwen2.5-7B-Base\nQwen2.5-7B-Coder\n\nTable 4. Reasoner Training Data Source and Base Model.\n\nlogging\nthreading\nbcrypt\n\nrandom\ndatetime\nos.sys\n\nmultiprocessing\ntime\nos.path\n\npebble\nhashlib\nsys.exit\n\nsubprocess\ncalendar\nos.environ\n\nFigure 10. Forbidden Python Modules. List of Python modules forbidden to exist in proposed tasks’ programs.\n\nC. More Results\nC.1. Out-of-Distribution Performance Breakdown\nWe plot the out-of-distribution performance, broken down by each benchmark and in aggregate, across training steps for our 7B, 7B-Coder,\n14B, and 14B-Coder models in Figures 30 to 33. We observe a strong correlation between training using AZR and improvements in both\nmathematical and coding reasoning capabilities. Moreover, our models are trained for more steps than typical zero-style reasoners; while\noverfitting can occur with static datasets, it is less likely in AZR due to dynamically proposed tasks.\n\nC.2. In-Distribution Results\nSince we have defined the task domains as input prediction and output prediction, we can directly evaluate our model’s capabilities in these\nareas using popular code reasoning benchmarks: CruxEval-I(nput), CruxEval-O(utput), and LiveCodeBench-Execution (LCB-E) (Gu\net al., 2024; Jain et al., 2024), where CruxEval-O and LCB-E is solving the deduction task, and CruxEval-I is solving the abduction task.\nIn Figure 16, we visualize the evolution of these metrics during the training of Absolute Zero Reasoner-base-7b. As training\nprogresses, we observe a consistent improvement in in-distribution performance across steps. While these three benchmark curves do\nnot perfectly correlate with broader coding or math reasoning capabilities (compare Figure 16 with Figure 30), they serve as useful\nproxies for tracking task-specific progress.\n\nC.3. Interplay Between Propose and Solve Roles\nWe visualize the training dynamics between the propose and solve roles over training steps in Figures 17 to 19. We observe that, in\ngeneral, the solve roles produce more output tokens than the propose role. Intuitively, this makes sense: the propose role emphasizes\ncreativity and generation of novel tasks, whereas the solve role requires deeper reasoning, which naturally leads to longer outputs.\nInterestingly, we also observe a consistent ordering in token length across reasoning types—abduction and deduction tasks tend to result\nin shorter outputs than induction tasks during problem solving. This aligns with our intuition, as we observed the model engaging\nin trial-and-error reasoning—repeatedly generating hypothesized inputs, evaluating their outcomes, and reflecting and retrying when\nsubsequent deductions fail to produce the correct output. To our knowledge, this is the first time such a clear distinction in token length\n\n1\n2\n\nVA L I D A T E _ C O D E _T EMP LA TE = \" \" \" { code }\nrepr ( f ({ inputs }) ) \" \" \"\n\n3\n4\n\nexec ( V A L I D A T E _CO DE _T EMP LA TE )\nFigure 11. Python Program to Check Valid Code.\n\n24\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n1\n2\n\nE V A L _ I N P U T _ P R E D I C T I O N _ T E M P L A T E = \" \" \" { code }\n{ gold_output } == f ({ agent_input }) \" \" \"\n\n3\n4\n\nexec ( E V A L _ I N P U T _ P R E D I C T I O N _ T E M P L A T E )\nFigure 12. Python Code to Check Agent Input Abduction Correctness.\n\n1\n2\n\nE V A L _ O U T P U T _ P R E D I C T I O N _ T E M P L A T E = \" \" \" { code }\neval ({ gold_output }) == eval ({ agent_output }) \" \" \"\n\n3\n4\n\nexec ( E V A L _ O U T P U T _ P R E D I C T I O N _ T E M P L A T E )\nFigure 13. Python Code to Check Agent Output Deduction Correctness.\n\nE V A L _ F U N C T I O N _ P R E D I C T I O N _ T E M P L A T E = \" \" \" { code }\nmatches = []\n3 for gold_input , gold_output in zip ({ gold_inputs } , { gold_outputs }) :\n4\nmatch = { gold_output } == f ({ gold_input })\n5\nmatches . append ( match )\n6 \"\"\"\n1\n2\n\n7\n8\n\nexec ( E V A L _ O U T P U T _ P R E D I C T I O N _ T E M P L A T E )\nFigure 14. Python Code to Check Agent Function Induction Correctness.\n\nC H E C K _ D E T E R M I N I S M _ T E M P L A T E = \" \" \" { code }\nreturns = f ({ inputs })\n3 if returns != f ({ inputs }) :\n4\nraise Exception ( ’ Non - deterministic code ’)\n5 repr ( returns ) \" \" \"\n1\n2\n\n6\n\nexec ( C H E C K _ D E T E R M I N I S M _ T E M P L A T E )\nFigure 15. Python Code to Check Deterministic Program.\n\n0.65\n0.60\n\nPerformance Score\n\n7\n\n0.55\n0.50\n0.45\nCruxEval-I\nCruxEval-O\nLiveCodeBench-Execution\n\n0.40\n0.35\n0\n\n30\n\n60\n\n90\n\n120\n\n150\n\n180\n\n210\n\n240\n\n270\n\nTraining Steps\nFigure 16. In-distribution Benchmark Score During Training. The evolution of CruxEval-I, CruxEval-O, and LiveCodeBenchExecution during training for the Qwen2.5-7B base model trained using AZR.\n\n25\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nPropose\n\n0.8\n\n4000\n\n0.6\n\n3000\n\n0.4\n\n2000\n\n0.2\n\n0.0\n\nToken Length\n\nReward\n\nSolve\n\n1000\n\n0\n\nAbduction Task\n\n40\n\n80\n\n120\n\n160\n\n200\n\n240\n\n280\n\n0\n\nTraining Steps\n\n40\n\n80\n\n120\n\n160\n\n200\n\n240\n\n280\n\nFigure 17. Abduction Task Reward and Token Lengths. The task reward and token lengths of the two roles for abduction task type of\nAbsolute Zero Reasoner-base-7b.\n\nSolve\n\nPropose\n\n0.7\n2000\n\n0.6\n\nReward\n\n1500\n\n0.4\n\n1250\n\n0.3\n\n1000\n\n0.2\n\n750\n\n0.1\n\n500\n\n0.0\n\n0\n\nInduction Task\n\n40\n\n80\n\n120\n\n160\n\n200\n\n240\n\n280\n\n0\n\nTraining Steps\n\n40\n\n80\n\n120\n\n160\n\n200\n\n240\n\nToken Length\n\n1750\n\n0.5\n\n250\n280\n\nFigure 18. Induction Task Reward and Token Lengths. The task reward and token lengths of the two roles for induction task type of\nAbsolute Zero Reasoner-base-7b.\n\n26\n\n\fAbsolute\nSelf-play Reasoning\nReasoning with\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\nReinforced Self-play\n\nPropose\n\n1.0\n\n1400\n\n0.8\n\n1200\n1000\n\n0.6\n\n800\n0.4\n\nToken Length\n\nReward\n\nSolve\n\n600\n0.2\n0.0\n\n400\n0\n\nDeduction Task\n\n40\n\n80\n\n120\n\n160\n\n200\n\n240\n\n280\n\n0\n\nTraining Steps\n\n40\n\n80\n\n120\n\n160\n\n200\n\n240\n\n280\n\nFigure\nThe task\ntask reward\nreward and\nand token\ntoken lengths\nlengths of\nof the\nthe two\ntwo roles\nroles for\nfor deduction\ndeduction task\ntask type\ntype of\nof\nFigure 19.\n17. Deduction\nDeduction Task\nTask Reward\nReward and\nand Token\nToken Lengths.\nLengths. The\nAbsolute\nAbsolute Zero\nZero Reasoner-base-7b.\nReasoner-base-7b.\n\nTask: Propose Deduction Task\nModel Input: (k random selected example programs as few-shot input)\nModel Output:\nThis task requires creating a new Python function that takes an input and returns a value. The function should have at least one\ninput parameter, be deterministic, and require state tracking across multiple data transformations. The input should be a test case\nprovided to a subject for the purpose of deducing the output. The code and the output should be challenging enough to require\nalgorithmic reasoning without using restricted words or packages.\ndef f(prices: list[int], budget: int):\nn = len(prices)\nprofit = [0] * n\nfor i in range(1, n):\nfor j in range(i):\nif prices[i] &gt; prices[j]:\nprofit[i] = max(profit[i], profit[j] + prices[i] - prices[j])\nreturn max(profit + [profit[-1] - prices[-1] if budget &gt;= prices[-1] else 0])\nInput: [7, 1, 5, 3, 6, 4], 7\n\nFigure\nDeduction\nExample.\nAn example\nresponse\nof proposing\na deduction\ntask.\nk programs\nselected\nfew-shot\nFigure 20.\n18. Propose\nAn example\nresponseTask\nof proposing\na deduction\ntask.\nk programs\nare selected\nas few-shot\nexamples\nto theare\nmodel.\nTheasgenerated\nexamples\nto the\nmodel.\nThe\ngenerated\nnew execution.\nprogram will then be verified through execution.\nnew program\nwill\nthen be\nverified\nthrough\n\n24\n27\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\ndef f(numbers):\n# Step 1: Filter out even numbers\nfiltered_numbers = [num for num in numbers if num % 2 != 0]\n# Step 2: Calculate the sum of the remaining odd numbers\nsum_of_odd_numbers = sum(filtered_numbers)\n# Step 3: Reverse the order of the remaining odd numbers\nreversed_odd_numbers = filtered_numbers[::-1]\n# Step 4: Calculate the product of the reversed odd numbers\nproduct_of_reversed_odd_numbers = 1\nfor num in reversed_odd_numbers:\nproduct_of_reversed_odd_numbers *= num\n# Step 5: Calculate the sum of the digits of the product\nsum_of_digits_of_product = sum(int(digit) for digit in str(product_of_reversed_odd_numbers))\n# Step 6: Modify the original list by adding the sum of the digits to each even number\n# and subtracting it from each odd number\nmodified_numbers = []\nfor num in numbers:\nif num % 2 == 0:\nmodified_numbers.append(num + sum_of_digits_of_product)\nelse:\nmodified_numbers.append(num - sum_of_digits_of_product)\n# Step 7: Return the modified list\nreturn modified_numbers\n\nFigure\nthe CoT\nCoT and\nand during\nduring answering\nanswering when\nwhen the\nthe\nFigure21.\n19.Learned\nLearned“ReAct”\n“ReAct”style\nstyleprogram\nprogram generation.\ngeneration. We\nWe observe\nobserve that\nthat even\neven after\nafter outputting\noutputting the\nanswer\nits thinking\nthinking and\nand “acting”,\n“acting”, an\nan example\nexample is\nis shown\nshown\nanswerrequires\nrequires outputting\noutputting code,\ncode, the\nthe model\nmodel usually\nusually uses\nuses comments\ncomments in\nin code\ncode to\nto interleave\ninterleave its\nhere\nobserved\nin\nherefor\nforinduction\ninductiontask\ntaskoutput\noutputbybyAbsolute\nAbsoluteZero\nZeroReasoner-Coder-14b\nReasoner-Coder-14bduring\nduringtraining.\ntraining.Similar\nSimilarobservations\nobservationsarearerecently\nrecently\nobserved\nmuch\nbigger\nmodels\n(671b)\nfor for\nmath\nproofs\nwith\nDeepSeek\nProver\nV2V2\n(Ren\net al.,\n2025).\nin much\nbigger\nmodels\n(671b)\nmath\nproofs\nwith\nDeepSeek\nProver\n(Ren\net al.,\n2025).\n\n25\n28\n\n\fAbsolute\nReasoning with\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\nReinforced Self-play\nSelf-play Reasoning\n\nTask: Propose Abduction Task\nModel Input: (k random selected example programs as few-shot input)\nModel Output:\nFor this task, we need an intelligent problem that requires deep algorithmic reasoning and demands long multi step reasoning. A\ntypical type of problem that fits these requirements is the Matrix Reconstruction from a given jumbled li st of elements, where\nwe have to figure out the matrix’s dimensions and individual values. However, this task will involve multiple steps, increasing its\ncomplexity and creativity. We will create a function ‘f‘ that transforms a jumbled list of elements into a two-dimensional matrix,\nthen back to a list, given a specific reconstruction pattern. We will retrieve the original list from the reconstructed matrix. Here,\nwe will avoid random and datetime operations to ensure determinism. The function will be structured to reconstruct the matrix\nelements in a unique and challenging way. We will provide an input that, after reconstruction, presents a unique list that can be\neasily deduced from the given output in a test piece.\ndef f(jumbled_elements: list) -&gt; list:\nif not jumbled_elements:\nreturn []\n# Calculate the square root of the length of elements to estimate the matrix dimensions\nn = len(jumbled_elements)\nsqrt_n = int(n ** 0.5)\nif n &gt; sqrt_n ** 2:\nsqrt_n += 1\nif n &lt; sqrt_n ** 2:\nsqrt_n -= 1\n# Now, we need to reconstruct the matrix elements in a challenging way using specific patterns\n# For this, we can reconstruct the matrix using zigzag patterns or hill-climbing patterns\n# Here, a hill-climbing pattern is used where we traverse the matrix from the extreme\n# right and downward Then traverse the matrix from the second to last element to the\n# extreme bottom. Repeat the process until the entire matrix is traversed.\n# Initialize the matrix\nmatrix = [[0 for _ in range(sqrt_n)] for _ in range(sqrt_n)]\ncur_idx = 0\n# Fill the matrix in a zigzag pattern\nfor i in range(sqrt_n):\nif i % 2 == 0:\nfor j in range(sqrt_n):\nmatrix[j][i] = j * sqrt_n + i + cur_idx\ncur_idx += 1\nelse:\nfor j in range(sqrt_n - 1, -1, -1):\nmatrix[j][i] = j * sqrt_n + n - i - cur_idx - 1\ncur_idx += 1\n# Reconstruct the list into a matrix by repeating the process\nreconstructed_list = []\nfor i in range(sqrt_n):\nfor j in range(sqrt_n):\nreconstructed_list.append(matrix[i][j])\n# Now, we need to calculate another matrix based on a function F applied to the current matrix\n# F is a mathematical function that can be complex, such as factorial, prime check,\n# or another transformation For example, transform each element by adding 1 if it's prime,\n# subtracting 1 if it's even, or leaving it unchanged, Implement any specific transformation\n# function here. Here, for demonstration, each element is left unchanged\ntransformed_result = reconstructed_list\nreturn transformed_result\nOutput: [0, 11, 10, 1, 5, 16, 15, 6, 10, 21, 20, 11, 15, 26, 25, 16]\n\nFigure 20. An example response of proposing an abduction task. The model uses comments as reasoning when generating the program.\nFigure 22. Propose Abduction Task Example. An example response of proposing an abduction task. The model uses comments as\nreasoning when generating the program.\n26\n\n29\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nTask: Propose Induction Task\nModel Input: Here is the function f. Analyze its behaviour and relate it to the observed inputs/outputs.\ndef f(numbers: list[int]) -&gt; int:\nreplacement = {\n0: 2,\n1: 3,\n2: 1,\n3: 0,\n4: 4\n}\nreturn sum(replacement[num] for num in numbers)\n\nModel Output:\nTo solve this task, we need to come up with 10 different inputs for the function f(numbers: list[int]) -&gt; int. The function\nreplaces each number in the list according to a specific dictionary and then sums up the replaced numbers. Let’s analyze the\ndictionary:\nThis dictionary tells us that:\n-0 becomes 2\n-1 becomes 3\n-2 becomes 1\n-3 becomes 0\n-4 remains 4\nTo create diverse outputs, we should include lists with different sets of numbers from the list {0, 1, 2, 3, 4}. We also need\nto ensure that the inputs are valid (i.e., lists of integers).\nLet’s illustrate using provided examples step-by-step:\n1. Input: [0] ⇒ Replacement: [2] ⇒ sum = 2\n2. Input: [1, 2, 3] ⇒ Replacement: [3, 1, 0] ⇒ sum = 4\n3. Input: [4, 1] ⇒ Replacement: [4, 3] ⇒ sum = 7\n4. Input: [2, 1, 0] ⇒ Replacement: [1, 3, 2] ⇒ sum = 6\n5. Input: [3, 0, 2, 4] ⇒ Replacement: [0, 2, 1, 4] ⇒ sum = 7\n6. Input: [1, 1, 1] ⇒ Replacement: [3, 3, 3] ⇒ sum = 9\n7. Input: [2, 2, 0, 1] ⇒ Replacement: [1, 1, 2, 3] ⇒ sum = 7\n8. Input: [3, 4, 2] ⇒ Replacement: [0, 4, 1] ⇒ sum = 5\n9. Input: [0, 1, 2, 3, 4] ⇒ Replacement: [2, 3, 1, 0, 4] ⇒ sum = 10\n10. Input: [1, 2, 3, 0, 4] ⇒ Replacement: [3, 1, 0, 2, 4] ⇒ sum = 10\nThus, the rule is clearly replacing numbers according to the given mapping and then summing the results.\nInputs: ['[0]', '[1, 2, 3]', '[4, 1]', '[2, 1, 0]', '[3, 0, 2, 4]', '[1, 1, 1]',\n[2, 2, 0, 1], ’[3, 4, 2]’, ’[0, 1, 2, 3, 4]’, ’[1, 2, 3, 0, 4]’]|\nMessage: You are given a function that takes a list of integers as input and returns a single integer as output. Can you determine\nthe rule this function is following by analyzing the outputs for the given inputs?\n(After execution:) Outputs: ['2', '4', '7', '6', '7', '9', '7', '5', '10', '10']\n\nFigure23.\n21.Propose\nAn example\nresponse\nof proposing\ninduction\nGivenofa random\nselected\nprogram,\nthe Given\nmodel aneeds\nto propose\ninputs\nFigure\nInduction\nTask\nExample.anAn\nexampletask.\nresponse\nproposing\nan induction\ntask.\nrandom\nselected10program,\nandmodel\na description\nprogram.\nwill be executed\nand verified\nto inputs\nget outputs.\nsolve phase,\nthe model\nto generate\nthe\nthe\nneeds toofpropose\n10 These\ninputs inputs\nand a description\nof program.\nThese\nwill beAtexecuted\nand verified\nto need\nget outputs.\nAt solve\nprogram\ngiven\nthe\nmessage\nand\n5\ninput/output\npairs\n(half\nis\nhidden\ncases)\nphase, the model need to generate the program given the message and 5 input/output pairs (half is hidden cases)\n\n27\n30\n\n\fAbsolute Zero:\nZero: Reinforced\nReinforced Self-play\nAbsolute\nSelf-play Reasoning\nReasoning with\nwith Zero\nZero Data\nData\n\nTask: Solve Abduction Task\nModel Input: Here is the function f and the output: ‘1‘, please predict the input.\ndef f(numbers: list[int], target: int) -&gt; int:\naccumulated_values = []\ncurrent_sum = 0\nfor number in numbers:\ncurrent_sum += number\naccumulated_values.append(current_sum)\nresult = 0\nfor i in range(len(accumulated_values)):\nfor j in range(i + 1, len(accumulated_values)):\nif accumulated_values[j] \\\n- accumulated_values[i] == target:\nresult = accumulated_values[i]\nreturn result\nreturn result\n\nModel Output:\nLet’s analyze the code snippet to understand how the result is achieved. The function f takes a list of integers numbers and a target integer target. It calculates the accumulated sum of elements as it\niterates through the list. Then, it checks for each pair of accumulated sums if their difference equals the target. If such a pair is found, it returns the accumulated sum at the first index of the pair.\nTo find one possible input that produces the output 1, we need to find a scenario where the difference between any two accumulated_values equals the target, and the first accumulated_values that\nsatisfies this condition is 1.\nLet’s consider a simple example:\n-numbers = [1, 2]\n-target = 1\nHere’s the step-by-step calculation:\n1. current_sum = 0 + 1 = 1, accumulated_values = [1]\n2. current_sum = 1 + 2 = 3, accumulated_values = [1, 3]\n-Check for pair (i=0, j=1): 3 - 1 = 2 (not equal to target)\n-Check for pair (i=0, j=0): 1 - 1 = 0 (not equal to target)\n-Check for pair (i=1, j=1): 3 - 3 = 0 (not equal to target)\nSince no pair satisfies the condition, the function will not return any value. This doesn’t match our output. Let’s try another example.\nConsider:\n-numbers = [1, 0]\n-target = 1\nStep-by-step calculation:\n1. current_sum = 0 + 1 = 1, accumulated_values = [1]\n2. current_sum = 1 + 0 = 1, accumulated_values = [1, 1]\n-Check for pair (i=0, j=1): 1 - 1 = 0 (not equal to target)\n-Check for pair (i=0, j=0): 1 - 1 = 0 (not equal to target)\n-Check for pair (i=1, j=1): 1 - 1 = 0 (not equal to target)\n...(shortened)\nThe pair (i=1, j=2) satisfies the condition, and the function returns the first accumulated value in this pair, which is 3. This still doesn’t match our output.\nGiven the complexity and the fact that no simple example seems to work, let’s try a more complex scenario:\n-numbers = [2, -1, 1]\n-target = 1\nStep-by-step calculation:\n1. current_sum = 0 + 2 = 2, accumulated_values = [2]\n2. current_sum = 2 - 1 = 1, accumulated_values = [2, 1]\n3. current_sum = 1 + 1 = 2, accumulated_values = [2, 1, 2]\n-Check for pair (i=0, j=1): 1 - 2 = -1 (not equal to target)\n-Check for pair (i=0, j=2): 2 - 2 = 0 (not equal to target)\n-Check for pair (i=1, j=2): 2 - 1 = 1 (equal to target)\nThe pair (i=1, j=2) satisfies the condition, and the function returns the first accumulated value in this pair, which is 1. This matches our output.\nTherefore, one possible input that could produce the output 1 is: [2, -1, 1], 1\n\nFigure 24.\n22. Solve\nA more\ndetailed version\nof the example\nshown\nin main\nFigure\nmodelshown\nis solving\nan abduction\nFigure\nAbduction\nTask Example.\nA more\ndetailed\nversion\nof 7.\ntheThe\nexample\nin main\nFigure 7. task\nThe(predict\nmodel isinput).\nsolving an\nabduction task (predict input).\n\n28\n31\n\n\fAbsolute\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\nReinforced Self-play\nSelf-play Reasoning\nReasoning with\n\nTask: Solve Deduction Task (Example 1)\nModel Input: Here is the function f, the input provided [1, 2, 1, 2, 3, 2, 1], 2, and we need to\npredict the output.\ndef f(array: list[int], k: int) -&gt; int:\nwindow_start = 0\nmax_length = 0\nchar_freq = {}\nfor window_end in range(len(array)):\nend_char = array[window_end]\nif end_char not in char_freq:\nchar_freq[end_char] = 0\nchar_freq[end_char] += 1\nwhile len(char_freq) &gt; k:\nstart_char = array[window_start]\nchar_freq[start_char] -= 1\nif char_freq[start_char] == 0:\ndel char_freq[start_char]\nwindow_start += 1\nmax_length = max(max_length, window_end - window_start + 1)\nreturn max_length\n\nInput: [1, 2, 1, 2, 3, 2, 1], 2\nModel Output:\nBased on the given code snippet, we need to determine the output of the function f(array, k) when provided with the input [1, 2, 1, 2, 3, 2, 1] and k = 2.\nThe function f is designed to find the length of the longest subarray with at most k distinct characters. Let’s go through the code step by step:\n1. Initialize window_start to 0, max_length to 0, and an empty dictionary char_freq to store the frequency of characters in the current window.\n2. Iterate through the array using window_end as the index:\na. Get the current character end_char at index window_end.\nb. If end_char is not in char_freq, add it with a frequency of 0.\nc. Increment the frequency of end_char by 1.\n3. Check if the number of distinct characters in char_freq is greater than k:\na. If true, shrink the window from the start:\ni. Get the character start_char at index window_start.\nii. Decrement its frequency by 1.\niii. If the frequency becomes 0, remove the character from char_freq.\niv. Increment window_start by 1.\n4. Update max_length by taking the maximum of max_length and the current window size (window_end - window_start + 1).\nNow, let’s apply this algorithm step-by-step to the input [1, 2, 1, 2, 3, 2, 1], k = 2:\n• window_start = 0, max_length = 0, char_freq = {}\n• window_end = 0, add 1 to char_freq: {1 : 1}, window size = 1\n• window_end = 1, add 2: {1 : 1, 2 : 1}, window size = 2\n• window_end = 2, increment 1: {1 : 2, 2 : 1}, window size = 3\n• window_end = 3, increment 2: {1 : 2, 2 : 2}, window size = 4\n• window_end = 4, add 3: {1 : 2, 2 : 2, 3 : 1}; now distinct chars &gt; 2, shrink window:\n- remove 1 at start: {1 : 1, 2 : 2, 3 : 1}\n- remove 2 at start: {1 : 1, 2 : 1, 3 : 1}\n- remove 1 again: {2 : 1, 3 : 1}, window now starts at 3\n• window_end = 5, increment 2: {2 : 2, 3 : 1}, window size = 3\n• window_end = 6, add 1: {2 : 2, 3 : 1, 1 : 1}, shrink again:\n- remove 2: {2 : 1, 3 : 1, 1 : 1}\n- remove 3: {2 : 1, 1 : 1}, window now starts at 5\n- window size = 2\nMaximum window size encountered is 4, thus max_length = 4.\nHence, the function returns 4.\n\nFigure25.\n23.Solve\nExample\nof solving\ntheExample.\ndeductionExample\ntask. Given\na program\nand input,task.\nthe model\nthe program\nuntil\nFigure\nDeduction\nTask\nof solving\nthe deduction\nGiven simulates\na programthe\nandexecution\ninput, theofmodel\nsimulates\nthe\nthe final result.\nexecution\nof the program until the final result.\n\n29\n32\n\n\fAbsolute\nReasoning with\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\nReinforced Self-play\nSelf-play Reasoning\n\nTask: Solve Induction Task\nModel Input: Given the inputs and outputs, deduce the code snippet implementing the described functionality:\nInput Description: Given a list of integers, sort the list and then for each element at index i, multiply it by\n(n − i), where n is the total number of elements. Compute the final sum.\nInputs: ['[1, 2, 3, 4]', '[4, 3, 2, 1]', '[3, 1, 4, 2]', '[1, 2, 2, 3]', '[5]']\nOutputs: ['20', '20', '20', '17', '5']\n# Golden\ndef f(elements: list[int]) -&gt; int:\nn = len(elements)\nsorted_elements = sorted(elements)\nmodified_elements = [sorted_elements[i] * (n - i) for i in range(n)]\nreturn sum(modified_elements)\n\nModel Output:\nGiven the problem and the input/output pairs, we need to deduce a general code snippet that takes a sorted list and a list of multipliers, and then computes a final sum based on the multipliers.\nLet’s break down the problem step by step:\n1. **Understand the Message:**\n- We are given a list of integers.\n- The list is sorted.\n- For each element at index i in the sorted list, we multiply it by (n − i), where n is the number of elements in the list.\n- We need to compute the sum of these products.\n2. **Analyze the Input/Output Pairs:**\n- For the input [1, 2, 3, 4], the sorted form is the same, and the output is 20.\n1 · (4 − 1) = 3, 2 · (4 − 2) = 4, 3 · (4 − 3) = 3, 4 · (4 − 4) = 0, Sum: 3 + 4 + 3 + 0 = 10\n- For the input [4, 3, 2, 1], the sorted form is [1, 2, 3, 4], and the output is 20 (same as above).\n- For the input [3, 1, 4, 2], the sorted form is [1, 2, 3, 4], and the output is 20 (same as above).\nshortened\n3. **Re-evaluate the Outputs:**\n- It seems there might be an error in the provided outputs for some inputs. However, based on the problem description, the outputs should be correct if we consider the sorted list and the multipliers\ncorrectly.\n4. **Deduce the Function:**\n- Given the sorted list and the list of multipliers, we can deduce the following function:\n“‘python\ndef f(a):\nsorted_a = sorted(a)\nn = len(sorted_a)\nresult = 0\nfor i in range(n):\nresult += sorted_a[i] * (n - i)\nreturn result\n...(shortened)\n5. **Verify the Function:**\n- Let’s verify the function with the provided inputs:\n- For [1, 2, 3, 4]:\n- Sorted list: [1, 2, 3, 4]\n- Multipliers: [3, 4, 3, 0]\n- Sum: 1 · 3 + 2 · 4 + 3 · 3 + 4 · 0 = 3 + 8 + 9 + 0 = 20\n...(shortened)\nThe corrected outputs should be: For [1, 2, 3, 4]: 20, For [4, 3, 2, 1]: 20, For [3, 1, 4, 2]: 20, For [1, 2, 2, 3]: 13, For [5]: 0\nGiven the function:\n\ndef f(a):\nsorted_a = sorted(a)\nn = len(sorted_a)\nresult = 0\nfor i in range(n):\nresult += sorted_a[i] * (n - i)\nreturn result\nThe outputs match the corrected sum.\n### Final Answer\n(repeat the program above)\n\nFigure26.\n24.Solve\nExample\nof solving\nan Example.\ninduction task.\nThe of\nmodel\nis given\na program\ndescription,\nandis5given\ninput/output\ncases\nand predictand\nthe5\nFigure\nInduction\nTask\nExample\nsolving\nan induction\ntask.\nThe model\na program\ndescription,\nfunction. Interestingly,\nafter the\ngivesInterestingly,\nthe function,after\nit will\nthrough\nthethe\ngiven\nuse cases\nonego\nbythrough\none andthe\nconfirm\ncases\ninput/output\ncases and predict\nthemodel\nfunction.\nthegomodel\ngives\nfunction,\nit will\ngiven all\nusetest\ncases\noneare\nby\npassed.\none\nand confirm all test cases are passed.\n\n30\n33\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nModel\n\nHEval+ MBPP+ LCBv1-5 AIME’24 AIME’25 AMC’23 MATH500 Minerva OlympiadBench\n\nLlama3.1-8B\n+ Simple-RL-Zoo\n+ AZR\nQwen2.5-3B-Coder\n+ AZR\nQwen2.5-14B-Coder\n+ AZR\nQwen2.5-14B-Base\n+ AZR\n\n31.7\n38.4\n35.4\n67.1\n71.3\n76.8\n80.5\n78.0\n70.7\n\n53.7\n55.3\n50.8\n65.9\n69.0\n71.7\n71.2\n66.7\n68.8\n\n0.0\n7.4\n8.5\n20.0\n24.4\n31.4\n39.0\n21.7\n35.2\n\n0.0\n0.0\n3.3\n3.3\n3.3\n0.0\n23.3\n6.7\n10.0\n\n0.0\n0.0\n0.0\n3.3\n3.3\n0.0\n20.0\n3.3\n20.0\n\n2.5\n7.5\n5.0\n20.0\n37.5\n37.5\n65.0\n35.0\n62.5\n\n10.6\n22.2\n13.2\n51.0\n62.0\n54.8\n78.6\n66.2\n76.2\n\n5.5\n8.8\n14.0\n18.4\n26.1\n10.7\n32.0\n28.3\n40.4\n\n2.1\n4.7\n5.0\n16.6\n27.0\n18.5\n39.3\n32.4\n42.5\n\nTable 5. Detailed Breakdown of Evaluation Benchmarks for Other Model Sizes and Types. Full evaluation of AZR trained on\nother models on three standard code benchmarks (HEval+ , MBPP+ , LCBv1-5 ) and six math benchmarks (AIME’24, AIME’25, AMC’23,\nMATH500, Minerva (Lewkowycz et al., 2022), OlympiadBench).\n\nhas been observed and presented for jointly trained reasoning multi-tasks. Previously, length differences were typically noted between\ncorrect and incorrect traces (Liu et al., 2025c).\nThe reward dynamics between the propose and solve roles exhibit mildly adversarial behavior: when one receives higher rewards, the\nother often receives lower rewards. However, this is not entirely adversarial, as the proposer is also penalized for generating unsolvable\ntasks, encouraging overall cooperative behavior in the learning process.\n\nC.4. Complexity and Diversity Metrics of AZR Proposed Tasks\nWe outline several metrics used to probe characteristics of the tasks proposed during the training of AZR from the base model. Specifically,\nwe log two sets of metrics: program complexity and task diversity. For complexity, we employ two proxy measures—ComplexiPy score\nand the Halstead metric. To assess diversity, we compute the average abstract syntax tree (AST) edit distance between the proposed\nprogram and a set of K reference programs, and an answer diversity metric. We calculate this answer diversity metric by tracking all\nhistorical answers to the generated questions, i.e., the input-output pairs, and form a categorical distribution over these outputs. We\ndefine answer diversity as 1 − p(answer), where p(answer) is the empirical probability of a specific answer—used as a proxy for the\ndiversity of generated outputs.\nWe present these metrics in Figure 29. Interestingly, even without incorporating them explicitly into the reward function, the policy\nappears to implicitly optimize for these metrics. This aligns well with intuitive notions of task difficulty and diversity, and that the policy\nlearned to propose increasingly challenging tasks over time using our proposed simple reward function in Equation (4).\n\nC.5. Generated Code Complexity Dynamics Between Abd/Ded and Ind.\nWe use the ComplexiPy package to measure code complexity. For each generated program in the induction task, we compute the\ncognitive complexity difference from the corresponding “gold” code, i.e. complexipy(pπpropose\n) − complexipy(pπsolve ) for each\n{abduction,deduction}\ninduction\npair, where the superscript of π indicates the role and the subscript indicates the task type(s), and p denotes the generated programs. On\naverage, the difference of proposer and solver while holding the code’s functionality constant is 0.27, indicating that the proposer in the\nabduction/deduction tasks often increases the cognitive complexity to make the code appear more convoluted, whereas the induction\nsolver tends to generate more efficient implementations.\n\n34\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nAbsolute Zero: Learning to Reason with Zero Data via Self-play\n\nTask: Solve Deduction Task (Example 2)\nModel Input: Here is the function f, the given input, and we need to predict the output.\ndef f(num_list: list[int], target_product: int) -&gt; list[tuple[int]]:\nresult_pairs = []\nfor i in range(len(num_list)):\nfor j in range(i + 1, len(num_list)):\nif num_list[i] * num_list[j] == target_product:\nresult_pairs.append((num_list[i], num_list[j]))\nreturn result_pairs\n\nInput: [2, 3, 5, 7, 10], 10\nOutput: [(2, 5)]\nModel Output:\nThe given function f takes a list of integers num_list and a target product target_product as inputs. It is designed to find all\npairs of numbers in num_list whose product equals target_product. The function then returns a list of tuples, where each\ntuple contains a pair of numbers that satisfy the condition.\nLet’s go through the code step by step:\n1. Initialize an empty list result_pairs to store pairs whose product equals target_product.\n2. Use nested loops to iterate through each pair of numbers in num_list. The outer loop iterates over each number, and the inner\nloop iterates over numbers that come after the current number in the outer loop (避免重复和反向的对子，例如 (2, 3) 和 (3, 2))。\n3. For each pair (num_list[i], num_list[j]), check if their product equals target_product.\n4. If the product equals target_product, append the tuple (num_list[i], num_list[j]) to result_pairs.\n5. After all pairs have been checked, return the list result_pairs.\nLet’s explicitly apply this to the provided input [2, 3, 5, 7, 10], target product 10:\n- For i = 0 (num_list[0] = 2):\n- j = 1, 2 × 3 = 6 (≠10)\n- j = 2, 2 × 5 = 10 (=10), add pair (2, 5)\n- j = 3, 2 × 7 = 14 (≠10)\n- j = 4, 2 × 10 = 20 (≠10)\n- For i = 1 (num_list[1] = 3):\n- j = 2, 3 × 5 = 15 (≠10)\n- j = 3, 3 × 7 = 21 (≠10)\n- j = 4, 3 × 10 = 30 (≠10)\n- For i = 2 (num_list[2] = 5):\n- j = 3, 5 × 7 = 35 (≠10)\n- j = 4, 5 × 10 = 50 (≠10)\n- For i = 3 (num_list[3] = 7):\n- j = 4, 7 × 10 = 70 (≠10)\n- For i = 4 (num_list[4] = 10):\n- No further pairs to check\nThus, the only pair satisfying the condition is (2, 5). Therefore, the output is:\n[(2, 5)]\nFigure27.\n25.Mixed\nAn example\nof theCoT\nmodel\nsolving An\nan deduction\nWe observed\nthe model task.\noutputs\nlanguage\n(Chinese)\nwhen\nFigure\nLanguage\nExample.\nexample oftask.\nthe model\nsolvingthat\nan deduction\nWemixed\nobserved\nthat the\nmodel outputs\nsolvinglanguage\nthe task.(Chinese) when solving the task.\nmixed\n\n31\n35\n\n\fAbsolute\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\nReinforced Self-play\nSelf-play Reasoning\nReasoning with\n\nTask: Solve Deduction Task (Llama 8B)\nModel Input: Here is the function f, the input provided 'cookie', and we need to predict the output.\ndef f(input_string: str):\n\"\"\"Function to check if a string contains given substrings.\"\"\"\nsubstring = \"code\"\n# Start with `substring` as the first substring.\ncurr_index = substring\n# Slice out the required substring from the input string\nsliced_out_string = input_string[0:len(substring)]\nif (sliced_out_string == substring):\nreturn True\n# Check if there are any remaining substrings to be checked\nif (len(curr_index) &gt; len(input_string)):\nreturn False\nreturn False\n\nInput: 'cookie'\nOutput: False\nModel Output:\nI know that the line ‘curr_index = substring‘ is just initialization of the curr_index parameter variable and does not affect the output.\nHence, I can remove it completely to view the status of code before any output gets generated.\nNow I have a single variable, “‘curr_index“‘ which is set to ”codecandide”.\nThe second line of code, ‘slice_out_string = input_string[0:len(substring)]‘, assigns the result of slicing the input_string to the left\nof index 0 and to the right of index len(substring), i.e., the index of the last character in the substring. It then assigns this value to\nthe variable “‘slice_out_string“‘.\nThe third line, ‘if (slice_out_string == substring)‘ checks whether the “‘slice_out_string“‘ is equal to the value of substring. Because\ncurr_index is set to ”codecandide”, ”code” appears on the left of the first index in input_string, and thus, “‘slice_out_string“‘ assumes\nthe value ”code”. That means for a minute the “‘if statement“‘ is satisfied and will continue the code execution afterwards.\nHowever, according to the True/False statement, we see that the value of the first index of input_string does not exist hence while it\ndoes output ”True”, ”False” is outputted in main. So, the output of the whole program is shown below:\n‘f(input_string = ”cookie”)‘ then output: False\n\nFigure\nCoT Example\nExample on\non Solving\nSolving Output\nOutput Deduction\nDeduction Task.\nTask. The\nThe Absolute\nAbsolute Zero\nZero\nFigure 28.\n26. Absolute\nAbsolute Zero\nZero Reasoner-Llama3.1-8b\nReasoner-Llama3.1-8b CoT\nReasoner-Llama3.1-8b\nappearstotohave\nhavestrengthened\nstrengthened\nstate-tracking\nbehaviors\nduring\nthe course\nof training.\nWe illusReasoner-Llama3.1-8b model\nmodel appears\nitsits\nstate-tracking\nbehaviors\nduring\nthe course\nof training.\nWe illustrate\nan\ntrate\nan example\nexample\nhere. here.\n\nComplexiPy Score\n0.47\n\n0\n\nHalstead Measure\n0.20\n\n0\n\n80\n\n160\n\n240\n\n0\n\nAST Edit Distance\n0.78\n\n0\n\nComplexity\n\n80\n\n160\n\n0\n\n240\n\nAnswer Diversity\n0.99\n\n0\n\nTraining Steps\n\n80\n\n160\n\n240\n\n0\n\n0\n\n80\n\n160\n\n240\n\nDiversity\n\nFigure 29.\n27. Metrics\nMetricson\non Proposed\nProposed Tasks.\nTasks. We\nWe break\nbreak down\ndown the\nthe proposed\nFigure\nproposed task\ntask metrics\nmetrics into\ninto program\nprogram complexity\ncomplexity and\nand diversity\ndiversity across\nacross programs\nprograms\nand\nanswers.\nAn\nupward\ntrend\nis\nobserved\nin\nall\nmetrics,\nindicating\nthat\nAZR\nimplicitly\noptimizes\nfor\nthese\nqualities\nas\ntraining\nand answers. An upward trend is observed in all metrics, indicating that AZR implicitly optimizes for these qualities as trainingprogresses.\nprogresses.\n\n35\n36\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nMATH REASONING\nAIME 2024\n\nAccuracy\n\n0.200\n0.150\n\n0.100\n\n0.100\n\n0.050\n\n0.375\n0.350\n0.325\n0.300\n\n0.000\n50\n\n75\n\n100 125 150 175 200 225 250\n\nMinerva\n0.380\n0.360\n0.340\n0.320\n0.300\n0.280\n\nOlympiad Bench\n0.400\n\n0.050\n\nAccuracy\n\nAIME 2025\n\n50\n\n75\n\n50\n\n75\n\n50\n\n75\n\n100 125 150 175 200 225 250\n\nMath 500\n\n0.750\n0.725\n0.700\n0.675\n0.650\n0.625\n\n100 125 150 175 200 225 250\n\n100 125 150 175 200 225 250\n\nAMC 2023\n0.600\n0.550\n0.500\n0.450\n0.400\n\n50\n\n75\n\n100 125 150 175 200 225 250\n\n50\n\n75\n\n100 125 150 175 200 225 250\n\nCODE REASONING\nAccuracy\n\nHumanEval+\n\nMBPP+\n0.700\n\n0.740\n0.730\n0.720\n0.710\n0.700\n\n0.690\n\n0.280\n\n0.680\n\n0.260\n\n0.670\n\n0.240\n\n0.660\n50\n\n75\n\nLiveCodeBench\n\n100 125 150 175 200 225 250\n\n50\n\n75\n\n100 125 150 175 200 225 250\n\n50\n\n75\n\n100 125 150 175 200 225 250\n\nAccuracy\n\nOVERALL PERFORMANCE\nMath Average\n\n0.400\n0.380\n0.360\n0.340\n0.320\n0.300\n\nCode Average\n\n0.570\n0.560\n\n0.460\n\n0.550\n\n0.440\n\n0.540\n50\n\n75\n\n100 125 150 175 200 225 250\n\nOverall Average\n\n0.480\n\n0.420\n50\n\n75\n\n100 125 150 175 200 225 250\n\n50\n\n75\n\n100 125 150 175 200 225 250\n\nFigure 30. Absolute Zero Reasoner-base-7b OOD Performance Breakdown.\n\n37\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nMATH REASONING\nAIME 2024\n\nAccuracy\n\n0.200\n\nAIME 2025\n\n0.150\n0.100\n0.050\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n0.380\n0.360\n0.340\n50\n\n100\n\n150\n\nMinerva\nAccuracy\n\nOlympiad Bench\n\n0.100\n0.080\n0.060\n0.040\n0.020\n0.000\n200\n\n250\n\n300\n\n350\n\nMath 500\n\n0.375\n0.350\n0.325\n0.300\n0.275\n\n0.720\n\n0.500\n\n0.700\n\n0.450\n\n200\n\n250\n\n300\n\n350\n\n200\n\n250\n\n300\n\n350\n\n300\n\n350\n\n300\n\n350\n\n300\n\n350\n\nAMC 2023\n\n0.400\n\n0.680\n150\n\n150\n\n0.550\n\n0.740\n\n100\n\n100\n\n0.600\n\n0.760\n\n50\n\n50\n\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n50\n\n100\n\n150\n\n200\n\n250\n\nCODE REASONING\nAccuracy\n\nHumanEval+\n\nMBPP+\n\nLiveCodeBench\n\n0.720\n\n0.850\n0.840\n0.830\n0.820\n0.810\n\n0.320\n\n0.710\n\n0.300\n\n0.700\n\n0.280\n\n0.690\n0.680\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n0.260\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n50\n\n100\n\n150\n\n200\n\n250\n\nOVERALL PERFORMANCE\nMath Average\n\nAccuracy\n\n0.400\n\nCode Average\n\n0.630\n\n0.380\n\n0.620\n\n0.360\n\n0.610\n\nOverall Average\n0.500\n0.480\n\n0.600\n\n0.340\n\n0.460\n\n0.590\n\n0.320\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n0.580\n\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n50\n\n100\n\n150\n\nFigure 31. Absolute Zero Reasoner-Coder-7b OOD Performance Breakdown.\n\n38\n\n200\n\n250\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nMATH REASONING\nAccuracy\n\nAIME 2024\n\nAIME 2025\n\n0.200\n\n0.200\n\n0.400\n\n0.150\n\n0.150\n\n0.350\n\n0.100\n\n0.100\n\n0.300\n\n0.050\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n50\n\n100\n\n150\n\nMinerva\n\n200\n\n250\n\n300\n\n350\n\n0.350\n0.300\n50\n\n100\n\n150\n\n200\n\n250\n\n0.250\n\n50\n\n100\n\n150\n\nMath 500\n\n300\n\n350\n\n200\n\n250\n\n300\n\n350\n\n300\n\n350\n\n300\n\n350\n\n300\n\n350\n\nAMC 2023\n\n0.750\n0.700\n0.650\n0.600\n0.550\n0.500\n\n0.400\n\nAccuracy\n\nOlympiad Bench\n\n0.600\n0.550\n0.500\n0.450\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n50\n\n100\n\n150\n\n200\n\n250\n\nCODE REASONING\nHumanEval+\n\nAccuracy\n\n0.780\n\nMBPP+\n\n0.760\n\n0.710\n\n0.740\n\n0.700\n\n0.720\n\n0.690\n\n0.700\n\nLiveCodeBench\n\n0.720\n0.360\n0.340\n0.320\n\n0.680\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n50\n\n100\n\n150\n\n200\n\n250\n\nOVERALL PERFORMANCE\nAccuracy\n\nMath Average\n\nCode Average\n\n0.620\n\n0.400\n0.350\n\nOverall Average\n\n0.610\n\n0.500\n\n0.600\n\n0.480\n\n0.590\n\n0.460\n\n0.580\n\n0.300\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n0.570\n\n0.440\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n50\n\n100\n\n150\n\nFigure 32. Absolute Zero Reasoner-base-14b OOD Performance Breakdown.\n\n39\n\n200\n\n250\n\n\fAbsolute\nReinforced Self-play\nSelf-play Reasoning\nReasoning with\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\n\nMATH REASONING\nAccuracy\n\nAIME 2024\n0.200\n0.150\n0.100\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n0.150\n\n0.420\n\n0.100\n\n0.400\n\n400\n\nMinerva\n\n0.380\n50\n\n100\n\n150\n\n0.350\n0.300\n0.250\n\n200\n\n250\n\n300\n\n350\n\n400\n\nMath 500\n\n0.800\n\n0.400\n\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n400\n\n50\n\n0.780\n\n0.650\n\n0.760\n\n0.600\n\n0.740\n\n0.550\n\n0.700\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n400\n\n300\n\n350\n\n400\n\n350\n\n400\n\n350\n\n400\n\nAMC 2023\n\n0.700\n\n0.720\n\n0.200\n\nOlympiad Bench\n\n0.440\n\n0.050\n50\n\nAccuracy\n\nAIME 2025\n\n0.200\n\n0.500\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n400\n\n50\n\n100\n\n150\n\n200\n\n250\n\nCODE REASONING\nAccuracy\n\nHumanEval+\n\nMBPP+\n\n0.740\n0.730\n\n0.820\n\n0.380\n\n0.720\n0.800\n\n0.360\n\n0.710\n\n0.340\n\n0.700\n\n0.780\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n400\n\nLiveCodeBench\n\n0.400\n\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n400\n\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\nOVERALL PERFORMANCE\nMath Average\n\n0.440\n\nAccuracy\n\n0.420\n\n0.520\n\n0.630\n\n0.380\n\n0.620\n\n0.360\n\nOverall Average\n\n0.540\n\n0.640\n\n0.400\n\n0.340\n\nCode Average\n\n0.650\n\n0.500\n\n0.610\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n400\n\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\n350\n\n400\n\n50\n\n100\n\n150\n\n200\n\n250\n\n300\n\nFigure\n33. Absolute\nAbsolute Zero\nZero Reasoner-Coder-14b\nReasoner-Coder-14b OOD\nOOD Performance\nPerformance Breakdown.\nBreakdown.\nFigure 31.\n\n&lt;think&gt;\nDesign an absolutely ludicrous and convoluted Python function that is extremely difficult to\n!→\ndeduce the output from the input, designed to keep machine learning models such as Snippi\n!→\nguessing and your peers puzzling.\nThe aim is to outsmart all these groups of intelligent machines and less intelligent humans. This\n!→\nis for the brains behind the future.\n&lt;/think&gt;\n- Absolute Zero Reasoner-Llama3.1-8b @ step 132\n\nFigure\nLlama3.1-8B “Uh-oh\n“Uh-oh Moment.”\nMoment.” This\nThis example\nexample highlights\nhighlights an\nan unexpected\nunexpected and\nand potentially\npotentially unsafe\nunsafe\nFigure 34.\n32. Absolute\nAbsolute Zero\nZero Reasoner\nReasoner ––Llama3.1-8B\nreasoning\nby our\nour Absolute\nZero Reasoner–Llama3.1-8B\nReasoner–Llama3.1-8B model\nmodel during\nduring training.\ntraining. Although\nour paradigm\nparadigm enables\nenables\nreasoning chain\nchain generated\ngenerated by\nAbsolute Zero\nAlthough our\nreasoning\ndata, it\nit may\nmay still\nstill require\nrequire oversight\noversight due\ndue to\nto the\nthe risk\nrisk of\nof emergent\nemergent undesirable\nundesirable behaviors.\nbehaviors.\nreasoning improvements\nimprovements without\nwithout human-curated\nhuman-curated data,\n\n40\n39\n\n\fAbsolute\nReinforced Self-play\nSelf-play Reasoning\nReasoning with\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\n\nA conversation between User and Assistant. The user asks a question, and the Assistant solves it.\n!→\nThe assistant first thinks about the reasoning process in the mind and then provides the user\n!→\nwith the answer. The reasoning process and answer are enclosed within &lt;think&gt; &lt;/think&gt; and\n!→ &lt;answer&gt; &lt;/answer&gt; tags, respectively, i.e., &lt;think&gt; reasoning process here &lt;/think&gt; &lt;answer&gt;\n!→\nanswer here &lt;/answer&gt;.\nUser: {TASK_INSTRUCTION}\nAssistant: &lt;think&gt;\n\nFigure\nAll our\nour models\nmodels were\nwere trained\ntrained using\nusing the\nthe default\ndefault Deepseek\nDeepseek R1\nR1 template.\ntemplate.\nFigure 35.\n33. Deepseek\nDeepseek R1\nR1 Template.\nTemplate. All\n\n40\n41\n\n\fAbsolute\nReinforced Self-play\nSelf-play Reasoning\nReasoning with\nwith Zero\nZeroData\nData\nAbsolute Zero:\nZero: Reinforced\n## Task: Create a Python Code Snippet (where custom classes are allowed, which should be defined\n!→\nat the top of the code snippet) with one Matching Input\nUsing the reference code snippets provided below as examples, design a new and unique Python code\n!→\nsnippet that demands deep algorithmic reasoning to deduce one possible input from a given\n!→\noutput. Your submission should include both a code snippet and test input pair, where the\n!→\ninput will be plugged into the code snippet to produce the output, which that function output\n!→\nbe given to a test subject to come up with any input that will produce the same function\n!→\noutput. This is meant to be an I.Q. test.\n### Code Requirements:\n- Name the entry function `f` (e.g., `def f(...): ...`), you can have nested definitions inside\n!→\n`f`\n- Ensure the function returns a value\n- Include at least one input parameter\n- Make the function deterministic\n- Make the snippet require state tracking across multiple data transformations, ensuring the task\n!→\nrequires long multi step reasoning\n- AVOID THE FOLLOWING:\n* Random functions or variables\n* Date/time operations\n* I/O operations (reading files, network requests)\n* Printing or logging\n* Any external state\n- Ensure execution completes within 10 seconds on a modern CPU\n- All imports and class definitions should be at the very top of the code snippet\n- The snippet should end with a return statement from the main function `f`, anything after will\n!→\nbe removed\n### Input Requirements:\n- Provide exactly one test input for your function\n- Format multiple arguments with commas between them\n- Remember to add quotes around string arguments\n### Formatting:\n- Format your code with: ```python\ndef f(...):\n# your code here\nreturn ...\n```\n- Format your input with: ```input\narg1, arg2, ...\n```\n### Example Format:\n```python\ndef f(name: str, info: dict):\n# code logic here\nreturn result\n```\n```input\n'John', {{'age': 20, 'city': 'New York'}}\n```\n### Evaluation Criteria:\n- Executability, your code should be executable given your input\n- Difficulty in predicting the output from your provided input and code snippet. Focus on either\n!→\nalgorithmic reasoning or logic complexity. For example, you can define complex data structure\n!→\nclasses and operate on them like trees, heaps, stacks, queues, graphs, etc, or use complex\n!→\ncontrol flow, dynamic programming, recursions, divide and conquer, greedy, backtracking, etc\n- Creativity, the code needs to be sufficiently different from the provided reference snippets\n- Restricted usage of certain keywords and packages, you are not allowed to use the following\n!→\nwords in any form, even in comments: {LIST_OF_FORBIDDEN_PACKAGES}\nFirst, carefully devise a clear plan: e.g., identify how your snippet will be challenging,\n!→\ndistinct from reference snippets, and creative. Then, write the final code snippet and its\n!→\ninputs.\n### Reference Code Snippets:\n{CODE_REFERENCES_FROM_BUFFER}\n\nFigure 34. Program Input Abduction Task—Problem Proposal Instruction.\nFigure 36. Program Input Abduction Task—Problem Proposal Instruction.\n\n41\n42\n\n\fAbsolute\nReinforced Self-play\nSelf-play Reasoning\nReasoning with\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\n## Task: Create a New Python Code Snippet (where custom classes are allowed, which should be\n!→\ndefined at the top of the code snippet) with one Matching Input\nUsing the reference code snippets provided below as examples, design a new and unique Python code\n!→\nsnippet that demands deep algorithmic reasoning to deduce the output from the input. Your\n!→\nsubmission should include a code snippet and a test input pair, where the input will be\n!→\nplugged into the code snippet to produce the output. The input will be given to a test\n!→\nsubject to deduce the output, which is meant to be an I.Q. test.\n### Code Requirements:\n- Name the entry function `f` (e.g., `def f(...): ...`), you can have nested definitions inside\n!→\n`f`\n- Ensure the function returns a value\n- Include at least one input parameter\n- Make the function deterministic\n- Make the snippet require state tracking across multiple data transformations, ensuring the task\n!→\nrequires long multi step reasoning\n- AVOID THE FOLLOWING:\n* Random functions or variables\n* Date/time operations\n* I/O operations (reading files, network requests)\n* Printing or logging\n* Any external state\n- Ensure execution completes within 10 seconds on a modern CPU\n- All imports and class definitions should be at the very top of the code snippet\n- The snippet should end with a return statement from the main function `f`, anything after will\n!→\nbe removed\n### Input Requirements:\n- Provide exactly one test input for your function\n- Format multiple arguments with commas between them\n- Remember to add quotes around string arguments\n### Formatting:\n- Format your code with:\n```python\ndef f(...):\n# your code here\nreturn ...\n```\n- Format your input with:\n```input\narg1, arg2, ...\n```\n### Example Format:\n```python\ndef f(name: str, info: dict):\n# code logic here\nreturn result\n```\n```input\n'John', {{'age': 20, 'city': 'New York'}}\n```\n### Evaluation Criteria:\n- Executability, your code should be executable given your input\n- Difficulty in predicting your ```input``` from 1) your ```python``` code and 2) the\n!→\ndeterministic ```output``` that will be obtained from your ```input```. Focus on either\n!→\nalgorithmic reasoning or logic complexity. For example, you can define complex data structure\n!→\nclasses and operate on them like trees, heaps, stacks, queues, graphs, etc, or use complex\n!→\ncontrol flow, dynamic programming, recursions, divide and conquer, greedy, backtracking, etc\n- Creativity, the code needs to be sufficiently different from the provided reference snippets\n- Restricted usage of certain keywords and packages, you are not allowed to use the following\n!→\nwords in any form, even in comments: {LIST_OF_FORBIDDEN_PACKAGES}\nFirst, carefully devise a clear plan: e.g., identify how your snippet will be challenging,\n!→\ndistinct from reference snippets, and creative. Then, write the final code snippet and its\n!→\ninputs.\n### Reference Code Snippets:\n{CODE_REFERENCES_FROM_BUFFER}\n\nFigure 37.\n35. Program\nProgram Output\nFigure\nOutput Deduction\nDeduction Task—Problem\nTask—Problem Generation\nGeneration Instruction.\nInstruction.\n\n42\n43\n\n\fAbsolute\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\nReinforced Self-play\nSelf-play Reasoning\nReasoning with\n\n## Task: Output {NUM_INPUTS} Inputs that can be plugged into the following Code Snippet to\n!→\nproduce diverse Outputs, and give a message related to the given snippet.\nUsing the code snippet provided below, design {NUM_INPUTS} inputs that can be plugged into the\n!→\ncode snippet to produce a diverse set of outputs. A subset of your given input and its\n!→\ndeterministically produced outputs will be given to a test subject to deduce the function,\n!→\nwhich is meant to be an I.Q. test. You can also leave a message to the test subject to help\n!→\nthem deduce the code snippet.\n### Input Requirements:\n- Provide {NUM_INPUTS} valid inputs for the code snippet\n- For each input, format multiple arguments with commas between them\n- Remember to add quotes around string arguments\n- Each input should be individually wrapped in ```input``` tags\n### Message Requirements:\n- Leave a message to the test subject to help them deduce the code snippet\n- The message should be wrapped in ```message``` tags\n- The message can be in any form, can even be formed into a coding question, or a natural\n!→\nlanguage instruction what the code snippet does\n- You cannot provide the code snippet in the message\n### Formatting:\n- Format your input with:\n```input\narg1, arg2, ...\n```\n### Example Format:\n```input\n'John', {{'age': 20, 'city': 'New York'}}\n```\n```input\n'Sammy', {{'age': 37, 'city': 'Los Angeles'}}\n```\n### Evaluation Criteria:\n- Executability, your code should be executable given your inputs\n- Coverage, the inputs and outputs should cover the whole input space of the code snippet, able\n!→\nto deduce the code snippet from the inputs and outputs\n- Creativity, the inputs need to be sufficiently different from each other\n- The overall selection of inputs and message combined should be challenging for the test\n!→\nsubject, but not impossible for them to solve\nFirst, carefully devise a clear plan: e.g., understand the code snippet, then identify how your\n!→\nproposed inputs have high coverage, and why the inputs will be challenging and creative.\n!→\nThen, write the inputs and message. Remember to wrap your inputs in ```input``` tags, and\n!→\nyour message in ```message``` tags.\n### Code Snippet:\n```python\n{SNIPPET_FROM_BUFFER}\n```\n\nFigure 38.\n36. Program\nProgram Induction\nInduction Task—Problem\nTask—Problem Proposal\nFigure\nProposal Instruction.\nInstruction.\n\n43\n44\n\n\fAbsolute\nZero: Reinforced\nReinforced Self-play Reasoning\nReasoning with Zero\nZero Data\nAbsolute\nAbsolute Zero:\nZero: Reinforced Self-play\nSelf-play Reasoning with\nwith Zero Data\nData\n\n## Task:\nTask: Provide\nProvide One\nOne Possible\nPossible Input\nInput of\nof aa Python\nPython Code\nCode Snippet\nSnippet Given\nGiven the\nthe Code\nCode and\nand Output\nOutput\nGiven\nthe\nfollowing\nCode\nSnippet\nand\nthe\nOutput,\nthink\nstep\nby\nstep\nthen\nprovide\nGiven the following Code Snippet and the Output, think step by step then provide one\none possible\npossible\n!→\ninput\n!→\ninput that\nthat produced\nproduced the\nthe output.\noutput. The\nThe input\ninput needs\nneeds to\nto be\nbe wrapped\nwrapped in\nin ```input```\n```input``` tags.\ntags. Remember\nRemember\n!→\nif\n!→\nif an\nan argument\nargument is\nis aa string,\nstring, wrap\nwrap it\nit in\nin quotes.\nquotes. If\nIf the\nthe function\nfunction requires\nrequires multiple\nmultiple arguments,\narguments,\n!→\nseparate\n!→\nseparate them\nthem with\nwith commas.\ncommas.\n## Code\nCode Snippet:\nSnippet:\n```python\n```python\n{SNIPPET}\n{SNIPPET}\n```\n```\n## Output:\nOutput:\n```output\n```output\n{OUTPUT}\n{OUTPUT}\n```\n```\n## Output\nOutput Format:\nFormat:\n```input\n```input\narg1,\narg1, arg2,\narg2, ...\n...\n```\n```\n## Example\nExample Output:\nOutput:\n```input\n```input\n'John',\n'John', {{'age':\n{{'age': 20,\n20, 'city':\n'city': 'New\n'New York'}}\nYork'}}\n```\n```\nFigure\n37.\nFigure\nProgram\nInput\nAbduction Task—Problem\nTask—Problem Solving\nSolving Prompt.\nPrompt.\nFigure 39.\n37. Program\nProgram Input\nInput Abduction\nAbduction\nTask—Problem\nSolving\nPrompt.\n\n## Task:\nTask: Deduce\nDeduce the\nthe Output\nOutput of\nof aa Python\nPython Code\nCode Snippet\nSnippet Given\nGiven the\nthe Code\nCode and\nand Input\nInput\nGiven\nthe\nfollowing\nCode\nSnippet\nand\nthe\nInput,\nthink\nstep\nby\nstep\nGiven the following Code Snippet and the Input, think step by step then\nthen deduce\ndeduce the\nthe output\noutput that\nthat\n!→\nwill\n!→\nwill be\nbe produced\nproduced from\nfrom plugging\nplugging the\nthe Input\nInput into\ninto the\nthe Code\nCode Snippet.\nSnippet. Put\nPut your\nyour output\noutput in\nin\n!→\n```output```\n!→\n```output``` tags.\ntags. Remember\nRemember if\nif the\nthe output\noutput is\nis aa string,\nstring, wrap\nwrap it\nit in\nin quotes.\nquotes. If\nIf the\nthe function\nfunction\n!→\nreturns\n!→\nreturns multiple\nmultiple values,\nvalues, remember\nremember to\nto use\nuse aa tuple\ntuple to\nto wrap\nwrap them.\nthem.\n## Code\nCode Snippet:\nSnippet:\n```python\n```python\n{SNIPPET}\n{SNIPPET}\n```\n```\n## Input:\nInput:\n```input\n```input\n{INPUT}\n{INPUT}\n```\n```\n## Example\nExample Output:\nOutput:\n```output\n```output\n{{'age':\n{{'age': 20,\n20, 'city':\n'city': 'New\n'New York'}}\nYork'}}\n```\n```\nFigure\n38.\nTask—Problem Solving\nPrompt.\nFigure 40.\n38. Program\nProgram Output\nOutput Deduction\nDeduction\nFigure\nProgram\nOutput\nDeduction Task—Problem\nTask—Problem Solving\nSolving Prompt.\nPrompt.\n\n44\n44\n45\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\nAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\n# Task: Deduce the Function that Produced the Outputs from the Inputs\nGiven a set of input/output pairs and a message that describes the function, think through the\n!→\nproblem step by step to deduce a general code snippet. This code should produce the hidden\n!→\noutputs from the hidden inputs, matching the original data-generating code that created the\n!→\ninput/output pairs. Place your final answer inside python tags! It may be helpful to work\n!→\nthrough each input/output pair individually to test your function. If your function doesn’t\n!→\nwork as expected, revise it until it does. The final code snippet will be used to evaluate\n!→\nyour response, which is wrapped in ```python``` tags.\n# Code Requirements:\n- Name the entry function `f` (e.g., `def f(...): ...`), you can have nested definitions inside\n!→\n`f`\n- Ensure the function returns a value\n- Include at least one input parameter\n- Make the function deterministic\n- AVOID THE FOLLOWING:\n* Random functions or variables\n* Date/time operations\n* I/O operations (reading files, network requests)\n* Printing or logging\n* Any external state\n- Ensure execution completes within 10 seconds on a modern CPU\n- All imports and class definitions should be at the very top of the code snippet\n- The snippet should end with a return statement from the main function `f()`, anything after\n!→\nwill be removed\n# Input and Output Pairs:\n{INPUT_OUTPUT_PAIRS}\n# Message:\n```message\n{MESSAGE}\n```\n# Example Output:\n```python\ndef f(a):\nreturn a\n```\nName your entry function `f()`!!!\n\nFigure 39. Program Induction Task—Problem Solving Prompt.\nFigure\n41. Program Induction Task—Problem Solving Prompt.\n\n45\n46\n\n\fAbsolute\nwith Zero\nZero Data\nData\nAbsolute Zero:\nZero: Reinforced\nReinforced Self-play\nSelf-play Reasoning\nReasoning with\n\nTask: Manual Constructed Sudoku Abduction Task\nModel Input: Here is the function f and the output: [ [”5”,”3”,”.”,”.”,”7”,”.”,”.”,”.”,”.”],\n[”6”,”.”,”.”,”1”,”9”,”5”,”.”,”.”,”.”], [”.”,”9”,”8”,”.”,”.”,”.”,”.”,”6”,”.”], [”8”,”.”,”.”,”.”,”6”,”.”,”.”,”.”,”3”],\n[”4”,”.”,”.”,”8”,”.”,”3”,”.”,”.”,”1”], [”7”,”.”,”.”,”.”,”2”,”.”,”.”,”.”,”6”], [”.”,”6”,”.”,”.”,”.”,”.”,”2”,”8”,”.”],\n[”.”,”.”,”.”,”4”,”1”,”9”,”.”,”.”,”5”], [”.”,”.”,”.”,”.”,”8”,”.”,”.”,”7”,”9”] ], please predict the input.\nimport random\nfrom typing import List\nimport copy\ndef g_0(board: List[List[str]]) -&gt; bool:\ndef is_valid_block(block):\nreturn sorted(block) == [str(i) for i in range(1, 10)]\nfor row in board:\nif not is_valid_block(row):\nreturn False\nfor col in zip(*board):\nif not is_valid_block(col):\nreturn False\nfor box_row in range(0, 9, 3):\nfor box_col in range(0, 9, 3):\nblock = [\nboard[r][c]\nfor r in range(box_row, box_row + 3)\nfor c in range(box_col, box_col + 3)\n\n]\nif not is_valid_block(block):\nreturn False\nreturn True\n\ndef f(board: List[List[str]]) -&gt; List[List[str]]:\nfor i in range(9):\nfor j in range(9):\nif board[i][j] == \".\":\nraise ValueError(\"Invalid board\")\nnum_to_mask = 51\nif not g_0(board):\nraise ValueError(\"Invalid board\")\nmasked_board = copy.deepcopy(board)\nall_positions = [(i, j) for i in range(9) for j in range(9)]\nrandom.shuffle(all_positions)\nfor i, j in all_positions[:num_to_mask]:\nmasked_board[i][j] = \".\"\nreturn masked_board\n\n47\n\nModel Output:\nTo determine the input that produced the given output, we need to analyze the function ‘f‘ and understand\nwhat it does. Let’s break down the function step by step:\n\n\fModel Input: Here is the function f and the output: [ [”5”,”3”,”.”,”.”,”7”,”.”,”.”,”.”,”.”],\n[”6”,”.”,”.”,”1”,”9”,”5”,”.”,”.”,”.”], [”.”,”9”,”8”,”.”,”.”,”.”,”.”,”6”,”.”], [”8”,”.”,”.”,”.”,”6”,”.”,”.”,”.”,”3”],\n[”4”,”.”,”.”,”8”,”.”,”3”,”.”,”.”,”1”], [”7”,”.”,”.”,”.”,”2”,”.”,”.”,”.”,”6”], [”.”,”6”,”.”,”.”,”.”,”.”,”2”,”8”,”.”],\n[”.”,”.”,”.”,”4”,”1”,”9”,”.”,”.”,”5”], [”.”,”.”,”.”,”.”,”8”,”.”,”.”,”7”,”9”] ], please predict the input.\nAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nModel Output:\nTo determine the input that produced the given output, we need to analyze the function ‘f‘ and understand\nwhat it does. Let’s break down the function step by step:\n1. **Input Validation in ‘g_0‘**: - The function ‘g_0‘ checks if the given board is valid. - A board is valid\nif each row, each column, and each 3x3 subgrid contains the digits 1 through 9 exactly once. - If the board\nis not valid, ‘g_0‘ returns ‘False‘.\n2. **Input Validation in ‘f‘**: - The function ‘f‘ first checks if there are any ”.” in the board. If there are, it\nraises a ‘ValueError‘. - This means the input board to ‘f‘ must be a complete board with no ”.”.\n3. **Masking the Board**: - If the board is valid (i.e., ‘g_0(board)‘ returns ‘True‘), the function ‘f‘ proceeds\nto mask the board. - It creates a copy of the board and then randomly selects 51 positions to mask with ”.”.\n- The masked board is then returned.\nGiven the output:\n“‘output [[”5”,”3”,”.”,”.”,”7”,”.”,”.”,”.”,”.”], [”6”,”.”,”.”,”1”,”9”,”5”,”.”,”.”,”.”],\n[”.”,”9”,”8”,”.”,”.”,”.”,”.”,”6”,”.”], [”8”,”.”,”.”,”.”,”6”,”.”,”.”,”.”,”3”], [”4”,”.”,”.”,”8”,”.”,”3”,”.”,”.”,”1”],\n[”7”,”.”,”.”,”.”,”2”,”.”,”.”,”.”,”6”], [”.”,”6”,”.”,”.”,”.”,”.”,”2”,”8”,”.”], [”.”,”.”,”.”,”4”,”1”,”9”,”.”,”.”,”5”],\n[”.”,”.”,”.”,”.”,”8”,”.”,”.”,”7”,”9”]] “‘ We can see that the board has 51 positions masked with ”.”. Therefore,\nthe input board must have been a complete board, and ‘f‘ masked 51 random positions.\nLet’s construct a complete board that, when masked, can produce the given output. We need to find a board\nsuch that after masking 51 positions, we get the output shown.\nHere is a complete board that matches the structure of the output: “‘python [ [”5”, ”3”, ”4”, ”6”, ”7”, ”8”,\n”9”, ”1”, ”2”], [”6”, ”7”, ”2”, ”1”, ”9”, ”5”, ”3”, ”4”, ”8”], [”1”, ”9”, ”8”, ”3”, ”4”, ”2”, ”5”, ”6”, ”7”], [”8”,\n”5”, ”9”, ”7”, ”6”, ”1”, ”4”, ”2”, ”3”], [”4”, ”2”, ”6”, ”8”, ”5”, ”3”, ”7”, ”9”, ”1”], [”7”, ”1”, ”3”, ”9”, ”2”,\n”4”, ”8”, ”5”, ”6”], [”9”, ”6”, ”1”, ”5”, ”3”, ”7”, ”2”, ”8”, ”4”], [”2”, ”8”, ”7”, ”4”, ”1”, ”9”, ”6”, ”3”, ”5”],\n[”3”, ”4”, ”5”, ”2”, ”8”, ”6”, ”1”, ”7”, ”9”] ] “‘\nLet’s verify that this board, when passed to the function ‘f‘, produces the given output.\n1. The board is complete with no ”.”. 2. The board is valid because each row, each column, and each 3x3\nsubgrid contains the digits 1 through 9 exactly once. 3. The function ‘f‘ will mask 51 random positions.\nGiven the random nature of the masking, we need to ensure that the positions masked match the positions\nof ”.” in the output. Since the positions are random, we can assume that the function ‘f‘ with this complete\nboard will produce the given output.\nTherefore, the input that produced the output is: “‘input [ [”5”, ”3”, ”4”, ”6”, ”7”, ”8”, ”9”, ”1”, ”2”], [”6”,\n”7”, ”2”, ”1”, ”9”, ”5”, ”3”, ”4”, ”8”], [”1”, ”9”, ”8”, ”3”, ”4”, ”2”, ”5”, ”6”, ”7”], [”8”, ”5”, ”9”, ”7”, ”6”,\n”1”, ”4”, ”2”, ”3”], [”4”, ”2”, ”6”, ”8”, ”5”, ”3”, ”7”, ”9”, ”1”], [”7”, ”1”, ”3”, ”9”, ”2”, ”4”, ”8”, ”5”, ”6”],\n[”9”, ”6”, ”1”, ”5”, ”3”, ”7”, ”2”, ”8”, ”4”], [”2”, ”8”, ”7”, ”4”, ”1”, ”9”, ”6”, ”3”, ”5”], [”3”, ”4”, ”5”, ”2”,\n”8”, ”6”, ”1”, ”7”, ”9”] ] “‘\nFigure 42. Vibe Check 1: Sudoku Solver. We cast\nSudoku\nsolving\nas an1:abduction\nFigure\n40. Vibe\nCheck\nSudoku. task: our program starts from a fully solved and\nvalidated Sudoku board and simulates the masking of 51 random cells. The masked board is then presented as output, and the model\nis tasked with inferring the original input — effectively solving the puzzle backwards. An example solution is shown above, where\nAZR-Coder-14b verifies its initial guess before correctly answering. Generation parameters: temperature=0.6.\n\n46\n\n48\n\n\fAbsoluteZero:\nZero:Reinforced\nReinforcedSelf-play\nSelf-play\nReasoning\nwith\nZero\nData\nAbsolute\nReasoning\nwith\nZero\nData\n\nTask: Manually Constructed Sum Product Game Solve Abduction Task\nModel Input: Here is the function f and the output: ‘True‘, please predict the input.\ndef g_3():\nreturn [(x, y) for x in range(2, 101) for y in range(x + 1, 101) if x + y &lt;= 100]\ndef g_2(pairs):\nd = {}\nfor (x, y) in pairs:\ns = x + y\nd.setdefault(s, []).append((x, y))\nreturn d\ndef g_1(pairs):\nd = {}\nfor (x, y) in pairs:\np = x * y\nd.setdefault(p, []).append((x, y))\nreturn d\ndef g_0():\npairs = g_3()\nsum_dict = g_2(pairs)\nprod_dict = g_1(pairs)\nallowed_sums = [s for s, candidate_pairs in sum_dict.items() \\\nif all(len(prod_dict[x * y]) &gt; 1 for (x, y) in candidate_pairs)]\ncandidates_after_S = [pair for pair in pairs if pair[0] + pair[1] in allowed_sums]\nnew_prod_dict = g_1(candidates_after_S)\nunique_products = {prod: pair_list for prod, pair_list in new_prod_dict.items() \\\nif len(pair_list) == 1}\nfinal_candidates = []\nfor s in allowed_sums:\nvalid_pairs = [pair for pair in candidates_after_S \\\nif pair[0] + pair[1] == s and (pair[0] * pair[1]) in unique_products]\nif len(valid_pairs) == 1:\nfinal_candidates.append(valid_pairs[0])\nreturn sorted(set(final_candidates))\ndef f(x, y):\nif not (isinstance(x, int) and isinstance(y, int)):\nreturn False\nif x &lt;= 1 or y &lt;= 1 or y &lt;= x or (x + y) &gt; 100:\nreturn False\nfinal_candidates = g_0()\nreturn len(final_candidates) == 1 and final_candidates[0] == (x, y)\nModel Output:\n\n49\n\nLet’s analyze the code snippet to understand how the result is achieved. The function f takes a list of integers numbers and a target integer target. It calculates the accumulated sum of elements as it\niterates through the list. Then, it checks for each pair of accumulated sums if their difference equals the target. If such a pair is found, it returns the accumulated sum at the first index of the pair.\n\nTo find one possible input that produces the output 1, we need to find a scenario where the difference between any two accumulated_values equals the target, and the first accumulated_values that\n\n\fTask: Manually Constructed Sum Product Game Solve Abduction Task\nModel Input: Here is the function f and the output: ‘True‘, please predict the input.\nAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nModel Output:\nthe function ‘f(x, y)‘ returns ‘True‘ if the following conditions are met:\n1. ‘x‘ and ‘y‘ are both integers.\n2. ‘x‘ and ‘y‘ satisfy ‘1 &lt; x &lt; y‘ and ‘x + y &lt;= 100‘.\n3. The final candidates after applying the conditions in ‘g_0‘ are exactly one pair, and that pair is ‘(x, y)‘.\nLet’s analyze the function ‘g_0‘ step by step to understand what it does:\n1. ‘pairs = g_3()‘ generates all pairs ‘(x, y)‘ such that ‘2 &lt;= x &lt; y &lt;= 100‘ and ‘x + y &lt;= 100‘.\n2. ‘sum_dict = g_2(pairs)‘ creates a dictionary where the keys are the sums of the pairs and the values are lists of pairs that add up\nto that sum.\n3. ‘prod_dict = g_1(pairs)‘ creates a dictionary where the keys are the products of the pairs and the values are lists of pairs that\nhave that product.\n4. ‘allowed_sums = [s for s, candidate_pairs in sum_dict.items() if all(len(prod_dict[x * y]) &gt; 1 for (x, y) in candidate_pairs)]‘\nfilters out the sums ‘s‘ for which all pairs ‘(x, y)‘ that add up to ‘s‘ have more than one pair with the same product.\n5. ‘candidates_after_S = [pair for pair in pairs if pair[0] + pair[1] in allowed_sums]‘ filters out the pairs whose sum is in\n‘allowed_sums‘.\n6. ‘new_prod_dict = g_1(candidates_after_S)‘ creates a new product dictionary using the filtered pairs.\n7. ‘unique_products = prod: pair_list for prod, pair_list in new_prod_dict.items() if len(pair_list) == 1‘ creates a dictionary of\nproducts that have exactly one pair.\n8. ‘final_candidates = []‘ initializes a list of final candidates.\n9. The loop ‘for s in allowed_sums:‘ iterates over each sum in ‘allowed_sums‘ and checks if there is exactly one pair ‘(x, y)‘ such\nthat ‘x + y = s‘ and ‘x * y‘ is in ‘unique_products‘. If so, this pair is added to ‘final_candidates‘.\n10. The function returns ‘sorted(set(final_candidates))‘, which should be a list containing exactly one pair if the conditions are\nmet.\nGiven that the output is ‘True‘, it means that there is exactly one pair ‘(x, y)‘ that satisfies all the conditions. Let’s identify this pair.\nTo do this, we need to understand the mathematical conditions and constraints:\n1. ‘1 &lt; x &lt; y‘ and ‘x + y &lt;= 100‘.\n2. The pair ‘(x, y)‘ must be the only pair whose sum is in ‘allowed_sums‘ and whose product is unique among the pairs with the\nsame sum.\nBy analyzing the constraints and the nature of the problem, we can deduce that the pair ‘(x, y)‘ must be such that the sum ‘x + y‘ is\nunique in the sense that all pairs adding up to this sum have products that are not unique, except for this pair.\nAfter detailed analysis or by running the code with different values, we find that the pair ‘(x, y) = (4, 13)‘ satisfies all the conditions.\nLet’s verify:\n1. ‘1 &lt; 4 &lt; 13‘ and ‘4 + 13 = 17 &lt;= 100‘.\n2. We need to check the ‘allowed_sums‘ and the uniqueness of the product ‘4 * 13 = 52‘.\nBy running the code or logical deduction, we can confirm that ‘(4, 13)‘ is the only pair that satisfies all the conditions.\nTherefore, the input that produced the output ‘True‘ is:\n“‘input\n(4, 13)\n“‘\n\nFigure\n2: Sum\nProduct\nGame.\nWe cast\nthe Sum-Product\nGame\nas anshown\nabduction\ntask,Figure\nwhere 7.\nwhen\nconstraints\nof the\nFigure 43.\n41. Vibe\nSolveCheck\nAbduction\nTask\nExample.\nA more\ndetailed\nversion of the\nexample\nin main\nThethe\nmodel\nis solving\nan\ngame\nare satisfied,\nfunction\n‘f‘ returns True, return False otherwise. 48\nAZR-Coder-14b was able to first analyze the complicated constraints,\nabduction\ntask (predict\ninput).\nidentify candidate solution and verify. Generation parameters: temperature=0.6, top_p=0.95.\n\n50\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\nD. Alternative Approaches Considered\nIn this section, we share many of the approaches we tried that did not prove to be particularly helpful for Absolute Zero Reasoner.\nHowever, we believe it is especially valuable to share these findings with the community, as they are crucial for guiding future research.\nBelow, we outline each of the additional methods we explored during the development of our project.\n\nD.1. Error Deduction Task\nSince programming languages often have error messages, and these messages contain a lot of information about how someone might\nexpect a program to run, we also came up with another task domain: allowing the learner to propose a program that will produce an\nerror, and requiring the solver to deduce what kind of error is raised when executing this code. We experimented with this additional\ntask alongside the induction (f ), deduction (o), and abduction (i) tasks. Unfortunately, we did not observe noticeable changes in\ndownstream performance with this additional task and since it requires more computational resources than our AZR setup, we decided\nnot to incorporate it into our final version. However, we believe further thorough investigation of this is well deserved.\n\nD.2. Composite Functions as Curriculum Learning\nOne valuable property we can leverage from programming languages is the ability to compose functions—that is, to define a function as\na composite of other functions, i.e., f (g(x)). In our setting, when generating a program, we can not only require the output to be a valid\nprogram but also constrain the LLM to utilize a predefined set of programs within its main function. For example, if the target program\nto be generated is f (·), we can sample a set of previously generated programs {g_0, . . . , gc } from D, and force a valid program to be\nf (g_0, · · · , gc , i).\nSince all programs are generated by the LLM itself, this setup allows the model to bootstrap from its earlier generations, automatically\nincreasing the complexity of the generated programs. We interpret this mechanism as a form of curriculum learning: earlier programs\nin the AZR self-play loop tend to be simpler, and as the loop progresses, they become increasingly complex. By composing newer\nprograms from progressively more difficult earlier ones, the resulting programs naturally inherit this growing difficulty, which in turn\nchallenges the solver step.\nFor implementation, in generating tasks for abduction and deduction, we begin by sampling a binary decision from a binomial distribution\nwith p = 0.5. This determines whether the generated program should be a simple program or a composite one. If the sample is 0, we\nprompt the LLM to generate a standard program along with a corresponding input. If the sample is 1, we prompt the LLM to generate a\ncomposite program. To construct the composite, we first sample an integer c ∼ U(1, 3), then uniformly select c programs from the\ndataset D that are not themselves composite programs. Finally, we prompt the LLM to generate a valid program that incorporates\n{g_0, . . . , gc } as subcomponents, ensuring it composes these selected programs meaningfully. We additionally filter programs that did\nnot utilize all the c programs.\nHowever, we did not observe a significant difference when using this more complex curriculum compared to our simpler and more\neffective approach. One failure mode we encountered was that the model often defaulted to simply returning “g(x)”, effectively learning\nf (g(x)) = g(x), which failed to introduce any additional difficulty. This trivial behavior undermined the intended challenge, leading us\nto deprioritize further exploration in this direction. While it may be possible to design a stricter reward mechanism—such as enforcing\nf (g(x)) ̸= g(x) by executing the code via a Python interpreter and penalizing such shortcuts—we leave this to future work.\n\nD.3. Toying with the Initial p(z)\nWe investigated a setting where the initial seed buffer (see Section 3.3.1 on how we generated these), i.e. p(z) in Equation (3), is not\nself-generated by the base model, but instead sourced from the LeetCode Dataset. We only modified this component and ran AZR\nusing the same procedure as before, continuing to add new valid programs to the initialized buffer. We observed an increase in initial\nperformance on coding benchmarks; however, the performance plateaued at roughly the same level after additional training steps,\ncompared to our official AZR setup. Interestingly, math performance was lower than in the official AZR setup, pointing towards that\non-policy data may be more beneficial to the learner to bootstrap from for mathematical reasoning. We believe that exploring different\nstrategies for initializing and updating p(z) is an important and exciting direction for future research. We briefly explored different\nstrategies for sampling reference code, ultimately settling on uniform sampling for its simplicity, though we also experimented with\nrecency-based sampling and observed potential collapse.\n\nD.4. Extra Rewards\nComplexity Rewards. Code complexity is well studied in software science and could potentially be a good proxy for measuring\nhow hard it is to infer the properties of a piece of code for our reasoning learner. Therefore, for the problem proposer, we can add various\nmeasures of complexity—such as Cyclomatic Complexity (Ebert et al., 2016), maintainability, etc.—to the reward function to incentivize\nthe proposer to produce more complex programs. For illustration purposes, we tried using the Maintainability measure and the Halstead\n\n51\n\n\fAbsolute Zero: Reinforced Self-play Reasoning with Zero Data\n\ncomplexity measure (Halstead, 1977) as intrinsic rewards. Concretely, we used the complexipy and Radon packages (Lopez, 2025;\nCanal, 2023) to implement the respective metrics. These are then served as intrinsic rewards during the AZR self-play phase.\n\nDiversity Rewards. We also attempted using diversity rewards to . Inspired by DiveR-CT (Zhao et al., 2025a), we incorporate\ncode edit distance as an intrinsic reward. Specifically, we treat the reference programs shown in the prompt as anchors and compute the\naverage code edit distance between the generated program and these anchors. This serves as a measure of diversity in the generated\noutput. Additionally, we explored another diversity-based reward inspired by the notion of surprise (Zhao et al., 2022). In this approach,\nwe construct a probability distribution over previously encountered input/output pairs that the solver has answered. The reward is then\ndefined as 1 − p(input/output), where p denotes the empirical probability of a particular input or output. While both strategies were\nevaluated in our experiments, we did not observe a significant difference in performance. However, we believe this aspect warrants\ndeeper investigation, as diversity rewards remain a promising avenue for strengthening AZR further.\n\nReward Aggregation. We tested several ways on how to combine rewards for the proposer and discriminator. First, we separate\n\nthe reward into extrinsic reward rextrinsic and a set of intrinsic reward(s) I = {ri }, and tested the following strategies to combine them\ninto a single reward,\nr = rextrinsic +\n\n|I|\nX\n\nri ,\n\n(11)\n\nri ,\n\n(12)\n\nri ,\n\n(13)\n\nri .\n\n(14)\n\ni\n\nr = rextrinsic ·\nr = rextrinsic ·\nr = rextrinsic +\n\n|I|\nX\ni\n|I|\nY\ni\n|I|\nY\ni\n\nWe found that the simple additive way of combining rewards, a.k.a Equation (11), produced the most stable runs, possibly due to less\nvariance.\n\nD.5. Environment Transition\nWe investigated how the transition function in our coding environment for the proposer. Specifically, after generating a piece of code, we\ncan apply a transformation function on it before giving it making it an valid tuple in our dataset. We investigated two\n\nRemoving Comments and Docstrings In early iterations of our experiments, we noticed that comments and docstrings\nwere sometimes used to explicitly outline what the function was doing, or even served as a partial “note-taking” interleaved “ReAct”\nprocess (Yao et al., 2023) of generating code—that is, the model could interleave think and action at the same time, and to make the\ngenerated code valid, it used comments to encase its thoughts (Section C.3), similarly observed in DeepSeek-Prover-V2: (Ren et al.,\n2025). We then thought that to make the task harder for the solver, we should occlude this information from it. However, we observed\na significant performance drop after removing all comments and docstrings. One explanation for this phenomenon is that the only\n“communication” channel between the proposer and the solver is restricted to the code itself, rather than some kind of “message” along\nwith the code. These messages can potentially provide hints to the solver, thus making some otherwise impossible tasks solvable. As a\nresult, the solver is able to learn from its experience and self-bootstrap out of certain unsolvable tasks.\nRemoving Global Variables. We observed that some programs contain globally declared variables that may inadvertently leak\ninformation about the correct answer—this issue is particularly prevalent in the input induction task generation and solving. Initially, we\nwere concerned that such leakage might lead to wasted computation on trivial or compromised examples. To address this, we developed\na systematic procedure to remove globally declared variables from the generated programs.\nHowever, after applying this cleaning step, we observed a noticeable drop in performance on our self-play reasoning tasks. One possible\nexplanation is that the generation step is unaware of this post-processing modification; since the reward is assigned after the transition\nfunction (which includes variable removal), the model may not learn effectively from this mismatch.\nMoreover, we believe that even when answers are present, the solver still engages in nontrivial reasoning to reach a solution, potentially\nbenefiting from this exposure. This aligns with the idea of rationalization as proposed in STaR (Zelikman et al., 2022), where the model\npretends to not see the answer but still performs reasoning during learning. Therefore, in our final experiments, we choose not to remove\nglobally declared variables, allowing the self-play loop to naturally incorporate and adapt to such cases.\n\n52\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"